@verdaccio/ui-components 3.0.0-next.2 → 4.0.0-next-8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +1 -1
- package/CHANGELOG.md +85 -0
- package/build/AppTest/AppRoute.js +34 -0
- package/build/AppTest/pages/Front/Home.js +9 -0
- package/build/AppTest/pages/Front/index.js +14 -0
- package/build/AppTest/pages/Version/Version.js +34 -0
- package/build/AppTest/pages/Version/index.js +14 -0
- package/build/Theme/ResetStyles.js +2 -3
- package/build/Theme/StyleBaseline.js +2 -3
- package/build/Theme/ThemeProvider.js +3 -3
- package/build/Theme/colors.js +1 -2
- package/build/Theme/index.js +3 -3
- package/build/Theme/theme.js +17 -7
- package/build/__mocks__/react-markdown.js +1 -1
- package/build/components/ActionBar/ActionBar.js +8 -7
- package/build/components/ActionBar/ActionBarAction.js +13 -14
- package/build/components/ActionBar/index.js +1 -1
- package/build/components/Author/Author.js +15 -45
- package/build/components/Author/index.js +1 -1
- package/build/components/Author/styles.js +3 -5
- package/build/components/CopyClipboard/CopyToClipBoard.js +2 -3
- package/build/components/CopyClipboard/index.js +1 -1
- package/build/components/CopyClipboard/utils.js +3 -12
- package/build/components/Dependencies/Dependencies.js +31 -58
- package/build/components/Dependencies/DependencyBlock.js +102 -0
- package/build/components/Dependencies/index.js +1 -1
- package/build/components/Dependencies/utits.js +10 -0
- package/build/components/Deprecated/Deprecated.js +2 -3
- package/build/components/Deprecated/index.js +1 -1
- package/build/components/Developers/DeveloperType.js +12 -0
- package/build/components/Developers/Developers.js +26 -32
- package/build/components/Developers/Title.js +7 -13
- package/build/components/Developers/get-unique-developer-values.js +1 -2
- package/build/components/Developers/index.js +4 -4
- package/build/components/Distribution/Dist.js +3 -4
- package/build/components/Distribution/index.js +1 -1
- package/build/components/Distribution/styles.js +14 -31
- package/build/components/Engines/Engines.js +10 -5
- package/build/components/Engines/index.js +1 -1
- package/build/components/Engines/styles.js +9 -11
- package/build/components/ErrorBoundary/ErrorBoundary.js +2 -2
- package/build/components/ErrorBoundary/index.js +1 -1
- package/build/components/Forbidden/Forbidden.js +75 -0
- package/build/components/Forbidden/index.js +14 -0
- package/build/components/FundButton/FundButton.js +11 -13
- package/build/components/FundButton/index.js +1 -1
- package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +5 -5
- package/build/components/HeaderInfoDialog/index.js +1 -1
- package/build/components/Heading/Heading.js +5 -6
- package/build/components/Heading/index.js +1 -1
- package/build/components/Help/Help.js +4 -5
- package/build/components/Help/index.js +1 -1
- package/build/components/Help/styles.js +2 -3
- package/build/components/Icons/DevsIcons/CommonJS.js +2 -13
- package/build/components/Icons/DevsIcons/ES6Module.js +3 -14
- package/build/components/Icons/DevsIcons/Git.js +2 -13
- package/build/components/Icons/DevsIcons/NodeJS.js +2 -13
- package/build/components/Icons/DevsIcons/TypeScript.js +2 -13
- package/build/components/Icons/Earth.js +3 -4
- package/build/components/Icons/FileBinary.js +14 -9
- package/build/components/Icons/Law.js +15 -10
- package/build/components/Icons/License.js +3 -4
- package/build/components/Icons/License.js.map +1 -1
- package/build/components/Icons/Managers/Npm.js +2 -13
- package/build/components/Icons/Managers/Pnpm.js +2 -13
- package/build/components/Icons/Managers/Yarn.js +2 -13
- package/build/components/Icons/SvgIcon.js +3 -4
- package/build/components/Icons/Time.js +3 -4
- package/build/components/Icons/Version.js +3 -4
- package/build/components/Install/Install.js +30 -26
- package/build/components/Install/InstallListItem.js +22 -23
- package/build/components/Install/index.js +1 -1
- package/build/components/Keywords/KeywordListItems.js +34 -0
- package/build/components/Keywords/Keywords.js +39 -0
- package/build/components/Keywords/index.js +14 -0
- package/build/components/Label/Label.js +3 -4
- package/build/components/Label/index.js +1 -1
- package/build/components/Link/Link.js +5 -19
- package/build/components/Link/index.js +2 -2
- package/build/components/LinkExternal/LinkExternal.js +32 -0
- package/build/components/LinkExternal/index.js +14 -0
- package/build/components/Loading/Loading.js +2 -3
- package/build/components/Loading/Spinner/Spinner.js +2 -3
- package/build/components/Loading/Spinner/index.js +1 -1
- package/build/components/Loading/index.js +1 -1
- package/build/components/Loading/styles.js +6 -7
- package/build/components/LoginDialog/LoginDialog.js +16 -6
- package/build/components/LoginDialog/LoginDialogCloseButton.js +5 -5
- package/build/components/LoginDialog/LoginDialogForm.js +7 -20
- package/build/components/LoginDialog/LoginDialogFormError.js +7 -7
- package/build/components/LoginDialog/LoginDialogHeader.js +2 -3
- package/build/components/LoginDialog/index.js +1 -1
- package/build/components/Logo/Logo.js +15 -9
- package/build/components/Logo/index.js +1 -1
- package/build/components/MenuItem/MenuItem.js +5 -6
- package/build/components/MenuItem/index.js +1 -1
- package/build/components/NoItems/NoItems.js +2 -3
- package/build/components/NoItems/index.js +1 -1
- package/build/components/NotFound/NotFound.js +20 -19
- package/build/components/NotFound/index.js +1 -1
- package/build/components/Package/Package.js +48 -40
- package/build/components/Package/index.js +2 -2
- package/build/components/Package/styles.js +59 -84
- package/build/components/PackageList/PackageList.js +2 -3
- package/build/components/PackageList/index.js +1 -1
- package/build/components/Person/Person.js +48 -0
- package/build/components/Person/PersonTooltip.js +22 -0
- package/build/components/Person/index.js +14 -0
- package/build/components/Person/utils.js +17 -0
- package/build/components/RawViewer/RawViewer.js +13 -8
- package/build/components/RawViewer/index.js +1 -1
- package/build/components/Readme/Readme.js +46 -11
- package/build/components/Readme/Readme.js.map +1 -1
- package/build/components/Readme/Readme.spec.js +20 -1
- package/build/components/Readme/Readme.spec.js.map +1 -1
- package/build/components/Readme/{github-markdown-dark.css → github-markdown.css} +266 -83
- package/build/components/Readme/index.js +1 -1
- package/build/components/Readme/utils.js +14 -17
- package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +2 -3
- package/build/components/RegistryInfoDialog/index.js +1 -1
- package/build/components/RegistryInfoDialog/styles.js +13 -17
- package/build/components/Repository/Repository.js +23 -36
- package/build/components/Repository/index.js +1 -1
- package/build/components/Search/AutoComplete/AutoComplete.js +4 -5
- package/build/components/Search/AutoComplete/index.js +1 -1
- package/build/components/Search/AutoComplete/styles.js +6 -45
- package/build/components/Search/Search.js +11 -10
- package/build/components/Search/SearchItem.js +56 -45
- package/build/components/Search/index.js +1 -1
- package/build/components/Search/styles.js +3 -5
- package/build/components/Search/utils.js +23 -0
- package/build/components/SettingsMenu/SettingsMenu.js +36 -11
- package/build/components/SettingsMenu/index.js +1 -1
- package/build/components/SideBarTitle/SideBarTitle.js +104 -0
- package/build/components/SideBarTitle/index.js +14 -0
- package/build/components/{SideBarTittle → SideBarTitle}/utils.js +2 -3
- package/build/components/TextField/TextField.js +5 -6
- package/build/components/TextField/index.js +1 -1
- package/build/components/UpLinks/UpLinks.js +37 -9
- package/build/components/UpLinks/UplinkLink.js +22 -0
- package/build/components/UpLinks/index.js +1 -1
- package/build/components/UpLinks/styles.js +9 -11
- package/build/components/Versions/HistoryList.js +32 -26
- package/build/components/Versions/TagList.js +10 -7
- package/build/components/Versions/Versions.js +69 -16
- package/build/components/Versions/index.js +1 -1
- package/build/components/Versions/styles.js +3 -5
- package/build/hooks/index.js +1 -1
- package/build/hooks/useLocalStorage.js +1 -2
- package/build/hooks/useOnClickOutside.js +1 -2
- package/build/index.js +40 -8
- package/build/layouts/Version/Version.js +2 -3
- package/build/layouts/Version/index.js +1 -1
- package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +5 -5
- package/build/providers/AppConfigurationProvider/index.js +2 -2
- package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +5 -5
- package/build/providers/PersistenceSettingProvider/index.js +2 -2
- package/build/providers/TranslatorProvider/TranslatorProvider.js +4 -5
- package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +3 -3
- package/build/providers/TranslatorProvider/index.js +2 -2
- package/build/providers/VersionProvider/VersionProvider.js +5 -7
- package/build/providers/VersionProvider/index.js +2 -2
- package/build/sections/Detail/ContainerContent.js +5 -7
- package/build/sections/Detail/Detail.js +13 -11
- package/build/sections/Detail/ReadmeSection.js +2 -3
- package/build/sections/Detail/Tabs.js +6 -8
- package/build/sections/Detail/index.js +1 -1
- package/build/sections/Footer/Footer.js +39 -11
- package/build/sections/Footer/index.js +1 -1
- package/build/sections/Footer/styles.js +19 -21
- package/build/sections/Header/Header.js +4 -5
- package/build/sections/Header/HeaderGreetings.js +2 -3
- package/build/sections/Header/HeaderLeft.js +16 -20
- package/build/sections/Header/HeaderMenu.js +3 -4
- package/build/sections/Header/HeaderRight.js +16 -8
- package/build/sections/Header/HeaderSettingsDialog.js +6 -10
- package/build/sections/Header/HeaderToolTip.js +2 -3
- package/build/sections/Header/HeaderToolTipIcon.js +4 -5
- package/build/sections/Header/LanguageSwitch.js +10 -13
- package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +14 -24
- package/build/sections/Header/RegistryInfoContent/index.js +1 -1
- package/build/sections/Header/RegistryInfoContent/styles.js +3 -5
- package/build/sections/Header/index.js +1 -1
- package/build/sections/Header/styles.js +54 -106
- package/build/sections/Home/Home.js +4 -5
- package/build/sections/Home/index.js +1 -1
- package/build/sections/SideBar/Sidebar.js +23 -30
- package/build/sections/SideBar/index.js +1 -1
- package/build/sections/index.js +1 -1
- package/build/src/AppTest/App.stories.d.ts +8 -0
- package/build/src/AppTest/AppRoute.d.ts +3 -0
- package/build/src/AppTest/pages/Front/Home.d.ts +2 -0
- package/build/src/AppTest/pages/Front/index.d.ts +1 -0
- package/build/src/AppTest/pages/Version/Version.d.ts +3 -0
- package/build/src/AppTest/pages/Version/index.d.ts +1 -0
- package/build/src/Theme/ThemeProvider.test.d.ts +1 -0
- package/build/src/components/Author/Author.d.ts +0 -5
- package/build/src/components/CopyClipboard/CopyToClipBoard.test.d.ts +1 -0
- package/build/src/components/Dependencies/DependencyBlock.d.ts +16 -0
- package/build/src/components/Dependencies/DependencyBlock.test.d.ts +1 -0
- package/build/src/components/Dependencies/utits.d.ts +3 -0
- package/build/src/components/Developers/DeveloperType.d.ts +4 -0
- package/build/src/components/Developers/Developers.d.ts +1 -4
- package/build/src/components/Developers/Title.d.ts +1 -4
- package/build/src/components/Developers/index.d.ts +2 -1
- package/build/src/components/Distribution/styles.d.ts +0 -1
- package/build/src/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
- package/build/src/components/Forbidden/Forbidden.d.ts +3 -0
- package/build/src/components/Forbidden/Forbidden.test.d.ts +1 -0
- package/build/src/components/Forbidden/index.d.ts +1 -0
- package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.test.d.ts +1 -0
- package/build/src/components/Heading/Heading.test.d.ts +1 -0
- package/build/src/components/Icons/Icons.test.d.ts +1 -0
- package/build/src/components/Install/InstallListItem.d.ts +1 -1
- package/build/src/components/Keywords/KeywordListItems.d.ts +5 -0
- package/build/src/components/Keywords/Keywords.d.ts +6 -0
- package/build/src/components/Keywords/Keywords.stories.d.ts +5 -0
- package/build/src/components/Keywords/Keywords.test.d.ts +1 -0
- package/build/src/components/Keywords/index.d.ts +1 -0
- package/build/src/components/Link/Link.d.ts +0 -3
- package/build/src/components/Link/Link.test.d.ts +1 -0
- package/build/src/components/Link/index.d.ts +1 -1
- package/build/src/components/LinkExternal/LinkExternal.d.ts +3 -0
- package/build/src/components/LinkExternal/LinkExternal.test.d.ts +1 -0
- package/build/src/components/LinkExternal/index.d.ts +1 -0
- package/build/src/components/Loading/styles.d.ts +2 -2
- package/build/src/components/Logo/Logo.d.ts +1 -0
- package/build/src/components/Logo/Logo.stories.d.ts +5 -0
- package/build/src/components/Package/Package.d.ts +1 -1
- package/build/src/components/Package/styles.d.ts +7 -15
- package/build/src/components/Person/Person.d.ts +9 -0
- package/build/src/components/Person/Person.test.d.ts +1 -0
- package/build/src/components/Person/PersonTooltip.d.ts +6 -0
- package/build/src/components/Person/index.d.ts +1 -0
- package/build/src/components/Person/utils.d.ts +3 -0
- package/build/src/components/Readme/Readme.d.ts +1 -1
- package/build/src/components/RegistryInfoDialog/styles.d.ts +1 -1
- package/build/src/components/Search/AutoComplete/styles.d.ts +1 -9
- package/build/src/components/Search/SearchItem.d.ts +1 -1
- package/build/src/components/Search/utils.d.ts +1 -0
- package/build/src/components/SettingsMenu/SettingsMenu.d.ts +2 -2
- package/build/src/components/SettingsMenu/SettingsMenu.test.d.ts +1 -0
- package/build/src/components/SideBarTitle/index.d.ts +1 -0
- package/build/src/components/UpLinks/UplinkLink.d.ts +6 -0
- package/build/src/components/UpLinks/styles.d.ts +2 -2
- package/build/src/components/Versions/Versions.d.ts +1 -0
- package/build/src/components/Versions/styles.d.ts +2 -2
- package/build/src/index.d.ts +6 -2
- package/build/src/sections/Detail/Detail.stories.d.ts +1 -0
- package/build/src/sections/Detail/Tabs.d.ts +1 -0
- package/build/src/sections/Footer/styles.d.ts +5 -5
- package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +3 -3
- package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +2 -2
- package/build/src/sections/Header/styles.d.ts +4 -11
- package/build/src/sections/Home/Home.test.d.ts +1 -0
- package/build/src/store/models/manifest.d.ts +11 -0
- package/build/src/store/models/routes.d.ts +8 -0
- package/build/src/store/models/utils.d.ts +1 -0
- package/build/src/types/packageMeta.d.ts +7 -5
- package/build/src/utils/__partials__/packageMeta.d.ts +0 -1
- package/build/src/utils/routes.d.ts +1 -0
- package/build/src/utils/utils.d.ts +1 -0
- package/build/store/api.js +14 -9
- package/build/store/index.js +1 -1
- package/build/store/models/configuration.js +4 -4
- package/build/store/models/download.js +2 -3
- package/build/store/models/index.js +1 -2
- package/build/store/models/login.js +7 -7
- package/build/store/models/manifest.js +27 -8
- package/build/store/models/packages.js +6 -5
- package/build/store/models/routes.js +18 -0
- package/build/store/models/search.js +7 -6
- package/build/store/models/utils.js +10 -0
- package/build/store/storage.js +2 -3
- package/build/store/store.js +2 -3
- package/build/test/i18n-config.js +2 -3
- package/build/test/test-react-testing-library.js +1 -1
- package/build/utils/__partials__/packageMeta.js +1 -3
- package/build/utils/index.js +3 -3
- package/build/utils/loadable.js +2 -2
- package/build/utils/routes.js +2 -2
- package/build/utils/token.js +1 -1
- package/build/utils/url.js +1 -1
- package/build/utils/utils.js +22 -4
- package/package.json +33 -32
- package/src/AppTest/App.stories.tsx +32 -0
- package/src/AppTest/AppRoute.test.tsx +65 -0
- package/src/AppTest/AppRoute.tsx +42 -0
- package/src/AppTest/pages/Front/Home.ts +3 -0
- package/src/AppTest/pages/Front/index.ts +1 -0
- package/src/AppTest/pages/Version/Version.tsx +28 -0
- package/src/AppTest/pages/Version/index.ts +1 -0
- package/src/Theme/ThemeProvider.test.tsx +27 -0
- package/src/Theme/theme.ts +12 -5
- package/src/components/ActionBar/ActionBar.test.tsx +36 -15
- package/src/components/ActionBar/ActionBar.tsx +1 -1
- package/src/components/ActionBar/ActionBarAction.tsx +8 -5
- package/src/components/Author/Author.test.tsx +7 -1
- package/src/components/Author/Author.tsx +3 -41
- package/src/components/CopyClipboard/CopyToClipBoard.test.tsx +23 -0
- package/src/components/CopyClipboard/utils.ts +2 -13
- package/src/components/Dependencies/Dependencies.stories.tsx +11 -11
- package/src/components/Dependencies/Dependencies.test.tsx +1 -11
- package/src/components/Dependencies/Dependencies.tsx +30 -69
- package/src/components/Dependencies/DependencyBlock.test.tsx +46 -0
- package/src/components/Dependencies/DependencyBlock.tsx +83 -0
- package/src/components/Dependencies/utits.ts +3 -0
- package/src/components/Developers/DeveloperType.tsx +4 -0
- package/src/components/Developers/Developers.test.tsx +37 -10
- package/src/components/Developers/Developers.tsx +13 -13
- package/src/components/Developers/Title.tsx +1 -5
- package/src/components/Developers/index.ts +2 -1
- package/src/components/Distribution/Dist.test.tsx +1 -1
- package/src/components/Distribution/Dist.tsx +2 -4
- package/src/components/Distribution/styles.ts +0 -6
- package/src/components/Engines/Engines.tsx +6 -2
- package/src/components/Engines/styles.ts +1 -1
- package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +39 -0
- package/src/components/Forbidden/Forbidden.test.tsx +38 -0
- package/src/components/Forbidden/Forbidden.tsx +56 -0
- package/src/components/Forbidden/index.ts +1 -0
- package/src/components/FundButton/FundButton.tsx +5 -5
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.test.tsx +51 -0
- package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +2 -2
- package/src/components/Heading/Heading.test.tsx +20 -0
- package/src/components/Help/Help.test.tsx +10 -3
- package/src/components/Icons/DevsIcons/CommonJS.tsx +1 -7
- package/src/components/Icons/DevsIcons/ES6Module.tsx +2 -8
- package/src/components/Icons/DevsIcons/Git.tsx +1 -7
- package/src/components/Icons/DevsIcons/NodeJS.tsx +1 -7
- package/src/components/Icons/DevsIcons/TypeScript.tsx +1 -7
- package/src/components/Icons/FileBinary.tsx +2 -1
- package/src/components/Icons/Icons.stories.tsx +21 -5
- package/src/components/Icons/Icons.test.tsx +70 -0
- package/src/components/Icons/Law.tsx +2 -1
- package/src/components/Icons/Managers/Npm.tsx +1 -7
- package/src/components/Icons/Managers/Pnpm.tsx +1 -7
- package/src/components/Icons/Managers/Yarn.tsx +1 -7
- package/src/components/Install/Install.test.tsx +54 -13
- package/src/components/Install/Install.tsx +12 -11
- package/src/components/Install/InstallListItem.tsx +15 -13
- package/src/components/Keywords/KeywordListItems.tsx +22 -0
- package/src/components/Keywords/Keywords.stories.tsx +19 -0
- package/src/components/Keywords/Keywords.test.tsx +57 -0
- package/src/components/Keywords/Keywords.tsx +35 -0
- package/src/components/Keywords/index.ts +1 -0
- package/src/components/Link/Link.test.tsx +25 -0
- package/src/components/Link/Link.tsx +4 -18
- package/src/components/Link/index.ts +1 -1
- package/src/components/LinkExternal/LinkExternal.test.tsx +18 -0
- package/src/components/LinkExternal/LinkExternal.tsx +22 -0
- package/src/components/LinkExternal/index.ts +1 -0
- package/src/components/Loading/Loading.test.tsx +8 -4
- package/src/components/Loading/styles.ts +1 -0
- package/src/components/LoginDialog/LoginDialog.test.tsx +1 -1
- package/src/components/LoginDialog/LoginDialog.tsx +10 -1
- package/src/components/LoginDialog/LoginDialogCloseButton.tsx +1 -0
- package/src/components/LoginDialog/LoginDialogForm.tsx +0 -2
- package/src/components/LoginDialog/LoginDialogFormError.tsx +1 -1
- package/src/components/Logo/Logo.stories.tsx +16 -0
- package/src/components/Logo/Logo.test.tsx +8 -1
- package/src/components/Logo/Logo.tsx +19 -3
- package/src/components/NotFound/NotFound.tsx +6 -5
- package/src/components/NotFound/Notfound.test.tsx +6 -3
- package/src/components/Package/Package.test.tsx +47 -14
- package/src/components/Package/Package.tsx +41 -44
- package/src/components/Package/styles.ts +7 -17
- package/src/components/PackageList/Packagelist.test.tsx +1 -0
- package/src/components/Person/Person.test.tsx +50 -0
- package/src/components/Person/Person.tsx +45 -0
- package/src/components/Person/PersonTooltip.tsx +26 -0
- package/src/components/Person/index.ts +1 -0
- package/src/components/Person/utils.ts +20 -0
- package/src/components/RawViewer/RawViewer.tsx +8 -4
- package/src/components/Readme/Readme.spec.tsx +17 -0
- package/src/components/Readme/Readme.tsx +34 -7
- package/src/components/Readme/{github-markdown-dark.css → github-markdown.css} +266 -83
- package/src/components/Readme/utils.ts +15 -14
- package/src/components/RegistryInfoDialog/styles.ts +5 -4
- package/src/components/Repository/Repository.tsx +10 -17
- package/src/components/Search/AutoComplete/AutoComplete.tsx +1 -1
- package/src/components/Search/AutoComplete/styles.ts +7 -0
- package/src/components/Search/Search.test.tsx +38 -11
- package/src/components/Search/Search.tsx +4 -2
- package/src/components/Search/SearchItem.tsx +19 -8
- package/src/components/Search/utils.ts +17 -0
- package/src/components/SettingsMenu/SettingsMenu.test.tsx +41 -0
- package/src/components/SettingsMenu/SettingsMenu.tsx +48 -10
- package/src/components/{SideBarTittle/SideBarTittle.tsx → SideBarTitle/SideBarTitle.tsx} +19 -3
- package/src/components/SideBarTitle/index.ts +1 -0
- package/src/components/UpLinks/UpLinks.test.tsx +7 -0
- package/src/components/UpLinks/UpLinks.tsx +38 -15
- package/src/components/UpLinks/UplinkLink.tsx +20 -0
- package/src/components/UpLinks/styles.ts +1 -0
- package/src/components/Versions/HistoryList.tsx +11 -6
- package/src/components/Versions/TagList.tsx +4 -3
- package/src/components/Versions/Versions.test.tsx +26 -8
- package/src/components/Versions/Versions.tsx +81 -28
- package/src/index.ts +6 -2
- package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +1 -0
- package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +2 -0
- package/src/providers/VersionProvider/VersionProvider.test.tsx +3 -3
- package/src/sections/Detail/Detail.stories.tsx +10 -0
- package/src/sections/Detail/Detail.test.tsx +8 -1
- package/src/sections/Detail/Detail.tsx +11 -4
- package/src/sections/Detail/Tabs.tsx +6 -9
- package/src/sections/Footer/Footer.tsx +26 -12
- package/src/sections/Footer/styles.ts +4 -0
- package/src/sections/Header/Header.test.tsx +12 -10
- package/src/sections/Header/HeaderLeft.tsx +19 -11
- package/src/sections/Header/HeaderMenu.tsx +1 -1
- package/src/sections/Header/HeaderRight.tsx +14 -3
- package/src/sections/Header/HeaderSettingsDialog.tsx +2 -3
- package/src/sections/Header/LanguageSwitch.tsx +10 -7
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -1
- package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +2 -7
- package/src/sections/Header/styles.ts +4 -16
- package/src/sections/Home/Home.test.tsx +37 -0
- package/src/sections/Home/Home.tsx +0 -1
- package/src/sections/SideBar/Sidebar.test.tsx +52 -84
- package/src/sections/SideBar/Sidebar.tsx +11 -26
- package/src/store/api.test.ts +19 -2
- package/src/store/api.ts +13 -6
- package/src/store/models/configuration.ts +2 -1
- package/src/store/models/login.ts +10 -12
- package/src/store/models/manifest.ts +25 -6
- package/src/store/models/packages.ts +4 -5
- package/src/store/models/routes.ts +10 -0
- package/src/store/models/search.ts +4 -2
- package/src/store/models/utils.ts +3 -0
- package/src/types/packageMeta.ts +7 -5
- package/src/utils/__partials__/packageMeta.ts +0 -1
- package/src/utils/routes.ts +1 -0
- package/src/utils/utils.test.ts +34 -0
- package/src/utils/utils.ts +20 -5
- package/tsconfig.json +1 -1
- package/build/components/Dependencies/styles.js +0 -68
- package/build/components/Developers/styles.js +0 -69
- package/build/components/Distribution/utils.js +0 -25
- package/build/components/Distribution/utilts.spec.js +0 -18
- package/build/components/Package/Tag/Tag.js +0 -15
- package/build/components/Package/Tag/index.js +0 -14
- package/build/components/Package/Tag/styles.js +0 -25
- package/build/components/Readme/ReadmeDark.js +0 -46
- package/build/components/Readme/ReadmeLight.js +0 -46
- package/build/components/Readme/github-markdown-light.css +0 -1014
- package/build/components/SideBarTittle/SideBarTittle.js +0 -95
- package/build/components/SideBarTittle/index.js +0 -14
- package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +0 -37
- package/build/sections/Header/RegistryInfoDialog/index.js +0 -14
- package/build/sections/Header/RegistryInfoDialog/styles.js +0 -49
- package/build/sections/Header/RegistryInfoDialog/types.js +0 -6
- package/build/src/components/Dependencies/styles.d.ts +0 -8
- package/build/src/components/Developers/styles.d.ts +0 -11
- package/build/src/components/Distribution/utils.d.ts +0 -7
- package/build/src/components/Package/Tag/Tag.d.ts +0 -6
- package/build/src/components/Package/Tag/index.d.ts +0 -1
- package/build/src/components/Package/Tag/styles.d.ts +0 -5
- package/build/src/components/Readme/ReadmeDark.d.ts +0 -5
- package/build/src/components/Readme/ReadmeLight.d.ts +0 -5
- package/build/src/components/SideBarTittle/index.d.ts +0 -1
- package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +0 -4
- package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +0 -1
- package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +0 -13
- package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +0 -7
- package/src/components/Dependencies/styles.ts +0 -26
- package/src/components/Developers/styles.ts +0 -31
- package/src/components/Distribution/utils.ts +0 -32
- package/src/components/Distribution/utilts.spec.ts +0 -17
- package/src/components/Package/Tag/Tag.test.tsx +0 -15
- package/src/components/Package/Tag/Tag.tsx +0 -11
- package/src/components/Package/Tag/index.ts +0 -1
- package/src/components/Package/Tag/styles.ts +0 -11
- package/src/components/Readme/ReadmeDark.tsx +0 -32
- package/src/components/Readme/ReadmeLight.tsx +0 -32
- package/src/components/Readme/github-markdown-light.css +0 -1014
- package/src/components/Search/AutoComplete/styles.tsx +0 -42
- package/src/components/SideBarTittle/index.ts +0 -1
- package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +0 -31
- package/src/sections/Header/RegistryInfoDialog/index.ts +0 -1
- package/src/sections/Header/RegistryInfoDialog/styles.ts +0 -21
- package/src/sections/Header/RegistryInfoDialog/types.ts +0 -8
- /package/build/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
- /package/build/src/{components/Package/Tag/Tag.test.d.ts → AppTest/AppRoute.test.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle/SideBarTittle.d.ts → SideBarTitle/SideBarTitle.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle/SideBarTittle.stories.d.ts → SideBarTitle/SideBarTitle.stories.d.ts} +0 -0
- /package/build/src/components/{SideBarTittle → SideBarTitle}/utils.d.ts +0 -0
- /package/src/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
- /package/src/components/{SideBarTittle/SideBarTittle.stories.tsx → SideBarTitle/SideBarTitle.stories.tsx} +0 -0
- /package/src/components/{SideBarTittle → SideBarTitle}/utils.ts +0 -0
|
@@ -1,12 +1,126 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* Ensure monospace for combination with highlight.js */
|
|
2
2
|
|
|
3
|
-
.markdown-body {
|
|
3
|
+
.markdown-body pre code span {
|
|
4
|
+
font-family: monospace;
|
|
5
|
+
font-size: 1em;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* Output from https://github.com/sindresorhus/generate-github-markdown-css without media selectors and transparent background */
|
|
9
|
+
|
|
10
|
+
.markdown-dark {
|
|
11
|
+
/*dark*/
|
|
4
12
|
color-scheme: dark;
|
|
13
|
+
--color-prettylights-syntax-comment: #8b949e;
|
|
14
|
+
--color-prettylights-syntax-constant: #79c0ff;
|
|
15
|
+
--color-prettylights-syntax-entity: #d2a8ff;
|
|
16
|
+
--color-prettylights-syntax-storage-modifier-import: #c9d1d9;
|
|
17
|
+
--color-prettylights-syntax-entity-tag: #7ee787;
|
|
18
|
+
--color-prettylights-syntax-keyword: #ff7b72;
|
|
19
|
+
--color-prettylights-syntax-string: #a5d6ff;
|
|
20
|
+
--color-prettylights-syntax-variable: #ffa657;
|
|
21
|
+
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
|
|
22
|
+
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
|
|
23
|
+
--color-prettylights-syntax-invalid-illegal-bg: #8e1519;
|
|
24
|
+
--color-prettylights-syntax-carriage-return-text: #f0f6fc;
|
|
25
|
+
--color-prettylights-syntax-carriage-return-bg: #b62324;
|
|
26
|
+
--color-prettylights-syntax-string-regexp: #7ee787;
|
|
27
|
+
--color-prettylights-syntax-markup-list: #f2cc60;
|
|
28
|
+
--color-prettylights-syntax-markup-heading: #1f6feb;
|
|
29
|
+
--color-prettylights-syntax-markup-italic: #c9d1d9;
|
|
30
|
+
--color-prettylights-syntax-markup-bold: #c9d1d9;
|
|
31
|
+
--color-prettylights-syntax-markup-deleted-text: #ffdcd7;
|
|
32
|
+
--color-prettylights-syntax-markup-deleted-bg: #67060c;
|
|
33
|
+
--color-prettylights-syntax-markup-inserted-text: #aff5b4;
|
|
34
|
+
--color-prettylights-syntax-markup-inserted-bg: #033a16;
|
|
35
|
+
--color-prettylights-syntax-markup-changed-text: #ffdfb6;
|
|
36
|
+
--color-prettylights-syntax-markup-changed-bg: #5a1e02;
|
|
37
|
+
--color-prettylights-syntax-markup-ignored-text: #c9d1d9;
|
|
38
|
+
--color-prettylights-syntax-markup-ignored-bg: #1158c7;
|
|
39
|
+
--color-prettylights-syntax-meta-diff-range: #d2a8ff;
|
|
40
|
+
--color-prettylights-syntax-brackethighlighter-angle: #8b949e;
|
|
41
|
+
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
|
|
42
|
+
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
|
|
43
|
+
--color-fg-default: #e6edf3;
|
|
44
|
+
--color-fg-muted: #848d97;
|
|
45
|
+
--color-fg-subtle: #6e7681;
|
|
46
|
+
--color-canvas-default: #0d1117;
|
|
47
|
+
--color-canvas-subtle: #161b22;
|
|
48
|
+
--color-border-default: #30363d;
|
|
49
|
+
--color-border-muted: #21262d;
|
|
50
|
+
--color-neutral-muted: rgba(110,118,129,0.4);
|
|
51
|
+
--color-accent-fg: #2f81f7;
|
|
52
|
+
--color-accent-emphasis: #1f6feb;
|
|
53
|
+
--color-success-fg: #3fb950;
|
|
54
|
+
--color-success-emphasis: #238636;
|
|
55
|
+
--color-attention-fg: #d29922;
|
|
56
|
+
--color-attention-emphasis: #9e6a03;
|
|
57
|
+
--color-attention-subtle: rgba(187,128,9,0.15);
|
|
58
|
+
--color-danger-fg: #f85149;
|
|
59
|
+
--color-danger-emphasis: #da3633;
|
|
60
|
+
--color-done-fg: #a371f7;
|
|
61
|
+
--color-done-emphasis: #8957e5;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.markdown-light {
|
|
65
|
+
/*light*/
|
|
66
|
+
color-scheme: light;
|
|
67
|
+
--color-prettylights-syntax-comment: #57606a;
|
|
68
|
+
--color-prettylights-syntax-constant: #0550ae;
|
|
69
|
+
--color-prettylights-syntax-entity: #6639ba;
|
|
70
|
+
--color-prettylights-syntax-storage-modifier-import: #24292f;
|
|
71
|
+
--color-prettylights-syntax-entity-tag: #116329;
|
|
72
|
+
--color-prettylights-syntax-keyword: #cf222e;
|
|
73
|
+
--color-prettylights-syntax-string: #0a3069;
|
|
74
|
+
--color-prettylights-syntax-variable: #953800;
|
|
75
|
+
--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
|
|
76
|
+
--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
|
|
77
|
+
--color-prettylights-syntax-invalid-illegal-bg: #82071e;
|
|
78
|
+
--color-prettylights-syntax-carriage-return-text: #f6f8fa;
|
|
79
|
+
--color-prettylights-syntax-carriage-return-bg: #cf222e;
|
|
80
|
+
--color-prettylights-syntax-string-regexp: #116329;
|
|
81
|
+
--color-prettylights-syntax-markup-list: #3b2300;
|
|
82
|
+
--color-prettylights-syntax-markup-heading: #0550ae;
|
|
83
|
+
--color-prettylights-syntax-markup-italic: #24292f;
|
|
84
|
+
--color-prettylights-syntax-markup-bold: #24292f;
|
|
85
|
+
--color-prettylights-syntax-markup-deleted-text: #82071e;
|
|
86
|
+
--color-prettylights-syntax-markup-deleted-bg: #ffebe9;
|
|
87
|
+
--color-prettylights-syntax-markup-inserted-text: #116329;
|
|
88
|
+
--color-prettylights-syntax-markup-inserted-bg: #dafbe1;
|
|
89
|
+
--color-prettylights-syntax-markup-changed-text: #953800;
|
|
90
|
+
--color-prettylights-syntax-markup-changed-bg: #ffd8b5;
|
|
91
|
+
--color-prettylights-syntax-markup-ignored-text: #eaeef2;
|
|
92
|
+
--color-prettylights-syntax-markup-ignored-bg: #0550ae;
|
|
93
|
+
--color-prettylights-syntax-meta-diff-range: #8250df;
|
|
94
|
+
--color-prettylights-syntax-brackethighlighter-angle: #57606a;
|
|
95
|
+
--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
|
|
96
|
+
--color-prettylights-syntax-constant-other-reference-link: #0a3069;
|
|
97
|
+
--color-fg-default: #1F2328;
|
|
98
|
+
--color-fg-muted: #656d76;
|
|
99
|
+
--color-fg-subtle: #6e7781;
|
|
100
|
+
--color-canvas-default: #ffffff;
|
|
101
|
+
--color-canvas-subtle: #f6f8fa;
|
|
102
|
+
--color-border-default: #d0d7de;
|
|
103
|
+
--color-border-muted: hsla(210,18%,87%,1);
|
|
104
|
+
--color-neutral-muted: rgba(175,184,193,0.2);
|
|
105
|
+
--color-accent-fg: #0969da;
|
|
106
|
+
--color-accent-emphasis: #0969da;
|
|
107
|
+
--color-success-fg: #1a7f37;
|
|
108
|
+
--color-success-emphasis: #1f883d;
|
|
109
|
+
--color-attention-fg: #9a6700;
|
|
110
|
+
--color-attention-emphasis: #9a6700;
|
|
111
|
+
--color-attention-subtle: #fff8c5;
|
|
112
|
+
--color-danger-fg: #d1242f;
|
|
113
|
+
--color-danger-emphasis: #cf222e;
|
|
114
|
+
--color-done-fg: #8250df;
|
|
115
|
+
--color-done-emphasis: #8250df;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.markdown-body {
|
|
5
119
|
-ms-text-size-adjust: 100%;
|
|
6
120
|
-webkit-text-size-adjust: 100%;
|
|
7
121
|
margin: 0;
|
|
8
|
-
color:
|
|
9
|
-
background-color:
|
|
122
|
+
color: var(--color-fg-default);
|
|
123
|
+
background-color: transparent; /* var(--color-canvas-default); */
|
|
10
124
|
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
|
|
11
125
|
font-size: 16px;
|
|
12
126
|
line-height: 1.5;
|
|
@@ -50,7 +164,7 @@
|
|
|
50
164
|
|
|
51
165
|
.markdown-body a {
|
|
52
166
|
background-color: transparent;
|
|
53
|
-
color:
|
|
167
|
+
color: var(--color-accent-fg);
|
|
54
168
|
text-decoration: none;
|
|
55
169
|
}
|
|
56
170
|
|
|
@@ -62,7 +176,7 @@
|
|
|
62
176
|
|
|
63
177
|
.markdown-body b,
|
|
64
178
|
.markdown-body strong {
|
|
65
|
-
font-weight: 600;
|
|
179
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
66
180
|
}
|
|
67
181
|
|
|
68
182
|
.markdown-body dfn {
|
|
@@ -71,15 +185,15 @@
|
|
|
71
185
|
|
|
72
186
|
.markdown-body h1 {
|
|
73
187
|
margin: .67em 0;
|
|
74
|
-
font-weight: 600;
|
|
188
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
75
189
|
padding-bottom: .3em;
|
|
76
190
|
font-size: 2em;
|
|
77
|
-
border-bottom: 1px solid
|
|
191
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
78
192
|
}
|
|
79
193
|
|
|
80
194
|
.markdown-body mark {
|
|
81
|
-
background-color:
|
|
82
|
-
color:
|
|
195
|
+
background-color: var(--color-attention-subtle);
|
|
196
|
+
color: var(--color-fg-default);
|
|
83
197
|
}
|
|
84
198
|
|
|
85
199
|
.markdown-body small {
|
|
@@ -106,7 +220,7 @@
|
|
|
106
220
|
border-style: none;
|
|
107
221
|
max-width: 100%;
|
|
108
222
|
box-sizing: content-box;
|
|
109
|
-
background-color:
|
|
223
|
+
background-color: var(--color-canvas-default);
|
|
110
224
|
}
|
|
111
225
|
|
|
112
226
|
.markdown-body code,
|
|
@@ -125,11 +239,11 @@
|
|
|
125
239
|
box-sizing: content-box;
|
|
126
240
|
overflow: hidden;
|
|
127
241
|
background: transparent;
|
|
128
|
-
border-bottom: 1px solid
|
|
242
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
129
243
|
height: .25em;
|
|
130
244
|
padding: 0;
|
|
131
245
|
margin: 24px 0;
|
|
132
|
-
background-color:
|
|
246
|
+
background-color: var(--color-border-default);
|
|
133
247
|
border: 0;
|
|
134
248
|
}
|
|
135
249
|
|
|
@@ -146,6 +260,7 @@
|
|
|
146
260
|
.markdown-body [type=reset],
|
|
147
261
|
.markdown-body [type=submit] {
|
|
148
262
|
-webkit-appearance: button;
|
|
263
|
+
appearance: button;
|
|
149
264
|
}
|
|
150
265
|
|
|
151
266
|
.markdown-body [type=checkbox],
|
|
@@ -162,6 +277,7 @@
|
|
|
162
277
|
.markdown-body [type=search]::-webkit-search-cancel-button,
|
|
163
278
|
.markdown-body [type=search]::-webkit-search-decoration {
|
|
164
279
|
-webkit-appearance: none;
|
|
280
|
+
appearance: none;
|
|
165
281
|
}
|
|
166
282
|
|
|
167
283
|
.markdown-body ::-webkit-input-placeholder {
|
|
@@ -171,6 +287,7 @@
|
|
|
171
287
|
|
|
172
288
|
.markdown-body ::-webkit-file-upload-button {
|
|
173
289
|
-webkit-appearance: button;
|
|
290
|
+
appearance: button;
|
|
174
291
|
font: inherit;
|
|
175
292
|
}
|
|
176
293
|
|
|
@@ -179,7 +296,7 @@
|
|
|
179
296
|
}
|
|
180
297
|
|
|
181
298
|
.markdown-body ::placeholder {
|
|
182
|
-
color:
|
|
299
|
+
color: var(--color-fg-subtle);
|
|
183
300
|
opacity: 1;
|
|
184
301
|
}
|
|
185
302
|
|
|
@@ -220,7 +337,7 @@
|
|
|
220
337
|
.markdown-body [role=button]:focus,
|
|
221
338
|
.markdown-body input[type=radio]:focus,
|
|
222
339
|
.markdown-body input[type=checkbox]:focus {
|
|
223
|
-
outline: 2px solid
|
|
340
|
+
outline: 2px solid var(--color-accent-fg);
|
|
224
341
|
outline-offset: -2px;
|
|
225
342
|
box-shadow: none;
|
|
226
343
|
}
|
|
@@ -236,7 +353,7 @@
|
|
|
236
353
|
.markdown-body [role=button]:focus-visible,
|
|
237
354
|
.markdown-body input[type=radio]:focus-visible,
|
|
238
355
|
.markdown-body input[type=checkbox]:focus-visible {
|
|
239
|
-
outline: 2px solid
|
|
356
|
+
outline: 2px solid var(--color-accent-fg);
|
|
240
357
|
outline-offset: -2px;
|
|
241
358
|
box-shadow: none;
|
|
242
359
|
}
|
|
@@ -255,13 +372,13 @@
|
|
|
255
372
|
padding: 3px 5px;
|
|
256
373
|
font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
|
|
257
374
|
line-height: 10px;
|
|
258
|
-
color:
|
|
375
|
+
color: var(--color-fg-default);
|
|
259
376
|
vertical-align: middle;
|
|
260
|
-
background-color:
|
|
261
|
-
border: solid 1px
|
|
262
|
-
border-bottom-color:
|
|
377
|
+
background-color: var(--color-canvas-subtle);
|
|
378
|
+
border: solid 1px var(--color-neutral-muted);
|
|
379
|
+
border-bottom-color: var(--color-neutral-muted);
|
|
263
380
|
border-radius: 6px;
|
|
264
|
-
box-shadow: inset 0 -1px 0
|
|
381
|
+
box-shadow: inset 0 -1px 0 var(--color-neutral-muted);
|
|
265
382
|
}
|
|
266
383
|
|
|
267
384
|
.markdown-body h1,
|
|
@@ -272,36 +389,36 @@
|
|
|
272
389
|
.markdown-body h6 {
|
|
273
390
|
margin-top: 24px;
|
|
274
391
|
margin-bottom: 16px;
|
|
275
|
-
font-weight: 600;
|
|
392
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
276
393
|
line-height: 1.25;
|
|
277
394
|
}
|
|
278
395
|
|
|
279
396
|
.markdown-body h2 {
|
|
280
|
-
font-weight: 600;
|
|
397
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
281
398
|
padding-bottom: .3em;
|
|
282
399
|
font-size: 1.5em;
|
|
283
|
-
border-bottom: 1px solid
|
|
400
|
+
border-bottom: 1px solid var(--color-border-muted);
|
|
284
401
|
}
|
|
285
402
|
|
|
286
403
|
.markdown-body h3 {
|
|
287
|
-
font-weight: 600;
|
|
404
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
288
405
|
font-size: 1.25em;
|
|
289
406
|
}
|
|
290
407
|
|
|
291
408
|
.markdown-body h4 {
|
|
292
|
-
font-weight: 600;
|
|
409
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
293
410
|
font-size: 1em;
|
|
294
411
|
}
|
|
295
412
|
|
|
296
413
|
.markdown-body h5 {
|
|
297
|
-
font-weight: 600;
|
|
414
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
298
415
|
font-size: .875em;
|
|
299
416
|
}
|
|
300
417
|
|
|
301
418
|
.markdown-body h6 {
|
|
302
|
-
font-weight: 600;
|
|
419
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
303
420
|
font-size: .85em;
|
|
304
|
-
color:
|
|
421
|
+
color: var(--color-fg-muted);
|
|
305
422
|
}
|
|
306
423
|
|
|
307
424
|
.markdown-body p {
|
|
@@ -312,8 +429,8 @@
|
|
|
312
429
|
.markdown-body blockquote {
|
|
313
430
|
margin: 0;
|
|
314
431
|
padding: 0 1em;
|
|
315
|
-
color:
|
|
316
|
-
border-left: .25em solid
|
|
432
|
+
color: var(--color-fg-muted);
|
|
433
|
+
border-left: .25em solid var(--color-border-default);
|
|
317
434
|
}
|
|
318
435
|
|
|
319
436
|
.markdown-body ul,
|
|
@@ -368,6 +485,10 @@
|
|
|
368
485
|
appearance: none;
|
|
369
486
|
}
|
|
370
487
|
|
|
488
|
+
.markdown-body .mr-2 {
|
|
489
|
+
margin-right: var(--base-size-8, 8px) !important;
|
|
490
|
+
}
|
|
491
|
+
|
|
371
492
|
.markdown-body::before {
|
|
372
493
|
display: table;
|
|
373
494
|
content: "";
|
|
@@ -393,7 +514,7 @@
|
|
|
393
514
|
}
|
|
394
515
|
|
|
395
516
|
.markdown-body .absent {
|
|
396
|
-
color:
|
|
517
|
+
color: var(--color-danger-fg);
|
|
397
518
|
}
|
|
398
519
|
|
|
399
520
|
.markdown-body .anchor {
|
|
@@ -433,7 +554,7 @@
|
|
|
433
554
|
.markdown-body h4 .octicon-link,
|
|
434
555
|
.markdown-body h5 .octicon-link,
|
|
435
556
|
.markdown-body h6 .octicon-link {
|
|
436
|
-
color:
|
|
557
|
+
color: var(--color-fg-default);
|
|
437
558
|
vertical-align: middle;
|
|
438
559
|
visibility: hidden;
|
|
439
560
|
}
|
|
@@ -551,7 +672,7 @@
|
|
|
551
672
|
margin-top: 16px;
|
|
552
673
|
font-size: 1em;
|
|
553
674
|
font-style: italic;
|
|
554
|
-
font-weight: 600;
|
|
675
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
555
676
|
}
|
|
556
677
|
|
|
557
678
|
.markdown-body dl dd {
|
|
@@ -560,13 +681,13 @@
|
|
|
560
681
|
}
|
|
561
682
|
|
|
562
683
|
.markdown-body table th {
|
|
563
|
-
font-weight: 600;
|
|
684
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
564
685
|
}
|
|
565
686
|
|
|
566
687
|
.markdown-body table th,
|
|
567
688
|
.markdown-body table td {
|
|
568
689
|
padding: 6px 13px;
|
|
569
|
-
border: 1px solid
|
|
690
|
+
border: 1px solid var(--color-border-default);
|
|
570
691
|
}
|
|
571
692
|
|
|
572
693
|
.markdown-body table td>:last-child {
|
|
@@ -574,12 +695,12 @@
|
|
|
574
695
|
}
|
|
575
696
|
|
|
576
697
|
.markdown-body table tr {
|
|
577
|
-
background-color:
|
|
578
|
-
border-top: 1px solid
|
|
698
|
+
background-color: var(--color-canvas-default);
|
|
699
|
+
border-top: 1px solid var(--color-border-muted);
|
|
579
700
|
}
|
|
580
701
|
|
|
581
702
|
.markdown-body table tr:nth-child(2n) {
|
|
582
|
-
background-color:
|
|
703
|
+
background-color: var(--color-canvas-subtle);
|
|
583
704
|
}
|
|
584
705
|
|
|
585
706
|
.markdown-body table img {
|
|
@@ -612,7 +733,7 @@
|
|
|
612
733
|
padding: 7px;
|
|
613
734
|
margin: 13px 0 0;
|
|
614
735
|
overflow: hidden;
|
|
615
|
-
border: 1px solid
|
|
736
|
+
border: 1px solid var(--color-border-default);
|
|
616
737
|
}
|
|
617
738
|
|
|
618
739
|
.markdown-body span.frame span img {
|
|
@@ -624,7 +745,7 @@
|
|
|
624
745
|
display: block;
|
|
625
746
|
padding: 5px 0 0;
|
|
626
747
|
clear: both;
|
|
627
|
-
color:
|
|
748
|
+
color: var(--color-fg-default);
|
|
628
749
|
}
|
|
629
750
|
|
|
630
751
|
.markdown-body span.align-center {
|
|
@@ -694,7 +815,7 @@
|
|
|
694
815
|
margin: 0;
|
|
695
816
|
font-size: 85%;
|
|
696
817
|
white-space: break-spaces;
|
|
697
|
-
background-color:
|
|
818
|
+
background-color: var(--color-neutral-muted);
|
|
698
819
|
border-radius: 6px;
|
|
699
820
|
}
|
|
700
821
|
|
|
@@ -739,8 +860,8 @@
|
|
|
739
860
|
overflow: auto;
|
|
740
861
|
font-size: 85%;
|
|
741
862
|
line-height: 1.45;
|
|
742
|
-
color:
|
|
743
|
-
background-color:
|
|
863
|
+
color: var(--color-fg-default);
|
|
864
|
+
background-color: var(--color-canvas-subtle);
|
|
744
865
|
border-radius: 6px;
|
|
745
866
|
}
|
|
746
867
|
|
|
@@ -770,7 +891,7 @@
|
|
|
770
891
|
.markdown-body .csv-data .blob-num {
|
|
771
892
|
padding: 10px 8px 9px;
|
|
772
893
|
text-align: right;
|
|
773
|
-
background:
|
|
894
|
+
background: var(--color-canvas-default);
|
|
774
895
|
border: 0;
|
|
775
896
|
}
|
|
776
897
|
|
|
@@ -779,8 +900,8 @@
|
|
|
779
900
|
}
|
|
780
901
|
|
|
781
902
|
.markdown-body .csv-data th {
|
|
782
|
-
font-weight: 600;
|
|
783
|
-
background:
|
|
903
|
+
font-weight: var(--base-text-weight-semibold, 600);
|
|
904
|
+
background: var(--color-canvas-subtle);
|
|
784
905
|
border-top: 0;
|
|
785
906
|
}
|
|
786
907
|
|
|
@@ -794,8 +915,8 @@
|
|
|
794
915
|
|
|
795
916
|
.markdown-body .footnotes {
|
|
796
917
|
font-size: 12px;
|
|
797
|
-
color:
|
|
798
|
-
border-top: 1px solid
|
|
918
|
+
color: var(--color-fg-muted);
|
|
919
|
+
border-top: 1px solid var(--color-border-default);
|
|
799
920
|
}
|
|
800
921
|
|
|
801
922
|
.markdown-body .footnotes ol {
|
|
@@ -820,12 +941,12 @@
|
|
|
820
941
|
left: -24px;
|
|
821
942
|
pointer-events: none;
|
|
822
943
|
content: "";
|
|
823
|
-
border: 2px solid
|
|
944
|
+
border: 2px solid var(--color-accent-emphasis);
|
|
824
945
|
border-radius: 6px;
|
|
825
946
|
}
|
|
826
947
|
|
|
827
948
|
.markdown-body .footnotes li:target {
|
|
828
|
-
color:
|
|
949
|
+
color: var(--color-fg-default);
|
|
829
950
|
}
|
|
830
951
|
|
|
831
952
|
.markdown-body .footnotes .data-footnote-backref g-emoji {
|
|
@@ -833,30 +954,30 @@
|
|
|
833
954
|
}
|
|
834
955
|
|
|
835
956
|
.markdown-body .pl-c {
|
|
836
|
-
color:
|
|
957
|
+
color: var(--color-prettylights-syntax-comment);
|
|
837
958
|
}
|
|
838
959
|
|
|
839
960
|
.markdown-body .pl-c1,
|
|
840
961
|
.markdown-body .pl-s .pl-v {
|
|
841
|
-
color:
|
|
962
|
+
color: var(--color-prettylights-syntax-constant);
|
|
842
963
|
}
|
|
843
964
|
|
|
844
965
|
.markdown-body .pl-e,
|
|
845
966
|
.markdown-body .pl-en {
|
|
846
|
-
color:
|
|
967
|
+
color: var(--color-prettylights-syntax-entity);
|
|
847
968
|
}
|
|
848
969
|
|
|
849
970
|
.markdown-body .pl-smi,
|
|
850
971
|
.markdown-body .pl-s .pl-s1 {
|
|
851
|
-
color:
|
|
972
|
+
color: var(--color-prettylights-syntax-storage-modifier-import);
|
|
852
973
|
}
|
|
853
974
|
|
|
854
975
|
.markdown-body .pl-ent {
|
|
855
|
-
color:
|
|
976
|
+
color: var(--color-prettylights-syntax-entity-tag);
|
|
856
977
|
}
|
|
857
978
|
|
|
858
979
|
.markdown-body .pl-k {
|
|
859
|
-
color:
|
|
980
|
+
color: var(--color-prettylights-syntax-keyword);
|
|
860
981
|
}
|
|
861
982
|
|
|
862
983
|
.markdown-body .pl-s,
|
|
@@ -866,90 +987,90 @@
|
|
|
866
987
|
.markdown-body .pl-sr .pl-cce,
|
|
867
988
|
.markdown-body .pl-sr .pl-sre,
|
|
868
989
|
.markdown-body .pl-sr .pl-sra {
|
|
869
|
-
color:
|
|
990
|
+
color: var(--color-prettylights-syntax-string);
|
|
870
991
|
}
|
|
871
992
|
|
|
872
993
|
.markdown-body .pl-v,
|
|
873
994
|
.markdown-body .pl-smw {
|
|
874
|
-
color:
|
|
995
|
+
color: var(--color-prettylights-syntax-variable);
|
|
875
996
|
}
|
|
876
997
|
|
|
877
998
|
.markdown-body .pl-bu {
|
|
878
|
-
color:
|
|
999
|
+
color: var(--color-prettylights-syntax-brackethighlighter-unmatched);
|
|
879
1000
|
}
|
|
880
1001
|
|
|
881
1002
|
.markdown-body .pl-ii {
|
|
882
|
-
color:
|
|
883
|
-
background-color:
|
|
1003
|
+
color: var(--color-prettylights-syntax-invalid-illegal-text);
|
|
1004
|
+
background-color: var(--color-prettylights-syntax-invalid-illegal-bg);
|
|
884
1005
|
}
|
|
885
1006
|
|
|
886
1007
|
.markdown-body .pl-c2 {
|
|
887
|
-
color:
|
|
888
|
-
background-color:
|
|
1008
|
+
color: var(--color-prettylights-syntax-carriage-return-text);
|
|
1009
|
+
background-color: var(--color-prettylights-syntax-carriage-return-bg);
|
|
889
1010
|
}
|
|
890
1011
|
|
|
891
1012
|
.markdown-body .pl-sr .pl-cce {
|
|
892
1013
|
font-weight: bold;
|
|
893
|
-
color:
|
|
1014
|
+
color: var(--color-prettylights-syntax-string-regexp);
|
|
894
1015
|
}
|
|
895
1016
|
|
|
896
1017
|
.markdown-body .pl-ml {
|
|
897
|
-
color:
|
|
1018
|
+
color: var(--color-prettylights-syntax-markup-list);
|
|
898
1019
|
}
|
|
899
1020
|
|
|
900
1021
|
.markdown-body .pl-mh,
|
|
901
1022
|
.markdown-body .pl-mh .pl-en,
|
|
902
1023
|
.markdown-body .pl-ms {
|
|
903
1024
|
font-weight: bold;
|
|
904
|
-
color:
|
|
1025
|
+
color: var(--color-prettylights-syntax-markup-heading);
|
|
905
1026
|
}
|
|
906
1027
|
|
|
907
1028
|
.markdown-body .pl-mi {
|
|
908
1029
|
font-style: italic;
|
|
909
|
-
color:
|
|
1030
|
+
color: var(--color-prettylights-syntax-markup-italic);
|
|
910
1031
|
}
|
|
911
1032
|
|
|
912
1033
|
.markdown-body .pl-mb {
|
|
913
1034
|
font-weight: bold;
|
|
914
|
-
color:
|
|
1035
|
+
color: var(--color-prettylights-syntax-markup-bold);
|
|
915
1036
|
}
|
|
916
1037
|
|
|
917
1038
|
.markdown-body .pl-md {
|
|
918
|
-
color:
|
|
919
|
-
background-color:
|
|
1039
|
+
color: var(--color-prettylights-syntax-markup-deleted-text);
|
|
1040
|
+
background-color: var(--color-prettylights-syntax-markup-deleted-bg);
|
|
920
1041
|
}
|
|
921
1042
|
|
|
922
1043
|
.markdown-body .pl-mi1 {
|
|
923
|
-
color:
|
|
924
|
-
background-color:
|
|
1044
|
+
color: var(--color-prettylights-syntax-markup-inserted-text);
|
|
1045
|
+
background-color: var(--color-prettylights-syntax-markup-inserted-bg);
|
|
925
1046
|
}
|
|
926
1047
|
|
|
927
1048
|
.markdown-body .pl-mc {
|
|
928
|
-
color:
|
|
929
|
-
background-color:
|
|
1049
|
+
color: var(--color-prettylights-syntax-markup-changed-text);
|
|
1050
|
+
background-color: var(--color-prettylights-syntax-markup-changed-bg);
|
|
930
1051
|
}
|
|
931
1052
|
|
|
932
1053
|
.markdown-body .pl-mi2 {
|
|
933
|
-
color:
|
|
934
|
-
background-color:
|
|
1054
|
+
color: var(--color-prettylights-syntax-markup-ignored-text);
|
|
1055
|
+
background-color: var(--color-prettylights-syntax-markup-ignored-bg);
|
|
935
1056
|
}
|
|
936
1057
|
|
|
937
1058
|
.markdown-body .pl-mdr {
|
|
938
1059
|
font-weight: bold;
|
|
939
|
-
color:
|
|
1060
|
+
color: var(--color-prettylights-syntax-meta-diff-range);
|
|
940
1061
|
}
|
|
941
1062
|
|
|
942
1063
|
.markdown-body .pl-ba {
|
|
943
|
-
color:
|
|
1064
|
+
color: var(--color-prettylights-syntax-brackethighlighter-angle);
|
|
944
1065
|
}
|
|
945
1066
|
|
|
946
1067
|
.markdown-body .pl-sg {
|
|
947
|
-
color:
|
|
1068
|
+
color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);
|
|
948
1069
|
}
|
|
949
1070
|
|
|
950
1071
|
.markdown-body .pl-corl {
|
|
951
1072
|
text-decoration: underline;
|
|
952
|
-
color:
|
|
1073
|
+
color: var(--color-prettylights-syntax-constant-other-reference-link);
|
|
953
1074
|
}
|
|
954
1075
|
|
|
955
1076
|
.markdown-body g-emoji {
|
|
@@ -958,7 +1079,7 @@
|
|
|
958
1079
|
font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
|
|
959
1080
|
font-size: 1em;
|
|
960
1081
|
font-style: normal !important;
|
|
961
|
-
font-weight: 400;
|
|
1082
|
+
font-weight: var(--base-text-weight-normal, 400);
|
|
962
1083
|
line-height: 1;
|
|
963
1084
|
vertical-align: -0.075em;
|
|
964
1085
|
}
|
|
@@ -973,7 +1094,7 @@
|
|
|
973
1094
|
}
|
|
974
1095
|
|
|
975
1096
|
.markdown-body .task-list-item label {
|
|
976
|
-
font-weight: 400;
|
|
1097
|
+
font-weight: var(--base-text-weight-normal, 400);
|
|
977
1098
|
}
|
|
978
1099
|
|
|
979
1100
|
.markdown-body .task-list-item.enabled label {
|
|
@@ -1013,3 +1134,65 @@
|
|
|
1013
1134
|
.markdown-body ::-webkit-calendar-picker-indicator {
|
|
1014
1135
|
filter: invert(50%);
|
|
1015
1136
|
}
|
|
1137
|
+
|
|
1138
|
+
.markdown-body .markdown-alert {
|
|
1139
|
+
padding: var(--base-size-8) var(--base-size-16);
|
|
1140
|
+
margin-bottom: 16px;
|
|
1141
|
+
color: inherit;
|
|
1142
|
+
border-left: .25em solid var(--color-border-default);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.markdown-body .markdown-alert>:first-child {
|
|
1146
|
+
margin-top: 0;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
.markdown-body .markdown-alert>:last-child {
|
|
1150
|
+
margin-bottom: 0;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
.markdown-body .markdown-alert .markdown-alert-title {
|
|
1154
|
+
display: flex;
|
|
1155
|
+
font-weight: var(--base-text-weight-medium, 500);
|
|
1156
|
+
align-items: center;
|
|
1157
|
+
line-height: 1;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.markdown-body .markdown-alert.markdown-alert-note {
|
|
1161
|
+
border-left-color: var(--color-accent-emphasis);
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title {
|
|
1165
|
+
color: var(--color-accent-fg);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.markdown-body .markdown-alert.markdown-alert-important {
|
|
1169
|
+
border-left-color: var(--color-done-emphasis);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title {
|
|
1173
|
+
color: var(--color-done-fg);
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.markdown-body .markdown-alert.markdown-alert-warning {
|
|
1177
|
+
border-left-color: var(--color-attention-emphasis);
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title {
|
|
1181
|
+
color: var(--color-attention-fg);
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
.markdown-body .markdown-alert.markdown-alert-tip {
|
|
1185
|
+
border-left-color: var(--color-success-emphasis);
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title {
|
|
1189
|
+
color: var(--color-success-fg);
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.markdown-body .markdown-alert.markdown-alert-caution {
|
|
1193
|
+
border-left-color: var(--color-danger-emphasis);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title {
|
|
1197
|
+
color: var(--color-danger-fg);
|
|
1198
|
+
}
|
|
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _Readme = _interopRequireDefault(require("./Readme"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
14
|
//# sourceMappingURL=index.js.map
|