@seqera/docusaurus-theme-seqera 1.0.0 → 1.0.2-next.10
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 +3 -3
- package/lib/getSwizzleConfig.d.ts +2 -0
- package/lib/getSwizzleConfig.js +400 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +113 -0
- package/lib/inlineScripts.d.ts +10 -0
- package/lib/inlineScripts.js +72 -0
- package/lib/inlineSvgSprites.d.ts +1 -0
- package/lib/inlineSvgSprites.js +8 -0
- package/lib/main-styles.css +322 -0
- package/lib/nprogress.css +36 -0
- package/lib/nprogress.d.ts +4 -0
- package/lib/nprogress.js +19 -0
- package/lib/options.d.ts +8 -0
- package/lib/options.js +427 -0
- package/lib/prism-include-languages.d.ts +1 -0
- package/lib/prism-include-languages.js +3 -0
- package/lib/styles/api.css +42 -0
- package/lib/styles/typography.css +342 -0
- package/lib/theme/Admonition/Icon/Danger.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Danger.js +11 -0
- package/lib/theme/Admonition/Icon/Info.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Info.js +11 -0
- package/lib/theme/Admonition/Icon/Note.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Note.js +11 -0
- package/lib/theme/Admonition/Icon/Tip.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Tip.js +11 -0
- package/lib/theme/Admonition/Icon/Warning.d.ts +3 -0
- package/lib/theme/Admonition/Icon/Warning.js +11 -0
- package/lib/theme/Admonition/Layout/index.d.ts +3 -0
- package/lib/theme/Admonition/Layout/index.js +40 -0
- package/lib/theme/Admonition/Layout/styles.module.css +39 -0
- package/lib/theme/Admonition/Type/Caution.d.ts +3 -0
- package/lib/theme/Admonition/Type/Caution.js +28 -0
- package/lib/theme/Admonition/Type/Danger.d.ts +3 -0
- package/lib/theme/Admonition/Type/Danger.js +26 -0
- package/lib/theme/Admonition/Type/Info.d.ts +3 -0
- package/lib/theme/Admonition/Type/Info.js +26 -0
- package/lib/theme/Admonition/Type/Note.d.ts +3 -0
- package/lib/theme/Admonition/Type/Note.js +26 -0
- package/lib/theme/Admonition/Type/Tip.d.ts +3 -0
- package/lib/theme/Admonition/Type/Tip.js +26 -0
- package/lib/theme/Admonition/Type/Warning.d.ts +3 -0
- package/lib/theme/Admonition/Type/Warning.js +26 -0
- package/lib/theme/Admonition/Types.d.ts +5 -0
- package/lib/theme/Admonition/Types.js +27 -0
- package/lib/theme/Admonition/index.d.ts +3 -0
- package/lib/theme/Admonition/index.js +18 -0
- package/lib/theme/AdmonitionVersioned/AddedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/AddedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/AdmonitionVersioned.d.ts +18 -0
- package/lib/theme/AdmonitionVersioned/AdmonitionVersioned.js +43 -0
- package/lib/theme/AdmonitionVersioned/ChangedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/ChangedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/DeprecatedInVersion.d.ts +8 -0
- package/lib/theme/AdmonitionVersioned/DeprecatedInVersion.js +6 -0
- package/lib/theme/AdmonitionVersioned/getStableVersion.d.ts +4 -0
- package/lib/theme/AdmonitionVersioned/getStableVersion.js +20 -0
- package/lib/theme/AdmonitionVersioned/index.d.ts +1 -0
- package/lib/theme/AdmonitionVersioned/index.js +5 -0
- package/lib/theme/AdmonitionVersioned/stableVersions.d.ts +20 -0
- package/lib/theme/AdmonitionVersioned/stableVersions.js +91 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +3 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.js +20 -0
- package/lib/theme/AnnouncementBar/CloseButton/styles.module.css +6 -0
- package/lib/theme/AnnouncementBar/Content/index.d.ts +3 -0
- package/lib/theme/AnnouncementBar/Content/index.js +17 -0
- package/lib/theme/AnnouncementBar/Content/styles.module.css +12 -0
- package/lib/theme/AnnouncementBar/index.d.ts +2 -0
- package/lib/theme/AnnouncementBar/index.js +33 -0
- package/lib/theme/AnnouncementBar/styles.module.css +57 -0
- package/lib/theme/BackToTopButton/index.d.ts +2 -0
- package/lib/theme/BackToTopButton/index.js +26 -0
- package/lib/theme/BackToTopButton/styles.module.css +39 -0
- package/lib/theme/Blog/Components/Author/Socials/index.d.ts +5 -0
- package/lib/theme/Blog/Components/Author/Socials/index.js +57 -0
- package/lib/theme/Blog/Components/Author/Socials/styles.module.css +34 -0
- package/lib/theme/Blog/Components/Author/index.d.ts +3 -0
- package/lib/theme/Blog/Components/Author/index.js +84 -0
- package/lib/theme/Blog/Components/Author/styles.module.css +69 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +3 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/index.js +48 -0
- package/lib/theme/Blog/Pages/BlogAuthorsListPage/styles.module.css +6 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +3 -0
- package/lib/theme/Blog/Pages/BlogAuthorsPostsPage/index.js +70 -0
- package/lib/theme/BlogArchivePage/index.d.ts +3 -0
- package/lib/theme/BlogArchivePage/index.js +87 -0
- package/lib/theme/BlogLayout/index.d.ts +3 -0
- package/lib/theme/BlogLayout/index.js +25 -0
- package/lib/theme/BlogListPage/StructuredData/index.d.ts +3 -0
- package/lib/theme/BlogListPage/StructuredData/index.js +13 -0
- package/lib/theme/BlogListPage/index.d.ts +3 -0
- package/lib/theme/BlogListPage/index.js +50 -0
- package/lib/theme/BlogListPaginator/index.d.ts +3 -0
- package/lib/theme/BlogListPaginator/index.js +42 -0
- package/lib/theme/BlogPostItem/Container/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Container/index.js +4 -0
- package/lib/theme/BlogPostItem/Content/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Content/index.js +16 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.js +32 -0
- package/lib/theme/BlogPostItem/Footer/index.d.ts +2 -0
- package/lib/theme/BlogPostItem/Footer/index.js +76 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.js +43 -0
- package/lib/theme/BlogPostItem/Header/Authors/styles.module.css +15 -0
- package/lib/theme/BlogPostItem/Header/Info/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Info/index.js +58 -0
- package/lib/theme/BlogPostItem/Header/Info/styles.module.css +5 -0
- package/lib/theme/BlogPostItem/Header/Title/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/Header/Title/index.js +15 -0
- package/lib/theme/BlogPostItem/Header/Title/styles.module.css +14 -0
- package/lib/theme/BlogPostItem/Header/index.d.ts +2 -0
- package/lib/theme/BlogPostItem/Header/index.js +13 -0
- package/lib/theme/BlogPostItem/index.d.ts +3 -0
- package/lib/theme/BlogPostItem/index.js +22 -0
- package/lib/theme/BlogPostItems/index.d.ts +3 -0
- package/lib/theme/BlogPostItems/index.js +21 -0
- package/lib/theme/BlogPostPage/Metadata/index.d.ts +2 -0
- package/lib/theme/BlogPostPage/Metadata/index.js +35 -0
- package/lib/theme/BlogPostPage/StructuredData/index.d.ts +2 -0
- package/lib/theme/BlogPostPage/StructuredData/index.js +13 -0
- package/lib/theme/BlogPostPage/index.d.ts +3 -0
- package/lib/theme/BlogPostPage/index.js +62 -0
- package/lib/theme/BlogPostPaginator/index.d.ts +3 -0
- package/lib/theme/BlogPostPaginator/index.js +41 -0
- package/lib/theme/BlogSidebar/Content/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Content/index.js +35 -0
- package/lib/theme/BlogSidebar/Desktop/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Desktop/index.js +45 -0
- package/lib/theme/BlogSidebar/Desktop/styles.module.css +46 -0
- package/lib/theme/BlogSidebar/Mobile/index.d.ts +5 -0
- package/lib/theme/BlogSidebar/Mobile/index.js +38 -0
- package/lib/theme/BlogSidebar/Mobile/styles.module.css +5 -0
- package/lib/theme/BlogSidebar/index.d.ts +3 -0
- package/lib/theme/BlogSidebar/index.js +15 -0
- package/lib/theme/BlogTagsListPage/index.d.ts +3 -0
- package/lib/theme/BlogTagsListPage/index.js +29 -0
- package/lib/theme/BlogTagsPostsPage/index.d.ts +3 -0
- package/lib/theme/BlogTagsPostsPage/index.js +58 -0
- package/lib/theme/CodeBlock/Buttons/Button/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/Button/index.js +7 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/index.js +64 -0
- package/lib/theme/CodeBlock/Buttons/CopyButton/styles.module.css +42 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/index.js +32 -0
- package/lib/theme/CodeBlock/Buttons/WordWrapButton/styles.module.css +10 -0
- package/lib/theme/CodeBlock/Buttons/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Buttons/index.js +21 -0
- package/lib/theme/CodeBlock/Buttons/styles.module.css +32 -0
- package/lib/theme/CodeBlock/Container/index.d.ts +4 -0
- package/lib/theme/CodeBlock/Container/index.js +21 -0
- package/lib/theme/CodeBlock/Container/styles.module.css +9 -0
- package/lib/theme/CodeBlock/Content/Element.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/Element.js +19 -0
- package/lib/theme/CodeBlock/Content/String.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/String.js +31 -0
- package/lib/theme/CodeBlock/Content/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Content/index.js +68 -0
- package/lib/theme/CodeBlock/Content/styles.module.css +30 -0
- package/lib/theme/CodeBlock/Layout/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Layout/index.js +24 -0
- package/lib/theme/CodeBlock/Layout/styles.module.css +22 -0
- package/lib/theme/CodeBlock/Line/Token/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Line/Token/index.js +5 -0
- package/lib/theme/CodeBlock/Line/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Line/index.js +48 -0
- package/lib/theme/CodeBlock/Line/styles.module.css +47 -0
- package/lib/theme/CodeBlock/Title/index.d.ts +3 -0
- package/lib/theme/CodeBlock/Title/index.js +4 -0
- package/lib/theme/CodeBlock/index.d.ts +3 -0
- package/lib/theme/CodeBlock/index.js +32 -0
- package/lib/theme/CodeInline/index.d.ts +3 -0
- package/lib/theme/CodeInline/index.js +7 -0
- package/lib/theme/ColorModeToggle/index.d.ts +5 -0
- package/lib/theme/ColorModeToggle/index.js +115 -0
- package/lib/theme/ColorModeToggle/styles.module.css +35 -0
- package/lib/theme/ContentVisibility/Draft/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/Draft/index.js +18 -0
- package/lib/theme/ContentVisibility/Unlisted/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/Unlisted/index.js +32 -0
- package/lib/theme/ContentVisibility/index.d.ts +3 -0
- package/lib/theme/ContentVisibility/index.js +15 -0
- package/lib/theme/Details/index.d.ts +3 -0
- package/lib/theme/Details/index.js +15 -0
- package/lib/theme/Details/styles.module.css +8 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/index.d.ts +2 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/index.js +22 -0
- package/lib/theme/DocBreadcrumbs/Items/Home/styles.module.css +9 -0
- package/lib/theme/DocBreadcrumbs/StructuredData/index.d.ts +3 -0
- package/lib/theme/DocBreadcrumbs/StructuredData/index.js +15 -0
- package/lib/theme/DocBreadcrumbs/index.d.ts +2 -0
- package/lib/theme/DocBreadcrumbs/index.js +76 -0
- package/lib/theme/DocBreadcrumbs/styles.module.css +14 -0
- package/lib/theme/DocCard/index.d.ts +3 -0
- package/lib/theme/DocCard/index.js +96 -0
- package/lib/theme/DocCard/styles.module.css +29 -0
- package/lib/theme/DocCardList/index.d.ts +3 -0
- package/lib/theme/DocCardList/index.js +33 -0
- package/lib/theme/DocCardList/styles.module.css +9 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/index.d.ts +3 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/index.js +57 -0
- package/lib/theme/DocCategoryGeneratedIndexPage/styles.module.css +13 -0
- package/lib/theme/DocItem/Content/index.d.ts +3 -0
- package/lib/theme/DocItem/Content/index.js +38 -0
- package/lib/theme/DocItem/Footer/index.d.ts +2 -0
- package/lib/theme/DocItem/Footer/index.js +43 -0
- package/lib/theme/DocItem/Layout/index.d.ts +3 -0
- package/lib/theme/DocItem/Layout/index.js +60 -0
- package/lib/theme/DocItem/Layout/styles.module.css +12 -0
- package/lib/theme/DocItem/Metadata/index.d.ts +2 -0
- package/lib/theme/DocItem/Metadata/index.js +14 -0
- package/lib/theme/DocItem/Paginator/index.d.ts +6 -0
- package/lib/theme/DocItem/Paginator/index.js +17 -0
- package/lib/theme/DocItem/TOC/Desktop/index.d.ts +2 -0
- package/lib/theme/DocItem/TOC/Desktop/index.js +15 -0
- package/lib/theme/DocItem/TOC/Mobile/index.d.ts +2 -0
- package/lib/theme/DocItem/TOC/Mobile/index.js +17 -0
- package/lib/theme/DocItem/TOC/Mobile/styles.module.css +26 -0
- package/lib/theme/DocItem/index.d.ts +3 -0
- package/lib/theme/DocItem/index.js +19 -0
- package/lib/theme/DocPaginator/index.d.ts +3 -0
- package/lib/theme/DocPaginator/index.js +42 -0
- package/lib/theme/DocRoot/Layout/Main/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Main/index.js +23 -0
- package/lib/theme/DocRoot/Layout/Main/styles.module.css +23 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.js +28 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css +29 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.js +70 -0
- package/lib/theme/DocRoot/Layout/Sidebar/styles.module.css +34 -0
- package/lib/theme/DocRoot/Layout/index.d.ts +3 -0
- package/lib/theme/DocRoot/Layout/index.js +27 -0
- package/lib/theme/DocRoot/Layout/styles.module.css +11 -0
- package/lib/theme/DocRoot/index.d.ts +3 -0
- package/lib/theme/DocRoot/index.js +25 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +3 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.js +25 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/styles.module.css +42 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +3 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.js +44 -0
- package/lib/theme/DocSidebar/Desktop/Content/styles.module.css +18 -0
- package/lib/theme/DocSidebar/Desktop/index.d.ts +5 -0
- package/lib/theme/DocSidebar/Desktop/index.js +33 -0
- package/lib/theme/DocSidebar/Desktop/styles.module.css +39 -0
- package/lib/theme/DocSidebar/Mobile/index.d.ts +5 -0
- package/lib/theme/DocSidebar/Mobile/index.js +39 -0
- package/lib/theme/DocSidebar/index.d.ts +3 -0
- package/lib/theme/DocSidebar/index.js +18 -0
- package/lib/theme/DocSidebarItem/Category/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Category/index.js +273 -0
- package/lib/theme/DocSidebarItem/Category/styles.module.css +35 -0
- package/lib/theme/DocSidebarItem/Html/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Html/index.js +23 -0
- package/lib/theme/DocSidebarItem/Html/styles.module.css +8 -0
- package/lib/theme/DocSidebarItem/Link/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/Link/index.js +60 -0
- package/lib/theme/DocSidebarItem/Link/styles.module.css +13 -0
- package/lib/theme/DocSidebarItem/index.d.ts +3 -0
- package/lib/theme/DocSidebarItem/index.js +27 -0
- package/lib/theme/DocSidebarItems/index.d.ts +5 -0
- package/lib/theme/DocSidebarItems/index.js +18 -0
- package/lib/theme/DocTagDocListPage/index.d.ts +3 -0
- package/lib/theme/DocTagDocListPage/index.js +98 -0
- package/lib/theme/DocTagsListPage/index.d.ts +3 -0
- package/lib/theme/DocTagsListPage/index.js +43 -0
- package/lib/theme/DocVersionBadge/index.d.ts +3 -0
- package/lib/theme/DocVersionBadge/index.js +25 -0
- package/lib/theme/DocVersionBanner/index.d.ts +3 -0
- package/lib/theme/DocVersionBanner/index.js +125 -0
- package/lib/theme/DocVersionRoot/index.d.ts +3 -0
- package/lib/theme/DocVersionRoot/index.js +40 -0
- package/lib/theme/DocsRoot/index.d.ts +3 -0
- package/lib/theme/DocsRoot/index.js +12 -0
- package/lib/theme/EditMetaRow/index.d.ts +3 -0
- package/lib/theme/EditMetaRow/index.js +27 -0
- package/lib/theme/EditMetaRow/styles.module.css +19 -0
- package/lib/theme/EditThisPage/index.d.ts +3 -0
- package/lib/theme/EditThisPage/index.js +18 -0
- package/lib/theme/ErrorPageContent.d.ts +3 -0
- package/lib/theme/ErrorPageContent.js +34 -0
- package/lib/theme/Footer/Copyright/index.d.ts +3 -0
- package/lib/theme/Footer/Copyright/index.js +11 -0
- package/lib/theme/Footer/Layout/index.d.ts +3 -0
- package/lib/theme/Footer/Layout/index.js +35 -0
- package/lib/theme/Footer/LinkItem/index.d.ts +3 -0
- package/lib/theme/Footer/LinkItem/index.js +26 -0
- package/lib/theme/Footer/Links/MultiColumn/index.d.ts +3 -0
- package/lib/theme/Footer/Links/MultiColumn/index.js +44 -0
- package/lib/theme/Footer/Links/Simple/index.d.ts +3 -0
- package/lib/theme/Footer/Links/Simple/index.js +32 -0
- package/lib/theme/Footer/Links/index.d.ts +3 -0
- package/lib/theme/Footer/Links/index.js +11 -0
- package/lib/theme/Footer/Logo/index.d.ts +3 -0
- package/lib/theme/Footer/Logo/index.js +35 -0
- package/lib/theme/Footer/Logo/styles.module.css +11 -0
- package/lib/theme/Footer/index.d.ts +4 -0
- package/lib/theme/Footer/index.js +22 -0
- package/lib/theme/Heading/index.d.ts +4 -0
- package/lib/theme/Heading/index.js +42 -0
- package/lib/theme/Heading/styles.module.css +17 -0
- package/lib/theme/Homepage/index.d.ts +5 -0
- package/lib/theme/Homepage/index.js +161 -0
- package/lib/theme/Icon/AI/index.d.ts +3 -0
- package/lib/theme/Icon/AI/index.js +17 -0
- package/lib/theme/Icon/AWS/index.d.ts +3 -0
- package/lib/theme/Icon/AWS/index.js +19 -0
- package/lib/theme/Icon/Arrow/index.d.ts +3 -0
- package/lib/theme/Icon/Arrow/index.js +11 -0
- package/lib/theme/Icon/Azure/index.d.ts +3 -0
- package/lib/theme/Icon/Azure/index.js +26 -0
- package/lib/theme/Icon/Changelog/index.d.ts +3 -0
- package/lib/theme/Icon/Changelog/index.js +22 -0
- package/lib/theme/Icon/ChatBubble/index.d.ts +3 -0
- package/lib/theme/Icon/ChatBubble/index.js +21 -0
- package/lib/theme/Icon/ChatBubbles/index.d.ts +3 -0
- package/lib/theme/Icon/ChatBubbles/index.js +36 -0
- package/lib/theme/Icon/Close/index.d.ts +3 -0
- package/lib/theme/Icon/Close/index.js +17 -0
- package/lib/theme/Icon/Cog/index.d.ts +3 -0
- package/lib/theme/Icon/Cog/index.js +43 -0
- package/lib/theme/Icon/Copy/index.d.ts +3 -0
- package/lib/theme/Icon/Copy/index.js +11 -0
- package/lib/theme/Icon/DarkMode/index.d.ts +3 -0
- package/lib/theme/Icon/DarkMode/index.js +11 -0
- package/lib/theme/Icon/Edit/index.d.ts +3 -0
- package/lib/theme/Icon/Edit/index.js +19 -0
- package/lib/theme/Icon/Edit/styles.module.css +6 -0
- package/lib/theme/Icon/Envelope/index.d.ts +3 -0
- package/lib/theme/Icon/Envelope/index.js +27 -0
- package/lib/theme/Icon/ExternalLink/index.d.ts +3 -0
- package/lib/theme/Icon/ExternalLink/index.js +21 -0
- package/lib/theme/Icon/ExternalLink/styles.module.css +5 -0
- package/lib/theme/Icon/Fusion/index.d.ts +3 -0
- package/lib/theme/Icon/Fusion/index.js +30 -0
- package/lib/theme/Icon/GoogleCloud/index.d.ts +3 -0
- package/lib/theme/Icon/GoogleCloud/index.js +58 -0
- package/lib/theme/Icon/Home/index.d.ts +3 -0
- package/lib/theme/Icon/Home/index.js +11 -0
- package/lib/theme/Icon/Language/index.d.ts +3 -0
- package/lib/theme/Icon/Language/index.js +16 -0
- package/lib/theme/Icon/LightMode/index.d.ts +3 -0
- package/lib/theme/Icon/LightMode/index.js +11 -0
- package/lib/theme/Icon/MCP/index.d.ts +3 -0
- package/lib/theme/Icon/MCP/index.js +72 -0
- package/lib/theme/Icon/Menu/index.d.ts +3 -0
- package/lib/theme/Icon/Menu/index.js +25 -0
- package/lib/theme/Icon/MultiQC/index.d.ts +3 -0
- package/lib/theme/Icon/MultiQC/index.js +23 -0
- package/lib/theme/Icon/Nextflow/index.d.ts +3 -0
- package/lib/theme/Icon/Nextflow/index.js +23 -0
- package/lib/theme/Icon/QuestionMark/index.d.ts +3 -0
- package/lib/theme/Icon/QuestionMark/index.js +44 -0
- package/lib/theme/Icon/SeqeraCloud/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraCloud/index.js +33 -0
- package/lib/theme/Icon/SeqeraEnterprise/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraEnterprise/index.js +370 -0
- package/lib/theme/Icon/SeqeraLogo/index.d.ts +3 -0
- package/lib/theme/Icon/SeqeraLogo/index.js +18 -0
- package/lib/theme/Icon/ServiceStatus/index.d.ts +3 -0
- package/lib/theme/Icon/ServiceStatus/index.js +99 -0
- package/lib/theme/Icon/Sidebar/index.d.ts +3 -0
- package/lib/theme/Icon/Sidebar/index.js +21 -0
- package/lib/theme/Icon/Socials/Bluesky/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Bluesky/index.js +19 -0
- package/lib/theme/Icon/Socials/Bluesky/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Default/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Default/index.js +24 -0
- package/lib/theme/Icon/Socials/Email/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Email/index.js +19 -0
- package/lib/theme/Icon/Socials/GitHub/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/GitHub/index.js +19 -0
- package/lib/theme/Icon/Socials/GitHub/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Instagram/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Instagram/index.js +19 -0
- package/lib/theme/Icon/Socials/Instagram/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/LinkedIn/index.js +19 -0
- package/lib/theme/Icon/Socials/LinkedIn/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Mastodon/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Mastodon/index.js +36 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/StackOverflow/index.js +21 -0
- package/lib/theme/Icon/Socials/Threads/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Threads/index.js +20 -0
- package/lib/theme/Icon/Socials/Threads/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/Twitch/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Twitch/index.js +29 -0
- package/lib/theme/Icon/Socials/Twitter/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/Twitter/index.js +18 -0
- package/lib/theme/Icon/Socials/X/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/X/index.js +19 -0
- package/lib/theme/Icon/Socials/X/styles.module.css +9 -0
- package/lib/theme/Icon/Socials/YouTube/index.d.ts +3 -0
- package/lib/theme/Icon/Socials/YouTube/index.js +19 -0
- package/lib/theme/Icon/Success/index.d.ts +3 -0
- package/lib/theme/Icon/Success/index.js +11 -0
- package/lib/theme/Icon/SystemColorMode/index.d.ts +3 -0
- package/lib/theme/Icon/SystemColorMode/index.js +10 -0
- package/lib/theme/Icon/Wave/index.d.ts +3 -0
- package/lib/theme/Icon/Wave/index.js +30 -0
- package/lib/theme/Icon/WordWrap/index.d.ts +3 -0
- package/lib/theme/Icon/WordWrap/index.js +11 -0
- package/lib/theme/LastUpdated/index.d.ts +3 -0
- package/lib/theme/LastUpdated/index.js +71 -0
- package/lib/theme/Layout/Provider/index.d.ts +3 -0
- package/lib/theme/Layout/Provider/index.js +21 -0
- package/lib/theme/Layout/index.d.ts +3 -0
- package/lib/theme/Layout/index.js +53 -0
- package/lib/theme/Layout/styles.module.css +23 -0
- package/lib/theme/Logo/index.d.ts +3 -0
- package/lib/theme/Logo/index.js +60 -0
- package/lib/theme/MDXComponents/A/index.d.ts +3 -0
- package/lib/theme/MDXComponents/A/index.js +11 -0
- package/lib/theme/MDXComponents/Button/index.d.ts +9 -0
- package/lib/theme/MDXComponents/Button/index.js +31 -0
- package/lib/theme/MDXComponents/Code.d.ts +3 -0
- package/lib/theme/MDXComponents/Code.js +20 -0
- package/lib/theme/MDXComponents/Details.d.ts +3 -0
- package/lib/theme/MDXComponents/Details.js +16 -0
- package/lib/theme/MDXComponents/Heading.d.ts +3 -0
- package/lib/theme/MDXComponents/Heading.js +5 -0
- package/lib/theme/MDXComponents/Img/index.d.ts +3 -0
- package/lib/theme/MDXComponents/Img/index.js +17 -0
- package/lib/theme/MDXComponents/Img/styles.module.css +5 -0
- package/lib/theme/MDXComponents/Li.d.ts +3 -0
- package/lib/theme/MDXComponents/Li.js +12 -0
- package/lib/theme/MDXComponents/Pre.d.ts +3 -0
- package/lib/theme/MDXComponents/Pre.js +6 -0
- package/lib/theme/MDXComponents/Ul/index.d.ts +3 -0
- package/lib/theme/MDXComponents/Ul/index.js +19 -0
- package/lib/theme/MDXComponents/Ul/styles.module.css +9 -0
- package/lib/theme/MDXComponents/index.d.ts +3 -0
- package/lib/theme/MDXComponents/index.js +40 -0
- package/lib/theme/MDXContent/index.d.ts +3 -0
- package/lib/theme/MDXContent/index.js +6 -0
- package/lib/theme/MDXPage/index.d.ts +3 -0
- package/lib/theme/MDXPage/index.js +80 -0
- package/lib/theme/MDXPage/styles.module.css +5 -0
- package/lib/theme/Mermaid.d.ts +1 -0
- package/lib/theme/Mermaid.js +7 -0
- package/lib/theme/Navbar/ColorModeToggle/index.d.ts +3 -0
- package/lib/theme/Navbar/ColorModeToggle/index.js +23 -0
- package/lib/theme/Navbar/ColorModeToggle/styles.module.css +5 -0
- package/lib/theme/Navbar/Content/index.d.ts +2 -0
- package/lib/theme/Navbar/Content/index.js +136 -0
- package/lib/theme/Navbar/Content/styles.module.css +19 -0
- package/lib/theme/Navbar/Layout/index.d.ts +3 -0
- package/lib/theme/Navbar/Layout/index.js +53 -0
- package/lib/theme/Navbar/Layout/styles.module.css +9 -0
- package/lib/theme/Navbar/Logo/index.d.ts +2 -0
- package/lib/theme/Navbar/Logo/index.js +11 -0
- package/lib/theme/Navbar/MobileSidebar/Header/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/Header/index.js +32 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +3 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.js +55 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/styles.module.css +11 -0
- package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/PrimaryMenu/index.js +86 -0
- package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/SecondaryMenu/index.js +33 -0
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/Toggle/index.js +22 -0
- package/lib/theme/Navbar/MobileSidebar/index.d.ts +2 -0
- package/lib/theme/Navbar/MobileSidebar/index.js +23 -0
- package/lib/theme/Navbar/Search/index.d.ts +3 -0
- package/lib/theme/Navbar/Search/index.js +10 -0
- package/lib/theme/Navbar/Search/styles.module.css +22 -0
- package/lib/theme/Navbar/Submenu/SubmenuLinks.d.ts +2 -0
- package/lib/theme/Navbar/Submenu/SubmenuLinks.js +110 -0
- package/lib/theme/Navbar/Submenu/index.d.ts +2 -0
- package/lib/theme/Navbar/Submenu/index.js +77 -0
- package/lib/theme/Navbar/Submenu/styles.module.css +82 -0
- package/lib/theme/Navbar/index.d.ts +2 -0
- package/lib/theme/Navbar/index.js +10 -0
- package/lib/theme/NavbarItem/ComponentTypes.d.ts +3 -0
- package/lib/theme/NavbarItem/ComponentTypes.js +21 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Desktop/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Desktop/index.js +23 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Mobile/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/Mobile/index.js +14 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/index.d.ts +4 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem/index.js +19 -0
- package/lib/theme/NavbarItem/DocNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocNavbarItem.js +32 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.js +29 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.js +133 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.js +16 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Desktop/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Desktop/index.js +68 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/index.d.ts +4 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/index.js +136 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/Mobile/styles.module.css +5 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.js +7 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.js +22 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.js +114 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/styles.module.css +6 -0
- package/lib/theme/NavbarItem/NavbarNavLink.d.ts +3 -0
- package/lib/theme/NavbarItem/NavbarNavLink.js +62 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +3 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.js +13 -0
- package/lib/theme/NavbarItem/index.d.ts +3 -0
- package/lib/theme/NavbarItem/index.js +18 -0
- package/lib/theme/NotFound/Content/index.d.ts +3 -0
- package/lib/theme/NotFound/Content/index.js +38 -0
- package/lib/theme/NotFound/index.d.ts +2 -0
- package/lib/theme/NotFound/index.js +19 -0
- package/lib/theme/PaginatorNavLink/index.d.ts +3 -0
- package/lib/theme/PaginatorNavLink/index.js +19 -0
- package/lib/theme/SearchBar.d.ts +1 -0
- package/lib/theme/SearchBar.js +5 -0
- package/lib/theme/SearchMetadata/index.d.ts +3 -0
- package/lib/theme/SearchMetadata/index.js +28 -0
- package/lib/theme/SiteMetadata/index.d.ts +2 -0
- package/lib/theme/SiteMetadata/index.js +137 -0
- package/lib/theme/SkipToContent/index.d.ts +2 -0
- package/lib/theme/SkipToContent/index.js +6 -0
- package/lib/theme/SkipToContent/styles.module.css +16 -0
- package/lib/theme/TOC/index.d.ts +3 -0
- package/lib/theme/TOC/index.js +22 -0
- package/lib/theme/TOC/styles.module.css +23 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +3 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.js +22 -0
- package/lib/theme/TOCCollapsible/CollapseButton/styles.module.css +27 -0
- package/lib/theme/TOCCollapsible/index.d.ts +3 -0
- package/lib/theme/TOCCollapsible/index.js +37 -0
- package/lib/theme/TOCCollapsible/styles.module.css +26 -0
- package/lib/theme/TOCInline/index.d.ts +3 -0
- package/lib/theme/TOCInline/index.js +16 -0
- package/lib/theme/TOCInline/styles.module.css +7 -0
- package/lib/theme/TOCItems/Tree.d.ts +5 -0
- package/lib/theme/TOCItems/Tree.js +30 -0
- package/lib/theme/TOCItems/index.d.ts +3 -0
- package/lib/theme/TOCItems/index.js +47 -0
- package/lib/theme/TabItem/index.d.ts +3 -0
- package/lib/theme/TabItem/index.js +13 -0
- package/lib/theme/TabItem/styles.module.css +5 -0
- package/lib/theme/Tabs/index.d.ts +3 -0
- package/lib/theme/Tabs/index.js +133 -0
- package/lib/theme/Tabs/styles.module.css +9 -0
- package/lib/theme/Tag/index.d.ts +3 -0
- package/lib/theme/Tag/index.js +20 -0
- package/lib/theme/Tag/styles.module.css +65 -0
- package/lib/theme/TagsListByLetter/index.d.ts +3 -0
- package/lib/theme/TagsListByLetter/index.js +35 -0
- package/lib/theme/TagsListByLetter/styles.module.css +6 -0
- package/lib/theme/TagsListInline/index.d.ts +3 -0
- package/lib/theme/TagsListInline/index.js +25 -0
- package/lib/theme/TagsListInline/styles.module.css +10 -0
- package/lib/theme/ThemeProvider/TitleFormatter/index.d.ts +3 -0
- package/lib/theme/ThemeProvider/TitleFormatter/index.js +13 -0
- package/lib/theme/ThemeProvider/index.d.ts +3 -0
- package/lib/theme/ThemeProvider/index.js +5 -0
- package/lib/theme/ThemedImage/index.d.ts +3 -0
- package/lib/theme/ThemedImage/index.js +17 -0
- package/lib/theme/ThemedImage/styles.module.css +13 -0
- package/lib/theme/pages/Home/index.d.ts +2 -0
- package/lib/theme/pages/Home/index.js +14 -0
- package/lib/theme/prism-include-languages.d.ts +2 -0
- package/lib/theme/prism-include-languages.js +28 -0
- package/lib/translations.d.ts +9 -0
- package/lib/translations.js +172 -0
- package/package.json +4 -3
- package/src/index.ts +3 -3
- package/src/options.ts +1 -1
- package/src/theme-seqera.d.ts +2 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
3
|
+
import {translate} from '@docusaurus/Translate';
|
|
4
|
+
import IconClose from '@theme/Icon/Close';
|
|
5
|
+
import NavbarLogo from '@theme/Navbar/Logo';
|
|
6
|
+
function CloseButton() {
|
|
7
|
+
const mobileSidebar = useNavbarMobileSidebar();
|
|
8
|
+
return (
|
|
9
|
+
<button
|
|
10
|
+
type="button"
|
|
11
|
+
aria-label={translate({
|
|
12
|
+
id: 'theme.docs.sidebar.closeSidebarButtonAriaLabel',
|
|
13
|
+
message: 'Close navigation bar',
|
|
14
|
+
description: 'The ARIA label for close button of mobile sidebar',
|
|
15
|
+
})}
|
|
16
|
+
className="clean-btn navbar-sidebar__close"
|
|
17
|
+
onClick={() => mobileSidebar.toggle()}>
|
|
18
|
+
<IconClose color="var(--ifm-color-emphasis-600)" />
|
|
19
|
+
</button>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export default function NavbarMobileSidebarHeader() {
|
|
23
|
+
return (
|
|
24
|
+
<div className="navbar-sidebar__brand w-full px-4 flex justify-between">
|
|
25
|
+
<div>
|
|
26
|
+
<NavbarLogo />
|
|
27
|
+
</div>
|
|
28
|
+
{/* <NavbarColorModeToggle className="margin-right--md" /> */}
|
|
29
|
+
<CloseButton />
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React, {version} from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import {useNavbarSecondaryMenu} from '@docusaurus/theme-common/internal';
|
|
4
|
+
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
5
|
+
// TODO Docusaurus v4: remove temporary inert workaround
|
|
6
|
+
// See https://github.com/facebook/react/issues/17157
|
|
7
|
+
// See https://github.com/radix-ui/themes/pull/509
|
|
8
|
+
function inertProps(inert) {
|
|
9
|
+
const isBeforeReact19 = parseInt(version.split('.')[0], 10) < 19;
|
|
10
|
+
if (isBeforeReact19) {
|
|
11
|
+
return {inert: inert ? '' : undefined};
|
|
12
|
+
}
|
|
13
|
+
return {inert};
|
|
14
|
+
}
|
|
15
|
+
function NavbarMobileSidebarPanel({children, inert}) {
|
|
16
|
+
return (
|
|
17
|
+
<div className={clsx('relative w-full h-full p-4')} {...inertProps(inert)}>
|
|
18
|
+
{children}
|
|
19
|
+
</div>
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
export default function NavbarMobileSidebarLayout({
|
|
23
|
+
header,
|
|
24
|
+
primaryMenu,
|
|
25
|
+
secondaryMenu,
|
|
26
|
+
}) {
|
|
27
|
+
const {shown: secondaryMenuShown} = useNavbarSecondaryMenu();
|
|
28
|
+
return (
|
|
29
|
+
<div
|
|
30
|
+
className={clsx(
|
|
31
|
+
ThemeClassNames.layout.navbar.mobileSidebar.container,
|
|
32
|
+
'navbar-sidebar',
|
|
33
|
+
)}>
|
|
34
|
+
{header}
|
|
35
|
+
|
|
36
|
+
<div
|
|
37
|
+
className={clsx('mobilemenu', {
|
|
38
|
+
hidden: secondaryMenuShown,
|
|
39
|
+
})}>
|
|
40
|
+
<NavbarMobileSidebarPanel inert={secondaryMenuShown}>
|
|
41
|
+
{primaryMenu}
|
|
42
|
+
</NavbarMobileSidebarPanel>
|
|
43
|
+
</div>
|
|
44
|
+
<div
|
|
45
|
+
className={clsx('mobilemenu', {
|
|
46
|
+
flex: secondaryMenuShown,
|
|
47
|
+
hidden: !secondaryMenuShown,
|
|
48
|
+
})}>
|
|
49
|
+
<NavbarMobileSidebarPanel inert={!secondaryMenuShown}>
|
|
50
|
+
{secondaryMenu}
|
|
51
|
+
</NavbarMobileSidebarPanel>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {useThemeConfig} from '@docusaurus/theme-common';
|
|
3
|
+
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
4
|
+
import NavbarItem from '@theme/NavbarItem';
|
|
5
|
+
import SubmenuLinks from '../../Submenu/SubmenuLinks';
|
|
6
|
+
import Link from '@docusaurus/Link';
|
|
7
|
+
function useNavbarItems() {
|
|
8
|
+
// TODO temporary casting until ThemeConfig type is improved
|
|
9
|
+
return useThemeConfig().navbar.items;
|
|
10
|
+
}
|
|
11
|
+
// The primary menu displays the navbar items
|
|
12
|
+
export default function NavbarMobilePrimaryMenu() {
|
|
13
|
+
const mobileSidebar = useNavbarMobileSidebar();
|
|
14
|
+
// TODO how can the order be defined for mobile?
|
|
15
|
+
// Should we allow providing a different list of items?
|
|
16
|
+
const items = useNavbarItems();
|
|
17
|
+
return (
|
|
18
|
+
<div>
|
|
19
|
+
<div className="relative flex flex-row justify-center items-stretch w-full max-w-full mb-10">
|
|
20
|
+
<a
|
|
21
|
+
className="btn btn-primary shadow-none border text-white btn-sm px-6 py-1 text-[.9rem] mr-2 flex-1"
|
|
22
|
+
href="https://cloud.seqera.io/oauth/login/auth0">
|
|
23
|
+
Log In
|
|
24
|
+
</a>
|
|
25
|
+
<a
|
|
26
|
+
className="btn btn-outline shadow-none btn-sm border flex-1 px-6 py-1 text-[.9rem] hover:border-black hover:bg-black bg-white text-black dark:text-black hover:text-white"
|
|
27
|
+
href="https://cloud.seqera.io/oauth/login/auth0">
|
|
28
|
+
Sign Up
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
31
|
+
<ul className="menu__list relative w-full">
|
|
32
|
+
<div className="flex flex-row">
|
|
33
|
+
<div>
|
|
34
|
+
<h3 className="font-semibold mb-3 text-[.8rem] text-gray-900 dark:text-gray-100">
|
|
35
|
+
Docs
|
|
36
|
+
</h3>
|
|
37
|
+
|
|
38
|
+
{items.map((item, i) => (
|
|
39
|
+
<NavbarItem
|
|
40
|
+
mobile
|
|
41
|
+
{...item}
|
|
42
|
+
onClick={() => mobileSidebar.toggle()}
|
|
43
|
+
key={i}
|
|
44
|
+
/>
|
|
45
|
+
))}
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div className="flex flex-col ml-20">
|
|
49
|
+
<h3 className="font-semibold mb-3 text-[.8rem] text-gray-900 dark:text-gray-100">
|
|
50
|
+
Resources
|
|
51
|
+
</h3>
|
|
52
|
+
|
|
53
|
+
<li className="mb-3">
|
|
54
|
+
<li className="mb-3">
|
|
55
|
+
<Link
|
|
56
|
+
className="menu__link"
|
|
57
|
+
to={'/changelog'}
|
|
58
|
+
aria-label="Changelog">
|
|
59
|
+
Changelog
|
|
60
|
+
</Link>
|
|
61
|
+
</li>
|
|
62
|
+
<Link
|
|
63
|
+
className="menu__link"
|
|
64
|
+
to={'/platform-cloud/seqera-ai'}
|
|
65
|
+
aria-label="Seqera AI">
|
|
66
|
+
Seqera AI
|
|
67
|
+
</Link>
|
|
68
|
+
</li>
|
|
69
|
+
<li className="mb-3">
|
|
70
|
+
<Link
|
|
71
|
+
className="menu__link"
|
|
72
|
+
to={'/platform-cloud/seqera-mcp'}
|
|
73
|
+
aria-label="Seqera MCP">
|
|
74
|
+
Seqera MCP
|
|
75
|
+
</Link>
|
|
76
|
+
</li>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</ul>
|
|
80
|
+
|
|
81
|
+
<div className="w-full border-t border-gray-600 pt-4 mt-8">
|
|
82
|
+
<SubmenuLinks />
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {useThemeConfig} from '@docusaurus/theme-common';
|
|
3
|
+
import {useNavbarSecondaryMenu} from '@docusaurus/theme-common/internal';
|
|
4
|
+
import Translate from '@docusaurus/Translate';
|
|
5
|
+
function SecondaryMenuBackButton(props) {
|
|
6
|
+
return (
|
|
7
|
+
<button
|
|
8
|
+
{...props}
|
|
9
|
+
type="button"
|
|
10
|
+
className="clean-btn navbar-sidebar__back mb-4 text-[.875rem] text-gray-900 font-semibold mt-4">
|
|
11
|
+
<Translate
|
|
12
|
+
id="theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel"
|
|
13
|
+
description="The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)">
|
|
14
|
+
← Main Menu
|
|
15
|
+
</Translate>
|
|
16
|
+
</button>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
// The secondary menu slides from the right and shows contextual information
|
|
20
|
+
// such as the docs sidebar
|
|
21
|
+
export default function NavbarMobileSidebarSecondaryMenu() {
|
|
22
|
+
const isPrimaryMenuEmpty = useThemeConfig().navbar.items.length === 0;
|
|
23
|
+
const secondaryMenu = useNavbarSecondaryMenu();
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
{/* edge-case: prevent returning to the primaryMenu when it's empty */}
|
|
27
|
+
{!isPrimaryMenuEmpty && (
|
|
28
|
+
<SecondaryMenuBackButton onClick={() => secondaryMenu.hide()} />
|
|
29
|
+
)}
|
|
30
|
+
{secondaryMenu.content}
|
|
31
|
+
</>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {useNavbarMobileSidebar} from '@docusaurus/theme-common/internal';
|
|
3
|
+
import {translate} from '@docusaurus/Translate';
|
|
4
|
+
import IconMenu from '@theme/Icon/Menu';
|
|
5
|
+
export default function MobileSidebarToggle() {
|
|
6
|
+
const {toggle, shown} = useNavbarMobileSidebar();
|
|
7
|
+
return (
|
|
8
|
+
<button
|
|
9
|
+
onClick={toggle}
|
|
10
|
+
aria-label={translate({
|
|
11
|
+
id: 'theme.docs.sidebar.toggleSidebarButtonAriaLabel',
|
|
12
|
+
message: 'Toggle navigation bar',
|
|
13
|
+
description:
|
|
14
|
+
'The ARIA label for hamburger menu button of mobile navigation',
|
|
15
|
+
})}
|
|
16
|
+
aria-expanded={shown}
|
|
17
|
+
className="navbar__toggle clean-btn"
|
|
18
|
+
type="button">
|
|
19
|
+
<IconMenu />
|
|
20
|
+
</button>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
useLockBodyScroll,
|
|
4
|
+
useNavbarMobileSidebar,
|
|
5
|
+
} from '@docusaurus/theme-common/internal';
|
|
6
|
+
import NavbarMobileSidebarLayout from '@theme/Navbar/MobileSidebar/Layout';
|
|
7
|
+
import NavbarMobileSidebarHeader from '@theme/Navbar/MobileSidebar/Header';
|
|
8
|
+
import NavbarMobileSidebarPrimaryMenu from '@theme/Navbar/MobileSidebar/PrimaryMenu';
|
|
9
|
+
import NavbarMobileSidebarSecondaryMenu from '@theme/Navbar/MobileSidebar/SecondaryMenu';
|
|
10
|
+
export default function NavbarMobileSidebar() {
|
|
11
|
+
const mobileSidebar = useNavbarMobileSidebar();
|
|
12
|
+
useLockBodyScroll(mobileSidebar.shown);
|
|
13
|
+
if (!mobileSidebar.shouldRender) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
return (
|
|
17
|
+
<NavbarMobileSidebarLayout
|
|
18
|
+
header={<NavbarMobileSidebarHeader />}
|
|
19
|
+
primaryMenu={<NavbarMobileSidebarPrimaryMenu />}
|
|
20
|
+
secondaryMenu={<NavbarMobileSidebarSecondaryMenu />}
|
|
21
|
+
/>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import styles from './styles.module.css';
|
|
4
|
+
export default function NavbarSearch({children, className}) {
|
|
5
|
+
return (
|
|
6
|
+
<div className={clsx(className, styles.navbarSearchContainer)}>
|
|
7
|
+
{children}
|
|
8
|
+
</div>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
Workaround to avoid rendering empty search container
|
|
5
|
+
See https://github.com/facebook/docusaurus/pull/9385
|
|
6
|
+
*/
|
|
7
|
+
.navbarSearchContainer:empty {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (max-width: 996px) {
|
|
12
|
+
.navbarSearchContainer {
|
|
13
|
+
position: absolute;
|
|
14
|
+
right: var(--ifm-navbar-padding-horizontal);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-width: 997px) {
|
|
19
|
+
.navbarSearchContainer {
|
|
20
|
+
padding: 0 var(--ifm-navbar-item-padding-horizontal);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import Link from '@docusaurus/Link';
|
|
4
|
+
import IconNextflow from '@theme/Icon/Nextflow';
|
|
5
|
+
import IconSeqeraLogo from '@theme/Icon/SeqeraLogo';
|
|
6
|
+
import IconQuestionMark from '@theme/Icon/QuestionMark';
|
|
7
|
+
import IconChatBubble from '@theme/Icon/ChatBubble';
|
|
8
|
+
import IconChatBubbles from '@theme/Icon/ChatBubbles';
|
|
9
|
+
import IconAI from '@theme/Icon/AI';
|
|
10
|
+
import IconEnvelope from '@theme/Icon/Envelope';
|
|
11
|
+
const LINKS_CONFIG = {
|
|
12
|
+
Help: [
|
|
13
|
+
{
|
|
14
|
+
label: 'Forum',
|
|
15
|
+
href: 'https://community.seqera.io',
|
|
16
|
+
icon: IconChatBubbles,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: 'Support Portal',
|
|
20
|
+
href: 'https://support.seqera.io',
|
|
21
|
+
icon: IconQuestionMark,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: 'Nextflow Slack',
|
|
25
|
+
href: 'https://www.nextflow.io/slack-invite.html',
|
|
26
|
+
icon: IconNextflow,
|
|
27
|
+
},
|
|
28
|
+
{label: 'Seqera AI', href: '/ask-ai', icon: IconAI},
|
|
29
|
+
],
|
|
30
|
+
Company: [
|
|
31
|
+
{label: 'Seqera.io', href: '/about/', icon: IconSeqeraLogo},
|
|
32
|
+
{label: 'Contact us', href: '/contact-us/', icon: IconEnvelope},
|
|
33
|
+
{label: 'Submit Feedback', href: '/feedback/', icon: IconChatBubble},
|
|
34
|
+
],
|
|
35
|
+
};
|
|
36
|
+
function isActive(path) {
|
|
37
|
+
if (typeof window === 'undefined') return false;
|
|
38
|
+
return window.location.pathname === path;
|
|
39
|
+
}
|
|
40
|
+
function getLinkHref(to) {
|
|
41
|
+
if (to.startsWith('http')) {
|
|
42
|
+
return to;
|
|
43
|
+
}
|
|
44
|
+
return `https://seqera.io${to}`;
|
|
45
|
+
}
|
|
46
|
+
function isExternalNonSeqera(href) {
|
|
47
|
+
return href.startsWith('http') && !href.includes('seqera.io');
|
|
48
|
+
}
|
|
49
|
+
function LinkItem({to, children}) {
|
|
50
|
+
const href = getLinkHref(to);
|
|
51
|
+
const isExternal = isExternalNonSeqera(href);
|
|
52
|
+
const externalProps = isExternal
|
|
53
|
+
? {target: '_blank', rel: 'noopener noreferrer'}
|
|
54
|
+
: {};
|
|
55
|
+
return (
|
|
56
|
+
<Link
|
|
57
|
+
to={href}
|
|
58
|
+
{...externalProps}
|
|
59
|
+
className={clsx(
|
|
60
|
+
'flex items-center gap-2 px-2 rounded-md h-[37px] mb-1',
|
|
61
|
+
'text-sm text-gray-900 dark:text-gray-100',
|
|
62
|
+
'transition-all duration-500 ease-in-out',
|
|
63
|
+
'hover:bg-nextflow-100 dark:hover:bg-gray-800 hover:no-underline',
|
|
64
|
+
isActive(href) && 'bg-blue-50 dark:bg-blue-900/30',
|
|
65
|
+
)}>
|
|
66
|
+
{children}
|
|
67
|
+
</Link>
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
function Column({title, links}) {
|
|
71
|
+
return (
|
|
72
|
+
<div className="flex flex-col items-start">
|
|
73
|
+
<h3 className="text-[0.8rem] font-semibold my-0.5 text-gray-900 dark:text-gray-100">
|
|
74
|
+
{title}
|
|
75
|
+
</h3>
|
|
76
|
+
<ul className="mt-3 -mx-2 p-0 list-none mb-0">
|
|
77
|
+
{links.map(({label, href, icon: Icon}) => (
|
|
78
|
+
<li key={label}>
|
|
79
|
+
<LinkItem to={href}>
|
|
80
|
+
<div
|
|
81
|
+
className={clsx(
|
|
82
|
+
'flex items-center justify-center',
|
|
83
|
+
'w-8 h-8 shrink-0 rounded p-2',
|
|
84
|
+
'border border-gray-300 dark:border-gray-600',
|
|
85
|
+
)}
|
|
86
|
+
style={{
|
|
87
|
+
backgroundColor: 'var(--ifm-navbar-background-color)',
|
|
88
|
+
borderColor: 'var(--ifm-color-emphasis-300)',
|
|
89
|
+
}}>
|
|
90
|
+
<Icon className="text-black dark:text-white" />
|
|
91
|
+
</div>
|
|
92
|
+
<span className="text-black dark:text-white">{label}</span>
|
|
93
|
+
</LinkItem>
|
|
94
|
+
</li>
|
|
95
|
+
))}
|
|
96
|
+
</ul>
|
|
97
|
+
</div>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
export default function SubmenuLinks() {
|
|
101
|
+
return (
|
|
102
|
+
<div className="flex p-2">
|
|
103
|
+
<div className="flex-auto flex flex-row gap-8">
|
|
104
|
+
{Object.entries(LINKS_CONFIG).map(([title, links]) => (
|
|
105
|
+
<Column key={title} title={title} links={links} />
|
|
106
|
+
))}
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React, {useState, useRef, useEffect} from 'react';
|
|
2
|
+
import {translate} from '@docusaurus/Translate';
|
|
3
|
+
import styles from './styles.module.css';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import SubmenuLinks from './SubmenuLinks';
|
|
6
|
+
export default function Submenu() {
|
|
7
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
8
|
+
const submenuRef = useRef(null);
|
|
9
|
+
const buttonRef = useRef(null);
|
|
10
|
+
const toggle = () => setIsOpen(!isOpen);
|
|
11
|
+
const close = () => setIsOpen(false);
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
const handleClickOutside = (event) => {
|
|
14
|
+
if (
|
|
15
|
+
submenuRef.current &&
|
|
16
|
+
buttonRef.current &&
|
|
17
|
+
!submenuRef.current.contains(event.target) &&
|
|
18
|
+
!buttonRef.current.contains(event.target)
|
|
19
|
+
) {
|
|
20
|
+
close();
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
const handleEscape = (event) => {
|
|
24
|
+
if (event.key === 'Escape') {
|
|
25
|
+
close();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
if (isOpen) {
|
|
29
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
30
|
+
document.addEventListener('keydown', handleEscape);
|
|
31
|
+
}
|
|
32
|
+
return () => {
|
|
33
|
+
document.removeEventListener('mousedown', handleClickOutside);
|
|
34
|
+
document.removeEventListener('keydown', handleEscape);
|
|
35
|
+
};
|
|
36
|
+
}, [isOpen]);
|
|
37
|
+
return (
|
|
38
|
+
<>
|
|
39
|
+
<button
|
|
40
|
+
ref={buttonRef}
|
|
41
|
+
onClick={toggle}
|
|
42
|
+
className="hover:opacity-70"
|
|
43
|
+
aria-label={translate({
|
|
44
|
+
id: 'theme.docs.sidebar.toggleSidebarButtonAriaLabel',
|
|
45
|
+
message: 'Toggle navigation bar',
|
|
46
|
+
description: 'The ARIA label for hamburger menu button',
|
|
47
|
+
})}
|
|
48
|
+
aria-expanded={isOpen}
|
|
49
|
+
type="button">
|
|
50
|
+
<div className={clsx(styles.hamburger)}>
|
|
51
|
+
<span />
|
|
52
|
+
<span />
|
|
53
|
+
<span />
|
|
54
|
+
</div>
|
|
55
|
+
</button>
|
|
56
|
+
|
|
57
|
+
<div
|
|
58
|
+
ref={submenuRef}
|
|
59
|
+
style={{
|
|
60
|
+
backgroundColor: 'var(--ifm-navbar-background-color)',
|
|
61
|
+
borderColor: 'var(--ifm-color-emphasis-300)',
|
|
62
|
+
}}
|
|
63
|
+
className={clsx(
|
|
64
|
+
styles.submenu,
|
|
65
|
+
'border rounded-sm',
|
|
66
|
+
'border-gray-300 dark:border-gray-700',
|
|
67
|
+
isOpen && styles.open,
|
|
68
|
+
)}>
|
|
69
|
+
<div className="flex p-2 pl-4">
|
|
70
|
+
<div className="flex-auto flex">
|
|
71
|
+
<SubmenuLinks />
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</>
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
.hamburger {
|
|
2
|
+
position: relative;
|
|
3
|
+
transition: all 0.3s ease-in-out;
|
|
4
|
+
outline: none !important;
|
|
5
|
+
border: none;
|
|
6
|
+
background: transparent;
|
|
7
|
+
padding: 0;
|
|
8
|
+
margin: 0;
|
|
9
|
+
border-radius: 0;
|
|
10
|
+
width: 40px;
|
|
11
|
+
&:hover {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
background: transparent;
|
|
14
|
+
}
|
|
15
|
+
&:focus {
|
|
16
|
+
border: 2px solid blue;
|
|
17
|
+
}
|
|
18
|
+
& span {
|
|
19
|
+
width: 20px;
|
|
20
|
+
height: 2px;
|
|
21
|
+
background-color: black;
|
|
22
|
+
display: block;
|
|
23
|
+
margin: 4.8px auto;
|
|
24
|
+
transition: all 0.3s ease-in-out;
|
|
25
|
+
}
|
|
26
|
+
&:before {
|
|
27
|
+
content: '';
|
|
28
|
+
position: absolute;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
width: 20px;
|
|
31
|
+
height: 42px;
|
|
32
|
+
border: 3px solid transparent;
|
|
33
|
+
top: calc(50% - 21px);
|
|
34
|
+
left: calc(50% - 21px);
|
|
35
|
+
border-radius: 100%;
|
|
36
|
+
transition: all 0.3s ease-in-out;
|
|
37
|
+
background: none;
|
|
38
|
+
}
|
|
39
|
+
&.open {
|
|
40
|
+
@media (max-width: 996px) {
|
|
41
|
+
transform: rotate(45deg) translate(0, 0);
|
|
42
|
+
& span {
|
|
43
|
+
width: 21px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
& span:nth-child(2) {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& span:nth-child(1) {
|
|
51
|
+
transform: translateY(7px);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& span:nth-child(3) {
|
|
55
|
+
transform: translateY(-6.5px) rotate(90deg);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
html[data-theme='dark'] .hamburger {
|
|
62
|
+
&:focus {
|
|
63
|
+
border: 2px solid #f1f1f1;
|
|
64
|
+
}
|
|
65
|
+
& span {
|
|
66
|
+
background-color: #f1f1f1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.submenu {
|
|
71
|
+
display: none;
|
|
72
|
+
position: fixed;
|
|
73
|
+
top: 3.5rem;
|
|
74
|
+
right: 1.5rem;
|
|
75
|
+
width: auto;
|
|
76
|
+
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
|
|
77
|
+
z-index: 200;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.submenu.open {
|
|
81
|
+
display: flex;
|
|
82
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import DefaultNavbarItem from '@theme/NavbarItem/DefaultNavbarItem';
|
|
2
|
+
import DropdownNavbarItem from '@theme/NavbarItem/DropdownNavbarItem';
|
|
3
|
+
import LocaleDropdownNavbarItem from '@theme/NavbarItem/LocaleDropdownNavbarItem';
|
|
4
|
+
import SearchNavbarItem from '@theme/NavbarItem/SearchNavbarItem';
|
|
5
|
+
import HtmlNavbarItem from '@theme/NavbarItem/HtmlNavbarItem';
|
|
6
|
+
import DocNavbarItem from '@theme/NavbarItem/DocNavbarItem';
|
|
7
|
+
import DocSidebarNavbarItem from '@theme/NavbarItem/DocSidebarNavbarItem';
|
|
8
|
+
import DocsVersionNavbarItem from '@theme/NavbarItem/DocsVersionNavbarItem';
|
|
9
|
+
import DocsVersionDropdownNavbarItem from '@theme/NavbarItem/DocsVersionDropdownNavbarItem';
|
|
10
|
+
const ComponentTypes = {
|
|
11
|
+
default: DefaultNavbarItem,
|
|
12
|
+
localeDropdown: LocaleDropdownNavbarItem,
|
|
13
|
+
search: SearchNavbarItem,
|
|
14
|
+
dropdown: DropdownNavbarItem,
|
|
15
|
+
html: HtmlNavbarItem,
|
|
16
|
+
doc: DocNavbarItem,
|
|
17
|
+
docSidebar: DocSidebarNavbarItem,
|
|
18
|
+
docsVersion: DocsVersionNavbarItem,
|
|
19
|
+
docsVersionDropdown: DocsVersionDropdownNavbarItem,
|
|
20
|
+
};
|
|
21
|
+
export default ComponentTypes;
|