@verdaccio/ui-components 3.0.0-next.1 → 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 (522) hide show
  1. package/.eslintrc +1 -1
  2. package/CHANGELOG.md +108 -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 +13 -8
  16. package/build/components/ActionBar/ActionBarAction.js +26 -19
  17. package/build/components/ActionBar/index.js +1 -1
  18. package/build/components/Author/Author.js +12 -34
  19. package/build/components/Author/index.js +1 -1
  20. package/build/components/Author/styles.js +10 -28
  21. package/build/components/CopyClipboard/CopyToClipBoard.js +13 -13
  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 +13 -22
  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 +17 -12
  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 +36 -29
  71. package/build/components/Install/InstallListItem.js +35 -48
  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 +56 -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 -9
  111. package/build/components/RawViewer/index.js +1 -1
  112. package/build/components/Readme/Readme.js +41 -21
  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.css +1198 -0
  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 +49 -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 +52 -18
  144. package/build/components/Versions/TagList.js +10 -7
  145. package/build/components/Versions/Versions.js +82 -15
  146. package/build/components/Versions/__partials__/data.json +1 -0
  147. package/build/components/Versions/__partials__/deprecated-versions.json +175 -0
  148. package/build/components/Versions/index.js +1 -1
  149. package/build/components/Versions/styles.js +3 -5
  150. package/build/hooks/index.js +1 -1
  151. package/build/hooks/useLocalStorage.js +1 -2
  152. package/build/hooks/useOnClickOutside.js +1 -2
  153. package/build/index.js +40 -8
  154. package/build/layouts/Version/Version.js +2 -3
  155. package/build/layouts/Version/index.js +1 -1
  156. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +6 -5
  157. package/build/providers/AppConfigurationProvider/index.js +2 -2
  158. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +7 -6
  159. package/build/providers/PersistenceSettingProvider/index.js +2 -2
  160. package/build/providers/TranslatorProvider/TranslatorProvider.js +4 -5
  161. package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +3 -3
  162. package/build/providers/TranslatorProvider/index.js +2 -2
  163. package/build/providers/VersionProvider/VersionProvider.js +5 -7
  164. package/build/providers/VersionProvider/index.js +2 -2
  165. package/build/sections/Detail/ContainerContent.js +5 -7
  166. package/build/sections/Detail/Detail.js +13 -11
  167. package/build/sections/Detail/ReadmeSection.js +2 -3
  168. package/build/sections/Detail/Tabs.js +6 -8
  169. package/build/sections/Detail/index.js +1 -1
  170. package/build/sections/Footer/Footer.js +39 -11
  171. package/build/sections/Footer/index.js +1 -1
  172. package/build/sections/Footer/styles.js +19 -21
  173. package/build/sections/Header/Header.js +4 -5
  174. package/build/sections/Header/HeaderGreetings.js +2 -3
  175. package/build/sections/Header/HeaderLeft.js +16 -20
  176. package/build/sections/Header/HeaderMenu.js +3 -4
  177. package/build/sections/Header/HeaderRight.js +16 -8
  178. package/build/sections/Header/HeaderSettingsDialog.js +6 -10
  179. package/build/sections/Header/HeaderToolTip.js +2 -3
  180. package/build/sections/Header/HeaderToolTipIcon.js +4 -5
  181. package/build/sections/Header/LanguageSwitch.js +10 -13
  182. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +14 -24
  183. package/build/sections/Header/RegistryInfoContent/index.js +1 -1
  184. package/build/sections/Header/RegistryInfoContent/styles.js +3 -5
  185. package/build/sections/Header/index.js +1 -1
  186. package/build/sections/Header/styles.js +54 -106
  187. package/build/sections/Home/Home.js +4 -5
  188. package/build/sections/Home/index.js +1 -1
  189. package/build/sections/SideBar/Sidebar.js +23 -30
  190. package/build/sections/SideBar/index.js +1 -1
  191. package/build/sections/index.js +1 -1
  192. package/build/src/AppTest/App.stories.d.ts +8 -0
  193. package/build/src/AppTest/AppRoute.d.ts +3 -0
  194. package/build/src/AppTest/pages/Front/Home.d.ts +2 -0
  195. package/build/src/AppTest/pages/Front/index.d.ts +1 -0
  196. package/build/src/AppTest/pages/Version/Version.d.ts +3 -0
  197. package/build/src/AppTest/pages/Version/index.d.ts +1 -0
  198. package/build/src/Theme/ThemeProvider.test.d.ts +1 -0
  199. package/build/src/__mocks__/react-markdown.d.ts +2 -2
  200. package/build/src/components/Author/Author.d.ts +0 -5
  201. package/build/src/components/Author/styles.d.ts +0 -4
  202. package/build/src/components/CopyClipboard/CopyToClipBoard.d.ts +1 -1
  203. package/build/src/components/CopyClipboard/CopyToClipBoard.test.d.ts +1 -0
  204. package/build/src/components/Dependencies/DependencyBlock.d.ts +16 -0
  205. package/build/src/components/Dependencies/DependencyBlock.test.d.ts +1 -0
  206. package/build/src/components/Dependencies/utits.d.ts +3 -0
  207. package/build/src/components/Deprecated/Deprecated.d.ts +0 -1
  208. package/build/src/components/Developers/DeveloperType.d.ts +4 -0
  209. package/build/src/components/Developers/Developers.d.ts +1 -4
  210. package/build/src/components/Developers/Title.d.ts +1 -4
  211. package/build/src/components/Developers/index.d.ts +2 -1
  212. package/build/src/components/Distribution/styles.d.ts +0 -1
  213. package/build/src/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
  214. package/build/src/components/Forbidden/Forbidden.d.ts +3 -0
  215. package/build/src/components/Forbidden/Forbidden.test.d.ts +1 -0
  216. package/build/src/components/Forbidden/index.d.ts +1 -0
  217. package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.test.d.ts +1 -0
  218. package/build/src/components/Heading/Heading.d.ts +1 -1
  219. package/build/src/components/Heading/Heading.test.d.ts +1 -0
  220. package/build/src/components/Icons/DevsIcons/CommonJS.d.ts +2 -2
  221. package/build/src/components/Icons/DevsIcons/ES6Module.d.ts +2 -2
  222. package/build/src/components/Icons/DevsIcons/Git.d.ts +2 -2
  223. package/build/src/components/Icons/DevsIcons/NodeJS.d.ts +2 -2
  224. package/build/src/components/Icons/DevsIcons/TypeScript.d.ts +2 -2
  225. package/build/src/components/Icons/Earth.d.ts +2 -2
  226. package/build/src/components/Icons/FileBinary.d.ts +2 -2
  227. package/build/src/components/Icons/Icons.test.d.ts +1 -0
  228. package/build/src/components/Icons/Law.d.ts +2 -2
  229. package/build/src/components/Icons/License.d.ts +2 -2
  230. package/build/src/components/Icons/Managers/Npm.d.ts +2 -2
  231. package/build/src/components/Icons/Managers/Pnpm.d.ts +2 -2
  232. package/build/src/components/Icons/Managers/Yarn.d.ts +2 -2
  233. package/build/src/components/Icons/SvgIcon.d.ts +1 -1
  234. package/build/src/components/Icons/Time.d.ts +2 -2
  235. package/build/src/components/Icons/Version.d.ts +2 -2
  236. package/build/src/components/Install/InstallListItem.d.ts +2 -0
  237. package/build/src/components/Keywords/KeywordListItems.d.ts +5 -0
  238. package/build/src/components/Keywords/Keywords.d.ts +6 -0
  239. package/build/src/components/Keywords/Keywords.stories.d.ts +5 -0
  240. package/build/src/components/Keywords/Keywords.test.d.ts +1 -0
  241. package/build/src/components/Keywords/index.d.ts +1 -0
  242. package/build/src/components/Link/Link.d.ts +1 -4
  243. package/build/src/components/Link/Link.test.d.ts +1 -0
  244. package/build/src/components/Link/index.d.ts +1 -1
  245. package/build/src/components/LinkExternal/LinkExternal.d.ts +3 -0
  246. package/build/src/components/LinkExternal/LinkExternal.test.d.ts +1 -0
  247. package/build/src/components/LinkExternal/index.d.ts +1 -0
  248. package/build/src/components/Loading/styles.d.ts +2 -2
  249. package/build/src/components/LoginDialog/LoginDialog.stories.d.ts +2 -2
  250. package/build/src/components/LoginDialog/LoginDialogForm.d.ts +1 -1
  251. package/build/src/components/LoginDialog/LoginDialogFormError.d.ts +1 -1
  252. package/build/src/components/Logo/Logo.d.ts +1 -0
  253. package/build/src/components/Logo/Logo.stories.d.ts +5 -0
  254. package/build/src/components/MenuItem/MenuItem.d.ts +1 -1
  255. package/build/src/components/Package/Package.d.ts +1 -1
  256. package/build/src/components/Package/styles.d.ts +7 -15
  257. package/build/src/components/Person/Person.d.ts +9 -0
  258. package/build/src/components/Person/Person.test.d.ts +1 -0
  259. package/build/src/components/Person/PersonTooltip.d.ts +6 -0
  260. package/build/src/components/Person/index.d.ts +1 -0
  261. package/build/src/components/Person/utils.d.ts +3 -0
  262. package/build/src/components/Readme/Readme.d.ts +1 -2
  263. package/build/src/components/RegistryInfoDialog/styles.d.ts +1 -1
  264. package/build/src/components/Search/AutoComplete/styles.d.ts +1 -9
  265. package/build/src/components/Search/Search.stories.d.ts +2 -2
  266. package/build/src/components/Search/SearchItem.d.ts +1 -1
  267. package/build/src/components/Search/styles.d.ts +1 -1
  268. package/build/src/components/Search/utils.d.ts +1 -0
  269. package/build/src/components/SettingsMenu/SettingsMenu.d.ts +2 -2
  270. package/build/src/components/SettingsMenu/SettingsMenu.test.d.ts +1 -0
  271. package/build/src/components/SideBarTitle/index.d.ts +1 -0
  272. package/build/src/components/TextField/TextField.d.ts +1 -1
  273. package/build/src/components/UpLinks/UplinkLink.d.ts +6 -0
  274. package/build/src/components/UpLinks/styles.d.ts +2 -2
  275. package/build/src/components/Versions/HistoryList.d.ts +1 -0
  276. package/build/src/components/Versions/Versions.d.ts +1 -0
  277. package/build/src/components/Versions/styles.d.ts +2 -2
  278. package/build/src/index.d.ts +6 -2
  279. package/build/src/sections/Detail/Detail.stories.d.ts +1 -0
  280. package/build/src/sections/Detail/Tabs.d.ts +1 -0
  281. package/build/src/sections/Footer/Footer.d.ts +2 -2
  282. package/build/src/sections/Footer/styles.d.ts +5 -5
  283. package/build/src/sections/Header/LanguageSwitch.d.ts +2 -2
  284. package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +3 -3
  285. package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +2 -2
  286. package/build/src/sections/Header/styles.d.ts +4 -11
  287. package/build/src/sections/Home/Home.test.d.ts +1 -0
  288. package/build/src/store/models/manifest.d.ts +11 -0
  289. package/build/src/store/models/routes.d.ts +8 -0
  290. package/build/src/store/models/utils.d.ts +1 -0
  291. package/build/src/types/packageMeta.d.ts +8 -5
  292. package/build/src/utils/__partials__/packageMeta.d.ts +0 -1
  293. package/build/src/utils/loadable.d.ts +2 -2
  294. package/build/src/utils/routes.d.ts +1 -0
  295. package/build/src/utils/utils.d.ts +1 -0
  296. package/build/store/api.js +14 -9
  297. package/build/store/index.js +1 -1
  298. package/build/store/models/configuration.js +4 -4
  299. package/build/store/models/download.js +2 -4
  300. package/build/store/models/index.js +1 -2
  301. package/build/store/models/login.js +7 -7
  302. package/build/store/models/manifest.js +27 -8
  303. package/build/store/models/packages.js +6 -5
  304. package/build/store/models/routes.js +18 -0
  305. package/build/store/models/search.js +7 -6
  306. package/build/store/models/utils.js +10 -0
  307. package/build/store/storage.js +2 -3
  308. package/build/store/store.js +2 -3
  309. package/build/test/i18n-config.js +2 -3
  310. package/build/test/test-react-testing-library.js +1 -1
  311. package/build/utils/__partials__/packageMeta.js +1 -3
  312. package/build/utils/index.js +3 -3
  313. package/build/utils/loadable.js +2 -2
  314. package/build/utils/routes.js +2 -2
  315. package/build/utils/token.js +1 -1
  316. package/build/utils/url.js +1 -1
  317. package/build/utils/utils.js +22 -4
  318. package/package.json +34 -31
  319. package/src/AppTest/App.stories.tsx +32 -0
  320. package/src/AppTest/AppRoute.test.tsx +65 -0
  321. package/src/AppTest/AppRoute.tsx +42 -0
  322. package/src/AppTest/pages/Front/Home.ts +3 -0
  323. package/src/AppTest/pages/Front/index.ts +1 -0
  324. package/src/AppTest/pages/Version/Version.tsx +28 -0
  325. package/src/AppTest/pages/Version/index.ts +1 -0
  326. package/src/Theme/ThemeProvider.test.tsx +27 -0
  327. package/src/Theme/theme.ts +12 -5
  328. package/src/components/ActionBar/ActionBar.stories.tsx +1 -1
  329. package/src/components/ActionBar/ActionBar.test.tsx +44 -16
  330. package/src/components/ActionBar/ActionBar.tsx +17 -13
  331. package/src/components/ActionBar/ActionBarAction.tsx +22 -14
  332. package/src/components/Author/Author.test.tsx +7 -1
  333. package/src/components/Author/Author.tsx +4 -33
  334. package/src/components/Author/styles.ts +0 -6
  335. package/src/components/CopyClipboard/CopyToClipBoard.test.tsx +23 -0
  336. package/src/components/CopyClipboard/CopyToClipBoard.tsx +4 -3
  337. package/src/components/CopyClipboard/utils.ts +2 -13
  338. package/src/components/Dependencies/Dependencies.stories.tsx +11 -11
  339. package/src/components/Dependencies/Dependencies.test.tsx +1 -11
  340. package/src/components/Dependencies/Dependencies.tsx +30 -69
  341. package/src/components/Dependencies/DependencyBlock.test.tsx +46 -0
  342. package/src/components/Dependencies/DependencyBlock.tsx +83 -0
  343. package/src/components/Dependencies/utits.ts +3 -0
  344. package/src/components/Deprecated/Deprecated.tsx +6 -19
  345. package/src/components/Developers/DeveloperType.tsx +4 -0
  346. package/src/components/Developers/Developers.test.tsx +37 -10
  347. package/src/components/Developers/Developers.tsx +13 -13
  348. package/src/components/Developers/Title.tsx +1 -5
  349. package/src/components/Developers/index.ts +2 -1
  350. package/src/components/Distribution/Dist.test.tsx +1 -1
  351. package/src/components/Distribution/Dist.tsx +2 -4
  352. package/src/components/Distribution/styles.ts +0 -6
  353. package/src/components/Engines/Engines.tsx +10 -6
  354. package/src/components/Engines/styles.ts +1 -1
  355. package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +39 -0
  356. package/src/components/Forbidden/Forbidden.test.tsx +38 -0
  357. package/src/components/Forbidden/Forbidden.tsx +56 -0
  358. package/src/components/Forbidden/index.ts +1 -0
  359. package/src/components/FundButton/FundButton.tsx +5 -5
  360. package/src/components/HeaderInfoDialog/HeaderInfoDialog.test.tsx +51 -0
  361. package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +2 -2
  362. package/src/components/Heading/Heading.test.tsx +20 -0
  363. package/src/components/Help/Help.test.tsx +10 -3
  364. package/src/components/Icons/DevsIcons/CommonJS.tsx +1 -7
  365. package/src/components/Icons/DevsIcons/ES6Module.tsx +2 -8
  366. package/src/components/Icons/DevsIcons/Git.tsx +1 -7
  367. package/src/components/Icons/DevsIcons/NodeJS.tsx +1 -7
  368. package/src/components/Icons/DevsIcons/TypeScript.tsx +1 -7
  369. package/src/components/Icons/FileBinary.tsx +2 -1
  370. package/src/components/Icons/Icons.stories.tsx +21 -5
  371. package/src/components/Icons/Icons.test.tsx +70 -0
  372. package/src/components/Icons/Law.tsx +2 -1
  373. package/src/components/Icons/Managers/Npm.tsx +1 -7
  374. package/src/components/Icons/Managers/Pnpm.tsx +1 -7
  375. package/src/components/Icons/Managers/Yarn.tsx +1 -7
  376. package/src/components/Install/Install.test.tsx +74 -41
  377. package/src/components/Install/Install.tsx +27 -15
  378. package/src/components/Install/InstallListItem.tsx +49 -31
  379. package/src/components/Keywords/KeywordListItems.tsx +22 -0
  380. package/src/components/Keywords/Keywords.stories.tsx +19 -0
  381. package/src/components/Keywords/Keywords.test.tsx +57 -0
  382. package/src/components/Keywords/Keywords.tsx +35 -0
  383. package/src/components/Keywords/index.ts +1 -0
  384. package/src/components/Link/Link.test.tsx +25 -0
  385. package/src/components/Link/Link.tsx +4 -18
  386. package/src/components/Link/index.ts +1 -1
  387. package/src/components/LinkExternal/LinkExternal.test.tsx +18 -0
  388. package/src/components/LinkExternal/LinkExternal.tsx +22 -0
  389. package/src/components/LinkExternal/index.ts +1 -0
  390. package/src/components/Loading/Loading.test.tsx +8 -4
  391. package/src/components/Loading/styles.ts +1 -0
  392. package/src/components/LoginDialog/LoginDialog.test.tsx +1 -1
  393. package/src/components/LoginDialog/LoginDialog.tsx +10 -1
  394. package/src/components/LoginDialog/LoginDialogCloseButton.tsx +1 -0
  395. package/src/components/LoginDialog/LoginDialogForm.tsx +0 -2
  396. package/src/components/LoginDialog/LoginDialogFormError.tsx +1 -1
  397. package/src/components/Logo/Logo.stories.tsx +16 -0
  398. package/src/components/Logo/Logo.test.tsx +8 -1
  399. package/src/components/Logo/Logo.tsx +19 -3
  400. package/src/components/NotFound/NotFound.tsx +6 -5
  401. package/src/components/NotFound/Notfound.test.tsx +6 -3
  402. package/src/components/Package/Package.test.tsx +47 -14
  403. package/src/components/Package/Package.tsx +51 -45
  404. package/src/components/Package/styles.ts +7 -17
  405. package/src/components/PackageList/Packagelist.test.tsx +1 -0
  406. package/src/components/Person/Person.test.tsx +50 -0
  407. package/src/components/Person/Person.tsx +45 -0
  408. package/src/components/Person/PersonTooltip.tsx +26 -0
  409. package/src/components/Person/index.ts +1 -0
  410. package/src/components/Person/utils.ts +20 -0
  411. package/src/components/RawViewer/RawViewer.tsx +9 -10
  412. package/src/components/Readme/Readme.spec.tsx +17 -0
  413. package/src/components/Readme/Readme.tsx +28 -12
  414. package/src/components/Readme/github-markdown.css +1198 -0
  415. package/src/components/Readme/utils.ts +15 -14
  416. package/src/components/RegistryInfoDialog/styles.ts +5 -4
  417. package/src/components/Repository/Repository.tsx +10 -17
  418. package/src/components/Search/AutoComplete/AutoComplete.tsx +1 -1
  419. package/src/components/Search/AutoComplete/styles.ts +7 -0
  420. package/src/components/Search/Search.test.tsx +38 -11
  421. package/src/components/Search/Search.tsx +4 -2
  422. package/src/components/Search/SearchItem.tsx +19 -8
  423. package/src/components/Search/utils.ts +17 -0
  424. package/src/components/SettingsMenu/SettingsMenu.test.tsx +41 -0
  425. package/src/components/SettingsMenu/SettingsMenu.tsx +64 -7
  426. package/src/components/{SideBarTittle/SideBarTittle.tsx → SideBarTitle/SideBarTitle.tsx} +20 -3
  427. package/src/components/SideBarTitle/index.ts +1 -0
  428. package/src/components/UpLinks/UpLinks.test.tsx +7 -0
  429. package/src/components/UpLinks/UpLinks.tsx +38 -15
  430. package/src/components/UpLinks/UplinkLink.tsx +20 -0
  431. package/src/components/UpLinks/styles.ts +1 -0
  432. package/src/components/Versions/HistoryList.tsx +39 -6
  433. package/src/components/Versions/TagList.tsx +4 -3
  434. package/src/components/Versions/Versions.test.tsx +40 -7
  435. package/src/components/Versions/Versions.tsx +88 -19
  436. package/src/components/Versions/__partials__/data.json +1 -0
  437. package/src/components/Versions/__partials__/deprecated-versions.json +175 -0
  438. package/src/index.ts +6 -2
  439. package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +2 -0
  440. package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +4 -0
  441. package/src/providers/VersionProvider/VersionProvider.test.tsx +3 -3
  442. package/src/sections/Detail/Detail.stories.tsx +10 -0
  443. package/src/sections/Detail/Detail.test.tsx +8 -1
  444. package/src/sections/Detail/Detail.tsx +11 -4
  445. package/src/sections/Detail/Tabs.tsx +6 -9
  446. package/src/sections/Footer/Footer.tsx +26 -12
  447. package/src/sections/Footer/styles.ts +4 -0
  448. package/src/sections/Header/Header.test.tsx +12 -10
  449. package/src/sections/Header/HeaderLeft.tsx +19 -11
  450. package/src/sections/Header/HeaderMenu.tsx +1 -1
  451. package/src/sections/Header/HeaderRight.tsx +14 -3
  452. package/src/sections/Header/HeaderSettingsDialog.tsx +2 -3
  453. package/src/sections/Header/LanguageSwitch.tsx +10 -7
  454. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -1
  455. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +2 -7
  456. package/src/sections/Header/styles.ts +4 -16
  457. package/src/sections/Home/Home.test.tsx +37 -0
  458. package/src/sections/Home/Home.tsx +0 -1
  459. package/src/sections/SideBar/Sidebar.test.tsx +52 -84
  460. package/src/sections/SideBar/Sidebar.tsx +11 -26
  461. package/src/store/api.test.ts +19 -2
  462. package/src/store/api.ts +13 -6
  463. package/src/store/models/configuration.ts +2 -1
  464. package/src/store/models/download.ts +0 -1
  465. package/src/store/models/login.ts +10 -12
  466. package/src/store/models/manifest.ts +25 -6
  467. package/src/store/models/packages.ts +4 -5
  468. package/src/store/models/routes.ts +10 -0
  469. package/src/store/models/search.ts +4 -2
  470. package/src/store/models/utils.ts +3 -0
  471. package/src/types/packageMeta.ts +8 -5
  472. package/src/utils/__partials__/packageMeta.ts +0 -1
  473. package/src/utils/routes.ts +1 -0
  474. package/src/utils/utils.test.ts +34 -0
  475. package/src/utils/utils.ts +20 -5
  476. package/tsconfig.json +1 -1
  477. package/build/components/Dependencies/styles.js +0 -68
  478. package/build/components/Developers/styles.js +0 -69
  479. package/build/components/Distribution/utils.js +0 -25
  480. package/build/components/Distribution/utilts.spec.js +0 -18
  481. package/build/components/Package/Tag/Tag.js +0 -15
  482. package/build/components/Package/Tag/index.js +0 -14
  483. package/build/components/Package/Tag/styles.js +0 -25
  484. package/build/components/SideBarTittle/SideBarTittle.js +0 -94
  485. package/build/components/SideBarTittle/index.js +0 -14
  486. package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +0 -37
  487. package/build/sections/Header/RegistryInfoDialog/index.js +0 -14
  488. package/build/sections/Header/RegistryInfoDialog/styles.js +0 -49
  489. package/build/sections/Header/RegistryInfoDialog/types.js +0 -6
  490. package/build/src/components/Dependencies/styles.d.ts +0 -8
  491. package/build/src/components/Developers/styles.d.ts +0 -11
  492. package/build/src/components/Distribution/utils.d.ts +0 -7
  493. package/build/src/components/Package/Tag/Tag.d.ts +0 -6
  494. package/build/src/components/Package/Tag/index.d.ts +0 -1
  495. package/build/src/components/Package/Tag/styles.d.ts +0 -5
  496. package/build/src/components/SideBarTittle/index.d.ts +0 -1
  497. package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +0 -4
  498. package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +0 -1
  499. package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +0 -13
  500. package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +0 -7
  501. package/src/components/Dependencies/styles.ts +0 -26
  502. package/src/components/Developers/styles.ts +0 -31
  503. package/src/components/Distribution/utils.ts +0 -32
  504. package/src/components/Distribution/utilts.spec.ts +0 -17
  505. package/src/components/Package/Tag/Tag.test.tsx +0 -15
  506. package/src/components/Package/Tag/Tag.tsx +0 -11
  507. package/src/components/Package/Tag/index.ts +0 -1
  508. package/src/components/Package/Tag/styles.ts +0 -11
  509. package/src/components/Search/AutoComplete/styles.tsx +0 -42
  510. package/src/components/SideBarTittle/index.ts +0 -1
  511. package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +0 -31
  512. package/src/sections/Header/RegistryInfoDialog/index.ts +0 -1
  513. package/src/sections/Header/RegistryInfoDialog/styles.ts +0 -21
  514. package/src/sections/Header/RegistryInfoDialog/types.ts +0 -8
  515. /package/build/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
  516. /package/build/src/{components/Package/Tag/Tag.test.d.ts → AppTest/AppRoute.test.d.ts} +0 -0
  517. /package/build/src/components/{SideBarTittle/SideBarTittle.d.ts → SideBarTitle/SideBarTitle.d.ts} +0 -0
  518. /package/build/src/components/{SideBarTittle/SideBarTittle.stories.d.ts → SideBarTitle/SideBarTitle.stories.d.ts} +0 -0
  519. /package/build/src/components/{SideBarTittle → SideBarTitle}/utils.d.ts +0 -0
  520. /package/src/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
  521. /package/src/components/{SideBarTittle/SideBarTittle.stories.tsx → SideBarTitle/SideBarTitle.stories.tsx} +0 -0
  522. /package/src/components/{SideBarTittle → SideBarTitle}/utils.ts +0 -0
