@verdaccio/ui-theme 6.0.0-6-next.12 → 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 +6 -0
- package/jest/setup-env.ts +4 -1
- package/jest/unit/components/__mocks__/token.ts +0 -1
- package/jest/unit/components/store/login.ts +1 -0
- package/package.json +34 -37
- package/src/App/App.test.tsx +4 -6
- package/src/App/App.tsx +3 -5
- package/src/App/AppRoute.tsx +1 -1
- package/src/App/Footer/Footer.test.tsx +0 -1
- package/src/App/Footer/Footer.tsx +3 -3
- package/src/App/Footer/__snapshots__/Footer.test.tsx.snap +25 -9
- package/src/App/Footer/styles.ts +2 -3
- package/src/App/Header/Header.test.tsx +3 -5
- package/src/App/Header/Header.tsx +3 -5
- package/src/App/Header/HeaderGreetings.tsx +0 -1
- package/src/App/Header/HeaderLeft.tsx +0 -1
- package/src/App/Header/HeaderMenu.tsx +3 -3
- 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 +4 -5
- package/src/App/Header/LoginDialog/LoginDialog.test.tsx +4 -7
- package/src/App/Header/LoginDialog/LoginDialog.tsx +2 -4
- 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 -2
- 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 +32 -41
- package/src/App/Header/Search/Search.tsx +15 -58
- package/src/App/Header/Search/__snapshots__/Search.test.tsx.snap +392 -28
- package/src/App/Header/styles.ts +2 -3
- package/src/App/utils/loadable.tsx +2 -1
- package/src/components/ActionBar/ActionBar.test.tsx +5 -13
- package/src/components/ActionBar/ActionBar.tsx +0 -2
- package/src/components/ActionBar/ActionBarAction.tsx +6 -7
- 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 -3
- 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 +7 -9
- 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/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 +1 -2
- 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/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/__mocks__/loadTranslationFile.ts +5 -0
- package/src/i18n/config.ts +1 -15
- package/src/i18n/download_translations/es-ES/ui.json +17 -17
- package/src/i18n/download_translations/it-IT/ui.json +77 -77
- package/src/i18n/download_translations/tr-TR/ui.json +6 -6
- package/src/i18n/download_translations/vi-VN/ui.json +2 -2
- package/src/i18n/loadTranslationFile.ts +14 -0
- package/src/index.tsx +2 -1
- 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 -3
- 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 +2 -4
- 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 +1 -3
- package/src/pages/Version/Version.tsx +1 -3
- package/src/pages/Version/VersionContextProvider.tsx +0 -1
- package/src/pages/Version/VersionLayout.tsx +1 -1
- package/src/pages/Version/context.ts +1 -1
- package/src/pages/home/Home.tsx +0 -2
- 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 +295 -56
- package/src/pages/home/PackageList/Help/styles.ts +0 -1
- package/src/pages/home/PackageList/Package/Package.test.tsx +1 -3
- package/src/pages/home/PackageList/Package/Package.tsx +14 -19
- 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 +0 -1
- package/src/pages/home/PackageList/Packagelist.test.tsx +1 -3
- package/src/providers/API/api.ts +1 -1
- package/src/providers/config/AppConfigurationProvider.tsx +3 -3
- package/src/store/models/configuration.ts +2 -3
- package/src/store/models/download.ts +1 -2
- package/src/store/models/index.ts +1 -0
- package/src/store/models/login.ts +4 -2
- package/src/store/models/manifest.ts +2 -2
- package/src/store/models/packages.ts +2 -2
- package/src/store/models/search.ts +5 -5
- package/src/store/store.ts +2 -2
- package/src/utils/login.test.ts +2 -3
- 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 +11 -7
- 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.87dd0a7ff6e306a24166.js.LICENSE.txt → main.15768a14646212b71166.js.LICENSE.txt} +63 -663
- package/static/manifest.json +17 -3
- package/static/runtime.15768a14646212b71166.js +2 -0
- package/static/{runtime.87dd0a7ff6e306a24166.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.87dd0a7ff6e306a24166.js.LICENSE.txt → vendors.15768a14646212b71166.js.LICENSE.txt} +1261 -1035
- package/tools/dev.server.js +0 -1
- package/tools/webpack.dev.config.babel.js +1 -3
- package/tsconfig.json +0 -2
- package/types/index.ts +1 -0
- package/src/App/Header/Search/SearchAdornment.tsx +0 -18
- package/src/design-tokens/emotion.ts +0 -5
- package/src/lib/constants.ts +0 -9
- package/static/main.87dd0a7ff6e306a24166.js +0 -2
- package/static/runtime.87dd0a7ff6e306a24166.js +0 -2
- package/static/vendors.87dd0a7ff6e306a24166.js +0 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import React, { useContext } from 'react';
|
|
3
|
-
|
|
4
3
|
import ActionBar from 'verdaccio-ui/components/ActionBar';
|
|
5
4
|
import Author from 'verdaccio-ui/components/Author';
|
|
6
5
|
import Paper from 'verdaccio-ui/components/Paper';
|
|
@@ -8,7 +7,6 @@ import { Theme } from 'verdaccio-ui/design-tokens/theme';
|
|
|
8
7
|
|
|
9
8
|
import { DetailContext } from '..';
|
|
10
9
|
import loadable from '../../../App/utils/loadable';
|
|
11
|
-
|
|
12
10
|
import DetailSidebarFundButton from './DetailSidebarFundButton';
|
|
13
11
|
import DetailSidebarTitle from './DetailSidebarTitle';
|
|
14
12
|
import Developers from './Developers';
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import _ from 'lodash';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
4
3
|
import { render } from 'verdaccio-ui/utils/test-react-testing-library';
|
|
5
4
|
|
|
6
5
|
import { DetailContext } from '../context';
|
|
7
6
|
import { DetailContextProps } from '../version-config';
|
|
8
|
-
|
|
9
7
|
import DetailSidebarFundButton from './DetailSidebarFundButton';
|
|
10
8
|
|
|
11
9
|
const ComponentToBeRendered: React.FC<{ contextValue: DetailContextProps }> = ({
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import Favorite from '@
|
|
2
|
+
import Favorite from '@mui/icons-material/Favorite';
|
|
3
3
|
import React, { useContext } from 'react';
|
|
4
4
|
import { Trans } from 'react-i18next';
|
|
5
|
-
|
|
6
5
|
import Button from 'verdaccio-ui/components/Button';
|
|
7
6
|
import Link from 'verdaccio-ui/components/Link';
|
|
8
7
|
import { Theme } from 'verdaccio-ui/design-tokens/theme';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
|
|
5
4
|
import Box from 'verdaccio-ui/components/Box';
|
|
6
5
|
import Heading from 'verdaccio-ui/components/Heading';
|
|
7
6
|
import { Theme } from 'verdaccio-ui/design-tokens/theme';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { render, cleanup, fireEvent } from 'verdaccio-ui/utils/test-react-testing-library';
|
|
2
|
+
import { cleanup, fireEvent, render } from 'verdaccio-ui/utils/test-react-testing-library';
|
|
4
3
|
|
|
5
4
|
import { DetailContextProvider } from '../../context';
|
|
6
|
-
|
|
7
5
|
import Developers from './Developers';
|
|
8
6
|
import { DeveloperType } from './DevelopersTitle';
|
|
9
7
|
|
|
@@ -111,7 +109,7 @@ describe('test Developers', () => {
|
|
|
111
109
|
expect(wrapper.getByText('Contributors')).toBeInTheDocument();
|
|
112
110
|
fireEvent.click(wrapper.getByTestId('fab'));
|
|
113
111
|
|
|
114
|
-
expect(wrapper.
|
|
115
|
-
expect(wrapper.
|
|
112
|
+
expect(wrapper.getByLabelText(packageMeta.latest.contributors[0].name)).toBeInTheDocument();
|
|
113
|
+
expect(wrapper.getByLabelText(packageMeta.latest.contributors[1].name)).toBeInTheDocument();
|
|
116
114
|
});
|
|
117
115
|
});
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import React, {
|
|
2
|
+
import Add from '@mui/icons-material/Add';
|
|
3
|
+
import Avatar from '@mui/material/Avatar';
|
|
4
|
+
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
|
-
|
|
7
6
|
import Box from 'verdaccio-ui/components/Box';
|
|
8
7
|
import FloatingActionButton from 'verdaccio-ui/components/FloatingActionButton';
|
|
9
8
|
import Tooltip from 'verdaccio-ui/components/Tooltip';
|
|
10
9
|
import { Theme } from 'verdaccio-ui/design-tokens/theme';
|
|
11
10
|
|
|
12
11
|
import { DetailContext } from '../..';
|
|
13
|
-
|
|
14
12
|
import DevelopersTitle from './DevelopersTitle';
|
|
15
13
|
import getUniqueDeveloperValues from './get-unique-developer-values';
|
|
16
14
|
|
|
@@ -3,32 +3,102 @@
|
|
|
3
3
|
exports[`test Developers should render the component for contributors with items 1`] = `
|
|
4
4
|
Object {
|
|
5
5
|
"asFragment": [Function],
|
|
6
|
-
"baseElement": .emotion-
|
|
6
|
+
"baseElement": .emotion-1 {
|
|
7
|
+
margin: 0;
|
|
8
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
font-size: 1rem;
|
|
11
|
+
line-height: 1.75;
|
|
7
12
|
font-weight: 700;
|
|
8
13
|
margin-bottom: 10px;
|
|
9
14
|
}
|
|
10
15
|
|
|
11
|
-
.emotion-
|
|
16
|
+
.emotion-3 {
|
|
17
|
+
display: -webkit-box;
|
|
18
|
+
display: -webkit-flex;
|
|
19
|
+
display: -ms-flexbox;
|
|
20
|
+
display: flex;
|
|
21
|
+
-webkit-box-flex-wrap: wrap;
|
|
22
|
+
-webkit-flex-wrap: wrap;
|
|
23
|
+
-ms-flex-wrap: wrap;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
margin: 10px 0 10px 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.emotion-3>* {
|
|
12
29
|
margin: 5px;
|
|
13
30
|
}
|
|
14
31
|
|
|
32
|
+
.emotion-4 {
|
|
33
|
+
position: relative;
|
|
34
|
+
display: -webkit-box;
|
|
35
|
+
display: -webkit-flex;
|
|
36
|
+
display: -ms-flexbox;
|
|
37
|
+
display: flex;
|
|
38
|
+
-webkit-align-items: center;
|
|
39
|
+
-webkit-box-align: center;
|
|
40
|
+
-ms-flex-align: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
-webkit-box-pack: center;
|
|
43
|
+
-ms-flex-pack: center;
|
|
44
|
+
-webkit-justify-content: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
-webkit-flex-shrink: 0;
|
|
47
|
+
-ms-flex-negative: 0;
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
width: 40px;
|
|
50
|
+
height: 40px;
|
|
51
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
52
|
+
font-size: 1.25rem;
|
|
53
|
+
line-height: 1;
|
|
54
|
+
border-radius: 50%;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
-webkit-user-select: none;
|
|
57
|
+
-moz-user-select: none;
|
|
58
|
+
-ms-user-select: none;
|
|
59
|
+
user-select: none;
|
|
60
|
+
color: #fff;
|
|
61
|
+
background-color: #bdbdbd;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.emotion-5 {
|
|
65
|
+
-webkit-user-select: none;
|
|
66
|
+
-moz-user-select: none;
|
|
67
|
+
-ms-user-select: none;
|
|
68
|
+
user-select: none;
|
|
69
|
+
width: 1em;
|
|
70
|
+
height: 1em;
|
|
71
|
+
display: inline-block;
|
|
72
|
+
fill: currentColor;
|
|
73
|
+
-webkit-flex-shrink: 0;
|
|
74
|
+
-ms-flex-negative: 0;
|
|
75
|
+
flex-shrink: 0;
|
|
76
|
+
-webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
77
|
+
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
78
|
+
font-size: 1.5rem;
|
|
79
|
+
width: 75%;
|
|
80
|
+
height: 75%;
|
|
81
|
+
}
|
|
82
|
+
|
|
15
83
|
<body>
|
|
16
84
|
<div>
|
|
17
85
|
<span
|
|
18
|
-
class="MuiTypography-root emotion-0 emotion-1
|
|
86
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
19
87
|
>
|
|
20
88
|
Contributors
|
|
21
89
|
</span>
|
|
22
90
|
<div
|
|
23
|
-
class="
|
|
91
|
+
class="emotion-2 MuiBox-root emotion-3"
|
|
24
92
|
>
|
|
25
93
|
<div
|
|
26
|
-
|
|
27
|
-
|
|
94
|
+
aria-label="dmethvin"
|
|
95
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
96
|
+
data-mui-internal-clone-element="true"
|
|
28
97
|
>
|
|
29
98
|
<svg
|
|
30
99
|
aria-hidden="true"
|
|
31
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
100
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
101
|
+
data-testid="PersonIcon"
|
|
32
102
|
focusable="false"
|
|
33
103
|
viewBox="0 0 24 24"
|
|
34
104
|
>
|
|
@@ -38,12 +108,14 @@ Object {
|
|
|
38
108
|
</svg>
|
|
39
109
|
</div>
|
|
40
110
|
<div
|
|
41
|
-
|
|
42
|
-
|
|
111
|
+
aria-label="mgol"
|
|
112
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
113
|
+
data-mui-internal-clone-element="true"
|
|
43
114
|
>
|
|
44
115
|
<svg
|
|
45
116
|
aria-hidden="true"
|
|
46
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
117
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
118
|
+
data-testid="PersonIcon"
|
|
47
119
|
focusable="false"
|
|
48
120
|
viewBox="0 0 24 24"
|
|
49
121
|
>
|
|
@@ -55,31 +127,101 @@ Object {
|
|
|
55
127
|
</div>
|
|
56
128
|
</div>
|
|
57
129
|
</body>,
|
|
58
|
-
"container": .emotion-
|
|
130
|
+
"container": .emotion-1 {
|
|
131
|
+
margin: 0;
|
|
132
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
133
|
+
font-weight: 400;
|
|
134
|
+
font-size: 1rem;
|
|
135
|
+
line-height: 1.75;
|
|
59
136
|
font-weight: 700;
|
|
60
137
|
margin-bottom: 10px;
|
|
61
138
|
}
|
|
62
139
|
|
|
63
|
-
.emotion-
|
|
140
|
+
.emotion-3 {
|
|
141
|
+
display: -webkit-box;
|
|
142
|
+
display: -webkit-flex;
|
|
143
|
+
display: -ms-flexbox;
|
|
144
|
+
display: flex;
|
|
145
|
+
-webkit-box-flex-wrap: wrap;
|
|
146
|
+
-webkit-flex-wrap: wrap;
|
|
147
|
+
-ms-flex-wrap: wrap;
|
|
148
|
+
flex-wrap: wrap;
|
|
149
|
+
margin: 10px 0 10px 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.emotion-3>* {
|
|
64
153
|
margin: 5px;
|
|
65
154
|
}
|
|
66
155
|
|
|
156
|
+
.emotion-4 {
|
|
157
|
+
position: relative;
|
|
158
|
+
display: -webkit-box;
|
|
159
|
+
display: -webkit-flex;
|
|
160
|
+
display: -ms-flexbox;
|
|
161
|
+
display: flex;
|
|
162
|
+
-webkit-align-items: center;
|
|
163
|
+
-webkit-box-align: center;
|
|
164
|
+
-ms-flex-align: center;
|
|
165
|
+
align-items: center;
|
|
166
|
+
-webkit-box-pack: center;
|
|
167
|
+
-ms-flex-pack: center;
|
|
168
|
+
-webkit-justify-content: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
-webkit-flex-shrink: 0;
|
|
171
|
+
-ms-flex-negative: 0;
|
|
172
|
+
flex-shrink: 0;
|
|
173
|
+
width: 40px;
|
|
174
|
+
height: 40px;
|
|
175
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
176
|
+
font-size: 1.25rem;
|
|
177
|
+
line-height: 1;
|
|
178
|
+
border-radius: 50%;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
-webkit-user-select: none;
|
|
181
|
+
-moz-user-select: none;
|
|
182
|
+
-ms-user-select: none;
|
|
183
|
+
user-select: none;
|
|
184
|
+
color: #fff;
|
|
185
|
+
background-color: #bdbdbd;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.emotion-5 {
|
|
189
|
+
-webkit-user-select: none;
|
|
190
|
+
-moz-user-select: none;
|
|
191
|
+
-ms-user-select: none;
|
|
192
|
+
user-select: none;
|
|
193
|
+
width: 1em;
|
|
194
|
+
height: 1em;
|
|
195
|
+
display: inline-block;
|
|
196
|
+
fill: currentColor;
|
|
197
|
+
-webkit-flex-shrink: 0;
|
|
198
|
+
-ms-flex-negative: 0;
|
|
199
|
+
flex-shrink: 0;
|
|
200
|
+
-webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
201
|
+
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
202
|
+
font-size: 1.5rem;
|
|
203
|
+
width: 75%;
|
|
204
|
+
height: 75%;
|
|
205
|
+
}
|
|
206
|
+
|
|
67
207
|
<div>
|
|
68
208
|
<span
|
|
69
|
-
class="MuiTypography-root emotion-0 emotion-1
|
|
209
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
70
210
|
>
|
|
71
211
|
Contributors
|
|
72
212
|
</span>
|
|
73
213
|
<div
|
|
74
|
-
class="
|
|
214
|
+
class="emotion-2 MuiBox-root emotion-3"
|
|
75
215
|
>
|
|
76
216
|
<div
|
|
77
|
-
|
|
78
|
-
|
|
217
|
+
aria-label="dmethvin"
|
|
218
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
219
|
+
data-mui-internal-clone-element="true"
|
|
79
220
|
>
|
|
80
221
|
<svg
|
|
81
222
|
aria-hidden="true"
|
|
82
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
223
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
224
|
+
data-testid="PersonIcon"
|
|
83
225
|
focusable="false"
|
|
84
226
|
viewBox="0 0 24 24"
|
|
85
227
|
>
|
|
@@ -89,12 +231,14 @@ Object {
|
|
|
89
231
|
</svg>
|
|
90
232
|
</div>
|
|
91
233
|
<div
|
|
92
|
-
|
|
93
|
-
|
|
234
|
+
aria-label="mgol"
|
|
235
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
236
|
+
data-mui-internal-clone-element="true"
|
|
94
237
|
>
|
|
95
238
|
<svg
|
|
96
239
|
aria-hidden="true"
|
|
97
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
240
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
241
|
+
data-testid="PersonIcon"
|
|
98
242
|
focusable="false"
|
|
99
243
|
viewBox="0 0 24 24"
|
|
100
244
|
>
|
|
@@ -162,32 +306,102 @@ Object {
|
|
|
162
306
|
exports[`test Developers should render the component for maintainers with items 1`] = `
|
|
163
307
|
Object {
|
|
164
308
|
"asFragment": [Function],
|
|
165
|
-
"baseElement": .emotion-
|
|
309
|
+
"baseElement": .emotion-1 {
|
|
310
|
+
margin: 0;
|
|
311
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
312
|
+
font-weight: 400;
|
|
313
|
+
font-size: 1rem;
|
|
314
|
+
line-height: 1.75;
|
|
166
315
|
font-weight: 700;
|
|
167
316
|
margin-bottom: 10px;
|
|
168
317
|
}
|
|
169
318
|
|
|
170
|
-
.emotion-
|
|
319
|
+
.emotion-3 {
|
|
320
|
+
display: -webkit-box;
|
|
321
|
+
display: -webkit-flex;
|
|
322
|
+
display: -ms-flexbox;
|
|
323
|
+
display: flex;
|
|
324
|
+
-webkit-box-flex-wrap: wrap;
|
|
325
|
+
-webkit-flex-wrap: wrap;
|
|
326
|
+
-ms-flex-wrap: wrap;
|
|
327
|
+
flex-wrap: wrap;
|
|
328
|
+
margin: 10px 0 10px 0;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.emotion-3>* {
|
|
171
332
|
margin: 5px;
|
|
172
333
|
}
|
|
173
334
|
|
|
335
|
+
.emotion-4 {
|
|
336
|
+
position: relative;
|
|
337
|
+
display: -webkit-box;
|
|
338
|
+
display: -webkit-flex;
|
|
339
|
+
display: -ms-flexbox;
|
|
340
|
+
display: flex;
|
|
341
|
+
-webkit-align-items: center;
|
|
342
|
+
-webkit-box-align: center;
|
|
343
|
+
-ms-flex-align: center;
|
|
344
|
+
align-items: center;
|
|
345
|
+
-webkit-box-pack: center;
|
|
346
|
+
-ms-flex-pack: center;
|
|
347
|
+
-webkit-justify-content: center;
|
|
348
|
+
justify-content: center;
|
|
349
|
+
-webkit-flex-shrink: 0;
|
|
350
|
+
-ms-flex-negative: 0;
|
|
351
|
+
flex-shrink: 0;
|
|
352
|
+
width: 40px;
|
|
353
|
+
height: 40px;
|
|
354
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
355
|
+
font-size: 1.25rem;
|
|
356
|
+
line-height: 1;
|
|
357
|
+
border-radius: 50%;
|
|
358
|
+
overflow: hidden;
|
|
359
|
+
-webkit-user-select: none;
|
|
360
|
+
-moz-user-select: none;
|
|
361
|
+
-ms-user-select: none;
|
|
362
|
+
user-select: none;
|
|
363
|
+
color: #fff;
|
|
364
|
+
background-color: #bdbdbd;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.emotion-5 {
|
|
368
|
+
-webkit-user-select: none;
|
|
369
|
+
-moz-user-select: none;
|
|
370
|
+
-ms-user-select: none;
|
|
371
|
+
user-select: none;
|
|
372
|
+
width: 1em;
|
|
373
|
+
height: 1em;
|
|
374
|
+
display: inline-block;
|
|
375
|
+
fill: currentColor;
|
|
376
|
+
-webkit-flex-shrink: 0;
|
|
377
|
+
-ms-flex-negative: 0;
|
|
378
|
+
flex-shrink: 0;
|
|
379
|
+
-webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
380
|
+
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
381
|
+
font-size: 1.5rem;
|
|
382
|
+
width: 75%;
|
|
383
|
+
height: 75%;
|
|
384
|
+
}
|
|
385
|
+
|
|
174
386
|
<body>
|
|
175
387
|
<div>
|
|
176
388
|
<span
|
|
177
|
-
class="MuiTypography-root emotion-0 emotion-1
|
|
389
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
178
390
|
>
|
|
179
391
|
Maintainers
|
|
180
392
|
</span>
|
|
181
393
|
<div
|
|
182
|
-
class="
|
|
394
|
+
class="emotion-2 MuiBox-root emotion-3"
|
|
183
395
|
>
|
|
184
396
|
<div
|
|
185
|
-
|
|
186
|
-
|
|
397
|
+
aria-label="dmethvin"
|
|
398
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
399
|
+
data-mui-internal-clone-element="true"
|
|
187
400
|
>
|
|
188
401
|
<svg
|
|
189
402
|
aria-hidden="true"
|
|
190
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
403
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
404
|
+
data-testid="PersonIcon"
|
|
191
405
|
focusable="false"
|
|
192
406
|
viewBox="0 0 24 24"
|
|
193
407
|
>
|
|
@@ -197,12 +411,14 @@ Object {
|
|
|
197
411
|
</svg>
|
|
198
412
|
</div>
|
|
199
413
|
<div
|
|
200
|
-
|
|
201
|
-
|
|
414
|
+
aria-label="mgol"
|
|
415
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
416
|
+
data-mui-internal-clone-element="true"
|
|
202
417
|
>
|
|
203
418
|
<svg
|
|
204
419
|
aria-hidden="true"
|
|
205
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
420
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
421
|
+
data-testid="PersonIcon"
|
|
206
422
|
focusable="false"
|
|
207
423
|
viewBox="0 0 24 24"
|
|
208
424
|
>
|
|
@@ -214,31 +430,101 @@ Object {
|
|
|
214
430
|
</div>
|
|
215
431
|
</div>
|
|
216
432
|
</body>,
|
|
217
|
-
"container": .emotion-
|
|
433
|
+
"container": .emotion-1 {
|
|
434
|
+
margin: 0;
|
|
435
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
436
|
+
font-weight: 400;
|
|
437
|
+
font-size: 1rem;
|
|
438
|
+
line-height: 1.75;
|
|
218
439
|
font-weight: 700;
|
|
219
440
|
margin-bottom: 10px;
|
|
220
441
|
}
|
|
221
442
|
|
|
222
|
-
.emotion-
|
|
443
|
+
.emotion-3 {
|
|
444
|
+
display: -webkit-box;
|
|
445
|
+
display: -webkit-flex;
|
|
446
|
+
display: -ms-flexbox;
|
|
447
|
+
display: flex;
|
|
448
|
+
-webkit-box-flex-wrap: wrap;
|
|
449
|
+
-webkit-flex-wrap: wrap;
|
|
450
|
+
-ms-flex-wrap: wrap;
|
|
451
|
+
flex-wrap: wrap;
|
|
452
|
+
margin: 10px 0 10px 0;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.emotion-3>* {
|
|
223
456
|
margin: 5px;
|
|
224
457
|
}
|
|
225
458
|
|
|
459
|
+
.emotion-4 {
|
|
460
|
+
position: relative;
|
|
461
|
+
display: -webkit-box;
|
|
462
|
+
display: -webkit-flex;
|
|
463
|
+
display: -ms-flexbox;
|
|
464
|
+
display: flex;
|
|
465
|
+
-webkit-align-items: center;
|
|
466
|
+
-webkit-box-align: center;
|
|
467
|
+
-ms-flex-align: center;
|
|
468
|
+
align-items: center;
|
|
469
|
+
-webkit-box-pack: center;
|
|
470
|
+
-ms-flex-pack: center;
|
|
471
|
+
-webkit-justify-content: center;
|
|
472
|
+
justify-content: center;
|
|
473
|
+
-webkit-flex-shrink: 0;
|
|
474
|
+
-ms-flex-negative: 0;
|
|
475
|
+
flex-shrink: 0;
|
|
476
|
+
width: 40px;
|
|
477
|
+
height: 40px;
|
|
478
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
479
|
+
font-size: 1.25rem;
|
|
480
|
+
line-height: 1;
|
|
481
|
+
border-radius: 50%;
|
|
482
|
+
overflow: hidden;
|
|
483
|
+
-webkit-user-select: none;
|
|
484
|
+
-moz-user-select: none;
|
|
485
|
+
-ms-user-select: none;
|
|
486
|
+
user-select: none;
|
|
487
|
+
color: #fff;
|
|
488
|
+
background-color: #bdbdbd;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.emotion-5 {
|
|
492
|
+
-webkit-user-select: none;
|
|
493
|
+
-moz-user-select: none;
|
|
494
|
+
-ms-user-select: none;
|
|
495
|
+
user-select: none;
|
|
496
|
+
width: 1em;
|
|
497
|
+
height: 1em;
|
|
498
|
+
display: inline-block;
|
|
499
|
+
fill: currentColor;
|
|
500
|
+
-webkit-flex-shrink: 0;
|
|
501
|
+
-ms-flex-negative: 0;
|
|
502
|
+
flex-shrink: 0;
|
|
503
|
+
-webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
504
|
+
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
505
|
+
font-size: 1.5rem;
|
|
506
|
+
width: 75%;
|
|
507
|
+
height: 75%;
|
|
508
|
+
}
|
|
509
|
+
|
|
226
510
|
<div>
|
|
227
511
|
<span
|
|
228
|
-
class="MuiTypography-root emotion-0 emotion-1
|
|
512
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
229
513
|
>
|
|
230
514
|
Maintainers
|
|
231
515
|
</span>
|
|
232
516
|
<div
|
|
233
|
-
class="
|
|
517
|
+
class="emotion-2 MuiBox-root emotion-3"
|
|
234
518
|
>
|
|
235
519
|
<div
|
|
236
|
-
|
|
237
|
-
|
|
520
|
+
aria-label="dmethvin"
|
|
521
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
522
|
+
data-mui-internal-clone-element="true"
|
|
238
523
|
>
|
|
239
524
|
<svg
|
|
240
525
|
aria-hidden="true"
|
|
241
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
526
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
527
|
+
data-testid="PersonIcon"
|
|
242
528
|
focusable="false"
|
|
243
529
|
viewBox="0 0 24 24"
|
|
244
530
|
>
|
|
@@ -248,12 +534,14 @@ Object {
|
|
|
248
534
|
</svg>
|
|
249
535
|
</div>
|
|
250
536
|
<div
|
|
251
|
-
|
|
252
|
-
|
|
537
|
+
aria-label="mgol"
|
|
538
|
+
class="MuiAvatar-root MuiAvatar-circular MuiAvatar-colorDefault emotion-4"
|
|
539
|
+
data-mui-internal-clone-element="true"
|
|
253
540
|
>
|
|
254
541
|
<svg
|
|
255
542
|
aria-hidden="true"
|
|
256
|
-
class="MuiSvgIcon-root MuiAvatar-fallback"
|
|
543
|
+
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiAvatar-fallback emotion-5"
|
|
544
|
+
data-testid="PersonIcon"
|
|
257
545
|
focusable="false"
|
|
258
546
|
viewBox="0 0 24 24"
|
|
259
547
|
>
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
import { render, cleanup } from 'verdaccio-ui/utils/test-react-testing-library';
|
|
2
|
+
import { cleanup, render } from 'verdaccio-ui/utils/test-react-testing-library';
|
|
4
3
|
|
|
5
4
|
import { DetailContext } from '../../context';
|
|
6
|
-
|
|
7
5
|
import Dist from './Dist';
|
|
8
6
|
|
|
9
7
|
const withDistComponent = (
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import React, { FC, useContext } from 'react';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
|
-
|
|
4
3
|
import List from 'verdaccio-ui/components/List';
|
|
5
4
|
import fileSizeSI from 'verdaccio-ui/utils/file-size';
|
|
6
5
|
import { formatLicense } from 'verdaccio-ui/utils/package';
|
|
7
6
|
|
|
8
7
|
import { DetailContext } from '../../context';
|
|
9
|
-
|
|
10
|
-
import { StyledText, DistListItem, DistChips } from './styles';
|
|
8
|
+
import { DistChips, DistListItem, StyledText } from './styles';
|
|
11
9
|
|
|
12
10
|
const DistChip: FC<{ name: string }> = ({ name, children }) =>
|
|
13
11
|
children ? (
|