@cbnventures/docusaurus-preset-nova 0.0.0 → 0.15.1
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 +48 -0
- package/build/src/components/app-market-download/index.d.ts +4 -0
- package/build/src/components/app-market-download/index.d.ts.map +1 -0
- package/build/src/components/app-market-download/index.js +42 -0
- package/build/src/components/app-market-download/index.js.map +1 -0
- package/build/src/components/blog-preview/index.d.ts +4 -0
- package/build/src/components/blog-preview/index.d.ts.map +1 -0
- package/build/src/components/blog-preview/index.js +51 -0
- package/build/src/components/blog-preview/index.js.map +1 -0
- package/build/src/components/features/index.d.ts +4 -0
- package/build/src/components/features/index.d.ts.map +1 -0
- package/build/src/components/features/index.js +8 -0
- package/build/src/components/features/index.js.map +1 -0
- package/build/src/components/hero/index.d.ts +4 -0
- package/build/src/components/hero/index.d.ts.map +1 -0
- package/build/src/components/hero/index.js +10 -0
- package/build/src/components/hero/index.js.map +1 -0
- package/build/src/components/index.d.ts +10 -0
- package/build/src/components/index.d.ts.map +1 -0
- package/build/src/components/index.js +10 -0
- package/build/src/components/index.js.map +1 -0
- package/build/src/components/install-strip/index.d.ts +4 -0
- package/build/src/components/install-strip/index.d.ts.map +1 -0
- package/build/src/components/install-strip/index.js +39 -0
- package/build/src/components/install-strip/index.js.map +1 -0
- package/build/src/components/spotlight/index.d.ts +4 -0
- package/build/src/components/spotlight/index.d.ts.map +1 -0
- package/build/src/components/spotlight/index.js +7 -0
- package/build/src/components/spotlight/index.js.map +1 -0
- package/build/src/components/stats/index.d.ts +4 -0
- package/build/src/components/stats/index.d.ts.map +1 -0
- package/build/src/components/stats/index.js +15 -0
- package/build/src/components/stats/index.js.map +1 -0
- package/build/src/components/terminology/index.d.ts +4 -0
- package/build/src/components/terminology/index.d.ts.map +1 -0
- package/build/src/components/terminology/index.js +11 -0
- package/build/src/components/terminology/index.js.map +1 -0
- package/build/src/components/typewriter/index.d.ts +10 -0
- package/build/src/components/typewriter/index.d.ts.map +1 -0
- package/build/src/components/typewriter/index.js +105 -0
- package/build/src/components/typewriter/index.js.map +1 -0
- package/build/src/get-swizzle-config.d.ts +3 -0
- package/build/src/get-swizzle-config.d.ts.map +1 -0
- package/build/src/get-swizzle-config.js +532 -0
- package/build/src/get-swizzle-config.js.map +1 -0
- package/build/src/index.d.ts +10 -0
- package/build/src/index.d.ts.map +1 -0
- package/build/src/index.js +345 -0
- package/build/src/index.js.map +1 -0
- package/build/src/lib/color.d.ts +10 -0
- package/build/src/lib/color.d.ts.map +1 -0
- package/build/src/lib/color.js +190 -0
- package/build/src/lib/color.js.map +1 -0
- package/build/src/lib/css-generator.d.ts +11 -0
- package/build/src/lib/css-generator.d.ts.map +1 -0
- package/build/src/lib/css-generator.js +205 -0
- package/build/src/lib/css-generator.js.map +1 -0
- package/build/src/lib/mermaid.d.ts +6 -0
- package/build/src/lib/mermaid.d.ts.map +1 -0
- package/build/src/lib/mermaid.js +105 -0
- package/build/src/lib/mermaid.js.map +1 -0
- package/build/src/lib/regex.d.ts +8 -0
- package/build/src/lib/regex.d.ts.map +1 -0
- package/build/src/lib/regex.js +11 -0
- package/build/src/lib/regex.js.map +1 -0
- package/build/src/lib/rehype-shiki.d.ts +3 -0
- package/build/src/lib/rehype-shiki.d.ts.map +1 -0
- package/build/src/lib/rehype-shiki.js +258 -0
- package/build/src/lib/rehype-shiki.js.map +1 -0
- package/build/src/lib/search/indexer.d.ts +3 -0
- package/build/src/lib/search/indexer.d.ts.map +1 -0
- package/build/src/lib/search/indexer.js +238 -0
- package/build/src/lib/search/indexer.js.map +1 -0
- package/build/src/lib/search/perform-search.d.ts +3 -0
- package/build/src/lib/search/perform-search.d.ts.map +1 -0
- package/build/src/lib/search/perform-search.js +113 -0
- package/build/src/lib/search/perform-search.js.map +1 -0
- package/build/src/lib/search/use-search-highlight.d.ts +3 -0
- package/build/src/lib/search/use-search-highlight.d.ts.map +1 -0
- package/build/src/lib/search/use-search-highlight.js +52 -0
- package/build/src/lib/search/use-search-highlight.js.map +1 -0
- package/build/src/lib/search/use-search-worker.d.ts +3 -0
- package/build/src/lib/search/use-search-worker.d.ts.map +1 -0
- package/build/src/lib/search/use-search-worker.js +119 -0
- package/build/src/lib/search/use-search-worker.js.map +1 -0
- package/build/src/lib/search/worker.d.ts +7 -0
- package/build/src/lib/search/worker.d.ts.map +1 -0
- package/build/src/lib/search/worker.js +164 -0
- package/build/src/lib/search/worker.js.map +1 -0
- package/build/src/lib/shiki-themes.d.ts +3 -0
- package/build/src/lib/shiki-themes.d.ts.map +1 -0
- package/build/src/lib/shiki-themes.js +29 -0
- package/build/src/lib/shiki-themes.js.map +1 -0
- package/build/src/lib/sticky-layout.d.ts +3 -0
- package/build/src/lib/sticky-layout.d.ts.map +1 -0
- package/build/src/lib/sticky-layout.js +60 -0
- package/build/src/lib/sticky-layout.js.map +1 -0
- package/build/src/options.d.ts +5 -0
- package/build/src/options.d.ts.map +1 -0
- package/build/src/options.js +247 -0
- package/build/src/options.js.map +1 -0
- package/build/src/preset.d.ts +4 -0
- package/build/src/preset.d.ts.map +1 -0
- package/build/src/preset.js +95 -0
- package/build/src/preset.js.map +1 -0
- package/build/src/presets/envoy/preset.d.ts +3 -0
- package/build/src/presets/envoy/preset.d.ts.map +1 -0
- package/build/src/presets/envoy/preset.js +36 -0
- package/build/src/presets/envoy/preset.js.map +1 -0
- package/build/src/presets/foundry/preset.d.ts +3 -0
- package/build/src/presets/foundry/preset.d.ts.map +1 -0
- package/build/src/presets/foundry/preset.js +36 -0
- package/build/src/presets/foundry/preset.js.map +1 -0
- package/build/src/presets/index.d.ts +4 -0
- package/build/src/presets/index.d.ts.map +1 -0
- package/build/src/presets/index.js +20 -0
- package/build/src/presets/index.js.map +1 -0
- package/build/src/presets/sentinel/preset.d.ts +3 -0
- package/build/src/presets/sentinel/preset.d.ts.map +1 -0
- package/build/src/presets/sentinel/preset.js +36 -0
- package/build/src/presets/sentinel/preset.js.map +1 -0
- package/build/src/presets/signal/preset.d.ts +3 -0
- package/build/src/presets/signal/preset.d.ts.map +1 -0
- package/build/src/presets/signal/preset.js +36 -0
- package/build/src/presets/signal/preset.js.map +1 -0
- package/build/src/scripts/announcement-bar-init.d.ts +3 -0
- package/build/src/scripts/announcement-bar-init.d.ts.map +1 -0
- package/build/src/scripts/announcement-bar-init.js +20 -0
- package/build/src/scripts/announcement-bar-init.js.map +1 -0
- package/build/src/scripts/color-mode-init.d.ts +3 -0
- package/build/src/scripts/color-mode-init.d.ts.map +1 -0
- package/build/src/scripts/color-mode-init.js +58 -0
- package/build/src/scripts/color-mode-init.js.map +1 -0
- package/build/src/scripts/data-attribute-query.d.ts +2 -0
- package/build/src/scripts/data-attribute-query.d.ts.map +1 -0
- package/build/src/scripts/data-attribute-query.js +20 -0
- package/build/src/scripts/data-attribute-query.js.map +1 -0
- package/build/src/styles/accessibility.css +115 -0
- package/build/src/styles/components/app-market-download/style.css +53 -0
- package/build/src/styles/components/blog-preview/style.css +73 -0
- package/build/src/styles/components/features/style.css +31 -0
- package/build/src/styles/components/hero/style.css +21 -0
- package/build/src/styles/components/install-strip/style.css +107 -0
- package/build/src/styles/components/spotlight/style.css +67 -0
- package/build/src/styles/components/stats/style.css +64 -0
- package/build/src/styles/components/terminology/style.css +9 -0
- package/build/src/styles/components/typewriter/style.css +24 -0
- package/build/src/styles/grid.css +217 -0
- package/build/src/styles/presets/envoy/components/app-market-download/style.css +94 -0
- package/build/src/styles/presets/envoy/components/blog-preview/style.css +147 -0
- package/build/src/styles/presets/envoy/components/features/style.css +262 -0
- package/build/src/styles/presets/envoy/components/hero/style.css +187 -0
- package/build/src/styles/presets/envoy/components/install-strip/style.css +183 -0
- package/build/src/styles/presets/envoy/components/terminology/style.css +35 -0
- package/build/src/styles/presets/envoy/preset.css +570 -0
- package/build/src/styles/presets/envoy/theme/AnnouncementBar/style.css +68 -0
- package/build/src/styles/presets/envoy/theme/BackToTopButton/style.css +59 -0
- package/build/src/styles/presets/envoy/theme/BlogArchivePage/style.css +48 -0
- package/build/src/styles/presets/envoy/theme/BlogListPaginator/style.css +111 -0
- package/build/src/styles/presets/envoy/theme/BlogPostItem/style.css +197 -0
- package/build/src/styles/presets/envoy/theme/BlogPostPaginator/style.css +91 -0
- package/build/src/styles/presets/envoy/theme/BlogSidebar/style.css +67 -0
- package/build/src/styles/presets/envoy/theme/CodeBlock/style.css +256 -0
- package/build/src/styles/presets/envoy/theme/ContentFooter/style.css +106 -0
- package/build/src/styles/presets/envoy/theme/Details/style.css +57 -0
- package/build/src/styles/presets/envoy/theme/DocBreadcrumbs/style.css +47 -0
- package/build/src/styles/presets/envoy/theme/DocCard/style.css +55 -0
- package/build/src/styles/presets/envoy/theme/DocItem/Content/style.css +77 -0
- package/build/src/styles/presets/envoy/theme/DocItem/Footer/style.css +15 -0
- package/build/src/styles/presets/envoy/theme/DocPaginator/style.css +91 -0
- package/build/src/styles/presets/envoy/theme/DocSidebar/style.css +187 -0
- package/build/src/styles/presets/envoy/theme/DocSidebarMobile/style.css +113 -0
- package/build/src/styles/presets/envoy/theme/DocVersionBadge/style.css +51 -0
- package/build/src/styles/presets/envoy/theme/Footer/Commons/style.css +132 -0
- package/build/src/styles/presets/envoy/theme/Footer/Embassy/style.css +183 -0
- package/build/src/styles/presets/envoy/theme/Footer/Launchpad/style.css +257 -0
- package/build/src/styles/presets/envoy/theme/Footer/Ledger/style.css +117 -0
- package/build/src/styles/presets/envoy/theme/Heading/style.css +79 -0
- package/build/src/styles/presets/envoy/theme/MDXContent/style.css +342 -0
- package/build/src/styles/presets/envoy/theme/Navbar/Bridge/style.css +362 -0
- package/build/src/styles/presets/envoy/theme/Navbar/Canopy/style.css +378 -0
- package/build/src/styles/presets/envoy/theme/Navbar/Compass/style.css +400 -0
- package/build/src/styles/presets/envoy/theme/Navbar/Monolith/style.css +290 -0
- package/build/src/styles/presets/envoy/theme/SearchBar/style.css +121 -0
- package/build/src/styles/presets/envoy/theme/TOC/style.css +27 -0
- package/build/src/styles/presets/envoy/theme/TOCCollapsible/style.css +146 -0
- package/build/src/styles/presets/envoy/theme/Tabs/style.css +73 -0
- package/build/src/styles/presets/envoy/theme/Tag/style.css +81 -0
- package/build/src/styles/presets/foundry/components/app-market-download/style.css +85 -0
- package/build/src/styles/presets/foundry/components/blog-preview/style.css +138 -0
- package/build/src/styles/presets/foundry/components/features/style.css +176 -0
- package/build/src/styles/presets/foundry/components/hero/style.css +165 -0
- package/build/src/styles/presets/foundry/components/install-strip/style.css +188 -0
- package/build/src/styles/presets/foundry/components/terminology/style.css +35 -0
- package/build/src/styles/presets/foundry/preset.css +678 -0
- package/build/src/styles/presets/foundry/theme/AnnouncementBar/style.css +44 -0
- package/build/src/styles/presets/foundry/theme/BackToTopButton/style.css +57 -0
- package/build/src/styles/presets/foundry/theme/BlogArchivePage/style.css +48 -0
- package/build/src/styles/presets/foundry/theme/BlogListPaginator/style.css +113 -0
- package/build/src/styles/presets/foundry/theme/BlogPostItem/style.css +193 -0
- package/build/src/styles/presets/foundry/theme/BlogPostPaginator/style.css +101 -0
- package/build/src/styles/presets/foundry/theme/BlogSidebar/style.css +66 -0
- package/build/src/styles/presets/foundry/theme/CodeBlock/style.css +219 -0
- package/build/src/styles/presets/foundry/theme/ContentFooter/style.css +92 -0
- package/build/src/styles/presets/foundry/theme/Details/style.css +65 -0
- package/build/src/styles/presets/foundry/theme/DocBreadcrumbs/style.css +55 -0
- package/build/src/styles/presets/foundry/theme/DocCard/style.css +53 -0
- package/build/src/styles/presets/foundry/theme/DocItem/Content/style.css +18 -0
- package/build/src/styles/presets/foundry/theme/DocItem/Footer/style.css +22 -0
- package/build/src/styles/presets/foundry/theme/DocPaginator/style.css +97 -0
- package/build/src/styles/presets/foundry/theme/DocSidebar/style.css +126 -0
- package/build/src/styles/presets/foundry/theme/DocSidebarMobile/style.css +111 -0
- package/build/src/styles/presets/foundry/theme/DocVersionBadge/style.css +37 -0
- package/build/src/styles/presets/foundry/theme/Footer/Commons/style.css +177 -0
- package/build/src/styles/presets/foundry/theme/Footer/Embassy/style.css +183 -0
- package/build/src/styles/presets/foundry/theme/Footer/Launchpad/style.css +210 -0
- package/build/src/styles/presets/foundry/theme/Footer/Ledger/style.css +119 -0
- package/build/src/styles/presets/foundry/theme/Heading/style.css +118 -0
- package/build/src/styles/presets/foundry/theme/MDXContent/style.css +376 -0
- package/build/src/styles/presets/foundry/theme/Navbar/Bridge/style.css +391 -0
- package/build/src/styles/presets/foundry/theme/Navbar/Canopy/style.css +392 -0
- package/build/src/styles/presets/foundry/theme/Navbar/Compass/style.css +351 -0
- package/build/src/styles/presets/foundry/theme/Navbar/Monolith/style.css +287 -0
- package/build/src/styles/presets/foundry/theme/SearchBar/style.css +102 -0
- package/build/src/styles/presets/foundry/theme/TOC/style.css +27 -0
- package/build/src/styles/presets/foundry/theme/TOCCollapsible/style.css +134 -0
- package/build/src/styles/presets/foundry/theme/Tabs/style.css +77 -0
- package/build/src/styles/presets/foundry/theme/Tag/style.css +80 -0
- package/build/src/styles/presets/sentinel/components/app-market-download/style.css +90 -0
- package/build/src/styles/presets/sentinel/components/blog-preview/style.css +187 -0
- package/build/src/styles/presets/sentinel/components/features/style.css +177 -0
- package/build/src/styles/presets/sentinel/components/hero/style.css +189 -0
- package/build/src/styles/presets/sentinel/components/install-strip/style.css +163 -0
- package/build/src/styles/presets/sentinel/components/terminology/style.css +35 -0
- package/build/src/styles/presets/sentinel/preset.css +715 -0
- package/build/src/styles/presets/sentinel/theme/AnnouncementBar/style.css +62 -0
- package/build/src/styles/presets/sentinel/theme/BackToTopButton/style.css +58 -0
- package/build/src/styles/presets/sentinel/theme/BlogArchivePage/style.css +55 -0
- package/build/src/styles/presets/sentinel/theme/BlogListPaginator/style.css +96 -0
- package/build/src/styles/presets/sentinel/theme/BlogPostItem/style.css +222 -0
- package/build/src/styles/presets/sentinel/theme/BlogPostPaginator/style.css +117 -0
- package/build/src/styles/presets/sentinel/theme/BlogSidebar/style.css +76 -0
- package/build/src/styles/presets/sentinel/theme/CodeBlock/style.css +233 -0
- package/build/src/styles/presets/sentinel/theme/ContentFooter/style.css +98 -0
- package/build/src/styles/presets/sentinel/theme/Details/style.css +77 -0
- package/build/src/styles/presets/sentinel/theme/DocBreadcrumbs/style.css +49 -0
- package/build/src/styles/presets/sentinel/theme/DocCard/style.css +55 -0
- package/build/src/styles/presets/sentinel/theme/DocItem/Content/style.css +19 -0
- package/build/src/styles/presets/sentinel/theme/DocItem/Footer/style.css +22 -0
- package/build/src/styles/presets/sentinel/theme/DocPaginator/style.css +117 -0
- package/build/src/styles/presets/sentinel/theme/DocSidebar/style.css +151 -0
- package/build/src/styles/presets/sentinel/theme/DocSidebarMobile/style.css +130 -0
- package/build/src/styles/presets/sentinel/theme/DocVersionBadge/style.css +40 -0
- package/build/src/styles/presets/sentinel/theme/Footer/Commons/style.css +127 -0
- package/build/src/styles/presets/sentinel/theme/Footer/Embassy/style.css +198 -0
- package/build/src/styles/presets/sentinel/theme/Footer/Launchpad/style.css +199 -0
- package/build/src/styles/presets/sentinel/theme/Footer/Ledger/style.css +117 -0
- package/build/src/styles/presets/sentinel/theme/Heading/style.css +143 -0
- package/build/src/styles/presets/sentinel/theme/MDXContent/style.css +343 -0
- package/build/src/styles/presets/sentinel/theme/Navbar/Bridge/style.css +329 -0
- package/build/src/styles/presets/sentinel/theme/Navbar/Canopy/style.css +390 -0
- package/build/src/styles/presets/sentinel/theme/Navbar/Compass/style.css +308 -0
- package/build/src/styles/presets/sentinel/theme/Navbar/Monolith/style.css +267 -0
- package/build/src/styles/presets/sentinel/theme/SearchBar/style.css +118 -0
- package/build/src/styles/presets/sentinel/theme/TOC/style.css +27 -0
- package/build/src/styles/presets/sentinel/theme/TOCCollapsible/style.css +153 -0
- package/build/src/styles/presets/sentinel/theme/Tabs/style.css +70 -0
- package/build/src/styles/presets/sentinel/theme/Tag/style.css +76 -0
- package/build/src/styles/presets/signal/components/app-market-download/style.css +81 -0
- package/build/src/styles/presets/signal/components/blog-preview/style.css +140 -0
- package/build/src/styles/presets/signal/components/features/style.css +89 -0
- package/build/src/styles/presets/signal/components/hero/style.css +105 -0
- package/build/src/styles/presets/signal/components/install-strip/style.css +182 -0
- package/build/src/styles/presets/signal/components/terminology/style.css +35 -0
- package/build/src/styles/presets/signal/preset.css +574 -0
- package/build/src/styles/presets/signal/theme/AnnouncementBar/style.css +53 -0
- package/build/src/styles/presets/signal/theme/BackToTopButton/style.css +50 -0
- package/build/src/styles/presets/signal/theme/BlogArchivePage/style.css +52 -0
- package/build/src/styles/presets/signal/theme/BlogListPaginator/style.css +109 -0
- package/build/src/styles/presets/signal/theme/BlogPostItem/style.css +188 -0
- package/build/src/styles/presets/signal/theme/BlogPostPaginator/style.css +108 -0
- package/build/src/styles/presets/signal/theme/BlogSidebar/style.css +74 -0
- package/build/src/styles/presets/signal/theme/CodeBlock/style.css +200 -0
- package/build/src/styles/presets/signal/theme/ContentFooter/style.css +95 -0
- package/build/src/styles/presets/signal/theme/Details/style.css +62 -0
- package/build/src/styles/presets/signal/theme/DocBreadcrumbs/style.css +45 -0
- package/build/src/styles/presets/signal/theme/DocCard/style.css +48 -0
- package/build/src/styles/presets/signal/theme/DocItem/Content/style.css +15 -0
- package/build/src/styles/presets/signal/theme/DocItem/Footer/style.css +15 -0
- package/build/src/styles/presets/signal/theme/DocPaginator/style.css +108 -0
- package/build/src/styles/presets/signal/theme/DocSidebar/style.css +162 -0
- package/build/src/styles/presets/signal/theme/DocSidebarMobile/style.css +123 -0
- package/build/src/styles/presets/signal/theme/DocVersionBadge/style.css +47 -0
- package/build/src/styles/presets/signal/theme/Footer/Commons/style.css +126 -0
- package/build/src/styles/presets/signal/theme/Footer/Embassy/style.css +161 -0
- package/build/src/styles/presets/signal/theme/Footer/Launchpad/style.css +182 -0
- package/build/src/styles/presets/signal/theme/Footer/Ledger/style.css +127 -0
- package/build/src/styles/presets/signal/theme/Heading/style.css +93 -0
- package/build/src/styles/presets/signal/theme/MDXContent/style.css +403 -0
- package/build/src/styles/presets/signal/theme/Navbar/Bridge/style.css +326 -0
- package/build/src/styles/presets/signal/theme/Navbar/Canopy/style.css +330 -0
- package/build/src/styles/presets/signal/theme/Navbar/Compass/style.css +308 -0
- package/build/src/styles/presets/signal/theme/Navbar/Monolith/style.css +286 -0
- package/build/src/styles/presets/signal/theme/SearchBar/style.css +120 -0
- package/build/src/styles/presets/signal/theme/TOC/style.css +24 -0
- package/build/src/styles/presets/signal/theme/TOCCollapsible/style.css +156 -0
- package/build/src/styles/presets/signal/theme/Tabs/style.css +67 -0
- package/build/src/styles/presets/signal/theme/Tag/style.css +77 -0
- package/build/src/styles/reset.css +52 -0
- package/build/src/styles/theme/Admonition/style.css +36 -0
- package/build/src/styles/theme/AnnouncementBar/style.css +55 -0
- package/build/src/styles/theme/BackToTopButton/style.css +25 -0
- package/build/src/styles/theme/Blog/Pages/BlogAuthorsListPage/style.css +74 -0
- package/build/src/styles/theme/Blog/Pages/BlogAuthorsPostsPage/style.css +34 -0
- package/build/src/styles/theme/BlogArchivePage/style.css +65 -0
- package/build/src/styles/theme/BlogLayout/style.css +87 -0
- package/build/src/styles/theme/BlogListPage/style.css +5 -0
- package/build/src/styles/theme/BlogListPaginator/style.css +65 -0
- package/build/src/styles/theme/BlogPostItem/style.css +160 -0
- package/build/src/styles/theme/BlogPostItems/style.css +5 -0
- package/build/src/styles/theme/BlogPostPage/style.css +5 -0
- package/build/src/styles/theme/BlogPostPaginator/style.css +103 -0
- package/build/src/styles/theme/BlogSidebar/style.css +135 -0
- package/build/src/styles/theme/BlogSidebarMobile/style.css +14 -0
- package/build/src/styles/theme/BlogTagsListPage/style.css +10 -0
- package/build/src/styles/theme/BlogTagsPostsPage/style.css +39 -0
- package/build/src/styles/theme/CodeBlock/style.css +244 -0
- package/build/src/styles/theme/CodeInline/style.css +24 -0
- package/build/src/styles/theme/ColorModeToggle/style.css +39 -0
- package/build/src/styles/theme/ContentFooter/style.css +106 -0
- package/build/src/styles/theme/ContentVisibility/Draft/style.css +5 -0
- package/build/src/styles/theme/ContentVisibility/Unlisted/style.css +5 -0
- package/build/src/styles/theme/ContentVisibility/style.css +5 -0
- package/build/src/styles/theme/Details/style.css +101 -0
- package/build/src/styles/theme/DocBreadcrumbs/style.css +80 -0
- package/build/src/styles/theme/DocCard/style.css +35 -0
- package/build/src/styles/theme/DocCardList/style.css +16 -0
- package/build/src/styles/theme/DocCategoryGeneratedIndexPage/style.css +12 -0
- package/build/src/styles/theme/DocItem/Content/style.css +19 -0
- package/build/src/styles/theme/DocItem/Footer/style.css +13 -0
- package/build/src/styles/theme/DocItem/Layout/style.css +5 -0
- package/build/src/styles/theme/DocItem/Metadata/style.css +5 -0
- package/build/src/styles/theme/DocItem/Paginator/style.css +5 -0
- package/build/src/styles/theme/DocItem/TOC/Desktop/style.css +5 -0
- package/build/src/styles/theme/DocItem/TOC/Mobile/style.css +22 -0
- package/build/src/styles/theme/DocItem/style.css +5 -0
- package/build/src/styles/theme/DocPaginator/style.css +103 -0
- package/build/src/styles/theme/DocRoot/Layout/Main/style.css +10 -0
- package/build/src/styles/theme/DocRoot/Layout/Sidebar/style.css +16 -0
- package/build/src/styles/theme/DocRoot/Layout/style.css +19 -0
- package/build/src/styles/theme/DocRoot/style.css +5 -0
- package/build/src/styles/theme/DocSidebar/style.css +180 -0
- package/build/src/styles/theme/DocSidebarItem/Category/style.css +5 -0
- package/build/src/styles/theme/DocSidebarItem/Html/style.css +5 -0
- package/build/src/styles/theme/DocSidebarItem/Link/style.css +5 -0
- package/build/src/styles/theme/DocSidebarItem/style.css +5 -0
- package/build/src/styles/theme/DocSidebarItems/style.css +5 -0
- package/build/src/styles/theme/DocSidebarMobile/style.css +236 -0
- package/build/src/styles/theme/DocTagDocListPage/style.css +5 -0
- package/build/src/styles/theme/DocTagsListPage/style.css +5 -0
- package/build/src/styles/theme/DocVersionBadge/style.css +12 -0
- package/build/src/styles/theme/DocVersionBanner/style.css +11 -0
- package/build/src/styles/theme/DocVersionRoot/style.css +5 -0
- package/build/src/styles/theme/DocsRoot/style.css +5 -0
- package/build/src/styles/theme/EditMetaRow/style.css +13 -0
- package/build/src/styles/theme/EditThisPage/style.css +5 -0
- package/build/src/styles/theme/Error/style.css +17 -0
- package/build/src/styles/theme/ErrorPageContent/style.css +5 -0
- package/build/src/styles/theme/Footer/Commons/style.css +12 -0
- package/build/src/styles/theme/Footer/Embassy/style.css +30 -0
- package/build/src/styles/theme/Footer/Launchpad/style.css +42 -0
- package/build/src/styles/theme/Footer/Ledger/style.css +40 -0
- package/build/src/styles/theme/Footer/style.css +21 -0
- package/build/src/styles/theme/Heading/style.css +5 -0
- package/build/src/styles/theme/LastUpdated/style.css +5 -0
- package/build/src/styles/theme/Layout/Provider/style.css +5 -0
- package/build/src/styles/theme/Layout/style.css +5 -0
- package/build/src/styles/theme/Loading/style.css +74 -0
- package/build/src/styles/theme/MDXComponents/style.css +5 -0
- package/build/src/styles/theme/MDXContent/style.css +27 -0
- package/build/src/styles/theme/MDXPage/style.css +5 -0
- package/build/src/styles/theme/Mermaid/style.css +7 -0
- package/build/src/styles/theme/Navbar/Bridge/style.css +210 -0
- package/build/src/styles/theme/Navbar/Canopy/style.css +237 -0
- package/build/src/styles/theme/Navbar/Compass/style.css +205 -0
- package/build/src/styles/theme/Navbar/Monolith/style.css +192 -0
- package/build/src/styles/theme/Navbar/style.css +71 -0
- package/build/src/styles/theme/NavbarItem/style.css +5 -0
- package/build/src/styles/theme/NotFound/Content/style.css +5 -0
- package/build/src/styles/theme/NotFound/style.css +5 -0
- package/build/src/styles/theme/Root/style.css +5 -0
- package/build/src/styles/theme/SearchBar/style.css +334 -0
- package/build/src/styles/theme/SearchMetadata/style.css +5 -0
- package/build/src/styles/theme/SearchPage/style.css +5 -0
- package/build/src/styles/theme/SiteMetadata/style.css +5 -0
- package/build/src/styles/theme/SkipToContent/style.css +5 -0
- package/build/src/styles/theme/TOC/style.css +66 -0
- package/build/src/styles/theme/TOCCollapsible/style.css +222 -0
- package/build/src/styles/theme/TabItem/style.css +5 -0
- package/build/src/styles/theme/Tabs/style.css +49 -0
- package/build/src/styles/theme/Tag/style.css +23 -0
- package/build/src/styles/theme/TagsListByLetter/style.css +16 -0
- package/build/src/styles/theme/ThemeProvider/TitleFormatter/style.css +5 -0
- package/build/src/styles/theme/ThemeProvider/style.css +5 -0
- package/build/src/styles/theme/ThemedImage/style.css +5 -0
- package/build/src/styles/utilities.css +112 -0
- package/build/src/tests/config-drift.test.d.ts +2 -0
- package/build/src/tests/config-drift.test.d.ts.map +1 -0
- package/build/src/tests/config-drift.test.js +310 -0
- package/build/src/tests/config-drift.test.js.map +1 -0
- package/build/src/tests/lib/color.test.d.ts +2 -0
- package/build/src/tests/lib/color.test.d.ts.map +1 -0
- package/build/src/tests/lib/color.test.js +157 -0
- package/build/src/tests/lib/color.test.js.map +1 -0
- package/build/src/tests/lib/css-generator.test.d.ts +2 -0
- package/build/src/tests/lib/css-generator.test.d.ts.map +1 -0
- package/build/src/tests/lib/css-generator.test.js +745 -0
- package/build/src/tests/lib/css-generator.test.js.map +1 -0
- package/build/src/tests/lib/rehype-shiki.test.d.ts +2 -0
- package/build/src/tests/lib/rehype-shiki.test.d.ts.map +1 -0
- package/build/src/tests/lib/rehype-shiki.test.js +245 -0
- package/build/src/tests/lib/rehype-shiki.test.js.map +1 -0
- package/build/src/tests/lib/search/indexer.test.d.ts +2 -0
- package/build/src/tests/lib/search/indexer.test.d.ts.map +1 -0
- package/build/src/tests/lib/search/indexer.test.js +294 -0
- package/build/src/tests/lib/search/indexer.test.js.map +1 -0
- package/build/src/tests/lib/search/worker.test.d.ts +2 -0
- package/build/src/tests/lib/search/worker.test.d.ts.map +1 -0
- package/build/src/tests/lib/search/worker.test.js +148 -0
- package/build/src/tests/lib/search/worker.test.js.map +1 -0
- package/build/src/tests/lib/shiki-themes.test.d.ts +2 -0
- package/build/src/tests/lib/shiki-themes.test.d.ts.map +1 -0
- package/build/src/tests/lib/shiki-themes.test.js +30 -0
- package/build/src/tests/lib/shiki-themes.test.js.map +1 -0
- package/build/src/tests/options.test.d.ts +2 -0
- package/build/src/tests/options.test.d.ts.map +1 -0
- package/build/src/tests/options.test.js +488 -0
- package/build/src/tests/options.test.js.map +1 -0
- package/build/src/tests/preset.test.d.ts +2 -0
- package/build/src/tests/preset.test.d.ts.map +1 -0
- package/build/src/tests/preset.test.js +169 -0
- package/build/src/tests/preset.test.js.map +1 -0
- package/build/src/tests/presets/envoy/preset.test.d.ts +2 -0
- package/build/src/tests/presets/envoy/preset.test.d.ts.map +1 -0
- package/build/src/tests/presets/envoy/preset.test.js +53 -0
- package/build/src/tests/presets/envoy/preset.test.js.map +1 -0
- package/build/src/tests/presets/foundry/preset.test.d.ts +2 -0
- package/build/src/tests/presets/foundry/preset.test.d.ts.map +1 -0
- package/build/src/tests/presets/foundry/preset.test.js +53 -0
- package/build/src/tests/presets/foundry/preset.test.js.map +1 -0
- package/build/src/tests/presets/index.test.d.ts +2 -0
- package/build/src/tests/presets/index.test.d.ts.map +1 -0
- package/build/src/tests/presets/index.test.js +47 -0
- package/build/src/tests/presets/index.test.js.map +1 -0
- package/build/src/tests/presets/sentinel/preset.test.d.ts +2 -0
- package/build/src/tests/presets/sentinel/preset.test.d.ts.map +1 -0
- package/build/src/tests/presets/sentinel/preset.test.js +53 -0
- package/build/src/tests/presets/sentinel/preset.test.js.map +1 -0
- package/build/src/tests/presets/signal/preset.test.d.ts +2 -0
- package/build/src/tests/presets/signal/preset.test.d.ts.map +1 -0
- package/build/src/tests/presets/signal/preset.test.js +53 -0
- package/build/src/tests/presets/signal/preset.test.js.map +1 -0
- package/build/src/tests/theme/CodeBlock/live-editor.test.d.ts +2 -0
- package/build/src/tests/theme/CodeBlock/live-editor.test.d.ts.map +1 -0
- package/build/src/tests/theme/CodeBlock/live-editor.test.js +37 -0
- package/build/src/tests/theme/CodeBlock/live-editor.test.js.map +1 -0
- package/build/src/tests/theme-drift.test.d.ts +2 -0
- package/build/src/tests/theme-drift.test.d.ts.map +1 -0
- package/build/src/tests/theme-drift.test.js +91 -0
- package/build/src/tests/theme-drift.test.js.map +1 -0
- package/build/src/tests/type-declarations.test.d.ts +2 -0
- package/build/src/tests/type-declarations.test.d.ts.map +1 -0
- package/build/src/tests/type-declarations.test.js +564 -0
- package/build/src/tests/type-declarations.test.js.map +1 -0
- package/build/src/theme/Admonition/index.d.ts +4 -0
- package/build/src/theme/Admonition/index.d.ts.map +1 -0
- package/build/src/theme/Admonition/index.js +17 -0
- package/build/src/theme/Admonition/index.js.map +1 -0
- package/build/src/theme/AnnouncementBar/index.d.ts +4 -0
- package/build/src/theme/AnnouncementBar/index.d.ts.map +1 -0
- package/build/src/theme/AnnouncementBar/index.js +57 -0
- package/build/src/theme/AnnouncementBar/index.js.map +1 -0
- package/build/src/theme/BackToTopButton/index.d.ts +4 -0
- package/build/src/theme/BackToTopButton/index.d.ts.map +1 -0
- package/build/src/theme/BackToTopButton/index.js +42 -0
- package/build/src/theme/BackToTopButton/index.js.map +1 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +4 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts.map +1 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.js +25 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.js.map +1 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +4 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts.map +1 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.js +24 -0
- package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.js.map +1 -0
- package/build/src/theme/BlogArchivePage/index.d.ts +4 -0
- package/build/src/theme/BlogArchivePage/index.d.ts.map +1 -0
- package/build/src/theme/BlogArchivePage/index.js +41 -0
- package/build/src/theme/BlogArchivePage/index.js.map +1 -0
- package/build/src/theme/BlogLayout/index.d.ts +4 -0
- package/build/src/theme/BlogLayout/index.d.ts.map +1 -0
- package/build/src/theme/BlogLayout/index.js +21 -0
- package/build/src/theme/BlogLayout/index.js.map +1 -0
- package/build/src/theme/BlogListPage/index.d.ts +4 -0
- package/build/src/theme/BlogListPage/index.d.ts.map +1 -0
- package/build/src/theme/BlogListPage/index.js +11 -0
- package/build/src/theme/BlogListPage/index.js.map +1 -0
- package/build/src/theme/BlogListPaginator/index.d.ts +4 -0
- package/build/src/theme/BlogListPaginator/index.d.ts.map +1 -0
- package/build/src/theme/BlogListPaginator/index.js +96 -0
- package/build/src/theme/BlogListPaginator/index.js.map +1 -0
- package/build/src/theme/BlogPostItem/index.d.ts +4 -0
- package/build/src/theme/BlogPostItem/index.d.ts.map +1 -0
- package/build/src/theme/BlogPostItem/index.js +66 -0
- package/build/src/theme/BlogPostItem/index.js.map +1 -0
- package/build/src/theme/BlogPostItems/index.d.ts +4 -0
- package/build/src/theme/BlogPostItems/index.d.ts.map +1 -0
- package/build/src/theme/BlogPostItems/index.js +12 -0
- package/build/src/theme/BlogPostItems/index.js.map +1 -0
- package/build/src/theme/BlogPostPage/index.d.ts +4 -0
- package/build/src/theme/BlogPostPage/index.d.ts.map +1 -0
- package/build/src/theme/BlogPostPage/index.js +58 -0
- package/build/src/theme/BlogPostPage/index.js.map +1 -0
- package/build/src/theme/BlogPostPaginator/index.d.ts +4 -0
- package/build/src/theme/BlogPostPaginator/index.d.ts.map +1 -0
- package/build/src/theme/BlogPostPaginator/index.js +55 -0
- package/build/src/theme/BlogPostPaginator/index.js.map +1 -0
- package/build/src/theme/BlogSidebar/index.d.ts +4 -0
- package/build/src/theme/BlogSidebar/index.d.ts.map +1 -0
- package/build/src/theme/BlogSidebar/index.js +52 -0
- package/build/src/theme/BlogSidebar/index.js.map +1 -0
- package/build/src/theme/BlogSidebarMobile/index.d.ts +4 -0
- package/build/src/theme/BlogSidebarMobile/index.d.ts.map +1 -0
- package/build/src/theme/BlogSidebarMobile/index.js +107 -0
- package/build/src/theme/BlogSidebarMobile/index.js.map +1 -0
- package/build/src/theme/BlogTagsListPage/index.d.ts +4 -0
- package/build/src/theme/BlogTagsListPage/index.d.ts.map +1 -0
- package/build/src/theme/BlogTagsListPage/index.js +16 -0
- package/build/src/theme/BlogTagsListPage/index.js.map +1 -0
- package/build/src/theme/BlogTagsPostsPage/index.d.ts +4 -0
- package/build/src/theme/BlogTagsPostsPage/index.d.ts.map +1 -0
- package/build/src/theme/BlogTagsPostsPage/index.js +20 -0
- package/build/src/theme/BlogTagsPostsPage/index.js.map +1 -0
- package/build/src/theme/CodeBlock/index.d.ts +4 -0
- package/build/src/theme/CodeBlock/index.d.ts.map +1 -0
- package/build/src/theme/CodeBlock/index.js +113 -0
- package/build/src/theme/CodeBlock/index.js.map +1 -0
- package/build/src/theme/CodeBlock/live-editor.d.ts +5 -0
- package/build/src/theme/CodeBlock/live-editor.d.ts.map +1 -0
- package/build/src/theme/CodeBlock/live-editor.js +29 -0
- package/build/src/theme/CodeBlock/live-editor.js.map +1 -0
- package/build/src/theme/CodeInline/index.d.ts +4 -0
- package/build/src/theme/CodeInline/index.d.ts.map +1 -0
- package/build/src/theme/CodeInline/index.js +6 -0
- package/build/src/theme/CodeInline/index.js.map +1 -0
- package/build/src/theme/ColorModeToggle/index.d.ts +3 -0
- package/build/src/theme/ColorModeToggle/index.d.ts.map +1 -0
- package/build/src/theme/ColorModeToggle/index.js +5 -0
- package/build/src/theme/ColorModeToggle/index.js.map +1 -0
- package/build/src/theme/ContentFooter/index.d.ts +4 -0
- package/build/src/theme/ContentFooter/index.d.ts.map +1 -0
- package/build/src/theme/ContentFooter/index.js +114 -0
- package/build/src/theme/ContentFooter/index.js.map +1 -0
- package/build/src/theme/ContentVisibility/Draft/index.d.ts +4 -0
- package/build/src/theme/ContentVisibility/Draft/index.d.ts.map +1 -0
- package/build/src/theme/ContentVisibility/Draft/index.js +7 -0
- package/build/src/theme/ContentVisibility/Draft/index.js.map +1 -0
- package/build/src/theme/ContentVisibility/Unlisted/index.d.ts +4 -0
- package/build/src/theme/ContentVisibility/Unlisted/index.d.ts.map +1 -0
- package/build/src/theme/ContentVisibility/Unlisted/index.js +7 -0
- package/build/src/theme/ContentVisibility/Unlisted/index.js.map +1 -0
- package/build/src/theme/ContentVisibility/index.d.ts +4 -0
- package/build/src/theme/ContentVisibility/index.d.ts.map +1 -0
- package/build/src/theme/ContentVisibility/index.js +11 -0
- package/build/src/theme/ContentVisibility/index.js.map +1 -0
- package/build/src/theme/Details/index.d.ts +4 -0
- package/build/src/theme/Details/index.d.ts.map +1 -0
- package/build/src/theme/Details/index.js +33 -0
- package/build/src/theme/Details/index.js.map +1 -0
- package/build/src/theme/DocBreadcrumbs/index.d.ts +3 -0
- package/build/src/theme/DocBreadcrumbs/index.d.ts.map +1 -0
- package/build/src/theme/DocBreadcrumbs/index.js +38 -0
- package/build/src/theme/DocBreadcrumbs/index.js.map +1 -0
- package/build/src/theme/DocCard/index.d.ts +4 -0
- package/build/src/theme/DocCard/index.d.ts.map +1 -0
- package/build/src/theme/DocCard/index.js +53 -0
- package/build/src/theme/DocCard/index.js.map +1 -0
- package/build/src/theme/DocCardList/index.d.ts +4 -0
- package/build/src/theme/DocCardList/index.d.ts.map +1 -0
- package/build/src/theme/DocCardList/index.js +16 -0
- package/build/src/theme/DocCardList/index.js.map +1 -0
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts +4 -0
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts.map +1 -0
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.js +35 -0
- package/build/src/theme/DocCategoryGeneratedIndexPage/index.js.map +1 -0
- package/build/src/theme/DocItem/Content/index.d.ts +4 -0
- package/build/src/theme/DocItem/Content/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/Content/index.js +18 -0
- package/build/src/theme/DocItem/Content/index.js.map +1 -0
- package/build/src/theme/DocItem/Footer/index.d.ts +3 -0
- package/build/src/theme/DocItem/Footer/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/Footer/index.js +39 -0
- package/build/src/theme/DocItem/Footer/index.js.map +1 -0
- package/build/src/theme/DocItem/Layout/index.d.ts +4 -0
- package/build/src/theme/DocItem/Layout/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/Layout/index.js +27 -0
- package/build/src/theme/DocItem/Layout/index.js.map +1 -0
- package/build/src/theme/DocItem/Metadata/index.d.ts +3 -0
- package/build/src/theme/DocItem/Metadata/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/Metadata/index.js +20 -0
- package/build/src/theme/DocItem/Metadata/index.js.map +1 -0
- package/build/src/theme/DocItem/Paginator/index.d.ts +3 -0
- package/build/src/theme/DocItem/Paginator/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/Paginator/index.js +29 -0
- package/build/src/theme/DocItem/Paginator/index.js.map +1 -0
- package/build/src/theme/DocItem/TOC/Desktop/index.d.ts +3 -0
- package/build/src/theme/DocItem/TOC/Desktop/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/TOC/Desktop/index.js +16 -0
- package/build/src/theme/DocItem/TOC/Desktop/index.js.map +1 -0
- package/build/src/theme/DocItem/TOC/Mobile/index.d.ts +3 -0
- package/build/src/theme/DocItem/TOC/Mobile/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/TOC/Mobile/index.js +16 -0
- package/build/src/theme/DocItem/TOC/Mobile/index.js.map +1 -0
- package/build/src/theme/DocItem/index.d.ts +4 -0
- package/build/src/theme/DocItem/index.d.ts.map +1 -0
- package/build/src/theme/DocItem/index.js +13 -0
- package/build/src/theme/DocItem/index.js.map +1 -0
- package/build/src/theme/DocPaginator/index.d.ts +4 -0
- package/build/src/theme/DocPaginator/index.d.ts.map +1 -0
- package/build/src/theme/DocPaginator/index.js +46 -0
- package/build/src/theme/DocPaginator/index.js.map +1 -0
- package/build/src/theme/DocRoot/Layout/Main/index.d.ts +4 -0
- package/build/src/theme/DocRoot/Layout/Main/index.d.ts.map +1 -0
- package/build/src/theme/DocRoot/Layout/Main/index.js +6 -0
- package/build/src/theme/DocRoot/Layout/Main/index.js.map +1 -0
- package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts +4 -0
- package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts.map +1 -0
- package/build/src/theme/DocRoot/Layout/Sidebar/index.js +45 -0
- package/build/src/theme/DocRoot/Layout/Sidebar/index.js.map +1 -0
- package/build/src/theme/DocRoot/Layout/index.d.ts +4 -0
- package/build/src/theme/DocRoot/Layout/index.d.ts.map +1 -0
- package/build/src/theme/DocRoot/Layout/index.js +13 -0
- package/build/src/theme/DocRoot/Layout/index.js.map +1 -0
- package/build/src/theme/DocRoot/index.d.ts +4 -0
- package/build/src/theme/DocRoot/index.d.ts.map +1 -0
- package/build/src/theme/DocRoot/index.js +14 -0
- package/build/src/theme/DocRoot/index.js.map +1 -0
- package/build/src/theme/DocSidebar/index.d.ts +4 -0
- package/build/src/theme/DocSidebar/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebar/index.js +13 -0
- package/build/src/theme/DocSidebar/index.js.map +1 -0
- package/build/src/theme/DocSidebarItem/Category/index.d.ts +4 -0
- package/build/src/theme/DocSidebarItem/Category/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarItem/Category/index.js +102 -0
- package/build/src/theme/DocSidebarItem/Category/index.js.map +1 -0
- package/build/src/theme/DocSidebarItem/Html/index.d.ts +4 -0
- package/build/src/theme/DocSidebarItem/Html/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarItem/Html/index.js +7 -0
- package/build/src/theme/DocSidebarItem/Html/index.js.map +1 -0
- package/build/src/theme/DocSidebarItem/Link/index.d.ts +4 -0
- package/build/src/theme/DocSidebarItem/Link/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarItem/Link/index.js +10 -0
- package/build/src/theme/DocSidebarItem/Link/index.js.map +1 -0
- package/build/src/theme/DocSidebarItem/index.d.ts +4 -0
- package/build/src/theme/DocSidebarItem/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarItem/index.js +19 -0
- package/build/src/theme/DocSidebarItem/index.js.map +1 -0
- package/build/src/theme/DocSidebarItems/index.d.ts +4 -0
- package/build/src/theme/DocSidebarItems/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarItems/index.js +9 -0
- package/build/src/theme/DocSidebarItems/index.js.map +1 -0
- package/build/src/theme/DocSidebarMobile/index.d.ts +3 -0
- package/build/src/theme/DocSidebarMobile/index.d.ts.map +1 -0
- package/build/src/theme/DocSidebarMobile/index.js +108 -0
- package/build/src/theme/DocSidebarMobile/index.js.map +1 -0
- package/build/src/theme/DocTagDocListPage/index.d.ts +4 -0
- package/build/src/theme/DocTagDocListPage/index.d.ts.map +1 -0
- package/build/src/theme/DocTagDocListPage/index.js +20 -0
- package/build/src/theme/DocTagDocListPage/index.js.map +1 -0
- package/build/src/theme/DocTagsListPage/index.d.ts +4 -0
- package/build/src/theme/DocTagsListPage/index.d.ts.map +1 -0
- package/build/src/theme/DocTagsListPage/index.js +10 -0
- package/build/src/theme/DocTagsListPage/index.js.map +1 -0
- package/build/src/theme/DocVersionBadge/index.d.ts +3 -0
- package/build/src/theme/DocVersionBadge/index.d.ts.map +1 -0
- package/build/src/theme/DocVersionBadge/index.js +13 -0
- package/build/src/theme/DocVersionBadge/index.js.map +1 -0
- package/build/src/theme/DocVersionBanner/index.d.ts +3 -0
- package/build/src/theme/DocVersionBanner/index.d.ts.map +1 -0
- package/build/src/theme/DocVersionBanner/index.js +20 -0
- package/build/src/theme/DocVersionBanner/index.js.map +1 -0
- package/build/src/theme/DocVersionRoot/index.d.ts +4 -0
- package/build/src/theme/DocVersionRoot/index.d.ts.map +1 -0
- package/build/src/theme/DocVersionRoot/index.js +12 -0
- package/build/src/theme/DocVersionRoot/index.js.map +1 -0
- package/build/src/theme/DocsRoot/index.d.ts +4 -0
- package/build/src/theme/DocsRoot/index.d.ts.map +1 -0
- package/build/src/theme/DocsRoot/index.js +9 -0
- package/build/src/theme/DocsRoot/index.js.map +1 -0
- package/build/src/theme/EditMetaRow/index.d.ts +4 -0
- package/build/src/theme/EditMetaRow/index.d.ts.map +1 -0
- package/build/src/theme/EditMetaRow/index.js +16 -0
- package/build/src/theme/EditMetaRow/index.js.map +1 -0
- package/build/src/theme/EditThisPage/index.d.ts +4 -0
- package/build/src/theme/EditThisPage/index.d.ts.map +1 -0
- package/build/src/theme/EditThisPage/index.js +13 -0
- package/build/src/theme/EditThisPage/index.js.map +1 -0
- package/build/src/theme/Error/index.d.ts +4 -0
- package/build/src/theme/Error/index.d.ts.map +1 -0
- package/build/src/theme/Error/index.js +13 -0
- package/build/src/theme/Error/index.js.map +1 -0
- package/build/src/theme/ErrorPageContent/index.d.ts +4 -0
- package/build/src/theme/ErrorPageContent/index.d.ts.map +1 -0
- package/build/src/theme/ErrorPageContent/index.js +19 -0
- package/build/src/theme/ErrorPageContent/index.js.map +1 -0
- package/build/src/theme/Footer/Commons/index.d.ts +4 -0
- package/build/src/theme/Footer/Commons/index.d.ts.map +1 -0
- package/build/src/theme/Footer/Commons/index.js +25 -0
- package/build/src/theme/Footer/Commons/index.js.map +1 -0
- package/build/src/theme/Footer/Embassy/index.d.ts +4 -0
- package/build/src/theme/Footer/Embassy/index.d.ts.map +1 -0
- package/build/src/theme/Footer/Embassy/index.js +25 -0
- package/build/src/theme/Footer/Embassy/index.js.map +1 -0
- package/build/src/theme/Footer/Launchpad/index.d.ts +4 -0
- package/build/src/theme/Footer/Launchpad/index.d.ts.map +1 -0
- package/build/src/theme/Footer/Launchpad/index.js +26 -0
- package/build/src/theme/Footer/Launchpad/index.js.map +1 -0
- package/build/src/theme/Footer/Ledger/index.d.ts +4 -0
- package/build/src/theme/Footer/Ledger/index.d.ts.map +1 -0
- package/build/src/theme/Footer/Ledger/index.js +32 -0
- package/build/src/theme/Footer/Ledger/index.js.map +1 -0
- package/build/src/theme/Footer/credit.d.ts +4 -0
- package/build/src/theme/Footer/credit.d.ts.map +1 -0
- package/build/src/theme/Footer/credit.js +48 -0
- package/build/src/theme/Footer/credit.js.map +1 -0
- package/build/src/theme/Footer/index.d.ts +3 -0
- package/build/src/theme/Footer/index.d.ts.map +1 -0
- package/build/src/theme/Footer/index.js +43 -0
- package/build/src/theme/Footer/index.js.map +1 -0
- package/build/src/theme/Heading/index.d.ts +7 -0
- package/build/src/theme/Heading/index.d.ts.map +1 -0
- package/build/src/theme/Heading/index.js +15 -0
- package/build/src/theme/Heading/index.js.map +1 -0
- package/build/src/theme/LastUpdated/index.d.ts +4 -0
- package/build/src/theme/LastUpdated/index.d.ts.map +1 -0
- package/build/src/theme/LastUpdated/index.js +45 -0
- package/build/src/theme/LastUpdated/index.js.map +1 -0
- package/build/src/theme/Layout/Provider/index.d.ts +4 -0
- package/build/src/theme/Layout/Provider/index.d.ts.map +1 -0
- package/build/src/theme/Layout/Provider/index.js +17 -0
- package/build/src/theme/Layout/Provider/index.js.map +1 -0
- package/build/src/theme/Layout/index.d.ts +4 -0
- package/build/src/theme/Layout/index.d.ts.map +1 -0
- package/build/src/theme/Layout/index.js +24 -0
- package/build/src/theme/Layout/index.js.map +1 -0
- package/build/src/theme/Loading/index.d.ts +4 -0
- package/build/src/theme/Loading/index.d.ts.map +1 -0
- package/build/src/theme/Loading/index.js +37 -0
- package/build/src/theme/Loading/index.js.map +1 -0
- package/build/src/theme/MDXComponents/index.d.ts +30 -0
- package/build/src/theme/MDXComponents/index.d.ts.map +1 -0
- package/build/src/theme/MDXComponents/index.js +57 -0
- package/build/src/theme/MDXComponents/index.js.map +1 -0
- package/build/src/theme/MDXContent/index.d.ts +4 -0
- package/build/src/theme/MDXContent/index.d.ts.map +1 -0
- package/build/src/theme/MDXContent/index.js +8 -0
- package/build/src/theme/MDXContent/index.js.map +1 -0
- package/build/src/theme/MDXPage/index.d.ts +4 -0
- package/build/src/theme/MDXPage/index.d.ts.map +1 -0
- package/build/src/theme/MDXPage/index.js +52 -0
- package/build/src/theme/MDXPage/index.js.map +1 -0
- package/build/src/theme/Mermaid/index.d.ts +4 -0
- package/build/src/theme/Mermaid/index.d.ts.map +1 -0
- package/build/src/theme/Mermaid/index.js +50 -0
- package/build/src/theme/Mermaid/index.js.map +1 -0
- package/build/src/theme/Navbar/Bridge/index.d.ts +4 -0
- package/build/src/theme/Navbar/Bridge/index.d.ts.map +1 -0
- package/build/src/theme/Navbar/Bridge/index.js +32 -0
- package/build/src/theme/Navbar/Bridge/index.js.map +1 -0
- package/build/src/theme/Navbar/Bridge/mobile-menu.d.ts +4 -0
- package/build/src/theme/Navbar/Bridge/mobile-menu.d.ts.map +1 -0
- package/build/src/theme/Navbar/Bridge/mobile-menu.js +104 -0
- package/build/src/theme/Navbar/Bridge/mobile-menu.js.map +1 -0
- package/build/src/theme/Navbar/Canopy/index.d.ts +4 -0
- package/build/src/theme/Navbar/Canopy/index.d.ts.map +1 -0
- package/build/src/theme/Navbar/Canopy/index.js +32 -0
- package/build/src/theme/Navbar/Canopy/index.js.map +1 -0
- package/build/src/theme/Navbar/Canopy/mobile-menu.d.ts +4 -0
- package/build/src/theme/Navbar/Canopy/mobile-menu.d.ts.map +1 -0
- package/build/src/theme/Navbar/Canopy/mobile-menu.js +103 -0
- package/build/src/theme/Navbar/Canopy/mobile-menu.js.map +1 -0
- package/build/src/theme/Navbar/Compass/index.d.ts +4 -0
- package/build/src/theme/Navbar/Compass/index.d.ts.map +1 -0
- package/build/src/theme/Navbar/Compass/index.js +32 -0
- package/build/src/theme/Navbar/Compass/index.js.map +1 -0
- package/build/src/theme/Navbar/Compass/mobile-menu.d.ts +4 -0
- package/build/src/theme/Navbar/Compass/mobile-menu.d.ts.map +1 -0
- package/build/src/theme/Navbar/Compass/mobile-menu.js +104 -0
- package/build/src/theme/Navbar/Compass/mobile-menu.js.map +1 -0
- package/build/src/theme/Navbar/Monolith/index.d.ts +4 -0
- package/build/src/theme/Navbar/Monolith/index.d.ts.map +1 -0
- package/build/src/theme/Navbar/Monolith/index.js +29 -0
- package/build/src/theme/Navbar/Monolith/index.js.map +1 -0
- package/build/src/theme/Navbar/Monolith/mobile-menu.d.ts +4 -0
- package/build/src/theme/Navbar/Monolith/mobile-menu.d.ts.map +1 -0
- package/build/src/theme/Navbar/Monolith/mobile-menu.js +95 -0
- package/build/src/theme/Navbar/Monolith/mobile-menu.js.map +1 -0
- package/build/src/theme/Navbar/index.d.ts +3 -0
- package/build/src/theme/Navbar/index.d.ts.map +1 -0
- package/build/src/theme/Navbar/index.js +231 -0
- package/build/src/theme/Navbar/index.js.map +1 -0
- package/build/src/theme/NavbarItem/component-types.d.ts +4 -0
- package/build/src/theme/NavbarItem/component-types.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/component-types.js +22 -0
- package/build/src/theme/NavbarItem/component-types.js.map +1 -0
- package/build/src/theme/NavbarItem/default-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/default-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/default-navbar-item.js +18 -0
- package/build/src/theme/NavbarItem/default-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/doc-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/doc-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/doc-navbar-item.js +21 -0
- package/build/src/theme/NavbarItem/doc-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.js +19 -0
- package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.js +27 -0
- package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/docs-version-navbar-item.js +13 -0
- package/build/src/theme/NavbarItem/docs-version-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/dropdown-navbar-item.js +9 -0
- package/build/src/theme/NavbarItem/dropdown-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/html-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/html-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/html-navbar-item.js +8 -0
- package/build/src/theme/NavbarItem/html-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/index.d.ts +4 -0
- package/build/src/theme/NavbarItem/index.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/index.js +15 -0
- package/build/src/theme/NavbarItem/index.js.map +1 -0
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.js +34 -0
- package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.js.map +1 -0
- package/build/src/theme/NavbarItem/search-navbar-item.d.ts +4 -0
- package/build/src/theme/NavbarItem/search-navbar-item.d.ts.map +1 -0
- package/build/src/theme/NavbarItem/search-navbar-item.js +7 -0
- package/build/src/theme/NavbarItem/search-navbar-item.js.map +1 -0
- package/build/src/theme/NotFound/Content/index.d.ts +3 -0
- package/build/src/theme/NotFound/Content/index.d.ts.map +1 -0
- package/build/src/theme/NotFound/Content/index.js +23 -0
- package/build/src/theme/NotFound/Content/index.js.map +1 -0
- package/build/src/theme/NotFound/index.d.ts +3 -0
- package/build/src/theme/NotFound/index.d.ts.map +1 -0
- package/build/src/theme/NotFound/index.js +15 -0
- package/build/src/theme/NotFound/index.js.map +1 -0
- package/build/src/theme/Root/icons.d.ts +2 -0
- package/build/src/theme/Root/icons.d.ts.map +1 -0
- package/build/src/theme/Root/icons.js +10 -0
- package/build/src/theme/Root/icons.js.map +1 -0
- package/build/src/theme/Root/index.d.ts +5 -0
- package/build/src/theme/Root/index.d.ts.map +1 -0
- package/build/src/theme/Root/index.js +7 -0
- package/build/src/theme/Root/index.js.map +1 -0
- package/build/src/theme/SearchBar/index.d.ts +5 -0
- package/build/src/theme/SearchBar/index.d.ts.map +1 -0
- package/build/src/theme/SearchBar/index.js +5 -0
- package/build/src/theme/SearchBar/index.js.map +1 -0
- package/build/src/theme/SearchBar/search-context.d.ts +5 -0
- package/build/src/theme/SearchBar/search-context.d.ts.map +1 -0
- package/build/src/theme/SearchBar/search-context.js +11 -0
- package/build/src/theme/SearchBar/search-context.js.map +1 -0
- package/build/src/theme/SearchBar/search-input.d.ts +4 -0
- package/build/src/theme/SearchBar/search-input.d.ts.map +1 -0
- package/build/src/theme/SearchBar/search-input.js +99 -0
- package/build/src/theme/SearchBar/search-input.js.map +1 -0
- package/build/src/theme/SearchBar/search-provider.d.ts +4 -0
- package/build/src/theme/SearchBar/search-provider.d.ts.map +1 -0
- package/build/src/theme/SearchBar/search-provider.js +66 -0
- package/build/src/theme/SearchBar/search-provider.js.map +1 -0
- package/build/src/theme/SearchBar/search-results.d.ts +4 -0
- package/build/src/theme/SearchBar/search-results.d.ts.map +1 -0
- package/build/src/theme/SearchBar/search-results.js +74 -0
- package/build/src/theme/SearchBar/search-results.js.map +1 -0
- package/build/src/theme/SearchMetadata/index.d.ts +4 -0
- package/build/src/theme/SearchMetadata/index.d.ts.map +1 -0
- package/build/src/theme/SearchMetadata/index.js +7 -0
- package/build/src/theme/SearchMetadata/index.js.map +1 -0
- package/build/src/theme/SearchPage/index.d.ts +4 -0
- package/build/src/theme/SearchPage/index.d.ts.map +1 -0
- package/build/src/theme/SearchPage/index.js +73 -0
- package/build/src/theme/SearchPage/index.js.map +1 -0
- package/build/src/theme/SiteMetadata/index.d.ts +3 -0
- package/build/src/theme/SiteMetadata/index.d.ts.map +1 -0
- package/build/src/theme/SiteMetadata/index.js +35 -0
- package/build/src/theme/SiteMetadata/index.js.map +1 -0
- package/build/src/theme/SkipToContent/index.d.ts +3 -0
- package/build/src/theme/SkipToContent/index.d.ts.map +1 -0
- package/build/src/theme/SkipToContent/index.js +7 -0
- package/build/src/theme/SkipToContent/index.js.map +1 -0
- package/build/src/theme/TOC/index.d.ts +4 -0
- package/build/src/theme/TOC/index.d.ts.map +1 -0
- package/build/src/theme/TOC/index.js +22 -0
- package/build/src/theme/TOC/index.js.map +1 -0
- package/build/src/theme/TOCCollapsible/index.d.ts +4 -0
- package/build/src/theme/TOCCollapsible/index.d.ts.map +1 -0
- package/build/src/theme/TOCCollapsible/index.js +110 -0
- package/build/src/theme/TOCCollapsible/index.js.map +1 -0
- package/build/src/theme/TabItem/index.d.ts +4 -0
- package/build/src/theme/TabItem/index.d.ts.map +1 -0
- package/build/src/theme/TabItem/index.js +11 -0
- package/build/src/theme/TabItem/index.js.map +1 -0
- package/build/src/theme/Tabs/index.d.ts +4 -0
- package/build/src/theme/Tabs/index.d.ts.map +1 -0
- package/build/src/theme/Tabs/index.js +93 -0
- package/build/src/theme/Tabs/index.js.map +1 -0
- package/build/src/theme/Tag/index.d.ts +4 -0
- package/build/src/theme/Tag/index.d.ts.map +1 -0
- package/build/src/theme/Tag/index.js +7 -0
- package/build/src/theme/Tag/index.js.map +1 -0
- package/build/src/theme/TagsListByLetter/index.d.ts +4 -0
- package/build/src/theme/TagsListByLetter/index.d.ts.map +1 -0
- package/build/src/theme/TagsListByLetter/index.js +10 -0
- package/build/src/theme/TagsListByLetter/index.js.map +1 -0
- package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts +4 -0
- package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts.map +1 -0
- package/build/src/theme/ThemeProvider/TitleFormatter/index.js +7 -0
- package/build/src/theme/ThemeProvider/TitleFormatter/index.js.map +1 -0
- package/build/src/theme/ThemeProvider/index.d.ts +4 -0
- package/build/src/theme/ThemeProvider/index.d.ts.map +1 -0
- package/build/src/theme/ThemeProvider/index.js +7 -0
- package/build/src/theme/ThemeProvider/index.js.map +1 -0
- package/build/src/theme/ThemedImage/index.d.ts +4 -0
- package/build/src/theme/ThemedImage/index.d.ts.map +1 -0
- package/build/src/theme/ThemedImage/index.js +32 -0
- package/build/src/theme/ThemedImage/index.js.map +1 -0
- package/build/src/types/components/app-market-download/index.d.ts +33 -0
- package/build/src/types/components/blog-preview/index.d.ts +93 -0
- package/build/src/types/components/features/index.d.ts +35 -0
- package/build/src/types/components/hero/index.d.ts +35 -0
- package/build/src/types/components/install-strip/index.d.ts +45 -0
- package/build/src/types/components/spotlight/index.d.ts +20 -0
- package/build/src/types/components/stats/index.d.ts +33 -0
- package/build/src/types/components/terminology/index.d.ts +25 -0
- package/build/src/types/components/typewriter/index.d.ts +95 -0
- package/build/src/types/get-swizzle-config.d.ts +25 -0
- package/build/src/types/index.d.ts +547 -0
- package/build/src/types/lib/color.d.ts +178 -0
- package/build/src/types/lib/css-generator.d.ts +156 -0
- package/build/src/types/lib/mermaid.d.ts +99 -0
- package/build/src/types/lib/rehype-shiki.d.ts +244 -0
- package/build/src/types/lib/search/indexer.d.ts +262 -0
- package/build/src/types/lib/search/use-search-highlight.d.ts +51 -0
- package/build/src/types/lib/search/use-search-worker.d.ts +114 -0
- package/build/src/types/lib/search/worker.d.ts +179 -0
- package/build/src/types/lib/shiki-themes.d.ts +26 -0
- package/build/src/types/lib/sticky-layout.d.ts +50 -0
- package/build/src/types/options.d.ts +268 -0
- package/build/src/types/preset.d.ts +132 -0
- package/build/src/types/presets/envoy/preset.d.ts +8 -0
- package/build/src/types/presets/foundry/preset.d.ts +8 -0
- package/build/src/types/presets/index.d.ts +18 -0
- package/build/src/types/presets/sentinel/preset.d.ts +8 -0
- package/build/src/types/presets/signal/preset.d.ts +8 -0
- package/build/src/types/scripts/announcement-bar-init.d.ts +27 -0
- package/build/src/types/scripts/color-mode-init.d.ts +44 -0
- package/build/src/types/scripts/data-attribute-query.d.ts +6 -0
- package/build/src/types/shared.d.ts +385 -0
- package/build/src/types/tests/config-drift.test.d.ts +199 -0
- package/build/src/types/tests/lib/color.test.d.ts +113 -0
- package/build/src/types/tests/lib/css-generator.test.d.ts +164 -0
- package/build/src/types/tests/lib/rehype-shiki.test.d.ts +88 -0
- package/build/src/types/tests/lib/search/indexer.test.d.ts +295 -0
- package/build/src/types/tests/lib/search/worker.test.d.ts +119 -0
- package/build/src/types/tests/lib/shiki-themes.test.d.ts +12 -0
- package/build/src/types/tests/options.test.d.ts +87 -0
- package/build/src/types/tests/preset.test.d.ts +12 -0
- package/build/src/types/tests/presets/envoy/preset.test.d.ts +17 -0
- package/build/src/types/tests/presets/foundry/preset.test.d.ts +17 -0
- package/build/src/types/tests/presets/index.test.d.ts +29 -0
- package/build/src/types/tests/presets/sentinel/preset.test.d.ts +17 -0
- package/build/src/types/tests/presets/signal/preset.test.d.ts +17 -0
- package/build/src/types/tests/theme/CodeBlock/live-editor.test.d.ts +13 -0
- package/build/src/types/tests/theme-drift.test.d.ts +84 -0
- package/build/src/types/tests/type-declarations.test.d.ts +564 -0
- package/build/src/types/theme/Admonition/index.d.ts +30 -0
- package/build/src/types/theme/AnnouncementBar/index.d.ts +43 -0
- package/build/src/types/theme/BackToTopButton/index.d.ts +32 -0
- package/build/src/types/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts +45 -0
- package/build/src/types/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts +46 -0
- package/build/src/types/theme/BlogArchivePage/index.d.ts +70 -0
- package/build/src/types/theme/BlogLayout/index.d.ts +52 -0
- package/build/src/types/theme/BlogListPage/index.d.ts +28 -0
- package/build/src/types/theme/BlogListPaginator/index.d.ts +86 -0
- package/build/src/types/theme/BlogPostItem/index.d.ts +94 -0
- package/build/src/types/theme/BlogPostItems/index.d.ts +31 -0
- package/build/src/types/theme/BlogPostPage/index.d.ts +82 -0
- package/build/src/types/theme/BlogPostPaginator/index.d.ts +70 -0
- package/build/src/types/theme/BlogSidebar/index.d.ts +78 -0
- package/build/src/types/theme/BlogSidebarMobile/index.d.ts +66 -0
- package/build/src/types/theme/BlogTagsListPage/index.d.ts +21 -0
- package/build/src/types/theme/BlogTagsPostsPage/index.d.ts +34 -0
- package/build/src/types/theme/CodeBlock/index.d.ts +109 -0
- package/build/src/types/theme/CodeBlock/live-editor.d.ts +38 -0
- package/build/src/types/theme/CodeInline/index.d.ts +13 -0
- package/build/src/types/theme/ContentFooter/index.d.ts +79 -0
- package/build/src/types/theme/ContentVisibility/Draft/index.d.ts +10 -0
- package/build/src/types/theme/ContentVisibility/Unlisted/index.d.ts +10 -0
- package/build/src/types/theme/ContentVisibility/index.d.ts +28 -0
- package/build/src/types/theme/Details/index.d.ts +45 -0
- package/build/src/types/theme/DocBreadcrumbs/index.d.ts +36 -0
- package/build/src/types/theme/DocCard/index.d.ts +96 -0
- package/build/src/types/theme/DocCardList/index.d.ts +26 -0
- package/build/src/types/theme/DocCategoryGeneratedIndexPage/index.d.ts +70 -0
- package/build/src/types/theme/DocItem/Content/index.d.ts +41 -0
- package/build/src/types/theme/DocItem/Footer/index.d.ts +43 -0
- package/build/src/types/theme/DocItem/Layout/index.d.ts +20 -0
- package/build/src/types/theme/DocItem/Metadata/index.d.ts +12 -0
- package/build/src/types/theme/DocItem/Paginator/index.d.ts +16 -0
- package/build/src/types/theme/DocItem/TOC/Desktop/index.d.ts +10 -0
- package/build/src/types/theme/DocItem/TOC/Mobile/index.d.ts +10 -0
- package/build/src/types/theme/DocItem/index.d.ts +19 -0
- package/build/src/types/theme/DocPaginator/index.d.ts +43 -0
- package/build/src/types/theme/DocRoot/Layout/Main/index.d.ts +13 -0
- package/build/src/types/theme/DocRoot/Layout/Sidebar/index.d.ts +67 -0
- package/build/src/types/theme/DocRoot/Layout/index.d.ts +21 -0
- package/build/src/types/theme/DocRoot/index.d.ts +23 -0
- package/build/src/types/theme/DocSidebar/index.d.ts +24 -0
- package/build/src/types/theme/DocSidebarItem/Category/index.d.ts +149 -0
- package/build/src/types/theme/DocSidebarItem/Html/index.d.ts +24 -0
- package/build/src/types/theme/DocSidebarItem/Link/index.d.ts +29 -0
- package/build/src/types/theme/DocSidebarItem/index.d.ts +22 -0
- package/build/src/types/theme/DocSidebarItems/index.d.ts +27 -0
- package/build/src/types/theme/DocSidebarMobile/index.d.ts +69 -0
- package/build/src/types/theme/DocTagDocListPage/index.d.ts +58 -0
- package/build/src/types/theme/DocTagsListPage/index.d.ts +15 -0
- package/build/src/types/theme/DocVersionBadge/index.d.ts +14 -0
- package/build/src/types/theme/DocVersionBanner/index.d.ts +18 -0
- package/build/src/types/theme/DocVersionRoot/index.d.ts +27 -0
- package/build/src/types/theme/DocsRoot/index.d.ts +21 -0
- package/build/src/types/theme/EditMetaRow/index.d.ts +22 -0
- package/build/src/types/theme/EditThisPage/index.d.ts +12 -0
- package/build/src/types/theme/Error/index.d.ts +18 -0
- package/build/src/types/theme/ErrorPageContent/index.d.ts +20 -0
- package/build/src/types/theme/Footer/Commons/index.d.ts +88 -0
- package/build/src/types/theme/Footer/Embassy/index.d.ts +88 -0
- package/build/src/types/theme/Footer/Launchpad/index.d.ts +95 -0
- package/build/src/types/theme/Footer/Ledger/index.d.ts +90 -0
- package/build/src/types/theme/Footer/credit.d.ts +33 -0
- package/build/src/types/theme/Footer/index.d.ts +102 -0
- package/build/src/types/theme/Heading/index.d.ts +35 -0
- package/build/src/types/theme/LastUpdated/index.d.ts +39 -0
- package/build/src/types/theme/Layout/Provider/index.d.ts +25 -0
- package/build/src/types/theme/Layout/index.d.ts +27 -0
- package/build/src/types/theme/Loading/index.d.ts +33 -0
- package/build/src/types/theme/MDXComponents/index.d.ts +59 -0
- package/build/src/types/theme/MDXContent/index.d.ts +15 -0
- package/build/src/types/theme/MDXPage/index.d.ts +67 -0
- package/build/src/types/theme/Mermaid/index.d.ts +45 -0
- package/build/src/types/theme/Navbar/Bridge/index.d.ts +95 -0
- package/build/src/types/theme/Navbar/Bridge/mobile-menu.d.ts +129 -0
- package/build/src/types/theme/Navbar/Canopy/index.d.ts +95 -0
- package/build/src/types/theme/Navbar/Canopy/mobile-menu.d.ts +129 -0
- package/build/src/types/theme/Navbar/Compass/index.d.ts +95 -0
- package/build/src/types/theme/Navbar/Compass/mobile-menu.d.ts +129 -0
- package/build/src/types/theme/Navbar/Monolith/index.d.ts +91 -0
- package/build/src/types/theme/Navbar/Monolith/mobile-menu.d.ts +80 -0
- package/build/src/types/theme/Navbar/index.d.ts +262 -0
- package/build/src/types/theme/NavbarItem/index.d.ts +306 -0
- package/build/src/types/theme/NotFound/Content/index.d.ts +10 -0
- package/build/src/types/theme/NotFound/index.d.ts +6 -0
- package/build/src/types/theme/Root/icons.d.ts +5 -0
- package/build/src/types/theme/Root/index.d.ts +12 -0
- package/build/src/types/theme/SearchBar/search-context.d.ts +54 -0
- package/build/src/types/theme/SearchBar/search-input.d.ts +60 -0
- package/build/src/types/theme/SearchBar/search-provider.d.ts +50 -0
- package/build/src/types/theme/SearchBar/search-results.d.ts +64 -0
- package/build/src/types/theme/SearchMetadata/index.d.ts +16 -0
- package/build/src/types/theme/SearchPage/index.d.ts +52 -0
- package/build/src/types/theme/SiteMetadata/index.d.ts +61 -0
- package/build/src/types/theme/TOC/index.d.ts +46 -0
- package/build/src/types/theme/TOCCollapsible/index.d.ts +98 -0
- package/build/src/types/theme/TabItem/index.d.ts +26 -0
- package/build/src/types/theme/Tabs/index.d.ts +76 -0
- package/build/src/types/theme/Tag/index.d.ts +20 -0
- package/build/src/types/theme/TagsListByLetter/index.d.ts +20 -0
- package/build/src/types/theme/ThemeProvider/TitleFormatter/index.d.ts +12 -0
- package/build/src/types/theme/ThemeProvider/index.d.ts +12 -0
- package/build/src/types/theme/ThemedImage/index.d.ts +48 -0
- package/build/src/types/worker-globals.d.ts +103 -0
- package/build/vitest.setup.d.ts +2 -0
- package/build/vitest.setup.d.ts.map +1 -0
- package/build/vitest.setup.js +14 -0
- package/build/vitest.setup.js.map +1 -0
- package/nova-config.d.ts +1392 -0
- package/nova-theme.d.ts +999 -0
- package/package.json +144 -2
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateThemeConfig = exports.validateOptions = exports.getSwizzleConfig = exports.DocusaurusThemeNova = void 0;
|
|
4
|
+
const fs_1 = require("fs");
|
|
5
|
+
const path_1 = require("path");
|
|
6
|
+
const theme_translations_1 = require("@docusaurus/theme-translations");
|
|
7
|
+
const css_generator_js_1 = require("./lib/css-generator.js");
|
|
8
|
+
const regex_js_1 = require("./lib/regex.js");
|
|
9
|
+
const indexer_js_1 = require("./lib/search/indexer.js");
|
|
10
|
+
const options_js_1 = require("./options.js");
|
|
11
|
+
const announcement_bar_init_js_1 = require("./scripts/announcement-bar-init.js");
|
|
12
|
+
const color_mode_init_js_1 = require("./scripts/color-mode-init.js");
|
|
13
|
+
const data_attribute_query_js_1 = require("./scripts/data-attribute-query.js");
|
|
14
|
+
class DocusaurusThemeNova {
|
|
15
|
+
static default(context, options) {
|
|
16
|
+
const resolvedPreset = (0, options_js_1.resolvePreset)(options);
|
|
17
|
+
const generatedCss = css_generator_js_1.CssGenerator.generate({
|
|
18
|
+
preset: resolvedPreset,
|
|
19
|
+
});
|
|
20
|
+
const siteDirectory = context['siteDir'];
|
|
21
|
+
const generatedCssDirectory = (0, path_1.resolve)(siteDirectory, '.docusaurus/docusaurus-theme-nova');
|
|
22
|
+
const generatedCssPath = (0, path_1.resolve)(generatedCssDirectory, 'nova-generated.css');
|
|
23
|
+
(0, fs_1.mkdirSync)(generatedCssDirectory, { recursive: true });
|
|
24
|
+
(0, fs_1.writeFileSync)(generatedCssPath, generatedCss, 'utf-8');
|
|
25
|
+
const googleFontsUrl = DocusaurusThemeNova.buildGoogleFontsUrl(resolvedPreset);
|
|
26
|
+
const presetName = options['preset'];
|
|
27
|
+
const currentDirectory = (0, path_1.dirname)(__filename);
|
|
28
|
+
const presetLogoSrc = resolvedPreset['logo']['src'];
|
|
29
|
+
const assetsDirectory = (0, path_1.resolve)(currentDirectory, '../../assets');
|
|
30
|
+
const presetLogoPath = (0, path_1.resolve)(assetsDirectory, presetLogoSrc.replace('@nova-assets/', ''));
|
|
31
|
+
const presetLogoContent = (0, fs_1.readFileSync)(presetLogoPath, 'utf-8');
|
|
32
|
+
const presetLogoDataUri = `data:image/svg+xml;base64,${Buffer.from(presetLogoContent).toString('base64')}`;
|
|
33
|
+
const themePath = `${currentDirectory}/theme`;
|
|
34
|
+
const typeScriptThemePath = (0, path_1.resolve)(currentDirectory, '../src/theme');
|
|
35
|
+
const cssResetPath = (0, path_1.resolve)(currentDirectory, 'styles/reset.css');
|
|
36
|
+
const cssGridPath = (0, path_1.resolve)(currentDirectory, 'styles/grid.css');
|
|
37
|
+
const cssAccessibilityPath = (0, path_1.resolve)(currentDirectory, 'styles/accessibility.css');
|
|
38
|
+
const cssUtilitiesPath = (0, path_1.resolve)(currentDirectory, 'styles/utilities.css');
|
|
39
|
+
const cssComponentsDirectory = (0, path_1.resolve)(currentDirectory, 'styles/components');
|
|
40
|
+
const cssComponentFiles = (0, fs_1.readdirSync)(cssComponentsDirectory, { recursive: true }).filter((fileName) => String(fileName).endsWith('style.css')).sort().map((fileName) => (0, path_1.resolve)(cssComponentsDirectory, String(fileName)));
|
|
41
|
+
const cssThemeDirectory = (0, path_1.resolve)(currentDirectory, 'styles/theme');
|
|
42
|
+
const cssThemeFiles = (0, fs_1.readdirSync)(cssThemeDirectory, { recursive: true }).filter((fileName) => String(fileName).endsWith('style.css')).sort().map((fileName) => (0, path_1.resolve)(cssThemeDirectory, String(fileName)));
|
|
43
|
+
const cssPresetDirectory = (0, path_1.resolve)(currentDirectory, `styles/presets/${presetName}`);
|
|
44
|
+
const cssPresetPath = (0, path_1.resolve)(cssPresetDirectory, 'preset.css');
|
|
45
|
+
const cssPresetComponentsDirectory = (0, path_1.resolve)(cssPresetDirectory, 'components');
|
|
46
|
+
const cssPresetComponentFiles = (0, fs_1.readdirSync)(cssPresetComponentsDirectory, { recursive: true }).filter((fileName) => String(fileName).endsWith('style.css')).sort().map((fileName) => (0, path_1.resolve)(cssPresetComponentsDirectory, String(fileName)));
|
|
47
|
+
const cssPresetThemeDirectory = (0, path_1.resolve)(cssPresetDirectory, 'theme');
|
|
48
|
+
const activeNavbarPrefix = `Navbar/${resolvedPreset['navbar'].charAt(0).toUpperCase()}${resolvedPreset['navbar'].slice(1)}/`;
|
|
49
|
+
const activeFooterPrefix = `Footer/${resolvedPreset['footer'].charAt(0).toUpperCase()}${resolvedPreset['footer'].slice(1)}/`;
|
|
50
|
+
const cssPresetThemeFiles = (0, fs_1.readdirSync)(cssPresetThemeDirectory, { recursive: true }).filter((fileName) => {
|
|
51
|
+
const name = String(fileName);
|
|
52
|
+
if (name.endsWith('style.css') === false) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
if (name.startsWith('Navbar/') === true) {
|
|
56
|
+
return name.startsWith(activeNavbarPrefix);
|
|
57
|
+
}
|
|
58
|
+
if (name.startsWith('Footer/') === true) {
|
|
59
|
+
return name.startsWith(activeFooterPrefix);
|
|
60
|
+
}
|
|
61
|
+
return true;
|
|
62
|
+
}).sort().map((fileName) => (0, path_1.resolve)(cssPresetThemeDirectory, String(fileName)));
|
|
63
|
+
const i18nConfig = context['i18n'];
|
|
64
|
+
const currentLocale = i18nConfig['currentLocale'];
|
|
65
|
+
const localeConfigs = i18nConfig['localeConfigs'];
|
|
66
|
+
const localeConfig = localeConfigs[currentLocale];
|
|
67
|
+
const localeDirection = localeConfig['direction'];
|
|
68
|
+
const isRtl = localeDirection === 'rtl';
|
|
69
|
+
const siteStorage = context['siteStorage'];
|
|
70
|
+
const siteConfig = context['siteConfig'];
|
|
71
|
+
const themeConfig = siteConfig['themeConfig'];
|
|
72
|
+
const announcementBar = themeConfig['announcementBar'];
|
|
73
|
+
const progressBarConfig = options['progressBar'];
|
|
74
|
+
const nprogressCssPath = require.resolve('nprogress/nprogress.css');
|
|
75
|
+
const searchConfig = options['search'];
|
|
76
|
+
return {
|
|
77
|
+
name: 'docusaurus-theme-nova',
|
|
78
|
+
getThemePath() {
|
|
79
|
+
return themePath;
|
|
80
|
+
},
|
|
81
|
+
getTypeScriptThemePath() {
|
|
82
|
+
return typeScriptThemePath;
|
|
83
|
+
},
|
|
84
|
+
getClientModules() {
|
|
85
|
+
const stickyLayoutPath = (0, path_1.resolve)(currentDirectory, 'lib/sticky-layout.js');
|
|
86
|
+
const clientModules = [
|
|
87
|
+
cssResetPath,
|
|
88
|
+
cssGridPath,
|
|
89
|
+
cssAccessibilityPath,
|
|
90
|
+
cssUtilitiesPath,
|
|
91
|
+
generatedCssPath,
|
|
92
|
+
...cssComponentFiles,
|
|
93
|
+
...cssThemeFiles,
|
|
94
|
+
cssPresetPath,
|
|
95
|
+
...cssPresetComponentFiles,
|
|
96
|
+
...cssPresetThemeFiles,
|
|
97
|
+
stickyLayoutPath,
|
|
98
|
+
];
|
|
99
|
+
if (progressBarConfig !== false) {
|
|
100
|
+
const nprogressCssModule = (0, path_1.resolve)(nprogressCssPath);
|
|
101
|
+
clientModules.push(nprogressCssModule);
|
|
102
|
+
}
|
|
103
|
+
return clientModules;
|
|
104
|
+
},
|
|
105
|
+
injectHtmlTags() {
|
|
106
|
+
const headTags = [
|
|
107
|
+
{
|
|
108
|
+
tagName: 'link',
|
|
109
|
+
attributes: {
|
|
110
|
+
rel: 'preconnect',
|
|
111
|
+
href: 'https://fonts.googleapis.com',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
tagName: 'link',
|
|
116
|
+
attributes: {
|
|
117
|
+
rel: 'preconnect',
|
|
118
|
+
href: 'https://fonts.gstatic.com',
|
|
119
|
+
crossorigin: 'anonymous',
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
tagName: 'link',
|
|
124
|
+
attributes: {
|
|
125
|
+
rel: 'stylesheet',
|
|
126
|
+
href: googleFontsUrl,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
const colorModeScript = (0, color_mode_init_js_1.colorModeInit)({
|
|
131
|
+
siteStorage,
|
|
132
|
+
themeConfig,
|
|
133
|
+
});
|
|
134
|
+
const preBodyScriptEntries = [
|
|
135
|
+
{
|
|
136
|
+
tagName: 'script',
|
|
137
|
+
innerHTML: colorModeScript,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
tagName: 'script',
|
|
141
|
+
innerHTML: data_attribute_query_js_1.dataAttributeQuery,
|
|
142
|
+
},
|
|
143
|
+
];
|
|
144
|
+
const presetVariantInit = [
|
|
145
|
+
'(function() {',
|
|
146
|
+
` document.documentElement.setAttribute('data-navbar-variant', '${resolvedPreset['navbar']}');`,
|
|
147
|
+
` document.documentElement.setAttribute('data-footer-variant', '${resolvedPreset['footer']}');`,
|
|
148
|
+
'})();',
|
|
149
|
+
].join('\n');
|
|
150
|
+
preBodyScriptEntries.push({
|
|
151
|
+
tagName: 'script',
|
|
152
|
+
innerHTML: presetVariantInit,
|
|
153
|
+
});
|
|
154
|
+
if (announcementBar !== undefined) {
|
|
155
|
+
const announcementBarScript = (0, announcement_bar_init_js_1.announcementBarInit)({
|
|
156
|
+
siteStorage,
|
|
157
|
+
});
|
|
158
|
+
preBodyScriptEntries.push({
|
|
159
|
+
tagName: 'script',
|
|
160
|
+
innerHTML: announcementBarScript,
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
const preBodyTags = preBodyScriptEntries;
|
|
164
|
+
return {
|
|
165
|
+
headTags,
|
|
166
|
+
preBodyTags,
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
configurePostCss(postCssOptions) {
|
|
170
|
+
if (isRtl === true) {
|
|
171
|
+
const rtlPlugin = require('rtlcss');
|
|
172
|
+
postCssOptions['plugins'].push(rtlPlugin);
|
|
173
|
+
}
|
|
174
|
+
return postCssOptions;
|
|
175
|
+
},
|
|
176
|
+
configureWebpack() {
|
|
177
|
+
return {
|
|
178
|
+
resolve: {
|
|
179
|
+
alias: {
|
|
180
|
+
'@nova-assets': assetsDirectory,
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
getTranslationFiles() {
|
|
186
|
+
return [];
|
|
187
|
+
},
|
|
188
|
+
getDefaultCodeTranslationMessages() {
|
|
189
|
+
return (0, theme_translations_1.readDefaultCodeTranslationMessages)({
|
|
190
|
+
locale: currentLocale,
|
|
191
|
+
name: 'theme-common',
|
|
192
|
+
});
|
|
193
|
+
},
|
|
194
|
+
translateThemeConfig(params) {
|
|
195
|
+
return params['themeConfig'];
|
|
196
|
+
},
|
|
197
|
+
async postBuild(postBuildArgs) {
|
|
198
|
+
if (searchConfig !== undefined && searchConfig !== false) {
|
|
199
|
+
(0, indexer_js_1.buildSearchIndex)({
|
|
200
|
+
outDir: postBuildArgs['outDir'],
|
|
201
|
+
routesPaths: postBuildArgs['routesPaths'],
|
|
202
|
+
baseUrl: postBuildArgs['siteConfig']['baseUrl'],
|
|
203
|
+
searchConfig: searchConfig,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
return;
|
|
207
|
+
},
|
|
208
|
+
async contentLoaded(contentLoadedArgs) {
|
|
209
|
+
const actions = contentLoadedArgs['actions'];
|
|
210
|
+
if (searchConfig !== undefined && searchConfig !== false) {
|
|
211
|
+
actions.addRoute({
|
|
212
|
+
path: '/search',
|
|
213
|
+
component: '@theme/SearchPage',
|
|
214
|
+
exact: true,
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
const docDescriptions = {};
|
|
218
|
+
const docsDataDirectory = (0, path_1.resolve)(siteDirectory, '.docusaurus/docusaurus-plugin-content-docs/default');
|
|
219
|
+
if ((0, fs_1.existsSync)(docsDataDirectory) === true) {
|
|
220
|
+
const docsDataFiles = (0, fs_1.readdirSync)(docsDataDirectory);
|
|
221
|
+
for (const docsDataFile of docsDataFiles) {
|
|
222
|
+
const isJsonFile = docsDataFile.startsWith('site-') && docsDataFile.endsWith('.json');
|
|
223
|
+
if (isJsonFile === false) {
|
|
224
|
+
continue;
|
|
225
|
+
}
|
|
226
|
+
const docsDataFilePath = (0, path_1.resolve)(docsDataDirectory, docsDataFile);
|
|
227
|
+
const docsDataFileContent = (0, fs_1.readFileSync)(docsDataFilePath, 'utf-8');
|
|
228
|
+
if (docsDataFileContent === '') {
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
const docsDataFileParsed = JSON.parse(docsDataFileContent);
|
|
232
|
+
const hasPermalink = docsDataFileParsed['permalink'] !== undefined;
|
|
233
|
+
const hasDescription = docsDataFileParsed['description'] !== undefined;
|
|
234
|
+
const isNotEmpty = docsDataFileParsed['description'] !== '';
|
|
235
|
+
if (hasPermalink === true
|
|
236
|
+
&& hasDescription === true
|
|
237
|
+
&& isNotEmpty === true) {
|
|
238
|
+
const permalinkValue = docsDataFileParsed['permalink'];
|
|
239
|
+
const descriptionValue = docsDataFileParsed['description'];
|
|
240
|
+
Reflect.set(docDescriptions, permalinkValue, descriptionValue);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
const blogPosts = [];
|
|
245
|
+
const blogSeenPostPermalinks = new Set();
|
|
246
|
+
const blogAuthors = [];
|
|
247
|
+
const blogDataDirectory = (0, path_1.resolve)(siteDirectory, '.docusaurus/docusaurus-plugin-content-blog/default');
|
|
248
|
+
const blogSeenAuthorKeys = new Set();
|
|
249
|
+
if ((0, fs_1.existsSync)(blogDataDirectory) === true) {
|
|
250
|
+
const blogDataFiles = (0, fs_1.readdirSync)(blogDataDirectory);
|
|
251
|
+
for (const blogDataFile of blogDataFiles) {
|
|
252
|
+
if (blogDataFile.startsWith('site-') === false || blogDataFile.endsWith('.json') === false) {
|
|
253
|
+
continue;
|
|
254
|
+
}
|
|
255
|
+
const blogDataFilePath = (0, path_1.resolve)(blogDataDirectory, blogDataFile);
|
|
256
|
+
const blogDataFileContent = (0, fs_1.readFileSync)(blogDataFilePath, 'utf-8');
|
|
257
|
+
if (blogDataFileContent === '') {
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
const blogDataFileParsed = JSON.parse(blogDataFileContent);
|
|
261
|
+
const blogHasPermalink = blogDataFileParsed['permalink'] !== undefined;
|
|
262
|
+
const blogHasDescription = blogDataFileParsed['description'] !== undefined;
|
|
263
|
+
const blogIsNotEmpty = blogDataFileParsed['description'] !== '';
|
|
264
|
+
const blogHasTitle = blogDataFileParsed['title'] !== undefined;
|
|
265
|
+
const blogHasDate = blogDataFileParsed['date'] !== undefined;
|
|
266
|
+
if (blogHasPermalink === true
|
|
267
|
+
&& blogHasDescription === true
|
|
268
|
+
&& blogIsNotEmpty === true
|
|
269
|
+
&& blogHasTitle === true
|
|
270
|
+
&& blogHasDate === true) {
|
|
271
|
+
const blogTitleValue = blogDataFileParsed['title'];
|
|
272
|
+
const blogPermalinkValue = blogDataFileParsed['permalink'];
|
|
273
|
+
const blogDescriptionValue = blogDataFileParsed['description'];
|
|
274
|
+
const blogDateValue = blogDataFileParsed['date'];
|
|
275
|
+
if (blogSeenPostPermalinks.has(blogPermalinkValue) === false) {
|
|
276
|
+
blogSeenPostPermalinks.add(blogPermalinkValue);
|
|
277
|
+
const blogPost = {
|
|
278
|
+
title: blogTitleValue,
|
|
279
|
+
description: blogDescriptionValue,
|
|
280
|
+
permalink: blogPermalinkValue,
|
|
281
|
+
date: blogDateValue,
|
|
282
|
+
};
|
|
283
|
+
blogPosts.push(blogPost);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
const blogFileAuthors = (blogDataFileParsed['authors'] ?? []);
|
|
287
|
+
for (const blogFileAuthor of blogFileAuthors) {
|
|
288
|
+
const authorRaw = blogFileAuthor;
|
|
289
|
+
const authorKey = authorRaw['key'];
|
|
290
|
+
if (authorKey === undefined || blogSeenAuthorKeys.has(authorKey) === true) {
|
|
291
|
+
continue;
|
|
292
|
+
}
|
|
293
|
+
blogSeenAuthorKeys.add(authorKey);
|
|
294
|
+
const authorName = authorRaw['name'];
|
|
295
|
+
const authorImageUrl = authorRaw['imageURL'];
|
|
296
|
+
const authorPage = authorRaw['page'];
|
|
297
|
+
const authorPermalink = (authorPage !== undefined && authorPage !== null) ? authorPage['permalink'] : undefined;
|
|
298
|
+
const blogAuthor = {
|
|
299
|
+
imageURL: authorImageUrl,
|
|
300
|
+
key: authorKey,
|
|
301
|
+
name: authorName,
|
|
302
|
+
permalink: authorPermalink,
|
|
303
|
+
};
|
|
304
|
+
blogAuthors.push(blogAuthor);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
actions.setGlobalData({
|
|
309
|
+
blogAuthors,
|
|
310
|
+
blogPosts,
|
|
311
|
+
docDescriptions,
|
|
312
|
+
navbarVariant: resolvedPreset['navbar'],
|
|
313
|
+
footerVariant: resolvedPreset['footer'],
|
|
314
|
+
presetLogo: {
|
|
315
|
+
title: resolvedPreset['logo']['title'],
|
|
316
|
+
alt: resolvedPreset['logo']['alt'],
|
|
317
|
+
src: presetLogoDataUri,
|
|
318
|
+
},
|
|
319
|
+
});
|
|
320
|
+
return;
|
|
321
|
+
},
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
static buildGoogleFontsUrl(preset) {
|
|
325
|
+
const spacePattern = new RegExp(regex_js_1.LIB_REGEX_CHARACTER_SPACE, 'g');
|
|
326
|
+
const displayFamily = `family=${preset['fonts']['display'].replace(spacePattern, '+')}:wght@400;600;700`;
|
|
327
|
+
const bodyFamily = `family=${preset['fonts']['body'].replace(spacePattern, '+')}:wght@400;500;700`;
|
|
328
|
+
const codeFamily = `family=${preset['fonts']['code'].replace(spacePattern, '+')}:wght@400;500`;
|
|
329
|
+
const families = [
|
|
330
|
+
displayFamily,
|
|
331
|
+
bodyFamily,
|
|
332
|
+
codeFamily,
|
|
333
|
+
];
|
|
334
|
+
const query = families.join('&');
|
|
335
|
+
return `https://fonts.googleapis.com/css2?${query}&display=block`;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
exports.DocusaurusThemeNova = DocusaurusThemeNova;
|
|
339
|
+
var get_swizzle_config_js_1 = require("./get-swizzle-config.js");
|
|
340
|
+
Object.defineProperty(exports, "getSwizzleConfig", { enumerable: true, get: function () { return get_swizzle_config_js_1.getSwizzleConfig; } });
|
|
341
|
+
var options_js_2 = require("./options.js");
|
|
342
|
+
Object.defineProperty(exports, "validateOptions", { enumerable: true, get: function () { return options_js_2.validateOptions; } });
|
|
343
|
+
Object.defineProperty(exports, "validateThemeConfig", { enumerable: true, get: function () { return options_js_2.validateThemeConfig; } });
|
|
344
|
+
exports.default = DocusaurusThemeNova['default'];
|
|
345
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,2BAMY;AACZ,+BAAwC;AAExC,uEAAoF;AAEpF,6DAAsD;AACtD,6CAA2D;AAC3D,wDAA2D;AAC3D,6CAA6C;AAC7C,iFAAyE;AACzE,qEAA6D;AAC7D,+EAAuE;AAiIvE,MAAa,mBAAmB;IAevB,MAAM,CAAC,OAAO,CAAC,OAA+C,EAAE,OAA+C;QACpH,MAAM,cAAc,GAAkD,IAAA,0BAAa,EAAC,OAAO,CAAC,CAAC;QAE7F,MAAM,YAAY,GAAgD,+BAAY,CAAC,QAAQ,CAAC;YACtF,MAAM,EAAE,cAAc;SACvB,CAAC,CAAC;QAGH,MAAM,aAAa,GAAiD,OAAO,CAAC,SAAS,CAAC,CAAC;QACvF,MAAM,qBAAqB,GAAyD,IAAA,cAAO,EAAC,aAAa,EAAE,mCAAmC,CAAC,CAAC;QAChJ,MAAM,gBAAgB,GAAoD,IAAA,cAAO,EAAC,qBAAqB,EAAE,oBAAoB,CAAC,CAAC;QAE/H,IAAA,cAAS,EAAC,qBAAqB,EAA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;AAE7C,kBAAe,mBAAmB,CAAC,SAAS,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LibColorConstructorHex, LibColorGenerateScaleReturns } from '../types/lib/color.d.ts';
|
|
2
|
+
export declare class Color {
|
|
3
|
+
#private;
|
|
4
|
+
constructor(hex: LibColorConstructorHex);
|
|
5
|
+
private static computeShade;
|
|
6
|
+
generateScale(): LibColorGenerateScaleReturns;
|
|
7
|
+
private static hslToHex;
|
|
8
|
+
private static rgbToHsl;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../src/lib/color.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAWV,sBAAsB,EAKtB,4BAA4B,EA2C7B,MAAM,yBAAyB,CAAC;AAUjC,qBAAa,KAAK;;gBAkHG,GAAG,EAAE,sBAAsB;IAoC9C,OAAO,CAAC,MAAM,CAAC,YAAY;IAuBpB,aAAa,IAAI,4BAA4B;IAmCpD,OAAO,CAAC,MAAM,CAAC,QAAQ;IA+DvB,OAAO,CAAC,MAAM,CAAC,QAAQ;CAwCxB"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Color = void 0;
|
|
4
|
+
const regex_js_1 = require("./regex.js");
|
|
5
|
+
class Color {
|
|
6
|
+
#hue;
|
|
7
|
+
#lightness;
|
|
8
|
+
#saturation;
|
|
9
|
+
static #shadeConfig = [
|
|
10
|
+
[
|
|
11
|
+
50,
|
|
12
|
+
0.93,
|
|
13
|
+
0.40,
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
100,
|
|
17
|
+
0.86,
|
|
18
|
+
0.55,
|
|
19
|
+
],
|
|
20
|
+
[
|
|
21
|
+
200,
|
|
22
|
+
0.73,
|
|
23
|
+
0.70,
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
300,
|
|
27
|
+
0.58,
|
|
28
|
+
0.82,
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
400,
|
|
32
|
+
0.39,
|
|
33
|
+
0.92,
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
500,
|
|
37
|
+
0.20,
|
|
38
|
+
0.98,
|
|
39
|
+
],
|
|
40
|
+
[
|
|
41
|
+
600,
|
|
42
|
+
0,
|
|
43
|
+
1.00,
|
|
44
|
+
],
|
|
45
|
+
[
|
|
46
|
+
700,
|
|
47
|
+
-0.28,
|
|
48
|
+
0.95,
|
|
49
|
+
],
|
|
50
|
+
[
|
|
51
|
+
800,
|
|
52
|
+
-0.50,
|
|
53
|
+
0.90,
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
900,
|
|
57
|
+
-0.66,
|
|
58
|
+
0.85,
|
|
59
|
+
],
|
|
60
|
+
[
|
|
61
|
+
950,
|
|
62
|
+
-0.80,
|
|
63
|
+
0.80,
|
|
64
|
+
],
|
|
65
|
+
];
|
|
66
|
+
constructor(hex) {
|
|
67
|
+
const isValid = regex_js_1.LIB_REGEX_HEX_COLOR.test(hex);
|
|
68
|
+
if (isValid === false) {
|
|
69
|
+
throw new Error(`Invalid hex color: ${hex}`);
|
|
70
|
+
}
|
|
71
|
+
const red = parseInt(hex.slice(1, 3), 16);
|
|
72
|
+
const green = parseInt(hex.slice(3, 5), 16);
|
|
73
|
+
const blue = parseInt(hex.slice(5, 7), 16);
|
|
74
|
+
const hsl = Color.rgbToHsl(red, green, blue);
|
|
75
|
+
this.#hue = hsl['hue'];
|
|
76
|
+
this.#saturation = hsl['saturation'];
|
|
77
|
+
this.#lightness = hsl['lightness'];
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
static computeShade(hue, saturation, lightness, position, saturationFactor) {
|
|
81
|
+
let targetLightness = 0;
|
|
82
|
+
if (position >= 0) {
|
|
83
|
+
targetLightness = lightness + (position * (100 - lightness));
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
targetLightness = lightness * (1 + position);
|
|
87
|
+
}
|
|
88
|
+
const adjustedSaturation = saturation * saturationFactor;
|
|
89
|
+
return Color.hslToHex(hue, adjustedSaturation, targetLightness);
|
|
90
|
+
}
|
|
91
|
+
generateScale() {
|
|
92
|
+
const result = {};
|
|
93
|
+
for (let i = 0; i < Color.#shadeConfig.length; i += 1) {
|
|
94
|
+
const shadeConfigEntry = Color.#shadeConfig[i];
|
|
95
|
+
if (shadeConfigEntry === undefined) {
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
const shadeConfigLevel = shadeConfigEntry[0];
|
|
99
|
+
const shadeConfigPosition = shadeConfigEntry[1];
|
|
100
|
+
const shadeConfigSaturationFactor = shadeConfigEntry[2];
|
|
101
|
+
Reflect.set(result, shadeConfigLevel, Color.computeShade(this.#hue, this.#saturation, this.#lightness, shadeConfigPosition, shadeConfigSaturationFactor));
|
|
102
|
+
}
|
|
103
|
+
return result;
|
|
104
|
+
}
|
|
105
|
+
static hslToHex(hue, saturation, lightness) {
|
|
106
|
+
const normalizedSaturation = saturation / 100;
|
|
107
|
+
const normalizedLightness = lightness / 100;
|
|
108
|
+
const chroma = (1 - Math.abs((2 * normalizedLightness) - 1)) * normalizedSaturation;
|
|
109
|
+
const hueSection = hue / 60;
|
|
110
|
+
const secondaryChroma = chroma * (1 - Math.abs((hueSection % 2) - 1));
|
|
111
|
+
const lightnessMatch = normalizedLightness - (chroma / 2);
|
|
112
|
+
let channelRed = 0;
|
|
113
|
+
let channelGreen = 0;
|
|
114
|
+
let channelBlue = 0;
|
|
115
|
+
if (hueSection >= 0 && hueSection < 1) {
|
|
116
|
+
channelRed = chroma;
|
|
117
|
+
channelGreen = secondaryChroma;
|
|
118
|
+
channelBlue = 0;
|
|
119
|
+
}
|
|
120
|
+
else if (hueSection >= 1 && hueSection < 2) {
|
|
121
|
+
channelRed = secondaryChroma;
|
|
122
|
+
channelGreen = chroma;
|
|
123
|
+
channelBlue = 0;
|
|
124
|
+
}
|
|
125
|
+
else if (hueSection >= 2 && hueSection < 3) {
|
|
126
|
+
channelRed = 0;
|
|
127
|
+
channelGreen = chroma;
|
|
128
|
+
channelBlue = secondaryChroma;
|
|
129
|
+
}
|
|
130
|
+
else if (hueSection >= 3 && hueSection < 4) {
|
|
131
|
+
channelRed = 0;
|
|
132
|
+
channelGreen = secondaryChroma;
|
|
133
|
+
channelBlue = chroma;
|
|
134
|
+
}
|
|
135
|
+
else if (hueSection >= 4 && hueSection < 5) {
|
|
136
|
+
channelRed = secondaryChroma;
|
|
137
|
+
channelGreen = 0;
|
|
138
|
+
channelBlue = chroma;
|
|
139
|
+
}
|
|
140
|
+
else if (hueSection >= 5 && hueSection < 6) {
|
|
141
|
+
channelRed = chroma;
|
|
142
|
+
channelGreen = 0;
|
|
143
|
+
channelBlue = secondaryChroma;
|
|
144
|
+
}
|
|
145
|
+
const redByte = Math.round((channelRed + lightnessMatch) * 255);
|
|
146
|
+
const greenByte = Math.round((channelGreen + lightnessMatch) * 255);
|
|
147
|
+
const blueByte = Math.round((channelBlue + lightnessMatch) * 255);
|
|
148
|
+
const redHex = redByte.toString(16).padStart(2, '0');
|
|
149
|
+
const greenHex = greenByte.toString(16).padStart(2, '0');
|
|
150
|
+
const blueHex = blueByte.toString(16).padStart(2, '0');
|
|
151
|
+
return `#${redHex}${greenHex}${blueHex}`;
|
|
152
|
+
}
|
|
153
|
+
static rgbToHsl(red, green, blue) {
|
|
154
|
+
const normalizedRed = red / 255;
|
|
155
|
+
const normalizedGreen = green / 255;
|
|
156
|
+
const normalizedBlue = blue / 255;
|
|
157
|
+
const channelMax = Math.max(normalizedRed, normalizedGreen, normalizedBlue);
|
|
158
|
+
const channelMin = Math.min(normalizedRed, normalizedGreen, normalizedBlue);
|
|
159
|
+
const delta = channelMax - channelMin;
|
|
160
|
+
const lightnessNormalized = (channelMax + channelMin) / 2;
|
|
161
|
+
const lightness = lightnessNormalized * 100;
|
|
162
|
+
let saturation = 0;
|
|
163
|
+
if (delta !== 0) {
|
|
164
|
+
const saturationDenominator = 1 - Math.abs((2 * lightnessNormalized) - 1);
|
|
165
|
+
saturation = (delta / saturationDenominator) * 100;
|
|
166
|
+
}
|
|
167
|
+
let hue = 0;
|
|
168
|
+
if (delta !== 0) {
|
|
169
|
+
if (channelMax === normalizedRed) {
|
|
170
|
+
hue = 60 * (((normalizedGreen - normalizedBlue) / delta) % 6);
|
|
171
|
+
}
|
|
172
|
+
else if (channelMax === normalizedGreen) {
|
|
173
|
+
hue = 60 * (((normalizedBlue - normalizedRed) / delta) + 2);
|
|
174
|
+
}
|
|
175
|
+
else {
|
|
176
|
+
hue = 60 * (((normalizedRed - normalizedGreen) / delta) + 4);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
if (hue < 0) {
|
|
180
|
+
hue += 360;
|
|
181
|
+
}
|
|
182
|
+
return {
|
|
183
|
+
hue,
|
|
184
|
+
saturation,
|
|
185
|
+
lightness,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
exports.Color = Color;
|
|
190
|
+
//# sourceMappingURL=color.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.js","sourceRoot":"","sources":["../../../src/lib/color.ts"],"names":[],"mappings":";;;AAAA,yCAAiD;AAuEjD,MAAa,KAAK;IAWP,IAAI,CAAc;IAYlB,UAAU,CAAoB;IAY9B,WAAW,CAAqB;IAYzC,MAAM,CAAU,YAAY,GAAwB;QAClD;YACE,EAAE;YACF,IAAI;YACJ,IAAI;SACL;QACD;YACE,GAAG;YACH,IAAI;YACJ,IAAI;SACL;QACD;YACE,GAAG;YACH,IAAI;YACJ,IAAI;SACL;QACD;YACE,GAAG;YACH,IAAI;YACJ,IAAI;SACL;QACD;YACE,GAAG;YACH,IAAI;YACJ,IAAI;SACL;QACD;YACE,GAAG;YACH,IAAI;YACJ,IAAI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AG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;YAC/D,CAAC;QACH,CAAC;QAED,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;YACZ,GAAG,IAAI,GAAG,CAAC;QACb,CAAC;QAED,OAAO;YACL,GAAG;YACH,UAAU;YACV,SAAS;SACV,CAAC;IACJ,CAAC;;AAtTH,sBAuTC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { LibCssGeneratorGenerateOptions, LibCssGeneratorGenerateReturns } from '../types/lib/css-generator.d.ts';
|
|
2
|
+
export declare class CssGenerator {
|
|
3
|
+
static generate(options: LibCssGeneratorGenerateOptions): LibCssGeneratorGenerateReturns;
|
|
4
|
+
private static generateColorVariables;
|
|
5
|
+
private static generateFontVariables;
|
|
6
|
+
private static generateShapeVariables;
|
|
7
|
+
private static generateDepthVariables;
|
|
8
|
+
private static generateMotionVariables;
|
|
9
|
+
private static generateGridVariables;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=css-generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-generator.d.ts","sourceRoot":"","sources":["../../../src/lib/css-generator.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAkCV,8BAA8B,EAI9B,8BAA8B,EAO/B,MAAM,iCAAiC,CAAC;AAWzC,qBAAa,YAAY;WAcT,QAAQ,CAAC,OAAO,EAAE,8BAA8B,GAAG,8BAA8B;IAyD/F,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAuCrC,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAuBpC,OAAO,CAAC,MAAM,CAAC,sBAAsB;IA8CrC,OAAO,CAAC,MAAM,CAAC,sBAAsB;IA8CrC,OAAO,CAAC,MAAM,CAAC,uBAAuB;IAoCtC,OAAO,CAAC,MAAM,CAAC,qBAAqB;CA+DrC"}
|