@verdaccio/ui-components 2.0.0-6-next.6 → 2.0.0-6-next.7
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/CHANGELOG.md +8 -0
- package/build/sections/Footer/Footer.js +7 -5
- package/package.json +2 -2
- package/src/components/LoginDialog/LoginDialog.test.tsx +1 -1
- package/src/components/Search/Search.test.tsx +1 -1
- package/src/sections/Footer/Footer.test.tsx +5 -4
- package/src/sections/Footer/Footer.tsx +1 -1
- package/build/Theme/ResetStyles.js.map +0 -1
- package/build/Theme/StyleBaseline.js.map +0 -1
- package/build/Theme/ThemeProvider.js.map +0 -1
- package/build/Theme/colors.js.map +0 -1
- package/build/Theme/index.js.map +0 -1
- package/build/Theme/theme.js.map +0 -1
- package/build/__mocks__/react-markdown.js.map +0 -1
- package/build/__mocks__/remark-plugin.js.map +0 -1
- package/build/components/ActionBar/ActionBar.js.map +0 -1
- package/build/components/ActionBar/ActionBarAction.js.map +0 -1
- package/build/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +0 -263
- package/build/components/ActionBar/index.js.map +0 -1
- package/build/components/Author/Author.js.map +0 -1
- package/build/components/Author/__snapshots__/Author.test.tsx.snap +0 -753
- package/build/components/Author/index.js.map +0 -1
- package/build/components/Author/styles.js.map +0 -1
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +0 -1
- package/build/components/CopyClipboard/index.js.map +0 -1
- package/build/components/CopyClipboard/utils.js.map +0 -1
- package/build/components/Dependencies/Dependencies.js.map +0 -1
- package/build/components/Dependencies/index.js.map +0 -1
- package/build/components/Dependencies/styles.js.map +0 -1
- package/build/components/Dependencies/types.js.map +0 -1
- package/build/components/Deprecated/Deprecated.js.map +0 -1
- package/build/components/Deprecated/index.js.map +0 -1
- package/build/components/Developers/Developers.js.map +0 -1
- package/build/components/Developers/Title.js.map +0 -1
- package/build/components/Developers/__snapshots__/Developers.test.tsx.snap +0 -668
- package/build/components/Developers/get-unique-developer-values.js.map +0 -1
- package/build/components/Developers/index.js.map +0 -1
- package/build/components/Developers/styles.js.map +0 -1
- package/build/components/Distribution/Dist.js.map +0 -1
- package/build/components/Distribution/__snapshots__/Dist.test.tsx.snap +0 -1436
- package/build/components/Distribution/index.js.map +0 -1
- package/build/components/Distribution/styles.js.map +0 -1
- package/build/components/Distribution/utils.js.map +0 -1
- package/build/components/Engines/Engines.js.map +0 -1
- package/build/components/Engines/index.js.map +0 -1
- package/build/components/Engines/styles.js.map +0 -1
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +0 -1
- package/build/components/ErrorBoundary/index.js.map +0 -1
- package/build/components/FundButton/FundButton.js.map +0 -1
- package/build/components/FundButton/index.js.map +0 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +0 -1
- package/build/components/HeaderInfoDialog/index.js.map +0 -1
- package/build/components/Heading/Heading.js.map +0 -1
- package/build/components/Heading/index.js.map +0 -1
- package/build/components/Help/Help.js.map +0 -1
- package/build/components/Help/__snapshots__/Help.test.tsx.snap +0 -395
- package/build/components/Help/index.js.map +0 -1
- package/build/components/Help/styles.js.map +0 -1
- package/build/components/Icons/DevsIcons/CommonJS.js.map +0 -1
- package/build/components/Icons/DevsIcons/ES6Module.js.map +0 -1
- package/build/components/Icons/DevsIcons/Git.js.map +0 -1
- package/build/components/Icons/DevsIcons/NodeJS.js.map +0 -1
- package/build/components/Icons/DevsIcons/TypeScript.js.map +0 -1
- package/build/components/Icons/DevsIcons/index.js.map +0 -1
- package/build/components/Icons/Earth.js.map +0 -1
- package/build/components/Icons/FileBinary.js.map +0 -1
- package/build/components/Icons/Law.js.map +0 -1
- package/build/components/Icons/Managers/Npm.js.map +0 -1
- package/build/components/Icons/Managers/Pnpm.js.map +0 -1
- package/build/components/Icons/Managers/Yarn.js.map +0 -1
- package/build/components/Icons/Managers/index.js.map +0 -1
- package/build/components/Icons/SvgIcon.js.map +0 -1
- package/build/components/Icons/Time.js.map +0 -1
- package/build/components/Icons/Version.js.map +0 -1
- package/build/components/Icons/index.js.map +0 -1
- package/build/components/Install/Install.js.map +0 -1
- package/build/components/Install/InstallListItem.js.map +0 -1
- package/build/components/Install/index.js.map +0 -1
- package/build/components/Label/Label.js.map +0 -1
- package/build/components/Label/__snapshots__/Label.test.tsx.snap +0 -14
- package/build/components/Label/index.js.map +0 -1
- package/build/components/Link/Link.js.map +0 -1
- package/build/components/Link/index.js.map +0 -1
- package/build/components/Loading/Loading.js.map +0 -1
- package/build/components/Loading/Spinner/Spinner.js.map +0 -1
- package/build/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +0 -246
- package/build/components/Loading/Spinner/index.js.map +0 -1
- package/build/components/Loading/__snapshots__/Loading.test.tsx.snap +0 -138
- package/build/components/Loading/index.js.map +0 -1
- package/build/components/Loading/styles.js.map +0 -1
- package/build/components/LoginDialog/LoginDialog.js.map +0 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +0 -1
- package/build/components/LoginDialog/LoginDialogForm.js.map +0 -1
- package/build/components/LoginDialog/LoginDialogFormError.js.map +0 -1
- package/build/components/LoginDialog/LoginDialogHeader.js.map +0 -1
- package/build/components/LoginDialog/__snapshots__/LoginDialog.test.tsx.snap +0 -3
- package/build/components/LoginDialog/index.js.map +0 -1
- package/build/components/Logo/Logo.js.map +0 -1
- package/build/components/Logo/__snapshots__/Logo.test.tsx.snap +0 -21
- package/build/components/Logo/index.js.map +0 -1
- package/build/components/MenuItem/MenuItem.js.map +0 -1
- package/build/components/MenuItem/index.js.map +0 -1
- package/build/components/NoItems/NoItems.js.map +0 -1
- package/build/components/NoItems/__snapshots__/Noitems.test.tsx.snap +0 -18
- package/build/components/NoItems/index.js.map +0 -1
- package/build/components/NotFound/NotFound.js.map +0 -1
- package/build/components/NotFound/__snapshots__/Notfound.test.tsx.snap +0 -171
- package/build/components/NotFound/index.js.map +0 -1
- package/build/components/Package/Package.js.map +0 -1
- package/build/components/Package/Tag/Tag.js.map +0 -1
- package/build/components/Package/Tag/__snapshots__/Tag.test.tsx.snap +0 -21
- package/build/components/Package/Tag/index.js.map +0 -1
- package/build/components/Package/Tag/styles.js.map +0 -1
- package/build/components/Package/index.js.map +0 -1
- package/build/components/Package/styles.js.map +0 -1
- package/build/components/PackageList/PackageList.js.map +0 -1
- package/build/components/PackageList/index.js.map +0 -1
- package/build/components/RawViewer/RawViewer.js.map +0 -1
- package/build/components/RawViewer/index.js.map +0 -1
- package/build/components/Readme/__snapshots__/Readme.spec.tsx.snap +0 -110
- package/build/components/Readme/index.js.map +0 -1
- package/build/components/Readme/types.js.map +0 -1
- package/build/components/Readme/utils.js.map +0 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +0 -1
- package/build/components/RegistryInfoDialog/index.js.map +0 -1
- package/build/components/RegistryInfoDialog/styles.js.map +0 -1
- package/build/components/RegistryInfoDialog/types.js.map +0 -1
- package/build/components/Repository/Repository.js.map +0 -1
- package/build/components/Repository/__snapshots__/Repository.test.tsx.snap +0 -3
- package/build/components/Repository/index.js.map +0 -1
- package/build/components/Search/AutoComplete/AutoComplete.js.map +0 -1
- package/build/components/Search/AutoComplete/index.js.map +0 -1
- package/build/components/Search/AutoComplete/styles.js.map +0 -1
- package/build/components/Search/Search.js.map +0 -1
- package/build/components/Search/SearchItem.js.map +0 -1
- package/build/components/Search/__snapshots__/Search.test.tsx.snap +0 -473
- package/build/components/Search/index.js.map +0 -1
- package/build/components/Search/styles.js.map +0 -1
- package/build/components/SideBarTittle/SideBarTittle.js.map +0 -1
- package/build/components/SideBarTittle/index.js.map +0 -1
- package/build/components/SideBarTittle/utils.js.map +0 -1
- package/build/components/TextField/TextField.js.map +0 -1
- package/build/components/TextField/__snapshots__/TextField.test.tsx.snap +0 -236
- package/build/components/TextField/index.js.map +0 -1
- package/build/components/UpLinks/UpLinks.js.map +0 -1
- package/build/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap +0 -407
- package/build/components/UpLinks/index.js.map +0 -1
- package/build/components/UpLinks/styles.js.map +0 -1
- package/build/components/Versions/HistoryList.js.map +0 -1
- package/build/components/Versions/TagList.js.map +0 -1
- package/build/components/Versions/Versions.js.map +0 -1
- package/build/components/Versions/index.js.map +0 -1
- package/build/components/Versions/styles.js.map +0 -1
- package/build/components/Versions/types.js.map +0 -1
- package/build/hooks/index.js.map +0 -1
- package/build/hooks/useLocalStorage.js.map +0 -1
- package/build/hooks/useOnClickOutside.js.map +0 -1
- package/build/index.js.map +0 -1
- package/build/layouts/Version/Version.js.map +0 -1
- package/build/layouts/Version/index.js.map +0 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +0 -1
- package/build/providers/AppConfigurationProvider/index.js.map +0 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +0 -1
- package/build/providers/TranslatorProvider/index.js.map +0 -1
- package/build/providers/VersionProvider/VersionProvider.js.map +0 -1
- package/build/providers/VersionProvider/index.js.map +0 -1
- package/build/providers/index.js.map +0 -1
- package/build/sections/Detail/ContainerContent.js.map +0 -1
- package/build/sections/Detail/Detail.js.map +0 -1
- package/build/sections/Detail/ReadmeSection.js.map +0 -1
- package/build/sections/Detail/Tabs.js.map +0 -1
- package/build/sections/Detail/__snapshots__/Detail.test.tsx.snap +0 -237
- package/build/sections/Detail/index.js.map +0 -1
- package/build/sections/Footer/Footer.js.map +0 -1
- package/build/sections/Footer/__snapshots__/Footer.test.tsx.snap +0 -486
- package/build/sections/Footer/index.js.map +0 -1
- package/build/sections/Footer/styles.js.map +0 -1
- package/build/sections/Header/Header.js.map +0 -1
- package/build/sections/Header/HeaderGreetings.js.map +0 -1
- package/build/sections/Header/HeaderLeft.js.map +0 -1
- package/build/sections/Header/HeaderMenu.js.map +0 -1
- package/build/sections/Header/HeaderRight.js.map +0 -1
- package/build/sections/Header/HeaderSettingsDialog.js.map +0 -1
- package/build/sections/Header/HeaderToolTip.js.map +0 -1
- package/build/sections/Header/HeaderToolTipIcon.js.map +0 -1
- package/build/sections/Header/LanguageSwitch.js.map +0 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +0 -1
- package/build/sections/Header/RegistryInfoContent/index.js.map +0 -1
- package/build/sections/Header/RegistryInfoContent/styles.js.map +0 -1
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js.map +0 -1
- package/build/sections/Header/RegistryInfoDialog/index.js.map +0 -1
- package/build/sections/Header/RegistryInfoDialog/styles.js.map +0 -1
- package/build/sections/Header/RegistryInfoDialog/types.js.map +0 -1
- package/build/sections/Header/index.js.map +0 -1
- package/build/sections/Header/styles.js.map +0 -1
- package/build/sections/Home/Home.js.map +0 -1
- package/build/sections/Home/index.js.map +0 -1
- package/build/sections/SideBar/Sidebar.js.map +0 -1
- package/build/sections/SideBar/index.js.map +0 -1
- package/build/sections/index.js.map +0 -1
- package/build/store/api.js.map +0 -1
- package/build/store/index.js.map +0 -1
- package/build/store/models/configuration.js.map +0 -1
- package/build/store/models/download.js.map +0 -1
- package/build/store/models/index.js.map +0 -1
- package/build/store/models/login.js.map +0 -1
- package/build/store/models/manifest.js.map +0 -1
- package/build/store/models/packages.js.map +0 -1
- package/build/store/models/search.js.map +0 -1
- package/build/store/storage.js.map +0 -1
- package/build/store/store.js.map +0 -1
- package/build/test/i18n-config.js.map +0 -1
- package/build/test/test-react-testing-library.js.map +0 -1
- package/build/types/index.js.map +0 -1
- package/build/types/packageMeta.js.map +0 -1
- package/build/utils/__partials__/packageMeta.js.map +0 -1
- package/build/utils/cli-utils.js.map +0 -1
- package/build/utils/index.js.map +0 -1
- package/build/utils/loadable.js.map +0 -1
- package/build/utils/routes.js.map +0 -1
- package/build/utils/url.js.map +0 -1
- package/build/utils/utils.js.map +0 -1
- package/src/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +0 -263
- package/src/components/Author/__snapshots__/Author.test.tsx.snap +0 -753
- package/src/components/Developers/__snapshots__/Developers.test.tsx.snap +0 -668
- package/src/components/Distribution/__snapshots__/Dist.test.tsx.snap +0 -1436
- package/src/components/Help/__snapshots__/Help.test.tsx.snap +0 -395
- package/src/components/Label/__snapshots__/Label.test.tsx.snap +0 -14
- package/src/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +0 -246
- package/src/components/Loading/__snapshots__/Loading.test.tsx.snap +0 -138
- package/src/components/LoginDialog/__snapshots__/LoginDialog.test.tsx.snap +0 -3
- package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +0 -21
- package/src/components/NoItems/__snapshots__/Noitems.test.tsx.snap +0 -18
- package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +0 -171
- package/src/components/Package/Tag/__snapshots__/Tag.test.tsx.snap +0 -21
- package/src/components/Readme/__snapshots__/Readme.spec.tsx.snap +0 -110
- package/src/components/Repository/__snapshots__/Repository.test.tsx.snap +0 -3
- package/src/components/Search/__snapshots__/Search.test.tsx.snap +0 -473
- package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +0 -236
- package/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap +0 -407
- package/src/sections/Detail/__snapshots__/Detail.test.tsx.snap +0 -237
- package/src/sections/Footer/__snapshots__/Footer.test.tsx.snap +0 -486
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Distribution/index.ts"],"sourcesContent":["export { default } from './Dist';\n"],"mappings":";;;;;;;;;;;AAAA;AAAiC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["StyledText","Typography","props","fontWeight","theme","bold","textTransform","DistListItem","ListItem","DistChips","Chip","DownloadButton","FabMUI","backgroundColor","palette","primary","main","color","white"],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport FabMUI from '@mui/material/Fab';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme?.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n\nexport const DownloadButton = styled(FabMUI)<{ theme?: Theme }>((props) => ({\n backgroundColor: props.theme?.palette.primary.main,\n color: props.theme?.palette.white,\n}));\n"],"mappings":";;;;;;;AACA;AACA;AACA;AACA;AAAkD;AAAA;AAI3C,IAAMA,UAAU,gBAAG,sBAAOC,sBAAU;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB,UAACC,KAAK;EAAA;EAAA,OAAM;IAC1EC,UAAU,kBAAED,KAAK,CAACE,KAAK,iDAAX,aAAaD,UAAU,CAACE,IAAI;IACxCC,aAAa,EAAE;EACjB,CAAC;AAAA,CAAC,i8CAAC;AAAC;AAEG,IAAMC,YAAY,gBAAG,sBAAOC,oBAAQ;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAI1C;AAAC;AAEI,IAAMC,SAAS,gBAAG,sBAAOC,gBAAI;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAInC;AAAC;AAEI,IAAMC,cAAc,gBAAG,sBAAOC,eAAM;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB,UAACV,KAAK;EAAA;EAAA,OAAM;IAC1EW,eAAe,mBAAEX,KAAK,CAACE,KAAK,kDAAX,cAAaU,OAAO,CAACC,OAAO,CAACC,IAAI;IAClDC,KAAK,mBAAEf,KAAK,CAACE,KAAK,kDAAX,cAAaU,OAAO,CAACI;EAC9B,CAAC;AAAA,CAAC,q8CAAC;AAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["formatLicense","license","type","fileSizeSI","a","b","c","d","e","Math","log","pow","toFixed"],"sources":["../../../src/components/Distribution/utils.ts"],"sourcesContent":["/**\n * Formats license field for webui.\n * @see https://docs.npmjs.com/files/package.json#license\n */\n// License should use type License defined above, but conflicts with the unit test that provide array or empty object\n/* eslint-disable @typescript-eslint/no-explicit-any */\nexport function formatLicense(license: any): string | undefined {\n if (typeof license === 'string') {\n return license;\n }\n\n if (license?.type) {\n return license.type;\n }\n\n return;\n}\n\nexport function fileSizeSI(\n a: number,\n b?: typeof Math,\n c?: (p: number) => number,\n d?: number,\n e?: number\n): string {\n return (\n ((b = Math), (c = b.log), (d = 1e3), (e = (c(a) / c(d)) | 0), a / b.pow(d, e)).toFixed(2) +\n ' ' +\n (e ? 'kMGTPEZY'[--e] + 'B' : 'Bytes')\n );\n}\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,aAAa,CAACC,OAAY,EAAsB;EAC9D,IAAI,OAAOA,OAAO,KAAK,QAAQ,EAAE;IAC/B,OAAOA,OAAO;EAChB;EAEA,IAAIA,OAAO,aAAPA,OAAO,eAAPA,OAAO,CAAEC,IAAI,EAAE;IACjB,OAAOD,OAAO,CAACC,IAAI;EACrB;EAEA;AACF;AAEO,SAASC,UAAU,CACxBC,CAAS,EACTC,CAAe,EACfC,CAAyB,EACzBC,CAAU,EACVC,CAAU,EACF;EACR,OACE,CAAEH,CAAC,GAAGI,IAAI,EAAIH,CAAC,GAAGD,CAAC,CAACK,GAAG,EAAIH,CAAC,GAAG,GAAG,EAAIC,CAAC,GAAIF,CAAC,CAACF,CAAC,CAAC,GAAGE,CAAC,CAACC,CAAC,CAAC,GAAI,CAAC,EAAGH,CAAC,GAAGC,CAAC,CAACM,GAAG,CAACJ,CAAC,EAAEC,CAAC,CAAC,EAAEI,OAAO,CAAC,CAAC,CAAC,GACzF,GAAG,IACFJ,CAAC,GAAG,UAAU,CAAC,EAAEA,CAAC,CAAC,GAAG,GAAG,GAAG,OAAO,CAAC;AAEzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.js","names":["EngineItem","title","element","engineText","bgcolor","Engine","packageMeta","useTranslation","t","engines","latest","node","npm","yarn","pnpm"],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport ListItemText from '@mui/material/ListItemText';\nimport React, { FC } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid item={true} xs={6}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ bgcolor: '#FFF' }}>{element}</Avatar>\n <ListItemText primary={engineText} />\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.node}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AAAsD;AAOtD;AACA;AACA;AACA;AACA;AACA,IAAMA,UAA+B,GAAG,SAAlCA,UAA+B;EAAA,IAAMC,KAAK,QAALA,KAAK;IAAEC,OAAO,QAAPA,OAAO;IAAEC,UAAU,QAAVA,UAAU;EAAA,oBACnE,gCAAC,gBAAI;IAAC,IAAI,EAAE,IAAK;IAAC,EAAE,EAAE;EAAE,gBACtB,gCAAC,gBAAI;IAAC,SAAS,eAAE,gCAAC,kBAAU;MAAC,OAAO,EAAE;IAAY,GAAEF,KAAK;EAAe,gBACtE,gCAAC,sBAAc,qBACb,gCAAC,kBAAM;IAAC,EAAE,EAAE;MAAEG,OAAO,EAAE;IAAO;EAAE,GAAEF,OAAO,CAAU,eACnD,gCAAC,wBAAY;IAAC,OAAO,EAAEC;EAAW,EAAG,CACtB,CACZ,CACF;AAAA,CACR;AAaD;AACA;AACA;AACA;AACA;AACA,IAAME,MAAuB,GAAG,SAA1BA,MAAuB,QAAwB;EAAA;EAAA,IAAlBC,WAAW,SAAXA,WAAW;EAC5C,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,IAAMC,OAAO,GAAGH,WAAW,aAAXA,WAAW,8CAAXA,WAAW,CAAEI,MAAM,wDAAnB,oBAAqBD,OAAO;EAE5C,IAAI,CAACA,OAAO,EAAE;IACZ,OAAO,IAAI;EACb;EAEA,oBACE,gCAAC,gBAAI;IAAC,SAAS,EAAE;EAAK,GACnBA,OAAO,CAACE,IAAI,gBACX,gCAAC,UAAU;IACT,OAAO,eAAE,gCAAC,aAAM,OAAI;IACpB,UAAU,EAAEF,OAAO,CAACE,IAAK;IACzB,KAAK,EAAEH,CAAC,CAAC,yBAAyB;EAAE,EACpC,GACA,IAAI,EAEPC,OAAO,CAACG,GAAG,gBACV,gCAAC,UAAU;IACT,OAAO,eAAE,gCAAC,UAAG,OAAI;IACjB,UAAU,EAAEH,OAAO,CAACE,IAAK;IACzB,KAAK,EAAEH,CAAC,CAAC,6BAA6B;EAAE,EACxC,GACA,IAAI,EAEPC,OAAO,CAACI,IAAI,gBACX,gCAAC,UAAU;IACT,OAAO,eAAE,gCAAC,WAAI,OAAI;IAClB,UAAU,EAAEJ,OAAO,CAACI,IAAK;IACzB,KAAK,EAAEL,CAAC,CAAC,6BAA6B;EAAE,EACxC,GACA,IAAI,EAEPC,OAAO,CAACK,IAAI,gBACX,gCAAC,UAAU;IACT,OAAO,eAAE,gCAAC,WAAI,OAAI;IAClB,UAAU,EAAEL,OAAO,CAACK,IAAK;IACzB,KAAK,EAAEN,CAAC,CAAC,6BAA6B;EAAE,EACxC,GACA,IAAI,CACH;AAEX,CAAC;AAAC,eAEaH,MAAM;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Engines/index.ts"],"sourcesContent":["export { default } from './Engines';\n"],"mappings":";;;;;;;;;;;AAAA;AAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["StyledText","Typography","props","fontWeight","theme","bold","textTransform","EngineListItem","ListItem"],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme?.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n paddingLeft: 0,\n});\n"],"mappings":";;;;;;;AACA;AACA;AAAkD;AAAA;AAI3C,IAAMA,UAAU,gBAAG,sBAAOC,sBAAU;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB,UAACC,KAAK;EAAA;EAAA,OAAM;IAC1EC,UAAU,kBAAED,KAAK,CAACE,KAAK,iDAAX,aAAaD,UAAU,CAACE,IAAI;IACxCC,aAAa,EAAE;EACjB,CAAC;AAAA,CAAC,y4BAAC;AAAC;AAEG,IAAMC,cAAc,gBAAG,sBAAOC,oBAAQ;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAE5C;AAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":["ErrorBoundary","props","state","hasError","error","info","setState","children","JSON","stringify","Component"],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import React, { Component } from 'react';\n\nexport interface ErrorProps {\n children: any;\n}\n\nexport interface ErrorAppState {\n hasError: boolean;\n error: Error | null;\n info: object | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorProps, ErrorAppState> {\n constructor(props: ErrorProps) {\n super(props);\n this.state = { hasError: false, error: null, info: null };\n }\n\n public componentDidCatch(error: Error, info: object) {\n this.setState({ hasError: true, error, info });\n }\n\n public render(): JSX.Element {\n const { hasError, error, info } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <>\n <h1>{'Something went wrong.'}</h1>\n <p>{`error: ${error}`}</p>\n <p>{`info: ${JSON.stringify(info)}`}</p>\n </>\n );\n }\n return children;\n }\n}\n"],"mappings":";;;;;;;AAAA;AAAyC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYpBA,aAAa;EAAA;EAAA;EAChC,uBAAYC,KAAiB,EAAE;IAAA;IAAA;IAC7B,0BAAMA,KAAK;IACX,MAAKC,KAAK,GAAG;MAAEC,QAAQ,EAAE,KAAK;MAAEC,KAAK,EAAE,IAAI;MAAEC,IAAI,EAAE;IAAK,CAAC;IAAC;EAC5D;EAAC;IAAA;IAAA,OAED,2BAAyBD,KAAY,EAAEC,IAAY,EAAE;MACnD,IAAI,CAACC,QAAQ,CAAC;QAAEH,QAAQ,EAAE,IAAI;QAAEC,KAAK,EAALA,KAAK;QAAEC,IAAI,EAAJA;MAAK,CAAC,CAAC;IAChD;EAAC;IAAA;IAAA,OAED,kBAA6B;MAC3B,kBAAkC,IAAI,CAACH,KAAK;QAApCC,QAAQ,eAARA,QAAQ;QAAEC,KAAK,eAALA,KAAK;QAAEC,IAAI,eAAJA,IAAI;MAC7B,IAAQE,QAAQ,GAAK,IAAI,CAACN,KAAK,CAAvBM,QAAQ;MAEhB,IAAIJ,QAAQ,EAAE;QACZ,oBACE,+EACE,4CAAK,uBAAuB,CAAM,eAClC,4DAAcC,KAAK,EAAO,eAC1B,2DAAaI,IAAI,CAACC,SAAS,CAACJ,IAAI,CAAC,EAAO,CACvC;MAEP;MACA,OAAOE,QAAQ;IACjB;EAAC;EAAA;AAAA,EAxBwCG,gBAAS;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/ErrorBoundary/index.ts"],"sourcesContent":["export { default } from './ErrorBoundary';\n"],"mappings":";;;;;;;;;;;AAAA;AAA0C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FundButton.js","names":["StyledLink","Link","theme","marginTop","spacing","marginBottom","textDecoration","display","StyledFavoriteIcon","Favorite","color","palette","orange","StyledFundStrong","FundButton","packageMeta","fundingUrl","latest","funding","url","isURL"],"sources":["../../../src/components/FundButton/FundButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Favorite from '@mui/icons-material/Favorite';\nimport Button from '@mui/material/Button';\nimport React from 'react';\nimport { Trans } from 'react-i18next';\n\nimport { Theme } from '../../Theme';\nimport { url } from '../../utils';\nimport { Link } from '../Link';\n\nconst StyledLink = styled(Link)<{ theme?: Theme }>(({ theme }) => ({\n marginTop: theme?.spacing(1),\n marginBottom: theme?.spacing(1),\n textDecoration: 'none',\n display: 'block',\n}));\n\nconst StyledFavoriteIcon = styled(Favorite)<{ theme?: Theme }>(({ theme }) => ({\n color: theme?.palette.orange,\n}));\n\nconst StyledFundStrong = styled('strong')({\n marginRight: 3,\n});\n\n/* eslint-disable react/jsx-no-bind */\nconst FundButton: React.FC<{ packageMeta: any }> = ({ packageMeta }) => {\n const fundingUrl = packageMeta?.latest?.funding?.url as string;\n\n if (!url.isURL(fundingUrl)) {\n return null;\n }\n\n return (\n <StyledLink external={true} to={fundingUrl} variant=\"button\">\n <Button\n color=\"primary\"\n fullWidth={true}\n startIcon={<StyledFavoriteIcon />}\n variant=\"outlined\"\n >\n <Trans components={[<StyledFundStrong key=\"fund\" />]} i18nKey=\"button.fund-this-package\" />\n </Button>\n </StyledLink>\n );\n};\n\nexport default FundButton;\n"],"mappings":";;;;;;;AACA;AACA;AACA;AACA;AAGA;AACA;AAA+B;AAAA;AAE/B,IAAMA,UAAU,gBAAG,sBAAOC,UAAI;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IACjEC,SAAS,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC,CAAC;IAC5BC,YAAY,EAAEH,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC,CAAC;IAC/BE,cAAc,EAAE,MAAM;IACtBC,OAAO,EAAE;EACX,CAAC;AAAA,CAAC,qoEAAC;AAEH,IAAMC,kBAAkB,gBAAG,sBAAOC,oBAAQ;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB;EAAA,IAAGP,KAAK,SAALA,KAAK;EAAA,OAAQ;IAC7EQ,KAAK,EAAER,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAES,OAAO,CAACC;EACxB,CAAC;AAAA,CAAC,yoEAAC;AAEH,IAAMC,gBAAgB,gBAAG,sBAAO,QAAQ;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAEvC;;AAEF;AACA,IAAMC,UAA0C,GAAG,SAA7CA,UAA0C,QAAwB;EAAA;EAAA,IAAlBC,WAAW,SAAXA,WAAW;EAC/D,IAAMC,UAAU,GAAGD,WAAW,aAAXA,WAAW,8CAAXA,WAAW,CAAEE,MAAM,iFAAnB,oBAAqBC,OAAO,0DAA5B,sBAA8BC,GAAa;EAE9D,IAAI,CAACA,UAAG,CAACC,KAAK,CAACJ,UAAU,CAAC,EAAE;IAC1B,OAAO,IAAI;EACb;EAEA,oBACE,gCAAC,UAAU;IAAC,QAAQ,EAAE,IAAK;IAAC,EAAE,EAAEA,UAAW;IAAC,OAAO,EAAC;EAAQ,gBAC1D,gCAAC,kBAAM;IACL,KAAK,EAAC,SAAS;IACf,SAAS,EAAE,IAAK;IAChB,SAAS,eAAE,gCAAC,kBAAkB,OAAI;IAClC,OAAO,EAAC;EAAU,gBAElB,gCAAC,mBAAK;IAAC,UAAU,EAAE,cAAC,gCAAC,gBAAgB;MAAC,GAAG,EAAC;IAAM,EAAG,CAAE;IAAC,OAAO,EAAC;EAA0B,EAAG,CACpF,CACE;AAEjB,CAAC;AAAC,eAEaF,UAAU;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/FundButton/index.ts"],"sourcesContent":["export { default } from './FundButton';\n"],"mappings":";;;;;;;;;;;AAAA;AAAuC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderInfoDialog.js","names":["a11yProps","index","id","TabPanel","props","children","value","other","paddingTop","HeaderInfoDialog","onCloseDialog","isOpen","tabs","tabPanels","dialogTitle","React","useState","setValue","handleChange","_event","newValue","width","borderBottom","borderColor","map","item","label","key","element"],"sources":["../../../src/components/HeaderInfoDialog/HeaderInfoDialog.tsx"],"sourcesContent":["/* eslint-disable verdaccio/jsx-spread */\nimport Box from '@mui/material/Box';\nimport Tab from '@mui/material/Tab';\nimport Tabs from '@mui/material/Tabs';\nimport React from 'react';\n\nimport RegistryInfoDialog from '../RegistryInfoDialog';\n\ninterface Props {\n isOpen: boolean;\n onCloseDialog: () => void;\n tabPanels: any;\n tabs: any;\n dialogTitle: string;\n}\n\nfunction a11yProps(index) {\n return {\n id: `simple-tab-${index}`,\n 'aria-controls': `simple-tabpanel-${index}`,\n };\n}\n\nfunction TabPanel(props) {\n const { children, value, index, ...other } = props;\n\n return (\n <div\n aria-labelledby={`simple-tab-${index}`}\n hidden={value !== index}\n id={`simple-tabpanel-${index}`}\n role=\"tabpanel\"\n {...other}\n >\n {value === index && <Box sx={{ paddingTop: 3 }}>{children}</Box>}\n </div>\n );\n}\n\nconst HeaderInfoDialog: React.FC<Props> = ({\n onCloseDialog,\n isOpen,\n tabs = null,\n tabPanels = null,\n dialogTitle,\n}) => {\n const [value, setValue] = React.useState(0);\n\n const handleChange = (_event, newValue) => {\n setValue(newValue);\n };\n\n return (\n <RegistryInfoDialog onClose={onCloseDialog} open={isOpen} title={dialogTitle}>\n <Box sx={{ width: '100%' }}>\n <Box sx={{ borderBottom: 1, borderColor: 'divider' }}>\n <Tabs aria-label=\"infoTabs\" onChange={handleChange} value={value}>\n {tabs\n ? tabs.map((item, index) => {\n return (\n <Tab key={item.label} label={item.label} {...a11yProps(index)} {...item} />\n );\n })\n : null}\n </Tabs>\n </Box>\n\n {tabPanels\n ? tabPanels.map((item, index) => {\n return (\n <TabPanel index={index} key={item.key} value={value}>\n {item.element}\n </TabPanel>\n );\n })\n : null}\n </Box>\n </RegistryInfoDialog>\n );\n};\n\nexport default HeaderInfoDialog;\n"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AAEA;AAAuD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUvD,SAASA,SAAS,CAACC,KAAK,EAAE;EACxB,OAAO;IACLC,EAAE,uBAAgBD,KAAK,CAAE;IACzB,eAAe,4BAAqBA,KAAK;EAC3C,CAAC;AACH;AAEA,SAASE,QAAQ,CAACC,KAAK,EAAE;EACvB,IAAQC,QAAQ,GAA6BD,KAAK,CAA1CC,QAAQ;IAAEC,KAAK,GAAsBF,KAAK,CAAhCE,KAAK;IAAEL,KAAK,GAAeG,KAAK,CAAzBH,KAAK;IAAKM,KAAK,4BAAKH,KAAK;EAElD,oBACE;IACE,wCAA+BH,KAAK,CAAG;IACvC,MAAM,EAAEK,KAAK,KAAKL,KAAM;IACxB,EAAE,4BAAqBA,KAAK,CAAG;IAC/B,IAAI,EAAC;EAAU,GACXM,KAAK,GAERD,KAAK,KAAKL,KAAK,iBAAI,gCAAC,eAAG;IAAC,EAAE,EAAE;MAAEO,UAAU,EAAE;IAAE;EAAE,GAAEH,QAAQ,CAAO,CAC5D;AAEV;AAEA,IAAMI,gBAAiC,GAAG,SAApCA,gBAAiC,OAMjC;EAAA,IALJC,aAAa,QAAbA,aAAa;IACbC,MAAM,QAANA,MAAM;IAAA,iBACNC,IAAI;IAAJA,IAAI,0BAAG,IAAI;IAAA,sBACXC,SAAS;IAATA,SAAS,+BAAG,IAAI;IAChBC,WAAW,QAAXA,WAAW;EAEX,sBAA0BC,iBAAK,CAACC,QAAQ,CAAC,CAAC,CAAC;IAAA;IAApCV,KAAK;IAAEW,QAAQ;EAEtB,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAIC,MAAM,EAAEC,QAAQ,EAAK;IACzCH,QAAQ,CAACG,QAAQ,CAAC;EACpB,CAAC;EAED,oBACE,gCAAC,8BAAkB;IAAC,OAAO,EAAEV,aAAc;IAAC,IAAI,EAAEC,MAAO;IAAC,KAAK,EAAEG;EAAY,gBAC3E,gCAAC,eAAG;IAAC,EAAE,EAAE;MAAEO,KAAK,EAAE;IAAO;EAAE,gBACzB,gCAAC,eAAG;IAAC,EAAE,EAAE;MAAEC,YAAY,EAAE,CAAC;MAAEC,WAAW,EAAE;IAAU;EAAE,gBACnD,gCAAC,gBAAI;IAAC,cAAW,UAAU;IAAC,QAAQ,EAAEL,YAAa;IAAC,KAAK,EAAEZ;EAAM,GAC9DM,IAAI,GACDA,IAAI,CAACY,GAAG,CAAC,UAACC,IAAI,EAAExB,KAAK,EAAK;IACxB,oBACE,gCAAC,eAAG;MAAC,GAAG,EAAEwB,IAAI,CAACC,KAAM;MAAC,KAAK,EAAED,IAAI,CAACC;IAAM,GAAK1B,SAAS,CAACC,KAAK,CAAC,EAAMwB,IAAI,EAAI;EAE/E,CAAC,CAAC,GACF,IAAI,CACH,CACH,EAELZ,SAAS,GACNA,SAAS,CAACW,GAAG,CAAC,UAACC,IAAI,EAAExB,KAAK,EAAK;IAC7B,oBACE,gCAAC,QAAQ;MAAC,KAAK,EAAEA,KAAM;MAAC,GAAG,EAAEwB,IAAI,CAACE,GAAI;MAAC,KAAK,EAAErB;IAAM,GACjDmB,IAAI,CAACG,OAAO,CACJ;EAEf,CAAC,CAAC,GACF,IAAI,CACJ,CACa;AAEzB,CAAC;AAAC,eAEanB,gBAAgB;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/HeaderInfoDialog/index.ts"],"sourcesContent":["export { default } from './HeaderInfoDialog';\n"],"mappings":";;;;;;;;;;;AAAA;AAA6C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","names":["Heading","forwardRef","ref","variant","props"],"sources":["../../../src/components/Heading/Heading.tsx"],"sourcesContent":["import { default as MaterialUITypography, TypographyProps } from '@mui/material/Typography';\nimport React, { forwardRef } from 'react';\n\ntype HeadingType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\ntype HeadingRef = HTMLHeadingElement;\n\ninterface Props extends Omit<TypographyProps, 'variant'> {\n variant?: HeadingType;\n}\n\nconst Heading = forwardRef<HeadingRef, Props>(function Heading({ variant = 'h6', ...props }, ref) {\n // eslint-disable-next-line verdaccio/jsx-spread\n return <MaterialUITypography {...props} ref={ref} variant={variant} />;\n});\n\nexport default Heading;\n"],"mappings":";;;;;;;AAAA;AACA;AAA0C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS1C,IAAMA,OAAO,gBAAG,IAAAC,iBAAU,EAAoB,SAASD,OAAO,OAA+BE,GAAG,EAAE;EAAA,wBAAjCC,OAAO;IAAPA,OAAO,6BAAG,IAAI;IAAKC,KAAK;EACvF;EACA,oBAAO,gCAAC,sBAAoB,eAAKA,KAAK;IAAE,GAAG,EAAEF,GAAI;IAAC,OAAO,EAAEC;EAAQ,GAAG;AACxE,CAAC,CAAC;AAAC,eAEYH,OAAO;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Heading/index.ts"],"sourcesContent":["export { default } from './Heading';\n"],"mappings":";;;;;;;;;;;AAAA;AAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Help.js","names":["renderHeadingClipboardSegments","title","text","Help","useConfig","configOptions","registryUrl","base","useTranslation","t","marginBottom"],"sources":["../../../src/components/Help/Help.tsx"],"sourcesContent":["import Button from '@mui/material/Button';\nimport CardActions from '@mui/material/CardActions';\nimport CardContent from '@mui/material/CardContent';\nimport Typography from '@mui/material/Typography';\nimport React, { Fragment } from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { CopyClipboard, useConfig } from '../../';\nimport { Heading } from '../../';\nimport { CardStyled as Card } from './styles';\n\nfunction renderHeadingClipboardSegments(title: string, text: string): React.ReactNode {\n return (\n <Fragment>\n <Typography variant={'body1'}>{title}</Typography>\n <CopyClipboard dataTestId=\"segments\" text={text} />\n </Fragment>\n );\n}\n\nconst Help: React.FC = () => {\n const { configOptions } = useConfig();\n const registryUrl = configOptions.base;\n const { t } = useTranslation();\n\n return (\n <Card data-testid=\"help-card\" id=\"help-card\">\n <CardContent>\n <Heading gutterBottom={true} id=\"help-card__title\" variant=\"h5\">\n {t('help.title')}\n </Heading>\n <Heading color=\"textSecondary\" gutterBottom={true} sx={{ marginBottom: 1 }}>\n {t('help.sub-title')}\n </Heading>\n {renderHeadingClipboardSegments(\n t('help.first-step'),\n t('help.first-step-command-line', { registryUrl })\n )}\n {renderHeadingClipboardSegments(\n t('help.second-step'),\n t('help.second-step-command-line', { registryUrl })\n )}\n <Typography variant=\"body2\">{t('help.third-step')}</Typography>\n </CardContent>\n <CardActions>\n <Button color=\"primary\" href=\"https://verdaccio.org/docs/cli-registry\" size=\"small\">\n {t('button.learn-more')}\n </Button>\n </CardActions>\n </Card>\n );\n};\n\nexport default Help;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AAA8C;AAAA;AAAA;AAE9C,SAASA,8BAA8B,CAACC,KAAa,EAAEC,IAAY,EAAmB;EACpF,oBACE,gCAAC,eAAQ,qBACP,gCAAC,sBAAU;IAAC,OAAO,EAAE;EAAQ,GAAED,KAAK,CAAc,eAClD,gCAAC,eAAa;IAAC,UAAU,EAAC,UAAU;IAAC,IAAI,EAAEC;EAAK,EAAG,CAC1C;AAEf;AAEA,IAAMC,IAAc,GAAG,SAAjBA,IAAc,GAAS;EAC3B,iBAA0B,IAAAC,WAAS,GAAE;IAA7BC,aAAa,cAAbA,aAAa;EACrB,IAAMC,WAAW,GAAGD,aAAa,CAACE,IAAI;EACtC,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,oBACE,gCAAC,kBAAI;IAAC,eAAY,WAAW;IAAC,EAAE,EAAC;EAAW,gBAC1C,gCAAC,uBAAW,qBACV,gCAAC,SAAO;IAAC,YAAY,EAAE,IAAK;IAAC,EAAE,EAAC,kBAAkB;IAAC,OAAO,EAAC;EAAI,GAC5DA,CAAC,CAAC,YAAY,CAAC,CACR,eACV,gCAAC,SAAO;IAAC,KAAK,EAAC,eAAe;IAAC,YAAY,EAAE,IAAK;IAAC,EAAE,EAAE;MAAEC,YAAY,EAAE;IAAE;EAAE,GACxED,CAAC,CAAC,gBAAgB,CAAC,CACZ,EACTT,8BAA8B,CAC7BS,CAAC,CAAC,iBAAiB,CAAC,EACpBA,CAAC,CAAC,8BAA8B,EAAE;IAAEH,WAAW,EAAXA;EAAY,CAAC,CAAC,CACnD,EACAN,8BAA8B,CAC7BS,CAAC,CAAC,kBAAkB,CAAC,EACrBA,CAAC,CAAC,+BAA+B,EAAE;IAAEH,WAAW,EAAXA;EAAY,CAAC,CAAC,CACpD,eACD,gCAAC,sBAAU;IAAC,OAAO,EAAC;EAAO,GAAEG,CAAC,CAAC,iBAAiB,CAAC,CAAc,CACnD,eACd,gCAAC,uBAAW,qBACV,gCAAC,kBAAM;IAAC,KAAK,EAAC,SAAS;IAAC,IAAI,EAAC,yCAAyC;IAAC,IAAI,EAAC;EAAO,GAChFA,CAAC,CAAC,mBAAmB,CAAC,CAChB,CACG,CACT;AAEX,CAAC;AAAC,eAEaN,IAAI;AAAA"}
|
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`<Help /> component should load the component in default state 1`] = `
|
|
4
|
-
.emotion-1 {
|
|
5
|
-
background-color: #fff;
|
|
6
|
-
color: rgba(0, 0, 0, 0.87);
|
|
7
|
-
-webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
8
|
-
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12);
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
max-width: 600px;
|
|
13
|
-
margin: auto;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.emotion-2 {
|
|
17
|
-
padding: 16px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.emotion-2:last-child {
|
|
21
|
-
padding-bottom: 24px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.emotion-3 {
|
|
25
|
-
margin: 0;
|
|
26
|
-
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
font-size: 1.5rem;
|
|
29
|
-
line-height: 1.334;
|
|
30
|
-
margin-bottom: 0.35em;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.emotion-4 {
|
|
34
|
-
margin: 0;
|
|
35
|
-
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
font-size: 1.25rem;
|
|
38
|
-
line-height: 1.6;
|
|
39
|
-
margin-bottom: 0.35em;
|
|
40
|
-
color: rgba(0, 0, 0, 0.6);
|
|
41
|
-
margin-bottom: 8px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.emotion-5 {
|
|
45
|
-
margin: 0;
|
|
46
|
-
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
47
|
-
font-weight: 400;
|
|
48
|
-
font-size: 1rem;
|
|
49
|
-
line-height: 1.5;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.emotion-6 {
|
|
53
|
-
display: -webkit-box;
|
|
54
|
-
display: -webkit-flex;
|
|
55
|
-
display: -ms-flexbox;
|
|
56
|
-
display: flex;
|
|
57
|
-
-webkit-align-items: center;
|
|
58
|
-
-webkit-box-align: center;
|
|
59
|
-
-ms-flex-align: center;
|
|
60
|
-
align-items: center;
|
|
61
|
-
-webkit-box-pack: justify;
|
|
62
|
-
-webkit-justify-content: space-between;
|
|
63
|
-
justify-content: space-between;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.emotion-8 {
|
|
67
|
-
display: inline-block;
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
text-overflow: ellipsis;
|
|
70
|
-
height: auto;
|
|
71
|
-
white-space: break-spaces;
|
|
72
|
-
font-size: 1rem;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.emotion-10 {
|
|
76
|
-
display: -webkit-inline-box;
|
|
77
|
-
display: -webkit-inline-flex;
|
|
78
|
-
display: -ms-inline-flexbox;
|
|
79
|
-
display: inline-flex;
|
|
80
|
-
-webkit-align-items: center;
|
|
81
|
-
-webkit-box-align: center;
|
|
82
|
-
-ms-flex-align: center;
|
|
83
|
-
align-items: center;
|
|
84
|
-
-webkit-box-pack: center;
|
|
85
|
-
-ms-flex-pack: center;
|
|
86
|
-
-webkit-justify-content: center;
|
|
87
|
-
justify-content: center;
|
|
88
|
-
position: relative;
|
|
89
|
-
box-sizing: border-box;
|
|
90
|
-
-webkit-tap-highlight-color: transparent;
|
|
91
|
-
background-color: transparent;
|
|
92
|
-
outline: 0;
|
|
93
|
-
border: 0;
|
|
94
|
-
margin: 0;
|
|
95
|
-
border-radius: 0;
|
|
96
|
-
padding: 0;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
-webkit-user-select: none;
|
|
99
|
-
-moz-user-select: none;
|
|
100
|
-
-ms-user-select: none;
|
|
101
|
-
user-select: none;
|
|
102
|
-
vertical-align: middle;
|
|
103
|
-
-moz-appearance: none;
|
|
104
|
-
-webkit-appearance: none;
|
|
105
|
-
-webkit-text-decoration: none;
|
|
106
|
-
text-decoration: none;
|
|
107
|
-
color: inherit;
|
|
108
|
-
text-align: center;
|
|
109
|
-
-webkit-flex: 0 0 auto;
|
|
110
|
-
-ms-flex: 0 0 auto;
|
|
111
|
-
flex: 0 0 auto;
|
|
112
|
-
font-size: 1.5rem;
|
|
113
|
-
padding: 8px;
|
|
114
|
-
border-radius: 50%;
|
|
115
|
-
overflow: visible;
|
|
116
|
-
color: rgba(0, 0, 0, 0.54);
|
|
117
|
-
-webkit-transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
118
|
-
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
119
|
-
padding: 12px;
|
|
120
|
-
font-size: 1.75rem;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.emotion-10::-moz-focus-inner {
|
|
124
|
-
border-style: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.emotion-10.Mui-disabled {
|
|
128
|
-
pointer-events: none;
|
|
129
|
-
cursor: default;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
@media print {
|
|
133
|
-
.emotion-10 {
|
|
134
|
-
-webkit-print-color-adjust: exact;
|
|
135
|
-
color-adjust: exact;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.emotion-10:hover {
|
|
140
|
-
background-color: rgba(0, 0, 0, 0.04);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@media (hover: none) {
|
|
144
|
-
.emotion-10:hover {
|
|
145
|
-
background-color: transparent;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.emotion-10.Mui-disabled {
|
|
150
|
-
background-color: transparent;
|
|
151
|
-
color: rgba(0, 0, 0, 0.26);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.emotion-11 {
|
|
155
|
-
-webkit-user-select: none;
|
|
156
|
-
-moz-user-select: none;
|
|
157
|
-
-ms-user-select: none;
|
|
158
|
-
user-select: none;
|
|
159
|
-
width: 1em;
|
|
160
|
-
height: 1em;
|
|
161
|
-
display: inline-block;
|
|
162
|
-
fill: currentColor;
|
|
163
|
-
-webkit-flex-shrink: 0;
|
|
164
|
-
-ms-flex-negative: 0;
|
|
165
|
-
flex-shrink: 0;
|
|
166
|
-
-webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
167
|
-
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
168
|
-
font-size: 1.25rem;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.emotion-12 {
|
|
172
|
-
overflow: hidden;
|
|
173
|
-
pointer-events: none;
|
|
174
|
-
position: absolute;
|
|
175
|
-
z-index: 0;
|
|
176
|
-
top: 0;
|
|
177
|
-
right: 0;
|
|
178
|
-
bottom: 0;
|
|
179
|
-
left: 0;
|
|
180
|
-
border-radius: inherit;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.emotion-21 {
|
|
184
|
-
margin: 0;
|
|
185
|
-
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
186
|
-
font-weight: 400;
|
|
187
|
-
font-size: 0.875rem;
|
|
188
|
-
line-height: 1.43;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.emotion-22 {
|
|
192
|
-
display: -webkit-box;
|
|
193
|
-
display: -webkit-flex;
|
|
194
|
-
display: -ms-flexbox;
|
|
195
|
-
display: flex;
|
|
196
|
-
-webkit-align-items: center;
|
|
197
|
-
-webkit-box-align: center;
|
|
198
|
-
-ms-flex-align: center;
|
|
199
|
-
align-items: center;
|
|
200
|
-
padding: 8px;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.emotion-22>:not(:first-of-type) {
|
|
204
|
-
margin-left: 8px;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.emotion-23 {
|
|
208
|
-
display: -webkit-inline-box;
|
|
209
|
-
display: -webkit-inline-flex;
|
|
210
|
-
display: -ms-inline-flexbox;
|
|
211
|
-
display: inline-flex;
|
|
212
|
-
-webkit-align-items: center;
|
|
213
|
-
-webkit-box-align: center;
|
|
214
|
-
-ms-flex-align: center;
|
|
215
|
-
align-items: center;
|
|
216
|
-
-webkit-box-pack: center;
|
|
217
|
-
-ms-flex-pack: center;
|
|
218
|
-
-webkit-justify-content: center;
|
|
219
|
-
justify-content: center;
|
|
220
|
-
position: relative;
|
|
221
|
-
box-sizing: border-box;
|
|
222
|
-
-webkit-tap-highlight-color: transparent;
|
|
223
|
-
background-color: transparent;
|
|
224
|
-
outline: 0;
|
|
225
|
-
border: 0;
|
|
226
|
-
margin: 0;
|
|
227
|
-
border-radius: 0;
|
|
228
|
-
padding: 0;
|
|
229
|
-
cursor: pointer;
|
|
230
|
-
-webkit-user-select: none;
|
|
231
|
-
-moz-user-select: none;
|
|
232
|
-
-ms-user-select: none;
|
|
233
|
-
user-select: none;
|
|
234
|
-
vertical-align: middle;
|
|
235
|
-
-moz-appearance: none;
|
|
236
|
-
-webkit-appearance: none;
|
|
237
|
-
-webkit-text-decoration: none;
|
|
238
|
-
text-decoration: none;
|
|
239
|
-
color: inherit;
|
|
240
|
-
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
241
|
-
font-weight: 500;
|
|
242
|
-
font-size: 0.8125rem;
|
|
243
|
-
line-height: 1.75;
|
|
244
|
-
text-transform: uppercase;
|
|
245
|
-
min-width: 64px;
|
|
246
|
-
padding: 4px 5px;
|
|
247
|
-
border-radius: 4px;
|
|
248
|
-
-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;
|
|
249
|
-
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;
|
|
250
|
-
color: #4b5e40;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.emotion-23::-moz-focus-inner {
|
|
254
|
-
border-style: none;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.emotion-23.Mui-disabled {
|
|
258
|
-
pointer-events: none;
|
|
259
|
-
cursor: default;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
@media print {
|
|
263
|
-
.emotion-23 {
|
|
264
|
-
-webkit-print-color-adjust: exact;
|
|
265
|
-
color-adjust: exact;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.emotion-23:hover {
|
|
270
|
-
-webkit-text-decoration: none;
|
|
271
|
-
text-decoration: none;
|
|
272
|
-
background-color: rgba(75, 94, 64, 0.04);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
@media (hover: none) {
|
|
276
|
-
.emotion-23:hover {
|
|
277
|
-
background-color: transparent;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.emotion-23.Mui-disabled {
|
|
282
|
-
color: rgba(0, 0, 0, 0.26);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
<div
|
|
286
|
-
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 MuiCard-root emotion-0 emotion-1"
|
|
287
|
-
data-testid="help-card"
|
|
288
|
-
id="help-card"
|
|
289
|
-
>
|
|
290
|
-
<div
|
|
291
|
-
class="MuiCardContent-root emotion-2"
|
|
292
|
-
>
|
|
293
|
-
<h5
|
|
294
|
-
class="MuiTypography-root MuiTypography-h5 MuiTypography-gutterBottom emotion-3"
|
|
295
|
-
id="help-card__title"
|
|
296
|
-
>
|
|
297
|
-
help.title
|
|
298
|
-
</h5>
|
|
299
|
-
<h6
|
|
300
|
-
class="MuiTypography-root MuiTypography-h6 MuiTypography-gutterBottom emotion-4"
|
|
301
|
-
>
|
|
302
|
-
help.sub-title
|
|
303
|
-
</h6>
|
|
304
|
-
<p
|
|
305
|
-
class="MuiTypography-root MuiTypography-body1 emotion-5"
|
|
306
|
-
>
|
|
307
|
-
help.first-step
|
|
308
|
-
</p>
|
|
309
|
-
<div
|
|
310
|
-
class="emotion-6 emotion-7"
|
|
311
|
-
>
|
|
312
|
-
<span
|
|
313
|
-
class="emotion-8 emotion-9"
|
|
314
|
-
>
|
|
315
|
-
help.first-step-command-line
|
|
316
|
-
</span>
|
|
317
|
-
<button
|
|
318
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge emotion-10"
|
|
319
|
-
data-testid="segments"
|
|
320
|
-
tabindex="0"
|
|
321
|
-
type="button"
|
|
322
|
-
>
|
|
323
|
-
<svg
|
|
324
|
-
aria-hidden="true"
|
|
325
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall emotion-11"
|
|
326
|
-
data-testid="FileCopyIcon"
|
|
327
|
-
focusable="false"
|
|
328
|
-
viewBox="0 0 24 24"
|
|
329
|
-
>
|
|
330
|
-
<path
|
|
331
|
-
d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"
|
|
332
|
-
/>
|
|
333
|
-
</svg>
|
|
334
|
-
<span
|
|
335
|
-
class="MuiTouchRipple-root emotion-12"
|
|
336
|
-
/>
|
|
337
|
-
</button>
|
|
338
|
-
</div>
|
|
339
|
-
<p
|
|
340
|
-
class="MuiTypography-root MuiTypography-body1 emotion-5"
|
|
341
|
-
>
|
|
342
|
-
help.second-step
|
|
343
|
-
</p>
|
|
344
|
-
<div
|
|
345
|
-
class="emotion-6 emotion-7"
|
|
346
|
-
>
|
|
347
|
-
<span
|
|
348
|
-
class="emotion-8 emotion-9"
|
|
349
|
-
>
|
|
350
|
-
help.second-step-command-line
|
|
351
|
-
</span>
|
|
352
|
-
<button
|
|
353
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge emotion-10"
|
|
354
|
-
data-testid="segments"
|
|
355
|
-
tabindex="0"
|
|
356
|
-
type="button"
|
|
357
|
-
>
|
|
358
|
-
<svg
|
|
359
|
-
aria-hidden="true"
|
|
360
|
-
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall emotion-11"
|
|
361
|
-
data-testid="FileCopyIcon"
|
|
362
|
-
focusable="false"
|
|
363
|
-
viewBox="0 0 24 24"
|
|
364
|
-
>
|
|
365
|
-
<path
|
|
366
|
-
d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"
|
|
367
|
-
/>
|
|
368
|
-
</svg>
|
|
369
|
-
<span
|
|
370
|
-
class="MuiTouchRipple-root emotion-12"
|
|
371
|
-
/>
|
|
372
|
-
</button>
|
|
373
|
-
</div>
|
|
374
|
-
<p
|
|
375
|
-
class="MuiTypography-root MuiTypography-body2 emotion-21"
|
|
376
|
-
>
|
|
377
|
-
help.third-step
|
|
378
|
-
</p>
|
|
379
|
-
</div>
|
|
380
|
-
<div
|
|
381
|
-
class="MuiCardActions-root MuiCardActions-spacing emotion-22"
|
|
382
|
-
>
|
|
383
|
-
<a
|
|
384
|
-
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeSmall MuiButton-textSizeSmall emotion-23"
|
|
385
|
-
href="https://verdaccio.org/docs/cli-registry"
|
|
386
|
-
tabindex="0"
|
|
387
|
-
>
|
|
388
|
-
button.learn-more
|
|
389
|
-
<span
|
|
390
|
-
class="MuiTouchRipple-root emotion-12"
|
|
391
|
-
/>
|
|
392
|
-
</a>
|
|
393
|
-
</div>
|
|
394
|
-
</div>
|
|
395
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Help/index.ts"],"sourcesContent":["export { default } from './Help';\n"],"mappings":";;;;;;;;;;;AAAA;AAAiC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["CardStyled","Card"],"sources":["../../../src/components/Help/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Card from '@mui/material/Card';\n\nexport const CardStyled = styled(Card)({\n maxWidth: 600,\n margin: 'auto',\n});\n"],"mappings":";;;;;;;AACA;AAAsC;AAAA;AAE/B,IAAMA,UAAU,gBAAG,sBAAOC,gBAAI;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAGpC;AAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CommonJS.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","CommonJS"],"sources":["../../../../src/components/Icons/DevsIcons/CommonJS.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./commonjs.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function CommonJS() {\n return <ImgIcon alt=\"commonjs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,gBAAgB,CAAC;AAEtC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,62BAAC;AAEI,SAASC,QAAQ,GAAG;EACzB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,UAAU;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AACrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ES6Module.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","ES6Modules"],"sources":["../../../../src/components/Icons/DevsIcons/ES6Module.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./es6modules.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function ES6Modules() {\n return <ImgIcon alt=\"es6 modules\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,kBAAkB,CAAC;AAExC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,y3BAAC;AAEI,SAASC,UAAU,GAAG;EAC3B,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,aAAa;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AACxE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Git.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","Git"],"sources":["../../../../src/components/Icons/DevsIcons/Git.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./git.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function Git() {\n return <ImgIcon alt=\"git\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,WAAW,CAAC;AAEjC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,60BAAC;AAEI,SAASC,GAAG,GAAG;EACpB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,KAAK;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AAChE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NodeJS.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","NodeJS"],"sources":["../../../../src/components/Icons/DevsIcons/NodeJS.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./nodejs.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function NodeJS() {\n return <ImgIcon alt=\"nodejs\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,cAAc,CAAC;AAEpC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,i2BAAC;AAEI,SAASC,MAAM,GAAG;EACvB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,QAAQ;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AACnE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TypeScript.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","TypeScript"],"sources":["../../../../src/components/Icons/DevsIcons/TypeScript.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./typescript.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function TypeScript() {\n return <ImgIcon alt=\"typescript\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,kBAAkB,CAAC;AAExC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,63BAAC;AAEI,SAASC,UAAU,GAAG;EAC3B,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,YAAY;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AACvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Icons/DevsIcons/index.ts"],"sourcesContent":["export { TypeScript } from './TypeScript';\nexport { CommonJS } from './CommonJS';\nexport { ES6Modules } from './ES6Module';\nexport { NodeJS } from './NodeJS';\nexport { Git } from './Git';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Earth.js","names":["Earth","React","forwardRef","props","ref","displayName"],"sources":["../../../src/components/Icons/Earth.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\ntype Props = React.ComponentProps<typeof SvgIcon>;\n\nconst Earth = React.forwardRef(function Earth(props: Props, ref: React.Ref<SVGSVGElement>) {\n return (\n <SvgIcon viewBox=\"0 0 45 45\" {...props} ref={ref}>\n <defs>\n <clipPath id=\"prefix__a\">\n <path d=\"M0 36h36V0H0v36z\" />\n </clipPath>\n <clipPath id=\"prefix__b\">\n <path d=\"M18 36C8.059 36 0 27.941 0 18S8.059 0 18 0s18 8.059 18 18-8.059 18-18 18z\" />\n </clipPath>\n </defs>\n <g clipPath=\"url(#prefix__a)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M36 18c0-9.941-8.059-18-18-18S0 8.059 0 18s8.059 18 18 18 18-8.059 18-18\"\n fill=\"#88c9f9\"\n />\n </g>\n <g clipPath=\"url(#prefix__b)\" transform=\"matrix(1.25 0 0 -1.25 0 45)\">\n <path\n d=\"M3.627 28.952c-.45 2.93 2.195 4.156 3.607 4.47 1.412.314 2.776.62 2.933-.006.156-.628.311-1.46 1.173-1.148.862.314 3.043.56 4.063 1.342 1.02.783 2.244.787 3.264.473 1.02-.313 3.877-.227 3.25-1.167-.627-.94-1.825-.827-2.45-1.924-.628-1.099.171-1.826 1.033-1.826.865 0 1.71-.135 2.26.727.548.863-.383 2.463.324 2.357.706-.106 1.477-.866 2.03-2.043.547-1.176 1.408-.47 1.723-1.176.313-.705 2.04-2.039 1.177-1.804-.864.236-1.726.392-1.96-.47-.237-.863.388-1.726-.237-1.647-.627.08-.86-.089-1.725-.004-.862.083-1.333.631-2.039-.545-.705-1.175-1.254-1.96-1.567-2.509-.315-.549-.785-.86-.55-1.96.235-1.099-.628-.785-.628.156 0 .94-.548 1.098-1.253.942-.706-.157-1.803-.313-1.724-1.098.077-.784-.315-1.725.313-2.352.627-.629 1.33.076 1.723-.158.393-.237 1.525-.023 1.133-.416-.393-.39-1.76-.88-.976-1.509a4.831 4.831 0 011.893-.907c.313-.08.062.774 1.083 1.166 1.017.392 2.608 1.29 3 .584.391-.705.338-.595 1.75-.75 1.41-.156 1.79-.585 2.417-1.917.626-1.333.446-1.192 1.462-1.58 1.021-.394 1.678-.223.737-1.087-.94-.86-1.65-.814-2.199-1.833-.55-1.017-.153-1.73-1.25-2.75A20.755 20.755 0 0024 4c-.618-.37-2.162-2.07-3.083-2.667-.834-.54-1.083 0-1.083 0s.256 1.667.964 2.372c.704.705 1.105 3.344.87 4.128-.235.783-1.36 1.02-1.75 1.333-.393.312-1.418 1.548-1.418 2.334 0 .784 1.71 2.81 1.71 2.81.218-1.089-1.039.328-1.627.523-.47.157-1.542 1.656-2.459 1.814-.916.16-1.363.7-2.068 1.25-.706.55-2.43 1.332-2.353 2.195.08.862-1.725 1.568-2.038 1.568-.314 0-1.019 0-1.647 1.098-.627 1.098-1.725 2.196-1.41 2.98.312.783.391 1.726.233 2.588-.156.862-1.332 1.176-1.567.941-.235-.236-1.489-1.335-1.647-.315\"\n fill=\"#5c913b\"\n />\n </g>\n </SvgIcon>\n );\n});\n\nEarth.displayName = 'Earth';\n\nexport { Earth };\n"],"mappings":";;;;;;AAAA;AAEA;AAAoC;AAAA;AAIpC,IAAMA,KAAK,gBAAGC,iBAAK,CAACC,UAAU,CAAC,SAASF,KAAK,CAACG,KAAY,EAAEC,GAA6B,EAAE;EACzF,oBACE,gCAAC,gBAAO;IAAC,OAAO,EAAC;EAAW,GAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,iBAC/C,2DACE;IAAU,EAAE,EAAC;EAAW,gBACtB;IAAM,CAAC,EAAC;EAAkB,EAAG,CACpB,eACX;IAAU,EAAE,EAAC;EAAW,gBACtB;IAAM,CAAC,EAAC;EAA2E,EAAG,CAC7E,CACN,eACP;IAAG,QAAQ,EAAC,iBAAiB;IAAC,SAAS,EAAC;EAA6B,gBACnE;IACE,CAAC,EAAC,0EAA0E;IAC5E,IAAI,EAAC;EAAS,EACd,CACA,eACJ;IAAG,QAAQ,EAAC,iBAAiB;IAAC,SAAS,EAAC;EAA6B,gBACnE;IACE,CAAC,EAAC,qjDAAqjD;IACvjD,IAAI,EAAC;EAAS,EACd,CACA,CACI;AAEd,CAAC,CAAC;AAAC;AAEHJ,KAAK,CAACK,WAAW,GAAG,OAAO"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileBinary.js","names":["FileBinary","React","forwardRef","props","ref","displayName"],"sources":["../../../src/components/Icons/FileBinary.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\ntype Props = React.ComponentProps<typeof SvgIcon>;\n\nconst FileBinary = React.forwardRef(function FileBinary(\n props: Props,\n ref: React.Ref<SVGSVGElement>\n) {\n return (\n <SvgIcon {...props} ref={ref}>\n <path d=\"M8.5 1H1c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4.5L8.5 1zM11 14H1V2h7l3 3v9zM5 6.98L3.5 8.5 5 10l-.5 1L2 8.5 4.5 6l.5.98zM7.5 6L10 8.5 7.5 11l-.5-.98L8.5 8.5 7 7l.5-1z\" />\n </SvgIcon>\n );\n});\n\nFileBinary.displayName = 'FileBinary';\n\nexport { FileBinary };\n"],"mappings":";;;;;;AAAA;AAEA;AAAoC;AAAA;AAIpC,IAAMA,UAAU,gBAAGC,iBAAK,CAACC,UAAU,CAAC,SAASF,UAAU,CACrDG,KAAY,EACZC,GAA6B,EAC7B;EACA,oBACE,gCAAC,gBAAO,eAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,iBAC3B;IAAM,CAAC,EAAC;EAAyL,EAAG,CAC5L;AAEd,CAAC,CAAC;AAAC;AAEHJ,UAAU,CAACK,WAAW,GAAG,YAAY"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Law.js","names":["Law","React","forwardRef","props","ref","displayName"],"sources":["../../../src/components/Icons/Law.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\ntype Props = React.ComponentProps<typeof SvgIcon>;\n\nconst Law = React.forwardRef(function Law(props: Props, ref: React.Ref<SVGSVGElement>) {\n return (\n <SvgIcon {...props} ref={ref}>\n <path\n d=\"M7 4c-.83 0-1.5-.67-1.5-1.5S6.17 1 7 1s1.5.67 1.5 1.5S7.83 4 7 4zm7 6c0 1.11-.89 2-2 2h-1c-1.11 0-2-.89-2-2l2-4h-1c-.55 0-1-.45-1-1H8v8c.42 0 1 .45 1 1h1c.42 0 1 .45 1 1H3c0-.55.58-1 1-1h1c0-.55.58-1 1-1h.03L6 5H5c0 .55-.45 1-1 1H3l2 4c0 1.11-.89 2-2 2H2c-1.11 0-2-.89-2-2l2-4H1V5h3c0-.55.45-1 1-1h4c.55 0 1 .45 1 1h3v1h-1l2 4zM2.5 7L1 10h3L2.5 7zM13 10l-1.5-3-1.5 3h3z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n});\n\nLaw.displayName = 'Law';\n\nexport { Law };\n"],"mappings":";;;;;;AAAA;AAEA;AAAoC;AAAA;AAIpC,IAAMA,GAAG,gBAAGC,iBAAK,CAACC,UAAU,CAAC,SAASF,GAAG,CAACG,KAAY,EAAEC,GAA6B,EAAE;EACrF,oBACE,gCAAC,gBAAO,eAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,iBAC3B;IACE,CAAC,EAAC,mXAAmX;IACrX,QAAQ,EAAC;EAAS,EAClB,CACM;AAEd,CAAC,CAAC;AAAC;AAEHJ,GAAG,CAACK,WAAW,GAAG,KAAK"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Npm.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","Npm"],"sources":["../../../../src/components/Icons/Managers/Npm.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./npm.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function Npm() {\n return <ImgIcon alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,WAAW,CAAC;AAEjC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,i2BAAC;AAEI,SAASC,GAAG,GAAG;EACpB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,qBAAqB;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AAChF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Pnpm.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","Pnpm"],"sources":["../../../../src/components/Icons/Managers/Pnpm.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./pnpm.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function Pnpm() {\n return <ImgIcon alt=\"pnpm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,YAAY,CAAC;AAElC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,q2BAAC;AAEI,SAASC,IAAI,GAAG;EACrB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,sBAAsB;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AACjF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yarn.js","names":["icon","require","ImgIcon","theme","marginLeft","spacing","Yarn"],"sources":["../../../../src/components/Icons/Managers/Yarn.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Theme } from '@mui/material';\nimport React from 'react';\n\nconst icon = require('./yarn.svg');\n\nconst ImgIcon = styled.img<{ theme?: Theme }>(({ theme }) => ({\n marginLeft: theme?.spacing(1),\n}));\n\nexport function Yarn() {\n return <ImgIcon alt=\"npm package manager\" height=\"20\" src={icon} width=\"20\" />;\n}\n"],"mappings":";;;;;;;AAEA;AAA0B;AAE1B,IAAMA,IAAI,GAAGC,OAAO,CAAC,YAAY,CAAC;AAElC,IAAMC,OAAO,gBAAG;EAAA;AAAA;EAAA;EAAA;AAAA,GAA8B;EAAA,IAAGC,KAAK,QAALA,KAAK;EAAA,OAAQ;IAC5DC,UAAU,EAAED,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEE,OAAO,CAAC,CAAC;EAC9B,CAAC;AAAA,CAAC,q2BAAC;AAEI,SAASC,IAAI,GAAG;EACrB,oBAAO,gCAAC,OAAO;IAAC,GAAG,EAAC,qBAAqB;IAAC,MAAM,EAAC,IAAI;IAAC,GAAG,EAAEN,IAAK;IAAC,KAAK,EAAC;EAAI,EAAG;AAChF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/Icons/Managers/index.ts"],"sourcesContent":["export { Npm } from './Npm';\nexport { Pnpm } from './Pnpm';\nexport { Yarn } from './Yarn';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SvgIcon.js","names":["SvgIcon","React","forwardRef","ref","size","title","props","getSize","width","height","StyledMaterialUISvgIcon","MaterialUISvgIcon"],"sources":["../../../src/components/Icons/SvgIcon.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { default as MaterialUISvgIcon, SvgIconProps } from '@mui/material/SvgIcon';\nimport React from 'react';\n\ntype Size = 'sm' | 'md';\n\ntype Props = Omit<SvgIconProps, 'color' | 'fontsize' | 'name'> & {\n size?: Size;\n title?: string;\n className?: string;\n};\n\nconst SvgIcon = React.forwardRef<SVGSVGElement, Props>(function SvgIcon(\n { size = 'md', title, ...props },\n ref\n) {\n // eslint-disable-next-line verdaccio/jsx-spread\n return <StyledMaterialUISvgIcon size={size} titleAccess={title} {...props} ref={ref} />;\n});\n\nexport { SvgIcon };\n\nconst getSize = (size: Size) => {\n if (size === 'md') {\n return {\n width: 18,\n height: 18,\n };\n }\n\n return {\n width: 14,\n height: 16,\n };\n};\n\nconst StyledMaterialUISvgIcon = styled(MaterialUISvgIcon)<{ size: Size }>(({ size }) => ({\n ...getSize(size),\n}));\n"],"mappings":";;;;;;;;AACA;AACA;AAA0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAU1B,IAAMA,OAAO,gBAAGC,iBAAK,CAACC,UAAU,CAAuB,SAASF,OAAO,OAErEG,GAAG,EACH;EAAA,qBAFEC,IAAI;IAAJA,IAAI,0BAAG,IAAI;IAAEC,KAAK,QAALA,KAAK;IAAKC,KAAK;EAG9B;EACA,oBAAO,gCAAC,uBAAuB;IAAC,IAAI,EAAEF,IAAK;IAAC,WAAW,EAAEC;EAAM,GAAKC,KAAK;IAAE,GAAG,EAAEH;EAAI,GAAG;AACzF,CAAC,CAAC;AAAC;AAIH,IAAMI,OAAO,GAAG,SAAVA,OAAO,CAAIH,IAAU,EAAK;EAC9B,IAAIA,IAAI,KAAK,IAAI,EAAE;IACjB,OAAO;MACLI,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE;IACV,CAAC;EACH;EAEA,OAAO;IACLD,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE;EACV,CAAC;AACH,CAAC;AAED,IAAMC,uBAAuB,gBAAG,sBAAOC,mBAAiB;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAiB;EAAA,IAAGP,IAAI,SAAJA,IAAI;EAAA,yBAC5EG,OAAO,CAACH,IAAI,CAAC;AAAA,CAChB,6hDAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Time.js","names":["Time","React","forwardRef","props","ref","displayName"],"sources":["../../../src/components/Icons/Time.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\ntype Props = React.ComponentProps<typeof SvgIcon>;\n\nconst Time = React.forwardRef(function Time(props: Props, ref: React.Ref<SVGSVGElement>) {\n return (\n <SvgIcon viewBox=\"0 0 24 24\" {...props} ref={ref}>\n <path d=\"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\" />\n </SvgIcon>\n );\n});\n\nTime.displayName = 'Time';\n\nexport { Time };\n"],"mappings":";;;;;;AAAA;AAEA;AAAoC;AAAA;AAIpC,IAAMA,IAAI,gBAAGC,iBAAK,CAACC,UAAU,CAAC,SAASF,IAAI,CAACG,KAAY,EAAEC,GAA6B,EAAE;EACvF,oBACE,gCAAC,gBAAO;IAAC,OAAO,EAAC;EAAW,GAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,iBAC/C;IAAM,CAAC,EAAC;EAAiJ,EAAG,eAC5J;IAAM,CAAC,EAAC,eAAe;IAAC,IAAI,EAAC;EAAM,EAAG,eACtC;IAAM,CAAC,EAAC;EAA0C,EAAG,CAC7C;AAEd,CAAC,CAAC;AAAC;AAEHJ,IAAI,CAACK,WAAW,GAAG,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Version.js","names":["Version","React","forwardRef","props","ref","displayName"],"sources":["../../../src/components/Icons/Version.tsx"],"sourcesContent":["import React from 'react';\n\nimport { SvgIcon } from './SvgIcon';\n\ntype Props = React.ComponentProps<typeof SvgIcon>;\n\nconst Version = React.forwardRef(function Version(props: Props, ref: React.Ref<SVGSVGElement>) {\n return (\n <SvgIcon height={16} viewBox=\"0 0 14 16\" width={14} {...props} ref={ref}>\n <path\n d=\"M13 3H7c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zm-1 8H8V5h4v6zM4 4h1v1H4v6h1v1H4c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1zM1 5h1v1H1v4h1v1H1c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1z\"\n fillRule=\"evenodd\"\n />\n </SvgIcon>\n );\n});\n\nVersion.displayName = 'Version';\n\nexport { Version };\n"],"mappings":";;;;;;AAAA;AAEA;AAAoC;AAAA;AAIpC,IAAMA,OAAO,gBAAGC,iBAAK,CAACC,UAAU,CAAC,SAASF,OAAO,CAACG,KAAY,EAAEC,GAA6B,EAAE;EAC7F,oBACE,gCAAC,gBAAO;IAAC,MAAM,EAAE,EAAG;IAAC,OAAO,EAAC,WAAW;IAAC,KAAK,EAAE;EAAG,GAAKD,KAAK;IAAE,GAAG,EAAEC;EAAI,iBACtE;IACE,CAAC,EAAC,wMAAwM;IAC1M,QAAQ,EAAC;EAAS,EAClB,CACM;AAEd,CAAC,CAAC;AAAC;AAEHJ,OAAO,CAACK,WAAW,GAAG,SAAS"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Icons/index.ts"],"sourcesContent":["export { Version } from './Version';\nexport { Time } from './Time';\nexport { FileBinary } from './FileBinary';\nexport { Law } from './Law';\nexport { License } from './License';\nexport { Earth } from './Earth';\nexport * from './DevsIcons';\nexport * from './Managers';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Install.js","names":["StyledText","Typography","props","fontWeight","theme","bold","textTransform","Install","packageMeta","packageName","configOptions","useTranslation","t","hasNpm","pkgManagers","includes","hasYarn","hasPnpm","hasPkgManagers","DependencyManager","NPM","YARN","PNPM"],"sources":["../../../src/components/Install/Install.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { Typography } from '@mui/material';\nimport List from '@mui/material/List';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { TemplateUIOptions } from '@verdaccio/types';\n\nimport { Theme } from '../../Theme';\nimport { PackageMetaInterface } from '../../types/packageMeta';\nimport InstallListItem, { DependencyManager } from './InstallListItem';\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme?.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport type Props = {\n packageMeta: PackageMetaInterface;\n packageName: string;\n configOptions: TemplateUIOptions;\n};\n\nconst Install: React.FC<Props> = ({ packageMeta, packageName, configOptions }) => {\n const { t } = useTranslation();\n\n if (!packageMeta || !packageName) {\n return null;\n }\n const hasNpm = configOptions?.pkgManagers?.includes('npm');\n const hasYarn = configOptions?.pkgManagers?.includes('yarn');\n const hasPnpm = configOptions?.pkgManagers?.includes('pnpm') ?? true;\n const hasPkgManagers = hasNpm || hasPnpm || hasYarn;\n\n return hasPkgManagers ? (\n <List\n data-testid={'installList'}\n subheader={<StyledText variant={'subtitle1'}>{t('sidebar.installation.title')}</StyledText>}\n >\n {hasNpm && (\n <InstallListItem dependencyManager={DependencyManager.NPM} packageName={packageName} />\n )}\n {hasYarn && (\n <InstallListItem dependencyManager={DependencyManager.YARN} packageName={packageName} />\n )}\n {hasPnpm && (\n <InstallListItem dependencyManager={DependencyManager.PNPM} packageName={packageName} />\n )}\n </List>\n ) : null;\n};\n\nexport default Install;\n"],"mappings":";;;;;;;;AACA;AACA;AACA;AACA;AAMA;AAAuE;AAAA;AAAA;AAEvE,IAAMA,UAAU,gBAAG,sBAAOC,oBAAU;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB,UAACC,KAAK;EAAA;EAAA,OAAM;IACnEC,UAAU,kBAAED,KAAK,CAACE,KAAK,iDAAX,aAAaD,UAAU,CAACE,IAAI;IACxCC,aAAa,EAAE;EACjB,CAAC;AAAA,CAAC,qrFAAC;AAQH,IAAMC,OAAwB,GAAG,SAA3BA,OAAwB,OAAoD;EAAA;EAAA,IAA9CC,WAAW,QAAXA,WAAW;IAAEC,WAAW,QAAXA,WAAW;IAAEC,aAAa,QAAbA,aAAa;EACzE,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,IAAI,CAACJ,WAAW,IAAI,CAACC,WAAW,EAAE;IAChC,OAAO,IAAI;EACb;EACA,IAAMI,MAAM,GAAGH,aAAa,aAAbA,aAAa,gDAAbA,aAAa,CAAEI,WAAW,0DAA1B,sBAA4BC,QAAQ,CAAC,KAAK,CAAC;EAC1D,IAAMC,OAAO,GAAGN,aAAa,aAAbA,aAAa,iDAAbA,aAAa,CAAEI,WAAW,2DAA1B,uBAA4BC,QAAQ,CAAC,MAAM,CAAC;EAC5D,IAAME,OAAO,6BAAGP,aAAa,aAAbA,aAAa,iDAAbA,aAAa,CAAEI,WAAW,2DAA1B,uBAA4BC,QAAQ,CAAC,MAAM,CAAC,2EAAI,IAAI;EACpE,IAAMG,cAAc,GAAGL,MAAM,IAAII,OAAO,IAAID,OAAO;EAEnD,OAAOE,cAAc,gBACnB,gCAAC,gBAAI;IACH,eAAa,aAAc;IAC3B,SAAS,eAAE,gCAAC,UAAU;MAAC,OAAO,EAAE;IAAY,GAAEN,CAAC,CAAC,4BAA4B,CAAC;EAAe,GAE3FC,MAAM,iBACL,gCAAC,2BAAe;IAAC,iBAAiB,EAAEM,kCAAiB,CAACC,GAAI;IAAC,WAAW,EAAEX;EAAY,EACrF,EACAO,OAAO,iBACN,gCAAC,2BAAe;IAAC,iBAAiB,EAAEG,kCAAiB,CAACE,IAAK;IAAC,WAAW,EAAEZ;EAAY,EACtF,EACAQ,OAAO,iBACN,gCAAC,2BAAe;IAAC,iBAAiB,EAAEE,kCAAiB,CAACG,IAAK;IAAC,WAAW,EAAEb;EAAY,EACtF,CACI,GACL,IAAI;AACV,CAAC;AAAC,eAEaF,OAAO;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InstallListItem.js","names":["InstallItem","ListItem","InstallListItemText","ListItemText","PackageMangerAvatar","Avatar","DependencyManager","InstallListItem","packageName","dependencyManager","useTranslation","t","NPM","bgcolor","YARN","PNPM"],"sources":["../../../src/components/Install/InstallListItem.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Avatar from '@mui/material/Avatar';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemText from '@mui/material/ListItemText';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport CopyToClipBoard from '../CopyClipboard';\nimport { Npm, Pnpm, Yarn } from '../Icons';\n\nconst InstallItem = styled(ListItem)({\n padding: 0,\n ':hover': {\n backgroundColor: 'transparent',\n },\n});\n\nconst InstallListItemText = styled(ListItemText)({\n padding: '0 10px',\n margin: 0,\n});\n\nconst PackageMangerAvatar = styled(Avatar)({\n borderRadius: '0px',\n padding: '0',\n});\n\nexport enum DependencyManager {\n NPM = 'npm',\n YARN = 'yarn',\n PNPM = 'pnpm',\n}\n\ninterface Interface {\n packageName: string;\n dependencyManager: DependencyManager;\n}\n\nconst InstallListItem: React.FC<Interface> = ({ packageName, dependencyManager }) => {\n const { t } = useTranslation();\n\n switch (dependencyManager) {\n case DependencyManager.NPM:\n return (\n <InstallItem data-testid={'installListItem-npm'}>\n <PackageMangerAvatar alt=\"npm\" sx={{ bgcolor: '#FFF' }}>\n <Npm />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installYarn\"\n text={t('sidebar.installation.install-using-npm-command', { packageName })}\n title={t('sidebar.installation.install-using-npm-command', { packageName })}\n />\n }\n secondary={t('sidebar.installation.install-using-npm')}\n />\n </InstallItem>\n );\n case DependencyManager.YARN:\n return (\n <InstallItem data-testid={'installListItem-yarn'}>\n <PackageMangerAvatar alt=\"yarn\" sx={{ bgcolor: '#FFF' }}>\n <Yarn />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installYarn\"\n text={t('sidebar.installation.install-using-yarn-command', { packageName })}\n title={t('sidebar.installation.install-using-yarn-command', { packageName })}\n />\n }\n secondary={t('sidebar.installation.install-using-yarn')}\n />\n </InstallItem>\n );\n case DependencyManager.PNPM:\n return (\n <InstallItem data-testid={'installListItem-pnpm'}>\n <PackageMangerAvatar alt={'pnpm'} sx={{ bgcolor: '#FFF' }}>\n <Pnpm />\n </PackageMangerAvatar>\n <InstallListItemText\n primary={\n <CopyToClipBoard\n dataTestId=\"installPnpm\"\n text={t('sidebar.installation.install-using-pnpm-command', { packageName })}\n title={t('sidebar.installation.install-using-pnpm-command', { packageName })}\n />\n }\n secondary={t('sidebar.installation.install-using-pnpm')}\n />\n </InstallItem>\n );\n default:\n return null;\n }\n};\n\nexport default InstallListItem;\n"],"mappings":";;;;;;;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AAA2C;AAAA;AAE3C,IAAMA,WAAW,gBAAG,sBAAOC,oBAAQ;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAKlC;AAEF,IAAMC,mBAAmB,gBAAG,sBAAOC,wBAAY;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAG9C;AAEF,IAAMC,mBAAmB,gBAAG,sBAAOC,kBAAM;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC;EAAA;EAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA,EAGxC;AAAC,IAESC,iBAAiB;AAAA;AAAA,WAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;AAAA,GAAjBA,iBAAiB,iCAAjBA,iBAAiB;AAW7B,IAAMC,eAAoC,GAAG,SAAvCA,eAAoC,OAA2C;EAAA,IAArCC,WAAW,QAAXA,WAAW;IAAEC,iBAAiB,QAAjBA,iBAAiB;EAC5E,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,QAAQF,iBAAiB;IACvB,KAAKH,iBAAiB,CAACM,GAAG;MACxB,oBACE,gCAAC,WAAW;QAAC,eAAa;MAAsB,gBAC9C,gCAAC,mBAAmB;QAAC,GAAG,EAAC,KAAK;QAAC,EAAE,EAAE;UAAEC,OAAO,EAAE;QAAO;MAAE,gBACrD,gCAAC,UAAG,OAAG,CACa,eACtB,gCAAC,mBAAmB;QAClB,OAAO,eACL,gCAAC,yBAAe;UACd,UAAU,EAAC,aAAa;UACxB,IAAI,EAAEF,CAAC,CAAC,gDAAgD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC,CAAE;UAC3E,KAAK,EAAEG,CAAC,CAAC,gDAAgD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC;QAAE,EAE/E;QACD,SAAS,EAAEG,CAAC,CAAC,wCAAwC;MAAE,EACvD,CACU;IAElB,KAAKL,iBAAiB,CAACQ,IAAI;MACzB,oBACE,gCAAC,WAAW;QAAC,eAAa;MAAuB,gBAC/C,gCAAC,mBAAmB;QAAC,GAAG,EAAC,MAAM;QAAC,EAAE,EAAE;UAAED,OAAO,EAAE;QAAO;MAAE,gBACtD,gCAAC,WAAI,OAAG,CACY,eACtB,gCAAC,mBAAmB;QAClB,OAAO,eACL,gCAAC,yBAAe;UACd,UAAU,EAAC,aAAa;UACxB,IAAI,EAAEF,CAAC,CAAC,iDAAiD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC,CAAE;UAC5E,KAAK,EAAEG,CAAC,CAAC,iDAAiD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC;QAAE,EAEhF;QACD,SAAS,EAAEG,CAAC,CAAC,yCAAyC;MAAE,EACxD,CACU;IAElB,KAAKL,iBAAiB,CAACS,IAAI;MACzB,oBACE,gCAAC,WAAW;QAAC,eAAa;MAAuB,gBAC/C,gCAAC,mBAAmB;QAAC,GAAG,EAAE,MAAO;QAAC,EAAE,EAAE;UAAEF,OAAO,EAAE;QAAO;MAAE,gBACxD,gCAAC,WAAI,OAAG,CACY,eACtB,gCAAC,mBAAmB;QAClB,OAAO,eACL,gCAAC,yBAAe;UACd,UAAU,EAAC,aAAa;UACxB,IAAI,EAAEF,CAAC,CAAC,iDAAiD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC,CAAE;UAC5E,KAAK,EAAEG,CAAC,CAAC,iDAAiD,EAAE;YAAEH,WAAW,EAAXA;UAAY,CAAC;QAAE,EAEhF;QACD,SAAS,EAAEG,CAAC,CAAC,yCAAyC;MAAE,EACxD,CACU;IAElB;MACE,OAAO,IAAI;EAAC;AAElB,CAAC;AAAC,eAEaJ,eAAe;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/components/Install/index.ts"],"sourcesContent":["export { default } from './Install';\n"],"mappings":";;;;;;;;;;;AAAA;AAAoC"}
|