@verdaccio/ui-components 2.0.0-alpha.0 → 3.0.0-next.1
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 +8 -0
- package/.eslintrc +100 -0
- package/CHANGELOG.md +157 -0
- package/README.md +103 -0
- package/build/Theme/ResetStyles.js +50 -0
- package/build/Theme/StyleBaseline.js +15 -0
- package/build/Theme/ThemeProvider.js +51 -0
- package/build/Theme/colors.js +9 -0
- package/build/Theme/index.js +45 -0
- package/build/Theme/theme.js +108 -0
- package/build/__mocks__/react-markdown.js +18 -0
- package/build/__mocks__/remark-plugin.js +8 -0
- package/build/components/ActionBar/ActionBar.js +71 -0
- package/build/components/ActionBar/ActionBarAction.js +94 -0
- package/build/components/ActionBar/index.js +14 -0
- package/build/components/Author/Author.js +68 -0
- package/build/components/Author/index.js +14 -0
- package/build/components/Author/styles.js +55 -0
- package/build/components/CopyClipboard/CopyToClipBoard.js +69 -0
- package/build/components/CopyClipboard/index.js +21 -0
- package/build/components/CopyClipboard/utils.js +23 -0
- package/build/components/Dependencies/Dependencies.js +106 -0
- package/build/components/Dependencies/index.js +14 -0
- package/build/components/Dependencies/styles.js +68 -0
- package/build/components/Dependencies/types.js +6 -0
- package/build/components/Deprecated/Deprecated.js +33 -0
- package/build/components/Deprecated/index.js +14 -0
- package/build/components/Developers/Developers.js +96 -0
- package/build/components/Developers/Title.js +48 -0
- package/build/components/Developers/get-unique-developer-values.js +15 -0
- package/build/components/Developers/index.js +21 -0
- package/build/components/Developers/styles.js +69 -0
- package/build/components/Distribution/Dist.js +49 -0
- package/build/components/Distribution/index.js +14 -0
- package/build/components/Distribution/styles.js +70 -0
- package/build/components/Distribution/utils.js +25 -0
- package/build/components/Distribution/utilts.spec.js +18 -0
- package/build/components/Engines/Engines.js +86 -0
- package/build/components/Engines/index.js +14 -0
- package/build/components/Engines/styles.js +40 -0
- package/build/components/ErrorBoundary/ErrorBoundary.js +42 -0
- package/build/components/ErrorBoundary/index.js +14 -0
- package/build/components/FundButton/FundButton.js +81 -0
- package/build/components/FundButton/index.js +14 -0
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +81 -0
- package/build/components/HeaderInfoDialog/index.js +14 -0
- package/build/components/Heading/Heading.js +25 -0
- package/build/components/Heading/index.js +14 -0
- package/build/components/Help/Help.js +61 -0
- package/build/components/Help/index.js +14 -0
- package/build/components/Help/styles.js +26 -0
- package/build/components/Icons/DevsIcons/CommonJS.js +29 -0
- package/build/components/Icons/DevsIcons/ES6Module.js +29 -0
- package/build/components/Icons/DevsIcons/Git.js +29 -0
- package/build/components/Icons/DevsIcons/NodeJS.js +29 -0
- package/build/components/Icons/DevsIcons/TypeScript.js +29 -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/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/FileBinary.js +20 -0
- package/build/components/Icons/Law.js +21 -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 +29 -0
- package/build/components/Icons/Managers/Pnpm.js +29 -0
- package/build/components/Icons/Managers/Yarn.js +29 -0
- package/build/components/Icons/Managers/index.js +27 -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 +48 -0
- package/build/components/Icons/Time.js +27 -0
- package/build/components/Icons/Version.js +25 -0
- package/build/components/Icons/index.js +80 -0
- package/build/components/Install/Install.js +75 -0
- package/build/components/Install/InstallListItem.js +147 -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/Label/Label.js +36 -0
- package/build/components/Label/index.js +14 -0
- package/build/components/Link/Link.js +58 -0
- package/build/components/Link/index.js +14 -0
- package/build/components/Loading/Loading.js +21 -0
- package/build/components/Loading/Spinner/Spinner.js +49 -0
- package/build/components/Loading/Spinner/index.js +14 -0
- package/build/components/Loading/index.js +14 -0
- package/build/components/Loading/styles.js +39 -0
- package/build/components/LoginDialog/LoginDialog.js +76 -0
- package/build/components/LoginDialog/LoginDialogCloseButton.js +42 -0
- package/build/components/LoginDialog/LoginDialogForm.js +127 -0
- package/build/components/LoginDialog/LoginDialogFormError.js +50 -0
- package/build/components/LoginDialog/LoginDialogHeader.js +60 -0
- package/build/components/LoginDialog/index.js +14 -0
- package/build/components/Logo/Logo.js +83 -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/MenuItem/MenuItem.js +41 -0
- package/build/components/MenuItem/index.js +14 -0
- package/build/components/NoItems/NoItems.js +19 -0
- package/build/components/NoItems/index.js +14 -0
- package/build/components/NotFound/NotFound.js +74 -0
- package/build/components/NotFound/img/package.svg +1 -0
- package/build/components/NotFound/index.js +14 -0
- package/build/components/Package/Package.js +181 -0
- package/build/components/Package/Tag/Tag.js +15 -0
- package/build/components/Package/Tag/index.js +14 -0
- package/build/components/Package/Tag/styles.js +25 -0
- package/build/components/Package/index.js +21 -0
- package/build/components/Package/styles.js +224 -0
- package/build/components/PackageList/PackageList.js +100 -0
- package/build/components/PackageList/index.js +14 -0
- package/build/components/RawViewer/RawViewer.js +64 -0
- package/build/components/RawViewer/index.js +14 -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/index.js +14 -0
- package/build/components/Readme/types.js +6 -0
- package/build/components/Readme/utils.js +35 -0
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/components/RegistryInfoDialog/index.js +14 -0
- package/build/components/RegistryInfoDialog/styles.js +49 -0
- package/build/components/RegistryInfoDialog/types.js +6 -0
- package/build/components/Repository/Repository.js +129 -0
- package/build/components/Repository/__partials__/data.json +5984 -0
- package/build/components/Repository/img/git.png +0 -0
- package/build/components/Repository/index.js +14 -0
- package/build/components/Search/AutoComplete/AutoComplete.js +70 -0
- package/build/components/Search/AutoComplete/index.js +14 -0
- package/build/components/Search/AutoComplete/styles.js +63 -0
- package/build/components/Search/Search.js +159 -0
- package/build/components/Search/SearchItem.js +137 -0
- package/build/components/Search/index.js +14 -0
- package/build/components/Search/styles.js +60 -0
- package/build/components/SettingsMenu/SettingsMenu.js +68 -0
- package/build/components/SettingsMenu/index.js +14 -0
- package/build/components/SideBarTittle/SideBarTittle.js +94 -0
- package/build/components/SideBarTittle/index.js +14 -0
- package/build/components/SideBarTittle/utils.js +20 -0
- package/build/components/TextField/TextField.js +30 -0
- package/build/components/TextField/index.js +14 -0
- package/build/components/UpLinks/UpLinks.js +44 -0
- package/build/components/UpLinks/index.js +14 -0
- package/build/components/UpLinks/styles.js +50 -0
- package/build/components/Versions/HistoryList.js +41 -0
- package/build/components/Versions/TagList.js +31 -0
- package/build/components/Versions/Versions.js +46 -0
- package/build/components/Versions/__partials__/data.json +5984 -0
- package/build/components/Versions/index.js +14 -0
- package/build/components/Versions/styles.js +38 -0
- package/build/components/Versions/types.js +6 -0
- package/build/hooks/index.js +21 -0
- package/build/hooks/useLocalStorage.js +54 -0
- package/build/hooks/useOnClickOutside.js +33 -0
- package/build/index.js +500 -0
- package/build/layouts/Version/Version.js +29 -0
- package/build/layouts/Version/index.js +14 -0
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +63 -0
- package/build/providers/AppConfigurationProvider/index.js +21 -0
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +38 -0
- package/build/providers/PersistenceSettingProvider/index.js +21 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.js +54 -0
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +54 -0
- package/build/providers/TranslatorProvider/index.js +27 -0
- package/build/providers/VersionProvider/README.md +22 -0
- package/build/providers/VersionProvider/VersionProvider.js +81 -0
- package/build/providers/VersionProvider/index.js +21 -0
- package/build/providers/index.js +39 -0
- package/build/sections/Detail/ContainerContent.js +57 -0
- package/build/sections/Detail/Detail.js +52 -0
- package/build/sections/Detail/ReadmeSection.js +22 -0
- package/build/sections/Detail/Tabs.js +61 -0
- package/build/sections/Detail/index.js +14 -0
- package/build/sections/Footer/Footer.js +111 -0
- package/build/sections/Footer/index.js +14 -0
- package/build/sections/Footer/styles.js +90 -0
- package/build/sections/Header/Header.js +73 -0
- package/build/sections/Header/HeaderGreetings.js +26 -0
- package/build/sections/Header/HeaderLeft.js +37 -0
- package/build/sections/Header/HeaderMenu.js +54 -0
- package/build/sections/Header/HeaderRight.js +104 -0
- package/build/sections/Header/HeaderSettingsDialog.js +108 -0
- package/build/sections/Header/HeaderToolTip.js +19 -0
- package/build/sections/Header/HeaderToolTipIcon.js +70 -0
- package/build/sections/Header/LanguageSwitch.js +129 -0
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +190 -0
- package/build/sections/Header/RegistryInfoContent/index.js +14 -0
- package/build/sections/Header/RegistryInfoContent/styles.js +31 -0
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +37 -0
- package/build/sections/Header/RegistryInfoDialog/index.js +14 -0
- package/build/sections/Header/RegistryInfoDialog/styles.js +49 -0
- package/build/sections/Header/RegistryInfoDialog/types.js +6 -0
- package/build/sections/Header/index.js +14 -0
- package/build/sections/Header/styles.js +213 -0
- package/build/sections/Home/Home.js +32 -0
- package/build/sections/Home/index.js +14 -0
- package/build/sections/SideBar/Sidebar.js +98 -0
- package/build/sections/SideBar/index.js +14 -0
- package/build/sections/index.js +21 -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 +11 -0
- package/build/src/components/ActionBar/ActionBar.test.d.ts +1 -0
- package/build/src/components/ActionBar/ActionBarAction.d.ts +10 -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 +6 -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 +8 -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 +8 -0
- package/build/src/components/Dependencies/types.d.ts +6 -0
- package/build/src/components/Deprecated/Deprecated.d.ts +7 -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 +14 -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 +11 -0
- package/build/src/components/Distribution/Dist.d.ts +6 -0
- package/build/src/components/Distribution/Dist.stories.d.ts +8 -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 +4 -0
- package/build/src/components/Distribution/utils.d.ts +7 -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 +2 -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 +7 -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 +1 -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 +9 -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 +6 -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 +49 -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 +13 -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 +8 -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 +10 -0
- package/build/src/components/SettingsMenu/SettingsMenu.d.ts +6 -0
- package/build/src/components/SettingsMenu/index.d.ts +1 -0
- package/build/src/components/SideBarTittle/SideBarTittle.d.ts +13 -0
- package/build/src/components/SideBarTittle/SideBarTittle.stories.d.ts +9 -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 +15 -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 +50 -0
- package/build/src/layouts/Version/Version.d.ts +3 -0
- package/build/src/layouts/Version/Version.stories.d.ts +7 -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/PersistenceSettingProvider/PersistenceSettingProvider.d.ts +6 -0
- package/build/src/providers/PersistenceSettingProvider/index.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.d.ts +24 -0
- package/build/src/providers/TranslatorProvider/TranslatorProvider.spec.d.ts +1 -0
- package/build/src/providers/TranslatorProvider/index.d.ts +1 -0
- package/build/src/providers/VersionProvider/VersionProvider.d.ts +41 -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 +5 -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 +13 -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 +34 -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 +69 -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 +6 -0
- package/build/src/utils/loadable.d.ts +12 -0
- package/build/src/utils/routes.d.ts +7 -0
- package/build/src/utils/token.d.ts +1 -0
- package/build/src/utils/url.d.ts +4 -0
- package/build/src/utils/utils.d.ts +32 -0
- package/build/store/api.js +70 -0
- package/build/store/index.js +52 -0
- package/build/store/models/configuration.js +49 -0
- package/build/store/models/download.js +41 -0
- package/build/store/models/index.js +22 -0
- package/build/store/models/login.js +104 -0
- package/build/store/models/manifest.js +99 -0
- package/build/store/models/packages.js +44 -0
- package/build/store/models/search.js +90 -0
- package/build/store/storage.js +19 -0
- package/build/store/store.js +16 -0
- package/build/test/i18n-config.js +26 -0
- package/build/test/test-react-testing-library.js +53 -0
- package/build/types/index.js +6 -0
- package/build/types/packageMeta.js +6 -0
- package/build/utils/__partials__/packageMeta.js +536 -0
- package/build/utils/cli-utils.js +49 -0
- package/build/utils/index.js +75 -0
- package/build/utils/loadable.js +27 -0
- package/build/utils/routes.js +16 -0
- package/build/utils/token.js +35 -0
- package/build/utils/url.js +64 -0
- package/build/utils/utils.js +103 -0
- package/package.json +69 -12
- package/src/Theme/ResetStyles.tsx +44 -0
- package/src/Theme/StyleBaseline.tsx +14 -0
- package/src/Theme/ThemeProvider.tsx +44 -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 +64 -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/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/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 +158 -0
- package/src/components/Dependencies/Dependencies.test.tsx +79 -0
- package/src/components/Dependencies/Dependencies.tsx +111 -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/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 +67 -0
- package/src/components/Distribution/Dist.test.tsx +99 -0
- package/src/components/Distribution/Dist.tsx +58 -0
- package/src/components/Distribution/index.ts +1 -0
- package/src/components/Distribution/styles.ts +29 -0
- package/src/components/Distribution/utils.ts +32 -0
- package/src/components/Distribution/utilts.spec.ts +17 -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 +56 -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/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 +87 -0
- package/src/components/Install/Install.test.tsx +84 -0
- package/src/components/Install/Install.tsx +67 -0
- package/src/components/Install/InstallListItem.tsx +118 -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/index.ts +1 -0
- package/src/components/Link/Link.tsx +39 -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/index.tsx +1 -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/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/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 +15 -0
- package/src/components/NoItems/Noitems.test.tsx +15 -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/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 +260 -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/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/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 +70 -0
- package/src/components/Repository/Repository.test.tsx +43 -0
- package/src/components/Repository/Repository.tsx +88 -0
- package/src/components/Repository/__partials__/data.json +5984 -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/index.ts +1 -0
- package/src/components/Search/styles.ts +41 -0
- package/src/components/SettingsMenu/SettingsMenu.tsx +67 -0
- package/src/components/SettingsMenu/index.ts +1 -0
- package/src/components/SideBarTittle/SideBarTittle.stories.tsx +68 -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/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/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 +17 -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 +60 -0
- package/src/layouts/Version/Version.stories.tsx +44 -0
- package/src/layouts/Version/Version.tsx +19 -0
- package/src/layouts/Version/index.ts +1 -0
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +73 -0
- package/src/providers/AppConfigurationProvider/index.ts +1 -0
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +57 -0
- package/src/providers/PersistenceSettingProvider/index.ts +1 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.spec.tsx +52 -0
- package/src/providers/TranslatorProvider/TranslatorProvider.tsx +54 -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 +92 -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/index.ts +1 -0
- package/src/sections/Footer/Footer.test.tsx +20 -0
- package/src/sections/Footer/Footer.tsx +112 -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 +106 -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.test.ts +38 -0
- package/src/store/models/login.ts +106 -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 +47 -0
- package/src/types/index.d.ts +2 -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 +11 -0
- package/src/utils/loadable.tsx +20 -0
- package/src/utils/routes.ts +7 -0
- package/src/utils/token.test.ts +54 -0
- package/src/utils/token.ts +33 -0
- package/src/utils/url.test.ts +32 -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 +22 -0
- package/tsconfig.json +21 -0
- package/LICENSE +0 -21
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.parseReadme = parseReadme;
|
|
7
|
+
var DOMPurify = _interopRequireWildcard(require("dompurify"));
|
|
8
|
+
var marked = _interopRequireWildcard(require("marked"));
|
|
9
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
10
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
11
|
+
marked.setOptions({
|
|
12
|
+
renderer: new marked.Renderer(),
|
|
13
|
+
highlight: function (code, lang) {
|
|
14
|
+
const hljs = require('highlight.js');
|
|
15
|
+
const language = hljs.getLanguage(lang) ? lang : 'plaintext';
|
|
16
|
+
return hljs.highlight(code, {
|
|
17
|
+
language
|
|
18
|
+
}).value;
|
|
19
|
+
},
|
|
20
|
+
langPrefix: 'hljs language-',
|
|
21
|
+
// highlight.js css expects a top-level 'hljs' class.
|
|
22
|
+
pedantic: false,
|
|
23
|
+
gfm: true,
|
|
24
|
+
breaks: false,
|
|
25
|
+
mangle: false,
|
|
26
|
+
xhtml: false
|
|
27
|
+
});
|
|
28
|
+
function parseReadme(readme) {
|
|
29
|
+
if (typeof readme === 'string') {
|
|
30
|
+
const html = marked.parse(readme);
|
|
31
|
+
return DOMPurify.sanitize(html);
|
|
32
|
+
}
|
|
33
|
+
return '';
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
8
|
+
var _Dialog = _interopRequireDefault(require("@mui/material/Dialog"));
|
|
9
|
+
var _DialogActions = _interopRequireDefault(require("@mui/material/DialogActions"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _reactI18next = require("react-i18next");
|
|
12
|
+
var _styles = require("./styles");
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
const RegistryInfoDialog = ({
|
|
15
|
+
open = false,
|
|
16
|
+
children,
|
|
17
|
+
onClose,
|
|
18
|
+
title = ''
|
|
19
|
+
}) => {
|
|
20
|
+
const {
|
|
21
|
+
t
|
|
22
|
+
} = (0, _reactI18next.useTranslation)();
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
24
|
+
"data-testid": 'registryInfo--dialog',
|
|
25
|
+
id: "registryInfo--dialog-container",
|
|
26
|
+
maxWidth: "sm",
|
|
27
|
+
onClose: onClose,
|
|
28
|
+
open: open
|
|
29
|
+
}, /*#__PURE__*/_react.default.createElement(_styles.Title, null, title), /*#__PURE__*/_react.default.createElement(_styles.Content, null, children), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
30
|
+
color: "inherit",
|
|
31
|
+
id: "registryInfo--dialog-close",
|
|
32
|
+
onClick: onClose
|
|
33
|
+
}, t('button.close'))));
|
|
34
|
+
};
|
|
35
|
+
var _default = RegistryInfoDialog;
|
|
36
|
+
exports.default = _default;
|
|
37
|
+
//# sourceMappingURL=RegistryInfoDialog.js.map
|
|
@@ -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 () {
|
|
9
|
+
return _RegistryInfoDialog.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _RegistryInfoDialog = _interopRequireDefault(require("./RegistryInfoDialog"));
|
|
13
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Title = exports.TextContent = exports.Content = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _DialogContent = _interopRequireDefault(require("@mui/material/DialogContent"));
|
|
9
|
+
var _DialogTitle = _interopRequireDefault(require("@mui/material/DialogTitle"));
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
const Title = /*#__PURE__*/(0, _base.default)(_DialogTitle.default, process.env.NODE_ENV === "production" ? {
|
|
12
|
+
target: "e1y7bplp2"
|
|
13
|
+
} : {
|
|
14
|
+
target: "e1y7bplp2",
|
|
15
|
+
label: "Title"
|
|
16
|
+
})(props => {
|
|
17
|
+
var _props$theme, _props$theme2, _props$theme3;
|
|
18
|
+
return {
|
|
19
|
+
backgroundColor: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.palette.primary.main,
|
|
20
|
+
color: (_props$theme2 = props.theme) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.palette.white,
|
|
21
|
+
fontSize: (_props$theme3 = props.theme) === null || _props$theme3 === void 0 ? void 0 : _props$theme3.fontSize.lg
|
|
22
|
+
};
|
|
23
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlZ2lzdHJ5SW5mb0RpYWxvZy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTXFCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlZ2lzdHJ5SW5mb0RpYWxvZy9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgRGlhbG9nQ29udGVudCBmcm9tICdAbXVpL21hdGVyaWFsL0RpYWxvZ0NvbnRlbnQnO1xuaW1wb3J0IERpYWxvZ1RpdGxlIGZyb20gJ0BtdWkvbWF0ZXJpYWwvRGlhbG9nVGl0bGUnO1xuXG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJy4uLy4uLyc7XG5cbmV4cG9ydCBjb25zdCBUaXRsZSA9IHN0eWxlZChEaWFsb2dUaXRsZSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgYmFja2dyb3VuZENvbG9yOiBwcm9wcy50aGVtZT8ucGFsZXR0ZS5wcmltYXJ5Lm1haW4sXG4gIGNvbG9yOiBwcm9wcy50aGVtZT8ucGFsZXR0ZS53aGl0ZSxcbiAgZm9udFNpemU6IHByb3BzLnRoZW1lPy5mb250U2l6ZS5sZyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IENvbnRlbnQgPSBzdHlsZWQoRGlhbG9nQ29udGVudCk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6ICcwIDI0cHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IFRleHRDb250ZW50ID0gc3R5bGVkKCdkaXYnKTx7IHRoZW1lPzogVGhlbWUgfT4oKHsgdGhlbWUgfSkgPT4gKHtcbiAgcGFkZGluZzogJzEwcHggMjRweCcsXG4gIGJhY2tncm91bmRDb2xvcjogdGhlbWU/LnBhbGV0dGUuYmFja2dyb3VuZC5kZWZhdWx0LFxufSkpO1xuIl19 */");
|
|
24
|
+
exports.Title = Title;
|
|
25
|
+
const Content = /*#__PURE__*/(0, _base.default)(_DialogContent.default, process.env.NODE_ENV === "production" ? {
|
|
26
|
+
target: "e1y7bplp1"
|
|
27
|
+
} : {
|
|
28
|
+
target: "e1y7bplp1",
|
|
29
|
+
label: "Content"
|
|
30
|
+
})(({
|
|
31
|
+
theme
|
|
32
|
+
}) => ({
|
|
33
|
+
padding: '0 24px',
|
|
34
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.background.default
|
|
35
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlZ2lzdHJ5SW5mb0RpYWxvZy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBW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ja2dyb3VuZC5kZWZhdWx0LFxufSkpO1xuIl19 */");
|
|
36
|
+
exports.Content = Content;
|
|
37
|
+
const TextContent = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
38
|
+
target: "e1y7bplp0"
|
|
39
|
+
} : {
|
|
40
|
+
target: "e1y7bplp0",
|
|
41
|
+
label: "TextContent"
|
|
42
|
+
})(({
|
|
43
|
+
theme
|
|
44
|
+
}) => ({
|
|
45
|
+
padding: '10px 24px',
|
|
46
|
+
backgroundColor: theme === null || theme === void 0 ? void 0 : theme.palette.background.default
|
|
47
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlZ2lzdHJ5SW5mb0RpYWxvZy9zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUIyQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9SZWdpc3RyeUluZm9EaWFsb2cvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IERpYWxvZ0NvbnRlbnQgZnJvbSAnQG11aS9tYXRlcmlhbC9EaWFsb2dDb250ZW50JztcbmltcG9ydCBEaWFsb2dUaXRsZSBmcm9tICdAbXVpL21hdGVyaWFsL0RpYWxvZ1RpdGxlJztcblxuaW1wb3J0IHsgVGhlbWUgfSBmcm9tICcuLi8uLi8nO1xuXG5leHBvcnQgY29uc3QgVGl0bGUgPSBzdHlsZWQoRGlhbG9nVGl0bGUpPHsgdGhlbWU/OiBUaGVtZSB9PigocHJvcHMpID0+ICh7XG4gIGJhY2tncm91bmRDb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUucHJpbWFyeS5tYWluLFxuICBjb2xvcjogcHJvcHMudGhlbWU/LnBhbGV0dGUud2hpdGUsXG4gIGZvbnRTaXplOiBwcm9wcy50aGVtZT8uZm9udFNpemUubGcsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBDb250ZW50ID0gc3R5bGVkKERpYWxvZ0NvbnRlbnQpPHsgdGhlbWU/OiBUaGVtZSB9PigoeyB0aGVtZSB9KSA9PiAoe1xuICBwYWRkaW5nOiAnMCAyNHB4JyxcbiAgYmFja2dyb3VuZENvbG9yOiB0aGVtZT8ucGFsZXR0ZS5iYWNrZ3JvdW5kLmRlZmF1bHQsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBUZXh0Q29udGVudCA9IHN0eWxlZCgnZGl2Jyk8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6ICcxMHB4IDI0cHgnLFxuICBiYWNrZ3JvdW5kQ29sb3I6IHRoZW1lPy5wYWxldHRlLmJhY2tncm91bmQuZGVmYXVsdCxcbn0pKTtcbiJdfQ== */");
|
|
48
|
+
exports.TextContent = TextContent;
|
|
49
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _Avatar = _interopRequireDefault(require("@mui/material/Avatar"));
|
|
9
|
+
var _List = _interopRequireDefault(require("@mui/material/List"));
|
|
10
|
+
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
11
|
+
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
12
|
+
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
13
|
+
var _react = _interopRequireDefault(require("react"));
|
|
14
|
+
var _reactI18next = require("react-i18next");
|
|
15
|
+
var _utils = require("../../utils");
|
|
16
|
+
var _CopyClipboard = _interopRequireDefault(require("../CopyClipboard"));
|
|
17
|
+
var _Icons = require("../Icons");
|
|
18
|
+
var _Link = require("../Link");
|
|
19
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
21
|
+
const StyledText = /*#__PURE__*/(0, _base.default)(_Typography.default, process.env.NODE_ENV === "production" ? {
|
|
22
|
+
target: "ehvjuur4"
|
|
23
|
+
} : {
|
|
24
|
+
target: "ehvjuur4",
|
|
25
|
+
label: "StyledText"
|
|
26
|
+
})(props => {
|
|
27
|
+
var _props$theme;
|
|
28
|
+
return {
|
|
29
|
+
fontWeight: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.fontWeight.bold,
|
|
30
|
+
textTransform: 'capitalize'
|
|
31
|
+
};
|
|
32
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlcG9zaXRvcnkvUmVwb3NpdG9yeS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZW1CIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlcG9zaXRvcnkvUmVwb3NpdG9yeS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgQXZhdGFyIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQXZhdGFyJztcbmltcG9ydCBMaXN0IGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdCc7XG5pbXBvcnQgTGlz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b3NpdG9yeVVSTCgpO1xuXG4gIHJldHVybiAoXG4gICAgPExpc3RcbiAgICAgIGRlbnNlPXt0cnVlfVxuICAgICAgc3ViaGVhZGVyPXs8U3R5bGVkVGV4dCB2YXJpYW50PVwic3VidGl0bGUxXCI+e3QoJ3NpZGViYXIucmVwb3NpdG9yeS50aXRsZScpfTwvU3R5bGVkVGV4dD59XG4gICAgPlxuICAgICAgPFJlcG9zaXRvcnlMaXN0SXRlbT5cbiAgICAgICAgPFJlcG9zaXRvcnlBdmF0YXIgc3g9e3sgYmFja2dyb3VuZENvbG9yOiAnI2ZmZicgfX0+XG4gICAgICAgICAgPEdpdCAvPlxuICAgICAgICA8L1JlcG9zaXRvcnlBdmF0YXI+XG4gICAgICAgIDxSZXBvc2l0b3J5TGlzdEl0ZW1UZXh0XG4gICAgICAgICAgcHJpbWFyeT17XG4gICAgICAgICAgICA8Q29weUNsaXBib2FyZCBkYXRhVGVzdElkPVwicmVwb3NpdG9yeUlEXCIgdGV4dD17cmVwb3NpdG9yeVVSTH0gdGl0bGU9e3JlcG9zaXRvcnlVUkx9PlxuICAgICAgICAgICAgICA8R2l0aHViTGluayBleHRlcm5hbD17dHJ1ZX0gdG89e3JlcG9zaXRvcnlVUkx9IHZhcmlhbnQ9XCJvdXRsaW5lXCI+XG4gICAgICAgICAgICAgICAge3JlcG9zaXRvcnlVUkx9XG4gICAgICAgICAgICAgIDwvR2l0aHViTGluaz5cbiAgICAgICAgICAgIDwvQ29weUNsaXBib2FyZD5cbiAgICAgICAgICB9XG4gICAgICAgIC8+XG4gICAgICA8L1JlcG9zaXRvcnlMaXN0SXRlbT5cbiAgICA8L0xpc3Q+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBSZXBvc2l0b3J5O1xuIl19 */");
|
|
33
|
+
const GithubLink = /*#__PURE__*/(0, _base.default)(_Link.Link, process.env.NODE_ENV === "production" ? {
|
|
34
|
+
target: "ehvjuur3"
|
|
35
|
+
} : {
|
|
36
|
+
target: "ehvjuur3",
|
|
37
|
+
label: "GithubLink"
|
|
38
|
+
})(({
|
|
39
|
+
theme
|
|
40
|
+
}) => ({
|
|
41
|
+
color: (theme === null || theme === void 0 ? void 0 : theme.palette.mode) === 'light' ? theme === null || theme === void 0 ? void 0 : theme.palette.primary.main : theme === null || theme === void 0 ? void 0 : theme.palette.white,
|
|
42
|
+
':hover': {
|
|
43
|
+
color: theme === null || theme === void 0 ? void 0 : theme.palette.dodgerBlue
|
|
44
|
+
}
|
|
45
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlcG9zaXRvcnkvUmVwb3NpdG9yeS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JtQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9SZXBvc2l0b3J5L1JlcG9zaXRvcnkudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEF2YXRhciBmcm9tICdAbXVpL21hdGVyaWFsL0F2YXRhcic7XG5pbXBvcnQgTGlzdCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3QnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IExpc3RJdGVtVGV4dCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtVGV4dCc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5cbmltcG9ydCB7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ZmYnIH19PlxuICAgICAgICAgIDxHaXQgLz5cbiAgICAgICAgPC9SZXBvc2l0b3J5QXZhdGFyPlxuICAgICAgICA8UmVwb3NpdG9yeUxpc3RJdGVtVGV4dFxuICAgICAgICAgIHByaW1hcnk9e1xuICAgICAgICAgICAgPENvcHlDbGlwYm9hcmQgZGF0YVRlc3RJZD1cInJlcG9zaXRvcnlJRFwiIHRleHQ9e3JlcG9zaXRvcnlVUkx9IHRpdGxlPXtyZXBvc2l0b3J5VVJMfT5cbiAgICAgICAgICAgICAgPEdpdGh1YkxpbmsgZXh0ZXJuYWw9e3RydWV9IHRvPXtyZXBvc2l0b3J5VVJMfSB2YXJpYW50PVwib3V0bGluZVwiPlxuICAgICAgICAgICAgICAgIHtyZXBvc2l0b3J5VVJMfVxuICAgICAgICAgICAgICA8L0dpdGh1Ykxpbms+XG4gICAgICAgICAgICA8L0NvcHlDbGlwYm9hcmQ+XG4gICAgICAgICAgfVxuICAgICAgICAvPlxuICAgICAgPC9SZXBvc2l0b3J5TGlzdEl0ZW0+XG4gICAgPC9MaXN0PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUmVwb3NpdG9yeTtcbiJdfQ== */");
|
|
46
|
+
const RepositoryListItem = /*#__PURE__*/(0, _base.default)(_ListItem.default, process.env.NODE_ENV === "production" ? {
|
|
47
|
+
target: "ehvjuur2"
|
|
48
|
+
} : {
|
|
49
|
+
target: "ehvjuur2",
|
|
50
|
+
label: "RepositoryListItem"
|
|
51
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
52
|
+
name: "zw46c6",
|
|
53
|
+
styles: "padding:0;:hover{background-color:transparent;}"
|
|
54
|
+
} : {
|
|
55
|
+
name: "zw46c6",
|
|
56
|
+
styles: "padding:0;:hover{background-color:transparent;}",
|
|
57
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1J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IHtyZXBvc2l0b3J5VVJMfVxuICAgICAgICAgICAgICA8L0dpdGh1Ykxpbms+XG4gICAgICAgICAgICA8L0NvcHlDbGlwYm9hcmQ+XG4gICAgICAgICAgfVxuICAgICAgICAvPlxuICAgICAgPC9SZXBvc2l0b3J5TGlzdEl0ZW0+XG4gICAgPC9MaXN0PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUmVwb3NpdG9yeTtcbiJdfQ== */",
|
|
58
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
59
|
+
});
|
|
60
|
+
const RepositoryListItemText = /*#__PURE__*/(0, _base.default)(_ListItemText.default, process.env.NODE_ENV === "production" ? {
|
|
61
|
+
target: "ehvjuur1"
|
|
62
|
+
} : {
|
|
63
|
+
target: "ehvjuur1",
|
|
64
|
+
label: "RepositoryListItemText"
|
|
65
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
66
|
+
name: "1o2edpc",
|
|
67
|
+
styles: "padding:0 10px;margin:0"
|
|
68
|
+
} : {
|
|
69
|
+
name: "1o2edpc",
|
|
70
|
+
styles: "padding:0 10px;margin:0",
|
|
71
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlcG9zaXRvcnkvUmVwb3NpdG9yeS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0MrQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9SZXBvc2l0b3J5L1JlcG9zaXRvcnkudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEF2YXRhciBmcm9tICdAbXVpL21hdGVyaWFsL0F2YXRhcic7XG5pbXBvcnQgTGlzdCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3QnO1xuaW1wb3J0I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zaXRvcnlVUkwoKTtcblxuICByZXR1cm4gKFxuICAgIDxMaXN0XG4gICAgICBkZW5zZT17dHJ1ZX1cbiAgICAgIHN1YmhlYWRlcj17PFN0eWxlZFRleHQgdmFyaWFudD1cInN1YnRpdGxlMVwiPnt0KCdzaWRlYmFyLnJlcG9zaXRvcnkudGl0bGUnKX08L1N0eWxlZFRleHQ+fVxuICAgID5cbiAgICAgIDxSZXBvc2l0b3J5TGlzdEl0ZW0+XG4gICAgICAgIDxSZXBvc2l0b3J5QXZhdGFyIHN4PXt7IGJhY2tncm91bmRDb2xvcjogJyNmZmYnIH19PlxuICAgICAgICAgIDxHaXQgLz5cbiAgICAgICAgPC9SZXBvc2l0b3J5QXZhdGFyPlxuICAgICAgICA8UmVwb3NpdG9yeUxpc3RJdGVtVGV4dFxuICAgICAgICAgIHByaW1hcnk9e1xuICAgICAgICAgICAgPENvcHlDbGlwYm9hcmQgZGF0YVRlc3RJZD1cInJlcG9zaXRvcnlJRFwiIHRleHQ9e3JlcG9zaXRvcnlVUkx9IHRpdGxlPXtyZXBvc2l0b3J5VVJMfT5cbiAgICAgICAgICAgICAgPEdpdGh1YkxpbmsgZXh0ZXJuYWw9e3RydWV9IHRvPXtyZXBvc2l0b3J5VVJMfSB2YXJpYW50PVwib3V0bGluZVwiPlxuICAgICAgICAgICAgICAgIHtyZXBvc2l0b3J5VVJMfVxuICAgICAgICAgICAgICA8L0dpdGh1Ykxpbms+XG4gICAgICAgICAgICA8L0NvcHlDbGlwYm9hcmQ+XG4gICAgICAgICAgfVxuICAgICAgICAvPlxuICAgICAgPC9SZXBvc2l0b3J5TGlzdEl0ZW0+XG4gICAgPC9MaXN0PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUmVwb3NpdG9yeTtcbiJdfQ== */",
|
|
72
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
73
|
+
});
|
|
74
|
+
const RepositoryAvatar = /*#__PURE__*/(0, _base.default)(_Avatar.default, process.env.NODE_ENV === "production" ? {
|
|
75
|
+
target: "ehvjuur0"
|
|
76
|
+
} : {
|
|
77
|
+
target: "ehvjuur0",
|
|
78
|
+
label: "RepositoryAvatar"
|
|
79
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
80
|
+
name: "17x0n9v",
|
|
81
|
+
styles: "border-radius:0px;padding:0;img{background-color:transparent;}"
|
|
82
|
+
} : {
|
|
83
|
+
name: "17x0n9v",
|
|
84
|
+
styles: "border-radius:0px;padding:0;img{background-color:transparent;}",
|
|
85
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1JlcG9zaXRvcnkvUmVwb3NpdG9yeS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUN5QiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9SZXBvc2l0b3J5L1JlcG9zaXRvcnkudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IEF2YXRhciBmcm9tICdAbXVpL21hdGVyaWFsL0F2YXRhcic7XG5pbXBvcnQgTGlzdCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3QnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IExpc3RJdGVtVGV4dCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3RJdGVtVGV4dCc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5cbmltcG9ydCB7IFRoZW1l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lxuICAgICAgICAgIDxHaXQgLz5cbiAgICAgICAgPC9SZXBvc2l0b3J5QXZhdGFyPlxuICAgICAgICA8UmVwb3NpdG9yeUxpc3RJdGVtVGV4dFxuICAgICAgICAgIHByaW1hcnk9e1xuICAgICAgICAgICAgPENvcHlDbGlwYm9hcmQgZGF0YVRlc3RJZD1cInJlcG9zaXRvcnlJRFwiIHRleHQ9e3JlcG9zaXRvcnlVUkx9IHRpdGxlPXtyZXBvc2l0b3J5VVJMfT5cbiAgICAgICAgICAgICAgPEdpdGh1YkxpbmsgZXh0ZXJuYWw9e3RydWV9IHRvPXtyZXBvc2l0b3J5VVJMfSB2YXJpYW50PVwib3V0bGluZVwiPlxuICAgICAgICAgICAgICAgIHtyZXBvc2l0b3J5VVJMfVxuICAgICAgICAgICAgICA8L0dpdGh1Ykxpbms+XG4gICAgICAgICAgICA8L0NvcHlDbGlwYm9hcmQ+XG4gICAgICAgICAgfVxuICAgICAgICAvPlxuICAgICAgPC9SZXBvc2l0b3J5TGlzdEl0ZW0+XG4gICAgPC9MaXN0PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgUmVwb3NpdG9yeTtcbiJdfQ== */",
|
|
86
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
87
|
+
});
|
|
88
|
+
const Repository = ({
|
|
89
|
+
packageMeta
|
|
90
|
+
}) => {
|
|
91
|
+
var _packageMeta$latest, _packageMeta$latest$r;
|
|
92
|
+
const {
|
|
93
|
+
t
|
|
94
|
+
} = (0, _reactI18next.useTranslation)();
|
|
95
|
+
const url = packageMeta === null || packageMeta === void 0 ? void 0 : (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : (_packageMeta$latest$r = _packageMeta$latest.repository) === null || _packageMeta$latest$r === void 0 ? void 0 : _packageMeta$latest$r.url;
|
|
96
|
+
if (!url || !_utils.url.isURL(url)) {
|
|
97
|
+
return null;
|
|
98
|
+
}
|
|
99
|
+
const getCorrectRepositoryURL = () => {
|
|
100
|
+
if (!url.includes('git+')) {
|
|
101
|
+
return url;
|
|
102
|
+
}
|
|
103
|
+
return url.split('git+')[1];
|
|
104
|
+
};
|
|
105
|
+
const repositoryURL = getCorrectRepositoryURL();
|
|
106
|
+
return /*#__PURE__*/_react.default.createElement(_List.default, {
|
|
107
|
+
dense: true,
|
|
108
|
+
subheader: /*#__PURE__*/_react.default.createElement(StyledText, {
|
|
109
|
+
variant: "subtitle1"
|
|
110
|
+
}, t('sidebar.repository.title'))
|
|
111
|
+
}, /*#__PURE__*/_react.default.createElement(RepositoryListItem, null, /*#__PURE__*/_react.default.createElement(RepositoryAvatar, {
|
|
112
|
+
sx: {
|
|
113
|
+
backgroundColor: '#fff'
|
|
114
|
+
}
|
|
115
|
+
}, /*#__PURE__*/_react.default.createElement(_Icons.Git, null)), /*#__PURE__*/_react.default.createElement(RepositoryListItemText, {
|
|
116
|
+
primary: /*#__PURE__*/_react.default.createElement(_CopyClipboard.default, {
|
|
117
|
+
dataTestId: "repositoryID",
|
|
118
|
+
text: repositoryURL,
|
|
119
|
+
title: repositoryURL
|
|
120
|
+
}, /*#__PURE__*/_react.default.createElement(GithubLink, {
|
|
121
|
+
external: true,
|
|
122
|
+
to: repositoryURL,
|
|
123
|
+
variant: "outline"
|
|
124
|
+
}, repositoryURL))
|
|
125
|
+
})));
|
|
126
|
+
};
|
|
127
|
+
var _default = Repository;
|
|
128
|
+
exports.default = _default;
|
|
129
|
+
//# sourceMappingURL=Repository.js.map
|