@verdaccio/ui-components 2.0.0-6-next.4 → 2.0.0-6-next.6
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/CHANGELOG.md +79 -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/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/package.json +4 -8
- 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,407 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<UpLinks /> component should render the component when there is no uplink 1`] = `
|
|
4
|
+
{
|
|
5
|
+
"asFragment": [Function],
|
|
6
|
+
"baseElement": .emotion-0 {
|
|
7
|
+
margin: 0;
|
|
8
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
9
|
+
font-weight: 400;
|
|
10
|
+
font-size: 1rem;
|
|
11
|
+
line-height: 1.75;
|
|
12
|
+
margin-bottom: 0.35em;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
<body>
|
|
16
|
+
<div>
|
|
17
|
+
<h6
|
|
18
|
+
class="MuiTypography-root MuiTypography-subtitle1 MuiTypography-gutterBottom emotion-0"
|
|
19
|
+
data-testid="no-uplinks"
|
|
20
|
+
>
|
|
21
|
+
uplinks.no-items
|
|
22
|
+
</h6>
|
|
23
|
+
</div>
|
|
24
|
+
</body>,
|
|
25
|
+
"container": .emotion-0 {
|
|
26
|
+
margin: 0;
|
|
27
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
line-height: 1.75;
|
|
31
|
+
margin-bottom: 0.35em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
<div>
|
|
35
|
+
<h6
|
|
36
|
+
class="MuiTypography-root MuiTypography-subtitle1 MuiTypography-gutterBottom emotion-0"
|
|
37
|
+
data-testid="no-uplinks"
|
|
38
|
+
>
|
|
39
|
+
uplinks.no-items
|
|
40
|
+
</h6>
|
|
41
|
+
</div>,
|
|
42
|
+
"debug": [Function],
|
|
43
|
+
"findAllByAltText": [Function],
|
|
44
|
+
"findAllByDisplayValue": [Function],
|
|
45
|
+
"findAllByLabelText": [Function],
|
|
46
|
+
"findAllByPlaceholderText": [Function],
|
|
47
|
+
"findAllByRole": [Function],
|
|
48
|
+
"findAllByTestId": [Function],
|
|
49
|
+
"findAllByText": [Function],
|
|
50
|
+
"findAllByTitle": [Function],
|
|
51
|
+
"findByAltText": [Function],
|
|
52
|
+
"findByDisplayValue": [Function],
|
|
53
|
+
"findByLabelText": [Function],
|
|
54
|
+
"findByPlaceholderText": [Function],
|
|
55
|
+
"findByRole": [Function],
|
|
56
|
+
"findByTestId": [Function],
|
|
57
|
+
"findByText": [Function],
|
|
58
|
+
"findByTitle": [Function],
|
|
59
|
+
"getAllByAltText": [Function],
|
|
60
|
+
"getAllByDisplayValue": [Function],
|
|
61
|
+
"getAllByLabelText": [Function],
|
|
62
|
+
"getAllByPlaceholderText": [Function],
|
|
63
|
+
"getAllByRole": [Function],
|
|
64
|
+
"getAllByTestId": [Function],
|
|
65
|
+
"getAllByText": [Function],
|
|
66
|
+
"getAllByTitle": [Function],
|
|
67
|
+
"getByAltText": [Function],
|
|
68
|
+
"getByDisplayValue": [Function],
|
|
69
|
+
"getByLabelText": [Function],
|
|
70
|
+
"getByPlaceholderText": [Function],
|
|
71
|
+
"getByRole": [Function],
|
|
72
|
+
"getByTestId": [Function],
|
|
73
|
+
"getByText": [Function],
|
|
74
|
+
"getByTitle": [Function],
|
|
75
|
+
"queryAllByAltText": [Function],
|
|
76
|
+
"queryAllByDisplayValue": [Function],
|
|
77
|
+
"queryAllByLabelText": [Function],
|
|
78
|
+
"queryAllByPlaceholderText": [Function],
|
|
79
|
+
"queryAllByRole": [Function],
|
|
80
|
+
"queryAllByTestId": [Function],
|
|
81
|
+
"queryAllByText": [Function],
|
|
82
|
+
"queryAllByTitle": [Function],
|
|
83
|
+
"queryByAltText": [Function],
|
|
84
|
+
"queryByDisplayValue": [Function],
|
|
85
|
+
"queryByLabelText": [Function],
|
|
86
|
+
"queryByPlaceholderText": [Function],
|
|
87
|
+
"queryByRole": [Function],
|
|
88
|
+
"queryByTestId": [Function],
|
|
89
|
+
"queryByText": [Function],
|
|
90
|
+
"queryByTitle": [Function],
|
|
91
|
+
"rerender": [Function],
|
|
92
|
+
"unmount": [Function],
|
|
93
|
+
}
|
|
94
|
+
`;
|
|
95
|
+
|
|
96
|
+
exports[`<UpLinks /> component should render the component with uplinks 1`] = `
|
|
97
|
+
{
|
|
98
|
+
"asFragment": [Function],
|
|
99
|
+
"baseElement": .emotion-1 {
|
|
100
|
+
margin: 0;
|
|
101
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
font-size: 1rem;
|
|
104
|
+
line-height: 1.75;
|
|
105
|
+
font-weight: 700;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.emotion-2 {
|
|
109
|
+
list-style: none;
|
|
110
|
+
margin: 0;
|
|
111
|
+
padding: 0;
|
|
112
|
+
position: relative;
|
|
113
|
+
padding-top: 8px;
|
|
114
|
+
padding-bottom: 8px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.emotion-3 {
|
|
118
|
+
display: -webkit-box;
|
|
119
|
+
display: -webkit-flex;
|
|
120
|
+
display: -ms-flexbox;
|
|
121
|
+
display: flex;
|
|
122
|
+
-webkit-box-pack: start;
|
|
123
|
+
-ms-flex-pack: start;
|
|
124
|
+
-webkit-justify-content: flex-start;
|
|
125
|
+
justify-content: flex-start;
|
|
126
|
+
-webkit-align-items: center;
|
|
127
|
+
-webkit-box-align: center;
|
|
128
|
+
-ms-flex-align: center;
|
|
129
|
+
align-items: center;
|
|
130
|
+
position: relative;
|
|
131
|
+
-webkit-text-decoration: none;
|
|
132
|
+
text-decoration: none;
|
|
133
|
+
width: 100%;
|
|
134
|
+
box-sizing: border-box;
|
|
135
|
+
text-align: left;
|
|
136
|
+
padding-top: 8px;
|
|
137
|
+
padding-bottom: 8px;
|
|
138
|
+
padding-left: 16px;
|
|
139
|
+
padding-right: 16px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.emotion-3.Mui-focusVisible {
|
|
143
|
+
background-color: rgba(0, 0, 0, 0.12);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.emotion-3.Mui-selected {
|
|
147
|
+
background-color: rgba(75, 94, 64, 0.08);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.emotion-3.Mui-selected.Mui-focusVisible {
|
|
151
|
+
background-color: rgba(75, 94, 64, 0.2);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.emotion-3.Mui-disabled {
|
|
155
|
+
opacity: 0.38;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.emotion-5 {
|
|
159
|
+
-webkit-flex: 1 1 auto;
|
|
160
|
+
-ms-flex: 1 1 auto;
|
|
161
|
+
flex: 1 1 auto;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
margin-top: 4px;
|
|
164
|
+
margin-bottom: 4px;
|
|
165
|
+
-webkit-flex: none;
|
|
166
|
+
-ms-flex: none;
|
|
167
|
+
flex: none;
|
|
168
|
+
color: #000;
|
|
169
|
+
opacity: 0.6;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.emotion-6 {
|
|
173
|
+
margin: 0;
|
|
174
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
175
|
+
font-weight: 400;
|
|
176
|
+
font-size: 1rem;
|
|
177
|
+
line-height: 1.5;
|
|
178
|
+
display: block;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.emotion-7 {
|
|
182
|
+
-webkit-flex: 1 1 auto;
|
|
183
|
+
-ms-flex: 1 1 auto;
|
|
184
|
+
flex: 1 1 auto;
|
|
185
|
+
border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
|
|
186
|
+
white-space: nowrap;
|
|
187
|
+
height: 0.5em;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
<body>
|
|
191
|
+
<div>
|
|
192
|
+
<h6
|
|
193
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
194
|
+
>
|
|
195
|
+
uplinks.title
|
|
196
|
+
</h6>
|
|
197
|
+
<ul
|
|
198
|
+
class="MuiList-root MuiList-padding emotion-2"
|
|
199
|
+
>
|
|
200
|
+
<li
|
|
201
|
+
class="MuiListItem-root MuiListItem-gutters MuiListItem-padding emotion-3"
|
|
202
|
+
>
|
|
203
|
+
<div
|
|
204
|
+
class="MuiListItemText-root emotion-4 emotion-5"
|
|
205
|
+
>
|
|
206
|
+
<span
|
|
207
|
+
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
|
|
208
|
+
>
|
|
209
|
+
npmjs
|
|
210
|
+
</span>
|
|
211
|
+
</div>
|
|
212
|
+
<div
|
|
213
|
+
class="emotion-7 emotion-8"
|
|
214
|
+
/>
|
|
215
|
+
<div
|
|
216
|
+
class="MuiListItemText-root emotion-4 emotion-5"
|
|
217
|
+
>
|
|
218
|
+
<span
|
|
219
|
+
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
|
|
220
|
+
>
|
|
221
|
+
5 years ago
|
|
222
|
+
</span>
|
|
223
|
+
</div>
|
|
224
|
+
</li>
|
|
225
|
+
</ul>
|
|
226
|
+
</div>
|
|
227
|
+
</body>,
|
|
228
|
+
"container": .emotion-1 {
|
|
229
|
+
margin: 0;
|
|
230
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
231
|
+
font-weight: 400;
|
|
232
|
+
font-size: 1rem;
|
|
233
|
+
line-height: 1.75;
|
|
234
|
+
font-weight: 700;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.emotion-2 {
|
|
238
|
+
list-style: none;
|
|
239
|
+
margin: 0;
|
|
240
|
+
padding: 0;
|
|
241
|
+
position: relative;
|
|
242
|
+
padding-top: 8px;
|
|
243
|
+
padding-bottom: 8px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.emotion-3 {
|
|
247
|
+
display: -webkit-box;
|
|
248
|
+
display: -webkit-flex;
|
|
249
|
+
display: -ms-flexbox;
|
|
250
|
+
display: flex;
|
|
251
|
+
-webkit-box-pack: start;
|
|
252
|
+
-ms-flex-pack: start;
|
|
253
|
+
-webkit-justify-content: flex-start;
|
|
254
|
+
justify-content: flex-start;
|
|
255
|
+
-webkit-align-items: center;
|
|
256
|
+
-webkit-box-align: center;
|
|
257
|
+
-ms-flex-align: center;
|
|
258
|
+
align-items: center;
|
|
259
|
+
position: relative;
|
|
260
|
+
-webkit-text-decoration: none;
|
|
261
|
+
text-decoration: none;
|
|
262
|
+
width: 100%;
|
|
263
|
+
box-sizing: border-box;
|
|
264
|
+
text-align: left;
|
|
265
|
+
padding-top: 8px;
|
|
266
|
+
padding-bottom: 8px;
|
|
267
|
+
padding-left: 16px;
|
|
268
|
+
padding-right: 16px;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.emotion-3.Mui-focusVisible {
|
|
272
|
+
background-color: rgba(0, 0, 0, 0.12);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.emotion-3.Mui-selected {
|
|
276
|
+
background-color: rgba(75, 94, 64, 0.08);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.emotion-3.Mui-selected.Mui-focusVisible {
|
|
280
|
+
background-color: rgba(75, 94, 64, 0.2);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.emotion-3.Mui-disabled {
|
|
284
|
+
opacity: 0.38;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.emotion-5 {
|
|
288
|
+
-webkit-flex: 1 1 auto;
|
|
289
|
+
-ms-flex: 1 1 auto;
|
|
290
|
+
flex: 1 1 auto;
|
|
291
|
+
min-width: 0;
|
|
292
|
+
margin-top: 4px;
|
|
293
|
+
margin-bottom: 4px;
|
|
294
|
+
-webkit-flex: none;
|
|
295
|
+
-ms-flex: none;
|
|
296
|
+
flex: none;
|
|
297
|
+
color: #000;
|
|
298
|
+
opacity: 0.6;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.emotion-6 {
|
|
302
|
+
margin: 0;
|
|
303
|
+
font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
|
|
304
|
+
font-weight: 400;
|
|
305
|
+
font-size: 1rem;
|
|
306
|
+
line-height: 1.5;
|
|
307
|
+
display: block;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.emotion-7 {
|
|
311
|
+
-webkit-flex: 1 1 auto;
|
|
312
|
+
-ms-flex: 1 1 auto;
|
|
313
|
+
flex: 1 1 auto;
|
|
314
|
+
border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
|
|
315
|
+
white-space: nowrap;
|
|
316
|
+
height: 0.5em;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
<div>
|
|
320
|
+
<h6
|
|
321
|
+
class="MuiTypography-root MuiTypography-subtitle1 emotion-0 emotion-1"
|
|
322
|
+
>
|
|
323
|
+
uplinks.title
|
|
324
|
+
</h6>
|
|
325
|
+
<ul
|
|
326
|
+
class="MuiList-root MuiList-padding emotion-2"
|
|
327
|
+
>
|
|
328
|
+
<li
|
|
329
|
+
class="MuiListItem-root MuiListItem-gutters MuiListItem-padding emotion-3"
|
|
330
|
+
>
|
|
331
|
+
<div
|
|
332
|
+
class="MuiListItemText-root emotion-4 emotion-5"
|
|
333
|
+
>
|
|
334
|
+
<span
|
|
335
|
+
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
|
|
336
|
+
>
|
|
337
|
+
npmjs
|
|
338
|
+
</span>
|
|
339
|
+
</div>
|
|
340
|
+
<div
|
|
341
|
+
class="emotion-7 emotion-8"
|
|
342
|
+
/>
|
|
343
|
+
<div
|
|
344
|
+
class="MuiListItemText-root emotion-4 emotion-5"
|
|
345
|
+
>
|
|
346
|
+
<span
|
|
347
|
+
class="MuiTypography-root MuiTypography-body1 MuiListItemText-primary emotion-6"
|
|
348
|
+
>
|
|
349
|
+
5 years ago
|
|
350
|
+
</span>
|
|
351
|
+
</div>
|
|
352
|
+
</li>
|
|
353
|
+
</ul>
|
|
354
|
+
</div>,
|
|
355
|
+
"debug": [Function],
|
|
356
|
+
"findAllByAltText": [Function],
|
|
357
|
+
"findAllByDisplayValue": [Function],
|
|
358
|
+
"findAllByLabelText": [Function],
|
|
359
|
+
"findAllByPlaceholderText": [Function],
|
|
360
|
+
"findAllByRole": [Function],
|
|
361
|
+
"findAllByTestId": [Function],
|
|
362
|
+
"findAllByText": [Function],
|
|
363
|
+
"findAllByTitle": [Function],
|
|
364
|
+
"findByAltText": [Function],
|
|
365
|
+
"findByDisplayValue": [Function],
|
|
366
|
+
"findByLabelText": [Function],
|
|
367
|
+
"findByPlaceholderText": [Function],
|
|
368
|
+
"findByRole": [Function],
|
|
369
|
+
"findByTestId": [Function],
|
|
370
|
+
"findByText": [Function],
|
|
371
|
+
"findByTitle": [Function],
|
|
372
|
+
"getAllByAltText": [Function],
|
|
373
|
+
"getAllByDisplayValue": [Function],
|
|
374
|
+
"getAllByLabelText": [Function],
|
|
375
|
+
"getAllByPlaceholderText": [Function],
|
|
376
|
+
"getAllByRole": [Function],
|
|
377
|
+
"getAllByTestId": [Function],
|
|
378
|
+
"getAllByText": [Function],
|
|
379
|
+
"getAllByTitle": [Function],
|
|
380
|
+
"getByAltText": [Function],
|
|
381
|
+
"getByDisplayValue": [Function],
|
|
382
|
+
"getByLabelText": [Function],
|
|
383
|
+
"getByPlaceholderText": [Function],
|
|
384
|
+
"getByRole": [Function],
|
|
385
|
+
"getByTestId": [Function],
|
|
386
|
+
"getByText": [Function],
|
|
387
|
+
"getByTitle": [Function],
|
|
388
|
+
"queryAllByAltText": [Function],
|
|
389
|
+
"queryAllByDisplayValue": [Function],
|
|
390
|
+
"queryAllByLabelText": [Function],
|
|
391
|
+
"queryAllByPlaceholderText": [Function],
|
|
392
|
+
"queryAllByRole": [Function],
|
|
393
|
+
"queryAllByTestId": [Function],
|
|
394
|
+
"queryAllByText": [Function],
|
|
395
|
+
"queryAllByTitle": [Function],
|
|
396
|
+
"queryByAltText": [Function],
|
|
397
|
+
"queryByDisplayValue": [Function],
|
|
398
|
+
"queryByLabelText": [Function],
|
|
399
|
+
"queryByPlaceholderText": [Function],
|
|
400
|
+
"queryByRole": [Function],
|
|
401
|
+
"queryByTestId": [Function],
|
|
402
|
+
"queryByText": [Function],
|
|
403
|
+
"queryByTitle": [Function],
|
|
404
|
+
"rerender": [Function],
|
|
405
|
+
"unmount": [Function],
|
|
406
|
+
}
|
|
407
|
+
`;
|
|
@@ -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 _UpLinks["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _UpLinks = _interopRequireDefault(require("./UpLinks"));
|
|
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/components/UpLinks/index.ts"],"sourcesContent":["export { default } from './UpLinks';\n"],"mappings":";;;;;;;;;;;AAAA;AAAoC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.StyledText = exports.Spacer = exports.ListItemText = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
9
|
+
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
+
var StyledText = /*#__PURE__*/(0, _base["default"])(_Typography["default"], process.env.NODE_ENV === "production" ? {
|
|
12
|
+
target: "ebttozw2"
|
|
13
|
+
} : {
|
|
14
|
+
target: "ebttozw2",
|
|
15
|
+
label: "StyledText"
|
|
16
|
+
})(function (props) {
|
|
17
|
+
var _props$theme;
|
|
18
|
+
return {
|
|
19
|
+
fontWeight: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.fontWeight.bold
|
|
20
|
+
};
|
|
21
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1VwTGlua3Mvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU0wQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9VcExpbmtzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGRlZmF1bHQgYXMgTXVpTGlzdEl0ZW1UZXh0IH0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbVRleHQnO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lPy5mb250V2VpZ2h0LmJvbGQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBTcGFjZXIgPSBzdHlsZWQoJ2RpdicpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBmbGV4OiAnMSAxIGF1dG8nLFxuICBib3JkZXJCb3R0b206IGAxcHggZG90dGVkICR7XG4gICAgdGhlbWU/LnBhbGV0dGUubW9kZSA9PSAnbGlnaHQnID8gJ3JnYmEoMCwgMCwgMCwgMC4yKScgOiAncmdiYSgyNTUsIDI1NSwgMjU1LCAwLjIpJ1xuICB9IGAsXG4gIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICBoZWlnaHQ6ICcwLjVlbScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBMaXN0SXRlbVRleHQgPSBzdHlsZWQoTXVpTGlzdEl0ZW1UZXh0KTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgZmxleDogJ25vbmUnLFxuICBjb2xvcjogdGhlbWU/LnBhbGV0dGUubW9kZSA9PSAnbGlnaHQnID8gdGhlbWU/LnBhbGV0dGUuYmxhY2sgOiB0aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbiAgb3BhY2l0eTogMC42LFxufSkpO1xuIl19 */");
|
|
22
|
+
exports.StyledText = StyledText;
|
|
23
|
+
var Spacer = /*#__PURE__*/(0, _base["default"])('div', process.env.NODE_ENV === "production" ? {
|
|
24
|
+
target: "ebttozw1"
|
|
25
|
+
} : {
|
|
26
|
+
target: "ebttozw1",
|
|
27
|
+
label: "Spacer"
|
|
28
|
+
})(function (_ref) {
|
|
29
|
+
var theme = _ref.theme;
|
|
30
|
+
return {
|
|
31
|
+
flex: '1 1 auto',
|
|
32
|
+
borderBottom: "1px dotted ".concat((theme === null || theme === void 0 ? void 0 : theme.palette.mode) == 'light' ? 'rgba(0, 0, 0, 0.2)' : 'rgba(255, 255, 255, 0.2)', " "),
|
|
33
|
+
whiteSpace: 'nowrap',
|
|
34
|
+
height: '0.5em'
|
|
35
|
+
};
|
|
36
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1VwTGlua3Mvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVzQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9VcExpbmtzL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGRlZmF1bHQgYXMgTXVpTGlzdEl0ZW1UZXh0IH0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbVRleHQnO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRUZXh0ID0gc3R5bGVkKFR5cG9ncmFwaHkpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGZvbnRXZWlnaHQ6IHByb3BzLnRoZW1lPy5mb250V2VpZ2h0LmJvbGQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBTcGFjZXIgPSBzdHlsZWQoJ2RpdicpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBmbGV4OiAnMSAxIGF1dG8nLFxuICBib3JkZXJCb3R0b206IGAxcHggZG90dGVkICR7XG4gICAgdGhlbWU/LnBhbGV0dGUubW9kZSA9PSAnbGlnaHQnID8gJ3JnYmEoMCwgMCwgMCwgMC4yKScgOiAncmdiYSgyNTUsIDI1NSwgMjU1LCAwLjIpJ1xuICB9IGAsXG4gIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICBoZWlnaHQ6ICcwLjVlbScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBMaXN0SXRlbVRleHQgPSBzdHlsZWQoTXVpTGlzdEl0ZW1UZXh0KTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgZmxleDogJ25vbmUnLFxuICBjb2xvcjogdGhlbWU/LnBhbGV0dGUubW9kZSA9PSAnbGlnaHQnID8gdGhlbWU/LnBhbGV0dGUuYmxhY2sgOiB0aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbiAgb3BhY2l0eTogMC42LFxufSkpO1xuIl19 */");
|
|
37
|
+
exports.Spacer = Spacer;
|
|
38
|
+
var ListItemText = /*#__PURE__*/(0, _base["default"])(_ListItemText["default"], process.env.NODE_ENV === "production" ? {
|
|
39
|
+
target: "ebttozw0"
|
|
40
|
+
} : {
|
|
41
|
+
target: "ebttozw0",
|
|
42
|
+
label: "ListItemText"
|
|
43
|
+
})(function (_ref2) {
|
|
44
|
+
var theme = _ref2.theme;
|
|
45
|
+
return {
|
|
46
|
+
flex: 'none',
|
|
47
|
+
color: (theme === null || theme === void 0 ? void 0 : theme.palette.mode) == 'light' ? theme === null || theme === void 0 ? void 0 : theme.palette.black : theme === null || theme === void 0 ? void 0 : theme.palette.white,
|
|
48
|
+
opacity: 0.6
|
|
49
|
+
};
|
|
50
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1VwTGlua3Mvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1CNEIiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvVXBMaW5rcy9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBkZWZhdWx0IGFzIE11aUxpc3RJdGVtVGV4dCB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW1UZXh0JztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZT8uZm9udFdlaWdodC5ib2xkLFxufSkpO1xuXG5leHBvcnQgY29uc3QgU3BhY2VyID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgZmxleDogJzEgMSBhdXRvJyxcbiAgYm9yZGVyQm90dG9tOiBgMXB4IGRvdHRlZCAke1xuICAgIHRoZW1lPy5wYWxldHRlLm1vZGUgPT0gJ2xpZ2h0JyA/ICdyZ2JhKDAsIDAsIDAsIDAuMiknIDogJ3JnYmEoMjU1LCAyNTUsIDI1NSwgMC4yKSdcbiAgfSBgLFxuICB3aGl0ZVNwYWNlOiAnbm93cmFwJyxcbiAgaGVpZ2h0OiAnMC41ZW0nLFxufSkpO1xuXG5leHBvcnQgY29uc3QgTGlzdEl0ZW1UZXh0ID0gc3R5bGVkKE11aUxpc3RJdGVtVGV4dCk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIGZsZXg6ICdub25lJyxcbiAgY29sb3I6IHRoZW1lPy5wYWxldHRlLm1vZGUgPT0gJ2xpZ2h0JyA/IHRoZW1lPy5wYWxldHRlLmJsYWNrIDogdGhlbWU/LnBhbGV0dGUud2hpdGUsXG4gIG9wYWNpdHk6IDAuNixcbn0pKTtcbiJdfQ== */");
|
|
51
|
+
exports.ListItemText = ListItemText;
|
|
52
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.js","names":["StyledText","Typography","props","fontWeight","theme","bold","Spacer","flex","borderBottom","palette","mode","whiteSpace","height","ListItemText","MuiListItemText","color","black","white","opacity"],"sources":["../../../src/components/UpLinks/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport { default as MuiListItemText } from '@mui/material/ListItemText';\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}));\n\nexport const Spacer = styled('div')<{ theme?: Theme }>(({ theme }) => ({\n flex: '1 1 auto',\n borderBottom: `1px dotted ${\n theme?.palette.mode == 'light' ? 'rgba(0, 0, 0, 0.2)' : 'rgba(255, 255, 255, 0.2)'\n } `,\n whiteSpace: 'nowrap',\n height: '0.5em',\n}));\n\nexport const ListItemText = styled(MuiListItemText)<{ theme?: Theme }>(({ theme }) => ({\n flex: 'none',\n color: theme?.palette.mode == 'light' ? theme?.palette.black : theme?.palette.white,\n opacity: 0.6,\n}));\n"],"mappings":";;;;;;;AACA;AACA;AAAkD;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;EACtC,CAAC;AAAA,CAAC,i7CAAC;AAAC;AAEG,IAAMC,MAAM,gBAAG,sBAAO,KAAK;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB;EAAA,IAAGF,KAAK,QAALA,KAAK;EAAA,OAAQ;IACrEG,IAAI,EAAE,UAAU;IAChBC,YAAY,uBACV,CAAAJ,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEK,OAAO,CAACC,IAAI,KAAI,OAAO,GAAG,oBAAoB,GAAG,0BAA0B,MACjF;IACHC,UAAU,EAAE,QAAQ;IACpBC,MAAM,EAAE;EACV,CAAC;AAAA,CAAC,i7CAAC;AAAC;AAEG,IAAMC,YAAY,gBAAG,sBAAOC,wBAAe;EAAA;AAAA;EAAA;EAAA;AAAA,EAAC,CAAoB;EAAA,IAAGV,KAAK,SAALA,KAAK;EAAA,OAAQ;IACrFG,IAAI,EAAE,MAAM;IACZQ,KAAK,EAAE,CAAAX,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEK,OAAO,CAACC,IAAI,KAAI,OAAO,GAAGN,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEK,OAAO,CAACO,KAAK,GAAGZ,KAAK,aAALA,KAAK,uBAALA,KAAK,CAAEK,OAAO,CAACQ,KAAK;IACnFC,OAAO,EAAE;EACX,CAAC;AAAA,CAAC,q7CAAC;AAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _List = _interopRequireDefault(require("@mui/material/List"));
|
|
8
|
+
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactI18next = require("react-i18next");
|
|
11
|
+
var _utils = require("../../utils");
|
|
12
|
+
var _Link = require("../Link");
|
|
13
|
+
var _styles = require("./styles");
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
+
var VersionsHistoryList = function VersionsHistoryList(_ref) {
|
|
16
|
+
var versions = _ref.versions,
|
|
17
|
+
packageName = _ref.packageName,
|
|
18
|
+
time = _ref.time;
|
|
19
|
+
var _useTranslation = (0, _reactI18next.useTranslation)(),
|
|
20
|
+
t = _useTranslation.t;
|
|
21
|
+
return /*#__PURE__*/_react["default"].createElement(_List["default"], {
|
|
22
|
+
dense: true
|
|
23
|
+
}, Object.keys(versions).reverse().map(function (version) {
|
|
24
|
+
return /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
|
|
25
|
+
className: "version-item",
|
|
26
|
+
"data-testid": "version-".concat(version),
|
|
27
|
+
key: version
|
|
28
|
+
}, /*#__PURE__*/_react["default"].createElement(_Link.Link, {
|
|
29
|
+
to: "/-/web/detail/".concat(packageName, "/v/").concat(version),
|
|
30
|
+
variant: "caption"
|
|
31
|
+
}, /*#__PURE__*/_react["default"].createElement(_styles.ListItemText, {
|
|
32
|
+
disableTypography: false,
|
|
33
|
+
primary: version
|
|
34
|
+
})), /*#__PURE__*/_react["default"].createElement(_styles.Spacer, null), /*#__PURE__*/_react["default"].createElement(_styles.ListItemText, {
|
|
35
|
+
title: _utils.utils.formatDate(time[version])
|
|
36
|
+
}, time[version] ? _utils.utils.formatDateDistance(time[version]) : t('versions.not-available')));
|
|
37
|
+
}));
|
|
38
|
+
};
|
|
39
|
+
var _default = VersionsHistoryList;
|
|
40
|
+
exports["default"] = _default;
|
|
41
|
+
//# sourceMappingURL=HistoryList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HistoryList.js","names":["VersionsHistoryList","versions","packageName","time","useTranslation","t","Object","keys","reverse","map","version","utils","formatDate","formatDateDistance"],"sources":["../../../src/components/Versions/HistoryList.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport { Time, Versions } from '../../types/packageMeta';\nimport { utils } from '../../utils';\nimport { Link } from '../Link';\nimport { ListItemText, Spacer } from './styles';\n\ninterface Props {\n versions: Versions;\n packageName: string;\n time: Time;\n}\n\nconst VersionsHistoryList: React.FC<Props> = ({ versions, packageName, time }) => {\n const { t } = useTranslation();\n\n return (\n <List dense={true}>\n {Object.keys(versions)\n .reverse()\n .map((version) => (\n <ListItem className=\"version-item\" data-testid={`version-${version}`} key={version}>\n <Link to={`/-/web/detail/${packageName}/v/${version}`} variant=\"caption\">\n <ListItemText disableTypography={false} primary={version}></ListItemText>\n </Link>\n <Spacer />\n <ListItemText title={utils.formatDate(time[version])}>\n {time[version]\n ? utils.formatDateDistance(time[version])\n : t('versions.not-available')}\n </ListItemText>\n </ListItem>\n ))}\n </List>\n );\n};\n\nexport default VersionsHistoryList;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AAGA;AACA;AACA;AAAgD;AAQhD,IAAMA,mBAAoC,GAAG,SAAvCA,mBAAoC,OAAwC;EAAA,IAAlCC,QAAQ,QAARA,QAAQ;IAAEC,WAAW,QAAXA,WAAW;IAAEC,IAAI,QAAJA,IAAI;EACzE,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,oBACE,gCAAC,gBAAI;IAAC,KAAK,EAAE;EAAK,GACfC,MAAM,CAACC,IAAI,CAACN,QAAQ,CAAC,CACnBO,OAAO,EAAE,CACTC,GAAG,CAAC,UAACC,OAAO;IAAA,oBACX,gCAAC,oBAAQ;MAAC,SAAS,EAAC,cAAc;MAAC,iCAAwBA,OAAO,CAAG;MAAC,GAAG,EAAEA;IAAQ,gBACjF,gCAAC,UAAI;MAAC,EAAE,0BAAmBR,WAAW,gBAAMQ,OAAO,CAAG;MAAC,OAAO,EAAC;IAAS,gBACtE,gCAAC,oBAAY;MAAC,iBAAiB,EAAE,KAAM;MAAC,OAAO,EAAEA;IAAQ,EAAgB,CACpE,eACP,gCAAC,cAAM,OAAG,eACV,gCAAC,oBAAY;MAAC,KAAK,EAAEC,YAAK,CAACC,UAAU,CAACT,IAAI,CAACO,OAAO,CAAC;IAAE,GAClDP,IAAI,CAACO,OAAO,CAAC,GACVC,YAAK,CAACE,kBAAkB,CAACV,IAAI,CAACO,OAAO,CAAC,CAAC,GACvCL,CAAC,CAAC,wBAAwB,CAAC,CAClB,CACN;EAAA,CACZ,CAAC,CACC;AAEX,CAAC;AAAC,eAEaL,mBAAmB;AAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _List = _interopRequireDefault(require("@mui/material/List"));
|
|
8
|
+
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _Link = require("../Link");
|
|
11
|
+
var _styles = require("./styles");
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
var VersionsTagList = function VersionsTagList(_ref) {
|
|
14
|
+
var tags = _ref.tags,
|
|
15
|
+
packageName = _ref.packageName,
|
|
16
|
+
time = _ref.time;
|
|
17
|
+
return /*#__PURE__*/_react["default"].createElement(_List["default"], {
|
|
18
|
+
dense: true
|
|
19
|
+
}, Object.keys(tags).sort(function (a, b) {
|
|
20
|
+
return time[tags[a]] < time[tags[b]] ? 1 : time[tags[a]] > time[tags[b]] ? -1 : 0;
|
|
21
|
+
}).map(function (tag) {
|
|
22
|
+
return /*#__PURE__*/_react["default"].createElement(_ListItem["default"], {
|
|
23
|
+
className: "version-item",
|
|
24
|
+
"data-testid": "tag-".concat(tag),
|
|
25
|
+
key: tag
|
|
26
|
+
}, /*#__PURE__*/_react["default"].createElement(_Link.Link, {
|
|
27
|
+
to: "/-/web/detail/".concat(packageName, "/v/").concat(tags[tag]),
|
|
28
|
+
variant: "outline"
|
|
29
|
+
}, /*#__PURE__*/_react["default"].createElement(_styles.ListItemText, null, tag)), /*#__PURE__*/_react["default"].createElement(_styles.Spacer, null), /*#__PURE__*/_react["default"].createElement(_styles.ListItemText, null, tags[tag]));
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
var _default = VersionsTagList;
|
|
33
|
+
exports["default"] = _default;
|
|
34
|
+
//# sourceMappingURL=TagList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TagList.js","names":["VersionsTagList","tags","packageName","time","Object","keys","sort","a","b","map","tag"],"sources":["../../../src/components/Versions/TagList.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport React from 'react';\n\nimport { DistTags, Time } from '../../types/packageMeta';\nimport { Link } from '../Link';\nimport { ListItemText, Spacer } from './styles';\n\ninterface Props {\n tags: DistTags;\n packageName: string;\n time: Time;\n}\n\nconst VersionsTagList: React.FC<Props> = ({ tags, packageName, time }) => (\n <List dense={true}>\n {Object.keys(tags)\n .sort((a, b) => {\n return time[tags[a]] < time[tags[b]] ? 1 : time[tags[a]] > time[tags[b]] ? -1 : 0;\n })\n .map((tag) => (\n <ListItem className=\"version-item\" data-testid={`tag-${tag}`} key={tag}>\n <Link to={`/-/web/detail/${packageName}/v/${tags[tag]}`} variant=\"outline\">\n <ListItemText>{tag}</ListItemText>\n </Link>\n <Spacer />\n <ListItemText>{tags[tag]}</ListItemText>\n </ListItem>\n ))}\n </List>\n);\n\nexport default VersionsTagList;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAGA;AACA;AAAgD;AAQhD,IAAMA,eAAgC,GAAG,SAAnCA,eAAgC;EAAA,IAAMC,IAAI,QAAJA,IAAI;IAAEC,WAAW,QAAXA,WAAW;IAAEC,IAAI,QAAJA,IAAI;EAAA,oBACjE,gCAAC,gBAAI;IAAC,KAAK,EAAE;EAAK,GACfC,MAAM,CAACC,IAAI,CAACJ,IAAI,CAAC,CACfK,IAAI,CAAC,UAACC,CAAC,EAAEC,CAAC,EAAK;IACd,OAAOL,IAAI,CAACF,IAAI,CAACM,CAAC,CAAC,CAAC,GAAGJ,IAAI,CAACF,IAAI,CAACO,CAAC,CAAC,CAAC,GAAG,CAAC,GAAGL,IAAI,CAACF,IAAI,CAACM,CAAC,CAAC,CAAC,GAAGJ,IAAI,CAACF,IAAI,CAACO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC;EACnF,CAAC,CAAC,CACDC,GAAG,CAAC,UAACC,GAAG;IAAA,oBACP,gCAAC,oBAAQ;MAAC,SAAS,EAAC,cAAc;MAAC,6BAAoBA,GAAG,CAAG;MAAC,GAAG,EAAEA;IAAI,gBACrE,gCAAC,UAAI;MAAC,EAAE,0BAAmBR,WAAW,gBAAMD,IAAI,CAACS,GAAG,CAAC,CAAG;MAAC,OAAO,EAAC;IAAS,gBACxE,gCAAC,oBAAY,QAAEA,GAAG,CAAgB,CAC7B,eACP,gCAAC,cAAM,OAAG,eACV,gCAAC,oBAAY,QAAET,IAAI,CAACS,GAAG,CAAC,CAAgB,CAC/B;EAAA,CACZ,CAAC,CACC;AAAA,CACR;AAAC,eAEaV,eAAe;AAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactI18next = require("react-i18next");
|
|
10
|
+
var _HistoryList = _interopRequireDefault(require("./HistoryList"));
|
|
11
|
+
var _TagList = _interopRequireDefault(require("./TagList"));
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
var Versions = function Versions(_ref) {
|
|
14
|
+
var packageMeta = _ref.packageMeta,
|
|
15
|
+
packageName = _ref.packageName;
|
|
16
|
+
var _useTranslation = (0, _reactI18next.useTranslation)(),
|
|
17
|
+
t = _useTranslation.t;
|
|
18
|
+
if (!packageMeta) {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
var _packageMeta$versions = packageMeta.versions,
|
|
22
|
+
versions = _packageMeta$versions === void 0 ? {} : _packageMeta$versions,
|
|
23
|
+
_packageMeta$time = packageMeta.time,
|
|
24
|
+
time = _packageMeta$time === void 0 ? {} : _packageMeta$time,
|
|
25
|
+
_packageMeta$distTag = packageMeta['dist-tags'],
|
|
26
|
+
distTags = _packageMeta$distTag === void 0 ? {} : _packageMeta$distTag;
|
|
27
|
+
var hasDistTags = distTags && Object.keys(distTags).length > 0 && packageName;
|
|
28
|
+
var hasVersionHistory = versions && Object.keys(versions).length > 0 && packageName;
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, hasDistTags ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
30
|
+
variant: "subtitle1"
|
|
31
|
+
}, t('versions.current-tags')), /*#__PURE__*/_react["default"].createElement(_TagList["default"], {
|
|
32
|
+
packageName: packageName,
|
|
33
|
+
tags: distTags,
|
|
34
|
+
time: time
|
|
35
|
+
})) : null, hasVersionHistory ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
36
|
+
variant: "subtitle1"
|
|
37
|
+
}, t('versions.version-history')), /*#__PURE__*/_react["default"].createElement(_HistoryList["default"], {
|
|
38
|
+
packageName: packageName,
|
|
39
|
+
time: time,
|
|
40
|
+
versions: versions
|
|
41
|
+
})) : null);
|
|
42
|
+
};
|
|
43
|
+
var _default = Versions;
|
|
44
|
+
exports["default"] = _default;
|
|
45
|
+
//# sourceMappingURL=Versions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Versions.js","names":["Versions","packageMeta","packageName","useTranslation","t","versions","time","distTags","hasDistTags","Object","keys","length","hasVersionHistory"],"sources":["../../../src/components/Versions/Versions.tsx"],"sourcesContent":["import Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport VersionsHistoryList from './HistoryList';\nimport VersionsTagList from './TagList';\n\nexport type Props = { packageMeta: any; packageName: string };\n\nconst Versions: React.FC<Props> = ({ packageMeta, packageName }) => {\n const { t } = useTranslation();\n\n if (!packageMeta) {\n return null;\n }\n\n const { versions = {}, time = {}, ['dist-tags']: distTags = {} } = packageMeta;\n\n const hasDistTags = distTags && Object.keys(distTags).length > 0 && packageName;\n const hasVersionHistory = versions && Object.keys(versions).length > 0 && packageName;\n\n return (\n <>\n {hasDistTags ? (\n <>\n <Typography variant=\"subtitle1\">{t('versions.current-tags')}</Typography>\n <VersionsTagList packageName={packageName} tags={distTags} time={time} />\n </>\n ) : null}\n {hasVersionHistory ? (\n <>\n <Typography variant=\"subtitle1\">{t('versions.version-history')}</Typography>\n <VersionsHistoryList packageName={packageName} time={time} versions={versions} />\n </>\n ) : null}\n </>\n );\n};\n\nexport default Versions;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAEA;AACA;AAAwC;AAIxC,IAAMA,QAAyB,GAAG,SAA5BA,QAAyB,OAAqC;EAAA,IAA/BC,WAAW,QAAXA,WAAW;IAAEC,WAAW,QAAXA,WAAW;EAC3D,sBAAc,IAAAC,4BAAc,GAAE;IAAtBC,CAAC,mBAADA,CAAC;EAET,IAAI,CAACH,WAAW,EAAE;IAChB,OAAO,IAAI;EACb;EAEA,4BAAmEA,WAAW,CAAtEI,QAAQ;IAARA,QAAQ,sCAAG,CAAC,CAAC;IAAA,oBAA8CJ,WAAW,CAAvDK,IAAI;IAAJA,IAAI,kCAAG,CAAC,CAAC;IAAA,uBAAmCL,WAAW,CAA3C,WAAW;IAAGM,QAAQ,qCAAG,CAAC,CAAC;EAE9D,IAAMC,WAAW,GAAGD,QAAQ,IAAIE,MAAM,CAACC,IAAI,CAACH,QAAQ,CAAC,CAACI,MAAM,GAAG,CAAC,IAAIT,WAAW;EAC/E,IAAMU,iBAAiB,GAAGP,QAAQ,IAAII,MAAM,CAACC,IAAI,CAACL,QAAQ,CAAC,CAACM,MAAM,GAAG,CAAC,IAAIT,WAAW;EAErF,oBACE,kEACGM,WAAW,gBACV,+EACE,gCAAC,sBAAU;IAAC,OAAO,EAAC;EAAW,GAAEJ,CAAC,CAAC,uBAAuB,CAAC,CAAc,eACzE,gCAAC,mBAAe;IAAC,WAAW,EAAEF,WAAY;IAAC,IAAI,EAAEK,QAAS;IAAC,IAAI,EAAED;EAAK,EAAG,CACxE,GACD,IAAI,EACPM,iBAAiB,gBAChB,+EACE,gCAAC,sBAAU;IAAC,OAAO,EAAC;EAAW,GAAER,CAAC,CAAC,0BAA0B,CAAC,CAAc,eAC5E,gCAAC,uBAAmB;IAAC,WAAW,EAAEF,WAAY;IAAC,IAAI,EAAEI,IAAK;IAAC,QAAQ,EAAED;EAAS,EAAG,CAChF,GACD,IAAI,CACP;AAEP,CAAC;AAAC,eAEaL,QAAQ;AAAA"}
|