@verdaccio/ui-components 3.0.0-next.1 → 4.0.0-next-8.0
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/.eslintrc +1 -1
- package/CHANGELOG.md +108 -0
- package/build/AppTest/AppRoute.js +34 -0
- package/build/AppTest/pages/Front/Home.js +9 -0
- package/build/AppTest/pages/Front/index.js +14 -0
- package/build/AppTest/pages/Version/Version.js +34 -0
- package/build/AppTest/pages/Version/index.js +14 -0
- package/build/Theme/ResetStyles.js +2 -3
- package/build/Theme/StyleBaseline.js +2 -3
- package/build/Theme/ThemeProvider.js +3 -3
- package/build/Theme/colors.js +1 -2
- package/build/Theme/index.js +3 -3
- package/build/Theme/theme.js +17 -7
- package/build/__mocks__/react-markdown.js +1 -1
- package/build/components/ActionBar/ActionBar.js +13 -8
- package/build/components/ActionBar/ActionBarAction.js +26 -19
- package/build/components/ActionBar/index.js +1 -1
- package/build/components/Author/Author.js +12 -34
- package/build/components/Author/index.js +1 -1
- package/build/components/Author/styles.js +10 -28
- package/build/components/CopyClipboard/CopyToClipBoard.js +13 -13
- package/build/components/CopyClipboard/index.js +1 -1
- package/build/components/CopyClipboard/utils.js +3 -12
- package/build/components/Dependencies/Dependencies.js +31 -58
- package/build/components/Dependencies/DependencyBlock.js +102 -0
- package/build/components/Dependencies/index.js +1 -1
- package/build/components/Dependencies/utits.js +10 -0
- package/build/components/Deprecated/Deprecated.js +13 -22
- package/build/components/Deprecated/index.js +1 -1
- package/build/components/Developers/DeveloperType.js +12 -0
- package/build/components/Developers/Developers.js +26 -32
- package/build/components/Developers/Title.js +7 -13
- package/build/components/Developers/get-unique-developer-values.js +1 -2
- package/build/components/Developers/index.js +4 -4
- package/build/components/Distribution/Dist.js +3 -4
- package/build/components/Distribution/index.js +1 -1
- package/build/components/Distribution/styles.js +14 -31
- package/build/components/Engines/Engines.js +17 -12
- package/build/components/Engines/index.js +1 -1
- package/build/components/Engines/styles.js +9 -11
- package/build/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/build/components/ErrorBoundary/index.js +1 -1
- package/build/components/Forbidden/Forbidden.js +75 -0
- package/build/components/Forbidden/index.js +14 -0
- package/build/components/FundButton/FundButton.js +11 -13
- package/build/components/FundButton/index.js +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +5 -5
- package/build/components/HeaderInfoDialog/index.js +1 -1
- package/build/components/Heading/Heading.js +5 -6
- package/build/components/Heading/index.js +1 -1
- package/build/components/Help/Help.js +4 -5
- package/build/components/Help/index.js +1 -1
- package/build/components/Help/styles.js +2 -3
- package/build/components/Icons/DevsIcons/CommonJS.js +2 -13
- package/build/components/Icons/DevsIcons/ES6Module.js +3 -14
- package/build/components/Icons/DevsIcons/Git.js +2 -13
- package/build/components/Icons/DevsIcons/NodeJS.js +2 -13
- package/build/components/Icons/DevsIcons/TypeScript.js +2 -13
- package/build/components/Icons/Earth.js +3 -4
- package/build/components/Icons/FileBinary.js +14 -9
- package/build/components/Icons/Law.js +15 -10
- package/build/components/Icons/License.js +3 -4
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/Managers/Npm.js +2 -13
- package/build/components/Icons/Managers/Pnpm.js +2 -13
- package/build/components/Icons/Managers/Yarn.js +2 -13
- package/build/components/Icons/SvgIcon.js +3 -4
- package/build/components/Icons/Time.js +3 -4
- package/build/components/Icons/Version.js +3 -4
- package/build/components/Install/Install.js +36 -29
- package/build/components/Install/InstallListItem.js +35 -48
- package/build/components/Install/index.js +1 -1
- package/build/components/Keywords/KeywordListItems.js +34 -0
- package/build/components/Keywords/Keywords.js +39 -0
- package/build/components/Keywords/index.js +14 -0
- package/build/components/Label/Label.js +3 -4
- package/build/components/Label/index.js +1 -1
- package/build/components/Link/Link.js +5 -19
- package/build/components/Link/index.js +2 -2
- package/build/components/LinkExternal/LinkExternal.js +32 -0
- package/build/components/LinkExternal/index.js +14 -0
- package/build/components/Loading/Loading.js +2 -3
- package/build/components/Loading/Spinner/Spinner.js +2 -3
- package/build/components/Loading/Spinner/index.js +1 -1
- package/build/components/Loading/index.js +1 -1
- package/build/components/Loading/styles.js +6 -7
- package/build/components/LoginDialog/LoginDialog.js +16 -6
- package/build/components/LoginDialog/LoginDialogCloseButton.js +5 -5
- package/build/components/LoginDialog/LoginDialogForm.js +7 -20
- package/build/components/LoginDialog/LoginDialogFormError.js +7 -7
- package/build/components/LoginDialog/LoginDialogHeader.js +2 -3
- package/build/components/LoginDialog/index.js +1 -1
- package/build/components/Logo/Logo.js +15 -9
- package/build/components/Logo/index.js +1 -1
- package/build/components/MenuItem/MenuItem.js +5 -6
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/NoItems/NoItems.js +2 -3
- package/build/components/NoItems/index.js +1 -1
- package/build/components/NotFound/NotFound.js +20 -19
- package/build/components/NotFound/index.js +1 -1
- package/build/components/Package/Package.js +56 -40
- package/build/components/Package/index.js +2 -2
- package/build/components/Package/styles.js +59 -84
- package/build/components/PackageList/PackageList.js +2 -3
- package/build/components/PackageList/index.js +1 -1
- package/build/components/Person/Person.js +48 -0
- package/build/components/Person/PersonTooltip.js +22 -0
- package/build/components/Person/index.js +14 -0
- package/build/components/Person/utils.js +17 -0
- package/build/components/RawViewer/RawViewer.js +13 -9
- package/build/components/RawViewer/index.js +1 -1
- package/build/components/Readme/Readme.js +41 -21
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/Readme.spec.js +20 -1
- package/build/components/Readme/Readme.spec.js.map +1 -1
- package/build/components/Readme/github-markdown.css +1198 -0
- package/build/components/Readme/index.js +1 -1
- package/build/components/Readme/utils.js +14 -17
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +2 -3
- package/build/components/RegistryInfoDialog/index.js +1 -1
- package/build/components/RegistryInfoDialog/styles.js +13 -17
- package/build/components/Repository/Repository.js +23 -36
- package/build/components/Repository/index.js +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.js +4 -5
- package/build/components/Search/AutoComplete/index.js +1 -1
- package/build/components/Search/AutoComplete/styles.js +6 -45
- package/build/components/Search/Search.js +11 -10
- package/build/components/Search/SearchItem.js +56 -45
- package/build/components/Search/index.js +1 -1
- package/build/components/Search/styles.js +3 -5
- package/build/components/Search/utils.js +23 -0
- package/build/components/SettingsMenu/SettingsMenu.js +49 -11
- package/build/components/SettingsMenu/index.js +1 -1
- package/build/components/SideBarTitle/SideBarTitle.js +104 -0
- package/build/components/SideBarTitle/index.js +14 -0
- package/build/components/{SideBarTittle → SideBarTitle}/utils.js +2 -3
- package/build/components/TextField/TextField.js +5 -6
- package/build/components/TextField/index.js +1 -1
- package/build/components/UpLinks/UpLinks.js +37 -9
- package/build/components/UpLinks/UplinkLink.js +22 -0
- package/build/components/UpLinks/index.js +1 -1
- package/build/components/UpLinks/styles.js +9 -11
- package/build/components/Versions/HistoryList.js +52 -18
- package/build/components/Versions/TagList.js +10 -7
- package/build/components/Versions/Versions.js +82 -15
- package/build/components/Versions/__partials__/data.json +1 -0
- package/build/components/Versions/__partials__/deprecated-versions.json +175 -0
- package/build/components/Versions/index.js +1 -1
- package/build/components/Versions/styles.js +3 -5
- package/build/hooks/index.js +1 -1
- package/build/hooks/useLocalStorage.js +1 -2
- package/build/hooks/useOnClickOutside.js +1 -2
- package/build/index.js +40 -8
- package/build/layouts/Version/Version.js +2 -3
- package/build/layouts/Version/index.js +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +6 -5
- package/build/providers/AppConfigurationProvider/index.js +2 -2
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +7 -6
- package/build/providers/PersistenceSettingProvider/index.js +2 -2
- package/build/providers/TranslatorProvider/TranslatorProvider.js +4 -5
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +3 -3
- package/build/providers/TranslatorProvider/index.js +2 -2
- package/build/providers/VersionProvider/VersionProvider.js +5 -7
- package/build/providers/VersionProvider/index.js +2 -2
- package/build/sections/Detail/ContainerContent.js +5 -7
- package/build/sections/Detail/Detail.js +13 -11
- package/build/sections/Detail/ReadmeSection.js +2 -3
- package/build/sections/Detail/Tabs.js +6 -8
- package/build/sections/Detail/index.js +1 -1
- package/build/sections/Footer/Footer.js +39 -11
- package/build/sections/Footer/index.js +1 -1
- package/build/sections/Footer/styles.js +19 -21
- package/build/sections/Header/Header.js +4 -5
- package/build/sections/Header/HeaderGreetings.js +2 -3
- package/build/sections/Header/HeaderLeft.js +16 -20
- package/build/sections/Header/HeaderMenu.js +3 -4
- package/build/sections/Header/HeaderRight.js +16 -8
- package/build/sections/Header/HeaderSettingsDialog.js +6 -10
- package/build/sections/Header/HeaderToolTip.js +2 -3
- package/build/sections/Header/HeaderToolTipIcon.js +4 -5
- package/build/sections/Header/LanguageSwitch.js +10 -13
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +14 -24
- package/build/sections/Header/RegistryInfoContent/index.js +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.js +3 -5
- package/build/sections/Header/index.js +1 -1
- package/build/sections/Header/styles.js +54 -106
- package/build/sections/Home/Home.js +4 -5
- package/build/sections/Home/index.js +1 -1
- package/build/sections/SideBar/Sidebar.js +23 -30
- package/build/sections/SideBar/index.js +1 -1
- package/build/sections/index.js +1 -1
- package/build/src/AppTest/App.stories.d.ts +8 -0
- package/build/src/AppTest/AppRoute.d.ts +3 -0
- package/build/src/AppTest/pages/Front/Home.d.ts +2 -0
- package/build/src/AppTest/pages/Front/index.d.ts +1 -0
- package/build/src/AppTest/pages/Version/Version.d.ts +3 -0
- package/build/src/AppTest/pages/Version/index.d.ts +1 -0
- package/build/src/Theme/ThemeProvider.test.d.ts +1 -0
- package/build/src/__mocks__/react-markdown.d.ts +2 -2
- package/build/src/components/Author/Author.d.ts +0 -5
- package/build/src/components/Author/styles.d.ts +0 -4
- package/build/src/components/CopyClipboard/CopyToClipBoard.d.ts +1 -1
- package/build/src/components/CopyClipboard/CopyToClipBoard.test.d.ts +1 -0
- package/build/src/components/Dependencies/DependencyBlock.d.ts +16 -0
- package/build/src/components/Dependencies/DependencyBlock.test.d.ts +1 -0
- package/build/src/components/Dependencies/utits.d.ts +3 -0
- package/build/src/components/Deprecated/Deprecated.d.ts +0 -1
- package/build/src/components/Developers/DeveloperType.d.ts +4 -0
- package/build/src/components/Developers/Developers.d.ts +1 -4
- package/build/src/components/Developers/Title.d.ts +1 -4
- package/build/src/components/Developers/index.d.ts +2 -1
- package/build/src/components/Distribution/styles.d.ts +0 -1
- package/build/src/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
- package/build/src/components/Forbidden/Forbidden.d.ts +3 -0
- package/build/src/components/Forbidden/Forbidden.test.d.ts +1 -0
- package/build/src/components/Forbidden/index.d.ts +1 -0
- package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.test.d.ts +1 -0
- package/build/src/components/Heading/Heading.d.ts +1 -1
- package/build/src/components/Heading/Heading.test.d.ts +1 -0
- package/build/src/components/Icons/DevsIcons/CommonJS.d.ts +2 -2
- package/build/src/components/Icons/DevsIcons/ES6Module.d.ts +2 -2
- package/build/src/components/Icons/DevsIcons/Git.d.ts +2 -2
- package/build/src/components/Icons/DevsIcons/NodeJS.d.ts +2 -2
- package/build/src/components/Icons/DevsIcons/TypeScript.d.ts +2 -2
- package/build/src/components/Icons/Earth.d.ts +2 -2
- package/build/src/components/Icons/FileBinary.d.ts +2 -2
- package/build/src/components/Icons/Icons.test.d.ts +1 -0
- package/build/src/components/Icons/Law.d.ts +2 -2
- package/build/src/components/Icons/License.d.ts +2 -2
- package/build/src/components/Icons/Managers/Npm.d.ts +2 -2
- package/build/src/components/Icons/Managers/Pnpm.d.ts +2 -2
- package/build/src/components/Icons/Managers/Yarn.d.ts +2 -2
- package/build/src/components/Icons/SvgIcon.d.ts +1 -1
- package/build/src/components/Icons/Time.d.ts +2 -2
- package/build/src/components/Icons/Version.d.ts +2 -2
- package/build/src/components/Install/InstallListItem.d.ts +2 -0
- package/build/src/components/Keywords/KeywordListItems.d.ts +5 -0
- package/build/src/components/Keywords/Keywords.d.ts +6 -0
- package/build/src/components/Keywords/Keywords.stories.d.ts +5 -0
- package/build/src/components/Keywords/Keywords.test.d.ts +1 -0
- package/build/src/components/Keywords/index.d.ts +1 -0
- package/build/src/components/Link/Link.d.ts +1 -4
- package/build/src/components/Link/Link.test.d.ts +1 -0
- package/build/src/components/Link/index.d.ts +1 -1
- package/build/src/components/LinkExternal/LinkExternal.d.ts +3 -0
- package/build/src/components/LinkExternal/LinkExternal.test.d.ts +1 -0
- package/build/src/components/LinkExternal/index.d.ts +1 -0
- package/build/src/components/Loading/styles.d.ts +2 -2
- package/build/src/components/LoginDialog/LoginDialog.stories.d.ts +2 -2
- package/build/src/components/LoginDialog/LoginDialogForm.d.ts +1 -1
- package/build/src/components/LoginDialog/LoginDialogFormError.d.ts +1 -1
- package/build/src/components/Logo/Logo.d.ts +1 -0
- package/build/src/components/Logo/Logo.stories.d.ts +5 -0
- package/build/src/components/MenuItem/MenuItem.d.ts +1 -1
- package/build/src/components/Package/Package.d.ts +1 -1
- package/build/src/components/Package/styles.d.ts +7 -15
- package/build/src/components/Person/Person.d.ts +9 -0
- package/build/src/components/Person/Person.test.d.ts +1 -0
- package/build/src/components/Person/PersonTooltip.d.ts +6 -0
- package/build/src/components/Person/index.d.ts +1 -0
- package/build/src/components/Person/utils.d.ts +3 -0
- package/build/src/components/Readme/Readme.d.ts +1 -2
- package/build/src/components/RegistryInfoDialog/styles.d.ts +1 -1
- package/build/src/components/Search/AutoComplete/styles.d.ts +1 -9
- package/build/src/components/Search/Search.stories.d.ts +2 -2
- package/build/src/components/Search/SearchItem.d.ts +1 -1
- package/build/src/components/Search/styles.d.ts +1 -1
- package/build/src/components/Search/utils.d.ts +1 -0
- package/build/src/components/SettingsMenu/SettingsMenu.d.ts +2 -2
- package/build/src/components/SettingsMenu/SettingsMenu.test.d.ts +1 -0
- package/build/src/components/SideBarTitle/index.d.ts +1 -0
- package/build/src/components/TextField/TextField.d.ts +1 -1
- package/build/src/components/UpLinks/UplinkLink.d.ts +6 -0
- package/build/src/components/UpLinks/styles.d.ts +2 -2
- package/build/src/components/Versions/HistoryList.d.ts +1 -0
- package/build/src/components/Versions/Versions.d.ts +1 -0
- package/build/src/components/Versions/styles.d.ts +2 -2
- package/build/src/index.d.ts +6 -2
- package/build/src/sections/Detail/Detail.stories.d.ts +1 -0
- package/build/src/sections/Detail/Tabs.d.ts +1 -0
- package/build/src/sections/Footer/Footer.d.ts +2 -2
- package/build/src/sections/Footer/styles.d.ts +5 -5
- package/build/src/sections/Header/LanguageSwitch.d.ts +2 -2
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +3 -3
- package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +2 -2
- package/build/src/sections/Header/styles.d.ts +4 -11
- package/build/src/sections/Home/Home.test.d.ts +1 -0
- package/build/src/store/models/manifest.d.ts +11 -0
- package/build/src/store/models/routes.d.ts +8 -0
- package/build/src/store/models/utils.d.ts +1 -0
- package/build/src/types/packageMeta.d.ts +8 -5
- package/build/src/utils/__partials__/packageMeta.d.ts +0 -1
- package/build/src/utils/loadable.d.ts +2 -2
- package/build/src/utils/routes.d.ts +1 -0
- package/build/src/utils/utils.d.ts +1 -0
- package/build/store/api.js +14 -9
- package/build/store/index.js +1 -1
- package/build/store/models/configuration.js +4 -4
- package/build/store/models/download.js +2 -4
- package/build/store/models/index.js +1 -2
- package/build/store/models/login.js +7 -7
- package/build/store/models/manifest.js +27 -8
- package/build/store/models/packages.js +6 -5
- package/build/store/models/routes.js +18 -0
- package/build/store/models/search.js +7 -6
- package/build/store/models/utils.js +10 -0
- package/build/store/storage.js +2 -3
- package/build/store/store.js +2 -3
- package/build/test/i18n-config.js +2 -3
- package/build/test/test-react-testing-library.js +1 -1
- package/build/utils/__partials__/packageMeta.js +1 -3
- package/build/utils/index.js +3 -3
- package/build/utils/loadable.js +2 -2
- package/build/utils/routes.js +2 -2
- package/build/utils/token.js +1 -1
- package/build/utils/url.js +1 -1
- package/build/utils/utils.js +22 -4
- package/package.json +34 -31
- package/src/AppTest/App.stories.tsx +32 -0
- package/src/AppTest/AppRoute.test.tsx +65 -0
- package/src/AppTest/AppRoute.tsx +42 -0
- package/src/AppTest/pages/Front/Home.ts +3 -0
- package/src/AppTest/pages/Front/index.ts +1 -0
- package/src/AppTest/pages/Version/Version.tsx +28 -0
- package/src/AppTest/pages/Version/index.ts +1 -0
- package/src/Theme/ThemeProvider.test.tsx +27 -0
- package/src/Theme/theme.ts +12 -5
- package/src/components/ActionBar/ActionBar.stories.tsx +1 -1
- package/src/components/ActionBar/ActionBar.test.tsx +44 -16
- package/src/components/ActionBar/ActionBar.tsx +17 -13
- package/src/components/ActionBar/ActionBarAction.tsx +22 -14
- package/src/components/Author/Author.test.tsx +7 -1
- package/src/components/Author/Author.tsx +4 -33
- package/src/components/Author/styles.ts +0 -6
- package/src/components/CopyClipboard/CopyToClipBoard.test.tsx +23 -0
- package/src/components/CopyClipboard/CopyToClipBoard.tsx +4 -3
- package/src/components/CopyClipboard/utils.ts +2 -13
- package/src/components/Dependencies/Dependencies.stories.tsx +11 -11
- package/src/components/Dependencies/Dependencies.test.tsx +1 -11
- package/src/components/Dependencies/Dependencies.tsx +30 -69
- package/src/components/Dependencies/DependencyBlock.test.tsx +46 -0
- package/src/components/Dependencies/DependencyBlock.tsx +83 -0
- package/src/components/Dependencies/utits.ts +3 -0
- package/src/components/Deprecated/Deprecated.tsx +6 -19
- package/src/components/Developers/DeveloperType.tsx +4 -0
- package/src/components/Developers/Developers.test.tsx +37 -10
- package/src/components/Developers/Developers.tsx +13 -13
- package/src/components/Developers/Title.tsx +1 -5
- package/src/components/Developers/index.ts +2 -1
- package/src/components/Distribution/Dist.test.tsx +1 -1
- package/src/components/Distribution/Dist.tsx +2 -4
- package/src/components/Distribution/styles.ts +0 -6
- package/src/components/Engines/Engines.tsx +10 -6
- package/src/components/Engines/styles.ts +1 -1
- package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +39 -0
- package/src/components/Forbidden/Forbidden.test.tsx +38 -0
- package/src/components/Forbidden/Forbidden.tsx +56 -0
- package/src/components/Forbidden/index.ts +1 -0
- package/src/components/FundButton/FundButton.tsx +5 -5
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.test.tsx +51 -0
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +2 -2
- package/src/components/Heading/Heading.test.tsx +20 -0
- package/src/components/Help/Help.test.tsx +10 -3
- package/src/components/Icons/DevsIcons/CommonJS.tsx +1 -7
- package/src/components/Icons/DevsIcons/ES6Module.tsx +2 -8
- package/src/components/Icons/DevsIcons/Git.tsx +1 -7
- package/src/components/Icons/DevsIcons/NodeJS.tsx +1 -7
- package/src/components/Icons/DevsIcons/TypeScript.tsx +1 -7
- package/src/components/Icons/FileBinary.tsx +2 -1
- package/src/components/Icons/Icons.stories.tsx +21 -5
- package/src/components/Icons/Icons.test.tsx +70 -0
- package/src/components/Icons/Law.tsx +2 -1
- package/src/components/Icons/Managers/Npm.tsx +1 -7
- package/src/components/Icons/Managers/Pnpm.tsx +1 -7
- package/src/components/Icons/Managers/Yarn.tsx +1 -7
- package/src/components/Install/Install.test.tsx +74 -41
- package/src/components/Install/Install.tsx +27 -15
- package/src/components/Install/InstallListItem.tsx +49 -31
- package/src/components/Keywords/KeywordListItems.tsx +22 -0
- package/src/components/Keywords/Keywords.stories.tsx +19 -0
- package/src/components/Keywords/Keywords.test.tsx +57 -0
- package/src/components/Keywords/Keywords.tsx +35 -0
- package/src/components/Keywords/index.ts +1 -0
- package/src/components/Link/Link.test.tsx +25 -0
- package/src/components/Link/Link.tsx +4 -18
- package/src/components/Link/index.ts +1 -1
- package/src/components/LinkExternal/LinkExternal.test.tsx +18 -0
- package/src/components/LinkExternal/LinkExternal.tsx +22 -0
- package/src/components/LinkExternal/index.ts +1 -0
- package/src/components/Loading/Loading.test.tsx +8 -4
- package/src/components/Loading/styles.ts +1 -0
- package/src/components/LoginDialog/LoginDialog.test.tsx +1 -1
- package/src/components/LoginDialog/LoginDialog.tsx +10 -1
- package/src/components/LoginDialog/LoginDialogCloseButton.tsx +1 -0
- package/src/components/LoginDialog/LoginDialogForm.tsx +0 -2
- package/src/components/LoginDialog/LoginDialogFormError.tsx +1 -1
- package/src/components/Logo/Logo.stories.tsx +16 -0
- package/src/components/Logo/Logo.test.tsx +8 -1
- package/src/components/Logo/Logo.tsx +19 -3
- package/src/components/NotFound/NotFound.tsx +6 -5
- package/src/components/NotFound/Notfound.test.tsx +6 -3
- package/src/components/Package/Package.test.tsx +47 -14
- package/src/components/Package/Package.tsx +51 -45
- package/src/components/Package/styles.ts +7 -17
- package/src/components/PackageList/Packagelist.test.tsx +1 -0
- package/src/components/Person/Person.test.tsx +50 -0
- package/src/components/Person/Person.tsx +45 -0
- package/src/components/Person/PersonTooltip.tsx +26 -0
- package/src/components/Person/index.ts +1 -0
- package/src/components/Person/utils.ts +20 -0
- package/src/components/RawViewer/RawViewer.tsx +9 -10
- package/src/components/Readme/Readme.spec.tsx +17 -0
- package/src/components/Readme/Readme.tsx +28 -12
- package/src/components/Readme/github-markdown.css +1198 -0
- package/src/components/Readme/utils.ts +15 -14
- package/src/components/RegistryInfoDialog/styles.ts +5 -4
- package/src/components/Repository/Repository.tsx +10 -17
- package/src/components/Search/AutoComplete/AutoComplete.tsx +1 -1
- package/src/components/Search/AutoComplete/styles.ts +7 -0
- package/src/components/Search/Search.test.tsx +38 -11
- package/src/components/Search/Search.tsx +4 -2
- package/src/components/Search/SearchItem.tsx +19 -8
- package/src/components/Search/utils.ts +17 -0
- package/src/components/SettingsMenu/SettingsMenu.test.tsx +41 -0
- package/src/components/SettingsMenu/SettingsMenu.tsx +64 -7
- package/src/components/{SideBarTittle/SideBarTittle.tsx → SideBarTitle/SideBarTitle.tsx} +20 -3
- package/src/components/SideBarTitle/index.ts +1 -0
- package/src/components/UpLinks/UpLinks.test.tsx +7 -0
- package/src/components/UpLinks/UpLinks.tsx +38 -15
- package/src/components/UpLinks/UplinkLink.tsx +20 -0
- package/src/components/UpLinks/styles.ts +1 -0
- package/src/components/Versions/HistoryList.tsx +39 -6
- package/src/components/Versions/TagList.tsx +4 -3
- package/src/components/Versions/Versions.test.tsx +40 -7
- package/src/components/Versions/Versions.tsx +88 -19
- package/src/components/Versions/__partials__/data.json +1 -0
- package/src/components/Versions/__partials__/deprecated-versions.json +175 -0
- package/src/index.ts +6 -2
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +2 -0
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +4 -0
- package/src/providers/VersionProvider/VersionProvider.test.tsx +3 -3
- package/src/sections/Detail/Detail.stories.tsx +10 -0
- package/src/sections/Detail/Detail.test.tsx +8 -1
- package/src/sections/Detail/Detail.tsx +11 -4
- package/src/sections/Detail/Tabs.tsx +6 -9
- package/src/sections/Footer/Footer.tsx +26 -12
- package/src/sections/Footer/styles.ts +4 -0
- package/src/sections/Header/Header.test.tsx +12 -10
- package/src/sections/Header/HeaderLeft.tsx +19 -11
- package/src/sections/Header/HeaderMenu.tsx +1 -1
- package/src/sections/Header/HeaderRight.tsx +14 -3
- package/src/sections/Header/HeaderSettingsDialog.tsx +2 -3
- package/src/sections/Header/LanguageSwitch.tsx +10 -7
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -1
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +2 -7
- package/src/sections/Header/styles.ts +4 -16
- package/src/sections/Home/Home.test.tsx +37 -0
- package/src/sections/Home/Home.tsx +0 -1
- package/src/sections/SideBar/Sidebar.test.tsx +52 -84
- package/src/sections/SideBar/Sidebar.tsx +11 -26
- package/src/store/api.test.ts +19 -2
- package/src/store/api.ts +13 -6
- package/src/store/models/configuration.ts +2 -1
- package/src/store/models/download.ts +0 -1
- package/src/store/models/login.ts +10 -12
- package/src/store/models/manifest.ts +25 -6
- package/src/store/models/packages.ts +4 -5
- package/src/store/models/routes.ts +10 -0
- package/src/store/models/search.ts +4 -2
- package/src/store/models/utils.ts +3 -0
- package/src/types/packageMeta.ts +8 -5
- package/src/utils/__partials__/packageMeta.ts +0 -1
- package/src/utils/routes.ts +1 -0
- package/src/utils/utils.test.ts +34 -0
- package/src/utils/utils.ts +20 -5
- package/tsconfig.json +1 -1
- package/build/components/Dependencies/styles.js +0 -68
- package/build/components/Developers/styles.js +0 -69
- package/build/components/Distribution/utils.js +0 -25
- package/build/components/Distribution/utilts.spec.js +0 -18
- package/build/components/Package/Tag/Tag.js +0 -15
- package/build/components/Package/Tag/index.js +0 -14
- package/build/components/Package/Tag/styles.js +0 -25
- package/build/components/SideBarTittle/SideBarTittle.js +0 -94
- package/build/components/SideBarTittle/index.js +0 -14
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +0 -37
- package/build/sections/Header/RegistryInfoDialog/index.js +0 -14
- package/build/sections/Header/RegistryInfoDialog/styles.js +0 -49
- package/build/sections/Header/RegistryInfoDialog/types.js +0 -6
- package/build/src/components/Dependencies/styles.d.ts +0 -8
- package/build/src/components/Developers/styles.d.ts +0 -11
- package/build/src/components/Distribution/utils.d.ts +0 -7
- package/build/src/components/Package/Tag/Tag.d.ts +0 -6
- package/build/src/components/Package/Tag/index.d.ts +0 -1
- package/build/src/components/Package/Tag/styles.d.ts +0 -5
- package/build/src/components/SideBarTittle/index.d.ts +0 -1
- package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +0 -4
- package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +0 -1
- package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +0 -13
- package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +0 -7
- package/src/components/Dependencies/styles.ts +0 -26
- package/src/components/Developers/styles.ts +0 -31
- package/src/components/Distribution/utils.ts +0 -32
- package/src/components/Distribution/utilts.spec.ts +0 -17
- package/src/components/Package/Tag/Tag.test.tsx +0 -15
- package/src/components/Package/Tag/Tag.tsx +0 -11
- package/src/components/Package/Tag/index.ts +0 -1
- package/src/components/Package/Tag/styles.ts +0 -11
- package/src/components/Search/AutoComplete/styles.tsx +0 -42
- package/src/components/SideBarTittle/index.ts +0 -1
- package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +0 -31
- package/src/sections/Header/RegistryInfoDialog/index.ts +0 -1
- package/src/sections/Header/RegistryInfoDialog/styles.ts +0 -21
- package/src/sections/Header/RegistryInfoDialog/types.ts +0 -8
- /package/build/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
- /package/build/src/{components/Package/Tag/Tag.test.d.ts → AppTest/AppRoute.test.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle/SideBarTittle.d.ts → SideBarTitle/SideBarTitle.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle/SideBarTittle.stories.d.ts → SideBarTitle/SideBarTitle.stories.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle → SideBarTitle}/utils.d.ts +0 -0
- /package/src/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
- /package/src/components/{SideBarTittle/SideBarTittle.stories.tsx → SideBarTitle/SideBarTitle.stories.tsx} +0 -0
- /package/src/components/{SideBarTittle → SideBarTitle}/utils.ts +0 -0
|
@@ -7,9 +7,9 @@ exports.SvgIcon = void 0;
|
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
function _interopRequireDefault(
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
12
|
-
const SvgIcon = /*#__PURE__*/_react.default.forwardRef(function SvgIcon({
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
+
const SvgIcon = exports.SvgIcon = /*#__PURE__*/_react.default.forwardRef(function SvgIcon({
|
|
13
13
|
size = 'md',
|
|
14
14
|
title,
|
|
15
15
|
...props
|
|
@@ -22,7 +22,6 @@ const SvgIcon = /*#__PURE__*/_react.default.forwardRef(function SvgIcon({
|
|
|
22
22
|
ref: ref
|
|
23
23
|
}));
|
|
24
24
|
});
|
|
25
|
-
exports.SvgIcon = SvgIcon;
|
|
26
25
|
const getSize = size => {
|
|
27
26
|
if (size === 'md') {
|
|
28
27
|
return {
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Time = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _SvgIcon = require("./SvgIcon");
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
11
|
-
const Time = /*#__PURE__*/_react.default.forwardRef(function Time(props, ref) {
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
const Time = exports.Time = /*#__PURE__*/_react.default.forwardRef(function Time(props, ref) {
|
|
12
12
|
return /*#__PURE__*/_react.default.createElement(_SvgIcon.SvgIcon, _extends({
|
|
13
13
|
viewBox: "0 0 24 24"
|
|
14
14
|
}, props, {
|
|
@@ -22,6 +22,5 @@ const Time = /*#__PURE__*/_react.default.forwardRef(function Time(props, ref) {
|
|
|
22
22
|
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
23
23
|
}));
|
|
24
24
|
});
|
|
25
|
-
exports.Time = Time;
|
|
26
25
|
Time.displayName = 'Time';
|
|
27
26
|
//# sourceMappingURL=Time.js.map
|
|
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Version = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _SvgIcon = require("./SvgIcon");
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
11
|
-
const Version = /*#__PURE__*/_react.default.forwardRef(function Version(props, ref) {
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
|
+
const Version = exports.Version = /*#__PURE__*/_react.default.forwardRef(function Version(props, ref) {
|
|
12
12
|
return /*#__PURE__*/_react.default.createElement(_SvgIcon.SvgIcon, _extends({
|
|
13
13
|
height: 16,
|
|
14
14
|
viewBox: "0 0 14 16",
|
|
@@ -20,6 +20,5 @@ const Version = /*#__PURE__*/_react.default.forwardRef(function Version(props, r
|
|
|
20
20
|
fillRule: "evenodd"
|
|
21
21
|
}));
|
|
22
22
|
});
|
|
23
|
-
exports.Version = Version;
|
|
24
23
|
Version.displayName = 'Version';
|
|
25
24
|
//# sourceMappingURL=Version.js.map
|
|
@@ -6,20 +6,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _material = require("@mui/material");
|
|
9
|
-
var _Grid = _interopRequireDefault(require("@mui/material/Grid"));
|
|
10
9
|
var _List = _interopRequireDefault(require("@mui/material/List"));
|
|
11
|
-
var _styles = require("@mui/styles");
|
|
12
10
|
var _react = _interopRequireDefault(require("react"));
|
|
13
11
|
var _reactI18next = require("react-i18next");
|
|
14
12
|
var _SettingsMenu = require("../SettingsMenu");
|
|
15
13
|
var _InstallListItem = _interopRequireWildcard(require("./InstallListItem"));
|
|
16
|
-
function _getRequireWildcardCache(
|
|
17
|
-
function _interopRequireWildcard(
|
|
18
|
-
function _interopRequireDefault(
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
+
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)."; }
|
|
19
18
|
const StyledText = /*#__PURE__*/(0, _base.default)(_material.Typography, process.env.NODE_ENV === "production" ? {
|
|
20
|
-
target: "
|
|
19
|
+
target: "e1xg69sg1"
|
|
21
20
|
} : {
|
|
22
|
-
target: "
|
|
21
|
+
target: "e1xg69sg1",
|
|
23
22
|
label: "StyledText"
|
|
24
23
|
})(props => {
|
|
25
24
|
var _props$theme;
|
|
@@ -27,7 +26,21 @@ const StyledText = /*#__PURE__*/(0, _base.default)(_material.Typography, process
|
|
|
27
26
|
fontWeight: (_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.fontWeight.bold,
|
|
28
27
|
textTransform: 'capitalize'
|
|
29
28
|
};
|
|
30
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
29
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYW1CIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBUeXBvZ3JhcGh5IH0gZnJvbSAnQG11aS9tYXRlcmlhbCc7XG5pbXBvcnQgTGlzdCBmcm9tICdAbXVpL21hdGVyaWFsL0xpc3QnO1xuaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHVzZVRyYW5zbGF0aW9uIH0gZnJvbSAncmVhY3QtaTE4bmV4dCc7XG5cbmltcG9ydCB7IFRlbXBsYXRlVUlPcHRpb25zIH0gZnJvbSAnQHZlcmRhY2Npby90eXBlcyc7XG5cbmltcG9ydCB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuaW1wb3J0IHsgUGFja2FnZU1ldGFJbnRlcmZhY2UgfSBmcm9tICcuLi8uLi90eXBlcy9wYWNrYWdlTWV0YSc7XG5pbXBvcnQgeyBTZXR0aW5nc01lbnUgfSBmcm9tICcuLi9TZXR0aW5nc01lbnUnO1xuaW1wb3J0IEluc3RhbGxMaXN0SXRlbSwgeyBEZXBlbmRlbmN5TWFuYWdlciB9IGZyb20gJy4vSW5zdGFsbExpc3RJdGVtJztcblxuY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZ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TnBtIHx8IGhhc1BucG0gfHwgaGFzWWFybjtcblxuICByZXR1cm4gaGFzUGtnTWFuYWdlcnMgPyAoXG4gICAgPD5cbiAgICAgIDxMaXN0XG4gICAgICAgIGRhdGEtdGVzdGlkPXsnaW5zdGFsbExpc3QnfVxuICAgICAgICBzdWJoZWFkZXI9e1xuICAgICAgICAgIDxXcmFwcGVyPlxuICAgICAgICAgICAgPFN0eWxlZFRleHQgdmFyaWFudD17J3N1YnRpdGxlMSd9Pnt0KCdzaWRlYmFyLmluc3RhbGxhdGlvbi50aXRsZScpfTwvU3R5bGVkVGV4dD5cbiAgICAgICAgICAgIDxTZXR0aW5nc01lbnUgcGFja2FnZU5hbWU9e3BhY2thZ2VOYW1lfSAvPlxuICAgICAgICAgIDwvV3JhcHBlcj5cbiAgICAgICAgfVxuICAgICAgPlxuICAgICAgICB7aGFzTnBtICYmIChcbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtXG4gICAgICAgICAgICBkZXBlbmRlbmN5TWFuYWdlcj17RGVwZW5kZW5jeU1hbmFnZXIuTlBNfVxuICAgICAgICAgICAgcGFja2FnZU5hbWU9e3BhY2thZ2VOYW1lfVxuICAgICAgICAgICAgcGFja2FnZVZlcnNpb249e3BhY2thZ2VNZXRhLmxhdGVzdC52ZXJzaW9ufVxuICAgICAgICAgIC8+XG4gICAgICAgICl9XG4gICAgICAgIHtoYXNZYXJuICYmIChcbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtXG4gICAgICAgICAgICBkZXBlbmRlbmN5TWFuYWdlcj17RGVwZW5kZW5jeU1hbmFnZXIuWUFSTn1cbiAgICAgICAgICAgIHBhY2thZ2VOYW1lPXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uPXtwYWNrYWdlTWV0YS5sYXRlc3QudmVyc2lvbn1cbiAgICAgICAgICAvPlxuICAgICAgICApfVxuICAgICAgICB7aGFzUG5wbSAmJiAoXG4gICAgICAgICAgPEluc3RhbGxMaXN0SXRlbVxuICAgICAgICAgICAgZGVwZW5kZW5jeU1hbmFnZXI9e0RlcGVuZGVuY3lNYW5hZ2VyLlBOUE19XG4gICAgICAgICAgICBwYWNrYWdlTmFtZT17cGFja2FnZU5hbWV9XG4gICAgICAgICAgICBwYWNrYWdlVmVyc2lvbj17cGFja2FnZU1ldGEubGF0ZXN0LnZlcnNpb259XG4gICAgICAgICAgLz5cbiAgICAgICAgKX1cbiAgICAgIDwvTGlzdD5cbiAgICA8Lz5cbiAgKSA6IG51bGw7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBJbnN0YWxsO1xuIl19 */");
|
|
30
|
+
const Wrapper = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
31
|
+
target: "e1xg69sg0"
|
|
32
|
+
} : {
|
|
33
|
+
target: "e1xg69sg0",
|
|
34
|
+
label: "Wrapper"
|
|
35
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
36
|
+
name: "bcffy2",
|
|
37
|
+
styles: "display:flex;align-items:center;justify-content:space-between"
|
|
38
|
+
} : {
|
|
39
|
+
name: "bcffy2",
|
|
40
|
+
styles: "display:flex;align-items:center;justify-content:space-between",
|
|
41
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JnQiIsImZpbGUiOiIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy9JbnN0YWxsL0luc3RhbGwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgVHlwb2dyYXBoeSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnO1xuaW1wb3J0IExpc3QgZnJvbSAnQG11aS9tYXRl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hbmFnZXI9e0RlcGVuZGVuY3lNYW5hZ2VyLk5QTX1cbiAgICAgICAgICAgIHBhY2thZ2VOYW1lPXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uPXtwYWNrYWdlTWV0YS5sYXRlc3QudmVyc2lvbn1cbiAgICAgICAgICAvPlxuICAgICAgICApfVxuICAgICAgICB7aGFzWWFybiAmJiAoXG4gICAgICAgICAgPEluc3RhbGxMaXN0SXRlbVxuICAgICAgICAgICAgZGVwZW5kZW5jeU1hbmFnZXI9e0RlcGVuZGVuY3lNYW5hZ2VyLllBUk59XG4gICAgICAgICAgICBwYWNrYWdlTmFtZT17cGFja2FnZU5hbWV9XG4gICAgICAgICAgICBwYWNrYWdlVmVyc2lvbj17cGFja2FnZU1ldGEubGF0ZXN0LnZlcnNpb259XG4gICAgICAgICAgLz5cbiAgICAgICAgKX1cbiAgICAgICAge2hhc1BucG0gJiYgKFxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1cbiAgICAgICAgICAgIGRlcGVuZGVuY3lNYW5hZ2VyPXtEZXBlbmRlbmN5TWFuYWdlci5QTlBNfVxuICAgICAgICAgICAgcGFja2FnZU5hbWU9e3BhY2thZ2VOYW1lfVxuICAgICAgICAgICAgcGFja2FnZVZlcnNpb249e3BhY2thZ2VNZXRhLmxhdGVzdC52ZXJzaW9ufVxuICAgICAgICAgIC8+XG4gICAgICAgICl9XG4gICAgICA8L0xpc3Q+XG4gICAgPC8+XG4gICkgOiBudWxsO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zdGFsbDtcbiJdfQ== */",
|
|
42
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
43
|
+
});
|
|
31
44
|
const Install = ({
|
|
32
45
|
packageMeta,
|
|
33
46
|
packageName,
|
|
@@ -37,39 +50,33 @@ const Install = ({
|
|
|
37
50
|
const {
|
|
38
51
|
t
|
|
39
52
|
} = (0, _reactI18next.useTranslation)();
|
|
40
|
-
const theme = (0, _styles.useTheme)();
|
|
41
53
|
if (!packageMeta || !packageName) {
|
|
42
54
|
return null;
|
|
43
55
|
}
|
|
44
|
-
const hasNpm = configOptions === null || configOptions === void 0
|
|
45
|
-
const hasYarn = configOptions === null || configOptions === void 0
|
|
46
|
-
const hasPnpm = (_configOptions$pkgMan3 = configOptions === null || configOptions === void 0
|
|
56
|
+
const hasNpm = configOptions === null || configOptions === void 0 || (_configOptions$pkgMan = configOptions.pkgManagers) === null || _configOptions$pkgMan === void 0 ? void 0 : _configOptions$pkgMan.includes('npm');
|
|
57
|
+
const hasYarn = configOptions === null || configOptions === void 0 || (_configOptions$pkgMan2 = configOptions.pkgManagers) === null || _configOptions$pkgMan2 === void 0 ? void 0 : _configOptions$pkgMan2.includes('yarn');
|
|
58
|
+
const hasPnpm = (_configOptions$pkgMan3 = configOptions === null || configOptions === void 0 || (_configOptions$pkgMan4 = configOptions.pkgManagers) === null || _configOptions$pkgMan4 === void 0 ? void 0 : _configOptions$pkgMan4.includes('pnpm')) !== null && _configOptions$pkgMan3 !== void 0 ? _configOptions$pkgMan3 : true;
|
|
47
59
|
const hasPkgManagers = hasNpm || hasPnpm || hasYarn;
|
|
48
|
-
return hasPkgManagers ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(
|
|
49
|
-
container: true,
|
|
50
|
-
justifyContent: "flex-end",
|
|
51
|
-
sx: {
|
|
52
|
-
marginRight: theme.spacing(10),
|
|
53
|
-
alingText: 'right'
|
|
54
|
-
}
|
|
55
|
-
}, /*#__PURE__*/_react.default.createElement(_SettingsMenu.SettingsMenu, {
|
|
56
|
-
packageName: packageName
|
|
57
|
-
})), /*#__PURE__*/_react.default.createElement(_List.default, {
|
|
60
|
+
return hasPkgManagers ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_List.default, {
|
|
58
61
|
"data-testid": 'installList',
|
|
59
|
-
subheader: /*#__PURE__*/_react.default.createElement(StyledText, {
|
|
62
|
+
subheader: /*#__PURE__*/_react.default.createElement(Wrapper, null, /*#__PURE__*/_react.default.createElement(StyledText, {
|
|
60
63
|
variant: 'subtitle1'
|
|
61
|
-
}, t('sidebar.installation.title'))
|
|
64
|
+
}, t('sidebar.installation.title')), /*#__PURE__*/_react.default.createElement(_SettingsMenu.SettingsMenu, {
|
|
65
|
+
packageName: packageName
|
|
66
|
+
}))
|
|
62
67
|
}, hasNpm && /*#__PURE__*/_react.default.createElement(_InstallListItem.default, {
|
|
63
68
|
dependencyManager: _InstallListItem.DependencyManager.NPM,
|
|
64
|
-
packageName: packageName
|
|
69
|
+
packageName: packageName,
|
|
70
|
+
packageVersion: packageMeta.latest.version
|
|
65
71
|
}), hasYarn && /*#__PURE__*/_react.default.createElement(_InstallListItem.default, {
|
|
66
72
|
dependencyManager: _InstallListItem.DependencyManager.YARN,
|
|
67
|
-
packageName: packageName
|
|
73
|
+
packageName: packageName,
|
|
74
|
+
packageVersion: packageMeta.latest.version
|
|
68
75
|
}), hasPnpm && /*#__PURE__*/_react.default.createElement(_InstallListItem.default, {
|
|
69
76
|
dependencyManager: _InstallListItem.DependencyManager.PNPM,
|
|
70
|
-
packageName: packageName
|
|
77
|
+
packageName: packageName,
|
|
78
|
+
packageVersion: packageMeta.latest.version
|
|
71
79
|
}))) : null;
|
|
72
80
|
};
|
|
73
|
-
var _default = Install;
|
|
74
|
-
exports.default = _default;
|
|
81
|
+
var _default = exports.default = Install;
|
|
75
82
|
//# sourceMappingURL=Install.js.map
|
|
@@ -4,16 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = exports.DependencyManager = void 0;
|
|
7
|
+
exports.getGlobalInstall = getGlobalInstall;
|
|
7
8
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
9
|
var _Avatar = _interopRequireDefault(require("@mui/material/Avatar"));
|
|
9
10
|
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
10
11
|
var _ListItemText = _interopRequireDefault(require("@mui/material/ListItemText"));
|
|
12
|
+
var _styles = require("@mui/styles");
|
|
11
13
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var _reactI18next = require("react-i18next");
|
|
13
14
|
var _PersistenceSettingProvider = require("../../providers/PersistenceSettingProvider");
|
|
14
15
|
var _CopyClipboard = _interopRequireDefault(require("../CopyClipboard"));
|
|
15
16
|
var _Icons = require("../Icons");
|
|
16
|
-
function _interopRequireDefault(
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
18
|
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)."; }
|
|
18
19
|
const InstallItem = /*#__PURE__*/(0, _base.default)(_ListItem.default, process.env.NODE_ENV === "production" ? {
|
|
19
20
|
target: "e19lng442"
|
|
@@ -26,7 +27,7 @@ const InstallItem = /*#__PURE__*/(0, _base.default)(_ListItem.default, process.e
|
|
|
26
27
|
} : {
|
|
27
28
|
name: "zw46c6",
|
|
28
29
|
styles: "padding:0;:hover{background-color:transparent;}",
|
|
29
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
30
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbExpc3RJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXb0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvSW5zdGFsbC9JbnN0YWxsTGlzdEl0ZW0udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi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dGFsbExpc3RJdGVtLXlhcm4nfT5cbiAgICAgICAgICA8UGFja2FnZU1hbmdlckF2YXRhciBhbHQ9XCJ5YXJuXCIgc3g9e3sgYmdjb2xvcjogdGhlbWUucGFsZXR0ZS53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxZYXJuIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsWWFyblwiXG4gICAgICAgICAgICAgICAgdGV4dD17XG4gICAgICAgICAgICAgICAgICBpc0dsb2JhbFxuICAgICAgICAgICAgICAgICAgICA/IGB5YXJuICR7bG9jYWxTZXR0aW5ncy55YXJuTW9kZXJuID8gJycgOiAnZ2xvYmFsJ30gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzR2xvYmFsLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZVZlcnNpb24sXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlTmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRydWVcbiAgICAgICAgICAgICAgICAgICAgICApfWBcbiAgICAgICAgICAgICAgICAgICAgOiBgeWFybiBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lLCB0cnVlKX1gXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHRpdGxlPXtcbiAgICAgICAgICAgICAgICAgIGlzR2xvYmFsXG4gICAgICAgICAgICAgICAgICAgID8gYHlhcm4gZ2xvYmFsIGFkZCAke2dldEdsb2JhbEluc3RhbGwoXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0dsb2JhbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgKX1gXG4gICAgICAgICAgICAgICAgICAgIDogYHlhcm4gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSwgdHJ1ZSl9YFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAvPlxuICAgICAgICA8L0luc3RhbGxJdGVtPlxuICAgICAgKTtcbiAgICBjYXNlIERlcGVuZGVuY3lNYW5hZ2VyLlBOUE06XG4gICAgICByZXR1cm4gKFxuICAgICAgICA8SW5zdGFsbEl0ZW0gZGF0YS10ZXN0aWQ9eydpbnN0YWxsTGlzdEl0ZW0tcG5wbSd9PlxuICAgICAgICAgIDxQYWNrYWdlTWFuZ2VyQXZhdGFyIGFsdD17J3BucG0nfSBzeD17eyBiZ2NvbG9yOiB0aGVtZS5wYWxldHRlLndoaXRlIH19PlxuICAgICAgICAgICAgPFBucG0gLz5cbiAgICAgICAgICA8L1BhY2thZ2VNYW5nZXJBdmF0YXI+XG4gICAgICAgICAgPEluc3RhbGxMaXN0SXRlbVRleHRcbiAgICAgICAgICAgIHByaW1hcnk9e1xuICAgICAgICAgICAgICA8Q29weVRvQ2xpcEJvYXJkXG4gICAgICAgICAgICAgICAgZGF0YVRlc3RJZD1cImluc3RhbGxQbnBtXCJcbiAgICAgICAgICAgICAgICB0ZXh0PXtgcG5wbSBpbnN0YWxsICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSl9YH1cbiAgICAgICAgICAgICAgICB0aXRsZT17YHBucG0gaW5zdGFsbCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUpfWB9XG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9JbnN0YWxsSXRlbT5cbiAgICAgICk7XG4gICAgZGVmYXVsdDpcbiAgICAgIHJldHVybiBudWxsO1xuICB9XG59O1xuXG5leHBvcnQgZGVmYXVsdCBJbnN0YWxsTGlzdEl0ZW07XG4iXX0= */",
|
|
30
31
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
31
32
|
});
|
|
32
33
|
const InstallListItemText = /*#__PURE__*/(0, _base.default)(_ListItemText.default, process.env.NODE_ENV === "production" ? {
|
|
@@ -40,7 +41,7 @@ const InstallListItemText = /*#__PURE__*/(0, _base.default)(_ListItemText.defaul
|
|
|
40
41
|
} : {
|
|
41
42
|
name: "42bvt",
|
|
42
43
|
styles: "padding:0 0 0 10px;margin:0",
|
|
43
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
44
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbExpc3RJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQjRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbExpc3RJdGVtLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBBdmF0YXIgZnJvbSAnQG11aS9tYXRlcmlhbC9BdmF0YXInO1xuaW1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YWx0PVwieWFyblwiIHN4PXt7IGJnY29sb3I6IHRoZW1lLnBhbGV0dGUud2hpdGUgfX0+XG4gICAgICAgICAgICA8WWFybiAvPlxuICAgICAgICAgIDwvUGFja2FnZU1hbmdlckF2YXRhcj5cbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtVGV4dFxuICAgICAgICAgICAgcHJpbWFyeT17XG4gICAgICAgICAgICAgIDxDb3B5VG9DbGlwQm9hcmRcbiAgICAgICAgICAgICAgICBkYXRhVGVzdElkPVwiaW5zdGFsbFlhcm5cIlxuICAgICAgICAgICAgICAgIHRleHQ9e1xuICAgICAgICAgICAgICAgICAgaXNHbG9iYWxcbiAgICAgICAgICAgICAgICAgICAgPyBgeWFybiAke2xvY2FsU2V0dGluZ3MueWFybk1vZGVybiA/ICcnIDogJ2dsb2JhbCd9IGFkZCAke2dldEdsb2JhbEluc3RhbGwoXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0dsb2JhbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgKX1gXG4gICAgICAgICAgICAgICAgICAgIDogYHlhcm4gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSwgdHJ1ZSl9YFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aXRsZT17XG4gICAgICAgICAgICAgICAgICBpc0dsb2JhbFxuICAgICAgICAgICAgICAgICAgICA/IGB5YXJuIGdsb2JhbCBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNHbG9iYWwsXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlVmVyc2lvbixcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VOYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHJ1ZVxuICAgICAgICAgICAgICAgICAgICAgICl9YFxuICAgICAgICAgICAgICAgICAgICA6IGB5YXJuIGFkZCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUsIHRydWUpfWBcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9JbnN0YWxsSXRlbT5cbiAgICAgICk7XG4gICAgY2FzZSBEZXBlbmRlbmN5TWFuYWdlci5QTlBNOlxuICAgICAgcmV0dXJuIChcbiAgICAgICAgPEluc3RhbGxJdGVtIGRhdGEtdGVzdGlkPXsnaW5zdGFsbExpc3RJdGVtLXBucG0nfT5cbiAgICAgICAgICA8UGFja2FnZU1hbmdlckF2YXRhciBhbHQ9eydwbnBtJ30gc3g9e3sgYmdjb2xvcjogdGhlbWUucGFsZXR0ZS53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxQbnBtIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsUG5wbVwiXG4gICAgICAgICAgICAgICAgdGV4dD17YHBucG0gaW5zdGFsbCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUpfWB9XG4gICAgICAgICAgICAgICAgdGl0bGU9e2BwbnBtIGluc3RhbGwgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lKX1gfVxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvSW5zdGFsbEl0ZW0+XG4gICAgICApO1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gbnVsbDtcbiAgfVxufTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zdGFsbExpc3RJdGVtO1xuIl19 */",
|
|
44
45
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
45
46
|
});
|
|
46
47
|
const PackageMangerAvatar = /*#__PURE__*/(0, _base.default)(_Avatar.default, process.env.NODE_ENV === "production" ? {
|
|
@@ -49,34 +50,36 @@ const PackageMangerAvatar = /*#__PURE__*/(0, _base.default)(_Avatar.default, pro
|
|
|
49
50
|
target: "e19lng440",
|
|
50
51
|
label: "PackageMangerAvatar"
|
|
51
52
|
})(process.env.NODE_ENV === "production" ? {
|
|
52
|
-
name: "
|
|
53
|
-
styles: "
|
|
53
|
+
name: "19ijsa5",
|
|
54
|
+
styles: "background-color:transparent;padding:0;margin-left:0"
|
|
54
55
|
} : {
|
|
55
|
-
name: "
|
|
56
|
-
styles: "
|
|
57
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
56
|
+
name: "19ijsa5",
|
|
57
|
+
styles: "background-color:transparent;padding:0;margin-left:0",
|
|
58
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbExpc3RJdGVtLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF1QjRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0luc3RhbGwvSW5zdGFsbExpc3RJdGVtLnRzeCIsInNvdXJ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JldHVybiAoXG4gICAgICAgIDxJbnN0YWxsSXRlbSBkYXRhLXRlc3RpZD17J2luc3RhbGxMaXN0SXRlbS15YXJuJ30+XG4gICAgICAgICAgPFBhY2thZ2VNYW5nZXJBdmF0YXIgYWx0PVwieWFyblwiIHN4PXt7IGJnY29sb3I6IHRoZW1lLnBhbGV0dGUud2hpdGUgfX0+XG4gICAgICAgICAgICA8WWFybiAvPlxuICAgICAgICAgIDwvUGFja2FnZU1hbmdlckF2YXRhcj5cbiAgICAgICAgICA8SW5zdGFsbExpc3RJdGVtVGV4dFxuICAgICAgICAgICAgcHJpbWFyeT17XG4gICAgICAgICAgICAgIDxDb3B5VG9DbGlwQm9hcmRcbiAgICAgICAgICAgICAgICBkYXRhVGVzdElkPVwiaW5zdGFsbFlhcm5cIlxuICAgICAgICAgICAgICAgIHRleHQ9e1xuICAgICAgICAgICAgICAgICAgaXNHbG9iYWxcbiAgICAgICAgICAgICAgICAgICAgPyBgeWFybiAke2xvY2FsU2V0dGluZ3MueWFybk1vZGVybiA/ICcnIDogJ2dsb2JhbCd9IGFkZCAke2dldEdsb2JhbEluc3RhbGwoXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0dsb2JhbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VWZXJzaW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgcGFja2FnZU5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgKX1gXG4gICAgICAgICAgICAgICAgICAgIDogYHlhcm4gYWRkICR7Z2V0R2xvYmFsSW5zdGFsbChpc0xhdGVzdCwgaXNHbG9iYWwsIHBhY2thZ2VWZXJzaW9uLCBwYWNrYWdlTmFtZSwgdHJ1ZSl9YFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB0aXRsZT17XG4gICAgICAgICAgICAgICAgICBpc0dsb2JhbFxuICAgICAgICAgICAgICAgICAgICA/IGB5YXJuIGdsb2JhbCBhZGQgJHtnZXRHbG9iYWxJbnN0YWxsKFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNHbG9iYWwsXG4gICAgICAgICAgICAgICAgICAgICAgICBwYWNrYWdlVmVyc2lvbixcbiAgICAgICAgICAgICAgICAgICAgICAgIHBhY2thZ2VOYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHJ1ZVxuICAgICAgICAgICAgICAgICAgICAgICl9YFxuICAgICAgICAgICAgICAgICAgICA6IGB5YXJuIGFkZCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUsIHRydWUpfWBcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICB9XG4gICAgICAgICAgLz5cbiAgICAgICAgPC9JbnN0YWxsSXRlbT5cbiAgICAgICk7XG4gICAgY2FzZSBEZXBlbmRlbmN5TWFuYWdlci5QTlBNOlxuICAgICAgcmV0dXJuIChcbiAgICAgICAgPEluc3RhbGxJdGVtIGRhdGEtdGVzdGlkPXsnaW5zdGFsbExpc3RJdGVtLXBucG0nfT5cbiAgICAgICAgICA8UGFja2FnZU1hbmdlckF2YXRhciBhbHQ9eydwbnBtJ30gc3g9e3sgYmdjb2xvcjogdGhlbWUucGFsZXR0ZS53aGl0ZSB9fT5cbiAgICAgICAgICAgIDxQbnBtIC8+XG4gICAgICAgICAgPC9QYWNrYWdlTWFuZ2VyQXZhdGFyPlxuICAgICAgICAgIDxJbnN0YWxsTGlzdEl0ZW1UZXh0XG4gICAgICAgICAgICBwcmltYXJ5PXtcbiAgICAgICAgICAgICAgPENvcHlUb0NsaXBCb2FyZFxuICAgICAgICAgICAgICAgIGRhdGFUZXN0SWQ9XCJpbnN0YWxsUG5wbVwiXG4gICAgICAgICAgICAgICAgdGV4dD17YHBucG0gaW5zdGFsbCAke2dldEdsb2JhbEluc3RhbGwoaXNMYXRlc3QsIGlzR2xvYmFsLCBwYWNrYWdlVmVyc2lvbiwgcGFja2FnZU5hbWUpfWB9XG4gICAgICAgICAgICAgICAgdGl0bGU9e2BwbnBtIGluc3RhbGwgJHtnZXRHbG9iYWxJbnN0YWxsKGlzTGF0ZXN0LCBpc0dsb2JhbCwgcGFja2FnZVZlcnNpb24sIHBhY2thZ2VOYW1lKX1gfVxuICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIC8+XG4gICAgICAgIDwvSW5zdGFsbEl0ZW0+XG4gICAgICApO1xuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gbnVsbDtcbiAgfVxufTtcblxuZXhwb3J0IGRlZmF1bHQgSW5zdGFsbExpc3RJdGVtO1xuIl19 */",
|
|
58
59
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
59
60
|
});
|
|
60
|
-
let DependencyManager = /*#__PURE__*/function (DependencyManager) {
|
|
61
|
+
let DependencyManager = exports.DependencyManager = /*#__PURE__*/function (DependencyManager) {
|
|
61
62
|
DependencyManager["NPM"] = "npm";
|
|
62
63
|
DependencyManager["YARN"] = "yarn";
|
|
63
64
|
DependencyManager["PNPM"] = "pnpm";
|
|
64
65
|
return DependencyManager;
|
|
65
66
|
}({});
|
|
66
|
-
|
|
67
|
+
function getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, isYarn = false) {
|
|
68
|
+
const name = isGlobal ? `${isYarn ? '' : '-g'} ${packageVersion && !isLatest ? `${packageName}@${packageVersion}` : packageName}` : packageVersion && !isLatest ? `${packageName}@${packageVersion}` : packageName;
|
|
69
|
+
return name.trim();
|
|
70
|
+
}
|
|
67
71
|
const InstallListItem = ({
|
|
68
72
|
packageName,
|
|
69
|
-
dependencyManager
|
|
73
|
+
dependencyManager,
|
|
74
|
+
packageVersion
|
|
70
75
|
}) => {
|
|
71
|
-
var _localSettings$packag, _localSettings$packag2;
|
|
72
|
-
const {
|
|
73
|
-
t
|
|
74
|
-
} = (0, _reactI18next.useTranslation)();
|
|
76
|
+
var _localSettings$packag, _localSettings$packag2, _localSettings$packag3, _localSettings$packag4;
|
|
75
77
|
const {
|
|
76
78
|
localSettings
|
|
77
79
|
} = (0, _PersistenceSettingProvider.useSettings)();
|
|
78
|
-
const
|
|
79
|
-
const
|
|
80
|
+
const theme = (0, _styles.useTheme)();
|
|
81
|
+
const isLatest = (_localSettings$packag = (_localSettings$packag2 = localSettings[packageName]) === null || _localSettings$packag2 === void 0 ? void 0 : _localSettings$packag2.latest) !== null && _localSettings$packag !== void 0 ? _localSettings$packag : false;
|
|
82
|
+
const isGlobal = (_localSettings$packag3 = (_localSettings$packag4 = localSettings[packageName]) === null || _localSettings$packag4 === void 0 ? void 0 : _localSettings$packag4.global) !== null && _localSettings$packag3 !== void 0 ? _localSettings$packag3 : false;
|
|
80
83
|
switch (dependencyManager) {
|
|
81
84
|
case DependencyManager.NPM:
|
|
82
85
|
return /*#__PURE__*/_react.default.createElement(InstallItem, {
|
|
@@ -84,19 +87,14 @@ const InstallListItem = ({
|
|
|
84
87
|
}, /*#__PURE__*/_react.default.createElement(PackageMangerAvatar, {
|
|
85
88
|
alt: "npm",
|
|
86
89
|
sx: {
|
|
87
|
-
bgcolor:
|
|
90
|
+
bgcolor: theme.palette.white
|
|
88
91
|
}
|
|
89
92
|
}, /*#__PURE__*/_react.default.createElement(_Icons.Npm, null)), /*#__PURE__*/_react.default.createElement(InstallListItemText, {
|
|
90
93
|
primary: /*#__PURE__*/_react.default.createElement(_CopyClipboard.default, {
|
|
91
|
-
dataTestId: "
|
|
92
|
-
text:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
title: t('sidebar.installation.install-using-npm-command', {
|
|
96
|
-
packageName: pkgName
|
|
97
|
-
})
|
|
98
|
-
}),
|
|
99
|
-
secondary: t('sidebar.installation.install-using-npm')
|
|
94
|
+
dataTestId: "installNpm",
|
|
95
|
+
text: `npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`,
|
|
96
|
+
title: `npm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`
|
|
97
|
+
})
|
|
100
98
|
}));
|
|
101
99
|
case DependencyManager.YARN:
|
|
102
100
|
return /*#__PURE__*/_react.default.createElement(InstallItem, {
|
|
@@ -104,19 +102,14 @@ const InstallListItem = ({
|
|
|
104
102
|
}, /*#__PURE__*/_react.default.createElement(PackageMangerAvatar, {
|
|
105
103
|
alt: "yarn",
|
|
106
104
|
sx: {
|
|
107
|
-
bgcolor:
|
|
105
|
+
bgcolor: theme.palette.white
|
|
108
106
|
}
|
|
109
107
|
}, /*#__PURE__*/_react.default.createElement(_Icons.Yarn, null)), /*#__PURE__*/_react.default.createElement(InstallListItemText, {
|
|
110
108
|
primary: /*#__PURE__*/_react.default.createElement(_CopyClipboard.default, {
|
|
111
109
|
dataTestId: "installYarn",
|
|
112
|
-
text:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
title: t('sidebar.installation.install-using-yarn-command', {
|
|
116
|
-
packageName: pkgName
|
|
117
|
-
})
|
|
118
|
-
}),
|
|
119
|
-
secondary: t('sidebar.installation.install-using-yarn')
|
|
110
|
+
text: isGlobal ? `yarn ${localSettings.yarnModern ? '' : 'global'} add ${getGlobalInstall(isGlobal, packageVersion, packageName, true)}` : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`,
|
|
111
|
+
title: isGlobal ? `yarn global add ${getGlobalInstall(isGlobal, packageVersion, packageName, true)}` : `yarn add ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName, true)}`
|
|
112
|
+
})
|
|
120
113
|
}));
|
|
121
114
|
case DependencyManager.PNPM:
|
|
122
115
|
return /*#__PURE__*/_react.default.createElement(InstallItem, {
|
|
@@ -124,24 +117,18 @@ const InstallListItem = ({
|
|
|
124
117
|
}, /*#__PURE__*/_react.default.createElement(PackageMangerAvatar, {
|
|
125
118
|
alt: 'pnpm',
|
|
126
119
|
sx: {
|
|
127
|
-
bgcolor:
|
|
120
|
+
bgcolor: theme.palette.white
|
|
128
121
|
}
|
|
129
122
|
}, /*#__PURE__*/_react.default.createElement(_Icons.Pnpm, null)), /*#__PURE__*/_react.default.createElement(InstallListItemText, {
|
|
130
123
|
primary: /*#__PURE__*/_react.default.createElement(_CopyClipboard.default, {
|
|
131
124
|
dataTestId: "installPnpm",
|
|
132
|
-
text:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
title: t('sidebar.installation.install-using-pnpm-command', {
|
|
136
|
-
packageName: pkgName
|
|
137
|
-
})
|
|
138
|
-
}),
|
|
139
|
-
secondary: t('sidebar.installation.install-using-pnpm')
|
|
125
|
+
text: `pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`,
|
|
126
|
+
title: `pnpm install ${getGlobalInstall(isLatest, isGlobal, packageVersion, packageName)}`
|
|
127
|
+
})
|
|
140
128
|
}));
|
|
141
129
|
default:
|
|
142
130
|
return null;
|
|
143
131
|
}
|
|
144
132
|
};
|
|
145
|
-
var _default = InstallListItem;
|
|
146
|
-
exports.default = _default;
|
|
133
|
+
var _default = exports.default = InstallListItem;
|
|
147
134
|
//# sourceMappingURL=InstallListItem.js.map
|
|
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Install = _interopRequireDefault(require("./Install"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _Chip = _interopRequireDefault(require("@mui/material/Chip"));
|
|
8
|
+
var _ListItem = _interopRequireDefault(require("@mui/material/ListItem"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const KeywordListItems = ({
|
|
12
|
+
keywords
|
|
13
|
+
}) => {
|
|
14
|
+
const keywordList = typeof keywords === 'string' ? keywords.replace(/,/g, ' ').split(' ') : keywords;
|
|
15
|
+
if (!keywordList) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_ListItem.default, {
|
|
19
|
+
sx: {
|
|
20
|
+
px: 0,
|
|
21
|
+
mt: 0,
|
|
22
|
+
flexWrap: 'wrap'
|
|
23
|
+
}
|
|
24
|
+
}, keywordList.sort().map((keyword, index) => /*#__PURE__*/_react.default.createElement(_Chip.default, {
|
|
25
|
+
key: index,
|
|
26
|
+
label: keyword,
|
|
27
|
+
sx: {
|
|
28
|
+
mt: 1,
|
|
29
|
+
mr: 1
|
|
30
|
+
}
|
|
31
|
+
})));
|
|
32
|
+
};
|
|
33
|
+
var _default = exports.default = KeywordListItems;
|
|
34
|
+
//# sourceMappingURL=KeywordListItems.js.map
|
|
@@ -0,0 +1,39 @@
|
|
|
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 _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
9
|
+
var _styles = require("@mui/styles");
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _reactI18next = require("react-i18next");
|
|
12
|
+
var _KeywordListItems = _interopRequireDefault(require("./KeywordListItems"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const Keywords = ({
|
|
15
|
+
packageMeta
|
|
16
|
+
}) => {
|
|
17
|
+
var _packageMeta$latest, _packageMeta$latest2;
|
|
18
|
+
const {
|
|
19
|
+
t
|
|
20
|
+
} = (0, _reactI18next.useTranslation)();
|
|
21
|
+
const theme = (0, _styles.useTheme)();
|
|
22
|
+
if (!(packageMeta !== null && packageMeta !== void 0 && (_packageMeta$latest = packageMeta.latest) !== null && _packageMeta$latest !== void 0 && _packageMeta$latest.keywords)) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_List.default, {
|
|
26
|
+
"data-testid": "keyword-list",
|
|
27
|
+
subheader: /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
28
|
+
sx: {
|
|
29
|
+
fontWeight: theme.fontWeight.bold,
|
|
30
|
+
textTransform: 'capitalize'
|
|
31
|
+
},
|
|
32
|
+
variant: "subtitle1"
|
|
33
|
+
}, t('sidebar.keywords.title'))
|
|
34
|
+
}, /*#__PURE__*/_react.default.createElement(_KeywordListItems.default, {
|
|
35
|
+
keywords: packageMeta === null || packageMeta === void 0 || (_packageMeta$latest2 = packageMeta.latest) === null || _packageMeta$latest2 === void 0 ? void 0 : _packageMeta$latest2.keywords
|
|
36
|
+
}));
|
|
37
|
+
};
|
|
38
|
+
var _default = exports.default = Keywords;
|
|
39
|
+
//# sourceMappingURL=Keywords.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 _Keywords.default;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Keywords = _interopRequireDefault(require("./Keywords"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
function _interopRequireDefault(
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /* eslint-disable verdaccio/jsx-spread */
|
|
11
11
|
const Wrapper = /*#__PURE__*/(0, _base.default)('div', process.env.NODE_ENV === "production" ? {
|
|
12
12
|
target: "erabg9d0"
|
|
13
13
|
} : {
|
|
@@ -31,6 +31,5 @@ const Label = ({
|
|
|
31
31
|
weight: weight
|
|
32
32
|
}, props), text);
|
|
33
33
|
};
|
|
34
|
-
var _default = Label;
|
|
35
|
-
exports.default = _default;
|
|
34
|
+
var _default = exports.default = Label;
|
|
36
35
|
//# sourceMappingURL=Label.js.map
|
|
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Label = _interopRequireDefault(require("./Label"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|