@@ -4,23 +4,22 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
7
  var _Paper = _interopRequireDefault(require("@mui/material/Paper"));
9
8
  var _react = _interopRequireDefault(require("react"));
10
9
  var _ActionBar = _interopRequireDefault(require("../../components/ActionBar"));
11
10
  var _Author = _interopRequireDefault(require("../../components/Author"));
12
11
  var _Developers = _interopRequireWildcard(require("../../components/Developers"));
12
+ var _Distribution = _interopRequireDefault(require("../../components/Distribution"));
13
+ var _Engines = _interopRequireDefault(require("../../components/Engines"));
13
14
  var _FundButton = _interopRequireDefault(require("../../components/FundButton"));
14
- var _SideBarTittle = _interopRequireDefault(require("../../components/SideBarTittle"));
15
+ var _Install = _interopRequireDefault(require("../../components/Install"));
16
+ var _Keywords = _interopRequireDefault(require("../../components/Keywords"));
17
+ var _Repository = _interopRequireDefault(require("../../components/Repository"));
18
+ var _SideBarTitle = _interopRequireDefault(require("../../components/SideBarTitle"));
15
19
  var _providers = require("../../providers");
16
- var _loadable = _interopRequireDefault(require("../../utils/loadable"));
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
- const Engines = (0, _loadable.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require( /* webpackChunkName: "Engines" */'../../components/Engines'))));
21
- const Dist = (0, _loadable.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require( /* webpackChunkName: "Distribution" */'../../components/Distribution'))));
22
- const Install = (0, _loadable.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require( /* webpackChunkName: "Install" */'../../components/Install'))));
23
- const Repository = (0, _loadable.default)(() => Promise.resolve().then(() => _interopRequireWildcard(require( /* webpackChunkName: "Repository" */'../../components/Repository'))));
20
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
24
23
  const getModuleType = manifest => {
25
24
  if (manifest.latest.main) {
26
25
  return 'commonjs';
@@ -44,12 +43,15 @@ const DetailSidebar = () => {
44
43
  if (!packageMeta || !packageName) {
45
44
  return null;
46
45
  }
47
- return /*#__PURE__*/_react.default.createElement(StyledPaper, {
46
+ return /*#__PURE__*/_react.default.createElement(_Paper.default, {
47
+ "data-testid": "sidebar",
48
48
  sx: {
49
49
  position: 'sticky',
50
- top: 0
50
+ top: 0,
51
+ p: 2,
52
+ ml: 2
51
53
  }
52
- }, /*#__PURE__*/_react.default.createElement(_SideBarTittle.default, {
54
+ }, /*#__PURE__*/_react.default.createElement(_SideBarTitle.default, {
53
55
  description: (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : _packageMeta$latest.description,
54
56
  hasTypes: typeof ((_packageMeta$latest2 = packageMeta.latest) === null || _packageMeta$latest2 === void 0 ? void 0 : _packageMeta$latest2.types) === 'string',
55
57
  isLatest: typeof packageVersion === 'undefined',
@@ -61,17 +63,19 @@ const DetailSidebar = () => {
61
63
  packageMeta: packageMeta,
62
64
  showDownloadTarball: configOptions.showDownloadTarball,
63
65
  showRaw: configOptions.showRaw
64
- }), /*#__PURE__*/_react.default.createElement(Install, {
66
+ }), /*#__PURE__*/_react.default.createElement(_FundButton.default, {
67
+ packageMeta: packageMeta
68
+ }), /*#__PURE__*/_react.default.createElement(_Install.default, {
65
69
  configOptions: configOptions,
66
70
  packageMeta: packageMeta,
67
71
  packageName: packageName
68
- }), /*#__PURE__*/_react.default.createElement(_FundButton.default, {
72
+ }), /*#__PURE__*/_react.default.createElement(_Repository.default, {
69
73
  packageMeta: packageMeta
70
- }), /*#__PURE__*/_react.default.createElement(Repository, {
74
+ }), /*#__PURE__*/_react.default.createElement(_Engines.default, {
71
75
  packageMeta: packageMeta
72
- }), /*#__PURE__*/_react.default.createElement(Engines, {
76
+ }), /*#__PURE__*/_react.default.createElement(_Distribution.default, {
73
77
  packageMeta: packageMeta
74
- }), /*#__PURE__*/_react.default.createElement(Dist, {
78
+ }), /*#__PURE__*/_react.default.createElement(_Keywords.default, {
75
79
  packageMeta: packageMeta
76
80
  }), /*#__PURE__*/_react.default.createElement(_Author.default, {
77
81
  packageMeta: packageMeta
@@ -83,16 +87,5 @@ const DetailSidebar = () => {
83
87
  type: _Developers.DeveloperType.CONTRIBUTORS
84
88
  }));
85
89
  };
86
- var _default = DetailSidebar;
87
- exports.default = _default;
88
- const StyledPaper = /*#__PURE__*/(0, _base.default)(_Paper.default, process.env.NODE_ENV === "production" ? {
89
- target: "e1jyvx6i0"
90
- } : {
91
- target: "e1jyvx6i0",
92
- label: "StyledPaper"
93
- })(({
94
- theme
95
- }) => ({
96
- padding: theme === null || theme === void 0 ? void 0 : theme.spacing(3, 2)
97
- }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9TaWRlQmFyL1NpZGViYXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZFb0IiLCJmaWxlIjoiLi4vLi4v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24gcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPFJlcG9zaXRvcnkgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPEVuZ2luZXMgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPERpc3QgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPEF1dGhvciBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IC8+XG4gICAgICA8RGV2ZWxvcGVycyBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IHR5cGU9e0RldmVsb3BlclR5cGUuTUFJTlRBSU5FUlN9IC8+XG4gICAgICA8RGV2ZWxvcGVycyBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IHR5cGU9e0RldmVsb3BlclR5cGUuQ09OVFJJQlVUT1JTfSAvPlxuICAgIDwvU3R5bGVkUGFwZXI+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBEZXRhaWxTaWRlYmFyO1xuXG5jb25zdCBTdHlsZWRQYXBlciA9IHN0eWxlZChQYXBlcik8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6IHRoZW1lPy5zcGFjaW5nKDMsIDIpLFxufSkpO1xuIl19 */");
90
+ var _default = exports.default = DetailSidebar;
98
91
  //# sourceMappingURL=Sidebar.js.map
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
10
10
  }
11
11
  });
12
12
  var _Sidebar = _interopRequireDefault(require("./Sidebar"));
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
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "SideBar", {
17
17
  });
18
18
  var _SideBar = _interopRequireDefault(require("./SideBar"));
19
19
  var _Detail = _interopRequireDefault(require("./Detail"));
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
21
21
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const ApplicationStoryBook: any;
6
+ export declare const ApplicationjQuery: any;
7
+ export declare const ApplicationForbidden: any;
8
+ export declare const ApplicationNotFound: any;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const AppRoute: React.FC;
3
+ export default AppRoute;
@@ -0,0 +1,2 @@
1
+ import { Home } from '../../../index';
2
+ export default Home;
@@ -0,0 +1 @@
1
+ export { default } from './Home';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Version: React.FC;
3
+ export default Version;
@@ -0,0 +1 @@
1
+ export { default } from './Version';
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export default function ({ children }: {
3
3
  children: any;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
@@ -1,9 +1,4 @@
1
1
  import { FC } from 'react';
2
- export declare function getAuthorName(authorName?: string): string;
3
- /**
4
- * @param param0
5
- * @returns
6
- */
7
2
  declare const Author: FC<{
8
3
  packageMeta: any;
9
4
  }>;
@@ -1,6 +1,2 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
3
2
  export declare const AuthorListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
4
- export declare const AuthorListItemText: import("@emotion/styled").StyledComponent<import("@mui/material").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- }, {}, {}>;
@@ -5,5 +5,5 @@ interface Props {
5
5
  dataTestId: string;
6
6
  children?: React.ReactNode;
7
7
  }
8
- declare function CopyToClipBoard({ text, children, dataTestId, title, ...props }: Props): JSX.Element;
8
+ declare function CopyToClipBoard({ text, children, dataTestId, title, ...props }: Props): React.JSX.Element;
9
9
  export default CopyToClipBoard;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { PackageDependencies } from '../../types/packageMeta';
3
+ interface DependencyBlockProps {
4
+ title: string;
5
+ dependencies: PackageDependencies;
6
+ }
7
+ export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
8
+ export declare const Tags: import("@emotion/styled").StyledComponent<{
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
11
+ } & {
12
+ theme?: import("@mui/material").Theme | undefined;
13
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
+ export declare const Tag: import("@emotion/styled").StyledComponent<any, {}, {}>;
15
+ export declare const DependencyBlock: React.FC<DependencyBlockProps>;
16
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare function hasKeys(object?: {
2
+ [key: string]: any;
3
+ }): boolean;
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- export declare const CardStyled: any;
3
2
  export type Props = {
4
3
  message: string;
5
4
  };
@@ -0,0 +1,4 @@
1
+ export declare enum DeveloperType {
2
+ CONTRIBUTORS = "contributors",
3
+ MAINTAINERS = "maintainers"
4
+ }
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
- export declare enum DeveloperType {
3
- CONTRIBUTORS = "contributors",
4
- MAINTAINERS = "maintainers"
5
- }
2
+ import { DeveloperType } from './DeveloperType';
6
3
  export declare const Fab: import("@emotion/styled").StyledComponent<any, {}, {}>;
7
4
  interface Props {
8
5
  type: DeveloperType;
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
- export declare enum DeveloperType {
3
- CONTRIBUTORS = "contributors",
4
- MAINTAINERS = "maintainers"
5
- }
2
+ import { DeveloperType } from './';
6
3
  interface Props {
7
4
  type: DeveloperType;
8
5
  }
@@ -1 +1,2 @@
1
- export { default, DeveloperType } from './Developers';
1
+ export { default } from './Developers';
2
+ export { DeveloperType } from './DeveloperType';
@@ -1,4 +1,3 @@
1
1
  export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
2
2
  export declare const DistListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
3
3
  export declare const DistChips: import("@emotion/styled").StyledComponent<any, {}, {}>;
4
- export declare const DownloadButton: import("@emotion/styled").StyledComponent<any, {}, {}>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Foebidden: React.FC;
3
+ export default Foebidden;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Forbidden';
@@ -4,5 +4,5 @@ type HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
4
  interface Props extends Omit<TypographyProps, 'variant'> {
5
5
  variant?: HeadingType;
6
6
  }
7
- declare const Heading: React.ForwardRefExoticComponent<Pick<Props, keyof Props> & React.RefAttributes<HTMLHeadingElement>>;
7
+ declare const Heading: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
8
8
  export default Heading;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function CommonJS(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function CommonJS(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function ES6Modules(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function ES6Modules(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function Git(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Git(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function NodeJS(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function NodeJS(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function TypeScript(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function TypeScript(): React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const Earth: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const Earth: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { Earth };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const FileBinary: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const FileBinary: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { FileBinary };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const Law: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const Law: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { Law };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const License: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const License: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { License };
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function Npm(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Npm(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function Pnpm(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Pnpm(): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- /// <reference types="react" />
2
- export declare function Yarn(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Yarn(): React.JSX.Element;
@@ -6,5 +6,5 @@ type Props = Omit<SvgIconProps, 'color' | 'fontsize' | 'name'> & {
6
6
  title?: string;
7
7
  className?: string;
8
8
  };
9
- declare const SvgIcon: React.ForwardRefExoticComponent<Pick<Props, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
9
+ declare const SvgIcon: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<SVGSVGElement>>;
10
10
  export { SvgIcon };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const Time: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const Time: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { Time };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- declare const Version: React.ForwardRefExoticComponent<Pick<Pick<Omit<any, "fontsize" | "color" | "name"> & {
2
+ declare const Version: React.ForwardRefExoticComponent<Omit<Omit<Omit<any, "name" | "fontsize" | "color"> & {
3
3
  size?: ("sm" | "md") | undefined;
4
4
  title?: string | undefined;
5
5
  className?: string | undefined;
6
- }, string | number | symbol> & React.RefAttributes<SVGSVGElement>, string | number | symbol> & React.RefAttributes<SVGSVGElement>>;
6
+ }, "ref"> & React.RefAttributes<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
7
7
  export { Version };
@@ -7,6 +7,8 @@ export declare enum DependencyManager {
7
7
  interface Interface {
8
8
  packageName: string;
9
9
  dependencyManager: DependencyManager;
10
+ packageVersion?: string;
10
11
  }
12
+ export declare function getGlobalInstall(isLatest: any, isGlobal: any, packageVersion: any, packageName: any, isYarn?: boolean): any;
11
13
  declare const InstallListItem: React.FC<Interface>;
12
14
  export default InstallListItem;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const KeywordListItems: React.FC<{
3
+ keywords: undefined | string | string[];
4
+ }>;
5
+ export default KeywordListItems;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { PackageMetaInterface } from '../../types/packageMeta';
3
+ declare const Keywords: React.FC<{
4
+ packageMeta: PackageMetaInterface;
5
+ }>;
6
+ export default Keywords;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const AllProperties: any;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './Keywords';
@@ -1,6 +1,3 @@
1
1
  import React from 'react';
2
- export declare const CustomRouterLink: import("@emotion/styled").StyledComponent<import("react-router-dom").LinkProps<unknown> & React.RefAttributes<HTMLAnchorElement> & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- }, {}, {}>;
5
- declare const Link: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLAnchorElement>>;
2
+ declare const Link: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
6
3
  export default Link;
@@ -0,0 +1 @@
1
+ export {};
@@ -1 +1 @@
1
- export { default as Link } from './Link';
1
+ export { default } from './Link';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const LinkExternal: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
3
+ export default LinkExternal;
@@ -0,0 +1 @@
1
+ export { default } from './LinkExternal';
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
6
  export declare const Badge: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  } & {
10
10
  theme?: import("@mui/material").Theme | undefined;
11
11
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  declare const _default: {
3
3
  title: string;
4
4
  };
5
5
  export default _default;
6
6
  export declare const OpenLoginDialog: {
7
- render: (args: any) => JSX.Element;
7
+ render: (args: any) => React.JSX.Element;
8
8
  argTypes: {
9
9
  open: boolean;
10
10
  };
@@ -8,5 +8,5 @@ interface Props {
8
8
  onSubmit: (formValues: FormValues) => void;
9
9
  error?: LoginError;
10
10
  }
11
- declare const LoginDialogForm: React.MemoExoticComponent<({ onSubmit, error }: Props) => JSX.Element>;
11
+ declare const LoginDialogForm: React.MemoExoticComponent<({ onSubmit, error }: Props) => React.JSX.Element>;
12
12
  export default LoginDialogForm;
@@ -7,5 +7,5 @@ export interface FormValues {
7
7
  interface Props {
8
8
  error: LoginError;
9
9
  }
10
- declare const LoginDialogFormError: React.MemoExoticComponent<({ error }: Props) => JSX.Element>;
10
+ declare const LoginDialogFormError: React.MemoExoticComponent<({ error }: Props) => React.JSX.Element>;
11
11
  export default LoginDialogFormError;
@@ -9,6 +9,7 @@ interface Props {
9
9
  onClick?: () => void;
10
10
  className?: string;
11
11
  isDefault?: boolean;
12
+ title?: string;
12
13
  }
13
14
  declare const Logo: React.FC<Props>;
14
15
  export default Logo;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Icons: any;
@@ -5,5 +5,5 @@ type MenuItemRef = HTMLElementTagNameMap[HTMLElementTagName];
5
5
  interface Props extends Omit<MenuItemProps, 'component'> {
6
6
  component?: HTMLElementTagName;
7
7
  }
8
- declare const MenuItem: React.ForwardRefExoticComponent<Pick<Props, keyof Props> & React.RefAttributes<MenuItemRef>>;
8
+ declare const MenuItem: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<MenuItemRef>>;
9
9
  export default MenuItem;
@@ -13,7 +13,7 @@ export interface PackageInterface {
13
13
  time?: number | string;
14
14
  author: PackageAuthor;
15
15
  description?: string;
16
- keywords?: string[];
16
+ keywords?: PackageMetaInterface['latest']['keywords'];
17
17
  license?: PackageMetaInterface['latest']['license'];
18
18
  homepage?: string;
19
19
  bugs?: Bugs;