@verdaccio/ui-components 2.0.0-alpha.0 → 3.0.0-next-7.3

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 (786) hide show
  1. package/.babelrc +8 -0
  2. package/.eslintrc +100 -0
  3. package/CHANGELOG.md +186 -0
  4. package/README.md +103 -0
  5. package/build/Theme/ResetStyles.js +49 -0
  6. package/build/Theme/StyleBaseline.js +14 -0
  7. package/build/Theme/ThemeProvider.js +51 -0
  8. package/build/Theme/colors.js +8 -0
  9. package/build/Theme/index.js +45 -0
  10. package/build/Theme/theme.js +118 -0
  11. package/build/__mocks__/react-markdown.js +18 -0
  12. package/build/__mocks__/remark-plugin.js +8 -0
  13. package/build/components/ActionBar/ActionBar.js +74 -0
  14. package/build/components/ActionBar/ActionBarAction.js +100 -0
  15. package/build/components/ActionBar/index.js +14 -0
  16. package/build/components/Author/Author.js +75 -0
  17. package/build/components/Author/index.js +14 -0
  18. package/build/components/Author/styles.js +37 -0
  19. package/build/components/CopyClipboard/CopyToClipBoard.js +69 -0
  20. package/build/components/CopyClipboard/index.js +21 -0
  21. package/build/components/CopyClipboard/utils.js +23 -0
  22. package/build/components/Dependencies/Dependencies.js +105 -0
  23. package/build/components/Dependencies/index.js +14 -0
  24. package/build/components/Dependencies/styles.js +64 -0
  25. package/build/components/Dependencies/types.js +6 -0
  26. package/build/components/Deprecated/Deprecated.js +24 -0
  27. package/build/components/Deprecated/index.js +14 -0
  28. package/build/components/Developers/Developers.js +92 -0
  29. package/build/components/Developers/Title.js +46 -0
  30. package/build/components/Developers/get-unique-developer-values.js +14 -0
  31. package/build/components/Developers/index.js +21 -0
  32. package/build/components/Developers/styles.js +65 -0
  33. package/build/components/Distribution/Dist.js +48 -0
  34. package/build/components/Distribution/index.js +14 -0
  35. package/build/components/Distribution/styles.js +66 -0
  36. package/build/components/Distribution/utils.js +25 -0
  37. package/build/components/Distribution/utilts.spec.js +18 -0
  38. package/build/components/Engines/Engines.js +85 -0
  39. package/build/components/Engines/index.js +14 -0
  40. package/build/components/Engines/styles.js +38 -0
  41. package/build/components/ErrorBoundary/ErrorBoundary.js +42 -0
  42. package/build/components/ErrorBoundary/index.js +14 -0
  43. package/build/components/FundButton/FundButton.js +80 -0
  44. package/build/components/FundButton/index.js +14 -0
  45. package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +80 -0
  46. package/build/components/HeaderInfoDialog/index.js +14 -0
  47. package/build/components/Heading/Heading.js +24 -0
  48. package/build/components/Heading/index.js +14 -0
  49. package/build/components/Help/Help.js +60 -0
  50. package/build/components/Help/index.js +14 -0
  51. package/build/components/Help/styles.js +25 -0
  52. package/build/components/Icons/DevsIcons/CommonJS.js +29 -0
  53. package/build/components/Icons/DevsIcons/ES6Module.js +29 -0
  54. package/build/components/Icons/DevsIcons/Git.js +29 -0
  55. package/build/components/Icons/DevsIcons/NodeJS.js +29 -0
  56. package/build/components/Icons/DevsIcons/TypeScript.js +29 -0
  57. package/build/components/Icons/DevsIcons/commonjs.svg +4 -0
  58. package/build/components/Icons/DevsIcons/es6modules.svg +4 -0
  59. package/build/components/Icons/DevsIcons/git.svg +4 -0
  60. package/build/components/Icons/DevsIcons/index.js +41 -0
  61. package/build/components/Icons/DevsIcons/nodejs.svg +6 -0
  62. package/build/components/Icons/DevsIcons/typescript.svg +4 -0
  63. package/build/components/Icons/Earth.js +39 -0
  64. package/build/components/Icons/FileBinary.js +19 -0
  65. package/build/components/Icons/Law.js +20 -0
  66. package/build/components/Icons/License.js +23 -0
  67. package/build/components/Icons/License.js.map +1 -0
  68. package/build/components/Icons/Managers/Npm.js +29 -0
  69. package/build/components/Icons/Managers/Pnpm.js +29 -0
  70. package/build/components/Icons/Managers/Yarn.js +29 -0
  71. package/build/components/Icons/Managers/index.js +27 -0
  72. package/build/components/Icons/Managers/npm.svg +15 -0
  73. package/build/components/Icons/Managers/pnpm.svg +1 -0
  74. package/build/components/Icons/Managers/yarn.svg +1 -0
  75. package/build/components/Icons/SvgIcon.js +47 -0
  76. package/build/components/Icons/Time.js +26 -0
  77. package/build/components/Icons/Version.js +24 -0
  78. package/build/components/Icons/index.js +80 -0
  79. package/build/components/Install/Install.js +77 -0
  80. package/build/components/Install/InstallListItem.js +133 -0
  81. package/build/components/Install/__partials__/data.json +5984 -0
  82. package/build/components/Install/img/npm.svg +15 -0
  83. package/build/components/Install/img/pnpm.svg +1 -0
  84. package/build/components/Install/img/yarn.svg +1 -0
  85. package/build/components/Install/index.js +14 -0
  86. package/build/components/Label/Label.js +35 -0
  87. package/build/components/Label/index.js +14 -0
  88. package/build/components/Link/Link.js +56 -0
  89. package/build/components/Link/index.js +14 -0
  90. package/build/components/Loading/Loading.js +20 -0
  91. package/build/components/Loading/Spinner/Spinner.js +48 -0
  92. package/build/components/Loading/Spinner/index.js +14 -0
  93. package/build/components/Loading/index.js +14 -0
  94. package/build/components/Loading/styles.js +37 -0
  95. package/build/components/LoginDialog/LoginDialog.js +75 -0
  96. package/build/components/LoginDialog/LoginDialogCloseButton.js +41 -0
  97. package/build/components/LoginDialog/LoginDialogForm.js +126 -0
  98. package/build/components/LoginDialog/LoginDialogFormError.js +49 -0
  99. package/build/components/LoginDialog/LoginDialogHeader.js +59 -0
  100. package/build/components/LoginDialog/index.js +14 -0
  101. package/build/components/Logo/Logo.js +82 -0
  102. package/build/components/Logo/img/logo-black-and-white.svg +1 -0
  103. package/build/components/Logo/img/logo.svg +1 -0
  104. package/build/components/Logo/index.js +14 -0
  105. package/build/components/MenuItem/MenuItem.js +40 -0
  106. package/build/components/MenuItem/index.js +14 -0
  107. package/build/components/NoItems/NoItems.js +18 -0
  108. package/build/components/NoItems/index.js +14 -0
  109. package/build/components/NotFound/NotFound.js +73 -0
  110. package/build/components/NotFound/img/package.svg +1 -0
  111. package/build/components/NotFound/index.js +14 -0
  112. package/build/components/Package/Package.js +188 -0
  113. package/build/components/Package/Tag/Tag.js +14 -0
  114. package/build/components/Package/Tag/index.js +14 -0
  115. package/build/components/Package/Tag/styles.js +24 -0
  116. package/build/components/Package/index.js +21 -0
  117. package/build/components/Package/styles.js +211 -0
  118. package/build/components/PackageList/PackageList.js +99 -0
  119. package/build/components/PackageList/index.js +14 -0
  120. package/build/components/RawViewer/RawViewer.js +62 -0
  121. package/build/components/RawViewer/index.js +14 -0
  122. package/build/components/Readme/Readme.js +54 -0
  123. package/build/components/Readme/Readme.js.map +1 -0
  124. package/build/components/Readme/Readme.spec.js +22 -0
  125. package/build/components/Readme/Readme.spec.js.map +1 -0
  126. package/build/components/Readme/github-markdown.css +1198 -0
  127. package/build/components/Readme/index.js +14 -0
  128. package/build/components/Readme/types.js +6 -0
  129. package/build/components/Readme/utils.js +35 -0
  130. package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +36 -0
  131. package/build/components/RegistryInfoDialog/index.js +14 -0
  132. package/build/components/RegistryInfoDialog/styles.js +46 -0
  133. package/build/components/RegistryInfoDialog/types.js +6 -0
  134. package/build/components/Repository/Repository.js +128 -0
  135. package/build/components/Repository/__partials__/data.json +5984 -0
  136. package/build/components/Repository/img/git.png +0 -0
  137. package/build/components/Repository/index.js +14 -0
  138. package/build/components/Search/AutoComplete/AutoComplete.js +69 -0
  139. package/build/components/Search/AutoComplete/index.js +14 -0
  140. package/build/components/Search/AutoComplete/styles.js +61 -0
  141. package/build/components/Search/Search.js +158 -0
  142. package/build/components/Search/SearchItem.js +135 -0
  143. package/build/components/Search/index.js +14 -0
  144. package/build/components/Search/styles.js +58 -0
  145. package/build/components/SettingsMenu/SettingsMenu.js +80 -0
  146. package/build/components/SettingsMenu/index.js +14 -0
  147. package/build/components/SideBarTittle/SideBarTittle.js +94 -0
  148. package/build/components/SideBarTittle/index.js +14 -0
  149. package/build/components/SideBarTittle/utils.js +19 -0
  150. package/build/components/TextField/TextField.js +29 -0
  151. package/build/components/TextField/index.js +14 -0
  152. package/build/components/UpLinks/UpLinks.js +43 -0
  153. package/build/components/UpLinks/index.js +14 -0
  154. package/build/components/UpLinks/styles.js +47 -0
  155. package/build/components/Versions/HistoryList.js +68 -0
  156. package/build/components/Versions/TagList.js +30 -0
  157. package/build/components/Versions/Versions.js +59 -0
  158. package/build/components/Versions/__partials__/data.json +5985 -0
  159. package/build/components/Versions/__partials__/deprecated-versions.json +175 -0
  160. package/build/components/Versions/index.js +14 -0
  161. package/build/components/Versions/styles.js +36 -0
  162. package/build/components/Versions/types.js +6 -0
  163. package/build/hooks/index.js +21 -0
  164. package/build/hooks/useLocalStorage.js +53 -0
  165. package/build/hooks/useOnClickOutside.js +32 -0
  166. package/build/index.js +500 -0
  167. package/build/layouts/Version/Version.js +28 -0
  168. package/build/layouts/Version/index.js +14 -0
  169. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +63 -0
  170. package/build/providers/AppConfigurationProvider/index.js +21 -0
  171. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +38 -0
  172. package/build/providers/PersistenceSettingProvider/index.js +21 -0
  173. package/build/providers/TranslatorProvider/TranslatorProvider.js +53 -0
  174. package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +54 -0
  175. package/build/providers/TranslatorProvider/index.js +27 -0
  176. package/build/providers/VersionProvider/README.md +22 -0
  177. package/build/providers/VersionProvider/VersionProvider.js +79 -0
  178. package/build/providers/VersionProvider/index.js +21 -0
  179. package/build/providers/index.js +39 -0
  180. package/build/sections/Detail/ContainerContent.js +55 -0
  181. package/build/sections/Detail/Detail.js +50 -0
  182. package/build/sections/Detail/ReadmeSection.js +21 -0
  183. package/build/sections/Detail/Tabs.js +60 -0
  184. package/build/sections/Detail/index.js +14 -0
  185. package/build/sections/Footer/Footer.js +110 -0
  186. package/build/sections/Footer/index.js +14 -0
  187. package/build/sections/Footer/styles.js +85 -0
  188. package/build/sections/Header/Header.js +72 -0
  189. package/build/sections/Header/HeaderGreetings.js +25 -0
  190. package/build/sections/Header/HeaderLeft.js +36 -0
  191. package/build/sections/Header/HeaderMenu.js +53 -0
  192. package/build/sections/Header/HeaderRight.js +103 -0
  193. package/build/sections/Header/HeaderSettingsDialog.js +107 -0
  194. package/build/sections/Header/HeaderToolTip.js +18 -0
  195. package/build/sections/Header/HeaderToolTipIcon.js +69 -0
  196. package/build/sections/Header/LanguageSwitch.js +126 -0
  197. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +185 -0
  198. package/build/sections/Header/RegistryInfoContent/index.js +14 -0
  199. package/build/sections/Header/RegistryInfoContent/styles.js +29 -0
  200. package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +36 -0
  201. package/build/sections/Header/RegistryInfoDialog/index.js +14 -0
  202. package/build/sections/Header/RegistryInfoDialog/styles.js +46 -0
  203. package/build/sections/Header/RegistryInfoDialog/types.js +6 -0
  204. package/build/sections/Header/index.js +14 -0
  205. package/build/sections/Header/styles.js +200 -0
  206. package/build/sections/Home/Home.js +31 -0
  207. package/build/sections/Home/index.js +14 -0
  208. package/build/sections/SideBar/Sidebar.js +97 -0
  209. package/build/sections/SideBar/index.js +14 -0
  210. package/build/sections/index.js +21 -0
  211. package/build/src/Theme/ResetStyles.d.ts +3 -0
  212. package/build/src/Theme/StyleBaseline.d.ts +4 -0
  213. package/build/src/Theme/ThemeProvider.d.ts +10 -0
  214. package/build/src/Theme/colors.d.ts +1 -0
  215. package/build/src/Theme/index.d.ts +4 -0
  216. package/build/src/Theme/theme.d.ts +149 -0
  217. package/build/src/__mocks__/react-markdown.d.ts +4 -0
  218. package/build/src/__mocks__/remark-plugin.d.ts +1 -0
  219. package/build/src/components/ActionBar/ActionBar.d.ts +8 -0
  220. package/build/src/components/ActionBar/ActionBar.stories.d.ts +11 -0
  221. package/build/src/components/ActionBar/ActionBar.test.d.ts +1 -0
  222. package/build/src/components/ActionBar/ActionBarAction.d.ts +10 -0
  223. package/build/src/components/ActionBar/index.d.ts +1 -0
  224. package/build/src/components/Author/Author.d.ts +10 -0
  225. package/build/src/components/Author/Author.stories.d.ts +6 -0
  226. package/build/src/components/Author/Author.test.d.ts +1 -0
  227. package/build/src/components/Author/index.d.ts +1 -0
  228. package/build/src/components/Author/styles.d.ts +2 -0
  229. package/build/src/components/CopyClipboard/CopyToClipBoard.d.ts +9 -0
  230. package/build/src/components/CopyClipboard/CopyToClipBoard.stories.d.ts +12 -0
  231. package/build/src/components/CopyClipboard/index.d.ts +2 -0
  232. package/build/src/components/CopyClipboard/utils.d.ts +2 -0
  233. package/build/src/components/Dependencies/Dependencies.d.ts +5 -0
  234. package/build/src/components/Dependencies/Dependencies.stories.d.ts +8 -0
  235. package/build/src/components/Dependencies/Dependencies.test.d.ts +1 -0
  236. package/build/src/components/Dependencies/index.d.ts +1 -0
  237. package/build/src/components/Dependencies/styles.d.ts +8 -0
  238. package/build/src/components/Dependencies/types.d.ts +6 -0
  239. package/build/src/components/Deprecated/Deprecated.d.ts +6 -0
  240. package/build/src/components/Deprecated/Deprecated.stories.d.ts +5 -0
  241. package/build/src/components/Deprecated/Deprecated.test.d.ts +1 -0
  242. package/build/src/components/Deprecated/index.d.ts +1 -0
  243. package/build/src/components/Developers/Developers.d.ts +14 -0
  244. package/build/src/components/Developers/Developers.stories.d.ts +6 -0
  245. package/build/src/components/Developers/Developers.test.d.ts +1 -0
  246. package/build/src/components/Developers/Title.d.ts +10 -0
  247. package/build/src/components/Developers/get-unique-developer-values.d.ts +3 -0
  248. package/build/src/components/Developers/index.d.ts +1 -0
  249. package/build/src/components/Developers/styles.d.ts +11 -0
  250. package/build/src/components/Distribution/Dist.d.ts +6 -0
  251. package/build/src/components/Distribution/Dist.stories.d.ts +8 -0
  252. package/build/src/components/Distribution/Dist.test.d.ts +1 -0
  253. package/build/src/components/Distribution/index.d.ts +1 -0
  254. package/build/src/components/Distribution/styles.d.ts +4 -0
  255. package/build/src/components/Distribution/utils.d.ts +7 -0
  256. package/build/src/components/Engines/Engines.d.ts +25 -0
  257. package/build/src/components/Engines/Engines.stories.d.ts +9 -0
  258. package/build/src/components/Engines/Engines.test.d.ts +1 -0
  259. package/build/src/components/Engines/index.d.ts +1 -0
  260. package/build/src/components/Engines/styles.d.ts +2 -0
  261. package/build/src/components/ErrorBoundary/ErrorBoundary.d.ts +14 -0
  262. package/build/src/components/ErrorBoundary/index.d.ts +1 -0
  263. package/build/src/components/FundButton/FundButton.d.ts +5 -0
  264. package/build/src/components/FundButton/FundButton.stories.d.ts +7 -0
  265. package/build/src/components/FundButton/FundButton.test.d.ts +1 -0
  266. package/build/src/components/FundButton/index.d.ts +1 -0
  267. package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.d.ts +10 -0
  268. package/build/src/components/HeaderInfoDialog/index.d.ts +1 -0
  269. package/build/src/components/Heading/Heading.d.ts +8 -0
  270. package/build/src/components/Heading/index.d.ts +1 -0
  271. package/build/src/components/Help/Help.d.ts +3 -0
  272. package/build/src/components/Help/Help.stories.d.ts +5 -0
  273. package/build/src/components/Help/Help.test.d.ts +1 -0
  274. package/build/src/components/Help/index.d.ts +1 -0
  275. package/build/src/components/Help/styles.d.ts +1 -0
  276. package/build/src/components/Icons/DevsIcons/CommonJS.d.ts +2 -0
  277. package/build/src/components/Icons/DevsIcons/ES6Module.d.ts +2 -0
  278. package/build/src/components/Icons/DevsIcons/Git.d.ts +2 -0
  279. package/build/src/components/Icons/DevsIcons/NodeJS.d.ts +2 -0
  280. package/build/src/components/Icons/DevsIcons/TypeScript.d.ts +2 -0
  281. package/build/src/components/Icons/DevsIcons/index.d.ts +5 -0
  282. package/build/src/components/Icons/Earth.d.ts +7 -0
  283. package/build/src/components/Icons/FileBinary.d.ts +7 -0
  284. package/build/src/components/Icons/Icons.stories.d.ts +5 -0
  285. package/build/src/components/Icons/Law.d.ts +7 -0
  286. package/build/src/components/Icons/License.d.ts +7 -0
  287. package/build/src/components/Icons/Managers/Npm.d.ts +2 -0
  288. package/build/src/components/Icons/Managers/Pnpm.d.ts +2 -0
  289. package/build/src/components/Icons/Managers/Yarn.d.ts +2 -0
  290. package/build/src/components/Icons/Managers/index.d.ts +3 -0
  291. package/build/src/components/Icons/SvgIcon.d.ts +10 -0
  292. package/build/src/components/Icons/Time.d.ts +7 -0
  293. package/build/src/components/Icons/Version.d.ts +7 -0
  294. package/build/src/components/Icons/index.d.ts +8 -0
  295. package/build/src/components/Install/Install.d.ts +10 -0
  296. package/build/src/components/Install/Install.stories.d.ts +9 -0
  297. package/build/src/components/Install/Install.test.d.ts +1 -0
  298. package/build/src/components/Install/InstallListItem.d.ts +14 -0
  299. package/build/src/components/Install/index.d.ts +1 -0
  300. package/build/src/components/Label/Label.d.ts +9 -0
  301. package/build/src/components/Label/Label.test.d.ts +1 -0
  302. package/build/src/components/Label/index.d.ts +1 -0
  303. package/build/src/components/Link/Link.d.ts +6 -0
  304. package/build/src/components/Link/index.d.ts +1 -0
  305. package/build/src/components/Loading/Loading.d.ts +3 -0
  306. package/build/src/components/Loading/Loading.stories.d.ts +5 -0
  307. package/build/src/components/Loading/Loading.test.d.ts +1 -0
  308. package/build/src/components/Loading/Spinner/Spinner.d.ts +7 -0
  309. package/build/src/components/Loading/Spinner/Spinner.test.d.ts +1 -0
  310. package/build/src/components/Loading/Spinner/index.d.ts +1 -0
  311. package/build/src/components/Loading/index.d.ts +1 -0
  312. package/build/src/components/Loading/styles.d.ts +11 -0
  313. package/build/src/components/LoginDialog/LoginDialog.d.ts +7 -0
  314. package/build/src/components/LoginDialog/LoginDialog.stories.d.ts +15 -0
  315. package/build/src/components/LoginDialog/LoginDialog.test.d.ts +1 -0
  316. package/build/src/components/LoginDialog/LoginDialogCloseButton.d.ts +6 -0
  317. package/build/src/components/LoginDialog/LoginDialogForm.d.ts +12 -0
  318. package/build/src/components/LoginDialog/LoginDialogFormError.d.ts +11 -0
  319. package/build/src/components/LoginDialog/LoginDialogHeader.d.ts +6 -0
  320. package/build/src/components/LoginDialog/index.d.ts +1 -0
  321. package/build/src/components/Logo/Logo.d.ts +14 -0
  322. package/build/src/components/Logo/Logo.test.d.ts +1 -0
  323. package/build/src/components/Logo/index.d.ts +1 -0
  324. package/build/src/components/MenuItem/MenuItem.d.ts +9 -0
  325. package/build/src/components/MenuItem/index.d.ts +1 -0
  326. package/build/src/components/NoItems/NoItems.d.ts +6 -0
  327. package/build/src/components/NoItems/NoItems.stories.d.ts +5 -0
  328. package/build/src/components/NoItems/Noitems.test.d.ts +1 -0
  329. package/build/src/components/NoItems/index.d.ts +1 -0
  330. package/build/src/components/NotFound/NotFound.d.ts +3 -0
  331. package/build/src/components/NotFound/Notfound.test.d.ts +1 -0
  332. package/build/src/components/NotFound/index.d.ts +1 -0
  333. package/build/src/components/Package/Package.d.ts +24 -0
  334. package/build/src/components/Package/Package.test.d.ts +1 -0
  335. package/build/src/components/Package/Tag/Tag.d.ts +6 -0
  336. package/build/src/components/Package/Tag/Tag.test.d.ts +1 -0
  337. package/build/src/components/Package/Tag/index.d.ts +1 -0
  338. package/build/src/components/Package/Tag/styles.d.ts +5 -0
  339. package/build/src/components/Package/index.d.ts +1 -0
  340. package/build/src/components/Package/styles.d.ts +49 -0
  341. package/build/src/components/PackageList/PackageList.d.ts +6 -0
  342. package/build/src/components/PackageList/Packagelist.test.d.ts +1 -0
  343. package/build/src/components/PackageList/index.d.ts +1 -0
  344. package/build/src/components/RawViewer/RawViewer.d.ts +13 -0
  345. package/build/src/components/RawViewer/index.d.ts +1 -0
  346. package/build/src/components/Readme/Readme.d.ts +6 -0
  347. package/build/src/components/Readme/Readme.spec.d.ts +1 -0
  348. package/build/src/components/Readme/index.d.ts +1 -0
  349. package/build/src/components/Readme/types.d.ts +3 -0
  350. package/build/src/components/Readme/utils.d.ts +1 -0
  351. package/build/src/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
  352. package/build/src/components/RegistryInfoDialog/index.d.ts +1 -0
  353. package/build/src/components/RegistryInfoDialog/styles.d.ts +13 -0
  354. package/build/src/components/RegistryInfoDialog/types.d.ts +7 -0
  355. package/build/src/components/Repository/Repository.d.ts +5 -0
  356. package/build/src/components/Repository/Repository.stories.d.ts +8 -0
  357. package/build/src/components/Repository/Repository.test.d.ts +1 -0
  358. package/build/src/components/Repository/index.d.ts +1 -0
  359. package/build/src/components/Search/AutoComplete/AutoComplete.d.ts +16 -0
  360. package/build/src/components/Search/AutoComplete/index.d.ts +1 -0
  361. package/build/src/components/Search/AutoComplete/styles.d.ts +13 -0
  362. package/build/src/components/Search/Search.d.ts +4 -0
  363. package/build/src/components/Search/Search.stories.d.ts +8 -0
  364. package/build/src/components/Search/Search.test.d.ts +1 -0
  365. package/build/src/components/Search/SearchItem.d.ts +18 -0
  366. package/build/src/components/Search/index.d.ts +1 -0
  367. package/build/src/components/Search/styles.d.ts +10 -0
  368. package/build/src/components/SettingsMenu/SettingsMenu.d.ts +6 -0
  369. package/build/src/components/SettingsMenu/index.d.ts +1 -0
  370. package/build/src/components/SideBarTittle/SideBarTittle.d.ts +13 -0
  371. package/build/src/components/SideBarTittle/SideBarTittle.stories.d.ts +9 -0
  372. package/build/src/components/SideBarTittle/index.d.ts +1 -0
  373. package/build/src/components/SideBarTittle/utils.d.ts +3 -0
  374. package/build/src/components/TextField/TextField.d.ts +3 -0
  375. package/build/src/components/TextField/TextField.test.d.ts +1 -0
  376. package/build/src/components/TextField/index.d.ts +1 -0
  377. package/build/src/components/UpLinks/UpLinks.d.ts +5 -0
  378. package/build/src/components/UpLinks/UpLinks.test.d.ts +1 -0
  379. package/build/src/components/UpLinks/Uplinks.stories.d.ts +6 -0
  380. package/build/src/components/UpLinks/index.d.ts +1 -0
  381. package/build/src/components/UpLinks/styles.d.ts +13 -0
  382. package/build/src/components/Versions/HistoryList.d.ts +10 -0
  383. package/build/src/components/Versions/TagList.d.ts +9 -0
  384. package/build/src/components/Versions/Versions.d.ts +7 -0
  385. package/build/src/components/Versions/Versions.test.d.ts +1 -0
  386. package/build/src/components/Versions/index.d.ts +1 -0
  387. package/build/src/components/Versions/styles.d.ts +12 -0
  388. package/build/src/components/Versions/types.d.ts +15 -0
  389. package/build/src/hooks/index.d.ts +2 -0
  390. package/build/src/hooks/useLocalStorage.d.ts +12 -0
  391. package/build/src/hooks/useOnClickOutside.d.ts +9 -0
  392. package/build/src/index.d.ts +50 -0
  393. package/build/src/layouts/Version/Version.d.ts +3 -0
  394. package/build/src/layouts/Version/Version.stories.d.ts +7 -0
  395. package/build/src/layouts/Version/index.d.ts +1 -0
  396. package/build/src/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +10 -0
  397. package/build/src/providers/AppConfigurationProvider/index.d.ts +1 -0
  398. package/build/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +6 -0
  399. package/build/src/providers/PersistenceSettingProvider/index.d.ts +1 -0
  400. package/build/src/providers/TranslatorProvider/TranslatorProvider.d.ts +24 -0
  401. package/build/src/providers/TranslatorProvider/TranslatorProvider.spec.d.ts +1 -0
  402. package/build/src/providers/TranslatorProvider/index.d.ts +1 -0
  403. package/build/src/providers/VersionProvider/VersionProvider.d.ts +41 -0
  404. package/build/src/providers/VersionProvider/VersionProvider.test.d.ts +1 -0
  405. package/build/src/providers/VersionProvider/index.d.ts +1 -0
  406. package/build/src/providers/index.d.ts +3 -0
  407. package/build/src/sections/Detail/ContainerContent.d.ts +13 -0
  408. package/build/src/sections/Detail/Detail.d.ts +9 -0
  409. package/build/src/sections/Detail/Detail.stories.d.ts +6 -0
  410. package/build/src/sections/Detail/Detail.test.d.ts +1 -0
  411. package/build/src/sections/Detail/ReadmeSection.d.ts +6 -0
  412. package/build/src/sections/Detail/Tabs.d.ts +7 -0
  413. package/build/src/sections/Detail/index.d.ts +1 -0
  414. package/build/src/sections/Footer/Footer.d.ts +3 -0
  415. package/build/src/sections/Footer/Footer.test.d.ts +1 -0
  416. package/build/src/sections/Footer/index.d.ts +1 -0
  417. package/build/src/sections/Footer/styles.d.ts +33 -0
  418. package/build/src/sections/Header/Header.d.ts +6 -0
  419. package/build/src/sections/Header/Header.stories.d.ts +5 -0
  420. package/build/src/sections/Header/Header.test.d.ts +1 -0
  421. package/build/src/sections/Header/HeaderGreetings.d.ts +6 -0
  422. package/build/src/sections/Header/HeaderLeft.d.ts +6 -0
  423. package/build/src/sections/Header/HeaderMenu.d.ts +11 -0
  424. package/build/src/sections/Header/HeaderRight.d.ts +16 -0
  425. package/build/src/sections/Header/HeaderSettingsDialog.d.ts +7 -0
  426. package/build/src/sections/Header/HeaderToolTip.d.ts +9 -0
  427. package/build/src/sections/Header/HeaderToolTipIcon.d.ts +8 -0
  428. package/build/src/sections/Header/LanguageSwitch.d.ts +5 -0
  429. package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +24 -0
  430. package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.d.ts +1 -0
  431. package/build/src/sections/Header/RegistryInfoContent/index.d.ts +1 -0
  432. package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +13 -0
  433. package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
  434. package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +1 -0
  435. package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +13 -0
  436. package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +7 -0
  437. package/build/src/sections/Header/index.d.ts +1 -0
  438. package/build/src/sections/Header/styles.d.ts +34 -0
  439. package/build/src/sections/Home/Home.d.ts +3 -0
  440. package/build/src/sections/Home/Home.stories.d.ts +5 -0
  441. package/build/src/sections/Home/index.d.ts +1 -0
  442. package/build/src/sections/SideBar/Sidebar.d.ts +3 -0
  443. package/build/src/sections/SideBar/Sidebar.stories.d.ts +7 -0
  444. package/build/src/sections/SideBar/Sidebar.test.d.ts +1 -0
  445. package/build/src/sections/SideBar/index.d.ts +1 -0
  446. package/build/src/sections/index.d.ts +2 -0
  447. package/build/src/store/api.d.ts +11 -0
  448. package/build/src/store/index.d.ts +3 -0
  449. package/build/src/store/models/configuration.d.ts +24 -0
  450. package/build/src/store/models/download.d.ts +16 -0
  451. package/build/src/store/models/index.d.ts +16 -0
  452. package/build/src/store/models/login.d.ts +69 -0
  453. package/build/src/store/models/manifest.d.ts +43 -0
  454. package/build/src/store/models/packages.d.ts +28 -0
  455. package/build/src/store/models/search.d.ts +42 -0
  456. package/build/src/store/storage.d.ts +2 -0
  457. package/build/src/store/store.d.ts +9 -0
  458. package/build/src/test/i18n-config.d.ts +2 -0
  459. package/build/src/test/test-react-testing-library.d.ts +8 -0
  460. package/build/src/types/index.d.ts +10 -0
  461. package/build/src/types/packageMeta.d.ts +85 -0
  462. package/build/src/utils/__partials__/packageMeta.d.ts +235 -0
  463. package/build/src/utils/cli-utils.d.ts +6 -0
  464. package/build/src/utils/index.d.ts +6 -0
  465. package/build/src/utils/loadable.d.ts +12 -0
  466. package/build/src/utils/routes.d.ts +7 -0
  467. package/build/src/utils/token.d.ts +1 -0
  468. package/build/src/utils/url.d.ts +4 -0
  469. package/build/src/utils/utils.d.ts +32 -0
  470. package/build/store/api.js +69 -0
  471. package/build/store/index.js +52 -0
  472. package/build/store/models/configuration.js +48 -0
  473. package/build/store/models/download.js +39 -0
  474. package/build/store/models/index.js +21 -0
  475. package/build/store/models/login.js +102 -0
  476. package/build/store/models/manifest.js +98 -0
  477. package/build/store/models/packages.js +43 -0
  478. package/build/store/models/search.js +89 -0
  479. package/build/store/storage.js +18 -0
  480. package/build/store/store.js +15 -0
  481. package/build/test/i18n-config.js +25 -0
  482. package/build/test/test-react-testing-library.js +53 -0
  483. package/build/types/index.js +6 -0
  484. package/build/types/packageMeta.js +6 -0
  485. package/build/utils/__partials__/packageMeta.js +534 -0
  486. package/build/utils/cli-utils.js +49 -0
  487. package/build/utils/index.js +75 -0
  488. package/build/utils/loadable.js +27 -0
  489. package/build/utils/routes.js +15 -0
  490. package/build/utils/token.js +35 -0
  491. package/build/utils/url.js +64 -0
  492. package/build/utils/utils.js +102 -0
  493. package/package.json +71 -12
  494. package/src/Theme/ResetStyles.tsx +44 -0
  495. package/src/Theme/StyleBaseline.tsx +14 -0
  496. package/src/Theme/ThemeProvider.tsx +44 -0
  497. package/src/Theme/colors.ts +1 -0
  498. package/src/Theme/index.ts +4 -0
  499. package/src/Theme/theme.ts +168 -0
  500. package/src/__mocks__/react-markdown.tsx +8 -0
  501. package/src/__mocks__/remark-plugin.ts +1 -0
  502. package/src/components/ActionBar/ActionBar.stories.tsx +64 -0
  503. package/src/components/ActionBar/ActionBar.test.tsx +92 -0
  504. package/src/components/ActionBar/ActionBar.tsx +63 -0
  505. package/src/components/ActionBar/ActionBarAction.tsx +89 -0
  506. package/src/components/ActionBar/index.ts +1 -0
  507. package/src/components/Author/Author.stories.tsx +53 -0
  508. package/src/components/Author/Author.test.tsx +69 -0
  509. package/src/components/Author/Author.tsx +68 -0
  510. package/src/components/Author/index.ts +1 -0
  511. package/src/components/Author/styles.ts +16 -0
  512. package/src/components/CopyClipboard/CopyToClipBoard.stories.tsx +20 -0
  513. package/src/components/CopyClipboard/CopyToClipBoard.tsx +51 -0
  514. package/src/components/CopyClipboard/index.ts +2 -0
  515. package/src/components/CopyClipboard/utils.ts +21 -0
  516. package/src/components/Dependencies/Dependencies.stories.tsx +158 -0
  517. package/src/components/Dependencies/Dependencies.test.tsx +79 -0
  518. package/src/components/Dependencies/Dependencies.tsx +111 -0
  519. package/src/components/Dependencies/index.ts +1 -0
  520. package/src/components/Dependencies/styles.ts +26 -0
  521. package/src/components/Dependencies/types.ts +7 -0
  522. package/src/components/Deprecated/Deprecated.stories.tsx +9 -0
  523. package/src/components/Deprecated/Deprecated.test.tsx +26 -0
  524. package/src/components/Deprecated/Deprecated.tsx +18 -0
  525. package/src/components/Deprecated/index.ts +1 -0
  526. package/src/components/Developers/Developers.stories.tsx +60 -0
  527. package/src/components/Developers/Developers.test.tsx +102 -0
  528. package/src/components/Developers/Developers.tsx +82 -0
  529. package/src/components/Developers/Title.tsx +32 -0
  530. package/src/components/Developers/get-unique-developer-values.ts +16 -0
  531. package/src/components/Developers/index.ts +1 -0
  532. package/src/components/Developers/styles.ts +31 -0
  533. package/src/components/Distribution/Dist.stories.tsx +67 -0
  534. package/src/components/Distribution/Dist.test.tsx +99 -0
  535. package/src/components/Distribution/Dist.tsx +58 -0
  536. package/src/components/Distribution/index.ts +1 -0
  537. package/src/components/Distribution/styles.ts +29 -0
  538. package/src/components/Distribution/utils.ts +32 -0
  539. package/src/components/Distribution/utilts.spec.ts +17 -0
  540. package/src/components/Engines/Engines.stories.tsx +71 -0
  541. package/src/components/Engines/Engines.test.tsx +56 -0
  542. package/src/components/Engines/Engines.tsx +95 -0
  543. package/src/components/Engines/index.ts +1 -0
  544. package/src/components/Engines/styles.ts +14 -0
  545. package/src/components/ErrorBoundary/ErrorBoundary.tsx +38 -0
  546. package/src/components/ErrorBoundary/index.ts +1 -0
  547. package/src/components/FundButton/FundButton.stories.tsx +56 -0
  548. package/src/components/FundButton/FundButton.test.tsx +84 -0
  549. package/src/components/FundButton/FundButton.tsx +48 -0
  550. package/src/components/FundButton/index.ts +1 -0
  551. package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +82 -0
  552. package/src/components/HeaderInfoDialog/index.ts +1 -0
  553. package/src/components/Heading/Heading.tsx +16 -0
  554. package/src/components/Heading/index.ts +1 -0
  555. package/src/components/Help/Help.stories.tsx +9 -0
  556. package/src/components/Help/Help.test.tsx +18 -0
  557. package/src/components/Help/Help.tsx +54 -0
  558. package/src/components/Help/index.ts +1 -0
  559. package/src/components/Help/styles.ts +7 -0
  560. package/src/components/Icons/.eslintrc +5 -0
  561. package/src/components/Icons/DevsIcons/CommonJS.tsx +13 -0
  562. package/src/components/Icons/DevsIcons/ES6Module.tsx +13 -0
  563. package/src/components/Icons/DevsIcons/Git.tsx +13 -0
  564. package/src/components/Icons/DevsIcons/NodeJS.tsx +13 -0
  565. package/src/components/Icons/DevsIcons/TypeScript.tsx +13 -0
  566. package/src/components/Icons/DevsIcons/commonjs.svg +4 -0
  567. package/src/components/Icons/DevsIcons/es6modules.svg +4 -0
  568. package/src/components/Icons/DevsIcons/git.svg +4 -0
  569. package/src/components/Icons/DevsIcons/index.ts +5 -0
  570. package/src/components/Icons/DevsIcons/nodejs.svg +6 -0
  571. package/src/components/Icons/DevsIcons/typescript.svg +4 -0
  572. package/src/components/Icons/Earth.tsx +36 -0
  573. package/src/components/Icons/FileBinary.tsx +20 -0
  574. package/src/components/Icons/Icons.stories.tsx +37 -0
  575. package/src/components/Icons/Law.tsx +20 -0
  576. package/src/components/Icons/License.tsx +18 -0
  577. package/src/components/Icons/Managers/Npm.tsx +13 -0
  578. package/src/components/Icons/Managers/Pnpm.tsx +13 -0
  579. package/src/components/Icons/Managers/Yarn.tsx +13 -0
  580. package/src/components/Icons/Managers/index.ts +3 -0
  581. package/src/components/Icons/Managers/npm.svg +15 -0
  582. package/src/components/Icons/Managers/pnpm.svg +1 -0
  583. package/src/components/Icons/Managers/yarn.svg +1 -0
  584. package/src/components/Icons/SvgIcon.tsx +39 -0
  585. package/src/components/Icons/Time.tsx +19 -0
  586. package/src/components/Icons/Version.tsx +20 -0
  587. package/src/components/Icons/index.ts +8 -0
  588. package/src/components/Install/Install.stories.tsx +87 -0
  589. package/src/components/Install/Install.test.tsx +76 -0
  590. package/src/components/Install/Install.tsx +78 -0
  591. package/src/components/Install/InstallListItem.tsx +134 -0
  592. package/src/components/Install/__partials__/data.json +5984 -0
  593. package/src/components/Install/img/npm.svg +15 -0
  594. package/src/components/Install/img/pnpm.svg +1 -0
  595. package/src/components/Install/img/yarn.svg +1 -0
  596. package/src/components/Install/index.ts +1 -0
  597. package/src/components/Label/Label.test.tsx +14 -0
  598. package/src/components/Label/Label.tsx +36 -0
  599. package/src/components/Label/index.ts +1 -0
  600. package/src/components/Link/Link.tsx +39 -0
  601. package/src/components/Link/index.ts +1 -0
  602. package/src/components/Loading/Loading.stories.tsx +14 -0
  603. package/src/components/Loading/Loading.test.tsx +11 -0
  604. package/src/components/Loading/Loading.tsx +16 -0
  605. package/src/components/Loading/Spinner/Spinner.test.tsx +13 -0
  606. package/src/components/Loading/Spinner/Spinner.tsx +34 -0
  607. package/src/components/Loading/Spinner/index.tsx +1 -0
  608. package/src/components/Loading/index.ts +1 -0
  609. package/src/components/Loading/styles.ts +17 -0
  610. package/src/components/LoginDialog/LoginDialog.stories.tsx +20 -0
  611. package/src/components/LoginDialog/LoginDialog.test.tsx +108 -0
  612. package/src/components/LoginDialog/LoginDialog.tsx +79 -0
  613. package/src/components/LoginDialog/LoginDialogCloseButton.tsx +32 -0
  614. package/src/components/LoginDialog/LoginDialogForm.tsx +96 -0
  615. package/src/components/LoginDialog/LoginDialogFormError.tsx +42 -0
  616. package/src/components/LoginDialog/LoginDialogHeader.tsx +48 -0
  617. package/src/components/LoginDialog/index.ts +1 -0
  618. package/src/components/Logo/Logo.test.tsx +11 -0
  619. package/src/components/Logo/Logo.tsx +55 -0
  620. package/src/components/Logo/img/logo-black-and-white.svg +1 -0
  621. package/src/components/Logo/img/logo.svg +1 -0
  622. package/src/components/Logo/index.ts +1 -0
  623. package/src/components/MenuItem/MenuItem.tsx +25 -0
  624. package/src/components/MenuItem/index.ts +1 -0
  625. package/src/components/NoItems/NoItems.stories.tsx +11 -0
  626. package/src/components/NoItems/NoItems.tsx +15 -0
  627. package/src/components/NoItems/Noitems.test.tsx +15 -0
  628. package/src/components/NoItems/index.ts +1 -0
  629. package/src/components/NotFound/NotFound.tsx +52 -0
  630. package/src/components/NotFound/Notfound.test.tsx +36 -0
  631. package/src/components/NotFound/img/package.svg +1 -0
  632. package/src/components/NotFound/index.ts +1 -0
  633. package/src/components/Package/Package.test.tsx +54 -0
  634. package/src/components/Package/Package.tsx +269 -0
  635. package/src/components/Package/Tag/Tag.test.tsx +15 -0
  636. package/src/components/Package/Tag/Tag.tsx +11 -0
  637. package/src/components/Package/Tag/index.ts +1 -0
  638. package/src/components/Package/Tag/styles.ts +11 -0
  639. package/src/components/Package/index.ts +1 -0
  640. package/src/components/Package/styles.ts +104 -0
  641. package/src/components/PackageList/PackageList.tsx +81 -0
  642. package/src/components/PackageList/Packagelist.test.tsx +58 -0
  643. package/src/components/PackageList/index.ts +1 -0
  644. package/src/components/RawViewer/RawViewer.tsx +67 -0
  645. package/src/components/RawViewer/index.ts +1 -0
  646. package/src/components/Readme/Readme.spec.tsx +18 -0
  647. package/src/components/Readme/Readme.tsx +41 -0
  648. package/src/components/Readme/github-markdown.css +1198 -0
  649. package/src/components/Readme/index.ts +1 -0
  650. package/src/components/Readme/types.ts +3 -0
  651. package/src/components/Readme/utils.ts +29 -0
  652. package/src/components/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
  653. package/src/components/RegistryInfoDialog/index.ts +1 -0
  654. package/src/components/RegistryInfoDialog/styles.ts +21 -0
  655. package/src/components/RegistryInfoDialog/types.ts +8 -0
  656. package/src/components/Repository/Repository.stories.tsx +70 -0
  657. package/src/components/Repository/Repository.test.tsx +43 -0
  658. package/src/components/Repository/Repository.tsx +88 -0
  659. package/src/components/Repository/__partials__/data.json +5984 -0
  660. package/src/components/Repository/img/git.png +0 -0
  661. package/src/components/Repository/index.ts +1 -0
  662. package/src/components/Search/AutoComplete/AutoComplete.tsx +83 -0
  663. package/src/components/Search/AutoComplete/index.ts +1 -0
  664. package/src/components/Search/AutoComplete/styles.tsx +42 -0
  665. package/src/components/Search/Search.stories.tsx +30 -0
  666. package/src/components/Search/Search.test.tsx +153 -0
  667. package/src/components/Search/Search.tsx +162 -0
  668. package/src/components/Search/SearchItem.tsx +114 -0
  669. package/src/components/Search/index.ts +1 -0
  670. package/src/components/Search/styles.ts +41 -0
  671. package/src/components/SettingsMenu/SettingsMenu.tsx +86 -0
  672. package/src/components/SettingsMenu/index.ts +1 -0
  673. package/src/components/SideBarTittle/SideBarTittle.stories.tsx +68 -0
  674. package/src/components/SideBarTittle/SideBarTittle.tsx +82 -0
  675. package/src/components/SideBarTittle/index.ts +1 -0
  676. package/src/components/SideBarTittle/utils.ts +12 -0
  677. package/src/components/TextField/TextField.test.tsx +15 -0
  678. package/src/components/TextField/TextField.tsx +24 -0
  679. package/src/components/TextField/index.ts +1 -0
  680. package/src/components/UpLinks/UpLinks.test.tsx +47 -0
  681. package/src/components/UpLinks/UpLinks.tsx +41 -0
  682. package/src/components/UpLinks/Uplinks.stories.tsx +47 -0
  683. package/src/components/UpLinks/index.ts +1 -0
  684. package/src/components/UpLinks/styles.ts +24 -0
  685. package/src/components/Versions/HistoryList.tsx +69 -0
  686. package/src/components/Versions/TagList.tsx +33 -0
  687. package/src/components/Versions/Versions.test.tsx +54 -0
  688. package/src/components/Versions/Versions.tsx +56 -0
  689. package/src/components/Versions/__partials__/data.json +5985 -0
  690. package/src/components/Versions/__partials__/deprecated-versions.json +175 -0
  691. package/src/components/Versions/index.ts +1 -0
  692. package/src/components/Versions/styles.ts +20 -0
  693. package/src/components/Versions/types.ts +17 -0
  694. package/src/hooks/index.ts +2 -0
  695. package/src/hooks/useLocalStorage.ts +49 -0
  696. package/src/hooks/useOnClickOutside.ts +33 -0
  697. package/src/index.ts +60 -0
  698. package/src/layouts/Version/Version.stories.tsx +44 -0
  699. package/src/layouts/Version/Version.tsx +19 -0
  700. package/src/layouts/Version/index.ts +1 -0
  701. package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +74 -0
  702. package/src/providers/AppConfigurationProvider/index.ts +1 -0
  703. package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +59 -0
  704. package/src/providers/PersistenceSettingProvider/index.ts +1 -0
  705. package/src/providers/TranslatorProvider/TranslatorProvider.spec.tsx +52 -0
  706. package/src/providers/TranslatorProvider/TranslatorProvider.tsx +54 -0
  707. package/src/providers/TranslatorProvider/index.ts +1 -0
  708. package/src/providers/VersionProvider/README.md +22 -0
  709. package/src/providers/VersionProvider/VersionProvider.test.tsx +49 -0
  710. package/src/providers/VersionProvider/VersionProvider.tsx +92 -0
  711. package/src/providers/VersionProvider/index.ts +1 -0
  712. package/src/providers/index.ts +3 -0
  713. package/src/sections/Detail/ContainerContent.tsx +46 -0
  714. package/src/sections/Detail/Detail.stories.tsx +29 -0
  715. package/src/sections/Detail/Detail.test.tsx +12 -0
  716. package/src/sections/Detail/Detail.tsx +34 -0
  717. package/src/sections/Detail/ReadmeSection.tsx +17 -0
  718. package/src/sections/Detail/Tabs.tsx +36 -0
  719. package/src/sections/Detail/index.ts +1 -0
  720. package/src/sections/Footer/Footer.test.tsx +20 -0
  721. package/src/sections/Footer/Footer.tsx +112 -0
  722. package/src/sections/Footer/index.ts +1 -0
  723. package/src/sections/Footer/styles.ts +44 -0
  724. package/src/sections/Header/Header.stories.tsx +36 -0
  725. package/src/sections/Header/Header.test.tsx +278 -0
  726. package/src/sections/Header/Header.tsx +79 -0
  727. package/src/sections/Header/HeaderGreetings.tsx +21 -0
  728. package/src/sections/Header/HeaderLeft.tsx +29 -0
  729. package/src/sections/Header/HeaderMenu.tsx +63 -0
  730. package/src/sections/Header/HeaderRight.tsx +131 -0
  731. package/src/sections/Header/HeaderSettingsDialog.tsx +81 -0
  732. package/src/sections/Header/HeaderToolTip.tsx +15 -0
  733. package/src/sections/Header/HeaderToolTipIcon.tsx +87 -0
  734. package/src/sections/Header/LanguageSwitch.tsx +99 -0
  735. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +26 -0
  736. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +196 -0
  737. package/src/sections/Header/RegistryInfoContent/index.ts +1 -0
  738. package/src/sections/Header/RegistryInfoContent/styles.ts +13 -0
  739. package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
  740. package/src/sections/Header/RegistryInfoDialog/index.ts +1 -0
  741. package/src/sections/Header/RegistryInfoDialog/styles.ts +21 -0
  742. package/src/sections/Header/RegistryInfoDialog/types.ts +8 -0
  743. package/src/sections/Header/index.ts +1 -0
  744. package/src/sections/Header/styles.ts +100 -0
  745. package/src/sections/Home/Home.stories.tsx +16 -0
  746. package/src/sections/Home/Home.tsx +22 -0
  747. package/src/sections/Home/index.ts +1 -0
  748. package/src/sections/SideBar/Sidebar.stories.tsx +39 -0
  749. package/src/sections/SideBar/Sidebar.test.tsx +110 -0
  750. package/src/sections/SideBar/Sidebar.tsx +80 -0
  751. package/src/sections/SideBar/index.ts +1 -0
  752. package/src/sections/index.ts +2 -0
  753. package/src/store/api.test.ts +136 -0
  754. package/src/store/api.ts +73 -0
  755. package/src/store/index.ts +3 -0
  756. package/src/store/models/configuration.ts +46 -0
  757. package/src/store/models/download.ts +33 -0
  758. package/src/store/models/index.ts +18 -0
  759. package/src/store/models/login.test.ts +38 -0
  760. package/src/store/models/login.ts +106 -0
  761. package/src/store/models/manifest.ts +98 -0
  762. package/src/store/models/packages.ts +43 -0
  763. package/src/store/models/search.ts +86 -0
  764. package/src/store/storage.ts +12 -0
  765. package/src/store/store.ts +15 -0
  766. package/src/test/i18n-config.ts +19 -0
  767. package/src/test/test-react-testing-library.tsx +47 -0
  768. package/src/types/index.d.ts +2 -0
  769. package/src/types/index.ts +11 -0
  770. package/src/types/packageMeta.ts +93 -0
  771. package/src/utils/.eslintrc +5 -0
  772. package/src/utils/__partials__/packageMeta.ts +590 -0
  773. package/src/utils/cli-utils.test.ts +66 -0
  774. package/src/utils/cli-utils.ts +53 -0
  775. package/src/utils/index.ts +11 -0
  776. package/src/utils/loadable.tsx +20 -0
  777. package/src/utils/routes.ts +7 -0
  778. package/src/utils/token.test.ts +54 -0
  779. package/src/utils/token.ts +33 -0
  780. package/src/utils/url.test.ts +32 -0
  781. package/src/utils/url.ts +57 -0
  782. package/src/utils/utils.test.ts +113 -0
  783. package/src/utils/utils.ts +120 -0
  784. package/tsconfig.build.json +22 -0
  785. package/tsconfig.json +21 -0
  786. package/LICENSE +0 -21
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _material = require("@mui/material");
8
+ var _Avatar = _interopRequireDefault(require("@mui/material/Avatar"));
9
+ var _Grid = _interopRequireDefault(require("@mui/material/Grid"));
10
+ var _List = _interopRequireDefault(require("@mui/material/List"));
11
+ var _react = _interopRequireDefault(require("react"));
12
+ var _reactI18next = require("react-i18next");
13
+ var _Icons = require("../Icons");
14
+ var _styles = require("./styles");
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
+ /**
17
+ * The props type for {@link EngineItem}.
18
+ */
19
+
20
+ /**
21
+ *
22
+ *
23
+ * @category Component
24
+ */
25
+ const EngineItem = ({
26
+ title,
27
+ element,
28
+ engineText
29
+ }) => /*#__PURE__*/_react.default.createElement(_Grid.default, {
30
+ item: true,
31
+ xs: 6
32
+ }, /*#__PURE__*/_react.default.createElement(_List.default, {
33
+ subheader: /*#__PURE__*/_react.default.createElement(_styles.StyledText, {
34
+ variant: 'subtitle1'
35
+ }, title)
36
+ }, /*#__PURE__*/_react.default.createElement(_styles.EngineListItem, null, /*#__PURE__*/_react.default.createElement(_Avatar.default, {
37
+ sx: {
38
+ bgcolor: '#FFF'
39
+ }
40
+ }, element), /*#__PURE__*/_react.default.createElement(_material.Typography, {
41
+ variant: "subtitle2"
42
+ }, engineText))));
43
+
44
+ /**
45
+ * The props type for {@link Engine}.
46
+ */
47
+
48
+ /**
49
+ *
50
+ *
51
+ * @category Component
52
+ */
53
+ const Engine = ({
54
+ packageMeta
55
+ }) => {
56
+ var _packageMeta$latest;
57
+ const {
58
+ t
59
+ } = (0, _reactI18next.useTranslation)();
60
+ const engines = packageMeta === null || packageMeta === void 0 ? void 0 : (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : _packageMeta$latest.engines;
61
+ if (!engines) {
62
+ return null;
63
+ }
64
+ return /*#__PURE__*/_react.default.createElement(_Grid.default, {
65
+ container: true
66
+ }, engines.node ? /*#__PURE__*/_react.default.createElement(EngineItem, {
67
+ element: /*#__PURE__*/_react.default.createElement(_Icons.NodeJS, null),
68
+ engineText: engines.node,
69
+ title: t('sidebar.engines.node-js')
70
+ }) : null, engines.npm ? /*#__PURE__*/_react.default.createElement(EngineItem, {
71
+ element: /*#__PURE__*/_react.default.createElement(_Icons.Npm, null),
72
+ engineText: engines.npm,
73
+ title: t('sidebar.engines.npm-version')
74
+ }) : null, engines.yarn ? /*#__PURE__*/_react.default.createElement(EngineItem, {
75
+ element: /*#__PURE__*/_react.default.createElement(_Icons.Yarn, null),
76
+ engineText: engines.yarn,
77
+ title: t('sidebar.engines.yarn-version')
78
+ }) : null, engines.pnpm ? /*#__PURE__*/_react.default.createElement(EngineItem, {
79
+ element: /*#__PURE__*/_react.default.createElement(_Icons.Pnpm, null),
80
+ engineText: engines.pnpm,
81
+ title: t('sidebar.engines.pnpm-version')
82
+ }) : null);
83
+ };
84
+ var _default = exports.default = Engine;
85
+ //# sourceMappingURL=Engines.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Engines.default;
10
+ }
11
+ });
12
+ var _Engines = _interopRequireDefault(require("./Engines"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyledText = exports.EngineListItem = void 0;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
9
+ var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
12
+ const StyledText = exports.StyledText = /*#__PURE__*/(0, _base.default)(_Typography.default, process.env.NODE_ENV === "production" ? {
13
+ target: "exjcs7c1"
14
+ } : {
15
+ target: "exjcs7c1",
16
+ label: "StyledText"
17
+ })(props => {
18
+ var _props$theme;
19
+ return {
20
+ fontWeight: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.fontWeight.bold,
21
+ textTransform: 'capitalize'
22
+ };
23
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU0wQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMaXN0SXRlbSBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZT8uZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbn0pO1xuIl19 */");
24
+ const EngineListItem = exports.EngineListItem = /*#__PURE__*/(0, _base.default)(_ListItem.default, process.env.NODE_ENV === "production" ? {
25
+ target: "exjcs7c0"
26
+ } : {
27
+ target: "exjcs7c0",
28
+ label: "EngineListItem"
29
+ })(process.env.NODE_ENV === "production" ? {
30
+ name: "1408f10",
31
+ styles: "padding-left:0"
32
+ } : {
33
+ name: "1408f10",
34
+ styles: "padding-left:0",
35
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVc4QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBMaXN0SXRlbSBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZT8uZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbn0pO1xuIl19 */",
36
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
37
+ });
38
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ 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); }
9
+ 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 && Object.prototype.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; }
10
+ class ErrorBoundary extends _react.Component {
11
+ constructor(props) {
12
+ super(props);
13
+ this.state = {
14
+ hasError: false,
15
+ error: null,
16
+ info: null
17
+ };
18
+ }
19
+ componentDidCatch(error, info) {
20
+ this.setState({
21
+ hasError: true,
22
+ error,
23
+ info
24
+ });
25
+ }
26
+ render() {
27
+ const {
28
+ hasError,
29
+ error,
30
+ info
31
+ } = this.state;
32
+ const {
33
+ children
34
+ } = this.props;
35
+ if (hasError) {
36
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("h1", null, 'Something went wrong.'), /*#__PURE__*/_react.default.createElement("p", null, `error: ${error}`), /*#__PURE__*/_react.default.createElement("p", null, `info: ${JSON.stringify(info)}`));
37
+ }
38
+ return children;
39
+ }
40
+ }
41
+ exports.default = ErrorBoundary;
42
+ //# sourceMappingURL=ErrorBoundary.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _ErrorBoundary.default;
10
+ }
11
+ });
12
+ var _ErrorBoundary = _interopRequireDefault(require("./ErrorBoundary"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _Favorite = _interopRequireDefault(require("@mui/icons-material/Favorite"));
9
+ var _Button = _interopRequireDefault(require("@mui/material/Button"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _reactI18next = require("react-i18next");
12
+ var _utils = require("../../utils");
13
+ var _Link = require("../Link");
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
16
+ const StyledLink = /*#__PURE__*/(0, _base.default)(_Link.Link, process.env.NODE_ENV === "production" ? {
17
+ target: "e1lzdgus2"
18
+ } : {
19
+ target: "e1lzdgus2",
20
+ label: "StyledLink"
21
+ })(({
22
+ theme
23
+ }) => ({
24
+ marginTop: theme === null || theme === void 0 ? void 0 : theme.spacing(1),
25
+ marginBottom: theme === null || theme === void 0 ? void 0 : theme.spacing(1),
26
+ textDecoration: 'none',
27
+ display: 'block'
28
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Z1bmRCdXR0b24vRnVuZEJ1dHRvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVW1CIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Z1bmRCdXR0b24vRnVuZEJ1dHRvbi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgRmF2b3JpdGUgZnJvbSAnQG11aS9pY29ucy1tYXRlcmlhbC9GYXZvcml0ZSc7XG5pbXBvcnQgQnV0dG9uIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQnV0dG9uJztcbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBUcmFucyB9IGZyb20gJ3JlYWN0LWkxOG5leHQnO1xuXG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcbmltcG9ydCB7IHVybCB9IGZyb20gJy4uLy4uL3V0aWxzJztcbmltcG9ydCB7IExpbmsgfSBmcm9tICcuLi9MaW5rJztcblxuY29uc3QgU3R5bGVkTGluayA9IHN0eWxlZChMaW5rKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgbWFyZ2luVG9wOiB0aGVtZT8uc3BhY2luZygxKSxcbiAgbWFyZ2luQm90dG9tOiB0aGVtZT8uc3BhY2luZygxKSxcbiAgdGV4dERlY29yYXRpb246ICdub25lJyxcbiAgZGlzcGxheTogJ2Jsb2NrJyxcbn0pKTtcblxuY29uc3QgU3R5bGVkRmF2b3JpdGVJY29uID0gc3R5bGVkKEZhdm9yaXRlKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgY29sb3I6IHRoZW1lPy5wYWxldHRlLm9yYW5nZSxcbn0pKTtcblxuY29uc3QgU3R5bGVkRnVuZFN0cm9uZyA9IHN0eWxlZCgnc3Ryb25nJykoe1xuICBtYXJnaW5SaWdodDogMyxcbn0pO1xuXG4vKiBlc2xpbnQtZGlzYWJsZSByZWFjdC9qc3gtbm8tYmluZCAqL1xuY29uc3QgRnVuZEJ1dHRvbjogUmVhY3QuRkM8eyBwYWNrYWdlTWV0YTogYW55IH0+ID0gKHsgcGFja2FnZU1ldGEgfSkgPT4ge1xuICBjb25zdCBmdW5kaW5nVXJsID0gcGFja2FnZU1ldGE/LmxhdGVzdD8uZnVuZGluZz8udXJsIGFzIHN0cmluZztcblxuICBpZiAoIXVybC5pc1VSTChmdW5kaW5nVXJsKSkge1xuICAgIHJldHVybiBudWxsO1xuICB9XG5cbiAgcmV0dXJuIChcbiAgICA8U3R5bGVkTGluayBleHRlcm5hbD17dHJ1ZX0gdG89e2Z1bmRpbmdVcmx9IHZhcmlhbnQ9XCJidXR0b25cIj5cbiAgICAgIDxCdXR0b25cbiAgICAgICAgY29sb3I9XCJwcmltYXJ5XCJcbiAgICAgICAgZnVsbFdpZHRoPXt0cnVlfVxuICAgICAgICBzdGFydEljb249ezxTdHlsZWRGYXZvcml0ZUljb24gLz59XG4gICAgICAgIHZhcmlhbnQ9XCJvdXRsaW5lZFwiXG4gICAgICA+XG4gICAgICAgIDxUcmFucyBjb21wb25lbnRzPXtbPFN0eWxlZEZ1bmRTdHJvbmcga2V5PVwiZnVuZFwiIC8+XX0gaTE4bktleT1cImJ1dHRvbi5mdW5kLXRoaXMtcGFja2FnZVwiIC8+XG4gICAgICA8L0J1dHRvbj5cbiAgICA8L1N0eWxlZExpbms+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBGdW5kQnV0dG9uO1xuIl19 */");
29
+ const StyledFavoriteIcon = /*#__PURE__*/(0, _base.default)(_Favorite.default, process.env.NODE_ENV === "production" ? {
30
+ target: "e1lzdgus1"
31
+ } : {
32
+ target: "e1lzdgus1",
33
+ label: "StyledFavoriteIcon"
34
+ })(({
35
+ theme
36
+ }) => ({
37
+ color: theme === null || theme === void 0 ? void 0 : theme.palette.orange
38
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Z1bmRCdXR0b24vRnVuZEJ1dHRvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUIyQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9GdW5kQnV0dG9uL0Z1bmRCdXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEZhdm9yaXRlIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvRmF2b3JpdGUnO1xuaW1wb3J0IEJ1dHRvbiBmcm9tICdAbXVpL21hdGVyaWFsL0J1dHRvbic7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgVHJhbnMgfSBmcm9tICdyZWFjdC1pMThuZXh0JztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5pbXBvcnQgeyB1cmwgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBMaW5rIH0gZnJvbSAnLi4vTGluayc7XG5cbmNvbnN0IFN0eWxlZExpbmsgPSBzdHlsZWQoTGluayk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIG1hcmdpblRvcDogdGhlbWU/LnNwYWNpbmcoMSksXG4gIG1hcmdpbkJvdHRvbTogdGhlbWU/LnNwYWNpbmcoMSksXG4gIHRleHREZWNvcmF0aW9uOiAnbm9uZScsXG4gIGRpc3BsYXk6ICdibG9jaycsXG59KSk7XG5cbmNvbnN0IFN0eWxlZEZhdm9yaXRlSWNvbiA9IHN0eWxlZChGYXZvcml0ZSk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIGNvbG9yOiB0aGVtZT8ucGFsZXR0ZS5vcmFuZ2UsXG59KSk7XG5cbmNvbnN0IFN0eWxlZEZ1bmRTdHJvbmcgPSBzdHlsZWQoJ3N0cm9uZycpKHtcbiAgbWFyZ2luUmlnaHQ6IDMsXG59KTtcblxuLyogZXNsaW50LWRpc2FibGUgcmVhY3QvanN4LW5vLWJpbmQgKi9cbmNvbnN0IEZ1bmRCdXR0b246IFJlYWN0LkZDPHsgcGFja2FnZU1ldGE6IGFueSB9PiA9ICh7IHBhY2thZ2VNZXRhIH0pID0+IHtcbiAgY29uc3QgZnVuZGluZ1VybCA9IHBhY2thZ2VNZXRhPy5sYXRlc3Q/LmZ1bmRpbmc/LnVybCBhcyBzdHJpbmc7XG5cbiAgaWYgKCF1cmwuaXNVUkwoZnVuZGluZ1VybCkpIHtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIHJldHVybiAoXG4gICAgPFN0eWxlZExpbmsgZXh0ZXJuYWw9e3RydWV9IHRvPXtmdW5kaW5nVXJsfSB2YXJpYW50PVwiYnV0dG9uXCI+XG4gICAgICA8QnV0dG9uXG4gICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgIGZ1bGxXaWR0aD17dHJ1ZX1cbiAgICAgICAgc3RhcnRJY29uPXs8U3R5bGVkRmF2b3JpdGVJY29uIC8+fVxuICAgICAgICB2YXJpYW50PVwib3V0bGluZWRcIlxuICAgICAgPlxuICAgICAgICA8VHJhbnMgY29tcG9uZW50cz17WzxTdHlsZWRGdW5kU3Ryb25nIGtleT1cImZ1bmRcIiAvPl19IGkxOG5LZXk9XCJidXR0b24uZnVuZC10aGlzLXBhY2thZ2VcIiAvPlxuICAgICAgPC9CdXR0b24+XG4gICAgPC9TdHlsZWRMaW5rPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRnVuZEJ1dHRvbjtcbiJdfQ== */");
39
+ const StyledFundStrong = /*#__PURE__*/(0, _base.default)('strong', process.env.NODE_ENV === "production" ? {
40
+ target: "e1lzdgus0"
41
+ } : {
42
+ target: "e1lzdgus0",
43
+ label: "StyledFundStrong"
44
+ })(process.env.NODE_ENV === "production" ? {
45
+ name: "1pt2o8x",
46
+ styles: "margin-right:3px"
47
+ } : {
48
+ name: "1pt2o8x",
49
+ styles: "margin-right:3px",
50
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0Z1bmRCdXR0b24vRnVuZEJ1dHRvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUJ5QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9GdW5kQnV0dG9uL0Z1bmRCdXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEZhdm9yaXRlIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvRmF2b3JpdGUnO1xuaW1wb3J0IEJ1dHRvbiBmcm9tICdAbXVpL21hdGVyaWFsL0J1dHRvbic7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgVHJhbnMgfSBmcm9tICdyZWFjdC1pMThuZXh0JztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5pbXBvcnQgeyB1cmwgfSBmcm9tICcuLi8uLi91dGlscyc7XG5pbXBvcnQgeyBMaW5rIH0gZnJvbSAnLi4vTGluayc7XG5cbmNvbnN0IFN0eWxlZExpbmsgPSBzdHlsZWQoTGluayk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIG1hcmdpblRvcDogdGhlbWU/LnNwYWNpbmcoMSksXG4gIG1hcmdpbkJvdHRvbTogdGhlbWU/LnNwYWNpbmcoMSksXG4gIHRleHREZWNvcmF0aW9uOiAnbm9uZScsXG4gIGRpc3BsYXk6ICdibG9jaycsXG59KSk7XG5cbmNvbnN0IFN0eWxlZEZhdm9yaXRlSWNvbiA9IHN0eWxlZChGYXZvcml0ZSk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIGNvbG9yOiB0aGVtZT8ucGFsZXR0ZS5vcmFuZ2UsXG59KSk7XG5cbmNvbnN0IFN0eWxlZEZ1bmRTdHJvbmcgPSBzdHlsZWQoJ3N0cm9uZycpKHtcbiAgbWFyZ2luUmlnaHQ6IDMsXG59KTtcblxuLyogZXNsaW50LWRpc2FibGUgcmVhY3QvanN4LW5vLWJpbmQgKi9cbmNvbnN0IEZ1bmRCdXR0b246IFJlYWN0LkZDPHsgcGFja2FnZU1ldGE6IGFueSB9PiA9ICh7IHBhY2thZ2VNZXRhIH0pID0+IHtcbiAgY29uc3QgZnVuZGluZ1VybCA9IHBhY2thZ2VNZXRhPy5sYXRlc3Q/LmZ1bmRpbmc/LnVybCBhcyBzdHJpbmc7XG5cbiAgaWYgKCF1cmwuaXNVUkwoZnVuZGluZ1VybCkpIHtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIHJldHVybiAoXG4gICAgPFN0eWxlZExpbmsgZXh0ZXJuYWw9e3RydWV9IHRvPXtmdW5kaW5nVXJsfSB2YXJpYW50PVwiYnV0dG9uXCI+XG4gICAgICA8QnV0dG9uXG4gICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgIGZ1bGxXaWR0aD17dHJ1ZX1cbiAgICAgICAgc3RhcnRJY29uPXs8U3R5bGVkRmF2b3JpdGVJY29uIC8+fVxuICAgICAgICB2YXJpYW50PVwib3V0bGluZWRcIlxuICAgICAgPlxuICAgICAgICA8VHJhbnMgY29tcG9uZW50cz17WzxTdHlsZWRGdW5kU3Ryb25nIGtleT1cImZ1bmRcIiAvPl19IGkxOG5LZXk9XCJidXR0b24uZnVuZC10aGlzLXBhY2thZ2VcIiAvPlxuICAgICAgPC9CdXR0b24+XG4gICAgPC9TdHlsZWRMaW5rPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRnVuZEJ1dHRvbjtcbiJdfQ== */",
51
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
52
+ });
53
+
54
+ /* eslint-disable react/jsx-no-bind */
55
+ const FundButton = ({
56
+ packageMeta
57
+ }) => {
58
+ var _packageMeta$latest, _packageMeta$latest$f;
59
+ const fundingUrl = packageMeta === null || packageMeta === void 0 ? void 0 : (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : (_packageMeta$latest$f = _packageMeta$latest.funding) === null || _packageMeta$latest$f === void 0 ? void 0 : _packageMeta$latest$f.url;
60
+ if (!_utils.url.isURL(fundingUrl)) {
61
+ return null;
62
+ }
63
+ return /*#__PURE__*/_react.default.createElement(StyledLink, {
64
+ external: true,
65
+ to: fundingUrl,
66
+ variant: "button"
67
+ }, /*#__PURE__*/_react.default.createElement(_Button.default, {
68
+ color: "primary",
69
+ fullWidth: true,
70
+ startIcon: /*#__PURE__*/_react.default.createElement(StyledFavoriteIcon, null),
71
+ variant: "outlined"
72
+ }, /*#__PURE__*/_react.default.createElement(_reactI18next.Trans, {
73
+ components: [/*#__PURE__*/_react.default.createElement(StyledFundStrong, {
74
+ key: "fund"
75
+ })],
76
+ i18nKey: "button.fund-this-package"
77
+ })));
78
+ };
79
+ var _default = exports.default = FundButton;
80
+ //# sourceMappingURL=FundButton.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _FundButton.default;
10
+ }
11
+ });
12
+ var _FundButton = _interopRequireDefault(require("./FundButton"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _Box = _interopRequireDefault(require("@mui/material/Box"));
8
+ var _Tab = _interopRequireDefault(require("@mui/material/Tab"));
9
+ var _Tabs = _interopRequireDefault(require("@mui/material/Tabs"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _RegistryInfoDialog = _interopRequireDefault(require("../RegistryInfoDialog"));
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /* eslint-disable verdaccio/jsx-spread */
14
+ function a11yProps(index) {
15
+ return {
16
+ id: `simple-tab-${index}`,
17
+ 'aria-controls': `simple-tabpanel-${index}`
18
+ };
19
+ }
20
+ function TabPanel(props) {
21
+ const {
22
+ children,
23
+ value,
24
+ index,
25
+ ...other
26
+ } = props;
27
+ return /*#__PURE__*/_react.default.createElement("div", _extends({
28
+ "aria-labelledby": `simple-tab-${index}`,
29
+ hidden: value !== index,
30
+ id: `simple-tabpanel-${index}`,
31
+ role: "tabpanel"
32
+ }, other), value === index && /*#__PURE__*/_react.default.createElement(_Box.default, {
33
+ sx: {
34
+ paddingTop: 3
35
+ }
36
+ }, children));
37
+ }
38
+ const HeaderInfoDialog = ({
39
+ onCloseDialog,
40
+ isOpen,
41
+ tabs = null,
42
+ tabPanels = null,
43
+ dialogTitle
44
+ }) => {
45
+ const [value, setValue] = _react.default.useState(0);
46
+ const handleChange = (_event, newValue) => {
47
+ setValue(newValue);
48
+ };
49
+ return /*#__PURE__*/_react.default.createElement(_RegistryInfoDialog.default, {
50
+ onClose: onCloseDialog,
51
+ open: isOpen,
52
+ title: dialogTitle
53
+ }, /*#__PURE__*/_react.default.createElement(_Box.default, {
54
+ sx: {
55
+ width: '100%'
56
+ }
57
+ }, /*#__PURE__*/_react.default.createElement(_Box.default, {
58
+ sx: {
59
+ borderBottom: 1,
60
+ borderColor: 'divider'
61
+ }
62
+ }, /*#__PURE__*/_react.default.createElement(_Tabs.default, {
63
+ "aria-label": "infoTabs",
64
+ onChange: handleChange,
65
+ value: value
66
+ }, tabs ? tabs.map((item, index) => {
67
+ return /*#__PURE__*/_react.default.createElement(_Tab.default, _extends({
68
+ key: item.label,
69
+ label: item.label
70
+ }, a11yProps(index), item));
71
+ }) : null)), tabPanels ? tabPanels.map((item, index) => {
72
+ return /*#__PURE__*/_react.default.createElement(TabPanel, {
73
+ index: index,
74
+ key: item.key,
75
+ value: value
76
+ }, item.element);
77
+ }) : null));
78
+ };
79
+ var _default = exports.default = HeaderInfoDialog;
80
+ //# sourceMappingURL=HeaderInfoDialog.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _HeaderInfoDialog.default;
10
+ }
11
+ });
12
+ var _HeaderInfoDialog = _interopRequireDefault(require("./HeaderInfoDialog"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ 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); }
10
+ 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 && Object.prototype.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; }
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
+ const Heading = /*#__PURE__*/(0, _react.forwardRef)(function Heading({
14
+ variant = 'h6',
15
+ ...props
16
+ }, ref) {
17
+ // eslint-disable-next-line verdaccio/jsx-spread
18
+ return /*#__PURE__*/_react.default.createElement(_Typography.default, _extends({}, props, {
19
+ ref: ref,
20
+ variant: variant
21
+ }));
22
+ });
23
+ var _default = exports.default = Heading;
24
+ //# sourceMappingURL=Heading.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Heading.default;
10
+ }
11
+ });
12
+ var _Heading = _interopRequireDefault(require("./Heading"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _Button = _interopRequireDefault(require("@mui/material/Button"));
8
+ var _CardActions = _interopRequireDefault(require("@mui/material/CardActions"));
9
+ var _CardContent = _interopRequireDefault(require("@mui/material/CardContent"));
10
+ var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
11
+ var _react = _interopRequireWildcard(require("react"));
12
+ var _reactI18next = require("react-i18next");
13
+ var _ = require("../../");
14
+ var _styles = require("./styles");
15
+ 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); }
16
+ 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 && Object.prototype.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; }
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
+ function renderHeadingClipboardSegments(title, text) {
19
+ return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
20
+ variant: 'body1'
21
+ }, title), /*#__PURE__*/_react.default.createElement(_.CopyClipboard, {
22
+ dataTestId: "segments",
23
+ text: text
24
+ }));
25
+ }
26
+ const Help = () => {
27
+ const {
28
+ configOptions
29
+ } = (0, _.useConfig)();
30
+ const registryUrl = configOptions.base;
31
+ const {
32
+ t
33
+ } = (0, _reactI18next.useTranslation)();
34
+ return /*#__PURE__*/_react.default.createElement(_styles.CardStyled, {
35
+ "data-testid": "help-card",
36
+ id: "help-card"
37
+ }, /*#__PURE__*/_react.default.createElement(_CardContent.default, null, /*#__PURE__*/_react.default.createElement(_.Heading, {
38
+ gutterBottom: true,
39
+ id: "help-card__title",
40
+ variant: "h5"
41
+ }, t('help.title')), /*#__PURE__*/_react.default.createElement(_.Heading, {
42
+ color: "textSecondary",
43
+ gutterBottom: true,
44
+ sx: {
45
+ marginBottom: 1
46
+ }
47
+ }, t('help.sub-title')), renderHeadingClipboardSegments(t('help.first-step'), t('help.first-step-command-line', {
48
+ registryUrl
49
+ })), renderHeadingClipboardSegments(t('help.second-step'), t('help.second-step-command-line', {
50
+ registryUrl
51
+ })), /*#__PURE__*/_react.default.createElement(_Typography.default, {
52
+ variant: "body2"
53
+ }, t('help.third-step'))), /*#__PURE__*/_react.default.createElement(_CardActions.default, null, /*#__PURE__*/_react.default.createElement(_Button.default, {
54
+ color: "primary",
55
+ href: "https://verdaccio.org/docs/cli-registry",
56
+ size: "small"
57
+ }, t('button.learn-more'))));
58
+ };
59
+ var _default = exports.default = Help;
60
+ //# sourceMappingURL=Help.js.map
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Help.default;
10
+ }
11
+ });
12
+ var _Help = _interopRequireDefault(require("./Help"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CardStyled = void 0;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _Card = _interopRequireDefault(require("@mui/material/Card"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
11
+ const CardStyled = exports.CardStyled = /*#__PURE__*/(0, _base.default)(_Card.default, process.env.NODE_ENV === "production" ? {
12
+ target: "e1cp9qoa0"
13
+ } : {
14
+ target: "e1cp9qoa0",
15
+ label: "CardStyled"
16
+ })(process.env.NODE_ENV === "production" ? {
17
+ name: "b7qabe",
18
+ styles: "max-width:600px;margin:auto"
19
+ } : {
20
+ name: "b7qabe",
21
+ styles: "max-width:600px;margin:auto",
22
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0hlbHAvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUcwQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9IZWxwL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDYXJkIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2FyZCc7XG5cbmV4cG9ydCBjb25zdCBDYXJkU3R5bGVkID0gc3R5bGVkKENhcmQpKHtcbiAgbWF4V2lkdGg6IDYwMCxcbiAgbWFyZ2luOiAnYXV0bycsXG59KTtcbiJdfQ== */",
23
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
24
+ });
25
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CommonJS = CommonJS;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _react = _interopRequireDefault(require("react"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const icon = require('./commonjs.svg');
11
+ const ImgIcon = /*#__PURE__*/(0, _base.default)("img", process.env.NODE_ENV === "production" ? {
12
+ target: "e1xpymzr0"
13
+ } : {
14
+ target: "e1xpymzr0",
15
+ label: "ImgIcon"
16
+ })(({
17
+ theme
18
+ }) => ({
19
+ marginLeft: theme === null || theme === void 0 ? void 0 : theme.spacing(1)
20
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ljb25zL0RldnNJY29ucy9Db21tb25KUy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTWdCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ljb25zL0RldnNJY29ucy9Db21tb25KUy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcblxuY29uc3QgaWNvbiA9IHJlcXVpcmUoJy4vY29tbW9uanMuc3ZnJyk7XG5cbmNvbnN0IEltZ0ljb24gPSBzdHlsZWQuaW1nPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBtYXJnaW5MZWZ0OiB0aGVtZT8uc3BhY2luZygxKSxcbn0pKTtcblxuZXhwb3J0IGZ1bmN0aW9uIENvbW1vbkpTKCkge1xuICByZXR1cm4gPEltZ0ljb24gYWx0PVwiY29tbW9uanNcIiBoZWlnaHQ9XCIyMFwiIHNyYz17aWNvbn0gd2lkdGg9XCIyMFwiIC8+O1xufVxuIl19 */");
21
+ function CommonJS() {
22
+ return /*#__PURE__*/_react.default.createElement(ImgIcon, {
23
+ alt: "commonjs",
24
+ height: "20",
25
+ src: icon,
26
+ width: "20"
27
+ });
28
+ }
29
+ //# sourceMappingURL=CommonJS.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ES6Modules = ES6Modules;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _react = _interopRequireDefault(require("react"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const icon = require('./es6modules.svg');
11
+ const ImgIcon = /*#__PURE__*/(0, _base.default)("img", process.env.NODE_ENV === "production" ? {
12
+ target: "eshu3xf0"
13
+ } : {
14
+ target: "eshu3xf0",
15
+ label: "ImgIcon"
16
+ })(({
17
+ theme
18
+ }) => ({
19
+ marginLeft: theme === null || theme === void 0 ? void 0 : theme.spacing(1)
20
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ljb25zL0RldnNJY29ucy9FUzZNb2R1bGUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1nQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9JY29ucy9EZXZzSWNvbnMvRVM2TW9kdWxlLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnQG11aS9tYXRlcmlhbCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5jb25zdCBpY29uID0gcmVxdWlyZSgnLi9lczZtb2R1bGVzLnN2ZycpO1xuXG5jb25zdCBJbWdJY29uID0gc3R5bGVkLmltZzx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgbWFyZ2luTGVmdDogdGhlbWU/LnNwYWNpbmcoMSksXG59KSk7XG5cbmV4cG9ydCBmdW5jdGlvbiBFUzZNb2R1bGVzKCkge1xuICByZXR1cm4gPEltZ0ljb24gYWx0PVwiZXM2IG1vZHVsZXNcIiBoZWlnaHQ9XCIyMFwiIHNyYz17aWNvbn0gd2lkdGg9XCIyMFwiIC8+O1xufVxuIl19 */");
21
+ function ES6Modules() {
22
+ return /*#__PURE__*/_react.default.createElement(ImgIcon, {
23
+ alt: "es6 modules",
24
+ height: "20",
25
+ src: icon,
26
+ width: "20"
27
+ });
28
+ }
29
+ //# sourceMappingURL=ES6Module.js.map
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Git = Git;
7
+ var _base = _interopRequireDefault(require("@emotion/styled/base"));
8
+ var _react = _interopRequireDefault(require("react"));
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
+ const icon = require('./git.svg');
11
+ const ImgIcon = /*#__PURE__*/(0, _base.default)("img", process.env.NODE_ENV === "production" ? {
12
+ target: "e1dcsq4r0"
13
+ } : {
14
+ target: "e1dcsq4r0",
15
+ label: "ImgIcon"
16
+ })(({
17
+ theme
18
+ }) => ({
19
+ marginLeft: theme === null || theme === void 0 ? void 0 : theme.spacing(1)
20
+ }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0ljb25zL0RldnNJY29ucy9HaXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1nQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9JY29ucy9EZXZzSWNvbnMvR2l0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnQG11aS9tYXRlcmlhbCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5jb25zdCBpY29uID0gcmVxdWlyZSgnLi9naXQuc3ZnJyk7XG5cbmNvbnN0IEltZ0ljb24gPSBzdHlsZWQuaW1nPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBtYXJnaW5MZWZ0OiB0aGVtZT8uc3BhY2luZygxKSxcbn0pKTtcblxuZXhwb3J0IGZ1bmN0aW9uIEdpdCgpIHtcbiAgcmV0dXJuIDxJbWdJY29uIGFsdD1cImdpdFwiIGhlaWdodD1cIjIwXCIgc3JjPXtpY29ufSB3aWR0aD1cIjIwXCIgLz47XG59XG4iXX0= */");
21
+ function Git() {
22
+ return /*#__PURE__*/_react.default.createElement(ImgIcon, {
23
+ alt: "git",
24
+ height: "20",
25
+ src: icon,
26
+ width: "20"
27
+ });
28
+ }
29
+ //# sourceMappingURL=Git.js.map