@verdaccio/ui-components 5.0.0-next-9.4 → 5.0.0-next-9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/build/Theme/ResetStyles.js +1 -1
- package/build/Theme/ResetStyles.js.map +1 -1
- package/build/Theme/ResetStyles.mjs +2 -2
- package/build/Theme/ResetStyles.mjs.map +1 -1
- package/build/Theme/StyleBaseline.js +1 -1
- package/build/Theme/StyleBaseline.js.map +1 -1
- package/build/Theme/StyleBaseline.mjs +2 -2
- package/build/Theme/StyleBaseline.mjs.map +1 -1
- package/build/Theme/ThemeProvider.js +1 -1
- package/build/Theme/ThemeProvider.js.map +1 -1
- package/build/Theme/ThemeProvider.mjs +1 -1
- package/build/Theme/ThemeProvider.mjs.map +1 -1
- package/build/Theme/colors.js.map +1 -1
- package/build/Theme/colors.mjs.map +1 -1
- package/build/Theme/modes.js.map +1 -1
- package/build/Theme/modes.mjs.map +1 -1
- package/build/Theme/theme.js.map +1 -1
- package/build/Theme/theme.mjs.map +1 -1
- package/build/Theme/tokens.js.map +1 -1
- package/build/Theme/tokens.mjs.map +1 -1
- package/build/api/use-data-mutation.js.map +1 -1
- package/build/api/use-data-mutation.mjs.map +1 -1
- package/build/api/use-data.js.map +1 -1
- package/build/api/use-data.mjs.map +1 -1
- package/build/components/ActionBar/ActionBar.js +1 -1
- package/build/components/ActionBar/ActionBar.js.map +1 -1
- package/build/components/ActionBar/ActionBar.mjs +1 -1
- package/build/components/ActionBar/ActionBar.mjs.map +1 -1
- package/build/components/ActionBar/ActionBarAction.js +5 -8
- package/build/components/ActionBar/ActionBarAction.js.map +1 -1
- package/build/components/ActionBar/ActionBarAction.mjs +4 -7
- package/build/components/ActionBar/ActionBarAction.mjs.map +1 -1
- package/build/components/AppRoute/AppRoute.js +1 -1
- package/build/components/AppRoute/AppRoute.js.map +1 -1
- package/build/components/AppRoute/AppRoute.mjs +1 -1
- package/build/components/AppRoute/AppRoute.mjs.map +1 -1
- package/build/components/Author/Author.js +1 -1
- package/build/components/Author/Author.js.map +1 -1
- package/build/components/Author/Author.mjs +1 -1
- package/build/components/Author/Author.mjs.map +1 -1
- package/build/components/Author/styles.js +6 -19
- package/build/components/Author/styles.js.map +1 -1
- package/build/components/Author/styles.mjs +5 -18
- package/build/components/Author/styles.mjs.map +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.js +9 -21
- package/build/components/CopyClipboard/CopyToClipBoard.js.map +1 -1
- package/build/components/CopyClipboard/CopyToClipBoard.mjs +8 -20
- package/build/components/CopyClipboard/CopyToClipBoard.mjs.map +1 -1
- package/build/components/CopyClipboard/utils.js.map +1 -1
- package/build/components/CopyClipboard/utils.mjs.map +1 -1
- package/build/components/Dependencies/Dependencies.js +1 -1
- package/build/components/Dependencies/Dependencies.js.map +1 -1
- package/build/components/Dependencies/Dependencies.mjs +2 -2
- package/build/components/Dependencies/Dependencies.mjs.map +1 -1
- package/build/components/Dependencies/DependencyBlock.js +8 -17
- package/build/components/Dependencies/DependencyBlock.js.map +1 -1
- package/build/components/Dependencies/DependencyBlock.mjs +7 -16
- package/build/components/Dependencies/DependencyBlock.mjs.map +1 -1
- package/build/components/Dependencies/utits.js.map +1 -1
- package/build/components/Dependencies/utits.mjs.map +1 -1
- package/build/components/Deprecated/Deprecated.js +1 -1
- package/build/components/Deprecated/Deprecated.js.map +1 -1
- package/build/components/Deprecated/Deprecated.mjs +1 -1
- package/build/components/Deprecated/Deprecated.mjs.map +1 -1
- package/build/components/Developers/DeveloperType.js.map +1 -1
- package/build/components/Developers/DeveloperType.mjs.map +1 -1
- package/build/components/Developers/Developers.js +6 -22
- package/build/components/Developers/Developers.js.map +1 -1
- package/build/components/Developers/Developers.mjs +6 -22
- package/build/components/Developers/Developers.mjs.map +1 -1
- package/build/components/Developers/Title.js +5 -8
- package/build/components/Developers/Title.js.map +1 -1
- package/build/components/Developers/Title.mjs +4 -7
- package/build/components/Developers/Title.mjs.map +1 -1
- package/build/components/Developers/get-unique-developer-values.js.map +1 -1
- package/build/components/Developers/get-unique-developer-values.mjs.map +1 -1
- package/build/components/Distribution/Dist.js +1 -1
- package/build/components/Distribution/Dist.js.map +1 -1
- package/build/components/Distribution/Dist.mjs +2 -2
- package/build/components/Distribution/Dist.mjs.map +1 -1
- package/build/components/Distribution/styles.js +12 -30
- package/build/components/Distribution/styles.js.map +1 -1
- package/build/components/Distribution/styles.mjs +11 -29
- package/build/components/Distribution/styles.mjs.map +1 -1
- package/build/components/Engines/Engines.js +1 -1
- package/build/components/Engines/Engines.js.map +1 -1
- package/build/components/Engines/Engines.mjs +1 -1
- package/build/components/Engines/Engines.mjs.map +1 -1
- package/build/components/Engines/styles.js +5 -21
- package/build/components/Engines/styles.js.map +1 -1
- package/build/components/Engines/styles.mjs +4 -20
- package/build/components/Engines/styles.mjs.map +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.mjs +1 -1
- package/build/components/ErrorBoundary/ErrorBoundary.mjs.map +1 -1
- package/build/components/Forbidden/Forbidden.js +6 -22
- package/build/components/Forbidden/Forbidden.js.map +1 -1
- package/build/components/Forbidden/Forbidden.mjs +5 -21
- package/build/components/Forbidden/Forbidden.mjs.map +1 -1
- package/build/components/FundButton/FundButton.js +7 -26
- package/build/components/FundButton/FundButton.js.map +1 -1
- package/build/components/FundButton/FundButton.mjs +6 -25
- package/build/components/FundButton/FundButton.mjs.map +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js.map +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.mjs +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.mjs.map +1 -1
- package/build/components/Heading/Heading.js +1 -1
- package/build/components/Heading/Heading.js.map +1 -1
- package/build/components/Heading/Heading.mjs +1 -1
- package/build/components/Heading/Heading.mjs.map +1 -1
- package/build/components/Help/Help.js +1 -1
- package/build/components/Help/Help.js.map +1 -1
- package/build/components/Help/Help.mjs +2 -2
- package/build/components/Help/Help.mjs.map +1 -1
- package/build/components/Help/styles.js +5 -15
- package/build/components/Help/styles.js.map +1 -1
- package/build/components/Help/styles.mjs +4 -14
- package/build/components/Help/styles.mjs.map +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.js +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.js.map +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.mjs +1 -1
- package/build/components/Icons/DevsIcons/CommonJS2.mjs.map +1 -1
- package/build/components/Icons/DevsIcons/ES6Module2.js +1 -1
- package/build/components/Icons/DevsIcons/ES6Module2.js.map +1 -1
- package/build/components/Icons/DevsIcons/ES6Module2.mjs +1 -1
- package/build/components/Icons/DevsIcons/ES6Module2.mjs.map +1 -1
- package/build/components/Icons/DevsIcons/Git2.js +1 -1
- package/build/components/Icons/DevsIcons/Git2.js.map +1 -1
- package/build/components/Icons/DevsIcons/Git2.mjs +1 -1
- package/build/components/Icons/DevsIcons/Git2.mjs.map +1 -1
- package/build/components/Icons/DevsIcons/NodeJS2.js +1 -1
- package/build/components/Icons/DevsIcons/NodeJS2.js.map +1 -1
- package/build/components/Icons/DevsIcons/NodeJS2.mjs +1 -1
- package/build/components/Icons/DevsIcons/NodeJS2.mjs.map +1 -1
- package/build/components/Icons/DevsIcons/TypeScript2.js +1 -1
- package/build/components/Icons/DevsIcons/TypeScript2.js.map +1 -1
- package/build/components/Icons/DevsIcons/TypeScript2.mjs +1 -1
- package/build/components/Icons/DevsIcons/TypeScript2.mjs.map +1 -1
- package/build/components/Icons/Earth.js +1 -1
- package/build/components/Icons/Earth.js.map +1 -1
- package/build/components/Icons/Earth.mjs +1 -1
- package/build/components/Icons/Earth.mjs.map +1 -1
- package/build/components/Icons/FileBinary.js +1 -1
- package/build/components/Icons/FileBinary.js.map +1 -1
- package/build/components/Icons/FileBinary.mjs +1 -1
- package/build/components/Icons/FileBinary.mjs.map +1 -1
- package/build/components/Icons/Law.js +1 -1
- package/build/components/Icons/Law.js.map +1 -1
- package/build/components/Icons/Law.mjs +1 -1
- package/build/components/Icons/Law.mjs.map +1 -1
- package/build/components/Icons/License.js +1 -1
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/License.mjs +1 -1
- package/build/components/Icons/License.mjs.map +1 -1
- package/build/components/Icons/Managers/Npm2.js +1 -1
- package/build/components/Icons/Managers/Npm2.js.map +1 -1
- package/build/components/Icons/Managers/Npm2.mjs +1 -1
- package/build/components/Icons/Managers/Npm2.mjs.map +1 -1
- package/build/components/Icons/Managers/Pnpm2.js +1 -1
- package/build/components/Icons/Managers/Pnpm2.js.map +1 -1
- package/build/components/Icons/Managers/Pnpm2.mjs +1 -1
- package/build/components/Icons/Managers/Pnpm2.mjs.map +1 -1
- package/build/components/Icons/Managers/Yarn2.js +1 -1
- package/build/components/Icons/Managers/Yarn2.js.map +1 -1
- package/build/components/Icons/Managers/Yarn2.mjs +1 -1
- package/build/components/Icons/Managers/Yarn2.mjs.map +1 -1
- package/build/components/Icons/SvgIcon.js +4 -7
- package/build/components/Icons/SvgIcon.js.map +1 -1
- package/build/components/Icons/SvgIcon.mjs +3 -6
- package/build/components/Icons/SvgIcon.mjs.map +1 -1
- package/build/components/Icons/Time.js +1 -1
- package/build/components/Icons/Time.js.map +1 -1
- package/build/components/Icons/Time.mjs +1 -1
- package/build/components/Icons/Time.mjs.map +1 -1
- package/build/components/Icons/Version.js +1 -1
- package/build/components/Icons/Version.js.map +1 -1
- package/build/components/Icons/Version.mjs +1 -1
- package/build/components/Icons/Version.mjs.map +1 -1
- package/build/components/Icons/index.js.map +1 -1
- package/build/components/Icons/index.mjs.map +1 -1
- package/build/components/Install/Install.js +9 -21
- package/build/components/Install/Install.js.map +1 -1
- package/build/components/Install/Install.mjs +9 -21
- package/build/components/Install/Install.mjs.map +1 -1
- package/build/components/Install/InstallListItem.js +13 -36
- package/build/components/Install/InstallListItem.js.map +1 -1
- package/build/components/Install/InstallListItem.mjs +12 -35
- package/build/components/Install/InstallListItem.mjs.map +1 -1
- package/build/components/Keywords/KeywordListItems.js +1 -1
- package/build/components/Keywords/KeywordListItems.js.map +1 -1
- package/build/components/Keywords/KeywordListItems.mjs +1 -1
- package/build/components/Keywords/KeywordListItems.mjs.map +1 -1
- package/build/components/Keywords/Keywords.js +1 -1
- package/build/components/Keywords/Keywords.js.map +1 -1
- package/build/components/Keywords/Keywords.mjs +1 -1
- package/build/components/Keywords/Keywords.mjs.map +1 -1
- package/build/components/Label/Label.js +5 -8
- package/build/components/Label/Label.js.map +1 -1
- package/build/components/Label/Label.mjs +4 -7
- package/build/components/Label/Label.mjs.map +1 -1
- package/build/components/Link/Link.js +10 -17
- package/build/components/Link/Link.js.map +1 -1
- package/build/components/Link/Link.mjs +9 -16
- package/build/components/Link/Link.mjs.map +1 -1
- package/build/components/LinkExternal/LinkExternal.js +1 -1
- package/build/components/LinkExternal/LinkExternal.js.map +1 -1
- package/build/components/LinkExternal/LinkExternal.mjs +1 -1
- package/build/components/LinkExternal/LinkExternal.mjs.map +1 -1
- package/build/components/Loading/Loading.js +1 -1
- package/build/components/Loading/Loading.js.map +1 -1
- package/build/components/Loading/Loading.mjs +1 -1
- package/build/components/Loading/Loading.mjs.map +1 -1
- package/build/components/Loading/Spinner/Spinner.js +6 -12
- package/build/components/Loading/Spinner/Spinner.js.map +1 -1
- package/build/components/Loading/Spinner/Spinner.mjs +5 -11
- package/build/components/Loading/Spinner/Spinner.mjs.map +1 -1
- package/build/components/Loading/styles.js +9 -20
- package/build/components/Loading/styles.js.map +1 -1
- package/build/components/Loading/styles.mjs +8 -19
- package/build/components/Loading/styles.mjs.map +1 -1
- package/build/components/LoginDialog/LoginDialog.js +1 -1
- package/build/components/LoginDialog/LoginDialog.js.map +1 -1
- package/build/components/LoginDialog/LoginDialog.mjs +1 -1
- package/build/components/LoginDialog/LoginDialog.mjs.map +1 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.js +5 -8
- package/build/components/LoginDialog/LoginDialogCloseButton.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogCloseButton.mjs +4 -7
- package/build/components/LoginDialog/LoginDialogCloseButton.mjs.map +1 -1
- package/build/components/LoginDialog/LoginDialogForm.js +1 -1
- package/build/components/LoginDialog/LoginDialogForm.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogForm.mjs +1 -1
- package/build/components/LoginDialog/LoginDialogForm.mjs.map +1 -1
- package/build/components/LoginDialog/LoginDialogFormError.js +7 -13
- package/build/components/LoginDialog/LoginDialogFormError.js.map +1 -1
- package/build/components/LoginDialog/LoginDialogFormError.mjs +6 -12
- package/build/components/LoginDialog/LoginDialogFormError.mjs.map +1 -1
- package/build/components/LoginForm/Login.js +5 -11
- package/build/components/LoginForm/Login.js.map +1 -1
- package/build/components/LoginForm/Login.mjs +4 -10
- package/build/components/LoginForm/Login.mjs.map +1 -1
- package/build/components/LoginForm/PasswordField.js +4 -7
- package/build/components/LoginForm/PasswordField.js.map +1 -1
- package/build/components/LoginForm/PasswordField.mjs +3 -6
- package/build/components/LoginForm/PasswordField.mjs.map +1 -1
- package/build/components/LoginForm/UsernameField.js +4 -7
- package/build/components/LoginForm/UsernameField.js.map +1 -1
- package/build/components/LoginForm/UsernameField.mjs +3 -6
- package/build/components/LoginForm/UsernameField.mjs.map +1 -1
- package/build/components/LoginForm/styles.js +7 -13
- package/build/components/LoginForm/styles.js.map +1 -1
- package/build/components/LoginForm/styles.mjs +6 -12
- package/build/components/LoginForm/styles.mjs.map +1 -1
- package/build/components/LoginForm/useLoginForm.js.map +1 -1
- package/build/components/LoginForm/useLoginForm.mjs.map +1 -1
- package/build/components/Logo/Logo.js +6 -22
- package/build/components/Logo/Logo.js.map +1 -1
- package/build/components/Logo/Logo.mjs +5 -21
- package/build/components/Logo/Logo.mjs.map +1 -1
- package/build/components/MenuItem/MenuItem.js +4 -17
- package/build/components/MenuItem/MenuItem.js.map +1 -1
- package/build/components/MenuItem/MenuItem.mjs +3 -16
- package/build/components/MenuItem/MenuItem.mjs.map +1 -1
- package/build/components/NoItems/NoItems.js +1 -1
- package/build/components/NoItems/NoItems.js.map +1 -1
- package/build/components/NoItems/NoItems.mjs +1 -1
- package/build/components/NoItems/NoItems.mjs.map +1 -1
- package/build/components/NotFound/NotFound.js +6 -22
- package/build/components/NotFound/NotFound.js.map +1 -1
- package/build/components/NotFound/NotFound.mjs +5 -21
- package/build/components/NotFound/NotFound.mjs.map +1 -1
- package/build/components/Package/Package.js +19 -20
- package/build/components/Package/Package.js.map +1 -1
- package/build/components/Package/Package.mjs +18 -19
- package/build/components/Package/Package.mjs.map +1 -1
- package/build/components/Package/styles.js +30 -107
- package/build/components/Package/styles.js.map +1 -1
- package/build/components/Package/styles.mjs +29 -106
- package/build/components/Package/styles.mjs.map +1 -1
- package/build/components/PackageList/PackageList.js +1 -1
- package/build/components/PackageList/PackageList.js.map +1 -1
- package/build/components/PackageList/PackageList.mjs +1 -1
- package/build/components/PackageList/PackageList.mjs.map +1 -1
- package/build/components/Person/Person.js +1 -1
- package/build/components/Person/Person.js.map +1 -1
- package/build/components/Person/Person.mjs +2 -2
- package/build/components/Person/Person.mjs.map +1 -1
- package/build/components/Person/PersonTooltip.js +1 -1
- package/build/components/Person/PersonTooltip.js.map +1 -1
- package/build/components/Person/PersonTooltip.mjs +1 -1
- package/build/components/Person/PersonTooltip.mjs.map +1 -1
- package/build/components/Person/utils.js.map +1 -1
- package/build/components/Person/utils.mjs.map +1 -1
- package/build/components/RawViewer/RawViewer.js +1 -1
- package/build/components/RawViewer/RawViewer.js.map +1 -1
- package/build/components/RawViewer/RawViewer.mjs +1 -1
- package/build/components/RawViewer/RawViewer.mjs.map +1 -1
- package/build/components/Readme/Readme.js +6 -16
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/Readme.mjs +5 -15
- package/build/components/Readme/Readme.mjs.map +1 -1
- package/build/components/Readme/utils.js.map +1 -1
- package/build/components/Readme/utils.mjs.map +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js.map +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.mjs +1 -1
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.mjs.map +1 -1
- package/build/components/RegistryInfoDialog/styles.js +10 -13
- package/build/components/RegistryInfoDialog/styles.js.map +1 -1
- package/build/components/RegistryInfoDialog/styles.mjs +9 -12
- package/build/components/RegistryInfoDialog/styles.mjs.map +1 -1
- package/build/components/Repository/Repository.js +15 -41
- package/build/components/Repository/Repository.js.map +1 -1
- package/build/components/Repository/Repository.mjs +14 -40
- package/build/components/Repository/Repository.mjs.map +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.d.ts +2 -2
- package/build/components/Search/AutoComplete/AutoComplete.js +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.js.map +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.mjs +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.mjs.map +1 -1
- package/build/components/Search/AutoComplete/styles.js +6 -15
- package/build/components/Search/AutoComplete/styles.js.map +1 -1
- package/build/components/Search/AutoComplete/styles.mjs +5 -14
- package/build/components/Search/AutoComplete/styles.mjs.map +1 -1
- package/build/components/Search/Search.js +1 -1
- package/build/components/Search/Search.js.map +1 -1
- package/build/components/Search/Search.mjs +1 -1
- package/build/components/Search/Search.mjs.map +1 -1
- package/build/components/Search/SearchItem.js +15 -40
- package/build/components/Search/SearchItem.js.map +1 -1
- package/build/components/Search/SearchItem.mjs +14 -39
- package/build/components/Search/SearchItem.mjs.map +1 -1
- package/build/components/Search/styles.js +5 -11
- package/build/components/Search/styles.js.map +1 -1
- package/build/components/Search/styles.mjs +4 -10
- package/build/components/Search/styles.mjs.map +1 -1
- package/build/components/Search/utils.js.map +1 -1
- package/build/components/Search/utils.mjs.map +1 -1
- package/build/components/SettingsMenu/SettingsMenu.js +1 -1
- package/build/components/SettingsMenu/SettingsMenu.js.map +1 -1
- package/build/components/SettingsMenu/SettingsMenu.mjs +2 -2
- package/build/components/SettingsMenu/SettingsMenu.mjs.map +1 -1
- package/build/components/SideBarTitle/SideBarTitle.js +12 -35
- package/build/components/SideBarTitle/SideBarTitle.js.map +1 -1
- package/build/components/SideBarTitle/SideBarTitle.mjs +12 -35
- package/build/components/SideBarTitle/SideBarTitle.mjs.map +1 -1
- package/build/components/SideBarTitle/utils.js.map +1 -1
- package/build/components/SideBarTitle/utils.mjs.map +1 -1
- package/build/components/UpLinks/UpLinks.js +1 -1
- package/build/components/UpLinks/UpLinks.js.map +1 -1
- package/build/components/UpLinks/UpLinks.mjs +1 -1
- package/build/components/UpLinks/UpLinks.mjs.map +1 -1
- package/build/components/UpLinks/UplinkLink.js +1 -1
- package/build/components/UpLinks/UplinkLink.js.map +1 -1
- package/build/components/UpLinks/UplinkLink.mjs +2 -2
- package/build/components/UpLinks/UplinkLink.mjs.map +1 -1
- package/build/components/UpLinks/styles.js +7 -16
- package/build/components/UpLinks/styles.js.map +1 -1
- package/build/components/UpLinks/styles.mjs +6 -15
- package/build/components/UpLinks/styles.mjs.map +1 -1
- package/build/components/Versions/HistoryList.js +1 -1
- package/build/components/Versions/HistoryList.js.map +1 -1
- package/build/components/Versions/HistoryList.mjs +1 -1
- package/build/components/Versions/HistoryList.mjs.map +1 -1
- package/build/components/Versions/TagList.js +1 -1
- package/build/components/Versions/TagList.js.map +1 -1
- package/build/components/Versions/TagList.mjs +1 -1
- package/build/components/Versions/TagList.mjs.map +1 -1
- package/build/components/Versions/Versions.js +5 -8
- package/build/components/Versions/Versions.js.map +1 -1
- package/build/components/Versions/Versions.mjs +7 -10
- package/build/components/Versions/Versions.mjs.map +1 -1
- package/build/components/Versions/styles.js +6 -12
- package/build/components/Versions/styles.js.map +1 -1
- package/build/components/Versions/styles.mjs +5 -11
- package/build/components/Versions/styles.mjs.map +1 -1
- package/build/configuration.js.map +1 -1
- package/build/configuration.mjs.map +1 -1
- package/build/hooks/useLocalStorage.js.map +1 -1
- package/build/hooks/useLocalStorage.mjs.map +1 -1
- package/build/hooks/useOnClickOutside.js.map +1 -1
- package/build/hooks/useOnClickOutside.mjs.map +1 -1
- package/build/layouts/Security/Dialog.js +1 -1
- package/build/layouts/Security/Dialog.js.map +1 -1
- package/build/layouts/Security/Dialog.mjs +1 -1
- package/build/layouts/Security/Dialog.mjs.map +1 -1
- package/build/layouts/Version/Version.js +1 -1
- package/build/layouts/Version/Version.js.map +1 -1
- package/build/layouts/Version/Version.mjs +1 -1
- package/build/layouts/Version/Version.mjs.map +1 -1
- package/build/pages/Front/Home.js.map +1 -1
- package/build/pages/Front/Home.mjs.map +1 -1
- package/build/pages/Security/AddUser.js.map +1 -1
- package/build/pages/Security/AddUser.mjs.map +1 -1
- package/build/pages/Security/ChangePassword.js.map +1 -1
- package/build/pages/Security/ChangePassword.mjs.map +1 -1
- package/build/pages/Security/Login.js.map +1 -1
- package/build/pages/Security/Login.mjs.map +1 -1
- package/build/pages/Security/Success.js.map +1 -1
- package/build/pages/Security/Success.mjs.map +1 -1
- package/build/pages/Version/Version.js +1 -1
- package/build/pages/Version/Version.js.map +1 -1
- package/build/pages/Version/Version.mjs +1 -1
- package/build/pages/Version/Version.mjs.map +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js.map +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.mjs +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.mjs.map +1 -1
- package/build/providers/AuthProvider/AuthProvider.js +1 -1
- package/build/providers/AuthProvider/AuthProvider.js.map +1 -1
- package/build/providers/AuthProvider/AuthProvider.mjs +1 -1
- package/build/providers/AuthProvider/AuthProvider.mjs.map +1 -1
- package/build/providers/AuthProvider/utils.js.map +1 -1
- package/build/providers/AuthProvider/utils.mjs.map +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.js +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.js.map +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.mjs +1 -1
- package/build/providers/DownloadProvider/DownloadProvider.mjs.map +1 -1
- package/build/providers/ManifestsProvider/ManifestsProvider.js +1 -1
- package/build/providers/ManifestsProvider/ManifestsProvider.js.map +1 -1
- package/build/providers/ManifestsProvider/ManifestsProvider.mjs +1 -1
- package/build/providers/ManifestsProvider/ManifestsProvider.mjs.map +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js.map +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.mjs +1 -1
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.mjs.map +1 -1
- package/build/providers/SearchProvider/SearchProvider.js +1 -1
- package/build/providers/SearchProvider/SearchProvider.js.map +1 -1
- package/build/providers/SearchProvider/SearchProvider.mjs +1 -1
- package/build/providers/SearchProvider/SearchProvider.mjs.map +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.js +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.js.map +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.mjs +1 -1
- package/build/providers/TranslatorProvider/TranslatorProvider.mjs.map +1 -1
- package/build/providers/VersionProvider/VersionProvider.js +1 -1
- package/build/providers/VersionProvider/VersionProvider.js.map +1 -1
- package/build/providers/VersionProvider/VersionProvider.mjs +1 -1
- package/build/providers/VersionProvider/VersionProvider.mjs.map +1 -1
- package/build/sections/Detail/ContainerContent.js +1 -1
- package/build/sections/Detail/ContainerContent.js.map +1 -1
- package/build/sections/Detail/ContainerContent.mjs +1 -1
- package/build/sections/Detail/ContainerContent.mjs.map +1 -1
- package/build/sections/Detail/Detail.js +1 -1
- package/build/sections/Detail/Detail.js.map +1 -1
- package/build/sections/Detail/Detail.mjs +1 -1
- package/build/sections/Detail/Detail.mjs.map +1 -1
- package/build/sections/Detail/ReadmeSection.js +1 -1
- package/build/sections/Detail/ReadmeSection.js.map +1 -1
- package/build/sections/Detail/ReadmeSection.mjs +1 -1
- package/build/sections/Detail/ReadmeSection.mjs.map +1 -1
- package/build/sections/Detail/Tabs.js +4 -17
- package/build/sections/Detail/Tabs.js.map +1 -1
- package/build/sections/Detail/Tabs.mjs +3 -16
- package/build/sections/Detail/Tabs.mjs.map +1 -1
- package/build/sections/Footer/Footer.js +26 -48
- package/build/sections/Footer/Footer.js.map +1 -1
- package/build/sections/Footer/Footer.mjs +25 -47
- package/build/sections/Footer/Footer.mjs.map +1 -1
- package/build/sections/Footer/styles.js +13 -35
- package/build/sections/Footer/styles.js.map +1 -1
- package/build/sections/Footer/styles.mjs +12 -34
- package/build/sections/Footer/styles.mjs.map +1 -1
- package/build/sections/Header/Header.js +41 -32
- package/build/sections/Header/Header.js.map +1 -1
- package/build/sections/Header/Header.mjs +42 -33
- package/build/sections/Header/Header.mjs.map +1 -1
- package/build/sections/Header/HeaderGreetings.js +1 -1
- package/build/sections/Header/HeaderGreetings.js.map +1 -1
- package/build/sections/Header/HeaderGreetings.mjs +2 -2
- package/build/sections/Header/HeaderGreetings.mjs.map +1 -1
- package/build/sections/Header/HeaderLeft.js +1 -1
- package/build/sections/Header/HeaderLeft.js.map +1 -1
- package/build/sections/Header/HeaderLeft.mjs +1 -1
- package/build/sections/Header/HeaderLeft.mjs.map +1 -1
- package/build/sections/Header/HeaderMenu.js +1 -1
- package/build/sections/Header/HeaderMenu.js.map +1 -1
- package/build/sections/Header/HeaderMenu.mjs +2 -2
- package/build/sections/Header/HeaderMenu.mjs.map +1 -1
- package/build/sections/Header/HeaderRight.js +1 -1
- package/build/sections/Header/HeaderRight.js.map +1 -1
- package/build/sections/Header/HeaderRight.mjs +2 -2
- package/build/sections/Header/HeaderRight.mjs.map +1 -1
- package/build/sections/Header/HeaderSettingsDialog.js +5 -8
- package/build/sections/Header/HeaderSettingsDialog.js.map +1 -1
- package/build/sections/Header/HeaderSettingsDialog.mjs +4 -7
- package/build/sections/Header/HeaderSettingsDialog.mjs.map +1 -1
- package/build/sections/Header/HeaderToolTip.js +1 -1
- package/build/sections/Header/HeaderToolTip.js.map +1 -1
- package/build/sections/Header/HeaderToolTip.mjs +1 -1
- package/build/sections/Header/HeaderToolTip.mjs.map +1 -1
- package/build/sections/Header/HeaderToolTipIcon.js +2 -1
- package/build/sections/Header/HeaderToolTipIcon.js.map +1 -1
- package/build/sections/Header/HeaderToolTipIcon.mjs +2 -1
- package/build/sections/Header/HeaderToolTipIcon.mjs.map +1 -1
- package/build/sections/Header/LanguageSwitch.js +7 -13
- package/build/sections/Header/LanguageSwitch.js.map +1 -1
- package/build/sections/Header/LanguageSwitch.mjs +7 -13
- package/build/sections/Header/LanguageSwitch.mjs.map +1 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +11 -37
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs +11 -37
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.mjs.map +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.js +6 -12
- package/build/sections/Header/RegistryInfoContent/styles.js.map +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.mjs +5 -11
- package/build/sections/Header/RegistryInfoContent/styles.mjs.map +1 -1
- package/build/sections/Header/styles.js +56 -99
- package/build/sections/Header/styles.js.map +1 -1
- package/build/sections/Header/styles.mjs +55 -98
- package/build/sections/Header/styles.mjs.map +1 -1
- package/build/sections/Home/Home.js +1 -1
- package/build/sections/Home/Home.js.map +1 -1
- package/build/sections/Home/Home.mjs +1 -1
- package/build/sections/Home/Home.mjs.map +1 -1
- package/build/sections/Security/AddUser.js +1 -1
- package/build/sections/Security/AddUser.js.map +1 -1
- package/build/sections/Security/AddUser.mjs +1 -1
- package/build/sections/Security/AddUser.mjs.map +1 -1
- package/build/sections/Security/ChangePassword.js +1 -1
- package/build/sections/Security/ChangePassword.js.map +1 -1
- package/build/sections/Security/ChangePassword.mjs +1 -1
- package/build/sections/Security/ChangePassword.mjs.map +1 -1
- package/build/sections/Security/Login.js +1 -1
- package/build/sections/Security/Login.js.map +1 -1
- package/build/sections/Security/Login.mjs +1 -1
- package/build/sections/Security/Login.mjs.map +1 -1
- package/build/sections/Security/Success.js +1 -1
- package/build/sections/Security/Success.js.map +1 -1
- package/build/sections/Security/Success.mjs +1 -1
- package/build/sections/Security/Success.mjs.map +1 -1
- package/build/sections/Security/styles.js.map +1 -1
- package/build/sections/Security/styles.mjs.map +1 -1
- package/build/sections/Security/utils.js.map +1 -1
- package/build/sections/Security/utils.mjs.map +1 -1
- package/build/sections/SideBar/Sidebar.js +1 -1
- package/build/sections/SideBar/Sidebar.js.map +1 -1
- package/build/sections/SideBar/Sidebar.mjs +1 -1
- package/build/sections/SideBar/Sidebar.mjs.map +1 -1
- package/build/store/api.js.map +1 -1
- package/build/store/api.mjs.map +1 -1
- package/build/store/routes.js.map +1 -1
- package/build/store/routes.mjs.map +1 -1
- package/build/store/storage.js.map +1 -1
- package/build/store/storage.mjs.map +1 -1
- package/build/store/utils.js.map +1 -1
- package/build/store/utils.mjs.map +1 -1
- package/build/utils/cli-utils.js.map +1 -1
- package/build/utils/cli-utils.mjs.map +1 -1
- package/build/utils/loadable.js +1 -1
- package/build/utils/loadable.js.map +1 -1
- package/build/utils/loadable.mjs +1 -1
- package/build/utils/loadable.mjs.map +1 -1
- package/build/utils/routes.js.map +1 -1
- package/build/utils/routes.mjs.map +1 -1
- package/build/utils/schemas.js.map +1 -1
- package/build/utils/schemas.mjs.map +1 -1
- package/build/utils/token.js.map +1 -1
- package/build/utils/token.mjs.map +1 -1
- package/build/utils/url.js.map +1 -1
- package/build/utils/url.mjs.map +1 -1
- package/build/utils/utils.js.map +1 -1
- package/build/utils/utils.mjs.map +1 -1
- package/package.json +3 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_routes = require("../../utils/routes.js");
|
|
3
3
|
require("../../utils/index.js");
|
|
4
|
-
let
|
|
5
|
-
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _emotion_styled = require("@emotion/styled");
|
|
5
|
+
_emotion_styled = require_runtime.__toESM(_emotion_styled);
|
|
7
6
|
let react = require("react");
|
|
8
7
|
react = require_runtime.__toESM(react);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let _mui_material_Box = require("@mui/material/Box");
|
|
10
10
|
_mui_material_Box = require_runtime.__toESM(_mui_material_Box);
|
|
11
11
|
let react_i18next = require("react-i18next");
|
|
@@ -15,26 +15,17 @@ _mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
|
15
15
|
let _mui_material_Chip = require("@mui/material/Chip");
|
|
16
16
|
_mui_material_Chip = require_runtime.__toESM(_mui_material_Chip);
|
|
17
17
|
//#region src/components/Dependencies/DependencyBlock.tsx
|
|
18
|
-
var StyledText =
|
|
19
|
-
target: "e1cdkkwc2",
|
|
20
|
-
label: "StyledText"
|
|
21
|
-
})((props) => ({
|
|
18
|
+
var StyledText = (0, _emotion_styled.default)(_mui_material_Typography.default)((props) => ({
|
|
22
19
|
fontWeight: props.theme.fontWeight.bold,
|
|
23
20
|
textTransform: "capitalize"
|
|
24
|
-
})
|
|
25
|
-
var Tags =
|
|
26
|
-
target: "e1cdkkwc1",
|
|
27
|
-
label: "Tags"
|
|
28
|
-
})((props) => ({
|
|
21
|
+
}));
|
|
22
|
+
var Tags = (0, _emotion_styled.default)("div")((props) => ({
|
|
29
23
|
display: "flex",
|
|
30
24
|
justifyContent: "start",
|
|
31
25
|
flexWrap: "wrap",
|
|
32
26
|
marginLeft: props.theme.spacing(-.6)
|
|
33
|
-
})
|
|
34
|
-
var Tag =
|
|
35
|
-
target: "e1cdkkwc0",
|
|
36
|
-
label: "Tag"
|
|
37
|
-
})((props) => ({ margin: props.theme.spacing(.6) }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EZXBlbmRlbmNpZXMvRGVwZW5kZW5jeUJsb2NrLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQ21CIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EZXBlbmRlbmNpZXMvRGVwZW5kZW5jeUJsb2NrLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBCb3ggZnJvbSAnQG11aS9tYXRlcmlhbC9Cb3gnO1xuaW1wb3J0IENoaXAgZnJvbSAnQG11aS9tYXRlcmlhbC9DaGlwJztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtdWkvbWF0ZXJpYWwvVHlwb2dyYXBoeSc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgdXNlVHJhbnNsYXRpb24gfSBmcm9tICdyZWFjdC1pMThuZXh0JztcbmltcG9ydCB7IHVzZU5hdmlnYXRlIH0gZnJvbSAncmVhY3Qtcm91dGVyJztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcbmltcG9ydCB0eXBlIHsgUGFja2FnZURlcGVuZGVuY2llcyB9IGZyb20gJy4uLy4uL3R5cGVzL3BhY2thZ2VNZXRhJztcbmltcG9ydCB7IFJvdXRlIH0gZnJvbSAnLi4vLi4vdXRpb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xlIGRlcGVuZGVuY2llcyBhcmUgc3RvcmVkIGFzIGFycmF5LCBmb3IgZXhhbXBsZSBbIDA6IFwic2VtdmVyXCIgXVxuICAgICAgICAgIC8vIHNvIHRoZSBwYWNrYWdlIG5hbWUgYXJyaXZlcyBoZXJlIGluIHRoZSB2ZXJzaW9uIGZpZWxkXG4gICAgICAgICAgY29uc3QgcGFja2FnZU5hbWUgPSB0aXRsZSA9PSAnYnVuZGxlRGVwZW5kZW5jaWVzJyA/IHZlcnNpb24gOiBuYW1lO1xuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8VGFnXG4gICAgICAgICAgICAgIGNsYXNzTmFtZT17J2RlcC10YWcnfVxuICAgICAgICAgICAgICBjbGlja2FibGU9e3RydWV9XG4gICAgICAgICAgICAgIGRhdGEtdGVzdGlkPXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgICAga2V5PXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgICAgbGFiZWw9e2xhYmVsVGV4dCh0aXRsZSwgcGFja2FnZU5hbWUsIHZlcnNpb24pfVxuICAgICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiB7XG4gICAgICAgICAgICAgICAgaGFuZGxlQ2xpY2socGFja2FnZU5hbWUpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApO1xuICAgICAgICB9KX1cbiAgICAgIDwvVGFncz5cbiAgICA8L0JveD5cbiAgKTtcbn07XG4iXX0= */");
|
|
27
|
+
}));
|
|
28
|
+
var Tag = (0, _emotion_styled.default)(_mui_material_Chip.default)((props) => ({ margin: props.theme.spacing(.6) }));
|
|
38
29
|
var DependencyBlock = ({ title, dependencies }) => {
|
|
39
30
|
const navigate = (0, react_router.useNavigate)();
|
|
40
31
|
const { t } = (0, react_i18next.useTranslation)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyBlock.js","names":[
|
|
1
|
+
{"version":3,"file":"DependencyBlock.js","names":[],"sources":["../../../src/components/Dependencies/DependencyBlock.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Box from '@mui/material/Box';\nimport Chip from '@mui/material/Chip';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageDependencies } from '../../types/packageMeta';\nimport { Route } from '../../utils';\n\ninterface DependencyBlockProps {\n title: string;\n dependencies: PackageDependencies;\n}\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const Tags = styled('div')<{ theme?: Theme }>((props) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n // force title to be on the same line as the title\n // could be better to avoid margin on the first element\n // but it is a bit tricky to do with flexbox\n marginLeft: props.theme.spacing(-0.6),\n}));\n\nexport const Tag = styled(Chip)<{ theme?: Theme }>((props) => ({\n margin: props.theme.spacing(0.6),\n}));\n\nexport const DependencyBlock: React.FC<DependencyBlockProps> = ({ title, dependencies }) => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n const deps = Object.entries(dependencies);\n\n function handleClick(name: string): void {\n navigate(`${Route.DETAIL}${name}`);\n }\n\n function labelText(title: string, name: string, version: string): string {\n if (title === 'bundleDependencies') {\n return t('dependencies.dependency-block-bundle', { package: name });\n } else {\n return t('dependencies.dependency-block', { package: name, version });\n }\n }\n\n return (\n <Box data-testid={title} sx={{ margin: 2 }}>\n <StyledText sx={{ marginBottom: 1 }} variant=\"subtitle1\">\n {`${title} (${deps.length})`}\n </StyledText>\n <Tags>\n {deps.map(([name, version]: [string, string]) => {\n // Bundle dependencies are stored as array, for example [ 0: \"semver\" ]\n // so the package name arrives here in the version field\n const packageName = title == 'bundleDependencies' ? version : name;\n return (\n <Tag\n className={'dep-tag'}\n clickable={true}\n data-testid={packageName}\n key={packageName}\n label={labelText(title, packageName, version)}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D,UACE,iBAAA,GAAA,kBAAA,KAAC,KAAD;IACE,WAAW;IACX,WAAW;IACX,eAAa;IAEb,OAAO,UAAU,OAAO,aAAa,QAAQ;IAC7C,eAAe;AACb,iBAAY,YAAY;;IAE1B,EALK,YAKL;IAEJ,EACG,CAAA,CACH"}
|
|
@@ -1,34 +1,25 @@
|
|
|
1
1
|
import { Route as Route$1 } from "../../utils/routes.mjs";
|
|
2
2
|
import "../../utils/index.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled from "@emotion/styled";
|
|
5
4
|
import "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import Box from "@mui/material/Box";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
import { useNavigate } from "react-router";
|
|
9
9
|
import Typography from "@mui/material/Typography";
|
|
10
10
|
import Chip from "@mui/material/Chip";
|
|
11
11
|
//#region src/components/Dependencies/DependencyBlock.tsx
|
|
12
|
-
var StyledText =
|
|
13
|
-
target: "e1cdkkwc2",
|
|
14
|
-
label: "StyledText"
|
|
15
|
-
})((props) => ({
|
|
12
|
+
var StyledText = styled(Typography)((props) => ({
|
|
16
13
|
fontWeight: props.theme.fontWeight.bold,
|
|
17
14
|
textTransform: "capitalize"
|
|
18
|
-
})
|
|
19
|
-
var Tags =
|
|
20
|
-
target: "e1cdkkwc1",
|
|
21
|
-
label: "Tags"
|
|
22
|
-
})((props) => ({
|
|
15
|
+
}));
|
|
16
|
+
var Tags = styled("div")((props) => ({
|
|
23
17
|
display: "flex",
|
|
24
18
|
justifyContent: "start",
|
|
25
19
|
flexWrap: "wrap",
|
|
26
20
|
marginLeft: props.theme.spacing(-.6)
|
|
27
|
-
})
|
|
28
|
-
var Tag =
|
|
29
|
-
target: "e1cdkkwc0",
|
|
30
|
-
label: "Tag"
|
|
31
|
-
})((props) => ({ margin: props.theme.spacing(.6) }), process.env.NODE_ENV === "production" ? "" :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3IgZXhhbXBsZSBbIDA6IFwic2VtdmVyXCIgXVxuICAgICAgICAgIC8vIHNvIHRoZSBwYWNrYWdlIG5hbWUgYXJyaXZlcyBoZXJlIGluIHRoZSB2ZXJzaW9uIGZpZWxkXG4gICAgICAgICAgY29uc3QgcGFja2FnZU5hbWUgPSB0aXRsZSA9PSAnYnVuZGxlRGVwZW5kZW5jaWVzJyA/IHZlcnNpb24gOiBuYW1lO1xuICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICA8VGFnXG4gICAgICAgICAgICAgIGNsYXNzTmFtZT17J2RlcC10YWcnfVxuICAgICAgICAgICAgICBjbGlja2FibGU9e3RydWV9XG4gICAgICAgICAgICAgIGRhdGEtdGVzdGlkPXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgICAga2V5PXtwYWNrYWdlTmFtZX1cbiAgICAgICAgICAgICAgbGFiZWw9e2xhYmVsVGV4dCh0aXRsZSwgcGFja2FnZU5hbWUsIHZlcnNpb24pfVxuICAgICAgICAgICAgICBvbkNsaWNrPXsoKSA9PiB7XG4gICAgICAgICAgICAgICAgaGFuZGxlQ2xpY2socGFja2FnZU5hbWUpO1xuICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICApO1xuICAgICAgICB9KX1cbiAgICAgIDwvVGFncz5cbiAgICA8L0JveD5cbiAgKTtcbn07XG4iXX0= */");
|
|
21
|
+
}));
|
|
22
|
+
var Tag = styled(Chip)((props) => ({ margin: props.theme.spacing(.6) }));
|
|
32
23
|
var DependencyBlock = ({ title, dependencies }) => {
|
|
33
24
|
const navigate = useNavigate();
|
|
34
25
|
const { t } = useTranslation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DependencyBlock.mjs","names":[
|
|
1
|
+
{"version":3,"file":"DependencyBlock.mjs","names":[],"sources":["../../../src/components/Dependencies/DependencyBlock.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Box from '@mui/material/Box';\nimport Chip from '@mui/material/Chip';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../../Theme';\nimport type { PackageDependencies } from '../../types/packageMeta';\nimport { Route } from '../../utils';\n\ninterface DependencyBlockProps {\n title: string;\n dependencies: PackageDependencies;\n}\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const Tags = styled('div')<{ theme?: Theme }>((props) => ({\n display: 'flex',\n justifyContent: 'start',\n flexWrap: 'wrap',\n // force title to be on the same line as the title\n // could be better to avoid margin on the first element\n // but it is a bit tricky to do with flexbox\n marginLeft: props.theme.spacing(-0.6),\n}));\n\nexport const Tag = styled(Chip)<{ theme?: Theme }>((props) => ({\n margin: props.theme.spacing(0.6),\n}));\n\nexport const DependencyBlock: React.FC<DependencyBlockProps> = ({ title, dependencies }) => {\n const navigate = useNavigate();\n const { t } = useTranslation();\n const deps = Object.entries(dependencies);\n\n function handleClick(name: string): void {\n navigate(`${Route.DETAIL}${name}`);\n }\n\n function labelText(title: string, name: string, version: string): string {\n if (title === 'bundleDependencies') {\n return t('dependencies.dependency-block-bundle', { package: name });\n } else {\n return t('dependencies.dependency-block', { package: name, version });\n }\n }\n\n return (\n <Box data-testid={title} sx={{ margin: 2 }}>\n <StyledText sx={{ marginBottom: 1 }} variant=\"subtitle1\">\n {`${title} (${deps.length})`}\n </StyledText>\n <Tags>\n {deps.map(([name, version]: [string, string]) => {\n // Bundle dependencies are stored as array, for example [ 0: \"semver\" ]\n // so the package name arrives here in the version field\n const packageName = title == 'bundleDependencies' ? version : name;\n return (\n <Tag\n className={'dep-tag'}\n clickable={true}\n data-testid={packageName}\n key={packageName}\n label={labelText(title, packageName, version)}\n onClick={() => {\n handleClick(packageName);\n }}\n />\n );\n })}\n </Tags>\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;AAiBA,IAA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"sources":["../../../src/components/Dependencies/utits.ts"],"sourcesContent":["export function hasKeys(object?: Record<string, unknown>): boolean {\n return !!object && Object.keys(object).length > 0;\n}\n"],"mappings":";AAAA,SAAgB,QAAQ,QAA2C;AACjE,QAAO,CAAC,CAAC,UAAU,OAAO,KAAK,OAAO,CAAC,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utits.mjs","names":[
|
|
1
|
+
{"version":3,"file":"utits.mjs","names":[],"sources":["../../../src/components/Dependencies/utits.ts"],"sourcesContent":["export function hasKeys(object?: Record<string, unknown>): boolean {\n return !!object && Object.keys(object).length > 0;\n}\n"],"mappings":";AAAA,SAAgB,QAAQ,QAA2C;AACjE,QAAO,CAAC,CAAC,UAAU,OAAO,KAAK,OAAO,CAAC,SAAS"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
3
2
|
let react = require("react");
|
|
4
3
|
react = require_runtime.__toESM(react);
|
|
4
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let _mui_material_Alert = require("@mui/material/Alert");
|
|
6
6
|
_mui_material_Alert = require_runtime.__toESM(_mui_material_Alert);
|
|
7
7
|
//#region src/components/Deprecated/Deprecated.tsx
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deprecated.js","names":[
|
|
1
|
+
{"version":3,"file":"Deprecated.js","names":[],"sources":["../../../src/components/Deprecated/Deprecated.tsx"],"sourcesContent":["import Alert from '@mui/material/Alert';\nimport React from 'react';\n\nexport type Props = {\n message: string;\n};\n\nconst Deprecated: React.FC<Props> = ({ message }) => {\n return (\n // @ts-ignore - Alert does accept children despite the type error\n <Alert severity=\"warning\" sx={{ marginTop: 1, marginBottom: 1 }}>\n {message}\n </Alert>\n );\n};\n\nexport default Deprecated;\n"],"mappings":";;;;;;;AAOA,IAAM,cAA+B,EAAE,cAAc;AACnD,QAEE,iBAAA,GAAA,kBAAA,KAAC,oBAAA,SAAD;EAAO,UAAS;EAAU,IAAI;GAAE,WAAW;GAAG,cAAc;GAAG;YAC5D;EACK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Deprecated.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Deprecated.mjs","names":[],"sources":["../../../src/components/Deprecated/Deprecated.tsx"],"sourcesContent":["import Alert from '@mui/material/Alert';\nimport React from 'react';\n\nexport type Props = {\n message: string;\n};\n\nconst Deprecated: React.FC<Props> = ({ message }) => {\n return (\n // @ts-ignore - Alert does accept children despite the type error\n <Alert severity=\"warning\" sx={{ marginTop: 1, marginBottom: 1 }}>\n {message}\n </Alert>\n );\n};\n\nexport default Deprecated;\n"],"mappings":";;;;AAOA,IAAM,cAA+B,EAAE,cAAc;AACnD,QAEE,oBAAC,OAAD;EAAO,UAAS;EAAU,IAAI;GAAE,WAAW;GAAG,cAAc;GAAG;YAC5D;EACK,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeveloperType.js","names":[
|
|
1
|
+
{"version":3,"file":"DeveloperType.js","names":[],"sources":["../../../src/components/Developers/DeveloperType.tsx"],"sourcesContent":["export enum DeveloperType {\n CONTRIBUTORS = 'contributors',\n MAINTAINERS = 'maintainers',\n}\n"],"mappings":";AAAA,IAAY,gBAAL,yBAAA,eAAA;AACL,eAAA,kBAAA;AACA,eAAA,iBAAA;;KACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeveloperType.mjs","names":[
|
|
1
|
+
{"version":3,"file":"DeveloperType.mjs","names":[],"sources":["../../../src/components/Developers/DeveloperType.tsx"],"sourcesContent":["export enum DeveloperType {\n CONTRIBUTORS = 'contributors',\n MAINTAINERS = 'maintainers',\n}\n"],"mappings":";AAAA,IAAY,gBAAL,yBAAA,eAAA;AACL,eAAA,kBAAA;AACA,eAAA,iBAAA;;KACD"}
|
|
@@ -3,11 +3,11 @@ const require_Person = require("../Person/Person.js");
|
|
|
3
3
|
require("../Person/index.js");
|
|
4
4
|
const require_Title = require("./Title.js");
|
|
5
5
|
const require_get_unique_developer_values = require("./get-unique-developer-values.js");
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
|
+
let _emotion_styled = require("@emotion/styled");
|
|
7
|
+
_emotion_styled = require_runtime.__toESM(_emotion_styled);
|
|
9
8
|
let react = require("react");
|
|
10
9
|
react = require_runtime.__toESM(react);
|
|
10
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
11
11
|
let _mui_material_Box = require("@mui/material/Box");
|
|
12
12
|
_mui_material_Box = require_runtime.__toESM(_mui_material_Box);
|
|
13
13
|
let _mui_material_Fab = require("@mui/material/Fab");
|
|
@@ -16,27 +16,11 @@ let _mui_material_colors = require("@mui/material/colors");
|
|
|
16
16
|
let _mui_icons_material_Add = require("@mui/icons-material/Add");
|
|
17
17
|
_mui_icons_material_Add = require_runtime.__toESM(_mui_icons_material_Add);
|
|
18
18
|
//#region src/components/Developers/Developers.tsx
|
|
19
|
-
|
|
20
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
21
|
-
}
|
|
22
|
-
var Fab = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Fab.default, process.env.NODE_ENV === "production" ? { target: "eoc81fk1" } : {
|
|
23
|
-
target: "eoc81fk1",
|
|
24
|
-
label: "Fab"
|
|
25
|
-
})((props) => ({
|
|
19
|
+
var Fab = (0, _emotion_styled.default)(_mui_material_Fab.default)((props) => ({
|
|
26
20
|
backgroundColor: props.theme.palette.primary.main,
|
|
27
21
|
color: _mui_material_colors.common.white
|
|
28
|
-
})
|
|
29
|
-
var StyledBox =
|
|
30
|
-
target: "eoc81fk0",
|
|
31
|
-
label: "StyledBox"
|
|
32
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
33
|
-
name: "1scsie",
|
|
34
|
-
styles: "> *{margin-right:5px;}"
|
|
35
|
-
} : {
|
|
36
|
-
name: "1scsie",
|
|
37
|
-
styles: "> *{margin-right:5px;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EZXZlbG9wZXJzL0RldmVsb3BlcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCa0IiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0RldmVsb3BlcnMvRGV2ZWxvcGVycy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgQWRkIGZyb20gJ0BtdWkvaWNvbnMtbWF0ZXJpYWwvQWRkJztcbmltcG9ydCBCb3ggZnJvbSAnQG11aS9tYXRlcmlhbC9Cb3gnO1xuaW1wb3J0IEZhYk1VSSBmcm9tICdAbXVpL21hdGVyaWFsL0ZhYic7XG5pbXBvcnQgeyBjb21tb24gfSBmcm9tICdAbXVpL21hdGVyaWFsL2NvbG9ycyc7XG5pbXBvcnQgUmVhY3QsIHsgdXNlQ2FsbGJhY2ssIHVzZUVmZmVjdCwgdXNlTWVtbywgdXNlU3RhdGUgfSBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCB0eXBlIHsgVGhlbWUgfSBmcm9tICcuLi8uLi9UaGVtZSc7XG5pbXBvcnQgUGVyc29uIGZyb20gJy4uL1BlcnNvbic7XG5pbXBvcnQgdHlwZSB7IERldmVsb3B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ICAgICBwYWNrYWdlTmFtZT17cGFja2FnZU5hbWV9XG4gICAgICAgICAgICAgIHBlcnNvbj17dmlzaWJsZURldmVsb3Blcn1cbiAgICAgICAgICAgICAgdmVyc2lvbj17dmVyc2lvbn1cbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgKTtcbiAgICAgICAgfSl9XG4gICAgICAgIHt2aXNpYmxlRGV2ZWxvcGVyc01heCA8IGRldmVsb3BlcnMubGVuZ3RoICYmIChcbiAgICAgICAgICA8RmFiIGRhdGEtdGVzdGlkPXsnZmFiLWFkZCd9IG9uQ2xpY2s9e2hhbmRsZVNldFZpc2libGVEZXZlbG9wZXJzTWF4fSBzaXplPVwic21hbGxcIj5cbiAgICAgICAgICAgIDxBZGQgLz5cbiAgICAgICAgICA8L0ZhYj5cbiAgICAgICAgKX1cbiAgICAgIDwvU3R5bGVkQm94PlxuICAgIDwvPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRGV2ZWxvcGVycztcbiJdfQ== */",
|
|
38
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
39
|
-
});
|
|
22
|
+
}));
|
|
23
|
+
var StyledBox = (0, _emotion_styled.default)(_mui_material_Box.default)({ "> *": { marginRight: 5 } });
|
|
40
24
|
var Developers = ({ type, visibleMax = 6, packageMeta }) => {
|
|
41
25
|
const developers = (0, react.useMemo)(() => require_get_unique_developer_values.default(packageMeta?.latest[type]), [packageMeta, type]);
|
|
42
26
|
const [visibleDevelopersMax, setVisibleDevelopersMax] = (0, react.useState)(visibleMax);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Developers.js","names":[
|
|
1
|
+
{"version":3,"file":"Developers.js","names":[],"sources":["../../../src/components/Developers/Developers.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Add from '@mui/icons-material/Add';\nimport Box from '@mui/material/Box';\nimport FabMUI from '@mui/material/Fab';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport type { Theme } from '../../Theme';\nimport Person from '../Person';\nimport type { DeveloperType } from './DeveloperType';\nimport Title from './Title';\nimport getUniqueDeveloperValues from './get-unique-developer-values';\n\nexport const Fab = styled(FabMUI)<{ theme?: Theme }>((props) => ({\n backgroundColor: props.theme.palette.primary.main,\n color: common.white,\n}));\n\ninterface Props {\n type: DeveloperType;\n visibleMax?: number;\n packageMeta: any;\n}\n\nconst StyledBox = styled(Box)({\n '> *': {\n marginRight: 5,\n },\n});\n\nexport const VISIBLE_MAX = 6;\n\nconst Developers: React.FC<Props> = ({ type, visibleMax = VISIBLE_MAX, packageMeta }) => {\n const developers = useMemo(\n () => getUniqueDeveloperValues(packageMeta?.latest[type]),\n [packageMeta, type]\n );\n\n const [visibleDevelopersMax, setVisibleDevelopersMax] = useState(visibleMax);\n const [visibleDevelopers, setVisibleDevelopers] = useState(developers);\n\n useEffect(() => {\n if (!developers.length) {\n return;\n }\n\n setVisibleDevelopers(developers.slice(0, visibleDevelopersMax));\n }, [developers, visibleDevelopersMax]);\n\n const handleSetVisibleDevelopersMax = useCallback(() => {\n setVisibleDevelopersMax(visibleDevelopersMax + VISIBLE_MAX);\n }, [visibleDevelopersMax]);\n\n if (!visibleDevelopers || !developers.length) {\n return null;\n }\n\n const { name: packageName, version } = packageMeta.latest;\n\n return (\n <>\n <Title type={type} />\n <StyledBox display=\"flex\" flexWrap=\"wrap\" margin=\"10px 0 10px 0\">\n {visibleDevelopers.map((visibleDeveloper, index) => {\n return (\n <Person\n key={index}\n packageName={packageName}\n person={visibleDeveloper}\n version={version}\n />\n );\n })}\n {visibleDevelopersMax < developers.length && (\n <Fab data-testid={'fab-add'} onClick={handleSetVisibleDevelopersMax} size=\"small\">\n <Add />\n </Fab>\n )}\n </StyledBox>\n </>\n );\n};\n\nexport default Developers;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAaA,IAAa,OAAA,GAAA,gBAAA,SAAa,kBAAA,QAAO,EAAqB,WAAW;CAC/D,iBA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C,wBAAA,SAAD,EAAO,CAAA;GACH,CAAA,CAEE;IACX,EAAA,CAAA"}
|
|
@@ -2,35 +2,19 @@ import Person from "../Person/Person.mjs";
|
|
|
2
2
|
import "../Person/index.mjs";
|
|
3
3
|
import Title from "./Title.mjs";
|
|
4
4
|
import getUniqueDeveloperValues from "./get-unique-developer-values.mjs";
|
|
5
|
-
import
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import styled from "@emotion/styled";
|
|
7
6
|
import { useCallback, useEffect, useMemo, useState } from "react";
|
|
7
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import Box from "@mui/material/Box";
|
|
9
9
|
import FabMUI from "@mui/material/Fab";
|
|
10
10
|
import { common } from "@mui/material/colors";
|
|
11
11
|
import Add from "@mui/icons-material/Add";
|
|
12
12
|
//#region src/components/Developers/Developers.tsx
|
|
13
|
-
|
|
14
|
-
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).";
|
|
15
|
-
}
|
|
16
|
-
var Fab = /* @__PURE__ */ _styled(FabMUI, process.env.NODE_ENV === "production" ? { target: "eoc81fk1" } : {
|
|
17
|
-
target: "eoc81fk1",
|
|
18
|
-
label: "Fab"
|
|
19
|
-
})((props) => ({
|
|
13
|
+
var Fab = styled(FabMUI)((props) => ({
|
|
20
14
|
backgroundColor: props.theme.palette.primary.main,
|
|
21
15
|
color: common.white
|
|
22
|
-
})
|
|
23
|
-
var StyledBox =
|
|
24
|
-
target: "eoc81fk0",
|
|
25
|
-
label: "StyledBox"
|
|
26
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
27
|
-
name: "1scsie",
|
|
28
|
-
styles: "> *{margin-right:5px;}"
|
|
29
|
-
} : {
|
|
30
|
-
name: "1scsie",
|
|
31
|
-
styles: "> *{margin-right:5px;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64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ICAgICAgfSl9XG4gICAgICAgIHt2aXNpYmxlRGV2ZWxvcGVyc01heCA8IGRldmVsb3BlcnMubGVuZ3RoICYmIChcbiAgICAgICAgICA8RmFiIGRhdGEtdGVzdGlkPXsnZmFiLWFkZCd9IG9uQ2xpY2s9e2hhbmRsZVNldFZpc2libGVEZXZlbG9wZXJzTWF4fSBzaXplPVwic21hbGxcIj5cbiAgICAgICAgICAgIDxBZGQgLz5cbiAgICAgICAgICA8L0ZhYj5cbiAgICAgICAgKX1cbiAgICAgIDwvU3R5bGVkQm94PlxuICAgIDwvPlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRGV2ZWxvcGVycztcbiJdfQ== */",
|
|
32
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
33
|
-
});
|
|
16
|
+
}));
|
|
17
|
+
var StyledBox = styled(Box)({ "> *": { marginRight: 5 } });
|
|
34
18
|
var Developers = ({ type, visibleMax = 6, packageMeta }) => {
|
|
35
19
|
const developers = useMemo(() => getUniqueDeveloperValues(packageMeta?.latest[type]), [packageMeta, type]);
|
|
36
20
|
const [visibleDevelopersMax, setVisibleDevelopersMax] = useState(visibleMax);
|
|
@@ -44,7 +28,7 @@ var Developers = ({ type, visibleMax = 6, packageMeta }) => {
|
|
|
44
28
|
}, [visibleDevelopersMax]);
|
|
45
29
|
if (!visibleDevelopers || !developers.length) return null;
|
|
46
30
|
const { name: packageName, version } = packageMeta.latest;
|
|
47
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Title, { type }), /* @__PURE__ */ jsxs(StyledBox, {
|
|
31
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Title, { type }), /* @__PURE__ */ jsxs(StyledBox, {
|
|
48
32
|
display: "flex",
|
|
49
33
|
flexWrap: "wrap",
|
|
50
34
|
margin: "10px 0 10px 0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Developers.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Developers.mjs","names":[],"sources":["../../../src/components/Developers/Developers.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Add from '@mui/icons-material/Add';\nimport Box from '@mui/material/Box';\nimport FabMUI from '@mui/material/Fab';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\n\nimport type { Theme } from '../../Theme';\nimport Person from '../Person';\nimport type { DeveloperType } from './DeveloperType';\nimport Title from './Title';\nimport getUniqueDeveloperValues from './get-unique-developer-values';\n\nexport const Fab = styled(FabMUI)<{ theme?: Theme }>((props) => ({\n backgroundColor: props.theme.palette.primary.main,\n color: common.white,\n}));\n\ninterface Props {\n type: DeveloperType;\n visibleMax?: number;\n packageMeta: any;\n}\n\nconst StyledBox = styled(Box)({\n '> *': {\n marginRight: 5,\n },\n});\n\nexport const VISIBLE_MAX = 6;\n\nconst Developers: React.FC<Props> = ({ type, visibleMax = VISIBLE_MAX, packageMeta }) => {\n const developers = useMemo(\n () => getUniqueDeveloperValues(packageMeta?.latest[type]),\n [packageMeta, type]\n );\n\n const [visibleDevelopersMax, setVisibleDevelopersMax] = useState(visibleMax);\n const [visibleDevelopers, setVisibleDevelopers] = useState(developers);\n\n useEffect(() => {\n if (!developers.length) {\n return;\n }\n\n setVisibleDevelopers(developers.slice(0, visibleDevelopersMax));\n }, [developers, visibleDevelopersMax]);\n\n const handleSetVisibleDevelopersMax = useCallback(() => {\n setVisibleDevelopersMax(visibleDevelopersMax + VISIBLE_MAX);\n }, [visibleDevelopersMax]);\n\n if (!visibleDevelopers || !developers.length) {\n return null;\n }\n\n const { name: packageName, version } = packageMeta.latest;\n\n return (\n <>\n <Title type={type} />\n <StyledBox display=\"flex\" flexWrap=\"wrap\" margin=\"10px 0 10px 0\">\n {visibleDevelopers.map((visibleDeveloper, index) => {\n return (\n <Person\n key={index}\n packageName={packageName}\n person={visibleDeveloper}\n version={version}\n />\n );\n })}\n {visibleDevelopersMax < developers.length && (\n <Fab data-testid={'fab-add'} onClick={handleSetVisibleDevelopersMax} size=\"small\">\n <Add />\n </Fab>\n )}\n </StyledBox>\n </>\n );\n};\n\nexport default Developers;\n"],"mappings":";;;;;;;;;;;;AAaA,IAAa,MAAM,OAAO,OAAO,EAAqB,WAAW;CAC/D,iBAAiB,MAAM,MAAM,QAAQ,QAAQ;CAC7C,OAAO,OAAO;CACf,EAAE;AAQH,IAAM,YAAY,OAAO,IAAI,CAAC,EAC5B,OAAO,EACL,aAAa,GACd,EACF,CAAC;AAIF,IAAM,cAA+B,EAAE,MAAM,aAAA,GAA0B,kBAAkB;CACvF,MAAM,aAAa,cACX,yBAAyB,aAAa,OAAO,MAAM,EACzD,CAAC,aAAa,KAAK,CACpB;CAED,MAAM,CAAC,sBAAsB,2BAA2B,SAAS,WAAW;CAC5E,MAAM,CAAC,mBAAmB,wBAAwB,SAAS,WAAW;AAEtE,iBAAgB;AACd,MAAI,CAAC,WAAW,OACd;AAGF,uBAAqB,WAAW,MAAM,GAAG,qBAAqB,CAAC;IAC9D,CAAC,YAAY,qBAAqB,CAAC;CAEtC,MAAM,gCAAgC,kBAAkB;AACtD,0BAAwB,uBAAA,EAAmC;IAC1D,CAAC,qBAAqB,CAAC;AAE1B,KAAI,CAAC,qBAAqB,CAAC,WAAW,OACpC,QAAO;CAGT,MAAM,EAAE,MAAM,aAAa,YAAY,YAAY;AAEnD,QACE,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,OAAD,EAAa,MAAQ,CAAA,EACrB,qBAAC,WAAD;EAAW,SAAQ;EAAO,UAAS;EAAO,QAAO;YAAjD,CACG,kBAAkB,KAAK,kBAAkB,UAAU;AAClD,UACE,oBAAC,QAAD;IAEe;IACb,QAAQ;IACC;IACT,EAJK,MAIL;IAEJ,EACD,uBAAuB,WAAW,UACjC,oBAAC,KAAD;GAAK,eAAa;GAAW,SAAS;GAA+B,MAAK;aACxE,oBAAC,KAAD,EAAO,CAAA;GACH,CAAA,CAEE;IACX,EAAA,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_DeveloperType = require("./DeveloperType.js");
|
|
3
3
|
require("./index.js");
|
|
4
|
-
let
|
|
5
|
-
|
|
6
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
|
+
let _emotion_styled = require("@emotion/styled");
|
|
5
|
+
_emotion_styled = require_runtime.__toESM(_emotion_styled);
|
|
7
6
|
let react = require("react");
|
|
8
7
|
react = require_runtime.__toESM(react);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let react_i18next = require("react-i18next");
|
|
10
10
|
let _mui_material_Typography = require("@mui/material/Typography");
|
|
11
11
|
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
@@ -23,13 +23,10 @@ var Title = ({ type }) => {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
var StyledText =
|
|
27
|
-
target: "e1ssrjap0",
|
|
28
|
-
label: "StyledText"
|
|
29
|
-
})(({ theme }) => ({
|
|
26
|
+
var StyledText = (0, _emotion_styled.default)(_mui_material_Typography.default)(({ theme }) => ({
|
|
30
27
|
fontWeight: theme.fontWeight.bold,
|
|
31
28
|
marginBottom: "10px"
|
|
32
|
-
})
|
|
29
|
+
}));
|
|
33
30
|
//#endregion
|
|
34
31
|
exports.default = Title;
|
|
35
32
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.js","names":[
|
|
1
|
+
{"version":3,"file":"Title.js","names":[],"sources":["../../../src/components/Developers/Title.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { DeveloperType } from './';\n\ninterface Props {\n type: DeveloperType;\n}\n\nconst Title: React.FC<Props> = ({ type }) => {\n const { t } = useTranslation();\n switch (type) {\n case DeveloperType.CONTRIBUTORS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.contributors.title')}</StyledText>;\n case DeveloperType.MAINTAINERS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.maintainers.title')}</StyledText>;\n }\n};\n\nexport default Title;\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>(({ theme }) => ({\n fontWeight: theme.fontWeight.bold,\n marginBottom: '10px',\n}));\n"],"mappings":";;;;;;;;;;;;AAYA,IAAM,SAA0B,EAAE,WAAW;CAC3C,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAC9B,SAAQ,MAAR;EACE,KAAK,sBAAA,cAAc,aACjB,QAAO,iBAAA,GAAA,kBAAA,KAAC,YAAD;GAAY,SAAS;aAAc,EAAE,6BAA6B;GAAc,CAAA;EACzF,KAAK,sBAAA,cAAc,YACjB,QAAO,iBAAA,GAAA,kBAAA,KAAC,YAAD;GAAY,SAAS;aAAc,EAAE,4BAA4B;GAAc,CAAA;;;AAM5F,IAAM,cAAA,GAAA,gBAAA,SAAoB,yBAAA,QAAW,EAAqB,EAAE,aAAa;CACvE,YAAY,MAAM,WAAW;CAC7B,cAAc;CACf,EAAE"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DeveloperType } from "./DeveloperType.mjs";
|
|
2
2
|
import "./index.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import styled from "@emotion/styled";
|
|
5
4
|
import "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
import Typography from "@mui/material/Typography";
|
|
8
8
|
//#region src/components/Developers/Title.tsx
|
|
@@ -19,13 +19,10 @@ var Title = ({ type }) => {
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
var StyledText =
|
|
23
|
-
target: "e1ssrjap0",
|
|
24
|
-
label: "StyledText"
|
|
25
|
-
})(({ theme }) => ({
|
|
22
|
+
var StyledText = styled(Typography)(({ theme }) => ({
|
|
26
23
|
fontWeight: theme.fontWeight.bold,
|
|
27
24
|
marginBottom: "10px"
|
|
28
|
-
})
|
|
25
|
+
}));
|
|
29
26
|
//#endregion
|
|
30
27
|
export { Title as default };
|
|
31
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Title.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Title.mjs","names":[],"sources":["../../../src/components/Developers/Title.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport Typography from '@mui/material/Typography';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { Theme } from '../../Theme';\nimport { DeveloperType } from './';\n\ninterface Props {\n type: DeveloperType;\n}\n\nconst Title: React.FC<Props> = ({ type }) => {\n const { t } = useTranslation();\n switch (type) {\n case DeveloperType.CONTRIBUTORS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.contributors.title')}</StyledText>;\n case DeveloperType.MAINTAINERS:\n return <StyledText variant={'subtitle1'}>{t('sidebar.maintainers.title')}</StyledText>;\n }\n};\n\nexport default Title;\n\nconst StyledText = styled(Typography)<{ theme?: Theme }>(({ theme }) => ({\n fontWeight: theme.fontWeight.bold,\n marginBottom: '10px',\n}));\n"],"mappings":";;;;;;;;AAYA,IAAM,SAA0B,EAAE,WAAW;CAC3C,MAAM,EAAE,MAAM,gBAAgB;AAC9B,SAAQ,MAAR;EACE,KAAK,cAAc,aACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,6BAA6B;GAAc,CAAA;EACzF,KAAK,cAAc,YACjB,QAAO,oBAAC,YAAD;GAAY,SAAS;aAAc,EAAE,4BAA4B;GAAc,CAAA;;;AAM5F,IAAM,aAAa,OAAO,WAAW,EAAqB,EAAE,aAAa;CACvE,YAAY,MAAM,WAAW;CAC7B,cAAc;CACf,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unique-developer-values.js","names":[
|
|
1
|
+
{"version":3,"file":"get-unique-developer-values.js","names":[],"sources":["../../../src/components/Developers/get-unique-developer-values.ts"],"sourcesContent":["import type { Developer } from '../../types/packageMeta';\n\nfunction getUniqueDeveloperValues(developers?: Developer[]): Developer[] {\n if (!developers) {\n return [];\n }\n return developers.reduce(\n (accumulator: Developer[], current: Developer) =>\n accumulator.some((developer) => developer.email === current.email)\n ? accumulator\n : [...accumulator, current],\n []\n );\n}\n\nexport default getUniqueDeveloperValues;\n"],"mappings":";AAEA,SAAS,yBAAyB,YAAuC;AACvE,KAAI,CAAC,WACH,QAAO,EAAE;AAEX,QAAO,WAAW,QACf,aAA0B,YACzB,YAAY,MAAM,cAAc,UAAU,UAAU,QAAQ,MAAM,GAC9D,cACA,CAAC,GAAG,aAAa,QAAQ,EAC/B,EAAE,CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-unique-developer-values.mjs","names":[
|
|
1
|
+
{"version":3,"file":"get-unique-developer-values.mjs","names":[],"sources":["../../../src/components/Developers/get-unique-developer-values.ts"],"sourcesContent":["import type { Developer } from '../../types/packageMeta';\n\nfunction getUniqueDeveloperValues(developers?: Developer[]): Developer[] {\n if (!developers) {\n return [];\n }\n return developers.reduce(\n (accumulator: Developer[], current: Developer) =>\n accumulator.some((developer) => developer.email === current.email)\n ? accumulator\n : [...accumulator, current],\n []\n );\n}\n\nexport default getUniqueDeveloperValues;\n"],"mappings":";AAEA,SAAS,yBAAyB,YAAuC;AACvE,KAAI,CAAC,WACH,QAAO,EAAE;AAEX,QAAO,WAAW,QACf,aAA0B,YACzB,YAAY,MAAM,cAAc,UAAU,UAAU,QAAQ,MAAM,GAC9D,cACA,CAAC,GAAG,aAAa,QAAQ,EAC/B,EAAE,CACH"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_utils = require("../../utils/utils.js");
|
|
3
3
|
const require_styles = require("./styles.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let react_i18next = require("react-i18next");
|
|
8
8
|
let _mui_material_List = require("@mui/material/List");
|
|
9
9
|
_mui_material_List = require_runtime.__toESM(_mui_material_List);
|