@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.
- package/.babelrc +1 -1
- package/.eslintrc +0 -15
- package/CHANGELOG.md +61 -0
- package/jest/api/packages.json +42 -0
- package/jest/jest.config.js +2 -2
- package/jest/server-handlers.ts +9 -0
- package/jest/server.ts +6 -0
- package/jest/setup-env.ts +18 -0
- package/jest/setup.ts +2 -7
- package/jest/unit/components/__mocks__/token.ts +0 -1
- package/jest/unit/components/store/login.ts +1 -0
- package/package.json +43 -33
- package/src/App/App.test.tsx +75 -51
- package/src/App/App.tsx +7 -42
- package/src/App/AppRoute.tsx +3 -16
- package/src/App/Footer/Footer.test.tsx +0 -1
- package/src/App/Footer/Footer.tsx +35 -22
- package/src/App/Footer/__snapshots__/Footer.test.tsx.snap +208 -302
- package/src/App/Footer/styles.ts +2 -3
- package/src/App/Header/Header.test.tsx +53 -61
- package/src/App/Header/Header.tsx +13 -24
- package/src/App/Header/HeaderGreetings.tsx +0 -1
- package/src/App/Header/HeaderLeft.tsx +0 -1
- package/src/App/Header/HeaderMenu.tsx +6 -6
- package/src/App/Header/HeaderRight.tsx +1 -2
- package/src/App/Header/HeaderToolTip.tsx +0 -1
- package/src/App/Header/HeaderToolTipIcon.tsx +10 -10
- package/src/App/Header/LanguageSwitch.tsx +17 -79
- package/src/App/Header/LoginDialog/LoginDialog.test.tsx +25 -35
- package/src/App/Header/LoginDialog/LoginDialog.tsx +28 -46
- package/src/App/Header/LoginDialog/LoginDialogCloseButton.tsx +1 -2
- package/src/App/Header/LoginDialog/LoginDialogForm.tsx +0 -1
- package/src/App/Header/LoginDialog/LoginDialogFormError.tsx +1 -2
- package/src/App/Header/LoginDialog/LoginDialogHeader.tsx +4 -4
- package/src/App/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -3
- package/src/App/Header/RegistryInfoContent/RegistryInfoContent.tsx +9 -10
- package/src/App/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +1 -2
- package/src/App/Header/RegistryInfoDialog/styles.ts +0 -1
- package/src/App/Header/Search/Search.test.tsx +48 -43
- package/src/App/Header/Search/Search.tsx +23 -108
- package/src/App/Header/Search/__snapshots__/Search.test.tsx.snap +392 -28
- package/src/App/Header/styles.ts +2 -3
- package/src/App/index.ts +0 -1
- package/src/App/utils/loadable.tsx +3 -1
- package/src/components/ActionBar/ActionBar.test.tsx +13 -14
- package/src/components/ActionBar/ActionBar.tsx +0 -2
- package/src/components/ActionBar/ActionBarAction.tsx +11 -14
- package/src/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +198 -53
- package/src/components/AppBar.tsx +1 -1
- package/src/components/Author/Author.test.tsx +1 -4
- package/src/components/Author/Author.tsx +2 -4
- package/src/components/Author/__snapshots__/Author.test.tsx.snap +804 -48
- package/src/components/Author/styles.ts +0 -1
- package/src/components/AutoComplete/AutoComplete.tsx +85 -163
- package/src/components/AutoComplete/AutoCompleteV2.tsx +8 -10
- package/src/components/AutoComplete/styles.tsx +0 -15
- package/src/components/Avatar.tsx +1 -1
- package/src/components/Box.tsx +1 -1
- package/src/components/Button.tsx +1 -1
- package/src/components/Card.tsx +1 -1
- package/src/components/CardActions.tsx +1 -1
- package/src/components/CardContent.tsx +1 -1
- package/src/components/Chip.tsx +1 -1
- package/src/components/CircularProgress.tsx +2 -2
- package/src/components/CopyToClipBoard.tsx +2 -3
- package/src/components/Dialog.tsx +1 -1
- package/src/components/DialogActions.tsx +2 -2
- package/src/components/DialogContent.tsx +2 -2
- package/src/components/DialogTitle.tsx +1 -1
- package/src/components/Divider.tsx +1 -1
- package/src/components/FloatingActionButton.tsx +1 -1
- package/src/components/FormControl.tsx +1 -1
- package/src/components/FormHelperText.tsx +2 -2
- package/src/components/Grid.tsx +1 -1
- package/src/components/Heading.tsx +1 -1
- package/src/components/IconButton.tsx +1 -1
- package/src/components/Icons/index.ts +1 -17
- package/src/components/Input.tsx +1 -1
- package/src/components/InputAdornment/InputAdornment.tsx +2 -2
- package/src/components/InputLabel.tsx +1 -1
- package/src/components/Label/Label.test.tsx +0 -1
- package/src/components/Label/Label.tsx +2 -3
- package/src/components/List.tsx +1 -1
- package/src/components/ListItem.tsx +1 -1
- package/src/components/ListItemText.tsx +1 -4
- package/src/components/Loading/Loading.test.tsx +0 -1
- package/src/components/Loading/Loading.tsx +1 -2
- package/src/components/Loading/Spinner/Spinner.test.tsx +1 -2
- package/src/components/Loading/Spinner/Spinner.tsx +1 -2
- package/src/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +114 -16
- package/src/components/Loading/__snapshots__/Loading.test.tsx.snap +63 -11
- package/src/components/Loading/styles.ts +1 -2
- package/src/components/Logo/Logo.test.tsx +0 -1
- package/src/components/Logo/Logo.tsx +1 -2
- package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +2 -0
- package/src/components/Menu.tsx +1 -1
- package/src/components/MenuItem.tsx +1 -1
- package/src/components/NotFound/NotFound.tsx +1 -3
- package/src/components/NotFound/Notfound.test.tsx +1 -2
- package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +138 -11
- package/src/components/NotFound/styles.ts +0 -1
- package/src/components/Paper.tsx +1 -1
- package/src/components/SnackbarContent.tsx +1 -1
- package/src/components/SvgIcon.tsx +1 -1
- package/src/components/Tab.tsx +1 -1
- package/src/components/Tabs.tsx +1 -1
- package/src/components/Text/Text.tsx +1 -1
- package/src/components/Text/TextConfig.ts +1 -1
- package/src/components/TextField/TextField.test.tsx +0 -1
- package/src/components/TextField/TextField.tsx +2 -2
- package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +216 -3
- package/src/components/Toolbar.tsx +1 -1
- package/src/components/Tooltip.tsx +1 -1
- package/src/design-tokens/ResetStyles.tsx +1 -1
- package/src/design-tokens/StyleBaseline.tsx +2 -2
- package/src/design-tokens/ThemeContext.ts +1 -1
- package/src/design-tokens/ThemeProvider.tsx +15 -12
- package/src/design-tokens/theme.ts +28 -26
- package/src/design-tokens/useTheme.ts +1 -1
- package/src/{design-tokens → hooks}/useLocalStorage.ts +0 -0
- package/src/{design-tokens → hooks}/useOnClickOutside.ts +0 -0
- package/src/i18n/ABOUT_TRANSLATIONS.md +13 -0
- package/src/i18n/__mocks__/loadTranslationFile.ts +5 -0
- package/src/i18n/config.ts +38 -0
- package/src/i18n/crowdin/ui.json +170 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/cs-CZ.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/de-DE.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/en-US.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/es-ES.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/fr-FR.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/ja-JP.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/km-KH.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/pt-BR.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/ru-RU.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/tr-TR.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/uk-UA.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/zh-CN.json +0 -0
- package/{i18n/translations → src/i18n/deprecated_translations_dont_use}/zh-TW.json +0 -0
- package/src/i18n/download_translations/ar-SA/ui.json +170 -0
- package/src/i18n/download_translations/cs-CZ/ui.json +170 -0
- package/src/i18n/download_translations/de-DE/ui.json +170 -0
- package/src/i18n/download_translations/es-ES/ui.json +170 -0
- package/src/i18n/download_translations/fi-FI/ui.json +170 -0
- package/src/i18n/download_translations/fil-PH/ui.json +170 -0
- package/src/i18n/download_translations/fr-FR/ui.json +170 -0
- package/src/i18n/download_translations/gl-ES/ui.json +170 -0
- package/src/i18n/download_translations/hi-IN/ui.json +170 -0
- package/src/i18n/download_translations/it-IT/ui.json +170 -0
- package/src/i18n/download_translations/ja-JP/ui.json +170 -0
- package/src/i18n/download_translations/km-KH/ui.json +170 -0
- package/src/i18n/download_translations/ko-KR/ui.json +170 -0
- package/src/i18n/download_translations/pl-PL/ui.json +170 -0
- package/src/i18n/download_translations/pt-BR/ui.json +170 -0
- package/src/i18n/download_translations/pt-PT/ui.json +170 -0
- package/src/i18n/download_translations/ro-RO/ui.json +170 -0
- package/src/i18n/download_translations/ru-RU/ui.json +170 -0
- package/src/i18n/download_translations/si-LK/ui.json +170 -0
- package/src/i18n/download_translations/sr-CS/ui.json +170 -0
- package/src/i18n/download_translations/sr-SP/ui.json +170 -0
- package/src/i18n/download_translations/tg-TJ/ui.json +170 -0
- package/src/i18n/download_translations/tr-TR/ui.json +170 -0
- package/src/i18n/download_translations/uk-UA/ui.json +170 -0
- package/src/i18n/download_translations/vi-VN/ui.json +170 -0
- package/src/i18n/download_translations/yo-NG/ui.json +170 -0
- package/src/i18n/download_translations/zh-CN/ui.json +170 -0
- package/src/i18n/download_translations/zh-TW/ui.json +170 -0
- package/src/i18n/enabledLanguages.ts +35 -0
- package/src/i18n/loadTranslationFile.ts +14 -0
- package/src/index.tsx +13 -11
- package/src/pages/Version/DetailContainer/Dependencies/Dependencies.test.tsx +0 -2
- package/src/pages/Version/DetailContainer/Dependencies/Dependencies.tsx +1 -3
- package/src/pages/Version/DetailContainer/Dependencies/styles.ts +0 -1
- package/src/pages/Version/DetailContainer/Deprecated/Deprecated.test.tsx +1 -3
- package/src/pages/Version/DetailContainer/Deprecated/Deprecated.tsx +2 -3
- package/src/pages/Version/DetailContainer/DetailContainer.test.tsx +0 -1
- package/src/pages/Version/DetailContainer/DetailContainer.tsx +1 -3
- package/src/pages/Version/DetailContainer/DetailContainerContent.tsx +0 -1
- package/src/pages/Version/DetailContainer/DetailContainerContentReadme.tsx +0 -1
- package/src/pages/Version/DetailContainer/DetailContainerTabs.tsx +0 -1
- package/src/pages/Version/DetailContainer/NoItems/NoItems.tsx +0 -1
- package/src/pages/Version/DetailContainer/NoItems/Noitems.test.tsx +0 -1
- package/src/pages/Version/DetailContainer/NoItems/__snapshots__/Noitems.test.tsx.snap +10 -1
- package/src/pages/Version/DetailContainer/Readme/Readme.spec.tsx +1 -2
- package/src/pages/Version/DetailContainer/Readme/Readme.tsx +1 -2
- package/src/pages/Version/DetailContainer/UpLinks/UpLinks.test.tsx +1 -9
- package/src/pages/Version/DetailContainer/UpLinks/UpLinks.tsx +1 -3
- package/src/pages/Version/DetailContainer/UpLinks/__snapshots__/UpLinks.test.tsx.snap +184 -26
- package/src/pages/Version/DetailContainer/UpLinks/styles.ts +2 -3
- package/src/pages/Version/DetailContainer/Versions/Versions.test.tsx +3 -5
- package/src/pages/Version/DetailContainer/Versions/Versions.tsx +1 -2
- package/src/pages/Version/DetailContainer/Versions/VersionsHistoryList.tsx +2 -4
- package/src/pages/Version/DetailContainer/Versions/VersionsTagList.tsx +1 -3
- package/src/pages/Version/DetailContainer/Versions/styles.ts +2 -3
- package/src/pages/Version/DetailContainer/__snapshots__/DetailContainer.test.tsx.snap +168 -34
- package/src/pages/Version/DetailSidebar/DetailSidebar.tsx +0 -2
- package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.test.tsx +0 -2
- package/src/pages/Version/DetailSidebar/DetailSidebarFundButton.tsx +1 -2
- package/src/pages/Version/DetailSidebar/DetailSidebarTitle.tsx +0 -1
- package/src/pages/Version/DetailSidebar/Developers/Developers.test.tsx +3 -5
- package/src/pages/Version/DetailSidebar/Developers/Developers.tsx +3 -5
- package/src/pages/Version/DetailSidebar/Developers/DevelopersTitle.tsx +0 -1
- package/src/pages/Version/DetailSidebar/Developers/__snapshots__/Developers.test.tsx.snap +328 -40
- package/src/pages/Version/DetailSidebar/Developers/styles.ts +0 -1
- package/src/pages/Version/DetailSidebar/Dist/Dist.test.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Dist/Dist.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Dist/__snapshots__/Dist.test.tsx.snap +1436 -74
- package/src/pages/Version/DetailSidebar/Dist/styles.ts +2 -1
- package/src/pages/Version/DetailSidebar/Engines/Engines.test.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Engines/Engines.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Engines/styles.ts +0 -1
- package/src/pages/Version/DetailSidebar/Install/Install.test.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Install/Install.tsx +0 -2
- package/src/pages/Version/DetailSidebar/Install/InstallListItem.tsx +0 -1
- package/src/pages/Version/DetailSidebar/Repository/Repository.test.tsx +1 -3
- package/src/pages/Version/DetailSidebar/Repository/Repository.tsx +1 -3
- package/src/pages/Version/Version.test.tsx +3 -5
- package/src/pages/Version/Version.tsx +21 -6
- package/src/pages/Version/VersionContextProvider.tsx +14 -45
- package/src/pages/Version/VersionLayout.tsx +1 -1
- package/src/pages/Version/context.ts +1 -1
- package/src/pages/home/Home.tsx +9 -28
- package/src/pages/home/PackageList/Help/Help.test.tsx +0 -1
- package/src/pages/home/PackageList/Help/Help.tsx +0 -1
- package/src/pages/home/PackageList/Help/__snapshots__/Help.test.tsx.snap +298 -59
- package/src/pages/home/PackageList/Help/styles.ts +0 -1
- package/src/pages/home/PackageList/Package/Package.test.tsx +5 -4
- package/src/pages/home/PackageList/Package/Package.tsx +20 -28
- package/src/pages/home/PackageList/Package/Tag/Tag.test.tsx +0 -1
- package/src/pages/home/PackageList/Package/styles.ts +5 -6
- package/src/pages/home/PackageList/PackageList.tsx +17 -17
- package/src/pages/home/PackageList/Packagelist.test.tsx +6 -5
- package/src/providers/API/api.test.ts +1 -0
- package/src/providers/API/api.ts +7 -3
- package/src/providers/config/AppConfigurationProvider.tsx +3 -3
- package/src/store/index.ts +1 -0
- package/src/store/models/configuration.ts +41 -0
- package/src/store/models/download.ts +30 -0
- package/src/store/models/index.ts +18 -0
- package/src/store/models/login.ts +92 -0
- package/src/store/models/manifest.ts +91 -0
- package/src/store/models/packages.ts +36 -0
- package/src/store/models/search.ts +81 -0
- package/src/store/store.ts +15 -0
- package/src/utils/login.test.ts +3 -4
- package/src/utils/package.test.ts +2 -3
- package/src/utils/package.ts +2 -1
- package/src/utils/sec-utils.ts +1 -1
- package/src/utils/test-react-testing-library.tsx +22 -5
- package/src/utils/url.test.ts +1 -1
- package/src/utils/url.ts +1 -0
- package/static/Dependencies.15768a14646212b71166.js +2 -0
- package/static/Dependencies.15768a14646212b71166.js.LICENSE.txt +78 -0
- package/static/Dist.15768a14646212b71166.js +2 -0
- package/static/Dist.15768a14646212b71166.js.LICENSE.txt +60 -0
- package/static/Engines.15768a14646212b71166.js +2 -0
- package/static/Engines.15768a14646212b71166.js.LICENSE.txt +66 -0
- package/static/Home.15768a14646212b71166.js +2 -0
- package/static/Home.15768a14646212b71166.js.LICENSE.txt +222 -0
- package/static/Install.15768a14646212b71166.js +2 -0
- package/static/Install.15768a14646212b71166.js.LICENSE.txt +66 -0
- package/static/NotFound.15768a14646212b71166.js +2 -0
- package/static/NotFound.15768a14646212b71166.js.LICENSE.txt +40 -0
- package/static/Provider.15768a14646212b71166.js +2 -0
- package/static/Provider.15768a14646212b71166.js.LICENSE.txt +32 -0
- package/static/Repository.15768a14646212b71166.js +2 -0
- package/static/Repository.15768a14646212b71166.js.LICENSE.txt +50 -0
- package/static/UpLinks.15768a14646212b71166.js +2 -0
- package/static/UpLinks.15768a14646212b71166.js.LICENSE.txt +56 -0
- package/static/Version.15768a14646212b71166.js +2 -0
- package/static/Version.15768a14646212b71166.js.LICENSE.txt +380 -0
- package/static/Versions.15768a14646212b71166.js +2 -0
- package/static/Versions.15768a14646212b71166.js.LICENSE.txt +64 -0
- package/static/index.html +1 -1
- package/static/main.15768a14646212b71166.js +2 -0
- package/static/main.15768a14646212b71166.js.LICENSE.txt +972 -0
- package/static/manifest.json +17 -3
- package/static/runtime.15768a14646212b71166.js +2 -0
- package/static/{runtime.9525ddaaf85378590c63.js.LICENSE.txt → runtime.15768a14646212b71166.js.LICENSE.txt} +2 -2
- package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js +2 -0
- package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-123400.15768a14646212b71166.js.LICENSE.txt +148 -0
- package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js +2 -0
- package/static/vendors-node_modules_pnpm_mui_icons-material_5_0_5_d1eeebd4022867ee03864a00e16c7901_node_modu-d2b578.15768a14646212b71166.js.LICENSE.txt +218 -0
- package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js +2 -0
- package/static/vendors-node_modules_pnpm_mui_material_5_0_6_033766d34292bd5d464212fd95cb4b6d_node_modules_mu-1fb115.15768a14646212b71166.js.LICENSE.txt +316 -0
- package/static/vendors.15768a14646212b71166.js +103 -0
- package/static/vendors.15768a14646212b71166.js.LICENSE.txt +3158 -0
- package/tools/dev.server.js +0 -1
- package/tools/webpack.dev.config.babel.js +1 -3
- package/tools/webpack.prod.config.babel.js +1 -1
- package/tsconfig.json +1 -3
- package/types/index.ts +3 -20
- package/i18n/config.ts +0 -94
- package/src/App/AppContext.ts +0 -18
- package/src/App/AppContextProvider.tsx +0 -44
- package/src/App/Header/Search/SearchAdornment.tsx +0 -18
- package/src/components/Icons/Austria.tsx +0 -23
- package/src/components/Icons/Brazil.tsx +0 -44
- package/src/components/Icons/China.tsx +0 -33
- package/src/components/Icons/Czech.tsx +0 -21
- package/src/components/Icons/France.tsx +0 -27
- package/src/components/Icons/Germany.tsx +0 -27
- package/src/components/Icons/India.tsx +0 -44
- package/src/components/Icons/Japan.tsx +0 -23
- package/src/components/Icons/Khmer.tsx +0 -40
- package/src/components/Icons/Nicaragua.tsx +0 -66
- package/src/components/Icons/Russia.tsx +0 -27
- package/src/components/Icons/Spain.tsx +0 -43
- package/src/components/Icons/Taiwan.tsx +0 -25
- package/src/components/Icons/Turkey.tsx +0 -23
- package/src/components/Icons/Ukraine.tsx +0 -30
- package/src/components/Icons/Usa.tsx +0 -34
- package/src/design-tokens/emotion.ts +0 -5
- package/src/lib/constants.ts +0 -9
- package/src/pages/Version/DetailSidebar/ActionBar/ActionBar.test.tsx +0 -84
- package/src/pages/Version/DetailSidebar/ActionBar/__snapshots__/ActionBar.test.tsx.snap +0 -122
- package/src/pages/Version/is-package-version-valid.ts +0 -19
- package/src/providers/API/APIProvider.tsx +0 -109
- package/src/providers/API/index.ts +0 -1
- package/static/main.9525ddaaf85378590c63.js +0 -2
- package/static/main.9525ddaaf85378590c63.js.LICENSE.txt +0 -1588
- package/static/runtime.9525ddaaf85378590c63.js +0 -2
- package/static/vendors.9525ddaaf85378590c63.js +0 -2
- 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.
|
|
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":
|
|
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-
|
|
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
|
-
<
|
|
31
|
-
class="MuiCircularProgress-root emotion-2 emotion-3
|
|
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
|
-
</
|
|
97
|
+
</span>
|
|
49
98
|
</div>
|
|
50
99
|
</div>
|
|
51
100
|
</body>,
|
|
52
|
-
"container":
|
|
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-
|
|
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
|
-
<
|
|
76
|
-
class="MuiCircularProgress-root emotion-2 emotion-3
|
|
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
|
-
</
|
|
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
|
|
6
|
-
-
|
|
7
|
-
transform: translate(-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-
|
|
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
|
-
<
|
|
66
|
-
class="MuiCircularProgress-root emotion-8 emotion-9
|
|
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
|
-
</
|
|
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.
|
|
15
|
+
background: theme?.palette.mode === 'dark' ? theme?.palette.black : '#f7f8f6',
|
|
17
16
|
}));
|
|
@@ -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.
|
|
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;
|
package/src/components/Menu.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { default as MaterialUIMenuItem, MenuItemProps } from '@material
|
|
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.
|
|
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-
|
|
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
|
|
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-
|
|
151
|
+
class="emotion-1 emotion-2"
|
|
21
152
|
src="[object Object]"
|
|
22
153
|
/>
|
|
23
154
|
<h4
|
|
24
|
-
class="MuiTypography-root not-found-text emotion-
|
|
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="
|
|
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="
|
|
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>
|
package/src/components/Paper.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as MaterialUIPaper, PaperProps } from '@material
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import { default as MaterialUISvgIcon, SvgIconProps } from '@material
|
|
2
|
+
import { default as MaterialUISvgIcon, SvgIconProps } from '@mui/material/SvgIcon';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
type Size = 'sm' | 'md';
|
package/src/components/Tab.tsx
CHANGED
package/src/components/Tabs.tsx
CHANGED