@verdaccio/ui-components 2.0.0-6-next.3 → 2.0.0-6-next.5
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 +16 -0
- package/.eslintrc +100 -0
- package/.storybook/main.js +13 -0
- package/.storybook/preview-head.html +10 -0
- package/.storybook/preview.js +52 -0
- package/CHANGELOG.md +68 -0
- package/build/Theme/ResetStyles.js +53 -0
- package/build/Theme/ResetStyles.js.map +1 -0
- package/build/Theme/StyleBaseline.js +17 -0
- package/build/Theme/StyleBaseline.js.map +1 -0
- package/build/Theme/ThemeProvider.js +61 -0
- package/build/Theme/ThemeProvider.js.map +1 -0
- package/build/Theme/colors.js +9 -0
- package/build/Theme/colors.js.map +1 -0
- package/build/Theme/index.js +46 -0
- package/build/Theme/index.js.map +1 -0
- package/build/Theme/theme.js +110 -0
- package/build/Theme/theme.js.map +1 -0
- package/build/__mocks__/react-markdown.js +17 -0
- package/build/__mocks__/react-markdown.js.map +1 -0
- package/build/__mocks__/remark-plugin.js +8 -0
- package/build/__mocks__/remark-plugin.js.map +1 -0
- package/build/components/ActionBar/ActionBar.js +84 -0
- package/build/components/ActionBar/ActionBar.js.map +1 -0
- package/build/components/ActionBar/ActionBarAction.js +107 -0
- package/build/components/ActionBar/ActionBarAction.js.map +1 -0
- package/build/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +263 -0
- package/build/components/ActionBar/index.js +14 -0
- package/build/components/ActionBar/index.js.map +1 -0
- package/build/components/Author/Author.js +63 -0
- package/build/components/Author/Author.js.map +1 -0
- package/build/components/Author/__snapshots__/Author.test.tsx.snap +753 -0
- package/build/components/Author/index.js +14 -0
- package/build/components/Author/index.js.map +1 -0
- package/build/components/Author/styles.js +55 -0
- package/build/components/Author/styles.js.map +1 -0
- package/build/components/CopyClipboard/CopyToClipBoard.js +71 -0
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -0
- package/build/components/CopyClipboard/index.js +21 -0
- package/build/components/CopyClipboard/index.js.map +1 -0
- package/build/components/CopyClipboard/utils.js +25 -0
- package/build/components/CopyClipboard/utils.js.map +1 -0
- package/build/components/Dependencies/Dependencies.js +104 -0
- package/build/components/Dependencies/Dependencies.js.map +1 -0
- package/build/components/Dependencies/index.js +14 -0
- package/build/components/Dependencies/index.js.map +1 -0
- package/build/components/Dependencies/styles.js +70 -0
- package/build/components/Dependencies/styles.js.map +1 -0
- package/build/components/Dependencies/types.js +6 -0
- package/build/components/Dependencies/types.js.map +1 -0
- package/build/components/Deprecated/Deprecated.js +36 -0
- package/build/components/Deprecated/Deprecated.js.map +1 -0
- package/build/components/Deprecated/index.js +14 -0
- package/build/components/Deprecated/index.js.map +1 -0
- package/build/components/Developers/Developers.js +111 -0
- package/build/components/Developers/Developers.js.map +1 -0
- package/build/components/Developers/Title.js +47 -0
- package/build/components/Developers/Title.js.map +1 -0
- package/build/components/Developers/__snapshots__/Developers.test.tsx.snap +668 -0
- package/build/components/Developers/get-unique-developer-values.js +25 -0
- package/build/components/Developers/get-unique-developer-values.js.map +1 -0
- package/build/components/Developers/index.js +22 -0
- package/build/components/Developers/index.js.map +1 -0
- package/build/components/Developers/styles.js +69 -0
- package/build/components/Developers/styles.js.map +1 -0
- package/build/components/Distribution/Dist.js +44 -0
- package/build/components/Distribution/Dist.js.map +1 -0
- package/build/components/Distribution/__snapshots__/Dist.test.tsx.snap +1436 -0
- package/build/components/Distribution/index.js +14 -0
- package/build/components/Distribution/index.js.map +1 -0
- package/build/components/Distribution/styles.js +70 -0
- package/build/components/Distribution/styles.js.map +1 -0
- package/build/components/Distribution/utils.js +26 -0
- package/build/components/Distribution/utils.js.map +1 -0
- package/build/components/Engines/Engines.js +76 -0
- package/build/components/Engines/Engines.js.map +1 -0
- package/build/components/Engines/index.js +14 -0
- package/build/components/Engines/index.js.map +1 -0
- package/build/components/Engines/styles.js +40 -0
- package/build/components/Engines/styles.js.map +1 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +63 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -0
- package/build/components/ErrorBoundary/index.js +14 -0
- package/build/components/ErrorBoundary/index.js.map +1 -0
- package/build/components/FundButton/FundButton.js +82 -0
- package/build/components/FundButton/FundButton.js.map +1 -0
- package/build/components/FundButton/index.js +14 -0
- package/build/components/FundButton/index.js.map +1 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +92 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -0
- package/build/components/HeaderInfoDialog/index.js +14 -0
- package/build/components/HeaderInfoDialog/index.js.map +1 -0
- package/build/components/Heading/Heading.js +29 -0
- package/build/components/Heading/Heading.js.map +1 -0
- package/build/components/Heading/index.js +14 -0
- package/build/components/Heading/index.js.map +1 -0
- package/build/components/Help/Help.js +60 -0
- package/build/components/Help/Help.js.map +1 -0
- package/build/components/Help/__snapshots__/Help.test.tsx.snap +395 -0
- package/build/components/Help/index.js +14 -0
- package/build/components/Help/index.js.map +1 -0
- package/build/components/Help/styles.js +26 -0
- package/build/components/Help/styles.js.map +1 -0
- package/build/components/Icons/DevsIcons/CommonJS.js +30 -0
- package/build/components/Icons/DevsIcons/CommonJS.js.map +1 -0
- package/build/components/Icons/DevsIcons/ES6Module.js +30 -0
- package/build/components/Icons/DevsIcons/ES6Module.js.map +1 -0
- package/build/components/Icons/DevsIcons/Git.js +30 -0
- package/build/components/Icons/DevsIcons/Git.js.map +1 -0
- package/build/components/Icons/DevsIcons/NodeJS.js +30 -0
- package/build/components/Icons/DevsIcons/NodeJS.js.map +1 -0
- package/build/components/Icons/DevsIcons/TypeScript.js +30 -0
- package/build/components/Icons/DevsIcons/TypeScript.js.map +1 -0
- package/build/components/Icons/DevsIcons/commonjs.svg +4 -0
- package/build/components/Icons/DevsIcons/es6modules.svg +4 -0
- package/build/components/Icons/DevsIcons/git.svg +4 -0
- package/build/components/Icons/DevsIcons/index.js +41 -0
- package/build/components/Icons/DevsIcons/index.js.map +1 -0
- package/build/components/Icons/DevsIcons/nodejs.svg +6 -0
- package/build/components/Icons/DevsIcons/typescript.svg +4 -0
- package/build/components/Icons/Earth.js +40 -0
- package/build/components/Icons/Earth.js.map +1 -0
- package/build/components/Icons/FileBinary.js +20 -0
- package/build/components/Icons/FileBinary.js.map +1 -0
- package/build/components/Icons/Law.js +21 -0
- package/build/components/Icons/Law.js.map +1 -0
- package/build/components/Icons/License.js +24 -0
- package/build/components/Icons/License.js.map +1 -0
- package/build/components/Icons/Managers/Npm.js +30 -0
- package/build/components/Icons/Managers/Npm.js.map +1 -0
- package/build/components/Icons/Managers/Pnpm.js +30 -0
- package/build/components/Icons/Managers/Pnpm.js.map +1 -0
- package/build/components/Icons/Managers/Yarn.js +30 -0
- package/build/components/Icons/Managers/Yarn.js.map +1 -0
- package/build/components/Icons/Managers/index.js +27 -0
- package/build/components/Icons/Managers/index.js.map +1 -0
- package/build/components/Icons/Managers/npm.svg +15 -0
- package/build/components/Icons/Managers/pnpm.svg +1 -0
- package/build/components/Icons/Managers/yarn.svg +1 -0
- package/build/components/Icons/SvgIcon.js +56 -0
- package/build/components/Icons/SvgIcon.js.map +1 -0
- package/build/components/Icons/Time.js +27 -0
- package/build/components/Icons/Time.js.map +1 -0
- package/build/components/Icons/Version.js +25 -0
- package/build/components/Icons/Version.js.map +1 -0
- package/build/components/Icons/index.js +80 -0
- package/build/components/Icons/index.js.map +1 -0
- package/build/components/Install/Install.js +61 -0
- package/build/components/Install/Install.js.map +1 -0
- package/build/components/Install/InstallListItem.js +138 -0
- package/build/components/Install/InstallListItem.js.map +1 -0
- package/build/components/Install/__partials__/data.json +5984 -0
- package/build/components/Install/img/npm.svg +15 -0
- package/build/components/Install/img/pnpm.svg +1 -0
- package/build/components/Install/img/yarn.svg +1 -0
- package/build/components/Install/index.js +14 -0
- package/build/components/Install/index.js.map +1 -0
- package/build/components/Label/Label.js +41 -0
- package/build/components/Label/Label.js.map +1 -0
- package/build/components/Label/__snapshots__/Label.test.tsx.snap +14 -0
- package/build/components/Label/index.js +14 -0
- package/build/components/Label/index.js.map +1 -0
- package/build/components/Link/Link.js +54 -0
- package/build/components/Link/Link.js.map +1 -0
- package/build/components/Link/index.js +14 -0
- package/build/components/Link/index.js.map +1 -0
- package/build/components/Loading/Loading.js +23 -0
- package/build/components/Loading/Loading.js.map +1 -0
- package/build/components/Loading/Spinner/Spinner.js +59 -0
- package/build/components/Loading/Spinner/Spinner.js.map +1 -0
- package/build/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +246 -0
- package/build/components/Loading/Spinner/index.js +14 -0
- package/build/components/Loading/Spinner/index.js.map +1 -0
- package/build/components/Loading/__snapshots__/Loading.test.tsx.snap +138 -0
- package/build/components/Loading/index.js +14 -0
- package/build/components/Loading/index.js.map +1 -0
- package/build/components/Loading/styles.js +40 -0
- package/build/components/Loading/styles.js.map +1 -0
- package/build/components/LoginDialog/LoginDialog.js +115 -0
- package/build/components/LoginDialog/LoginDialog.js.map +1 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.js +41 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -0
- package/build/components/LoginDialog/LoginDialogForm.js +126 -0
- package/build/components/LoginDialog/LoginDialogForm.js.map +1 -0
- package/build/components/LoginDialog/LoginDialogFormError.js +52 -0
- package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -0
- package/build/components/LoginDialog/LoginDialogHeader.js +60 -0
- package/build/components/LoginDialog/LoginDialogHeader.js.map +1 -0
- package/build/components/LoginDialog/__snapshots__/LoginDialog.test.tsx.snap +3 -0
- package/build/components/LoginDialog/index.js +14 -0
- package/build/components/LoginDialog/index.js.map +1 -0
- package/build/components/Logo/Logo.js +84 -0
- package/build/components/Logo/Logo.js.map +1 -0
- package/build/components/Logo/__snapshots__/Logo.test.tsx.snap +21 -0
- package/build/components/Logo/img/logo-black-and-white.svg +1 -0
- package/build/components/Logo/img/logo.svg +1 -0
- package/build/components/Logo/index.js +14 -0
- package/build/components/Logo/index.js.map +1 -0
- package/build/components/MenuItem/MenuItem.js +42 -0
- package/build/components/MenuItem/MenuItem.js.map +1 -0
- package/build/components/MenuItem/index.js +14 -0
- package/build/components/MenuItem/index.js.map +1 -0
- package/build/components/NoItems/NoItems.js +30 -0
- package/build/components/NoItems/NoItems.js.map +1 -0
- package/build/components/NoItems/__snapshots__/Noitems.test.tsx.snap +18 -0
- package/build/components/NoItems/index.js +14 -0
- package/build/components/NoItems/index.js.map +1 -0
- package/build/components/NotFound/NotFound.js +75 -0
- package/build/components/NotFound/NotFound.js.map +1 -0
- package/build/components/NotFound/__snapshots__/Notfound.test.tsx.snap +171 -0
- package/build/components/NotFound/img/package.svg +1 -0
- package/build/components/NotFound/index.js +14 -0
- package/build/components/NotFound/index.js.map +1 -0
- package/build/components/Package/Package.js +222 -0
- package/build/components/Package/Package.js.map +1 -0
- package/build/components/Package/Tag/Tag.js +16 -0
- package/build/components/Package/Tag/Tag.js.map +1 -0
- package/build/components/Package/Tag/__snapshots__/Tag.test.tsx.snap +21 -0
- package/build/components/Package/Tag/index.js +14 -0
- package/build/components/Package/Tag/index.js.map +1 -0
- package/build/components/Package/Tag/styles.js +25 -0
- package/build/components/Package/Tag/styles.js.map +1 -0
- package/build/components/Package/index.js +22 -0
- package/build/components/Package/index.js.map +1 -0
- package/build/components/Package/styles.js +229 -0
- package/build/components/Package/styles.js.map +1 -0
- package/build/components/PackageList/PackageList.js +96 -0
- package/build/components/PackageList/PackageList.js.map +1 -0
- package/build/components/PackageList/index.js +14 -0
- package/build/components/PackageList/index.js.map +1 -0
- package/build/components/RawViewer/RawViewer.js +63 -0
- package/build/components/RawViewer/RawViewer.js.map +1 -0
- package/build/components/RawViewer/index.js +14 -0
- package/build/components/RawViewer/index.js.map +1 -0
- package/build/components/Readme/Readme.js +43 -0
- package/build/components/Readme/Readme.js.map +1 -0
- package/build/components/Readme/Readme.spec.js +22 -0
- package/build/components/Readme/Readme.spec.js.map +1 -0
- package/build/components/Readme/__snapshots__/Readme.spec.tsx.snap +110 -0
- package/build/components/Readme/index.js +14 -0
- package/build/components/Readme/index.js.map +1 -0
- package/build/components/Readme/types.js +6 -0
- package/build/components/Readme/types.js.map +1 -0
- package/build/components/Readme/utils.js +36 -0
- package/build/components/Readme/utils.js.map +1 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -0
- package/build/components/RegistryInfoDialog/index.js +14 -0
- package/build/components/RegistryInfoDialog/index.js.map +1 -0
- package/build/components/RegistryInfoDialog/styles.js +51 -0
- package/build/components/RegistryInfoDialog/styles.js.map +1 -0
- package/build/components/RegistryInfoDialog/types.js +6 -0
- package/build/components/RegistryInfoDialog/types.js.map +1 -0
- package/build/components/Repository/Repository.js +128 -0
- package/build/components/Repository/Repository.js.map +1 -0
- package/build/components/Repository/__partials__/data.json +5984 -0
- package/build/components/Repository/__snapshots__/Repository.test.tsx.snap +3 -0
- package/build/components/Repository/img/git.png +0 -0
- package/build/components/Repository/index.js +14 -0
- package/build/components/Repository/index.js.map +1 -0
- package/build/components/Search/AutoComplete/AutoComplete.js +79 -0
- package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -0
- package/build/components/Search/AutoComplete/index.js +14 -0
- package/build/components/Search/AutoComplete/index.js.map +1 -0
- package/build/components/Search/AutoComplete/styles.js +64 -0
- package/build/components/Search/AutoComplete/styles.js.map +1 -0
- package/build/components/Search/Search.js +159 -0
- package/build/components/Search/Search.js.map +1 -0
- package/build/components/Search/SearchItem.js +145 -0
- package/build/components/Search/SearchItem.js.map +1 -0
- package/build/components/Search/__snapshots__/Search.test.tsx.snap +473 -0
- package/build/components/Search/index.js +14 -0
- package/build/components/Search/index.js.map +1 -0
- package/build/components/Search/styles.js +61 -0
- package/build/components/Search/styles.js.map +1 -0
- package/build/components/SideBarTittle/SideBarTittle.js +92 -0
- package/build/components/SideBarTittle/SideBarTittle.js.map +1 -0
- package/build/components/SideBarTittle/index.js +14 -0
- package/build/components/SideBarTittle/index.js.map +1 -0
- package/build/components/SideBarTittle/utils.js +20 -0
- package/build/components/SideBarTittle/utils.js.map +1 -0
- package/build/components/TextField/TextField.js +35 -0
- package/build/components/TextField/TextField.js.map +1 -0
- package/build/components/TextField/__snapshots__/TextField.test.tsx.snap +236 -0
- package/build/components/TextField/index.js +14 -0
- package/build/components/TextField/index.js.map +1 -0
- package/build/components/UpLinks/UpLinks.js +42 -0
- package/build/components/UpLinks/UpLinks.js.map +1 -0
- package/build/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap +407 -0
- package/build/components/UpLinks/index.js +14 -0
- package/build/components/UpLinks/index.js.map +1 -0
- package/build/components/UpLinks/styles.js +52 -0
- package/build/components/UpLinks/styles.js.map +1 -0
- package/build/components/Versions/HistoryList.js +41 -0
- package/build/components/Versions/HistoryList.js.map +1 -0
- package/build/components/Versions/TagList.js +34 -0
- package/build/components/Versions/TagList.js.map +1 -0
- package/build/components/Versions/Versions.js +45 -0
- package/build/components/Versions/Versions.js.map +1 -0
- package/build/components/Versions/__partials__/data.json +5984 -0
- package/build/components/Versions/index.js +14 -0
- package/build/components/Versions/index.js.map +1 -0
- package/build/components/Versions/styles.js +40 -0
- package/build/components/Versions/styles.js.map +1 -0
- package/build/components/Versions/types.js +6 -0
- package/build/components/Versions/types.js.map +1 -0
- package/build/hooks/index.js +21 -0
- package/build/hooks/index.js.map +1 -0
- package/build/hooks/useLocalStorage.js +63 -0
- package/build/hooks/useLocalStorage.js.map +1 -0
- package/build/hooks/useOnClickOutside.js +33 -0
- package/build/hooks/useOnClickOutside.js.map +1 -0
- package/build/index.js +493 -0
- package/build/index.js.map +1 -0
- package/build/jest/server-handlers.d.ts +1 -0
- package/build/jest/server.d.ts +2 -0
- package/build/layouts/Version/Version.js +29 -0
- package/build/layouts/Version/Version.js.map +1 -0
- package/build/layouts/Version/index.js +14 -0
- package/build/layouts/Version/index.js.map +1 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +76 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -0
- package/build/providers/AppConfigurationProvider/index.js +22 -0
- package/build/providers/AppConfigurationProvider/index.js.map +1 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js +79 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -0
- package/build/providers/TranslatorProvider/index.js +28 -0
- package/build/providers/TranslatorProvider/index.js.map +1 -0
- package/build/providers/VersionProvider/README.md +22 -0
- package/build/providers/VersionProvider/VersionProvider.js +83 -0
- package/build/providers/VersionProvider/VersionProvider.js.map +1 -0
- package/build/providers/VersionProvider/index.js +22 -0
- package/build/providers/VersionProvider/index.js.map +1 -0
- package/build/providers/index.js +39 -0
- package/build/providers/index.js.map +1 -0
- package/build/sections/Detail/ContainerContent.js +68 -0
- package/build/sections/Detail/ContainerContent.js.map +1 -0
- package/build/sections/Detail/Detail.js +61 -0
- package/build/sections/Detail/Detail.js.map +1 -0
- package/build/sections/Detail/ReadmeSection.js +21 -0
- package/build/sections/Detail/ReadmeSection.js.map +1 -0
- package/build/sections/Detail/Tabs.js +59 -0
- package/build/sections/Detail/Tabs.js.map +1 -0
- package/build/sections/Detail/__snapshots__/Detail.test.tsx.snap +237 -0
- package/build/sections/Detail/index.js +14 -0
- package/build/sections/Detail/index.js.map +1 -0
- package/build/sections/Footer/Footer.js +111 -0
- package/build/sections/Footer/Footer.js.map +1 -0
- package/build/sections/Footer/__snapshots__/Footer.test.tsx.snap +486 -0
- package/build/sections/Footer/index.js +14 -0
- package/build/sections/Footer/index.js.map +1 -0
- package/build/sections/Footer/styles.js +96 -0
- package/build/sections/Footer/styles.js.map +1 -0
- package/build/sections/Header/Header.js +107 -0
- package/build/sections/Header/Header.js.map +1 -0
- package/build/sections/Header/HeaderGreetings.js +24 -0
- package/build/sections/Header/HeaderGreetings.js.map +1 -0
- package/build/sections/Header/HeaderLeft.js +38 -0
- package/build/sections/Header/HeaderLeft.js.map +1 -0
- package/build/sections/Header/HeaderMenu.js +53 -0
- package/build/sections/Header/HeaderMenu.js.map +1 -0
- package/build/sections/Header/HeaderRight.js +114 -0
- package/build/sections/Header/HeaderRight.js.map +1 -0
- package/build/sections/Header/HeaderSettingsDialog.js +117 -0
- package/build/sections/Header/HeaderSettingsDialog.js.map +1 -0
- package/build/sections/Header/HeaderToolTip.js +20 -0
- package/build/sections/Header/HeaderToolTip.js.map +1 -0
- package/build/sections/Header/HeaderToolTipIcon.js +70 -0
- package/build/sections/Header/HeaderToolTipIcon.js.map +1 -0
- package/build/sections/Header/LanguageSwitch.js +134 -0
- package/build/sections/Header/LanguageSwitch.js.map +1 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +189 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -0
- package/build/sections/Header/RegistryInfoContent/index.js +14 -0
- package/build/sections/Header/RegistryInfoContent/index.js.map +1 -0
- package/build/sections/Header/RegistryInfoContent/styles.js +34 -0
- package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -0
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -0
- package/build/sections/Header/RegistryInfoDialog/index.js +14 -0
- package/build/sections/Header/RegistryInfoDialog/index.js.map +1 -0
- package/build/sections/Header/RegistryInfoDialog/styles.js +51 -0
- package/build/sections/Header/RegistryInfoDialog/styles.js.map +1 -0
- package/build/sections/Header/RegistryInfoDialog/types.js +6 -0
- package/build/sections/Header/RegistryInfoDialog/types.js.map +1 -0
- package/build/sections/Header/index.js +14 -0
- package/build/sections/Header/index.js.map +1 -0
- package/build/sections/Header/styles.js +216 -0
- package/build/sections/Header/styles.js.map +1 -0
- package/build/sections/Home/Home.js +35 -0
- package/build/sections/Home/Home.js.map +1 -0
- package/build/sections/Home/index.js +14 -0
- package/build/sections/Home/index.js.map +1 -0
- package/build/sections/SideBar/Sidebar.js +114 -0
- package/build/sections/SideBar/Sidebar.js.map +1 -0
- package/build/sections/SideBar/index.js +14 -0
- package/build/sections/SideBar/index.js.map +1 -0
- package/build/sections/index.js +21 -0
- package/build/sections/index.js.map +1 -0
- package/build/src/Theme/ResetStyles.d.ts +3 -0
- package/build/src/Theme/StyleBaseline.d.ts +4 -0
- package/build/src/Theme/ThemeProvider.d.ts +10 -0
- package/build/src/Theme/colors.d.ts +1 -0
- package/build/src/Theme/index.d.ts +4 -0
- package/build/src/Theme/theme.d.ts +149 -0
- package/build/src/__mocks__/react-markdown.d.ts +4 -0
- package/build/src/__mocks__/remark-plugin.d.ts +1 -0
- package/build/src/components/ActionBar/ActionBar.d.ts +8 -0
- package/build/src/components/ActionBar/ActionBar.stories.d.ts +6 -0
- package/build/src/components/ActionBar/ActionBar.test.d.ts +1 -0
- package/build/src/components/ActionBar/ActionBarAction.d.ts +43 -0
- package/build/src/components/ActionBar/index.d.ts +1 -0
- package/build/src/components/Author/Author.d.ts +10 -0
- package/build/src/components/Author/Author.stories.d.ts +6 -0
- package/build/src/components/Author/Author.test.d.ts +1 -0
- package/build/src/components/Author/index.d.ts +1 -0
- package/build/src/components/Author/styles.d.ts +25 -0
- package/build/src/components/CopyClipboard/CopyToClipBoard.d.ts +9 -0
- package/build/src/components/CopyClipboard/CopyToClipBoard.stories.d.ts +12 -0
- package/build/src/components/CopyClipboard/index.d.ts +2 -0
- package/build/src/components/CopyClipboard/utils.d.ts +2 -0
- package/build/src/components/Dependencies/Dependencies.d.ts +5 -0
- package/build/src/components/Dependencies/Dependencies.stories.d.ts +6 -0
- package/build/src/components/Dependencies/Dependencies.test.d.ts +1 -0
- package/build/src/components/Dependencies/index.d.ts +1 -0
- package/build/src/components/Dependencies/styles.d.ts +36 -0
- package/build/src/components/Dependencies/types.d.ts +6 -0
- package/build/src/components/Deprecated/Deprecated.d.ts +17 -0
- package/build/src/components/Deprecated/Deprecated.stories.d.ts +5 -0
- package/build/src/components/Deprecated/Deprecated.test.d.ts +1 -0
- package/build/src/components/Deprecated/index.d.ts +1 -0
- package/build/src/components/Developers/Developers.d.ts +47 -0
- package/build/src/components/Developers/Developers.stories.d.ts +6 -0
- package/build/src/components/Developers/Developers.test.d.ts +1 -0
- package/build/src/components/Developers/Title.d.ts +10 -0
- package/build/src/components/Developers/get-unique-developer-values.d.ts +3 -0
- package/build/src/components/Developers/index.d.ts +1 -0
- package/build/src/components/Developers/styles.d.ts +44 -0
- package/build/src/components/Distribution/Dist.d.ts +6 -0
- package/build/src/components/Distribution/Dist.stories.d.ts +5 -0
- package/build/src/components/Distribution/Dist.test.d.ts +1 -0
- package/build/src/components/Distribution/index.d.ts +1 -0
- package/build/src/components/Distribution/styles.d.ts +77 -0
- package/build/src/components/Distribution/utils.d.ts +6 -0
- package/build/src/components/Engines/Engines.d.ts +25 -0
- package/build/src/components/Engines/Engines.stories.d.ts +9 -0
- package/build/src/components/Engines/Engines.test.d.ts +1 -0
- package/build/src/components/Engines/index.d.ts +1 -0
- package/build/src/components/Engines/styles.d.ts +22 -0
- package/build/src/components/ErrorBoundary/ErrorBoundary.d.ts +14 -0
- package/build/src/components/ErrorBoundary/index.d.ts +1 -0
- package/build/src/components/FundButton/FundButton.d.ts +5 -0
- package/build/src/components/FundButton/FundButton.stories.d.ts +5 -0
- package/build/src/components/FundButton/FundButton.test.d.ts +1 -0
- package/build/src/components/FundButton/index.d.ts +1 -0
- package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.d.ts +10 -0
- package/build/src/components/HeaderInfoDialog/index.d.ts +1 -0
- package/build/src/components/Heading/Heading.d.ts +8 -0
- package/build/src/components/Heading/index.d.ts +1 -0
- package/build/src/components/Help/Help.d.ts +3 -0
- package/build/src/components/Help/Help.stories.d.ts +5 -0
- package/build/src/components/Help/Help.test.d.ts +1 -0
- package/build/src/components/Help/index.d.ts +1 -0
- package/build/src/components/Help/styles.d.ts +10 -0
- package/build/src/components/Icons/DevsIcons/CommonJS.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/ES6Module.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/Git.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/NodeJS.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/TypeScript.d.ts +2 -0
- package/build/src/components/Icons/DevsIcons/index.d.ts +5 -0
- package/build/src/components/Icons/Earth.d.ts +7 -0
- package/build/src/components/Icons/FileBinary.d.ts +7 -0
- package/build/src/components/Icons/Icons.stories.d.ts +5 -0
- package/build/src/components/Icons/Law.d.ts +7 -0
- package/build/src/components/Icons/License.d.ts +7 -0
- package/build/src/components/Icons/Managers/Npm.d.ts +2 -0
- package/build/src/components/Icons/Managers/Pnpm.d.ts +2 -0
- package/build/src/components/Icons/Managers/Yarn.d.ts +2 -0
- package/build/src/components/Icons/Managers/index.d.ts +3 -0
- package/build/src/components/Icons/SvgIcon.d.ts +10 -0
- package/build/src/components/Icons/Time.d.ts +7 -0
- package/build/src/components/Icons/Version.d.ts +7 -0
- package/build/src/components/Icons/index.d.ts +8 -0
- package/build/src/components/Install/Install.d.ts +10 -0
- package/build/src/components/Install/Install.stories.d.ts +5 -0
- package/build/src/components/Install/Install.test.d.ts +1 -0
- package/build/src/components/Install/InstallListItem.d.ts +12 -0
- package/build/src/components/Install/index.d.ts +1 -0
- package/build/src/components/Label/Label.d.ts +9 -0
- package/build/src/components/Label/Label.test.d.ts +1 -0
- package/build/src/components/Label/index.d.ts +1 -0
- package/build/src/components/Link/Link.d.ts +6 -0
- package/build/src/components/Link/index.d.ts +1 -0
- package/build/src/components/Loading/Loading.d.ts +3 -0
- package/build/src/components/Loading/Loading.stories.d.ts +5 -0
- package/build/src/components/Loading/Loading.test.d.ts +1 -0
- package/build/src/components/Loading/Spinner/Spinner.d.ts +7 -0
- package/build/src/components/Loading/Spinner/Spinner.test.d.ts +1 -0
- package/build/src/components/Loading/Spinner/index.d.ts +1 -0
- package/build/src/components/Loading/index.d.ts +1 -0
- package/build/src/components/Loading/styles.d.ts +11 -0
- package/build/src/components/LoginDialog/LoginDialog.d.ts +7 -0
- package/build/src/components/LoginDialog/LoginDialog.stories.d.ts +15 -0
- package/build/src/components/LoginDialog/LoginDialog.test.d.ts +1 -0
- package/build/src/components/LoginDialog/LoginDialogCloseButton.d.ts +6 -0
- package/build/src/components/LoginDialog/LoginDialogForm.d.ts +12 -0
- package/build/src/components/LoginDialog/LoginDialogFormError.d.ts +11 -0
- package/build/src/components/LoginDialog/LoginDialogHeader.d.ts +6 -0
- package/build/src/components/LoginDialog/index.d.ts +1 -0
- package/build/src/components/Logo/Logo.d.ts +14 -0
- package/build/src/components/Logo/Logo.test.d.ts +1 -0
- package/build/src/components/Logo/index.d.ts +1 -0
- package/build/src/components/MenuItem/MenuItem.d.ts +9 -0
- package/build/src/components/MenuItem/index.d.ts +1 -0
- package/build/src/components/NoItems/NoItems.d.ts +7 -0
- package/build/src/components/NoItems/NoItems.stories.d.ts +5 -0
- package/build/src/components/NoItems/Noitems.test.d.ts +1 -0
- package/build/src/components/NoItems/index.d.ts +1 -0
- package/build/src/components/NotFound/NotFound.d.ts +3 -0
- package/build/src/components/NotFound/Notfound.test.d.ts +1 -0
- package/build/src/components/NotFound/index.d.ts +1 -0
- package/build/src/components/Package/Package.d.ts +24 -0
- package/build/src/components/Package/Package.test.d.ts +1 -0
- package/build/src/components/Package/Tag/Tag.d.ts +6 -0
- package/build/src/components/Package/Tag/Tag.test.d.ts +1 -0
- package/build/src/components/Package/Tag/index.d.ts +1 -0
- package/build/src/components/Package/Tag/styles.d.ts +5 -0
- package/build/src/components/Package/index.d.ts +1 -0
- package/build/src/components/Package/styles.d.ts +107 -0
- package/build/src/components/PackageList/PackageList.d.ts +6 -0
- package/build/src/components/PackageList/Packagelist.test.d.ts +1 -0
- package/build/src/components/PackageList/index.d.ts +1 -0
- package/build/src/components/RawViewer/RawViewer.d.ts +13 -0
- package/build/src/components/RawViewer/index.d.ts +1 -0
- package/build/src/components/Readme/Readme.d.ts +6 -0
- package/build/src/components/Readme/Readme.spec.d.ts +1 -0
- package/build/src/components/Readme/index.d.ts +1 -0
- package/build/src/components/Readme/types.d.ts +3 -0
- package/build/src/components/Readme/utils.d.ts +1 -0
- package/build/src/components/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
- package/build/src/components/RegistryInfoDialog/index.d.ts +1 -0
- package/build/src/components/RegistryInfoDialog/styles.d.ts +23 -0
- package/build/src/components/RegistryInfoDialog/types.d.ts +7 -0
- package/build/src/components/Repository/Repository.d.ts +5 -0
- package/build/src/components/Repository/Repository.stories.d.ts +6 -0
- package/build/src/components/Repository/Repository.test.d.ts +1 -0
- package/build/src/components/Repository/index.d.ts +1 -0
- package/build/src/components/Search/AutoComplete/AutoComplete.d.ts +16 -0
- package/build/src/components/Search/AutoComplete/index.d.ts +1 -0
- package/build/src/components/Search/AutoComplete/styles.d.ts +13 -0
- package/build/src/components/Search/Search.d.ts +4 -0
- package/build/src/components/Search/Search.stories.d.ts +8 -0
- package/build/src/components/Search/Search.test.d.ts +1 -0
- package/build/src/components/Search/SearchItem.d.ts +18 -0
- package/build/src/components/Search/index.d.ts +1 -0
- package/build/src/components/Search/styles.d.ts +24 -0
- package/build/src/components/SideBarTittle/SideBarTittle.d.ts +13 -0
- package/build/src/components/SideBarTittle/index.d.ts +1 -0
- package/build/src/components/SideBarTittle/utils.d.ts +3 -0
- package/build/src/components/TextField/TextField.d.ts +3 -0
- package/build/src/components/TextField/TextField.test.d.ts +1 -0
- package/build/src/components/TextField/index.d.ts +1 -0
- package/build/src/components/UpLinks/UpLinks.d.ts +5 -0
- package/build/src/components/UpLinks/UpLinks.test.d.ts +1 -0
- package/build/src/components/UpLinks/Uplinks.stories.d.ts +6 -0
- package/build/src/components/UpLinks/index.d.ts +1 -0
- package/build/src/components/UpLinks/styles.d.ts +13 -0
- package/build/src/components/Versions/HistoryList.d.ts +9 -0
- package/build/src/components/Versions/TagList.d.ts +9 -0
- package/build/src/components/Versions/Versions.d.ts +7 -0
- package/build/src/components/Versions/Versions.test.d.ts +1 -0
- package/build/src/components/Versions/index.d.ts +1 -0
- package/build/src/components/Versions/styles.d.ts +12 -0
- package/build/src/components/Versions/types.d.ts +17 -0
- package/build/src/hooks/index.d.ts +2 -0
- package/build/src/hooks/useLocalStorage.d.ts +12 -0
- package/build/src/hooks/useOnClickOutside.d.ts +9 -0
- package/build/src/index.d.ts +49 -0
- package/build/src/layouts/Version/Version.d.ts +3 -0
- package/build/src/layouts/Version/Version.stories.d.ts +6 -0
- package/build/src/layouts/Version/index.d.ts +1 -0
- package/build/src/providers/AppConfigurationProvider/AppConfigurationProvider.d.ts +10 -0
- package/build/src/providers/AppConfigurationProvider/index.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.d.ts +23 -0
- package/build/src/providers/TranslatorProvider/index.d.ts +1 -0
- package/build/src/providers/VersionProvider/VersionProvider.d.ts +43 -0
- package/build/src/providers/VersionProvider/VersionProvider.test.d.ts +1 -0
- package/build/src/providers/VersionProvider/index.d.ts +1 -0
- package/build/src/providers/index.d.ts +3 -0
- package/build/src/sections/Detail/ContainerContent.d.ts +13 -0
- package/build/src/sections/Detail/Detail.d.ts +9 -0
- package/build/src/sections/Detail/Detail.stories.d.ts +6 -0
- package/build/src/sections/Detail/Detail.test.d.ts +1 -0
- package/build/src/sections/Detail/ReadmeSection.d.ts +6 -0
- package/build/src/sections/Detail/Tabs.d.ts +7 -0
- package/build/src/sections/Detail/index.d.ts +1 -0
- package/build/src/sections/Footer/Footer.d.ts +3 -0
- package/build/src/sections/Footer/Footer.test.d.ts +1 -0
- package/build/src/sections/Footer/index.d.ts +1 -0
- package/build/src/sections/Footer/styles.d.ts +33 -0
- package/build/src/sections/Header/Header.d.ts +6 -0
- package/build/src/sections/Header/Header.stories.d.ts +5 -0
- package/build/src/sections/Header/Header.test.d.ts +1 -0
- package/build/src/sections/Header/HeaderGreetings.d.ts +6 -0
- package/build/src/sections/Header/HeaderLeft.d.ts +6 -0
- package/build/src/sections/Header/HeaderMenu.d.ts +11 -0
- package/build/src/sections/Header/HeaderRight.d.ts +16 -0
- package/build/src/sections/Header/HeaderSettingsDialog.d.ts +7 -0
- package/build/src/sections/Header/HeaderToolTip.d.ts +9 -0
- package/build/src/sections/Header/HeaderToolTipIcon.d.ts +8 -0
- package/build/src/sections/Header/LanguageSwitch.d.ts +25 -0
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +24 -0
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoContent/index.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +13 -0
- package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +4 -0
- package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +1 -0
- package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +23 -0
- package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +7 -0
- package/build/src/sections/Header/index.d.ts +1 -0
- package/build/src/sections/Header/styles.d.ts +192 -0
- package/build/src/sections/Home/Home.d.ts +3 -0
- package/build/src/sections/Home/Home.stories.d.ts +5 -0
- package/build/src/sections/Home/index.d.ts +1 -0
- package/build/src/sections/SideBar/Sidebar.d.ts +3 -0
- package/build/src/sections/SideBar/Sidebar.stories.d.ts +7 -0
- package/build/src/sections/SideBar/Sidebar.test.d.ts +1 -0
- package/build/src/sections/SideBar/index.d.ts +1 -0
- package/build/src/sections/index.d.ts +2 -0
- package/build/src/store/api.d.ts +11 -0
- package/build/src/store/index.d.ts +3 -0
- package/build/src/store/models/configuration.d.ts +24 -0
- package/build/src/store/models/download.d.ts +16 -0
- package/build/src/store/models/index.d.ts +16 -0
- package/build/src/store/models/login.d.ts +68 -0
- package/build/src/store/models/manifest.d.ts +43 -0
- package/build/src/store/models/packages.d.ts +28 -0
- package/build/src/store/models/search.d.ts +42 -0
- package/build/src/store/storage.d.ts +2 -0
- package/build/src/store/store.d.ts +9 -0
- package/build/src/test/i18n-config.d.ts +2 -0
- package/build/src/test/test-react-testing-library.d.ts +8 -0
- package/build/src/types/index.d.ts +10 -0
- package/build/src/types/packageMeta.d.ts +84 -0
- package/build/src/utils/__partials__/packageMeta.d.ts +236 -0
- package/build/src/utils/cli-utils.d.ts +6 -0
- package/build/src/utils/index.d.ts +5 -0
- package/build/src/utils/loadable.d.ts +12 -0
- package/build/src/utils/routes.d.ts +7 -0
- package/build/src/utils/url.d.ts +4 -0
- package/build/src/utils/utils.d.ts +32 -0
- package/build/store/api.js +87 -0
- package/build/store/api.js.map +1 -0
- package/build/store/index.js +52 -0
- package/build/store/index.js.map +1 -0
- package/build/store/models/configuration.js +71 -0
- package/build/store/models/configuration.js.map +1 -0
- package/build/store/models/download.js +65 -0
- package/build/store/models/download.js.map +1 -0
- package/build/store/models/index.js +22 -0
- package/build/store/models/index.js.map +1 -0
- package/build/store/models/login.js +118 -0
- package/build/store/models/login.js.map +1 -0
- package/build/store/models/manifest.js +125 -0
- package/build/store/models/manifest.js.map +1 -0
- package/build/store/models/packages.js +73 -0
- package/build/store/models/packages.js.map +1 -0
- package/build/store/models/search.js +118 -0
- package/build/store/models/search.js.map +1 -0
- package/build/store/storage.js +19 -0
- package/build/store/storage.js.map +1 -0
- package/build/store/store.js +16 -0
- package/build/store/store.js.map +1 -0
- package/build/test/i18n-config.js +26 -0
- package/build/test/i18n-config.js.map +1 -0
- package/build/test/test-react-testing-library.js +58 -0
- package/build/test/test-react-testing-library.js.map +1 -0
- package/build/types/index.js +6 -0
- package/build/types/index.js.map +1 -0
- package/build/types/packageMeta.js +6 -0
- package/build/types/packageMeta.js.map +1 -0
- package/build/utils/__partials__/packageMeta.js +536 -0
- package/build/utils/__partials__/packageMeta.js.map +1 -0
- package/build/utils/cli-utils.js +42 -0
- package/build/utils/cli-utils.js.map +1 -0
- package/build/utils/index.js +54 -0
- package/build/utils/index.js.map +1 -0
- package/build/utils/loadable.js +30 -0
- package/build/utils/loadable.js.map +1 -0
- package/build/utils/routes.js +16 -0
- package/build/utils/routes.js.map +1 -0
- package/build/utils/url.js +64 -0
- package/build/utils/url.js.map +1 -0
- package/build/utils/utils.js +107 -0
- package/build/utils/utils.js.map +1 -0
- package/jest/api/home-packages.json +40 -0
- package/jest/api/jquery-readme.js +3 -0
- package/jest/api/jquery-sidebar.json +5908 -0
- package/jest/api/search-verdaccio.json +1192 -0
- package/jest/api/storybook-readme.txt +2 -0
- package/jest/api/storybook-sidebar.json +53782 -0
- package/jest/api/storybook-v.json +53782 -0
- package/jest/identity.js +29 -0
- package/jest/jest.config.js +38 -0
- package/jest/jestEnvironment.js +1 -0
- package/jest/server-handlers.ts +57 -0
- package/jest/server.ts +6 -0
- package/jest/setup-env.ts +15 -0
- package/jest/setup.ts +31 -0
- package/jest/unit/empty-string.ts +1 -0
- package/jest/unit/empty.ts +1 -0
- package/msw/browser.js +5 -0
- package/package.json +9 -12
- package/public/dark-logo.png +0 -0
- package/public/mockServiceWorker.js +302 -0
- package/src/Theme/ResetStyles.tsx +44 -0
- package/src/Theme/StyleBaseline.tsx +14 -0
- package/src/Theme/ThemeProvider.tsx +45 -0
- package/src/Theme/colors.ts +1 -0
- package/src/Theme/index.ts +4 -0
- package/src/Theme/theme.ts +161 -0
- package/src/__mocks__/react-markdown.tsx +8 -0
- package/src/__mocks__/remark-plugin.ts +1 -0
- package/src/components/ActionBar/ActionBar.stories.tsx +50 -0
- package/src/components/ActionBar/ActionBar.test.tsx +85 -0
- package/src/components/ActionBar/ActionBar.tsx +59 -0
- package/src/components/ActionBar/ActionBarAction.tsx +84 -0
- package/src/components/ActionBar/__snapshots__/ActionBar.test.tsx.snap +263 -0
- package/src/components/ActionBar/index.ts +1 -0
- package/src/components/Author/Author.stories.tsx +53 -0
- package/src/components/Author/Author.test.tsx +69 -0
- package/src/components/Author/Author.tsx +59 -0
- package/src/components/Author/__snapshots__/Author.test.tsx.snap +753 -0
- package/src/components/Author/index.ts +1 -0
- package/src/components/Author/styles.ts +22 -0
- package/src/components/CopyClipboard/CopyToClipBoard.stories.tsx +20 -0
- package/src/components/CopyClipboard/CopyToClipBoard.tsx +50 -0
- package/src/components/CopyClipboard/index.ts +2 -0
- package/src/components/CopyClipboard/utils.ts +21 -0
- package/src/components/Dependencies/Dependencies.stories.tsx +58 -0
- package/src/components/Dependencies/Dependencies.test.tsx +79 -0
- package/src/components/Dependencies/Dependencies.tsx +101 -0
- package/src/components/Dependencies/index.ts +1 -0
- package/src/components/Dependencies/styles.ts +26 -0
- package/src/components/Dependencies/types.ts +7 -0
- package/src/components/Deprecated/Deprecated.stories.tsx +9 -0
- package/src/components/Deprecated/Deprecated.test.tsx +26 -0
- package/src/components/Deprecated/Deprecated.tsx +31 -0
- package/src/components/Deprecated/index.ts +1 -0
- package/src/components/Developers/Developers.stories.tsx +60 -0
- package/src/components/Developers/Developers.test.tsx +102 -0
- package/src/components/Developers/Developers.tsx +82 -0
- package/src/components/Developers/Title.tsx +32 -0
- package/src/components/Developers/__snapshots__/Developers.test.tsx.snap +668 -0
- package/src/components/Developers/get-unique-developer-values.ts +16 -0
- package/src/components/Developers/index.ts +1 -0
- package/src/components/Developers/styles.ts +31 -0
- package/src/components/Distribution/Dist.stories.tsx +24 -0
- package/src/components/Distribution/Dist.test.tsx +72 -0
- package/src/components/Distribution/Dist.tsx +50 -0
- package/src/components/Distribution/__snapshots__/Dist.test.tsx.snap +1436 -0
- package/src/components/Distribution/index.ts +1 -0
- package/src/components/Distribution/styles.ts +29 -0
- package/src/components/Distribution/utils.ts +31 -0
- package/src/components/Engines/Engines.stories.tsx +71 -0
- package/src/components/Engines/Engines.test.tsx +56 -0
- package/src/components/Engines/Engines.tsx +95 -0
- package/src/components/Engines/index.ts +1 -0
- package/src/components/Engines/styles.ts +14 -0
- package/src/components/ErrorBoundary/ErrorBoundary.tsx +38 -0
- package/src/components/ErrorBoundary/index.ts +1 -0
- package/src/components/FundButton/FundButton.stories.tsx +25 -0
- package/src/components/FundButton/FundButton.test.tsx +84 -0
- package/src/components/FundButton/FundButton.tsx +48 -0
- package/src/components/FundButton/index.ts +1 -0
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +82 -0
- package/src/components/HeaderInfoDialog/index.ts +1 -0
- package/src/components/Heading/Heading.tsx +16 -0
- package/src/components/Heading/index.ts +1 -0
- package/src/components/Help/Help.stories.tsx +9 -0
- package/src/components/Help/Help.test.tsx +11 -0
- package/src/components/Help/Help.tsx +54 -0
- package/src/components/Help/__snapshots__/Help.test.tsx.snap +395 -0
- package/src/components/Help/index.ts +1 -0
- package/src/components/Help/styles.ts +7 -0
- package/src/components/Icons/.eslintrc +5 -0
- package/src/components/Icons/DevsIcons/CommonJS.tsx +13 -0
- package/src/components/Icons/DevsIcons/ES6Module.tsx +13 -0
- package/src/components/Icons/DevsIcons/Git.tsx +13 -0
- package/src/components/Icons/DevsIcons/NodeJS.tsx +13 -0
- package/src/components/Icons/DevsIcons/TypeScript.tsx +13 -0
- package/src/components/Icons/DevsIcons/commonjs.svg +4 -0
- package/src/components/Icons/DevsIcons/es6modules.svg +4 -0
- package/src/components/Icons/DevsIcons/git.svg +4 -0
- package/src/components/Icons/DevsIcons/index.ts +5 -0
- package/src/components/Icons/DevsIcons/nodejs.svg +6 -0
- package/src/components/Icons/DevsIcons/typescript.svg +4 -0
- package/src/components/Icons/Earth.tsx +36 -0
- package/src/components/Icons/FileBinary.tsx +20 -0
- package/src/components/Icons/Icons.stories.tsx +37 -0
- package/src/components/Icons/Law.tsx +20 -0
- package/src/components/Icons/License.tsx +18 -0
- package/src/components/Icons/Managers/Npm.tsx +13 -0
- package/src/components/Icons/Managers/Pnpm.tsx +13 -0
- package/src/components/Icons/Managers/Yarn.tsx +13 -0
- package/src/components/Icons/Managers/index.ts +3 -0
- package/src/components/Icons/Managers/npm.svg +15 -0
- package/src/components/Icons/Managers/pnpm.svg +1 -0
- package/src/components/Icons/Managers/yarn.svg +1 -0
- package/src/components/Icons/SvgIcon.tsx +39 -0
- package/src/components/Icons/Time.tsx +19 -0
- package/src/components/Icons/Version.tsx +20 -0
- package/src/components/Icons/index.ts +8 -0
- package/src/components/Install/Install.stories.tsx +34 -0
- package/src/components/Install/Install.test.tsx +84 -0
- package/src/components/Install/Install.tsx +53 -0
- package/src/components/Install/InstallListItem.tsx +102 -0
- package/src/components/Install/__partials__/data.json +5984 -0
- package/src/components/Install/img/npm.svg +15 -0
- package/src/components/Install/img/pnpm.svg +1 -0
- package/src/components/Install/img/yarn.svg +1 -0
- package/src/components/Install/index.ts +1 -0
- package/src/components/Label/Label.test.tsx +14 -0
- package/src/components/Label/Label.tsx +36 -0
- package/src/components/Label/__snapshots__/Label.test.tsx.snap +14 -0
- package/src/components/Label/index.ts +1 -0
- package/src/components/Link/Link.tsx +32 -0
- package/src/components/Link/index.ts +1 -0
- package/src/components/Loading/Loading.stories.tsx +14 -0
- package/src/components/Loading/Loading.test.tsx +11 -0
- package/src/components/Loading/Loading.tsx +16 -0
- package/src/components/Loading/Spinner/Spinner.test.tsx +13 -0
- package/src/components/Loading/Spinner/Spinner.tsx +34 -0
- package/src/components/Loading/Spinner/__snapshots__/Spinner.test.tsx.snap +246 -0
- package/src/components/Loading/Spinner/index.tsx +1 -0
- package/src/components/Loading/__snapshots__/Loading.test.tsx.snap +138 -0
- package/src/components/Loading/index.ts +1 -0
- package/src/components/Loading/styles.ts +17 -0
- package/src/components/LoginDialog/LoginDialog.stories.tsx +20 -0
- package/src/components/LoginDialog/LoginDialog.test.tsx +108 -0
- package/src/components/LoginDialog/LoginDialog.tsx +79 -0
- package/src/components/LoginDialog/LoginDialogCloseButton.tsx +32 -0
- package/src/components/LoginDialog/LoginDialogForm.tsx +96 -0
- package/src/components/LoginDialog/LoginDialogFormError.tsx +42 -0
- package/src/components/LoginDialog/LoginDialogHeader.tsx +48 -0
- package/src/components/LoginDialog/__snapshots__/LoginDialog.test.tsx.snap +3 -0
- package/src/components/LoginDialog/index.ts +1 -0
- package/src/components/Logo/Logo.test.tsx +11 -0
- package/src/components/Logo/Logo.tsx +55 -0
- package/src/components/Logo/__snapshots__/Logo.test.tsx.snap +21 -0
- package/src/components/Logo/img/logo-black-and-white.svg +1 -0
- package/src/components/Logo/img/logo.svg +1 -0
- package/src/components/Logo/index.ts +1 -0
- package/src/components/MenuItem/MenuItem.tsx +25 -0
- package/src/components/MenuItem/index.ts +1 -0
- package/src/components/NoItems/NoItems.stories.tsx +11 -0
- package/src/components/NoItems/NoItems.tsx +16 -0
- package/src/components/NoItems/Noitems.test.tsx +15 -0
- package/src/components/NoItems/__snapshots__/Noitems.test.tsx.snap +18 -0
- package/src/components/NoItems/index.ts +1 -0
- package/src/components/NotFound/NotFound.tsx +52 -0
- package/src/components/NotFound/Notfound.test.tsx +36 -0
- package/src/components/NotFound/__snapshots__/Notfound.test.tsx.snap +171 -0
- package/src/components/NotFound/img/package.svg +1 -0
- package/src/components/NotFound/index.ts +1 -0
- package/src/components/Package/Package.test.tsx +54 -0
- package/src/components/Package/Package.tsx +261 -0
- package/src/components/Package/Tag/Tag.test.tsx +15 -0
- package/src/components/Package/Tag/Tag.tsx +11 -0
- package/src/components/Package/Tag/__snapshots__/Tag.test.tsx.snap +21 -0
- package/src/components/Package/Tag/index.ts +1 -0
- package/src/components/Package/Tag/styles.ts +11 -0
- package/src/components/Package/index.ts +1 -0
- package/src/components/Package/styles.ts +104 -0
- package/src/components/PackageList/PackageList.tsx +81 -0
- package/src/components/PackageList/Packagelist.test.tsx +58 -0
- package/src/components/PackageList/index.ts +1 -0
- package/src/components/RawViewer/RawViewer.tsx +72 -0
- package/src/components/RawViewer/index.ts +1 -0
- package/src/components/Readme/Readme.spec.tsx +18 -0
- package/src/components/Readme/Readme.tsx +30 -0
- package/src/components/Readme/__snapshots__/Readme.spec.tsx.snap +110 -0
- package/src/components/Readme/index.ts +1 -0
- package/src/components/Readme/types.ts +3 -0
- package/src/components/Readme/utils.ts +25 -0
- package/src/components/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
- package/src/components/RegistryInfoDialog/index.ts +1 -0
- package/src/components/RegistryInfoDialog/styles.ts +21 -0
- package/src/components/RegistryInfoDialog/types.ts +8 -0
- package/src/components/Repository/Repository.stories.tsx +43 -0
- package/src/components/Repository/Repository.test.tsx +43 -0
- package/src/components/Repository/Repository.tsx +90 -0
- package/src/components/Repository/__partials__/data.json +5984 -0
- package/src/components/Repository/__snapshots__/Repository.test.tsx.snap +3 -0
- package/src/components/Repository/img/git.png +0 -0
- package/src/components/Repository/index.ts +1 -0
- package/src/components/Search/AutoComplete/AutoComplete.tsx +83 -0
- package/src/components/Search/AutoComplete/index.ts +1 -0
- package/src/components/Search/AutoComplete/styles.tsx +42 -0
- package/src/components/Search/Search.stories.tsx +30 -0
- package/src/components/Search/Search.test.tsx +153 -0
- package/src/components/Search/Search.tsx +162 -0
- package/src/components/Search/SearchItem.tsx +114 -0
- package/src/components/Search/__snapshots__/Search.test.tsx.snap +473 -0
- package/src/components/Search/index.ts +1 -0
- package/src/components/Search/styles.ts +41 -0
- package/src/components/SideBarTittle/SideBarTittle.tsx +81 -0
- package/src/components/SideBarTittle/index.ts +1 -0
- package/src/components/SideBarTittle/utils.ts +12 -0
- package/src/components/TextField/TextField.test.tsx +15 -0
- package/src/components/TextField/TextField.tsx +24 -0
- package/src/components/TextField/__snapshots__/TextField.test.tsx.snap +236 -0
- package/src/components/TextField/index.ts +1 -0
- package/src/components/UpLinks/UpLinks.test.tsx +47 -0
- package/src/components/UpLinks/UpLinks.tsx +41 -0
- package/src/components/UpLinks/Uplinks.stories.tsx +47 -0
- package/src/components/UpLinks/__snapshots__/UpLinks.test.tsx.snap +407 -0
- package/src/components/UpLinks/index.ts +1 -0
- package/src/components/UpLinks/styles.ts +24 -0
- package/src/components/Versions/HistoryList.tsx +41 -0
- package/src/components/Versions/TagList.tsx +33 -0
- package/src/components/Versions/Versions.test.tsx +39 -0
- package/src/components/Versions/Versions.tsx +40 -0
- package/src/components/Versions/__partials__/data.json +5984 -0
- package/src/components/Versions/index.ts +1 -0
- package/src/components/Versions/styles.ts +20 -0
- package/src/components/Versions/types.ts +19 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useLocalStorage.ts +49 -0
- package/src/hooks/useOnClickOutside.ts +33 -0
- package/src/index.ts +58 -0
- package/src/layouts/Version/Version.stories.tsx +29 -0
- package/src/layouts/Version/Version.tsx +19 -0
- package/src/layouts/Version/index.ts +1 -0
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +74 -0
- package/src/providers/AppConfigurationProvider/index.ts +1 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.tsx +53 -0
- package/src/providers/TranslatorProvider/index.ts +1 -0
- package/src/providers/VersionProvider/README.md +22 -0
- package/src/providers/VersionProvider/VersionProvider.test.tsx +49 -0
- package/src/providers/VersionProvider/VersionProvider.tsx +94 -0
- package/src/providers/VersionProvider/index.ts +1 -0
- package/src/providers/index.ts +3 -0
- package/src/sections/Detail/ContainerContent.tsx +46 -0
- package/src/sections/Detail/Detail.stories.tsx +29 -0
- package/src/sections/Detail/Detail.test.tsx +12 -0
- package/src/sections/Detail/Detail.tsx +34 -0
- package/src/sections/Detail/ReadmeSection.tsx +17 -0
- package/src/sections/Detail/Tabs.tsx +36 -0
- package/src/sections/Detail/__snapshots__/Detail.test.tsx.snap +237 -0
- package/src/sections/Detail/index.ts +1 -0
- package/src/sections/Footer/Footer.test.tsx +19 -0
- package/src/sections/Footer/Footer.tsx +112 -0
- package/src/sections/Footer/__snapshots__/Footer.test.tsx.snap +486 -0
- package/src/sections/Footer/index.ts +1 -0
- package/src/sections/Footer/styles.ts +44 -0
- package/src/sections/Header/Header.stories.tsx +36 -0
- package/src/sections/Header/Header.test.tsx +278 -0
- package/src/sections/Header/Header.tsx +79 -0
- package/src/sections/Header/HeaderGreetings.tsx +21 -0
- package/src/sections/Header/HeaderLeft.tsx +29 -0
- package/src/sections/Header/HeaderMenu.tsx +63 -0
- package/src/sections/Header/HeaderRight.tsx +131 -0
- package/src/sections/Header/HeaderSettingsDialog.tsx +81 -0
- package/src/sections/Header/HeaderToolTip.tsx +15 -0
- package/src/sections/Header/HeaderToolTipIcon.tsx +87 -0
- package/src/sections/Header/LanguageSwitch.tsx +96 -0
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +26 -0
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +196 -0
- package/src/sections/Header/RegistryInfoContent/index.ts +1 -0
- package/src/sections/Header/RegistryInfoContent/styles.ts +13 -0
- package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +31 -0
- package/src/sections/Header/RegistryInfoDialog/index.ts +1 -0
- package/src/sections/Header/RegistryInfoDialog/styles.ts +21 -0
- package/src/sections/Header/RegistryInfoDialog/types.ts +8 -0
- package/src/sections/Header/index.ts +1 -0
- package/src/sections/Header/styles.ts +100 -0
- package/src/sections/Home/Home.stories.tsx +16 -0
- package/src/sections/Home/Home.tsx +22 -0
- package/src/sections/Home/index.ts +1 -0
- package/src/sections/SideBar/Sidebar.stories.tsx +39 -0
- package/src/sections/SideBar/Sidebar.test.tsx +107 -0
- package/src/sections/SideBar/Sidebar.tsx +80 -0
- package/src/sections/SideBar/index.ts +1 -0
- package/src/sections/index.ts +2 -0
- package/src/store/api.test.ts +136 -0
- package/src/store/api.ts +73 -0
- package/src/store/index.ts +3 -0
- package/src/store/models/configuration.ts +46 -0
- package/src/store/models/download.ts +34 -0
- package/src/store/models/index.ts +18 -0
- package/src/store/models/login.ts +100 -0
- package/src/store/models/manifest.ts +98 -0
- package/src/store/models/packages.ts +43 -0
- package/src/store/models/search.ts +86 -0
- package/src/store/storage.ts +12 -0
- package/src/store/store.ts +15 -0
- package/src/test/i18n-config.ts +19 -0
- package/src/test/test-react-testing-library.tsx +42 -0
- package/src/types/index.ts +11 -0
- package/src/types/packageMeta.ts +92 -0
- package/src/utils/.eslintrc +5 -0
- package/src/utils/__partials__/packageMeta.ts +591 -0
- package/src/utils/cli-utils.test.ts +66 -0
- package/src/utils/cli-utils.ts +53 -0
- package/src/utils/index.ts +10 -0
- package/src/utils/loadable.tsx +20 -0
- package/src/utils/routes.ts +7 -0
- package/src/utils/url.test.ts +28 -0
- package/src/utils/url.ts +57 -0
- package/src/utils/utils.test.ts +113 -0
- package/src/utils/utils.ts +120 -0
- package/tsconfig.build.json +21 -0
- package/tsconfig.json +22 -0
- package/LICENSE +0 -21
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`DetailContainer renders correctly 1`] = `
|
|
4
|
+
.emotion-0 {
|
|
5
|
+
display: -webkit-box;
|
|
6
|
+
display: -webkit-flex;
|
|
7
|
+
display: -ms-flexbox;
|
|
8
|
+
display: flex;
|
|
9
|
+
-webkit-flex-direction: column;
|
|
10
|
+
-ms-flex-direction: column;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
padding: 16px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.emotion-2 {
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
min-height: 48px;
|
|
18
|
+
-webkit-overflow-scrolling: touch;
|
|
19
|
+
display: -webkit-box;
|
|
20
|
+
display: -webkit-flex;
|
|
21
|
+
display: -ms-flexbox;
|
|
22
|
+
display: flex;
|
|
23
|
+
margin-bottom: 16px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (max-width:599.95px) {
|
|
27
|
+
.emotion-2 .MuiTabs-scrollButtons {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.emotion-3 {
|
|
33
|
+
position: relative;
|
|
34
|
+
display: inline-block;
|
|
35
|
+
-webkit-flex: 1 1 auto;
|
|
36
|
+
-ms-flex: 1 1 auto;
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
overflow-x: hidden;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.emotion-4 {
|
|
44
|
+
display: -webkit-box;
|
|
45
|
+
display: -webkit-flex;
|
|
46
|
+
display: -ms-flexbox;
|
|
47
|
+
display: flex;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.emotion-5 {
|
|
51
|
+
display: -webkit-inline-box;
|
|
52
|
+
display: -webkit-inline-flex;
|
|
53
|
+
display: -ms-inline-flexbox;
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
-webkit-align-items: center;
|
|
56
|
+
-webkit-box-align: center;
|
|
57
|
+
-ms-flex-align: center;
|
|
58
|
+
align-items: center;
|
|
59
|
+
-webkit-box-pack: center;
|
|
60
|
+
-ms-flex-pack: center;
|
|
61
|
+
-webkit-justify-content: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
position: relative;
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
-webkit-tap-highlight-color: transparent;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
outline: 0;
|
|
68
|
+
border: 0;
|
|
69
|
+
margin: 0;
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
padding: 0;
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
-webkit-user-select: none;
|
|
74
|
+
-moz-user-select: none;
|
|
75
|
+
-ms-user-select: none;
|
|
76
|
+
user-select: none;
|
|
77
|
+
vertical-align: middle;
|
|
78
|
+
-moz-appearance: none;
|
|
79
|
+
-webkit-appearance: none;
|
|
80
|
+
-webkit-text-decoration: none;
|
|
81
|
+
text-decoration: none;
|
|
82
|
+
color: inherit;
|
|
83
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
font-size: 0.875rem;
|
|
86
|
+
line-height: 1.25;
|
|
87
|
+
text-transform: uppercase;
|
|
88
|
+
max-width: none;
|
|
89
|
+
min-width: 90px;
|
|
90
|
+
position: relative;
|
|
91
|
+
min-height: 48px;
|
|
92
|
+
-webkit-flex-shrink: 1;
|
|
93
|
+
-ms-flex-negative: 1;
|
|
94
|
+
flex-shrink: 1;
|
|
95
|
+
padding: 12px 16px;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
white-space: normal;
|
|
98
|
+
text-align: center;
|
|
99
|
+
-webkit-flex-direction: column;
|
|
100
|
+
-ms-flex-direction: column;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
color: rgba(0, 0, 0, 0.6);
|
|
103
|
+
-webkit-box-flex: 1;
|
|
104
|
+
-webkit-flex-grow: 1;
|
|
105
|
+
-ms-flex-positive: 1;
|
|
106
|
+
flex-grow: 1;
|
|
107
|
+
-webkit-flex-basis: 0;
|
|
108
|
+
-ms-flex-preferred-size: 0;
|
|
109
|
+
flex-basis: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.emotion-5::-moz-focus-inner {
|
|
113
|
+
border-style: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.emotion-5.Mui-disabled {
|
|
117
|
+
pointer-events: none;
|
|
118
|
+
cursor: default;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media print {
|
|
122
|
+
.emotion-5 {
|
|
123
|
+
-webkit-print-color-adjust: exact;
|
|
124
|
+
color-adjust: exact;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.emotion-5.Mui-selected {
|
|
129
|
+
color: #4b5e40;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.emotion-5.Mui-disabled {
|
|
133
|
+
color: rgba(0, 0, 0, 0.38);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.emotion-6 {
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
pointer-events: none;
|
|
139
|
+
position: absolute;
|
|
140
|
+
z-index: 0;
|
|
141
|
+
top: 0;
|
|
142
|
+
right: 0;
|
|
143
|
+
bottom: 0;
|
|
144
|
+
left: 0;
|
|
145
|
+
border-radius: inherit;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.emotion-13 {
|
|
149
|
+
position: absolute;
|
|
150
|
+
height: 2px;
|
|
151
|
+
bottom: 0;
|
|
152
|
+
width: 100%;
|
|
153
|
+
-webkit-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
154
|
+
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
155
|
+
background-color: #4b5e40;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
<div
|
|
159
|
+
class="MuiBox-root emotion-0"
|
|
160
|
+
>
|
|
161
|
+
<div
|
|
162
|
+
class="MuiTabs-root emotion-1 emotion-2"
|
|
163
|
+
color="primary"
|
|
164
|
+
>
|
|
165
|
+
<div
|
|
166
|
+
class="MuiTabs-scroller MuiTabs-fixed emotion-3"
|
|
167
|
+
style="overflow: hidden; margin-bottom: 0px;"
|
|
168
|
+
>
|
|
169
|
+
<div
|
|
170
|
+
class="MuiTabs-flexContainer emotion-4"
|
|
171
|
+
role="tablist"
|
|
172
|
+
>
|
|
173
|
+
<button
|
|
174
|
+
aria-selected="true"
|
|
175
|
+
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary MuiTab-fullWidth Mui-selected emotion-5"
|
|
176
|
+
data-testid="readme-tab"
|
|
177
|
+
id="readme-tab"
|
|
178
|
+
role="tab"
|
|
179
|
+
tabindex="0"
|
|
180
|
+
type="button"
|
|
181
|
+
>
|
|
182
|
+
tab.readme
|
|
183
|
+
<span
|
|
184
|
+
class="MuiTouchRipple-root emotion-6"
|
|
185
|
+
/>
|
|
186
|
+
</button>
|
|
187
|
+
<button
|
|
188
|
+
aria-selected="false"
|
|
189
|
+
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary MuiTab-fullWidth emotion-5"
|
|
190
|
+
data-testid="dependencies-tab"
|
|
191
|
+
id="dependencies-tab"
|
|
192
|
+
role="tab"
|
|
193
|
+
tabindex="-1"
|
|
194
|
+
type="button"
|
|
195
|
+
>
|
|
196
|
+
tab.dependencies
|
|
197
|
+
<span
|
|
198
|
+
class="MuiTouchRipple-root emotion-6"
|
|
199
|
+
/>
|
|
200
|
+
</button>
|
|
201
|
+
<button
|
|
202
|
+
aria-selected="false"
|
|
203
|
+
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary MuiTab-fullWidth emotion-5"
|
|
204
|
+
data-testid="versions-tab"
|
|
205
|
+
id="versions-tab"
|
|
206
|
+
role="tab"
|
|
207
|
+
tabindex="-1"
|
|
208
|
+
type="button"
|
|
209
|
+
>
|
|
210
|
+
tab.versions
|
|
211
|
+
<span
|
|
212
|
+
class="MuiTouchRipple-root emotion-6"
|
|
213
|
+
/>
|
|
214
|
+
</button>
|
|
215
|
+
<button
|
|
216
|
+
aria-selected="false"
|
|
217
|
+
class="MuiButtonBase-root MuiTab-root MuiTab-textColorPrimary MuiTab-fullWidth emotion-5"
|
|
218
|
+
data-testid="uplinks-tab"
|
|
219
|
+
id="uplinks-tab"
|
|
220
|
+
role="tab"
|
|
221
|
+
tabindex="-1"
|
|
222
|
+
type="button"
|
|
223
|
+
>
|
|
224
|
+
tab.uplinks
|
|
225
|
+
<span
|
|
226
|
+
class="MuiTouchRipple-root emotion-6"
|
|
227
|
+
/>
|
|
228
|
+
</button>
|
|
229
|
+
</div>
|
|
230
|
+
<span
|
|
231
|
+
class="MuiTabs-indicator emotion-13"
|
|
232
|
+
style="left: 0px; width: 0px;"
|
|
233
|
+
/>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
`;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "default", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Detail["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Detail = _interopRequireDefault(require("./Detail"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/sections/Detail/index.ts"],"sourcesContent":["export { default } from './Detail';\n"],"mappings":";;;;;;;;;;;AAAA;AAAmC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
9
|
+
var _x = _interopRequireDefault(require("country-flag-icons/react/3x2"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _reactI18next = require("react-i18next");
|
|
12
|
+
var _ = require("../../");
|
|
13
|
+
var _Icons = require("../../components/Icons");
|
|
14
|
+
var _styles = require("./styles");
|
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
16
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
17
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
18
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
19
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
20
|
+
function goToVerdaccioWebsite() {
|
|
21
|
+
window.open('https://verdaccio.org', '_blank');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* eslint-disable react/jsx-key */
|
|
25
|
+
var Footer = function Footer() {
|
|
26
|
+
var _useTranslation = (0, _reactI18next.useTranslation)(),
|
|
27
|
+
t = _useTranslation.t;
|
|
28
|
+
var _useConfig = (0, _.useConfig)(),
|
|
29
|
+
configOptions = _useConfig.configOptions;
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(_styles.Wrapper, {
|
|
31
|
+
"data-testid": "footer"
|
|
32
|
+
}, /*#__PURE__*/_react["default"].createElement(_styles.Inner, null, /*#__PURE__*/_react["default"].createElement(_styles.Left, null, /*#__PURE__*/_react["default"].createElement(_reactI18next.Trans, {
|
|
33
|
+
components: [/*#__PURE__*/_react["default"].createElement(_styles.Love, null)],
|
|
34
|
+
i18nKey: "footer.made-with-love-on"
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement(ToolTip, null, /*#__PURE__*/_react["default"].createElement(StyledEarth, null), /*#__PURE__*/_react["default"].createElement(Flags, null, /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].ES, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].NI, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].IN, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].BR, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].CN, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].AU, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].DE, null)), /*#__PURE__*/_react["default"].createElement(Icon, null, /*#__PURE__*/_react["default"].createElement(_x["default"].TW, null))))), /*#__PURE__*/_react["default"].createElement(_styles.Right, null, (configOptions === null || configOptions === void 0 ? void 0 : configOptions.version) && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, t('footer.powered-by'), /*#__PURE__*/_react["default"].createElement(_.Logo, {
|
|
36
|
+
isDefault: true,
|
|
37
|
+
onClick: goToVerdaccioWebsite,
|
|
38
|
+
size: "x-small"
|
|
39
|
+
}), "/ ".concat(configOptions.version)))));
|
|
40
|
+
};
|
|
41
|
+
var _default = Footer;
|
|
42
|
+
exports["default"] = _default;
|
|
43
|
+
var StyledEarth = /*#__PURE__*/(0, _base["default"])(_Icons.Earth, process.env.NODE_ENV === "production" ? {
|
|
44
|
+
target: "e9dwga53"
|
|
45
|
+
} : {
|
|
46
|
+
target: "e9dwga53",
|
|
47
|
+
label: "StyledEarth"
|
|
48
|
+
})(function (_ref) {
|
|
49
|
+
var theme = _ref.theme;
|
|
50
|
+
return {
|
|
51
|
+
margin: theme.spacing(0, 1)
|
|
52
|
+
};
|
|
53
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1RW9CIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIHJlYWN0L2pzeC1tYXgtZGVwdGggKi9cblxuLyogZXNsaW50LWRpc2FibGUgcmVhY3Q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gICAgIDxGbGFncz5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5FUyAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uTkkgLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLklOIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5CUiAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uQ04gLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkFVIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5ERSAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uVFcgLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgPC9GbGFncz5cbiAgICAgICAgICA8L1Rvb2xUaXA+XG4gICAgICAgIDwvTGVmdD5cbiAgICAgICAgPFJpZ2h0PlxuICAgICAgICAgIHtjb25maWdPcHRpb25zPy52ZXJzaW9uICYmIChcbiAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgIHt0KCdmb290ZXIucG93ZXJlZC1ieScpfVxuICAgICAgICAgICAgICA8TG9nbyBpc0RlZmF1bHQ9e3RydWV9IG9uQ2xpY2s9e2dvVG9WZXJkYWNjaW9XZWJzaXRlfSBza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CR7dGhlbWU/LnBhbGV0dGUuZ3JleUF0aGVuc30gdHJhbnNwYXJlbnQgdHJhbnNwYXJlbnQgdHJhbnNwYXJlbnRgLFxuICAgIHRyYW5zZm9ybTogJ3JvdGF0ZSg5MGRlZyknLFxuICB9LFxufSkpO1xuXG5jb25zdCBJY29uID0gc3R5bGVkKCdkaXYnKSh7XG4gIHdpZHRoOiAnMTBweCcsXG59KTtcblxuY29uc3QgVG9vbFRpcCA9IHN0eWxlZCgnc3BhbicpKHtcbiAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG4gIGhlaWdodDogJzE4cHgnLFxuICAnOmhvdmVyJzoge1xuICAgIFtgJHtGbGFnc31gXToge1xuICAgICAgdmlzaWJpbGl0eTogJ3Zpc2libGUnLFxuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ== */");
|
|
54
|
+
var Flags = /*#__PURE__*/(0, _base["default"])('span', process.env.NODE_ENV === "production" ? {
|
|
55
|
+
target: "e9dwga52"
|
|
56
|
+
} : {
|
|
57
|
+
target: "e9dwga52",
|
|
58
|
+
label: "Flags"
|
|
59
|
+
})(function (_ref2) {
|
|
60
|
+
var theme = _ref2.theme;
|
|
61
|
+
return {
|
|
62
|
+
display: 'inline-grid',
|
|
63
|
+
gridTemplateColumns: 'repeat(8, max-content)',
|
|
64
|
+
gridGap: theme.spacing(0, 1),
|
|
65
|
+
position: 'absolute',
|
|
66
|
+
background: theme === null || theme === void 0 ? void 0 : theme.palette.greyAthens,
|
|
67
|
+
padding: '1px 4px',
|
|
68
|
+
borderRadius: 3,
|
|
69
|
+
height: 20,
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
visibility: 'hidden',
|
|
72
|
+
top: -2,
|
|
73
|
+
':before': {
|
|
74
|
+
content: "''",
|
|
75
|
+
position: 'absolute',
|
|
76
|
+
top: '29%',
|
|
77
|
+
left: -4,
|
|
78
|
+
marginLeft: -5,
|
|
79
|
+
border: '5px solid',
|
|
80
|
+
borderColor: "".concat(theme === null || theme === void 0 ? void 0 : theme.palette.greyAthens, " transparent transparent transparent"),
|
|
81
|
+
transform: 'rotate(90deg)'
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyRWMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3NlY3Rpb25zL0Zvb3Rlci9Gb290ZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgcmVhY3QvanN4LW1heC1kZXB0aCAqL1xuXG4vKiBlc2xpbnQtZGlzYWJsZSByZWFjdC9qc3gtcGFzY2FsLWNhc2UgKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBGbGFnc0ljb24gZnJvbSAnY291bnRyeS1mbGFnLWljb25zL3JlYWN0LzN4Mic7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgVHJhbnMsIHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5cbmltcG9ydCB7IExvZ28sIFRoZW1lLCB1c2VDb25maWcgfSBmcm9tICcuLi8uLi8nO1xuaW1wb3J0IHsgRWFydGggfSBmcm9tICcuLi8uLi9jb21wb25lbnRzL0ljb25zJztcbmltcG9ydCB7IElubmVyLCBMZWZ0LCBMb3ZlLCBSaWdodCwgV3JhcHBlciB9IGZyb20gJy4vc3R5bGVzJztcblxuZnVuY3Rpb24gZ29Ub1ZlcmRhY2Npb1dlYnNpdGUoKTogdm9pZCB7XG4gIHdpbmRvdy5vcGVuKCdodHRwczovL3ZlcmRhY2Npby5vcmcnLCAnX2JsYW5rJyk7XG59XG5cbi8qIGVzbGludC1kaXNhYmxlIHJlYWN0L2pzeC1rZXkgKi9cbmNvbnN0IEZvb3RlciA9ICgpID0+IHtcbiAgY29uc3QgeyB0IH0gPSB1c2VUcmFuc2xhdGlvbigpO1xuICBjb25zdCB7IGNvbmZpZ09wdGlvbnMgfSA9IHVzZUNvbmZpZygpO1xuICByZXR1cm4gKFxuICAgIDxXcmFwcGVyIGRhdGEtdGVzdGlkPVwiZm9vdGVyXCI+XG4gICAgICA8SW5uZXI+XG4gICAgICAgIDxMZWZ0PlxuICAgICAgICAgIDxUcmFucyBjb21wb25lbnRzPXtbPExvdmUgLz5dfSBpMThuS2V5PVwiZm9vdGVyLm1hZGUtd2l0aC1sb3ZlLW9uXCIgLz5cbiAgICAgICAgICA8VG9vbFRpcD5cbiAgICAgICAgICAgIDxTdHlsZWRFYXJ0aCAvPlxuICAgICAgICAgICAgPEZsYWdzPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkVTIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5OSSAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uSU4gLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkJSIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5DTiAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uQVUgLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgIC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aWRHYXA6IHRoZW1lLnNwYWNpbmcoMCwgMSksXG4gIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICBiYWNrZ3JvdW5kOiB0aGVtZT8ucGFsZXR0ZS5ncmV5QXRoZW5zLFxuICBwYWRkaW5nOiAnMXB4IDRweCcsXG4gIGJvcmRlclJhZGl1czogMyxcbiAgaGVpZ2h0OiAyMCxcbiAgYWxpZ25JdGVtczogJ2NlbnRlcicsXG4gIHZpc2liaWxpdHk6ICdoaWRkZW4nLFxuICB0b3A6IC0yLFxuICAnOmJlZm9yZSc6IHtcbiAgICBjb250ZW50OiBcIicnXCIsXG4gICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgdG9wOiAnMjklJyxcbiAgICBsZWZ0OiAtNCxcbiAgICBtYXJnaW5MZWZ0OiAtNSxcbiAgICBib3JkZXI6ICc1cHggc29saWQnLFxuICAgIGJvcmRlckNvbG9yOiBgJHt0aGVtZT8ucGFsZXR0ZS5ncmV5QXRoZW5zfSB0cmFuc3BhcmVudCB0cmFuc3BhcmVudCB0cmFuc3BhcmVudGAsXG4gICAgdHJhbnNmb3JtOiAncm90YXRlKDkwZGVnKScsXG4gIH0sXG59KSk7XG5cbmNvbnN0IEljb24gPSBzdHlsZWQoJ2RpdicpKHtcbiAgd2lkdGg6ICcxMHB4Jyxcbn0pO1xuXG5jb25zdCBUb29sVGlwID0gc3R5bGVkKCdzcGFuJykoe1xuICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgaGVpZ2h0OiAnMThweCcsXG4gICc6aG92ZXInOiB7XG4gICAgW2Ake0ZsYWdzfWBdOiB7XG4gICAgICB2aXNpYmlsaXR5OiAndmlzaWJsZScsXG4gICAgfSxcbiAgfSxcbn0pO1xuIl19 */");
|
|
85
|
+
var Icon = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
86
|
+
target: "e9dwga51"
|
|
87
|
+
} : {
|
|
88
|
+
target: "e9dwga51",
|
|
89
|
+
label: "Icon"
|
|
90
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
91
|
+
name: "1g2l0a9",
|
|
92
|
+
styles: "width:10px"
|
|
93
|
+
} : {
|
|
94
|
+
name: "1g2l0a9",
|
|
95
|
+
styles: "width:10px",
|
|
96
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtR2EiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3NlY3Rpb25zL0Zvb3Rlci9Gb290ZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgcmVhY3QvanN4LW1heC1kZXB0aCAqL1xuXG4vKiBlc2xpbnQtZGlzYWJsZSByZWFjdC9qc3gtcGFzY2FsLWNhc2UgKi9cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBGbGFnc0ljb24gZnJvbSAnY291bnRyeS1mbGFnLWljb25zL3JlYWN0LzN4Mic7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgVHJhbnMsIHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5cbmltcG9ydCB7IExvZ28sIFRoZW1lLCB1c2VDb25maWcgfSBmcm9tICcuLi8uLi8nO1xuaW1wb3J0IHsgRWFydGggfSBmcm9tICcuLi8uLi9jb21wb25lbnRzL0ljb25zJztcbmltcG9ydCB7IElubmVyLCBMZWZ0LCBMb3ZlLCBSaWdodCwgV3JhcHBlciB9IGZyb20gJy4vc3R5bGVzJztcblxuZnVuY3Rpb24gZ29Ub1ZlcmRhY2Npb1dlYnNpdGUoKTogdm9pZCB7XG4gIHdpbmRvdy5vcGVuKCdodHRwczovL3ZlcmRhY2Npby5vcmcnLCAnX2JsYW5rJyk7XG59XG5cbi8qIGVzbGludC1kaXNhYmxlIHJlYWN0L2pzeC1rZXkgKi9cbmNvbnN0IEZvb3RlciA9ICgpID0+IHtcbiAgY29uc3QgeyB0IH0gPSB1c2VUcmFuc2xhdGlvbigpO1xuICBjb25zdCB7IGNvbmZpZ09wdGlvbnMgfSA9IHVzZUNvbmZpZygpO1xuICByZXR1cm4gKFxuICAgIDxXcmFwcGVyIGRhdGEtdGVzdGlkPVwiZm9vdGVyXCI+XG4gICAgICA8SW5uZXI+XG4gICAgICAgIDxMZWZ0PlxuICAgICAgICAgIDxUcmFucyBjb21wb25lbnRzPXtbPExvdmUgLz5dfSBpMThuS2V5PVwiZm9vdGVyLm1hZGUtd2l0aC1sb3ZlLW9uXCIgLz5cbiAgICAgICAgICA8VG9vbFRpcD5cbiAgICAgICAgICAgIDxTdHlsZWRFYXJ0aCAvPlxuICAgICAgICAgICAgPEZsYWdzPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkVTIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5OSSAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uSU4gLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkJSIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5DTiAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uQVUgLz5cb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*/(0, _base["default"])('span', process.env.NODE_ENV === "production" ? {
|
|
100
|
+
target: "e9dwga50"
|
|
101
|
+
} : {
|
|
102
|
+
target: "e9dwga50",
|
|
103
|
+
label: "ToolTip"
|
|
104
|
+
})({
|
|
105
|
+
position: 'relative',
|
|
106
|
+
height: '18px',
|
|
107
|
+
':hover': _defineProperty({}, "".concat(Flags), {
|
|
108
|
+
visibility: 'visible'
|
|
109
|
+
})
|
|
110
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1R2dCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9zZWN0aW9ucy9Gb290ZXIvRm9vdGVyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIHJlYWN0L2pzeC1tYXgtZGVwdGggKi9cblxuLyogZXNsaW50LWRpc2FibGUgcmVhY3QvanN4LXBhc2NhbC1jYXNlICovXG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgRmxhZ3NJY29uIGZyb20gJ2NvdW50cnktZmxhZy1pY29ucy9yZWFjdC8zeDInO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IFRyYW5zLCB1c2VUcmFuc2xhdGlvbiB9IGZyb20gJ3JlYWN0LWkxOG5leHQnO1xuXG5pbXBvcnQgeyBMb2dvLCBUaGVtZSwgdXNlQ29uZmlnIH0gZnJvbSAnLi4vLi4vJztcbmltcG9ydCB7IEVhcnRoIH0gZnJvbSAnLi4vLi4vY29tcG9uZW50cy9JY29ucyc7XG5pbXBvcnQgeyBJbm5lciwgTGVmdCwgTG92ZSwgUmlnaHQsIFdyYXBwZXIgfSBmcm9tICcuL3N0eWxlcyc7XG5cbmZ1bmN0aW9uIGdvVG9WZXJkYWNjaW9XZWJzaXRlKCk6IHZvaWQge1xuICB3aW5kb3cub3BlbignaHR0cHM6Ly92ZXJkYWNjaW8ub3JnJywgJ19ibGFuaycpO1xufVxuXG4vKiBlc2xpbnQtZGlzYWJsZSByZWFjdC9qc3gta2V5ICovXG5jb25zdCBGb290ZXIgPSAoKSA9PiB7XG4gIGNvbnN0IHsgdCB9ID0gdXNlVHJhbnNsYXRpb24oKTtcbiAgY29uc3QgeyBjb25maWdPcHRpb25zIH0gPSB1c2VDb25maWcoKTtcbiAgcmV0dXJuIChcbiAgICA8V3JhcHBlciBkYXRhLXRlc3RpZD1cImZvb3RlclwiPlxuICAgICAgPElubmVyPlxuICAgICAgICA8TGVmdD5cbiAgICAgICAgICA8VHJhbnMgY29tcG9uZW50cz17WzxMb3ZlIC8+XX0gaTE4bktleT1cImZvb3Rlci5tYWRlLXdpdGgtbG92ZS1vblwiIC8+XG4gICAgICAgICAgPFRvb2xUaXA+XG4gICAgICAgICAgICA8U3R5bGVkRWFydGggLz5cbiAgICAgICAgICAgIDxGbGFncz5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5FUyAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uTkkgLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLklOIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5CUiAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uQ04gLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgICA8SWNvbj5cbiAgICAgICAgICAgICAgICA8RmxhZ3NJY29uLkFVIC8+XG4gICAgICAgICAgICAgIDwvSWNvbj5cbiAgICAgICAgICAgICAgPEljb24+XG4gICAgICAgICAgICAgICAgPEZsYWdzSWNvbi5ERSAvPlxuICAgICAgICAgICAgICA8L0ljb24+XG4gICAgICAgICAgICAgIDxJY29uPlxuICAgICAgICAgICAgICAgIDxGbGFnc0ljb24uVFcgLz5cbiAgICAgICAgICAgICAgPC9JY29uPlxuICAgICAgICAgICAgPC9GbGFncz5cbiAgICAgICAgICA8L1Rvb2xUaXA+XG4gICAgICAgIDwvTGVmdD5cbiAgICAgICAgPFJpZ2h0PlxuICAgICAgICAgIHtjb25maWdPcHRpb25zPy52ZXJzaW9uICYmIChcbiAgICAgICAgICAgIDw+XG4gICAgICAgICAgICAgIHt0KCdmb290ZXIucG93ZXJlZC1ieScpfVxuICAgICAgICAgICAgICA8TG9nbyBpc0RlZmF1bHQ9e3RydWV9IG9uQ2xpY2s9e2dvVG9WZXJkYWNjaW9XZWJzaXRlfSBzaXplPVwieC1zbWFsbFwiIC8+XG4gICAgICAgICAgICAgIHtgLyAke2NvbmZpZ09wdGlvbnMudmVyc2lvbn1gfVxuICAgICAgICAgICAgPC8+XG4gICAgICAgICAgKX1cbiAgICAgICAgPC9SaWdodD5cbiAgICAgIDwvSW5uZXI+XG4gICAgPC9XcmFwcGVyPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRm9vdGVyO1xuXG5jb25zdCBTdHlsZWRFYXJ0aCA9IHN0eWxlZChFYXJ0aCk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIG1hcmdpbjogdGhlbWUuc3BhY2luZygwLCAxKSxcbn0pKTtcblxuY29uc3QgRmxhZ3MgPSBzdHlsZWQoJ3NwYW4nKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhl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//# sourceMappingURL=Footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.js","names":["goToVerdaccioWebsite","window","open","Footer","useTranslation","t","useConfig","configOptions","version","StyledEarth","Earth","theme","margin","spacing","Flags","display","gridTemplateColumns","gridGap","position","background","palette","greyAthens","padding","borderRadius","height","alignItems","visibility","top","content","left","marginLeft","border","borderColor","transform","Icon","ToolTip"],"sources":["../../../src/sections/Footer/Footer.tsx"],"sourcesContent":["/* eslint-disable react/jsx-max-depth */\n\n/* eslint-disable react/jsx-pascal-case */\nimport styled from '@emotion/styled';\nimport FlagsIcon from 'country-flag-icons/react/3x2';\nimport React from 'react';\nimport { Trans, useTranslation } from 'react-i18next';\n\nimport { Logo, Theme, useConfig } from '../../';\nimport { Earth } from '../../components/Icons';\nimport { Inner, Left, Love, Right, Wrapper } from './styles';\n\nfunction goToVerdaccioWebsite(): void {\n window.open('https://verdaccio.org', '_blank');\n}\n\n/* eslint-disable react/jsx-key */\nconst Footer = () => {\n const { t } = useTranslation();\n const { configOptions } = useConfig();\n return (\n <Wrapper data-testid=\"footer\">\n <Inner>\n <Left>\n <Trans components={[<Love />]} i18nKey=\"footer.made-with-love-on\" />\n <ToolTip>\n <StyledEarth />\n <Flags>\n <Icon>\n <FlagsIcon.ES />\n </Icon>\n <Icon>\n <FlagsIcon.NI />\n </Icon>\n <Icon>\n <FlagsIcon.IN />\n </Icon>\n <Icon>\n <FlagsIcon.BR />\n </Icon>\n <Icon>\n <FlagsIcon.CN />\n </Icon>\n <Icon>\n <FlagsIcon.AU />\n </Icon>\n <Icon>\n <FlagsIcon.DE />\n </Icon>\n <Icon>\n <FlagsIcon.TW />\n </Icon>\n </Flags>\n </ToolTip>\n </Left>\n <Right>\n {configOptions?.version && (\n <>\n {t('footer.powered-by')}\n <Logo isDefault={true} onClick={goToVerdaccioWebsite} size=\"x-small\" />\n {`/ ${configOptions.version}`}\n </>\n )}\n </Right>\n </Inner>\n </Wrapper>\n );\n};\n\nexport default Footer;\n\nconst StyledEarth = styled(Earth)<{ theme?: Theme }>(({ theme }) => ({\n margin: theme.spacing(0, 1),\n}));\n\nconst Flags = styled('span')<{ theme?: Theme }>(({ theme }) => ({\n display: 'inline-grid',\n gridTemplateColumns: 'repeat(8, max-content)',\n gridGap: theme.spacing(0, 1),\n position: 'absolute',\n background: theme?.palette.greyAthens,\n padding: '1px 4px',\n borderRadius: 3,\n height: 20,\n alignItems: 'center',\n visibility: 'hidden',\n top: -2,\n ':before': {\n content: \"''\",\n position: 'absolute',\n top: '29%',\n left: -4,\n marginLeft: -5,\n border: '5px solid',\n borderColor: `${theme?.palette.greyAthens} transparent transparent transparent`,\n transform: 'rotate(90deg)',\n },\n}));\n\nconst Icon = styled('div')({\n width: '10px',\n});\n\nconst ToolTip = styled('span')({\n position: 'relative',\n height: '18px',\n ':hover': {\n [`${Flags}`]: {\n visibility: 'visible',\n },\n },\n});\n"],"mappings":";;;;;;;;AAIA;AACA;AACA;AAEA;AACA;AACA;AAA6D;AAAA;AAAA;AAAA;AAAA;AAE7D,SAASA,oBAAoB,GAAS;EACpCC,MAAM,CAACC,IAAI,CAAC,uBAAuB,EAAE,QAAQ,CAAC;AAChD;;AAEA;AACA,IAAMC,MAAM,GAAG,SAATA,MAAM,GAAS;EACnB,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EACT,iBAA0B,IAAAC,WAAS,GAAE;IAA7BC,aAAa,cAAbA,aAAa;EACrB,oBACE,gCAAC,eAAO;IAAC,eAAY;EAAQ,gBAC3B,gCAAC,aAAK,qBACJ,gCAAC,YAAI,qBACH,gCAAC,mBAAK;IAAC,UAAU,EAAE,cAAC,gCAAC,YAAI,OAAG,CAAE;IAAC,OAAO,EAAC;EAA0B,EAAG,eACpE,gCAAC,OAAO,qBACN,gCAAC,WAAW,OAAG,eACf,gCAAC,KAAK,qBACJ,gCAAC,IAAI,qBACH,gCAAC,aAAS,CAAC,EAAE,OAAG,CACX,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