@verdaccio/ui-components 5.0.0-next-9.4 → 5.0.0-next-9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +20 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dist.js","names":[
|
|
1
|
+
{"version":3,"file":"Dist.js","names":[],"sources":["../../../src/components/Distribution/Dist.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { fileSizeSI, formatLicense } from '../../utils/utils';\nimport { DistChips, DistListItem, StyledText } from './styles';\n\nconst DistChip: FC<{ name: string; children?: React.ReactElement | string }> = ({\n name,\n children,\n}) =>\n children ? (\n <DistChips\n label={\n <>\n <b>{name}</b>\n {': '}\n {children}\n </>\n }\n />\n ) : null;\n\nconst Dist: FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n if (!packageMeta?.latest) {\n return null;\n }\n\n const { dist, license } = packageMeta.latest;\n\n if (!dist && !license) {\n return null;\n }\n\n return (\n <List\n subheader={<StyledText variant=\"subtitle1\">{t('sidebar.distribution.title')}</StyledText>}\n >\n <DistListItem>\n {dist?.fileCount && (\n <DistChip name={t('sidebar.distribution.file-count')}>{`${dist.fileCount}`}</DistChip>\n )}\n {dist?.unpackedSize ? (\n <DistChip name={t('sidebar.distribution.size')}>{fileSizeSI(dist.unpackedSize)}</DistChip>\n ) : null}\n\n <DistChip name={t('sidebar.distribution.license')}>{formatLicense(license)}</DistChip>\n </DistListItem>\n </List>\n );\n};\n\nexport default Dist;\n"],"mappings":";;;;;;;;;;AASA,IAAM,YAA0E,EAC9E,MACA,eAEA,WACE,iBAAA,GAAA,kBAAA,KAAC,eAAA,WAAD,EACE,OACE,iBAAA,GAAA,kBAAA,MAAA,kBAAA,UAAA,EAAA,UAAA;CACE,iBAAA,GAAA,kBAAA,KAAC,KAAD,EAAA,UAAI,MAAS,CAAA;CACZ;CACA;CACA,EAAA,CAAA,EAEL,CAAA,GACA;AAEN,IAAM,QAAmD,EAAE,kBAAkB;CAC3E,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;AAE9B,KAAI,CAAC,aAAa,OAChB,QAAO;CAGT,MAAM,EAAE,MAAM,YAAY,YAAY;AAEtC,KAAI,CAAC,QAAQ,CAAC,QACZ,QAAO;AAGT,QACE,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;EACE,WAAW,iBAAA,GAAA,kBAAA,KAAC,eAAA,YAAD;GAAY,SAAQ;aAAa,EAAE,6BAA6B;GAAc,CAAA;YAEzF,iBAAA,GAAA,kBAAA,MAAC,eAAA,cAAD,EAAA,UAAA;GACG,MAAM,aACL,iBAAA,GAAA,kBAAA,KAAC,UAAD;IAAU,MAAM,EAAE,kCAAkC;cAAG,GAAG,KAAK;IAAuB,CAAA;GAEvF,MAAM,eACL,iBAAA,GAAA,kBAAA,KAAC,UAAD;IAAU,MAAM,EAAE,4BAA4B;cAAG,cAAA,WAAW,KAAK,aAAa;IAAY,CAAA,GACxF;GAEJ,iBAAA,GAAA,kBAAA,KAAC,UAAD;IAAU,MAAM,EAAE,+BAA+B;cAAG,cAAA,cAAc,QAAQ;IAAY,CAAA;GACzE,EAAA,CAAA;EACV,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { fileSizeSI, formatLicense } from "../../utils/utils.mjs";
|
|
2
2
|
import { DistChips, DistListItem, StyledText } from "./styles.mjs";
|
|
3
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import "react";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import List from "@mui/material/List";
|
|
7
7
|
//#region src/components/Distribution/Dist.tsx
|
|
8
|
-
var DistChip = ({ name, children }) => children ? /* @__PURE__ */ jsx(DistChips, { label: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8
|
+
var DistChip = ({ name, children }) => children ? /* @__PURE__ */ jsx(DistChips, { label: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
9
9
|
/* @__PURE__ */ jsx("b", { children: name }),
|
|
10
10
|
": ",
|
|
11
11
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dist.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Dist.mjs","names":[],"sources":["../../../src/components/Distribution/Dist.tsx"],"sourcesContent":["import List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { fileSizeSI, formatLicense } from '../../utils/utils';\nimport { DistChips, DistListItem, StyledText } from './styles';\n\nconst DistChip: FC<{ name: string; children?: React.ReactElement | string }> = ({\n name,\n children,\n}) =>\n children ? (\n <DistChips\n label={\n <>\n <b>{name}</b>\n {': '}\n {children}\n </>\n }\n />\n ) : null;\n\nconst Dist: FC<{ packageMeta: PackageMetaInterface }> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n if (!packageMeta?.latest) {\n return null;\n }\n\n const { dist, license } = packageMeta.latest;\n\n if (!dist && !license) {\n return null;\n }\n\n return (\n <List\n subheader={<StyledText variant=\"subtitle1\">{t('sidebar.distribution.title')}</StyledText>}\n >\n <DistListItem>\n {dist?.fileCount && (\n <DistChip name={t('sidebar.distribution.file-count')}>{`${dist.fileCount}`}</DistChip>\n )}\n {dist?.unpackedSize ? (\n <DistChip name={t('sidebar.distribution.size')}>{fileSizeSI(dist.unpackedSize)}</DistChip>\n ) : null}\n\n <DistChip name={t('sidebar.distribution.license')}>{formatLicense(license)}</DistChip>\n </DistListItem>\n </List>\n );\n};\n\nexport default Dist;\n"],"mappings":";;;;;;;AASA,IAAM,YAA0E,EAC9E,MACA,eAEA,WACE,oBAAC,WAAD,EACE,OACE,qBAAA,YAAA,EAAA,UAAA;CACE,oBAAC,KAAD,EAAA,UAAI,MAAS,CAAA;CACZ;CACA;CACA,EAAA,CAAA,EAEL,CAAA,GACA;AAEN,IAAM,QAAmD,EAAE,kBAAkB;CAC3E,MAAM,EAAE,MAAM,gBAAgB;AAE9B,KAAI,CAAC,aAAa,OAChB,QAAO;CAGT,MAAM,EAAE,MAAM,YAAY,YAAY;AAEtC,KAAI,CAAC,QAAQ,CAAC,QACZ,QAAO;AAGT,QACE,oBAAC,MAAD;EACE,WAAW,oBAAC,YAAD;GAAY,SAAQ;aAAa,EAAE,6BAA6B;GAAc,CAAA;YAEzF,qBAAC,cAAD,EAAA,UAAA;GACG,MAAM,aACL,oBAAC,UAAD;IAAU,MAAM,EAAE,kCAAkC;cAAG,GAAG,KAAK;IAAuB,CAAA;GAEvF,MAAM,eACL,oBAAC,UAAD;IAAU,MAAM,EAAE,4BAA4B;cAAG,WAAW,KAAK,aAAa;IAAY,CAAA,GACxF;GAEJ,oBAAC,UAAD;IAAU,MAAM,EAAE,+BAA+B;cAAG,cAAc,QAAQ;IAAY,CAAA;GACzE,EAAA,CAAA;EACV,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
-
let
|
|
3
|
-
|
|
2
|
+
let _emotion_styled = require("@emotion/styled");
|
|
3
|
+
_emotion_styled = require_runtime.__toESM(_emotion_styled);
|
|
4
4
|
let _mui_material_Typography = require("@mui/material/Typography");
|
|
5
5
|
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
6
6
|
let _mui_material_ListItem = require("@mui/material/ListItem");
|
|
@@ -8,37 +8,19 @@ _mui_material_ListItem = require_runtime.__toESM(_mui_material_ListItem);
|
|
|
8
8
|
let _mui_material_Chip = require("@mui/material/Chip");
|
|
9
9
|
_mui_material_Chip = require_runtime.__toESM(_mui_material_Chip);
|
|
10
10
|
//#region src/components/Distribution/styles.ts
|
|
11
|
-
|
|
12
|
-
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).";
|
|
13
|
-
}
|
|
14
|
-
var StyledText = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Typography.default, process.env.NODE_ENV === "production" ? { target: "e1mn5d922" } : {
|
|
15
|
-
target: "e1mn5d922",
|
|
16
|
-
label: "StyledText"
|
|
17
|
-
})((props) => ({
|
|
11
|
+
var StyledText = (0, _emotion_styled.default)(_mui_material_Typography.default)((props) => ({
|
|
18
12
|
fontWeight: props.theme.fontWeight.bold,
|
|
19
13
|
textTransform: "capitalize"
|
|
20
|
-
})
|
|
21
|
-
var DistListItem =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
name: "8a1gtu",
|
|
26
|
-
styles: "padding-left:0;padding-right:0;flex-wrap:wrap"
|
|
27
|
-
} : {
|
|
28
|
-
name: "8a1gtu",
|
|
29
|
-
styles: "padding-left:0;padding-right:0;flex-wrap:wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */",
|
|
30
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
14
|
+
}));
|
|
15
|
+
var DistListItem = (0, _emotion_styled.default)(_mui_material_ListItem.default)({
|
|
16
|
+
paddingLeft: 0,
|
|
17
|
+
paddingRight: 0,
|
|
18
|
+
flexWrap: "wrap"
|
|
31
19
|
});
|
|
32
|
-
var DistChips =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
name: "186t8fy",
|
|
37
|
-
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px"
|
|
38
|
-
} : {
|
|
39
|
-
name: "186t8fy",
|
|
40
|
-
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY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G4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbiAgbWFyZ2luVG9wOiA1LFxufSk7XG4iXX0= */",
|
|
41
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
20
|
+
var DistChips = (0, _emotion_styled.default)(_mui_material_Chip.default)({
|
|
21
|
+
marginRight: 5,
|
|
22
|
+
textTransform: "capitalize",
|
|
23
|
+
marginTop: 5
|
|
42
24
|
});
|
|
43
25
|
//#endregion
|
|
44
26
|
exports.DistChips = DistChips;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":[
|
|
1
|
+
{"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;;;;;;AAOA,IAAa,cAAA,GAAA,gBAAA,SAAoB,yBAAA,QAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,gBAAA,GAAA,gBAAA,SAAsB,uBAAA,QAAS,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;CACX,CAAC;AAEF,IAAa,aAAA,GAAA,gBAAA,SAAmB,mBAAA,QAAK,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;CACZ,CAAC"}
|
|
@@ -1,39 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
2
|
import Typography from "@mui/material/Typography";
|
|
3
3
|
import ListItem from "@mui/material/ListItem";
|
|
4
4
|
import Chip from "@mui/material/Chip";
|
|
5
5
|
//#region src/components/Distribution/styles.ts
|
|
6
|
-
|
|
7
|
-
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).";
|
|
8
|
-
}
|
|
9
|
-
var StyledText = /* @__PURE__ */ _styled(Typography, process.env.NODE_ENV === "production" ? { target: "e1mn5d922" } : {
|
|
10
|
-
target: "e1mn5d922",
|
|
11
|
-
label: "StyledText"
|
|
12
|
-
})((props) => ({
|
|
6
|
+
var StyledText = styled(Typography)((props) => ({
|
|
13
7
|
fontWeight: props.theme.fontWeight.bold,
|
|
14
8
|
textTransform: "capitalize"
|
|
15
|
-
})
|
|
16
|
-
var DistListItem =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
name: "8a1gtu",
|
|
21
|
-
styles: "padding-left:0;padding-right:0;flex-wrap:wrap"
|
|
22
|
-
} : {
|
|
23
|
-
name: "8a1gtu",
|
|
24
|
-
styles: "padding-left:0;padding-right:0;flex-wrap:wrap/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay92ZXJkYWNjaW8vdmVyZGFjY2lvL3BhY2thZ2VzL3VpLWNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvRGlzdHJpYnV0aW9uL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCBDaGlwIGZyb20gJ0BtdWkvbWF0ZXJpYWwvQ2hpcCc7XG5pbXBvcnQgTGlzdEl0ZW0gZnJvbSAnQG11aS9tYXRlcmlhbC9MaXN0SXRlbSc7XG5pbXBvcnQgVHlwb2dyYXBoeSBmcm9tICdAbXVpL21hdGVyaWFsL1R5cG9ncmFwaHknO1xuXG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vLi4vVGhlbWUnO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkVGV4dCA9IHN0eWxlZChUeXBvZ3JhcGh5KTx7IHRoZW1lPzogVGhlbWUgfT4oKHByb3BzKSA9PiAoe1xuICBmb250V2VpZ2h0OiBwcm9wcy50aGVtZS5mb250V2VpZ2h0LmJvbGQsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbn0pKTtcblxuZXhwb3J0IGNvbnN0IERpc3RMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nTGVmdDogMCxcbiAgcGFkZGluZ1JpZ2h0OiAwLFxuICBmbGV4V3JhcDogJ3dyYXAnLFxufSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0Q2hpcHMgPSBzdHlsZWQoQ2hpcCkoe1xuICBtYXJnaW5SaWdodDogNSxcbiAgdGV4dFRyYW5zZm9ybTogJ2NhcGl0YWxpemUnLFxuICBtYXJnaW5Ub3A6IDUsXG59KTtcbiJdfQ== */",
|
|
25
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
9
|
+
}));
|
|
10
|
+
var DistListItem = styled(ListItem)({
|
|
11
|
+
paddingLeft: 0,
|
|
12
|
+
paddingRight: 0,
|
|
13
|
+
flexWrap: "wrap"
|
|
26
14
|
});
|
|
27
|
-
var DistChips =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
name: "186t8fy",
|
|
32
|
-
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px"
|
|
33
|
-
} : {
|
|
34
|
-
name: "186t8fy",
|
|
35
|
-
styles: "margin-right:5px;text-transform:capitalize;margin-top:5px/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9EaXN0cmlidXRpb24vc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCeUIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0Rpc3RyaWJ1dGlvbi9zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgQ2hpcCBmcm9tICdAbXVpL21hdGVyaWFsL0NoaXAnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBEaXN0TGlzdEl0ZW0gPSBzdHlsZWQoTGlzdEl0ZW0pKHtcbiAgcGFkZGluZ0xlZnQ6IDAsXG4gIHBhZGRpbmdSaWdodDogMCxcbiAgZmxleFdyYXA6ICd3cmFwJyxcbn0pO1xuXG5leHBvcnQgY29uc3QgRGlzdENoaXBzID0gc3R5bGVkKENoaXApKHtcbiAgbWFyZ2luUmlnaHQ6IDUsXG4gIHRleHRUcmFuc2Zvcm06ICdjYXBpdGFsaXplJyxcbiAgbWFyZ2luVG9wOiA1LFxufSk7XG4iXX0= */",
|
|
36
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
15
|
+
var DistChips = styled(Chip)({
|
|
16
|
+
marginRight: 5,
|
|
17
|
+
textTransform: "capitalize",
|
|
18
|
+
marginTop: 5
|
|
37
19
|
});
|
|
38
20
|
//#endregion
|
|
39
21
|
export { DistChips, DistListItem, StyledText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.mjs","names":[
|
|
1
|
+
{"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Distribution/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport Chip from '@mui/material/Chip';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const DistListItem = styled(ListItem)({\n paddingLeft: 0,\n paddingRight: 0,\n flexWrap: 'wrap',\n});\n\nexport const DistChips = styled(Chip)({\n marginRight: 5,\n textTransform: 'capitalize',\n marginTop: 5,\n});\n"],"mappings":";;;;;AAOA,IAAa,aAAa,OAAO,WAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,eAAe,OAAO,SAAS,CAAC;CAC3C,aAAa;CACb,cAAc;CACd,UAAU;CACX,CAAC;AAEF,IAAa,YAAY,OAAO,KAAK,CAAC;CACpC,aAAa;CACb,eAAe;CACf,WAAW;CACZ,CAAC"}
|
|
@@ -5,9 +5,9 @@ const require_Pnpm = require("../Icons/Managers/Pnpm2.js");
|
|
|
5
5
|
const require_Yarn = require("../Icons/Managers/Yarn2.js");
|
|
6
6
|
require("../Icons/index.js");
|
|
7
7
|
const require_styles = require("./styles.js");
|
|
8
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
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 react_i18next = require("react-i18next");
|
|
12
12
|
let _mui_material_List = require("@mui/material/List");
|
|
13
13
|
_mui_material_List = require_runtime.__toESM(_mui_material_List);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.js","names":[
|
|
1
|
+
{"version":3,"file":"Engines.js","names":[],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAM,cAAmC,EAAE,OAAO,SAAS,iBACzD,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;CAAM,MAAM,EAAE,IAAI,GAAG;WACnB,iBAAA,GAAA,kBAAA,KAAC,mBAAA,SAAD;EAAM,WAAW,iBAAA,GAAA,kBAAA,KAAC,eAAA,YAAD;GAAY,SAAS;aAAc;GAAmB,CAAA;YACrE,iBAAA,GAAA,kBAAA,MAAC,eAAA,gBAAD,EAAA,UAAA,CACE,iBAAA,GAAA,kBAAA,KAAC,qBAAA,SAAD;GAAQ,IAAI;IAAE,iBAAiB;IAAe,YAAY;IAAG,SAAS;IAAG;aACtE;GACM,CAAA,EACT,iBAAA,GAAA,kBAAA,KAAC,cAAA,YAAD;GAAY,IAAI;IAAE,QAAQ;IAAG,SAAS;IAAc;GAAE,SAAQ;aAC3D;GACU,CAAA,CACE,EAAA,CAAA;EACZ,CAAA;CACF,CAAA;;;;;;AAmBT,IAAM,UAA2B,EAAE,kBAAkB;CACnD,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;CAE9B,MAAM,UAAU,aAAa,QAAQ;AAErC,KAAI,CAAC,QACH,QAAO;AAGT,QACE,iBAAA,GAAA,kBAAA,MAAC,mBAAA,SAAD;EAAM,WAAW;YAAjB;GACG,QAAQ,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,eAAA,QAAD,EAAU,CAAA;IACnB,YAAY,QAAQ;IACpB,OAAO,EAAE,0BAA0B;IACnC,CAAA,GACA;GAEH,QAAQ,MACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,YAAA,KAAD,EAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;IACvC,CAAA,GACA;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,aAAA,MAAD,EAAQ,CAAA;IACjB,YAAY,QAAQ;IACpB,OAAO,EAAE,+BAA+B;IACxC,CAAA,GACA;GAEH,QAAQ,OACP,iBAAA,GAAA,kBAAA,KAAC,YAAD;IACE,SAAS,iBAAA,GAAA,kBAAA,KAAC,aAAA,MAAD,EAAQ,CAAA;IACjB,YAAY,QAAQ;IACpB,OAAO,EAAE,+BAA+B;IACxC,CAAA,GACA;GACC"}
|
|
@@ -4,8 +4,8 @@ import { Pnpm } from "../Icons/Managers/Pnpm2.mjs";
|
|
|
4
4
|
import { Yarn } from "../Icons/Managers/Yarn2.mjs";
|
|
5
5
|
import "../Icons/index.mjs";
|
|
6
6
|
import { EngineListItem, StyledText } from "./styles.mjs";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
10
10
|
import List from "@mui/material/List";
|
|
11
11
|
import { Typography } from "@mui/material";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Engines.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Engines.mjs","names":[],"sources":["../../../src/components/Engines/Engines.tsx"],"sourcesContent":["import { Typography } from '@mui/material';\nimport Avatar from '@mui/material/Avatar';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport type { FC } from 'react';\nimport React from 'react';\nimport { useTranslation } from 'react-i18next';\n\nimport type { PackageMetaInterface } from '../../types/packageMeta';\nimport { NodeJS, Npm, Pnpm, Yarn } from '../Icons';\nimport { EngineListItem, StyledText } from './styles';\n\n/**\n * The props type for {@link EngineItem}.\n */\ntype EngineItemProps = { title: string; element: React.ReactElement; engineText?: string };\n\n/**\n *\n *\n * @category Component\n */\nconst EngineItem: FC<EngineItemProps> = ({ title, element, engineText }) => (\n <Grid size={{ xs: 6 }}>\n <List subheader={<StyledText variant={'subtitle1'}>{title}</StyledText>}>\n <EngineListItem>\n <Avatar sx={{ backgroundColor: 'transparent', marginLeft: 0, padding: 0 }}>\n {element}\n </Avatar>\n <Typography sx={{ margin: 0, padding: '0 0 0 10px' }} variant=\"subtitle2\">\n {engineText}\n </Typography>\n </EngineListItem>\n </List>\n </Grid>\n);\n\ninterface EngineMetadata extends Omit<PackageMetaInterface, 'latest'> {\n latest: {\n engines?: { npm?: string; node?: string; pnpm?: string; yarn?: string };\n };\n}\n\n/**\n * The props type for {@link Engine}.\n */\nexport type Props = { packageMeta: EngineMetadata };\n\n/**\n *\n *\n * @category Component\n */\nconst Engine: React.FC<Props> = ({ packageMeta }) => {\n const { t } = useTranslation();\n\n const engines = packageMeta?.latest?.engines;\n\n if (!engines) {\n return null;\n }\n\n return (\n <Grid container={true}>\n {engines.node ? (\n <EngineItem\n element={<NodeJS />}\n engineText={engines.node}\n title={t('sidebar.engines.node-js')}\n />\n ) : null}\n\n {engines.npm ? (\n <EngineItem\n element={<Npm />}\n engineText={engines.npm}\n title={t('sidebar.engines.npm-version')}\n />\n ) : null}\n\n {engines.yarn ? (\n <EngineItem\n element={<Yarn />}\n engineText={engines.yarn}\n title={t('sidebar.engines.yarn-version')}\n />\n ) : null}\n\n {engines.pnpm ? (\n <EngineItem\n element={<Pnpm />}\n engineText={engines.pnpm}\n title={t('sidebar.engines.pnpm-version')}\n />\n ) : null}\n </Grid>\n );\n};\n\nexport default Engine;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,IAAM,cAAmC,EAAE,OAAO,SAAS,iBACzD,oBAAC,MAAD;CAAM,MAAM,EAAE,IAAI,GAAG;WACnB,oBAAC,MAAD;EAAM,WAAW,oBAAC,YAAD;GAAY,SAAS;aAAc;GAAmB,CAAA;YACrE,qBAAC,gBAAD,EAAA,UAAA,CACE,oBAAC,QAAD;GAAQ,IAAI;IAAE,iBAAiB;IAAe,YAAY;IAAG,SAAS;IAAG;aACtE;GACM,CAAA,EACT,oBAAC,YAAD;GAAY,IAAI;IAAE,QAAQ;IAAG,SAAS;IAAc;GAAE,SAAQ;aAC3D;GACU,CAAA,CACE,EAAA,CAAA;EACZ,CAAA;CACF,CAAA;;;;;;AAmBT,IAAM,UAA2B,EAAE,kBAAkB;CACnD,MAAM,EAAE,MAAM,gBAAgB;CAE9B,MAAM,UAAU,aAAa,QAAQ;AAErC,KAAI,CAAC,QACH,QAAO;AAGT,QACE,qBAAC,MAAD;EAAM,WAAW;YAAjB;GACG,QAAQ,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,QAAD,EAAU,CAAA;IACnB,YAAY,QAAQ;IACpB,OAAO,EAAE,0BAA0B;IACnC,CAAA,GACA;GAEH,QAAQ,MACP,oBAAC,YAAD;IACE,SAAS,oBAAC,KAAD,EAAO,CAAA;IAChB,YAAY,QAAQ;IACpB,OAAO,EAAE,8BAA8B;IACvC,CAAA,GACA;GAEH,QAAQ,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,MAAD,EAAQ,CAAA;IACjB,YAAY,QAAQ;IACpB,OAAO,EAAE,+BAA+B;IACxC,CAAA,GACA;GAEH,QAAQ,OACP,oBAAC,YAAD;IACE,SAAS,oBAAC,MAAD,EAAQ,CAAA;IACjB,YAAY,QAAQ;IACpB,OAAO,EAAE,+BAA+B;IACxC,CAAA,GACA;GACC"}
|
|
@@ -1,32 +1,16 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
|
-
let
|
|
3
|
-
|
|
2
|
+
let _emotion_styled = require("@emotion/styled");
|
|
3
|
+
_emotion_styled = require_runtime.__toESM(_emotion_styled);
|
|
4
4
|
let _mui_material_Typography = require("@mui/material/Typography");
|
|
5
5
|
_mui_material_Typography = require_runtime.__toESM(_mui_material_Typography);
|
|
6
6
|
let _mui_material_ListItem = require("@mui/material/ListItem");
|
|
7
7
|
_mui_material_ListItem = require_runtime.__toESM(_mui_material_ListItem);
|
|
8
8
|
//#region src/components/Engines/styles.ts
|
|
9
|
-
|
|
10
|
-
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).";
|
|
11
|
-
}
|
|
12
|
-
var StyledText = /* @__PURE__ */ (0, _emotion_styled_base.default)(_mui_material_Typography.default, process.env.NODE_ENV === "production" ? { target: "exjcs7c1" } : {
|
|
13
|
-
target: "exjcs7c1",
|
|
14
|
-
label: "StyledText"
|
|
15
|
-
})((props) => ({
|
|
9
|
+
var StyledText = (0, _emotion_styled.default)(_mui_material_Typography.default)((props) => ({
|
|
16
10
|
fontWeight: props.theme.fontWeight.bold,
|
|
17
11
|
textTransform: "capitalize"
|
|
18
|
-
})
|
|
19
|
-
var EngineListItem =
|
|
20
|
-
target: "exjcs7c0",
|
|
21
|
-
label: "EngineListItem"
|
|
22
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
23
|
-
name: "1hcx8jb",
|
|
24
|
-
styles: "padding:0"
|
|
25
|
-
} : {
|
|
26
|
-
name: "1hcx8jb",
|
|
27
|
-
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */",
|
|
28
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
29
|
-
});
|
|
12
|
+
}));
|
|
13
|
+
var EngineListItem = (0, _emotion_styled.default)(_mui_material_ListItem.default)({ padding: 0 });
|
|
30
14
|
//#endregion
|
|
31
15
|
exports.EngineListItem = EngineListItem;
|
|
32
16
|
exports.StyledText = StyledText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":[
|
|
1
|
+
{"version":3,"file":"styles.js","names":[],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;;;;;AAMA,IAAa,cAAA,GAAA,gBAAA,SAAoB,yBAAA,QAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,kBAAA,GAAA,gBAAA,SAAwB,uBAAA,QAAS,CAAC,EAC7C,SAAS,GACV,CAAC"}
|
|
@@ -1,28 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styled from "@emotion/styled";
|
|
2
2
|
import Typography from "@mui/material/Typography";
|
|
3
3
|
import ListItem from "@mui/material/ListItem";
|
|
4
4
|
//#region src/components/Engines/styles.ts
|
|
5
|
-
|
|
6
|
-
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).";
|
|
7
|
-
}
|
|
8
|
-
var StyledText = /* @__PURE__ */ _styled(Typography, process.env.NODE_ENV === "production" ? { target: "exjcs7c1" } : {
|
|
9
|
-
target: "exjcs7c1",
|
|
10
|
-
label: "StyledText"
|
|
11
|
-
})((props) => ({
|
|
5
|
+
var StyledText = styled(Typography)((props) => ({
|
|
12
6
|
fontWeight: props.theme.fontWeight.bold,
|
|
13
7
|
textTransform: "capitalize"
|
|
14
|
-
})
|
|
15
|
-
var EngineListItem =
|
|
16
|
-
target: "exjcs7c0",
|
|
17
|
-
label: "EngineListItem"
|
|
18
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
19
|
-
name: "1hcx8jb",
|
|
20
|
-
styles: "padding:0"
|
|
21
|
-
} : {
|
|
22
|
-
name: "1hcx8jb",
|
|
23
|
-
styles: "padding:0/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9FbmdpbmVzL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFXOEIiLCJmaWxlIjoiL2hvbWUvcnVubmVyL3dvcmsvdmVyZGFjY2lvL3ZlcmRhY2Npby9wYWNrYWdlcy91aS1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL0VuZ2luZXMvc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IExpc3RJdGVtIGZyb20gJ0BtdWkvbWF0ZXJpYWwvTGlzdEl0ZW0nO1xuaW1wb3J0IFR5cG9ncmFwaHkgZnJvbSAnQG11aS9tYXRlcmlhbC9UeXBvZ3JhcGh5JztcblxuaW1wb3J0IHR5cGUgeyBUaGVtZSB9IGZyb20gJy4uLy4uL1RoZW1lJztcblxuZXhwb3J0IGNvbnN0IFN0eWxlZFRleHQgPSBzdHlsZWQoVHlwb2dyYXBoeSk8eyB0aGVtZT86IFRoZW1lIH0+KChwcm9wcykgPT4gKHtcbiAgZm9udFdlaWdodDogcHJvcHMudGhlbWUuZm9udFdlaWdodC5ib2xkLFxuICB0ZXh0VHJhbnNmb3JtOiAnY2FwaXRhbGl6ZScsXG59KSk7XG5cbmV4cG9ydCBjb25zdCBFbmdpbmVMaXN0SXRlbSA9IHN0eWxlZChMaXN0SXRlbSkoe1xuICBwYWRkaW5nOiAwLFxufSk7XG4iXX0= */",
|
|
24
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
25
|
-
});
|
|
8
|
+
}));
|
|
9
|
+
var EngineListItem = styled(ListItem)({ padding: 0 });
|
|
26
10
|
//#endregion
|
|
27
11
|
export { EngineListItem, StyledText };
|
|
28
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.mjs","names":[
|
|
1
|
+
{"version":3,"file":"styles.mjs","names":[],"sources":["../../../src/components/Engines/styles.ts"],"sourcesContent":["import styled from '@emotion/styled';\nimport ListItem from '@mui/material/ListItem';\nimport Typography from '@mui/material/Typography';\n\nimport type { Theme } from '../../Theme';\n\nexport const StyledText = styled(Typography)<{ theme?: Theme }>((props) => ({\n fontWeight: props.theme.fontWeight.bold,\n textTransform: 'capitalize',\n}));\n\nexport const EngineListItem = styled(ListItem)({\n padding: 0,\n});\n"],"mappings":";;;;AAMA,IAAa,aAAa,OAAO,WAAW,EAAqB,WAAW;CAC1E,YAAY,MAAM,MAAM,WAAW;CACnC,eAAe;CAChB,EAAE;AAEH,IAAa,iBAAiB,OAAO,SAAS,CAAC,EAC7C,SAAS,GACV,CAAC"}
|
|
@@ -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
|
//#region src/components/ErrorBoundary/ErrorBoundary.tsx
|
|
6
6
|
var ErrorBoundary = class extends react.Component {
|
|
7
7
|
state = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.js","names":[
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.js","names":[],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;;;AAYA,IAAqB,gBAArB,cAA2C,MAAA,UAAkD;CAC3F,QAA4B;EAC1B,UAAU;EACV,OAAO;EACR;CAED,OAAO,yBAAyB,OAAkC;AAChE,SAAO;GACL,UAAU;GACV;GACD;;CAGH,kBAAkB,OAAc,MAAiB;AAE/C,UAAQ,MAAM,yBAAyB,OAAO,KAAK;;CAGrD,SAAS;EACP,MAAM,EAAE,UAAU,UAAU,KAAK;EACjC,MAAM,EAAE,aAAa,KAAK;AAE1B,MAAI,SACF,QACE,iBAAA,GAAA,kBAAA,MAAC,OAAD;GAAK,MAAK;aAAV,CACE,iBAAA,GAAA,kBAAA,KAAC,MAAD,EAAA,UAAK,yBAA6B,CAAA,EAClC,iBAAA,GAAA,kBAAA,KAAC,OAAD,EAAA,UAAM,OAAO,SAAc,CAAA,CACvB;;AAIV,SAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.mjs","names":[
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.mjs","names":[],"sources":["../../../src/components/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["import type { ErrorInfo, ReactNode } from 'react';\nimport React, { Component } from 'react';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n}\n\ninterface ErrorBoundaryState {\n hasError: boolean;\n error: Error | null;\n}\n\nexport default class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n state: ErrorBoundaryState = {\n hasError: false,\n error: null,\n };\n\n static getDerivedStateFromError(error: Error): ErrorBoundaryState {\n return {\n hasError: true,\n error,\n };\n }\n\n componentDidCatch(error: Error, info: ErrorInfo) {\n // logging\n console.error('ErrorBoundary caught:', error, info);\n }\n\n render() {\n const { hasError, error } = this.state;\n const { children } = this.props;\n\n if (hasError) {\n return (\n <div role=\"alert\">\n <h1>{'Something went wrong.'}</h1>\n <pre>{error?.message}</pre>\n </div>\n );\n }\n\n return children;\n }\n}\n"],"mappings":";;;AAYA,IAAqB,gBAArB,cAA2C,UAAkD;CAC3F,QAA4B;EAC1B,UAAU;EACV,OAAO;EACR;CAED,OAAO,yBAAyB,OAAkC;AAChE,SAAO;GACL,UAAU;GACV;GACD;;CAGH,kBAAkB,OAAc,MAAiB;AAE/C,UAAQ,MAAM,yBAAyB,OAAO,KAAK;;CAGrD,SAAS;EACP,MAAM,EAAE,UAAU,UAAU,KAAK;EACjC,MAAM,EAAE,aAAa,KAAK;AAE1B,MAAI,SACF,QACE,qBAAC,OAAD;GAAK,MAAK;aAAV,CACE,oBAAC,MAAD,EAAA,UAAK,yBAA6B,CAAA,EAClC,oBAAC,OAAD,EAAA,UAAM,OAAO,SAAc,CAAA,CACvB;;AAIV,SAAO"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_Heading = require("../Heading/Heading.js");
|
|
3
3
|
require("../Heading/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");
|
|
@@ -16,27 +16,11 @@ _mui_material_Button = require_runtime.__toESM(_mui_material_Button);
|
|
|
16
16
|
let _mui_icons_material_Lock = require("@mui/icons-material/Lock");
|
|
17
17
|
_mui_icons_material_Lock = require_runtime.__toESM(_mui_icons_material_Lock);
|
|
18
18
|
//#region src/components/Forbidden/Forbidden.tsx
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
var Container = /* @__PURE__ */ (0, _emotion_styled_base.default)("div", process.env.NODE_ENV === "production" ? { target: "e1p1nuky1" } : {
|
|
23
|
-
target: "e1p1nuky1",
|
|
24
|
-
label: "Container"
|
|
25
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
26
|
-
name: "9th5i",
|
|
27
|
-
styles: "margin:0 auto"
|
|
28
|
-
} : {
|
|
29
|
-
name: "9th5i",
|
|
30
|
-
styles: "margin:0 auto/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JiaWRkZW4vRm9yYmlkZGVuLnRzeCJdLCJuYW1lcyI6W10s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KX1cbiAgICAgIDwvQnV0dG9uPlxuICAgIDwvQm94PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRm9yYmlkZGVuO1xuZXhwb3J0IHsgRm9yYmlkZGVuIH07XG4iXX0= */",
|
|
31
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
32
|
-
});
|
|
33
|
-
var StyledHeading = /* @__PURE__ */ (0, _emotion_styled_base.default)(require_Heading.default, process.env.NODE_ENV === "production" ? { target: "e1p1nuky0" } : {
|
|
34
|
-
target: "e1p1nuky0",
|
|
35
|
-
label: "StyledHeading"
|
|
36
|
-
})(({ theme }) => ({
|
|
19
|
+
var Container = (0, _emotion_styled.default)("div")({ margin: "0 auto" });
|
|
20
|
+
var StyledHeading = (0, _emotion_styled.default)(require_Heading.default)(({ theme }) => ({
|
|
37
21
|
color: theme.palette.mode === "light" ? theme.palette.primary.main : _mui_material_colors.common.white,
|
|
38
22
|
marginBottom: 16
|
|
39
|
-
})
|
|
23
|
+
}));
|
|
40
24
|
var Forbidden = () => {
|
|
41
25
|
const navigate = (0, react_router.useNavigate)();
|
|
42
26
|
const { t } = (0, react_i18next.useTranslation)();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forbidden.js","names":[
|
|
1
|
+
{"version":3,"file":"Forbidden.js","names":[],"sources":["../../../src/components/Forbidden/Forbidden.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport LockIcon from '@mui/icons-material/Lock';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../..';\nimport Heading from '../Heading';\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n\nconst Forbidden: React.FC = () => {\n const navigate = useNavigate();\n\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"404\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <LockIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"not-found-text\" variant=\"h4\">\n {t('error.401.sorry-no-access')}\n </StyledHeading>\n <Button data-testid=\"not-found-go-to-home-button\" onClick={handleGoHome} variant=\"contained\">\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default Forbidden;\nexport { Forbidden };\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,IAAM,aAAA,GAAA,gBAAA,SAAmB,MAAM,CAAC,EAC9B,QAAQ,UACT,CAAC;AAEF,IAAM,iBAAA,GAAA,gBAAA,SAAuB,gBAAA,QAAQ,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,qBAAA,OAAO;CAC5E,cAAc;CACf,EAAE;AAEH,IAAM,kBAA4B;CAChC,MAAM,YAAA,GAAA,aAAA,cAAwB;CAE9B,MAAM,EAAE,OAAA,GAAA,cAAA,iBAAsB;CAE9B,MAAM,gBAAA,GAAA,MAAA,mBAAiC;AACrC,WAAS,IAAI;IACZ,CAAC,SAAS,CAAC;AAEd,QACE,iBAAA,GAAA,kBAAA,MAAC,kBAAA,SAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;YAPL;GASE,iBAAA,GAAA,kBAAA,KAAC,WAAD,EAAA,UACE,iBAAA,GAAA,kBAAA,KAAC,yBAAA,SAAD;IAAU,OAAM;IAAU,OAAO,EAAE,UAAU,KAAK;IAAI,CAAA,EAC5C,CAAA;GACZ,iBAAA,GAAA,kBAAA,KAAC,eAAD;IAAe,WAAU;IAAiB,SAAQ;cAC/C,EAAE,4BAA4B;IACjB,CAAA;GAChB,iBAAA,GAAA,kBAAA,KAAC,qBAAA,SAAD;IAAQ,eAAY;IAA8B,SAAS;IAAc,SAAQ;cAC9E,EAAE,6BAA6B;IACzB,CAAA;GACL"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Heading from "../Heading/Heading.mjs";
|
|
2
2
|
import "../Heading/index.mjs";
|
|
3
|
-
import
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import styled from "@emotion/styled";
|
|
5
4
|
import { useCallback } from "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 { common } from "@mui/material/colors";
|
|
@@ -10,27 +10,11 @@ import { useNavigate } from "react-router";
|
|
|
10
10
|
import Button from "@mui/material/Button";
|
|
11
11
|
import LockIcon from "@mui/icons-material/Lock";
|
|
12
12
|
//#region src/components/Forbidden/Forbidden.tsx
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
var Container = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? { target: "e1p1nuky1" } : {
|
|
17
|
-
target: "e1p1nuky1",
|
|
18
|
-
label: "Container"
|
|
19
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
20
|
-
name: "9th5i",
|
|
21
|
-
styles: "margin:0 auto"
|
|
22
|
-
} : {
|
|
23
|
-
name: "9th5i",
|
|
24
|
-
styles: "margin:0 auto/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3ZlcmRhY2Npby92ZXJkYWNjaW8vcGFja2FnZXMvdWktY29tcG9uZW50cy9zcmMvY29tcG9uZW50cy9Gb3JiaWRkZW4vRm9yYmlkZGVuL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RvLXRoZS1ob21lLXBhZ2UnKX1cbiAgICAgIDwvQnV0dG9uPlxuICAgIDwvQm94PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgRm9yYmlkZGVuO1xuZXhwb3J0IHsgRm9yYmlkZGVuIH07XG4iXX0= */",
|
|
25
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26
|
-
});
|
|
27
|
-
var StyledHeading = /* @__PURE__ */ _styled(Heading, process.env.NODE_ENV === "production" ? { target: "e1p1nuky0" } : {
|
|
28
|
-
target: "e1p1nuky0",
|
|
29
|
-
label: "StyledHeading"
|
|
30
|
-
})(({ theme }) => ({
|
|
13
|
+
var Container = styled("div")({ margin: "0 auto" });
|
|
14
|
+
var StyledHeading = styled(Heading)(({ theme }) => ({
|
|
31
15
|
color: theme.palette.mode === "light" ? theme.palette.primary.main : common.white,
|
|
32
16
|
marginBottom: 16
|
|
33
|
-
})
|
|
17
|
+
}));
|
|
34
18
|
var Forbidden = () => {
|
|
35
19
|
const navigate = useNavigate();
|
|
36
20
|
const { t } = useTranslation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forbidden.mjs","names":[
|
|
1
|
+
{"version":3,"file":"Forbidden.mjs","names":[],"sources":["../../../src/components/Forbidden/Forbidden.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport LockIcon from '@mui/icons-material/Lock';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport { common } from '@mui/material/colors';\nimport React, { useCallback } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { useNavigate } from 'react-router';\n\nimport type { Theme } from '../..';\nimport Heading from '../Heading';\n\nconst Container = styled('div')({\n margin: '0 auto',\n});\n\nconst StyledHeading = styled(Heading)<{ theme?: Theme }>(({ theme }) => ({\n color: theme.palette.mode === 'light' ? theme.palette.primary.main : common.white,\n marginBottom: 16,\n}));\n\nconst Forbidden: React.FC = () => {\n const navigate = useNavigate();\n\n const { t } = useTranslation();\n\n const handleGoHome = useCallback(() => {\n navigate('/');\n }, [navigate]);\n\n return (\n <Box\n alignItems=\"center\"\n data-testid=\"404\"\n display=\"flex\"\n flexDirection=\"column\"\n flexGrow={1}\n justifyContent=\"center\"\n p={2}\n >\n <Container>\n <LockIcon color=\"primary\" style={{ fontSize: 236 }} />\n </Container>\n <StyledHeading className=\"not-found-text\" variant=\"h4\">\n {t('error.401.sorry-no-access')}\n </StyledHeading>\n <Button data-testid=\"not-found-go-to-home-button\" onClick={handleGoHome} variant=\"contained\">\n {t('button.go-to-the-home-page')}\n </Button>\n </Box>\n );\n};\n\nexport default Forbidden;\nexport { Forbidden };\n"],"mappings":";;;;;;;;;;;;AAYA,IAAM,YAAY,OAAO,MAAM,CAAC,EAC9B,QAAQ,UACT,CAAC;AAEF,IAAM,gBAAgB,OAAO,QAAQ,EAAqB,EAAE,aAAa;CACvE,OAAO,MAAM,QAAQ,SAAS,UAAU,MAAM,QAAQ,QAAQ,OAAO,OAAO;CAC5E,cAAc;CACf,EAAE;AAEH,IAAM,kBAA4B;CAChC,MAAM,WAAW,aAAa;CAE9B,MAAM,EAAE,MAAM,gBAAgB;CAE9B,MAAM,eAAe,kBAAkB;AACrC,WAAS,IAAI;IACZ,CAAC,SAAS,CAAC;AAEd,QACE,qBAAC,KAAD;EACE,YAAW;EACX,eAAY;EACZ,SAAQ;EACR,eAAc;EACd,UAAU;EACV,gBAAe;EACf,GAAG;YAPL;GASE,oBAAC,WAAD,EAAA,UACE,oBAAC,UAAD;IAAU,OAAM;IAAU,OAAO,EAAE,UAAU,KAAK;IAAI,CAAA,EAC5C,CAAA;GACZ,oBAAC,eAAD;IAAe,WAAU;IAAiB,SAAQ;cAC/C,EAAE,4BAA4B;IACjB,CAAA;GAChB,oBAAC,QAAD;IAAQ,eAAY;IAA8B,SAAS;IAAc,SAAQ;cAC9E,EAAE,6BAA6B;IACzB,CAAA;GACL"}
|