@verdaccio/ui-theme 6.0.0-6-next.9 → 6.0.0-6-next.13

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 (323) hide show
  1. package/.babelrc +1 -1
  2. package/.eslintrc +0 -15
  3. package/CHANGELOG.md +61 -0
  4. package/jest/api/packages.json +42 -0
  5. package/jest/jest.config.js +2 -2
  6. package/jest/server-handlers.ts +9 -0
  7. package/jest/server.ts +6 -0
  8. package/jest/setup-env.ts +18 -0
  9. package/jest/setup.ts +2 -7
  10. package/jest/unit/components/__mocks__/token.ts +0 -1
  11. package/jest/unit/components/store/login.ts +1 -0
  12. package/package.json +43 -33
  13. package/src/App/App.test.tsx +75 -51
  14. package/src/App/App.tsx +7 -42
  15. package/src/App/AppRoute.tsx +3 -16
  16. package/src/App/Footer/Footer.test.tsx +0 -1
  17. package/src/App/Footer/Footer.tsx +35 -22
  18. package/src/App/Footer/__snapshots__/Footer.test.tsx.snap +208 -302
  19. package/src/App/Footer/styles.ts +2 -3
  20. package/src/App/Header/Header.test.tsx +53 -61
  21. package/src/App/Header/Header.tsx +13 -24
  22. package/src/App/Header/HeaderGreetings.tsx +0 -1
  23. package/src/App/Header/HeaderLeft.tsx +0 -1
  24. package/src/App/Header/HeaderMenu.tsx +6 -6
  25. package/src/App/Header/HeaderRight.tsx +1 -2
  26. package/src/App/Header/HeaderToolTip.tsx +0 -1
  27. package/src/App/Header/HeaderToolTipIcon.tsx +10 -10
  28. package/src/App/Header/LanguageSwitch.tsx +17 -79
  29. package/src/App/Header/LoginDialog/LoginDialog.test.tsx +25 -35
  30. package/src/App/Header/LoginDialog/LoginDialog.tsx +28 -46
  31. package/src/App/Header/LoginDialog/LoginDialogCloseButton.tsx +1 -2
  32. package/src/App/Header/LoginDialog/LoginDialogForm.tsx +0 -1
  33. package/src/App/Header/LoginDialog/LoginDialogFormError.tsx +1 -2
  34. package/src/App/Header/LoginDialog/LoginDialogHeader.tsx +4 -4
  35. package/src/App/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -3
  36. package/src/App/Header/RegistryInfoContent/RegistryInfoContent.tsx +9 -10
  37. package/src/App/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +1 -2
  38. package/src/App/Header/RegistryInfoDialog/styles.ts +0 -1
  39. package/src/App/Header/Search/Search.test.tsx +48 -43
  40. package/src/App/Header/Search/Search.tsx +23 -108
  41. package/src/App/Header/Search/__snapshots__/Search.test.tsx.snap +392 -28
  42. package/src/App/Header/styles.ts +2 -3
  43. package/src/App/index.ts +0 -1
  44. package/src/App/utils/loadable.tsx +3 -1
  45. package/src/components/ActionBar/ActionBar.test.tsx +13 -14
  46. package/src/components/ActionBar/ActionBar.tsx +0 -2
  47. package/src/components/ActionBar/ActionBarAction.tsx +11 -14
  48. package/src/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +198 -53
  49. package/src/components/AppBar.tsx +1 -1
  50. package/src/components/Author/Author.test.tsx +1 -4
  51. package/src/components/Author/Author.tsx +2 -4
  52. package/src/components/Author/__snapshots__/Author.test.tsx.snap +804 -48
  53. package/src/components/Author/styles.ts +0 -1
  54. package/src/components/AutoComplete/AutoComplete.tsx +85 -163
  55. package/src/components/AutoComplete/AutoCompleteV2.tsx +8 -10
  56. package/src/components/AutoComplete/styles.tsx +0 -15
  57. package/src/components/Avatar.tsx +1 -1
  58. package/src/components/Box.tsx +1 -1
  59. package/src/components/Button.tsx +1 -1
  60. package/src/components/Card.tsx +1 -1
  61. package/src/components/CardActions.tsx +1 -1
  62. package/src/components/CardContent.tsx +1 -1
  63. package/src/components/Chip.tsx +1 -1
  64. package/src/components/CircularProgress.tsx +2 -2
  65. package/src/components/CopyToClipBoard.tsx +2 -3
  66. package/src/components/Dialog.tsx +1 -1
  67. package/src/components/DialogActions.tsx +2 -2
  68. package/src/components/DialogContent.tsx +2 -2
  69. package/src/components/DialogTitle.tsx +1 -1
  70. package/src/components/Divider.tsx +1 -1
  71. package/src/components/FloatingActionButton.tsx +1 -1
  72. package/src/components/FormControl.tsx +1 -1
  73. package/src/components/FormHelperText.tsx +2 -2
  74. package/src/components/Grid.tsx +1 -1
  75. package/src/components/Heading.tsx +1 -1
  76. package/src/components/IconButton.tsx +1 -1
  77. package/src/components/Icons/index.ts +1 -17
  78. package/src/components/Input.tsx +1 -1
  79. package/src/components/InputAdornment/InputAdornment.tsx +2 -2
  80. package/src/components/InputLabel.tsx +1 -1
  81. package/src/components/Label/Label.test.tsx +0 -1
  82. package/src/components/Label/Label.tsx +2 -3
  83. package/src/components/List.tsx +1 -1
  84. package/src/components/ListItem.tsx +1 -1
  85. package/src/components/ListItemText.tsx +1 -4
  86. package/src/components/Loading/Loading.test.tsx +0 -1
  87. package/src/components/Loading/Loading.tsx +1 -2
  88. package/src/components/Loading/Spinner/Spinner.test.tsx +1 -2
  89. package/src/components/Loading/Spinner/Spinner.tsx +1 -2
  90. package/src/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +114 -16
  91. package/src/components/Loading/__snapshots__/Loading.test.tsx.snap +63 -11
  92. package/src/components/Loading/styles.ts +1 -2
  93. package/src/components/Logo/Logo.test.tsx +0 -1
  94. package/src/components/Logo/Logo.tsx +1 -2
  95. package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +2 -0
  96. package/src/components/Menu.tsx +1 -1
  97. package/src/components/MenuItem.tsx +1 -1
  98. package/src/components/NotFound/NotFound.tsx +1 -3
  99. package/src/components/NotFound/Notfound.test.tsx +1 -2
  100. package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +138 -11
  101. package/src/components/NotFound/styles.ts +0 -1
  102. package/src/components/Paper.tsx +1 -1
  103. package/src/components/SnackbarContent.tsx +1 -1
  104. package/src/components/SvgIcon.tsx +1 -1
  105. package/src/components/Tab.tsx +1 -1
  106. package/src/components/Tabs.tsx +1 -1
  107. package/src/components/Text/Text.tsx +1 -1
  108. package/src/components/Text/TextConfig.ts +1 -1
  109. package/src/components/TextField/TextField.test.tsx +0 -1
  110. package/src/components/TextField/TextField.tsx +2 -2
  111. package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +216 -3
  112. package/src/components/Toolbar.tsx +1 -1
  113. package/src/components/Tooltip.tsx +1 -1
  114. package/src/design-tokens/ResetStyles.tsx +1 -1
  115. package/src/design-tokens/StyleBaseline.tsx +2 -2
  116. package/src/design-tokens/ThemeContext.ts +1 -1
  117. package/src/design-tokens/ThemeProvider.tsx +15 -12
  118. package/src/design-tokens/theme.ts +28 -26
  119. package/src/design-tokens/useTheme.ts +1 -1
  120. package/src/{design-tokens → hooks}/useLocalStorage.ts +0 -0
  121. package/src/{design-tokens → hooks}/useOnClickOutside.ts +0 -0
  122. package/src/i18n/ABOUT_TRANSLATIONS.md +13 -0
  123. package/src/i18n/__mocks__/loadTranslationFile.ts +5 -0
  124. package/src/i18n/config.ts +38 -0
  125. package/src/i18n/crowdin/ui.json +170 -0
  126. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/cs-CZ.json +0 -0
  127. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/de-DE.json +0 -0
  128. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/en-US.json +0 -0
  129. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/es-ES.json +0 -0
  130. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/fr-FR.json +0 -0
  131. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/ja-JP.json +0 -0
  132. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/km-KH.json +0 -0
  133. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/pt-BR.json +0 -0
  134. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/ru-RU.json +0 -0
  135. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/tr-TR.json +0 -0
  136. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/uk-UA.json +0 -0
  137. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/zh-CN.json +0 -0
  138. package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/zh-TW.json +0 -0
  139. package/src/i18n/download_translations/ar-SA/ui.json +170 -0
  140. package/src/i18n/download_translations/cs-CZ/ui.json +170 -0
  141. package/src/i18n/download_translations/de-DE/ui.json +170 -0
  142. package/src/i18n/download_translations/es-ES/ui.json +170 -0
  143. package/src/i18n/download_translations/fi-FI/ui.json +170 -0
  144. package/src/i18n/download_translations/fil-PH/ui.json +170 -0
  145. package/src/i18n/download_translations/fr-FR/ui.json +170 -0
  146. package/src/i18n/download_translations/gl-ES/ui.json +170 -0
  147. package/src/i18n/download_translations/hi-IN/ui.json +170 -0
  148. package/src/i18n/download_translations/it-IT/ui.json +170 -0
  149. package/src/i18n/download_translations/ja-JP/ui.json +170 -0
  150. package/src/i18n/download_translations/km-KH/ui.json +170 -0
  151. package/src/i18n/download_translations/ko-KR/ui.json +170 -0
  152. package/src/i18n/download_translations/pl-PL/ui.json +170 -0
  153. package/src/i18n/download_translations/pt-BR/ui.json +170 -0
  154. package/src/i18n/download_translations/pt-PT/ui.json +170 -0
  155. package/src/i18n/download_translations/ro-RO/ui.json +170 -0
  156. package/src/i18n/download_translations/ru-RU/ui.json +170 -0
  157. package/src/i18n/download_translations/si-LK/ui.json +170 -0
  158. package/src/i18n/download_translations/sr-CS/ui.json +170 -0
  159. package/src/i18n/download_translations/sr-SP/ui.json +170 -0
  160. package/src/i18n/download_translations/tg-TJ/ui.json +170 -0
  161. package/src/i18n/download_translations/tr-TR/ui.json +170 -0
  162. package/src/i18n/download_translations/uk-UA/ui.json +170 -0
  163. package/src/i18n/download_translations/vi-VN/ui.json +170 -0
  164. package/src/i18n/download_translations/yo-NG/ui.json +170 -0
  165. package/src/i18n/download_translations/zh-CN/ui.json +170 -0
  166. package/src/i18n/download_translations/zh-TW/ui.json +170 -0
  167. package/src/i18n/enabledLanguages.ts +35 -0
  168. package/src/i18n/loadTranslationFile.ts +14 -0
  169. package/src/index.tsx +13 -11
  170. package/src/pages/Version/DetailContainer/Dependencies/Dependencies.test.tsx +0 -2
  171. package/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx +1 -3
  172. package/src/pages/Version/DetailContainer/Dependencies/styles.ts +0 -1
  173. package/src/pages/Version/DetailContainer/Deprecated/Deprecated.test.tsx +1 -3
  174. package/src/pages/Version/DetailContainer/Deprecated/Deprecated.tsx +2 -3
  175. package/src/pages/Version/DetailContainer/DetailContainer.test.tsx +0 -1
  176. package/src/pages/Version/DetailContainer/DetailContainer.tsx +1 -3
  177. package/src/pages/Version/DetailContainer/DetailContainerContent.tsx +0 -1
  178. package/src/pages/Version/DetailContainer/DetailContainerContentReadme.tsx +0 -1
  179. package/src/pages/Version/DetailContainer/DetailContainerTabs.tsx +0 -1
  180. package/src/pages/Version/DetailContainer/NoItems/NoItems.tsx +0 -1
  181. package/src/pages/Version/DetailContainer/NoItems/Noitems.test.tsx +0 -1
  182. package/src/pages/Version/DetailContainer/NoItems/__snapshots__/Noitems.test.tsx.snap +10 -1
  183. package/src/pages/Version/DetailContainer/Readme/Readme.spec.tsx +1 -2
  184. package/src/pages/Version/DetailContainer/Readme/Readme.tsx +1 -2
  185. package/src/pages/Version/DetailContainer/UpLinks/UpLinks.test.tsx +1 -9
  186. package/src/pages/Version/DetailContainer/UpLinks/UpLinks.tsx +1 -3
  187. package/src/pages/Version/DetailContainer/UpLinks/__snapshots__/UpLinks.test.tsx.snap +184 -26
  188. package/src/pages/Version/DetailContainer/UpLinks/styles.ts +2 -3
  189. package/src/pages/Version/DetailContainer/Versions/Versions.test.tsx +3 -5
  190. package/src/pages/Version/DetailContainer/Versions/Versions.tsx +1 -2
  191. package/src/pages/Version/DetailContainer/Versions/VersionsHistoryList.tsx +2 -4
  192. package/src/pages/Version/DetailContainer/Versions/VersionsTagList.tsx +1 -3
  193. package/src/pages/Version/DetailContainer/Versions/styles.ts +2 -3
  194. package/src/pages/Version/DetailContainer/__snapshots__/DetailContainer.test.tsx.snap +168 -34
  195. package/src/pages/Version/DetailSidebar/DetailSidebar.tsx +0 -2
  196. package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.test.tsx +0 -2
  197. package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.tsx +1 -2
  198. package/src/pages/Version/DetailSidebar/DetailSidebarTitle.tsx +0 -1
  199. package/src/pages/Version/DetailSidebar/Developers/Developers.test.tsx +3 -5
  200. package/src/pages/Version/DetailSidebar/Developers/Developers.tsx +3 -5
  201. package/src/pages/Version/DetailSidebar/Developers/DevelopersTitle.tsx +0 -1
  202. package/src/pages/Version/DetailSidebar/Developers/__snapshots__/Developers.test.tsx.snap +328 -40
  203. package/src/pages/Version/DetailSidebar/Developers/styles.ts +0 -1
  204. package/src/pages/Version/DetailSidebar/Dist/Dist.test.tsx +1 -3
  205. package/src/pages/Version/DetailSidebar/Dist/Dist.tsx +1 -3
  206. package/src/pages/Version/DetailSidebar/Dist/__snapshots__/Dist.test.tsx.snap +1436 -74
  207. package/src/pages/Version/DetailSidebar/Dist/styles.ts +2 -1
  208. package/src/pages/Version/DetailSidebar/Engines/Engines.test.tsx +1 -3
  209. package/src/pages/Version/DetailSidebar/Engines/Engines.tsx +1 -3
  210. package/src/pages/Version/DetailSidebar/Engines/styles.ts +0 -1
  211. package/src/pages/Version/DetailSidebar/Install/Install.test.tsx +1 -3
  212. package/src/pages/Version/DetailSidebar/Install/Install.tsx +0 -2
  213. package/src/pages/Version/DetailSidebar/Install/InstallListItem.tsx +0 -1
  214. package/src/pages/Version/DetailSidebar/Repository/Repository.test.tsx +1 -3
  215. package/src/pages/Version/DetailSidebar/Repository/Repository.tsx +1 -3
  216. package/src/pages/Version/Version.test.tsx +3 -5
  217. package/src/pages/Version/Version.tsx +21 -6
  218. package/src/pages/Version/VersionContextProvider.tsx +14 -45
  219. package/src/pages/Version/VersionLayout.tsx +1 -1
  220. package/src/pages/Version/context.ts +1 -1
  221. package/src/pages/home/Home.tsx +9 -28
  222. package/src/pages/home/PackageList/Help/Help.test.tsx +0 -1
  223. package/src/pages/home/PackageList/Help/Help.tsx +0 -1
  224. package/src/pages/home/PackageList/Help/__snapshots__/Help.test.tsx.snap +298 -59
  225. package/src/pages/home/PackageList/Help/styles.ts +0 -1
  226. package/src/pages/home/PackageList/Package/Package.test.tsx +5 -4
  227. package/src/pages/home/PackageList/Package/Package.tsx +20 -28
  228. package/src/pages/home/PackageList/Package/Tag/Tag.test.tsx +0 -1
  229. package/src/pages/home/PackageList/Package/styles.ts +5 -6
  230. package/src/pages/home/PackageList/PackageList.tsx +17 -17
  231. package/src/pages/home/PackageList/Packagelist.test.tsx +6 -5
  232. package/src/providers/API/api.test.ts +1 -0
  233. package/src/providers/API/api.ts +7 -3
  234. package/src/providers/config/AppConfigurationProvider.tsx +3 -3
  235. package/src/store/index.ts +1 -0
  236. package/src/store/models/configuration.ts +41 -0
  237. package/src/store/models/download.ts +30 -0
  238. package/src/store/models/index.ts +18 -0
  239. package/src/store/models/login.ts +92 -0
  240. package/src/store/models/manifest.ts +91 -0
  241. package/src/store/models/packages.ts +36 -0
  242. package/src/store/models/search.ts +81 -0
  243. package/src/store/store.ts +15 -0
  244. package/src/utils/login.test.ts +3 -4
  245. package/src/utils/package.test.ts +2 -3
  246. package/src/utils/package.ts +2 -1
  247. package/src/utils/sec-utils.ts +1 -1
  248. package/src/utils/test-react-testing-library.tsx +22 -5
  249. package/src/utils/url.test.ts +1 -1
  250. package/src/utils/url.ts +1 -0
  251. package/static/Dependencies.15768a14646212b71166.js +2 -0
  252. package/static/Dependencies.15768a14646212b71166.js.LICENSE.txt +78 -0
  253. package/static/Dist.15768a14646212b71166.js +2 -0
  254. package/static/Dist.15768a14646212b71166.js.LICENSE.txt +60 -0
  255. package/static/Engines.15768a14646212b71166.js +2 -0
  256. package/static/Engines.15768a14646212b71166.js.LICENSE.txt +66 -0
  257. package/static/Home.15768a14646212b71166.js +2 -0
  258. package/static/Home.15768a14646212b71166.js.LICENSE.txt +222 -0
  259. package/static/Install.15768a14646212b71166.js +2 -0
  260. package/static/Install.15768a14646212b71166.js.LICENSE.txt +66 -0
  261. package/static/NotFound.15768a14646212b71166.js +2 -0
  262. package/static/NotFound.15768a14646212b71166.js.LICENSE.txt +40 -0
  263. package/static/Provider.15768a14646212b71166.js +2 -0
  264. package/static/Provider.15768a14646212b71166.js.LICENSE.txt +32 -0
  265. package/static/Repository.15768a14646212b71166.js +2 -0
  266. package/static/Repository.15768a14646212b71166.js.LICENSE.txt +50 -0
  267. package/static/UpLinks.15768a14646212b71166.js +2 -0
  268. package/static/UpLinks.15768a14646212b71166.js.LICENSE.txt +56 -0
  269. package/static/Version.15768a14646212b71166.js +2 -0
  270. package/static/Version.15768a14646212b71166.js.LICENSE.txt +380 -0
  271. package/static/Versions.15768a14646212b71166.js +2 -0
  272. package/static/Versions.15768a14646212b71166.js.LICENSE.txt +64 -0
  273. package/static/index.html +1 -1
  274. package/static/main.15768a14646212b71166.js +2 -0
  275. package/static/main.15768a14646212b71166.js.LICENSE.txt +972 -0
  276. package/static/manifest.json +17 -3
  277. package/static/runtime.15768a14646212b71166.js +2 -0
  278. package/static/{runtime.9525ddaaf85378590c63.js.LICENSE.txt → runtime.15768a14646212b71166.js.LICENSE.txt} +2 -2
  279. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js +2 -0
  280. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js.LICENSE.txt +148 -0
  281. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js +2 -0
  282. package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js.LICENSE.txt +218 -0
  283. package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js +2 -0
  284. package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js.LICENSE.txt +316 -0
  285. package/static/vendors.15768a14646212b71166.js +103 -0
  286. package/static/vendors.15768a14646212b71166.js.LICENSE.txt +3158 -0
  287. package/tools/dev.server.js +0 -1
  288. package/tools/webpack.dev.config.babel.js +1 -3
  289. package/tools/webpack.prod.config.babel.js +1 -1
  290. package/tsconfig.json +1 -3
  291. package/types/index.ts +3 -20
  292. package/i18n/config.ts +0 -94
  293. package/src/App/AppContext.ts +0 -18
  294. package/src/App/AppContextProvider.tsx +0 -44
  295. package/src/App/Header/Search/SearchAdornment.tsx +0 -18
  296. package/src/components/Icons/Austria.tsx +0 -23
  297. package/src/components/Icons/Brazil.tsx +0 -44
  298. package/src/components/Icons/China.tsx +0 -33
  299. package/src/components/Icons/Czech.tsx +0 -21
  300. package/src/components/Icons/France.tsx +0 -27
  301. package/src/components/Icons/Germany.tsx +0 -27
  302. package/src/components/Icons/India.tsx +0 -44
  303. package/src/components/Icons/Japan.tsx +0 -23
  304. package/src/components/Icons/Khmer.tsx +0 -40
  305. package/src/components/Icons/Nicaragua.tsx +0 -66
  306. package/src/components/Icons/Russia.tsx +0 -27
  307. package/src/components/Icons/Spain.tsx +0 -43
  308. package/src/components/Icons/Taiwan.tsx +0 -25
  309. package/src/components/Icons/Turkey.tsx +0 -23
  310. package/src/components/Icons/Ukraine.tsx +0 -30
  311. package/src/components/Icons/Usa.tsx +0 -34
  312. package/src/design-tokens/emotion.ts +0 -5
  313. package/src/lib/constants.ts +0 -9
  314. package/src/pages/Version/DetailSidebar/ActionBar/ActionBar.test.tsx +0 -84
  315. package/src/pages/Version/DetailSidebar/ActionBar/__snapshots__/ActionBar.test.tsx.snap +0 -122
  316. package/src/pages/Version/is-package-version-valid.ts +0 -19
  317. package/src/providers/API/APIProvider.tsx +0 -109
  318. package/src/providers/API/index.ts +0 -1
  319. package/static/main.9525ddaaf85378590c63.js +0 -2
  320. package/static/main.9525ddaaf85378590c63.js.LICENSE.txt +0 -1588
  321. package/static/runtime.9525ddaaf85378590c63.js +0 -2
  322. package/static/vendors.9525ddaaf85378590c63.js +0 -2
  323. package/static/vendors.9525ddaaf85378590c63.js.LICENSE.txt +0 -4540
