@verdaccio/ui-components 3.0.0-next-7.7 → 3.0.0-next-7.9
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 +14 -0
- package/build/AppTest/AppRoute.js +2 -2
- package/build/AppTest/pages/Front/index.js +1 -1
- package/build/AppTest/pages/Version/Version.js +2 -2
- package/build/AppTest/pages/Version/index.js +1 -1
- package/build/Theme/ResetStyles.js +1 -1
- package/build/Theme/StyleBaseline.js +1 -1
- package/build/Theme/ThemeProvider.js +2 -2
- package/build/Theme/index.js +2 -2
- package/build/Theme/theme.js +3 -3
- package/build/__mocks__/react-markdown.js +1 -1
- package/build/components/ActionBar/ActionBar.js +6 -4
- package/build/components/ActionBar/ActionBarAction.js +10 -9
- package/build/components/ActionBar/index.js +1 -1
- package/build/components/Author/Author.js +14 -43
- package/build/components/Author/index.js +1 -1
- package/build/components/Author/styles.js +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.js +1 -1
- package/build/components/CopyClipboard/index.js +1 -1
- package/build/components/CopyClipboard/utils.js +3 -12
- package/build/components/Dependencies/Dependencies.js +14 -15
- package/build/components/Dependencies/DependencyBlock.js +6 -5
- package/build/components/Dependencies/index.js +1 -1
- package/build/components/Deprecated/Deprecated.js +1 -1
- package/build/components/Deprecated/index.js +1 -1
- package/build/components/Developers/DeveloperType.js +12 -0
- package/build/components/Developers/Developers.js +22 -24
- package/build/components/Developers/Title.js +6 -10
- package/build/components/Developers/index.js +4 -4
- package/build/components/Distribution/Dist.js +2 -2
- package/build/components/Distribution/index.js +1 -1
- package/build/components/Distribution/styles.js +11 -24
- package/build/components/Engines/Engines.js +9 -3
- package/build/components/Engines/index.js +1 -1
- package/build/components/Engines/styles.js +7 -7
- package/build/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/build/components/ErrorBoundary/index.js +1 -1
- package/build/components/Forbidden/Forbidden.js +2 -2
- package/build/components/Forbidden/index.js +1 -1
- package/build/components/FundButton/FundButton.js +10 -11
- package/build/components/FundButton/index.js +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +4 -3
- package/build/components/HeaderInfoDialog/index.js +1 -1
- package/build/components/Heading/Heading.js +3 -3
- package/build/components/Heading/index.js +1 -1
- package/build/components/Help/Help.js +2 -2
- package/build/components/Help/index.js +1 -1
- package/build/components/Help/styles.js +1 -1
- 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 +2 -2
- package/build/components/Icons/FileBinary.js +13 -7
- package/build/components/Icons/Law.js +14 -8
- package/build/components/Icons/License.js +2 -2
- 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 +2 -2
- package/build/components/Icons/Time.js +2 -2
- package/build/components/Icons/Version.js +2 -2
- package/build/components/Install/Install.js +28 -23
- package/build/components/Install/InstallListItem.js +20 -19
- 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 +2 -2
- package/build/components/Label/index.js +1 -1
- package/build/components/Link/Link.js +5 -17
- 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 +1 -1
- package/build/components/Loading/Spinner/Spinner.js +1 -1
- package/build/components/Loading/Spinner/index.js +1 -1
- package/build/components/Loading/index.js +1 -1
- package/build/components/Loading/styles.js +4 -3
- package/build/components/LoginDialog/LoginDialog.js +14 -3
- package/build/components/LoginDialog/LoginDialogCloseButton.js +4 -3
- package/build/components/LoginDialog/LoginDialogForm.js +5 -17
- package/build/components/LoginDialog/LoginDialogFormError.js +5 -4
- package/build/components/LoginDialog/LoginDialogHeader.js +1 -1
- package/build/components/LoginDialog/index.js +1 -1
- package/build/components/Logo/Logo.js +14 -7
- package/build/components/Logo/index.js +1 -1
- package/build/components/MenuItem/MenuItem.js +3 -3
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/NoItems/NoItems.js +1 -1
- package/build/components/NoItems/index.js +1 -1
- package/build/components/NotFound/NotFound.js +2 -2
- package/build/components/NotFound/index.js +1 -1
- package/build/components/Package/Package.js +46 -37
- package/build/components/Package/index.js +1 -1
- package/build/components/Package/styles.js +47 -59
- package/build/components/PackageList/PackageList.js +1 -1
- 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 +12 -6
- package/build/components/RawViewer/index.js +1 -1
- package/build/components/Readme/Readme.js +16 -7
- 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/index.js +1 -1
- package/build/components/Readme/utils.js +3 -6
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +1 -1
- package/build/components/RegistryInfoDialog/index.js +1 -1
- package/build/components/RegistryInfoDialog/styles.js +10 -11
- package/build/components/Repository/Repository.js +22 -34
- package/build/components/Repository/index.js +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.js +2 -2
- package/build/components/Search/AutoComplete/index.js +1 -1
- package/build/components/Search/AutoComplete/styles.js +5 -42
- package/build/components/Search/Search.js +9 -7
- package/build/components/Search/SearchItem.js +54 -41
- package/build/components/Search/index.js +1 -1
- package/build/components/Search/styles.js +1 -1
- package/build/components/Search/utils.js +23 -0
- package/build/components/SettingsMenu/SettingsMenu.js +36 -10
- package/build/components/SettingsMenu/index.js +1 -1
- package/build/components/SideBarTitle/SideBarTitle.js +17 -7
- package/build/components/SideBarTitle/index.js +1 -1
- package/build/components/SideBarTitle/utils.js +1 -1
- package/build/components/TextField/TextField.js +3 -3
- package/build/components/TextField/index.js +1 -1
- package/build/components/UpLinks/UpLinks.js +36 -7
- package/build/components/UpLinks/UplinkLink.js +22 -0
- package/build/components/UpLinks/index.js +1 -1
- package/build/components/UpLinks/styles.js +6 -5
- package/build/components/Versions/HistoryList.js +9 -6
- package/build/components/Versions/TagList.js +9 -5
- package/build/components/Versions/Versions.js +32 -9
- package/build/components/Versions/index.js +1 -1
- package/build/components/Versions/styles.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +29 -5
- package/build/layouts/Version/Version.js +1 -1
- package/build/layouts/Version/index.js +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +3 -2
- package/build/providers/AppConfigurationProvider/index.js +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +3 -2
- package/build/providers/PersistenceSettingProvider/index.js +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.js +2 -2
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +2 -2
- package/build/providers/TranslatorProvider/index.js +1 -1
- package/build/providers/VersionProvider/VersionProvider.js +2 -2
- package/build/providers/VersionProvider/index.js +1 -1
- package/build/sections/Detail/ContainerContent.js +2 -2
- package/build/sections/Detail/Detail.js +10 -6
- package/build/sections/Detail/ReadmeSection.js +1 -1
- package/build/sections/Detail/Tabs.js +5 -4
- package/build/sections/Detail/index.js +1 -1
- package/build/sections/Footer/Footer.js +38 -9
- package/build/sections/Footer/index.js +1 -1
- package/build/sections/Footer/styles.js +14 -11
- package/build/sections/Header/Header.js +2 -2
- package/build/sections/Header/HeaderGreetings.js +1 -1
- package/build/sections/Header/HeaderLeft.js +15 -18
- package/build/sections/Header/HeaderMenu.js +2 -2
- package/build/sections/Header/HeaderRight.js +14 -5
- package/build/sections/Header/HeaderSettingsDialog.js +4 -4
- package/build/sections/Header/HeaderToolTip.js +1 -1
- package/build/sections/Header/HeaderToolTipIcon.js +2 -2
- package/build/sections/Header/LanguageSwitch.js +4 -4
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +4 -4
- package/build/sections/Header/RegistryInfoContent/index.js +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.js +1 -1
- package/build/sections/Header/index.js +1 -1
- package/build/sections/Header/styles.js +44 -83
- package/build/sections/Home/Home.js +2 -2
- package/build/sections/Home/index.js +1 -1
- package/build/sections/SideBar/Sidebar.js +12 -17
- package/build/sections/SideBar/index.js +1 -1
- package/build/sections/index.js +1 -1
- package/build/src/Theme/ThemeProvider.test.d.ts +1 -0
- package/build/src/components/Author/Author.d.ts +0 -5
- package/build/src/components/CopyClipboard/CopyToClipBoard.test.d.ts +1 -0
- package/build/src/components/Dependencies/Dependencies.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/HeaderInfoDialog/HeaderInfoDialog.test.d.ts +1 -0
- package/build/src/components/Heading/Heading.test.d.ts +1 -0
- package/build/src/components/Icons/Icons.test.d.ts +1 -0
- package/build/src/components/Install/InstallListItem.d.ts +1 -1
- 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 +0 -3
- 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/Logo/Logo.d.ts +1 -0
- package/build/src/components/Logo/Logo.stories.d.ts +5 -0
- package/build/src/components/Package/Package.d.ts +1 -1
- package/build/src/components/Package/styles.d.ts +0 -8
- 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 +0 -1
- package/build/src/components/Search/AutoComplete/styles.d.ts +0 -8
- 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/UpLinks/UplinkLink.d.ts +6 -0
- package/build/src/components/Versions/Versions.d.ts +1 -0
- package/build/src/index.d.ts +4 -1
- package/build/src/sections/Detail/Tabs.d.ts +1 -0
- package/build/src/sections/Header/styles.d.ts +0 -7
- 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 +7 -5
- package/build/src/utils/routes.d.ts +1 -0
- package/build/src/utils/utils.d.ts +1 -0
- package/build/store/api.js +1 -1
- package/build/store/index.js +1 -1
- package/build/store/models/configuration.js +3 -2
- package/build/store/models/download.js +1 -1
- package/build/store/models/login.js +5 -3
- package/build/store/models/manifest.js +6 -4
- package/build/store/models/packages.js +5 -3
- package/build/store/models/routes.js +18 -0
- package/build/store/models/search.js +6 -4
- package/build/store/models/utils.js +10 -0
- package/build/store/storage.js +1 -1
- package/build/store/store.js +1 -1
- package/build/test/i18n-config.js +1 -1
- package/build/test/test-react-testing-library.js +1 -1
- package/build/utils/index.js +2 -2
- package/build/utils/loadable.js +1 -1
- package/build/utils/routes.js +1 -0
- package/build/utils/token.js +1 -1
- package/build/utils/url.js +1 -1
- package/build/utils/utils.js +21 -2
- package/package.json +8 -8
- package/src/AppTest/AppRoute.test.tsx +65 -0
- package/src/Theme/ThemeProvider.test.tsx +27 -0
- package/src/Theme/theme.ts +3 -3
- package/src/components/ActionBar/ActionBar.test.tsx +36 -15
- package/src/components/ActionBar/ActionBar.tsx +1 -1
- package/src/components/ActionBar/ActionBarAction.tsx +8 -5
- package/src/components/Author/Author.test.tsx +7 -1
- package/src/components/Author/Author.tsx +3 -41
- package/src/components/CopyClipboard/CopyToClipBoard.test.tsx +23 -0
- package/src/components/CopyClipboard/utils.ts +2 -13
- package/src/components/Dependencies/Dependencies.tsx +9 -9
- package/src/components/Dependencies/DependencyBlock.tsx +2 -1
- 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 +6 -2
- package/src/components/Engines/styles.ts +1 -1
- package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +39 -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/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 +54 -13
- package/src/components/Install/Install.tsx +12 -11
- package/src/components/Install/InstallListItem.tsx +12 -11
- 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 -5
- 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/Package/Package.test.tsx +47 -14
- package/src/components/Package/Package.tsx +41 -44
- 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 +8 -4
- package/src/components/Readme/Readme.spec.tsx +17 -0
- package/src/components/Readme/Readme.tsx +10 -5
- package/src/components/Readme/utils.ts +2 -5
- package/src/components/RegistryInfoDialog/styles.ts +5 -4
- package/src/components/Repository/Repository.tsx +9 -14
- package/src/components/Search/AutoComplete/styles.ts +7 -0
- package/src/components/Search/Search.test.tsx +36 -9
- 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 +48 -10
- package/src/components/SideBarTitle/SideBarTitle.tsx +19 -3
- 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 +9 -4
- package/src/components/Versions/TagList.tsx +4 -3
- package/src/components/Versions/Versions.test.tsx +2 -0
- package/src/components/Versions/Versions.tsx +57 -32
- package/src/index.ts +4 -1
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +1 -0
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +2 -0
- package/src/providers/VersionProvider/VersionProvider.test.tsx +3 -3
- package/src/sections/Detail/Detail.test.tsx +8 -1
- package/src/sections/Detail/Detail.tsx +11 -4
- package/src/sections/Detail/Tabs.tsx +5 -2
- 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 +1 -1
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -1
- package/src/sections/Header/styles.ts +4 -16
- package/src/sections/Home/Home.test.tsx +12 -4
- package/src/sections/SideBar/Sidebar.test.tsx +20 -13
- package/src/sections/SideBar/Sidebar.tsx +5 -9
- package/src/store/api.test.ts +16 -0
- package/src/store/models/configuration.ts +2 -1
- package/src/store/models/login.ts +10 -12
- package/src/store/models/manifest.ts +6 -5
- 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 +7 -5
- 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/Developers/styles.js +0 -65
- 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 -14
- package/build/components/Package/Tag/index.js +0 -14
- package/build/components/Package/Tag/styles.js +0 -24
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +0 -36
- package/build/sections/Header/RegistryInfoDialog/index.js +0 -14
- package/build/sections/Header/RegistryInfoDialog/styles.js +0 -46
- package/build/sections/Header/RegistryInfoDialog/types.js +0 -6
- 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/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/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/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/src/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
|
@@ -8,12 +8,12 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _ = require("../..");
|
|
10
10
|
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); }
|
|
11
|
-
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 &&
|
|
11
|
+
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; }
|
|
12
12
|
const Home = () => {
|
|
13
13
|
const packages = (0, _reactRedux.useSelector)(state => state.packages.response);
|
|
14
14
|
const isLoading = (0, _reactRedux.useSelector)(state => {
|
|
15
15
|
var _state$loading;
|
|
16
|
-
return state === null || state === void 0
|
|
16
|
+
return state === null || state === void 0 || (_state$loading = state.loading) === null || _state$loading === void 0 ? void 0 : _state$loading.models.packages;
|
|
17
17
|
});
|
|
18
18
|
const dispatch = (0, _reactRedux.useDispatch)();
|
|
19
19
|
(0, _react.useEffect)(() => {
|
|
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Home = _interopRequireDefault(require("./Home"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
7
|
var _Paper = _interopRequireDefault(require("@mui/material/Paper"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _ActionBar = _interopRequireDefault(require("../../components/ActionBar"));
|
|
@@ -14,12 +13,13 @@ var _Distribution = _interopRequireDefault(require("../../components/Distributio
|
|
|
14
13
|
var _Engines = _interopRequireDefault(require("../../components/Engines"));
|
|
15
14
|
var _FundButton = _interopRequireDefault(require("../../components/FundButton"));
|
|
16
15
|
var _Install = _interopRequireDefault(require("../../components/Install"));
|
|
16
|
+
var _Keywords = _interopRequireDefault(require("../../components/Keywords"));
|
|
17
17
|
var _Repository = _interopRequireDefault(require("../../components/Repository"));
|
|
18
18
|
var _SideBarTitle = _interopRequireDefault(require("../../components/SideBarTitle"));
|
|
19
19
|
var _providers = require("../../providers");
|
|
20
20
|
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); }
|
|
21
|
-
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 &&
|
|
22
|
-
function _interopRequireDefault(
|
|
21
|
+
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; }
|
|
22
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
23
|
const getModuleType = manifest => {
|
|
24
24
|
if (manifest.latest.main) {
|
|
25
25
|
return 'commonjs';
|
|
@@ -43,10 +43,13 @@ const DetailSidebar = () => {
|
|
|
43
43
|
if (!packageMeta || !packageName) {
|
|
44
44
|
return null;
|
|
45
45
|
}
|
|
46
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement(_Paper.default, {
|
|
47
|
+
"data-testid": "sidebar",
|
|
47
48
|
sx: {
|
|
48
49
|
position: 'sticky',
|
|
49
|
-
top: 0
|
|
50
|
+
top: 0,
|
|
51
|
+
p: 2,
|
|
52
|
+
ml: 2
|
|
50
53
|
}
|
|
51
54
|
}, /*#__PURE__*/_react.default.createElement(_SideBarTitle.default, {
|
|
52
55
|
description: (_packageMeta$latest = packageMeta.latest) === null || _packageMeta$latest === void 0 ? void 0 : _packageMeta$latest.description,
|
|
@@ -60,18 +63,20 @@ const DetailSidebar = () => {
|
|
|
60
63
|
packageMeta: packageMeta,
|
|
61
64
|
showDownloadTarball: configOptions.showDownloadTarball,
|
|
62
65
|
showRaw: configOptions.showRaw
|
|
66
|
+
}), /*#__PURE__*/_react.default.createElement(_FundButton.default, {
|
|
67
|
+
packageMeta: packageMeta
|
|
63
68
|
}), /*#__PURE__*/_react.default.createElement(_Install.default, {
|
|
64
69
|
configOptions: configOptions,
|
|
65
70
|
packageMeta: packageMeta,
|
|
66
71
|
packageName: packageName
|
|
67
|
-
}), /*#__PURE__*/_react.default.createElement(_FundButton.default, {
|
|
68
|
-
packageMeta: packageMeta
|
|
69
72
|
}), /*#__PURE__*/_react.default.createElement(_Repository.default, {
|
|
70
73
|
packageMeta: packageMeta
|
|
71
74
|
}), /*#__PURE__*/_react.default.createElement(_Engines.default, {
|
|
72
75
|
packageMeta: packageMeta
|
|
73
76
|
}), /*#__PURE__*/_react.default.createElement(_Distribution.default, {
|
|
74
77
|
packageMeta: packageMeta
|
|
78
|
+
}), /*#__PURE__*/_react.default.createElement(_Keywords.default, {
|
|
79
|
+
packageMeta: packageMeta
|
|
75
80
|
}), /*#__PURE__*/_react.default.createElement(_Author.default, {
|
|
76
81
|
packageMeta: packageMeta
|
|
77
82
|
}), /*#__PURE__*/_react.default.createElement(_Developers.default, {
|
|
@@ -83,14 +88,4 @@ const DetailSidebar = () => {
|
|
|
83
88
|
}));
|
|
84
89
|
};
|
|
85
90
|
var _default = exports.default = DetailSidebar;
|
|
86
|
-
const StyledPaper = /*#__PURE__*/(0, _base.default)(_Paper.default, process.env.NODE_ENV === "production" ? {
|
|
87
|
-
target: "e1jyvx6i0"
|
|
88
|
-
} : {
|
|
89
|
-
target: "e1jyvx6i0",
|
|
90
|
-
label: "StyledPaper"
|
|
91
|
-
})(({
|
|
92
|
-
theme
|
|
93
|
-
}) => ({
|
|
94
|
-
padding: theme === null || theme === void 0 ? void 0 : theme.spacing(3, 2)
|
|
95
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZWN0aW9ucy9TaWRlQmFyL1NpZGViYXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtFb0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3NlY3Rpb25zL1NpZGVCYXIvU2lkZWJhci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgUGFwZXIgZnJvbSAnQG11aS9tYXRlcmlhbC9QYXBlcic7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcbmltcG9ydCBBY3Rpb25CYXIgZnJvbSAnLi4vLi4vY29tcG9uZW50cy9BY3Rpb25CYXInO1xuaW1wb3J0IEF1dGhvciBmcm9tICcuLi8uLi9jb21wb25lbnRzL0F1dGhvcic7XG5pbXBvcnQgRGV2ZWxvcGVycywgeyBEZXZlbG9wZXJUeXBlIH0gZnJvbSAnLi4vLi4vY29tcG9uZW50cy9EZXZlbG9wZXJzJztcbmltcG9ydCBEaXN0IGZyb20gJy4uLy4uL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uJztcbmltcG9ydCBFbmdpbmVzIGZyb20gJy4uLy4uL2NvbXBvbmVudHMvRW5naW5lcyc7XG5pbXBvcnQgRnVuZEJ1dHRvbiBmcm9tICcuLi8uLi9jb21wb25lbnRzL0Z1bmRCdXR0b24nO1xuaW1wb3J0IEluc3RhbGwgZnJvbSAnLi4vLi4vY29tcG9uZW50cy9JbnN0YWxsJztcbmltcG9ydCBSZXBvc2l0b3J5IGZyb20gJy4uLy4uL2NvbXBvbmVudHMvUmVwb3NpdG9yeSc7XG5pbXBvcnQgU2lkZUJhclRpdGxlIGZyb20gJy4uLy4uL2NvbXBvbmVudHMvU2lkZUJhclRpdGxlJztcbmltcG9ydCB7IHVzZUNvbmZpZyB9IGZyb20gJy4uLy4uL3Byb3ZpZGVycyc7XG5pbXBvcnQgeyB1c2VWZXJzaW9uIH0gZnJvbSAnLi4vLi4vcHJvdmlkZXJzJztcbmltcG9ydCB7IFBhY2thZ2VNZXRhSW50ZXJmYWNlIH0gZnJvbSAnLi4vLi4vdHlwZXMvcGFja2FnZU1ldGEnO1xuXG5jb25zdCBnZXRNb2R1bGVUeXBlID0gKG1hbmlmZXN0OiBQYWNrYWdlTWV0YUludGVyZmFjZSkgPT4ge1xuICBpZiAobWFuaWZlc3QubGF0ZXN0Lm1haW4pIHtcbiAgICByZXR1cm4gJ2NvbW1vbmpzJztcbiAgfSBlbHNlIGlmIChtYW5pZmVzdC5sYXRlc3QudHlwZSkge1xuICAgIHJldHVybiBtYW5pZmVzdC5sYXRlc3QudHlwZTtcbiAgfVxuICByZXR1cm47XG59O1xuXG5jb25zdCBEZXRhaWxTaWRlYmFyOiBSZWFjdC5GQyA9ICgpID0+IHtcbiAgY29uc3QgeyBwYWNrYWdlTWV0YSwgcGFja2FnZU5hbWUsIHBhY2thZ2VWZXJzaW9uIH0gPSB1c2VWZXJzaW9uKCk7XG4gIGNvbnN0IHsgY29uZmlnT3B0aW9ucyB9ID0gdXNlQ29uZmlnKCk7XG4gIGNvbnN0IHZlcnNpb24gPSBwYWNrYWdlVmVyc2lvbiB8fCBwYWNrYWdlTWV0YT8ubGF0ZXN0LnZlcnNpb24gfHwgJyc7XG4gIGNvbnN0IHRpbWUgPSBwYWNrYWdlTWV0YT8udGltZSA/IHBhY2thZ2VNZXRhLnRpbWVbdmVyc2lvbl0gOiAnJztcbiAgaWYgKCFwYWNrYWdlTWV0YSB8fCAhcGFja2FnZU5hbWUpIHtcbiAgICByZXR1cm4gbnVsbDtcbiAgfVxuXG4gIHJldHVybiAoXG4gICAgPFN0eWxlZFBhcGVyIHN4PXt7IHBvc2l0aW9uOiAnc3RpY2t5JywgdG9wOiAwIH19PlxuICAgICAgPFNpZGVCYXJUaXRsZVxuICAgICAgICBkZXNjcmlwdGlvbj17cGFja2FnZU1ldGEubGF0ZXN0Py5kZXNjcmlwdGlvbn1cbiAgICAgICAgaGFzVHlwZXM9e3R5cGVvZiBwYWNrYWdlTWV0YS5sYXRlc3Q/LnR5cGVzID09PSAnc3RyaW5nJ31cbiAgICAgICAgaXNMYXRlc3Q9e3R5cGVvZiBwYWNrYWdlVmVyc2lvbiA9PT0gJ3VuZGVmaW5lZCd9XG4gICAgICAgIG1vZHVsZVR5cGU9e2dldE1vZHVsZVR5cGUocGFja2FnZU1ldGEpfVxuICAgICAgICBwYWNrYWdlTmFtZT17cGFja2FnZU5hbWV9XG4gICAgICAgIHRpbWU9e3RpbWV9XG4gICAgICAgIHZlcnNpb249e3ZlcnNpb259XG4gICAgICAvPlxuICAgICAgPEFjdGlvbkJhclxuICAgICAgICBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9XG4gICAgICAgIHNob3dEb3dubG9hZFRhcmJhbGw9e2NvbmZpZ09wdGlvbnMuc2hvd0Rvd25sb2FkVGFyYmFsbH1cbiAgICAgICAgc2hvd1Jhdz17Y29uZmlnT3B0aW9ucy5zaG93UmF3fVxuICAgICAgLz5cbiAgICAgIDxJbnN0YWxsIGNvbmZpZ09wdGlvbnM9e2NvbmZpZ09wdGlvbnN9IHBhY2thZ2VNZXRhPXtwYWNrYWdlTWV0YX0gcGFja2FnZU5hbWU9e3BhY2thZ2VOYW1lfSAvPlxuICAgICAgPEZ1bmRCdXR0b24gcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPFJlcG9zaXRvcnkgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPEVuZ2luZXMgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPERpc3QgcGFja2FnZU1ldGE9e3BhY2thZ2VNZXRhfSAvPlxuICAgICAgPEF1dGhvciBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IC8+XG4gICAgICA8RGV2ZWxvcGVycyBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IHR5cGU9e0RldmVsb3BlclR5cGUuTUFJTlRBSU5FUlN9IC8+XG4gICAgICA8RGV2ZWxvcGVycyBwYWNrYWdlTWV0YT17cGFja2FnZU1ldGF9IHR5cGU9e0RldmVsb3BlclR5cGUuQ09OVFJJQlVUT1JTfSAvPlxuICAgIDwvU3R5bGVkUGFwZXI+XG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBEZXRhaWxTaWRlYmFyO1xuXG5jb25zdCBTdHlsZWRQYXBlciA9IHN0eWxlZChQYXBlcik8eyB0aGVtZT86IFRoZW1lIH0+KCh7IHRoZW1lIH0pID0+ICh7XG4gIHBhZGRpbmc6IHRoZW1lPy5zcGFjaW5nKDMsIDIpLFxufSkpO1xuIl19 */");
|
|
96
91
|
//# sourceMappingURL=Sidebar.js.map
|
|
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Sidebar = _interopRequireDefault(require("./Sidebar"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
package/build/sections/index.js
CHANGED
|
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "SideBar", {
|
|
|
17
17
|
});
|
|
18
18
|
var _SideBar = _interopRequireDefault(require("./SideBar"));
|
|
19
19
|
var _Detail = _interopRequireDefault(require("./Detail"));
|
|
20
|
-
function _interopRequireDefault(
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
CONTRIBUTORS = "contributors",
|
|
4
|
-
MAINTAINERS = "maintainers"
|
|
5
|
-
}
|
|
2
|
+
import { DeveloperType } from './DeveloperType';
|
|
6
3
|
export declare const Fab: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
7
4
|
interface Props {
|
|
8
5
|
type: DeveloperType;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { default
|
|
1
|
+
export { default } from './Developers';
|
|
2
|
+
export { DeveloperType } from './DeveloperType';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const StyledText: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
2
2
|
export declare const DistListItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
3
3
|
export declare const DistChips: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
4
|
-
export declare const DownloadButton: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -9,6 +9,6 @@ interface Interface {
|
|
|
9
9
|
dependencyManager: DependencyManager;
|
|
10
10
|
packageVersion?: string;
|
|
11
11
|
}
|
|
12
|
-
export declare function getGlobalInstall(isGlobal: any, packageVersion: any, packageName: any, isYarn?: boolean): any;
|
|
12
|
+
export declare function getGlobalInstall(isLatest: any, isGlobal: any, packageVersion: any, packageName: any, isYarn?: boolean): any;
|
|
13
13
|
declare const InstallListItem: React.FC<Interface>;
|
|
14
14
|
export default InstallListItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Keywords';
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const CustomRouterLink: import("@emotion/styled").StyledComponent<import("react-router-dom").LinkProps<unknown> & React.RefAttributes<HTMLAnchorElement> & {
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
}, {}, {}>;
|
|
5
2
|
declare const Link: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
6
3
|
export default Link;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default
|
|
1
|
+
export { default } from './Link';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LinkExternal';
|
|
@@ -13,7 +13,7 @@ export interface PackageInterface {
|
|
|
13
13
|
time?: number | string;
|
|
14
14
|
author: PackageAuthor;
|
|
15
15
|
description?: string;
|
|
16
|
-
keywords?:
|
|
16
|
+
keywords?: PackageMetaInterface['latest']['keywords'];
|
|
17
17
|
license?: PackageMetaInterface['latest']['license'];
|
|
18
18
|
homepage?: string;
|
|
19
19
|
bugs?: Bugs;
|
|
@@ -8,8 +8,6 @@ export declare const OverviewItem: import("@emotion/styled").StyledComponent<{
|
|
|
8
8
|
export declare const Published: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
theme?: import("@emotion/react").Theme | undefined;
|
|
10
10
|
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
} & {
|
|
12
|
-
theme?: import("@mui/material").Theme | undefined;
|
|
13
11
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
14
12
|
export declare const Details: import("@emotion/styled").StyledComponent<{
|
|
15
13
|
theme?: import("@emotion/react").Theme | undefined;
|
|
@@ -32,12 +30,6 @@ export declare const PackageTitle: import("@emotion/styled").StyledComponent<{
|
|
|
32
30
|
export declare const GridRightAligned: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
33
31
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
34
32
|
export declare const IconButton: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
35
|
-
export declare const TagContainer: import("@emotion/styled").StyledComponent<{
|
|
36
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
-
as?: import("react").ElementType<any> | undefined;
|
|
38
|
-
} & {
|
|
39
|
-
theme?: import("@mui/material").Theme | undefined;
|
|
40
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
41
33
|
export declare const PackageListItemText: import("@emotion/styled").StyledComponent<import("@mui/material/ListItemText").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & {
|
|
42
34
|
theme?: import("@emotion/react").Theme | undefined;
|
|
43
35
|
}, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Person';
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export interface InputFieldProps {
|
|
3
|
-
color: string;
|
|
4
|
-
}
|
|
5
2
|
export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
6
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
7
4
|
as?: import("react").ElementType<any> | undefined;
|
|
8
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
-
export declare const StyledTextField: import("@emotion/styled").StyledComponent<(((Omit<import("@mui/material").OutlinedTextFieldProps, "ref"> | Omit<import("@mui/material").FilledTextFieldProps, "ref"> | Omit<import("@mui/material").StandardTextFieldProps, "ref">) & import("react").RefAttributes<HTMLDivElement>) & {
|
|
10
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
-
}) & {
|
|
12
|
-
theme?: import("@mui/material").Theme | undefined;
|
|
13
|
-
}, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function cleanDescription(description: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/src/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { default as CopyClipboard, copyToClipBoardUtility } from './components/CopyClipboard';
|
|
2
2
|
export * from './components/CopyClipboard';
|
|
3
|
-
export { Link } from './components/Link';
|
|
4
3
|
export { default as ActionBar } from './components/ActionBar';
|
|
5
4
|
export { default as Author } from './components/Author';
|
|
6
5
|
export { default as Dependencies } from './components/Dependencies';
|
|
@@ -12,7 +11,11 @@ export { default as FundButton } from './components/FundButton';
|
|
|
12
11
|
export { default as Heading } from './components/Heading';
|
|
13
12
|
export * as Icons from './components/Icons';
|
|
14
13
|
export { default as Install } from './components/Install';
|
|
14
|
+
export { default as Keywords } from './components/Keywords';
|
|
15
|
+
export { default as Link } from './components/Link';
|
|
16
|
+
export { default as LinkExternal } from './components/LinkExternal';
|
|
15
17
|
export { default as RawViewer } from './components/RawViewer';
|
|
18
|
+
export { default as Person } from './components/Person';
|
|
16
19
|
export { default as Readme } from './components/Readme';
|
|
17
20
|
export { default as SideBarTitle } from './components/SideBarTitle';
|
|
18
21
|
export { default as UpLinks } from './components/UpLinks';
|
|
@@ -4,8 +4,6 @@ export declare const Greetings: import("@emotion/styled").StyledComponent<{
|
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: import("react").ElementType<any> | undefined;
|
|
6
6
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
7
|
-
export declare const RightSide: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
8
|
-
export declare const LeftSide: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
9
7
|
export declare const MobileNavBar: import("@emotion/styled").StyledComponent<{
|
|
10
8
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
9
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -27,8 +25,3 @@ export declare const SearchWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
27
25
|
as?: import("react").ElementType<any> | undefined;
|
|
28
26
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
27
|
export declare const NavBar: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
30
|
-
export declare const StyledLink: import("@emotion/styled").StyledComponent<Omit<any, "ref"> & import("react").RefAttributes<HTMLAnchorElement> & {
|
|
31
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
32
|
-
} & {
|
|
33
|
-
theme?: import("@mui/material").Theme | undefined;
|
|
34
|
-
}, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum APIRoute {
|
|
2
|
+
LOGIN = "/-/verdaccio/sec/login",
|
|
3
|
+
CONFIG = "/-/verdaccio/packages",
|
|
4
|
+
PACKAGES = "/-/verdaccio/data/packages",
|
|
5
|
+
SEARCH = "/-/verdaccio/data/search/",
|
|
6
|
+
SIDEBAR = "/-/verdaccio/data/sidebar/",
|
|
7
|
+
README = "/-/verdaccio/data/package/readme/"
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function stripTrailingSlash(url: string): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type ModuleType = 'commonjs' | 'module';
|
|
2
2
|
export type Latest = {
|
|
3
|
-
author?: Author;
|
|
3
|
+
author?: string | Author;
|
|
4
4
|
deprecated?: string;
|
|
5
5
|
name: string;
|
|
6
6
|
dist?: {
|
|
@@ -14,7 +14,7 @@ export type Latest = {
|
|
|
14
14
|
pnpm?: string;
|
|
15
15
|
yarn?: string;
|
|
16
16
|
};
|
|
17
|
-
license?:
|
|
17
|
+
license?: string | LicenseInterface;
|
|
18
18
|
version: string;
|
|
19
19
|
homepage?: string;
|
|
20
20
|
bugs?: {
|
|
@@ -31,6 +31,7 @@ export type Latest = {
|
|
|
31
31
|
funding?: Funding;
|
|
32
32
|
maintainers?: Developer[];
|
|
33
33
|
contributors?: Developer[];
|
|
34
|
+
keywords?: string | string[];
|
|
34
35
|
};
|
|
35
36
|
export interface PackageMetaInterface {
|
|
36
37
|
versions?: Versions;
|
|
@@ -43,8 +44,9 @@ export interface PackageMetaInterface {
|
|
|
43
44
|
}
|
|
44
45
|
export interface Developer {
|
|
45
46
|
name: string;
|
|
46
|
-
email
|
|
47
|
-
|
|
47
|
+
email?: string;
|
|
48
|
+
url?: string;
|
|
49
|
+
avatar?: string;
|
|
48
50
|
}
|
|
49
51
|
interface Funding {
|
|
50
52
|
type?: string;
|
|
@@ -68,7 +70,7 @@ export interface Version {
|
|
|
68
70
|
version: string;
|
|
69
71
|
author?: string | Author;
|
|
70
72
|
description?: string;
|
|
71
|
-
license?: string;
|
|
73
|
+
license?: string | LicenseInterface;
|
|
72
74
|
main?: string;
|
|
73
75
|
keywords?: string[];
|
|
74
76
|
deprecated?: string;
|
|
@@ -29,4 +29,5 @@ export declare function getLastUpdatedPackageTime(uplinks?: UpLinks): string;
|
|
|
29
29
|
*/
|
|
30
30
|
export declare function getRecentReleases(time?: Time): Time[];
|
|
31
31
|
export declare function getAuthorName(authorName?: string): string;
|
|
32
|
+
export declare function getUplink(upLinkName: string, packageName: string): string | null;
|
|
32
33
|
export declare function fileSizeSI(a: number, b?: typeof Math, c?: (p: number) => number, d?: number, e?: number): string;
|
package/build/store/api.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
exports.handleResponseType = handleResponseType;
|
|
8
8
|
var _storage = _interopRequireDefault(require("./storage"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
class CustomError extends Error {}
|
|
11
11
|
|
|
12
12
|
/**
|
package/build/store/index.js
CHANGED
|
@@ -48,5 +48,5 @@ Object.defineProperty(exports, "store", {
|
|
|
48
48
|
var _store = require("./store");
|
|
49
49
|
var _login = require("./models/login");
|
|
50
50
|
var _api = _interopRequireDefault(require("./api"));
|
|
51
|
-
function _interopRequireDefault(
|
|
51
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
52
52
|
//# sourceMappingURL=index.js.map
|
|
@@ -9,7 +9,8 @@ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
|
|
|
9
9
|
var _isNil = _interopRequireDefault(require("lodash/isNil"));
|
|
10
10
|
var _Theme = require("../../Theme");
|
|
11
11
|
var _api = _interopRequireDefault(require("../api"));
|
|
12
|
-
|
|
12
|
+
var _routes = require("./routes");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
14
|
const defaultValues = {
|
|
14
15
|
primaryColor: _Theme.colors.PRIMARY_COLOR,
|
|
15
16
|
darkMode: false,
|
|
@@ -40,7 +41,7 @@ const configuration = exports.configuration = (0, _core.createModel)()({
|
|
|
40
41
|
},
|
|
41
42
|
effects: dispatch => ({
|
|
42
43
|
async getPackages() {
|
|
43
|
-
const payload = await _api.default.request(
|
|
44
|
+
const payload = await _api.default.request(_routes.APIRoute.CONFIG, 'GET');
|
|
44
45
|
dispatch.packages.savePackages(payload);
|
|
45
46
|
}
|
|
46
47
|
})
|
|
@@ -7,7 +7,7 @@ exports.download = void 0;
|
|
|
7
7
|
var _core = require("@rematch/core");
|
|
8
8
|
var _url = require("../../utils/url");
|
|
9
9
|
var _api = _interopRequireDefault(require("../api"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
13
|
* @category Model
|
|
@@ -11,7 +11,9 @@ var _i18next = _interopRequireDefault(require("i18next"));
|
|
|
11
11
|
var _utils = require("../../utils");
|
|
12
12
|
var _api = _interopRequireDefault(require("../api"));
|
|
13
13
|
var _storage = _interopRequireDefault(require("../storage"));
|
|
14
|
-
|
|
14
|
+
var _routes = require("./routes");
|
|
15
|
+
var _utils2 = require("./utils");
|
|
16
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
17
|
const HEADERS = exports.HEADERS = {
|
|
16
18
|
JSON: 'application/json'
|
|
17
19
|
};
|
|
@@ -76,9 +78,9 @@ const login = exports.login = (0, _core.createModel)()({
|
|
|
76
78
|
username,
|
|
77
79
|
password
|
|
78
80
|
}, state) {
|
|
79
|
-
const basePath = state.configuration.config.base;
|
|
81
|
+
const basePath = (0, _utils2.stripTrailingSlash)(state.configuration.config.base);
|
|
80
82
|
try {
|
|
81
|
-
const payload = await _api.default.request(`${basePath}
|
|
83
|
+
const payload = await _api.default.request(`${basePath}${_routes.APIRoute.LOGIN}`, 'POST', {
|
|
82
84
|
body: JSON.stringify({
|
|
83
85
|
username,
|
|
84
86
|
password
|