@@ -1,6 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
2
  import React from 'react';
3
-
4
3
  import { Theme } from 'verdaccio-ui/design-tokens/theme';
5
4
 
6
5
  import CircularProgress from '../../CircularProgress';
@@ -31,5 +30,5 @@ const Wrapper = styled('div')<Pick<Props, 'centered'>>(({ centered }) => ({
31
30
  }));
32
31
 
33
32
  const Circular = styled(CircularProgress)<{ theme?: Theme }>(({ theme }) => ({
34
- color: theme?.palette.type === 'dark' ? theme?.palette.white : theme?.palette.primary.main,
33
+ color: theme?.palette.mode === 'dark' ? theme?.palette.white : theme?.palette.primary.main,
35
34
  }));
@@ -3,7 +3,40 @@
3
3
  exports[`<Spinner /> component should render the component in default state 1`] = `
4
4
  Object {
5
5
  "asFragment": [Function],
6
- "baseElement": .emotion-0 {
6
+ "baseElement": @keyframes animation-0 {
7
+ 0% {
8
+ -webkit-transform: rotate(0deg);
9
+ -moz-transform: rotate(0deg);
10
+ -ms-transform: rotate(0deg);
11
+ transform: rotate(0deg);
12
+ }
13
+
14
+ 100% {
15
+ -webkit-transform: rotate(360deg);
16
+ -moz-transform: rotate(360deg);
17
+ -ms-transform: rotate(360deg);
18
+ transform: rotate(360deg);
19
+ }
20
+ }
21
+
22
+ @keyframes animation-1 {
23
+ 0% {
24
+ stroke-dasharray: 1px,200px;
25
+ stroke-dashoffset: 0;
26
+ }
27
+
28
+ 50% {
29
+ stroke-dasharray: 100px,200px;
30
+ stroke-dashoffset: -15px;
31
+ }
32
+
33
+ 100% {
34
+ stroke-dasharray: 100px,200px;
35
+ stroke-dashoffset: -125px;
36
+ }
37
+ }
38
+
39
+ .emotion-0 {
7
40
  display: -webkit-box;
8
41
  display: -webkit-flex;
9
42
  display: -ms-flexbox;
@@ -13,31 +46,47 @@ Object {
13
46
  -ms-flex-align: center;
14
47
  align-items: center;
15
48
  -webkit-box-pack: center;
16
- -webkit-justify-content: center;
17
49
  -ms-flex-pack: center;
50
+ -webkit-justify-content: center;
18
51
  justify-content: center;
19
52
  }
20
53
 
21
- .emotion-2 {
54
+ .emotion-3 {
55
+ display: inline-block;
56
+ color: #4b5e40;
57
+ -webkit-animation: animation-0 1.4s linear infinite;
58
+ animation: animation-0 1.4s linear infinite;
22
59
  color: #4b5e40;
23
60
  }
24
61
 
62
+ .emotion-4 {
63
+ display: block;
64
+ }
65
+
66
+ .emotion-5 {
67
+ stroke: currentColor;
68
+ stroke-dasharray: 80px,200px;
69
+ stroke-dashoffset: 0;
70
+ -webkit-animation: animation-1 1.4s ease-in-out infinite;
71
+ animation: animation-1 1.4s ease-in-out infinite;
72
+ }
73
+
25
74
  <body>
26
75
  <div>
27
76
  <div
28
77
  class="emotion-0 emotion-1"
29
78
  >
30
- <div
31
- class="MuiCircularProgress-root emotion-2 emotion-3 MuiCircularProgress-colorPrimary MuiCircularProgress-indeterminate"
79
+ <span
80
+ class="MuiCircularProgress-root MuiCircularProgress-indeterminate MuiCircularProgress-colorPrimary emotion-2 emotion-3"
32
81
  role="progressbar"
33
82
  style="width: 50px; height: 50px;"
34
83
  >
35
84
  <svg
36
- class="MuiCircularProgress-svg"
85
+ class="MuiCircularProgress-svg emotion-4"
37
86
  viewBox="22 22 44 44"
38
87
  >
39
88
  <circle
40
- class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate"
89
+ class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate emotion-5"
41
90
  cx="44"
42
91
  cy="44"
43
92
  fill="none"
@@ -45,11 +94,44 @@ Object {
45
94
  stroke-width="3.6"
46
95
  />
47
96
  </svg>
48
- </div>
97
+ </span>
49
98
  </div>
50
99
  </div>
51
100
  </body>,
52
- "container": .emotion-0 {
101
+ "container": @keyframes animation-0 {
102
+ 0% {
103
+ -webkit-transform: rotate(0deg);
104
+ -moz-transform: rotate(0deg);
105
+ -ms-transform: rotate(0deg);
106
+ transform: rotate(0deg);
107
+ }
108
+
109
+ 100% {
110
+ -webkit-transform: rotate(360deg);
111
+ -moz-transform: rotate(360deg);
112
+ -ms-transform: rotate(360deg);
113
+ transform: rotate(360deg);
114
+ }
115
+ }
116
+
117
+ @keyframes animation-1 {
118
+ 0% {
119
+ stroke-dasharray: 1px,200px;
120
+ stroke-dashoffset: 0;
121
+ }
122
+
123
+ 50% {
124
+ stroke-dasharray: 100px,200px;
125
+ stroke-dashoffset: -15px;
126
+ }
127
+
128
+ 100% {
129
+ stroke-dasharray: 100px,200px;
130
+ stroke-dashoffset: -125px;
131
+ }
132
+ }
133
+
134
+ .emotion-0 {
53
135
  display: -webkit-box;
54
136
  display: -webkit-flex;
55
137
  display: -ms-flexbox;
@@ -59,30 +141,46 @@ Object {
59
141
  -ms-flex-align: center;
60
142
  align-items: center;
61
143
  -webkit-box-pack: center;
62
- -webkit-justify-content: center;
63
144
  -ms-flex-pack: center;
145
+ -webkit-justify-content: center;
64
146
  justify-content: center;
65
147
  }
66
148
 
67
- .emotion-2 {
149
+ .emotion-3 {
150
+ display: inline-block;
68
151
  color: #4b5e40;
152
+ -webkit-animation: animation-0 1.4s linear infinite;
153
+ animation: animation-0 1.4s linear infinite;
154
+ color: #4b5e40;
155
+ }
156
+
157
+ .emotion-4 {
158
+ display: block;
159
+ }
160
+
161
+ .emotion-5 {
162
+ stroke: currentColor;
163
+ stroke-dasharray: 80px,200px;
164
+ stroke-dashoffset: 0;
165
+ -webkit-animation: animation-1 1.4s ease-in-out infinite;
166
+ animation: animation-1 1.4s ease-in-out infinite;
69
167
  }
70
168
 
71
169
  <div>
72
170
  <div
73
171
  class="emotion-0 emotion-1"
74
172
  >
75
- <div
76
- class="MuiCircularProgress-root emotion-2 emotion-3 MuiCircularProgress-colorPrimary MuiCircularProgress-indeterminate"
173
+ <span
174
+ class="MuiCircularProgress-root MuiCircularProgress-indeterminate MuiCircularProgress-colorPrimary emotion-2 emotion-3"
77
175
  role="progressbar"
78
176
  style="width: 50px; height: 50px;"
79
177
  >
80
178
  <svg
81
- class="MuiCircularProgress-svg"
179
+ class="MuiCircularProgress-svg emotion-4"
82
180
  viewBox="22 22 44 44"
83
181
  >
84
182
  <circle
85
- class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate"
183
+ class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate emotion-5"
86
184
  cx="44"
87
185
  cy="44"
88
186
  fill="none"
@@ -90,7 +188,7 @@ Object {
90
188
  stroke-width="3.6"
91
189
  />
92
190
  </svg>
93
- </div>
191
+ </span>
94
192
  </div>
95
193
  </div>,
96
194
  "debug": [Function],
@@ -1,10 +1,44 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<Loading /> component should render the component in default state 1`] = `
4
+ @keyframes animation-0 {
5
+ 0% {
6
+ -webkit-transform: rotate(0deg);
7
+ -moz-transform: rotate(0deg);
8
+ -ms-transform: rotate(0deg);
9
+ transform: rotate(0deg);
10
+ }
11
+
12
+ 100% {
13
+ -webkit-transform: rotate(360deg);
14
+ -moz-transform: rotate(360deg);
15
+ -ms-transform: rotate(360deg);
16
+ transform: rotate(360deg);
17
+ }
18
+ }
19
+
20
+ @keyframes animation-1 {
21
+ 0% {
22
+ stroke-dasharray: 1px,200px;
23
+ stroke-dashoffset: 0;
24
+ }
25
+
26
+ 50% {
27
+ stroke-dasharray: 100px,200px;
28
+ stroke-dashoffset: -15px;
29
+ }
30
+
31
+ 100% {
32
+ stroke-dasharray: 100px,200px;
33
+ stroke-dashoffset: -125px;
34
+ }
35
+ }
36
+
4
37
  .emotion-0 {
5
- -webkit-transform: translate(-50%,-50%);
6
- -ms-transform: translate(-50%,-50%);
7
- transform: translate(-50%,-50%);
38
+ -webkit-transform: translate(-50%, -50%);
39
+ -moz-transform: translate(-50%, -50%);
40
+ -ms-transform: translate(-50%, -50%);
41
+ transform: translate(-50%, -50%);
8
42
  top: 50%;
9
43
  left: 50%;
10
44
  position: absolute;
@@ -13,7 +47,7 @@ exports[`<Loading /> component should render the component in default state 1`]
13
47
  .emotion-2 {
14
48
  margin: 0 0 30px 0;
15
49
  border-radius: 25px;
16
- box-shadow: 0 10px 20px 0 rgba(69,58,100,0.2);
50
+ box-shadow: 0 10px 20px 0 rgba(69, 58, 100, 0.2);
17
51
  background: #f7f8f6;
18
52
  }
19
53
 
@@ -21,7 +55,9 @@ exports[`<Loading /> component should render the component in default state 1`]
21
55
  display: inline-block;
22
56
  vertical-align: middle;
23
57
  box-sizing: border-box;
58
+ -webkit-background-position: center;
24
59
  background-position: center;
60
+ -webkit-background-size: contain;
25
61
  background-size: contain;
26
62
  background-image: url([object Object]);
27
63
  background-repeat: no-repeat;
@@ -39,13 +75,29 @@ exports[`<Loading /> component should render the component in default state 1`]
39
75
  -ms-flex-align: center;
40
76
  align-items: center;
41
77
  -webkit-box-pack: center;
42
- -webkit-justify-content: center;
43
78
  -ms-flex-pack: center;
79
+ -webkit-justify-content: center;
44
80
  justify-content: center;
45
81
  }
46
82
 
47
- .emotion-8 {
83
+ .emotion-9 {
84
+ display: inline-block;
48
85
  color: #4b5e40;
86
+ -webkit-animation: animation-0 1.4s linear infinite;
87
+ animation: animation-0 1.4s linear infinite;
88
+ color: #4b5e40;
89
+ }
90
+
91
+ .emotion-10 {
92
+ display: block;
93
+ }
94
+
95
+ .emotion-11 {
96
+ stroke: currentColor;
97
+ stroke-dasharray: 80px,200px;
98
+ stroke-dashoffset: 0;
99
+ -webkit-animation: animation-1 1.4s ease-in-out infinite;
100
+ animation: animation-1 1.4s ease-in-out infinite;
49
101
  }
50
102
 
51
103
  <div
@@ -62,17 +114,17 @@ exports[`<Loading /> component should render the component in default state 1`]
62
114
  <div
63
115
  class="emotion-6 emotion-7"
64
116
  >
65
- <div
66
- class="MuiCircularProgress-root emotion-8 emotion-9 MuiCircularProgress-colorPrimary MuiCircularProgress-indeterminate"
117
+ <span
118
+ class="MuiCircularProgress-root MuiCircularProgress-indeterminate MuiCircularProgress-colorPrimary emotion-8 emotion-9"
67
119
  role="progressbar"
68
120
  style="width: 50px; height: 50px;"
69
121
  >
70
122
  <svg
71
- class="MuiCircularProgress-svg"
123
+ class="MuiCircularProgress-svg emotion-10"
72
124
  viewBox="22 22 44 44"
73
125
  >
74
126
  <circle
75
- class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate"
127
+ class="MuiCircularProgress-circle MuiCircularProgress-circleIndeterminate emotion-11"
76
128
  cx="44"
77
129
  cy="44"
78
130
  fill="none"
@@ -80,7 +132,7 @@ exports[`<Loading /> component should render the component in default state 1`]
80
132
  stroke-width="3.6"
81
133
  />
82
134
  </svg>
83
- </div>
135
+ </span>
84
136
  </div>
85
137
  </div>
86
138
  `;
@@ -1,5 +1,4 @@
1
1
  import styled from '@emotion/styled';
2
-
3
2
  import { Theme } from 'verdaccio-ui/design-tokens/theme';
4
3
 
5
4
  export const Wrapper = styled('div')({
@@ -13,5 +12,5 @@ export const Badge = styled('div')<{ theme?: Theme }>(({ theme }) => ({
13
12
  margin: '0 0 30px 0',
14
13
  borderRadius: 25,
15
14
  boxShadow: '0 10px 20px 0 rgba(69, 58, 100, 0.2)',
16
- background: theme?.palette.type === 'dark' ? theme?.palette.black : '#f7f8f6',
15
+ background: theme?.palette.mode === 'dark' ? theme?.palette.black : '#f7f8f6',
17
16
  }));
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
-
3
2
  import { render } from 'verdaccio-ui/utils/test-react-testing-library';
4
3
 
5
4
  import Logo from './Logo';
@@ -1,6 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
2
  import React from 'react';
3
-
4
3
  import { Theme } from 'verdaccio-ui/design-tokens/theme';
5
4
  import { useConfig } from 'verdaccio-ui/providers/config';
6
5
 
@@ -48,7 +47,7 @@ const StyledLogo = styled('div')<Props & { theme?: Theme }>(({ size = 'small', t
48
47
  boxSizing: 'border-box',
49
48
  backgroundPosition: 'center',
50
49
  backgroundSize: 'contain',
51
- backgroundImage: `url(${logos[theme?.palette.type]})`,
50
+ backgroundImage: `url(${logos[theme?.palette.mode]})`,
52
51
  backgroundRepeat: ' no-repeat',
53
52
  width: sizes[size],
54
53
  height: sizes[size],
@@ -5,7 +5,9 @@ exports[`<Logo /> component should render the component in default state 1`] = `
5
5
  display: inline-block;
6
6
  vertical-align: middle;
7
7
  box-sizing: border-box;
8
+ -webkit-background-position: center;
8
9
  background-position: center;
10
+ -webkit-background-size: contain;
9
11
  background-size: contain;
10
12
  background-image: url([object Object]);
11
13
  background-repeat: no-repeat;
@@ -1,4 +1,4 @@
1
- import { default as MaterialUIMenu, MenuProps } from '@material-ui/core/Menu';
1
+ import { default as MaterialUIMenu, MenuProps } from '@mui/material/Menu';
2
2
  import React, { forwardRef } from 'react';
3
3
 
4
4
  type MenuRef = HTMLDivElement;
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
- import { default as MaterialUIMenuItem, MenuItemProps } from '@material-ui/core/MenuItem';
2
+ import { default as MaterialUIMenuItem, MenuItemProps } from '@mui/material/MenuItem';
3
3
  import React, { forwardRef } from 'react';
4
4
 
5
5
  type HTMLElementTagName = keyof HTMLElementTagNameMap;
@@ -2,13 +2,11 @@ import styled from '@emotion/styled';
2
2
  import React, { useCallback } from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useHistory } from 'react-router-dom';
5
-
6
5
  import { Theme } from 'verdaccio-ui/design-tokens/theme';
7
6
 
8
7
  import Box from '../Box';
9
8
  import Button from '../Button';
10
9
  import Heading from '../Heading';
11
-
12
10
  import PackageImg from './img/package.svg';
13
11
 
14
12
  const NotFound: React.FC = () => {
@@ -47,6 +45,6 @@ const EmptyPackage = styled('img')({
47
45
  });
48
46
 
49
47
  const StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({
50
- color: theme?.palette.type === 'light' ? theme?.palette.primary.main : theme?.palette.white,
48
+ color: theme?.palette.mode === 'light' ? theme?.palette.primary.main : theme?.palette.white,
51
49
  marginBottom: 16,
52
50
  }));
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MemoryRouter } from 'react-router';
3
-
4
- import { render, fireEvent } from 'verdaccio-ui/utils/test-react-testing-library';
3
+ import { fireEvent, render } from 'verdaccio-ui/utils/test-react-testing-library';
5
4
 
6
5
  import NotFound from './NotFound';
7
6
 
@@ -2,42 +2,169 @@
2
2
 
3
3
  exports[`<NotFound /> component should load the component in default state 1`] = `
4
4
  .emotion-0 {
5
+ -webkit-align-items: center;
6
+ -webkit-box-align: center;
7
+ -ms-flex-align: center;
8
+ align-items: center;
9
+ display: -webkit-box;
10
+ display: -webkit-flex;
11
+ display: -ms-flexbox;
12
+ display: flex;
13
+ -webkit-flex-direction: column;
14
+ -ms-flex-direction: column;
15
+ flex-direction: column;
16
+ -webkit-box-flex: 1;
17
+ -webkit-flex-grow: 1;
18
+ -ms-flex-positive: 1;
19
+ flex-grow: 1;
20
+ -webkit-box-pack: center;
21
+ -ms-flex-pack: center;
22
+ -webkit-justify-content: center;
23
+ justify-content: center;
24
+ padding: 16px;
25
+ }
26
+
27
+ .emotion-1 {
5
28
  width: 150px;
6
29
  margin: 0 auto;
7
30
  }
8
31
 
9
- .emotion-2 {
32
+ .emotion-4 {
33
+ margin: 0;
34
+ font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
35
+ font-weight: 400;
36
+ font-size: 2.125rem;
37
+ line-height: 1.235;
10
38
  color: #4b5e40;
11
39
  margin-bottom: 16px;
12
40
  }
13
41
 
42
+ .emotion-5 {
43
+ display: -webkit-inline-box;
44
+ display: -webkit-inline-flex;
45
+ display: -ms-inline-flexbox;
46
+ display: inline-flex;
47
+ -webkit-align-items: center;
48
+ -webkit-box-align: center;
49
+ -ms-flex-align: center;
50
+ align-items: center;
51
+ -webkit-box-pack: center;
52
+ -ms-flex-pack: center;
53
+ -webkit-justify-content: center;
54
+ justify-content: center;
55
+ position: relative;
56
+ box-sizing: border-box;
57
+ -webkit-tap-highlight-color: transparent;
58
+ background-color: transparent;
59
+ outline: 0;
60
+ border: 0;
61
+ margin: 0;
62
+ border-radius: 0;
63
+ padding: 0;
64
+ cursor: pointer;
65
+ -webkit-user-select: none;
66
+ -moz-user-select: none;
67
+ -ms-user-select: none;
68
+ user-select: none;
69
+ vertical-align: middle;
70
+ -moz-appearance: none;
71
+ -webkit-appearance: none;
72
+ -webkit-text-decoration: none;
73
+ text-decoration: none;
74
+ color: inherit;
75
+ font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
76
+ font-weight: 500;
77
+ font-size: 0.875rem;
78
+ line-height: 1.75;
79
+ text-transform: uppercase;
80
+ min-width: 64px;
81
+ padding: 6px 16px;
82
+ border-radius: 4px;
83
+ -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
84
+ transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
85
+ color: #fff;
86
+ background-color: #4b5e40;
87
+ box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12);
88
+ }
89
+
90
+ .emotion-5::-moz-focus-inner {
91
+ border-style: none;
92
+ }
93
+
94
+ .emotion-5.Mui-disabled {
95
+ pointer-events: none;
96
+ cursor: default;
97
+ }
98
+
99
+ @media print {
100
+ .emotion-5 {
101
+ -webkit-print-color-adjust: exact;
102
+ color-adjust: exact;
103
+ }
104
+ }
105
+
106
+ .emotion-5:hover {
107
+ -webkit-text-decoration: none;
108
+ text-decoration: none;
109
+ background-color: rgb(52, 65, 44);
110
+ box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
111
+ }
112
+
113
+ @media (hover: none) {
114
+ .emotion-5:hover {
115
+ background-color: #4b5e40;
116
+ }
117
+ }
118
+
119
+ .emotion-5:active {
120
+ box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12);
121
+ }
122
+
123
+ .emotion-5.Mui-focusVisible {
124
+ box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12);
125
+ }
126
+
127
+ .emotion-5.Mui-disabled {
128
+ color: rgba(0, 0, 0, 0.26);
129
+ box-shadow: none;
130
+ background-color: rgba(0, 0, 0, 0.12);
131
+ }
132
+
133
+ .emotion-6 {
134
+ overflow: hidden;
135
+ pointer-events: none;
136
+ position: absolute;
137
+ z-index: 0;
138
+ top: 0;
139
+ right: 0;
140
+ bottom: 0;
141
+ left: 0;
142
+ border-radius: inherit;
143
+ }
144
+
14
145
  <div
15
- class="MuiBox-root MuiBox-root-1"
146
+ class="MuiBox-root emotion-0"
16
147
  data-testid="404"
17
148
  >
18
149
  <img
19
150
  alt="404 - Page not found"
20
- class="emotion-0 emotion-1"
151
+ class="emotion-1 emotion-2"
21
152
  src="[object Object]"
22
153
  />
23
154
  <h4
24
- class="MuiTypography-root not-found-text emotion-2 emotion-3 MuiTypography-h4"
155
+ class="MuiTypography-root MuiTypography-h4 not-found-text emotion-3 emotion-4"
25
156
  >
26
157
  Sorry, we couldn't find it...
27
158
  </h4>
28
159
  <button
29
- class="MuiButtonBase-root MuiButton-root MuiButton-contained"
160
+ class="MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButtonBase-root emotion-5"
30
161
  data-testid="not-found-go-to-home-button"
31
162
  tabindex="0"
32
163
  type="button"
33
164
  >
165
+ Go to the home page
34
166
  <span
35
- class="MuiButton-label"
36
- >
37
- Go to the home page
38
- </span>
39
- <span
40
- class="MuiTouchRipple-root"
167
+ class="MuiTouchRipple-root emotion-6"
41
168
  />
42
169
  </button>
43
170
  </div>
@@ -1,5 +1,4 @@
1
1
  import styled from '@emotion/styled';
2
-
3
2
  import { PRIMARY_COLOR } from 'verdaccio-ui/utils/colors';
4
3
 
5
4
  import { default as MuiCard } from '../Card';
@@ -1,4 +1,4 @@
1
- import { default as MaterialUIPaper, PaperProps } from '@material-ui/core/Paper';
1
+ import { default as MaterialUIPaper, PaperProps } from '@mui/material/Paper';
2
2
  import React, { forwardRef } from 'react';
3
3
 
4
4
  type PaperRef = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  default as MaterialUISnackbarContent,
3
3
  SnackbarContentProps,
4
- } from '@material-ui/core/SnackbarContent';
4
+ } from '@mui/material/SnackbarContent';
5
5
  import React, { forwardRef } from 'react';
6
6
 
7
7
  type SnackbarContentRef = HTMLDivElement;
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/styled';
2
- import { default as MaterialUISvgIcon, SvgIconProps } from '@material-ui/core/SvgIcon';
2
+ import { default as MaterialUISvgIcon, SvgIconProps } from '@mui/material/SvgIcon';
3
3
  import React from 'react';
4
4
 
5
5
  type Size = 'sm' | 'md';
@@ -1,4 +1,4 @@
1
- import { default as MaterialUITab, TabProps } from '@material-ui/core/Tab';
1
+ import { default as MaterialUITab, TabProps } from '@mui/material/Tab';
2
2
  import React, { forwardRef } from 'react';
3
3
 
4
4
  type TabRef = HTMLButtonElement;
@@ -1,4 +1,4 @@
1
- import { default as MaterialUITabs, TabsProps } from '@material-ui/core/Tabs';
1
+ import { default as MaterialUITabs, TabsProps } from '@mui/material/Tabs';
2
2
  import React, { forwardRef } from 'react';
3
3
 
4
4
  type TabsRef = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
@@ -1,4 +1,4 @@
1
- import { default as MaterialUITypography } from '@material-ui/core/Typography';
1
+ import { default as MaterialUITypography } from '@mui/material/Typography';
2
2
  import React, { forwardRef } from 'react';
3
3
 
4
4
  import { TextProps } from './TextConfig';
@@ -1,4 +1,4 @@
1
- import { TypographyProps } from '@material-ui/core/Typography';
1
+ import { TypographyProps } from '@mui/material/Typography';
2
2
 
3
3
  type TextType = 'subtitle1' | 'subtitle2' | 'body1' | 'body2';
4
4