@cbnventures/docusaurus-preset-nova 0.20.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (638) hide show
  1. package/README.md +10 -0
  2. package/bin/theme-nova.mjs +16 -0
  3. package/build/package.json +163 -0
  4. package/build/src/blocks/app-market-download/index.d.ts.map +1 -1
  5. package/build/src/blocks/app-market-download/index.js.map +1 -1
  6. package/build/src/blocks/blog-preview/index.d.ts.map +1 -1
  7. package/build/src/blocks/blog-preview/index.js.map +1 -1
  8. package/build/src/blocks/features/index.d.ts.map +1 -1
  9. package/build/src/blocks/features/index.js.map +1 -1
  10. package/build/src/blocks/frame/index.d.ts.map +1 -1
  11. package/build/src/blocks/frame/index.js.map +1 -1
  12. package/build/src/blocks/hero/index.d.ts.map +1 -1
  13. package/build/src/blocks/hero/index.js.map +1 -1
  14. package/build/src/blocks/install-strip/index.d.ts.map +1 -1
  15. package/build/src/blocks/install-strip/index.js.map +1 -1
  16. package/build/src/blocks/spotlight/index.d.ts.map +1 -1
  17. package/build/src/blocks/spotlight/index.js.map +1 -1
  18. package/build/src/blocks/stats/index.d.ts.map +1 -1
  19. package/build/src/blocks/stats/index.js.map +1 -1
  20. package/build/src/blocks/terminology/index.d.ts.map +1 -1
  21. package/build/src/blocks/terminology/index.js.map +1 -1
  22. package/build/src/blocks/typewriter/index.d.ts.map +1 -1
  23. package/build/src/blocks/typewriter/index.js.map +1 -1
  24. package/build/src/cli/i18n/check.d.ts +5 -0
  25. package/build/src/cli/i18n/check.d.ts.map +1 -0
  26. package/build/src/cli/i18n/check.js +35 -0
  27. package/build/src/cli/i18n/check.js.map +1 -0
  28. package/build/src/cli/i18n/coverage.d.ts +8 -0
  29. package/build/src/cli/i18n/coverage.d.ts.map +1 -0
  30. package/build/src/cli/i18n/coverage.js +178 -0
  31. package/build/src/cli/i18n/coverage.js.map +1 -0
  32. package/build/src/cli/i18n/sync.d.ts +5 -0
  33. package/build/src/cli/i18n/sync.d.ts.map +1 -0
  34. package/build/src/cli/i18n/sync.js +53 -0
  35. package/build/src/cli/i18n/sync.js.map +1 -0
  36. package/build/src/cli/index.d.ts +3 -0
  37. package/build/src/cli/index.d.ts.map +1 -0
  38. package/build/src/cli/index.js +113 -0
  39. package/build/src/cli/index.js.map +1 -0
  40. package/build/src/icons.d.ts +3 -0
  41. package/build/src/icons.d.ts.map +1 -0
  42. package/build/src/icons.js +8 -0
  43. package/build/src/icons.js.map +1 -0
  44. package/build/src/index.d.ts.map +1 -1
  45. package/build/src/index.js +30 -28
  46. package/build/src/index.js.map +1 -1
  47. package/build/src/lib/color.d.ts.map +1 -1
  48. package/build/src/lib/color.js.map +1 -1
  49. package/build/src/lib/google-fonts-url.d.ts.map +1 -1
  50. package/build/src/lib/google-fonts-url.js.map +1 -1
  51. package/build/src/lib/i18n/apply-plan.d.ts +10 -0
  52. package/build/src/lib/i18n/apply-plan.d.ts.map +1 -0
  53. package/build/src/lib/i18n/apply-plan.js +174 -0
  54. package/build/src/lib/i18n/apply-plan.js.map +1 -0
  55. package/build/src/lib/i18n/content-scan.d.ts +8 -0
  56. package/build/src/lib/i18n/content-scan.d.ts.map +1 -0
  57. package/build/src/lib/i18n/content-scan.js +180 -0
  58. package/build/src/lib/i18n/content-scan.js.map +1 -0
  59. package/build/src/lib/i18n/coverage.d.ts +8 -0
  60. package/build/src/lib/i18n/coverage.d.ts.map +1 -0
  61. package/build/src/lib/i18n/coverage.js +113 -0
  62. package/build/src/lib/i18n/coverage.js.map +1 -0
  63. package/build/src/lib/i18n/prompt.d.ts +6 -0
  64. package/build/src/lib/i18n/prompt.d.ts.map +1 -0
  65. package/build/src/lib/i18n/prompt.js +30 -0
  66. package/build/src/lib/i18n/prompt.js.map +1 -0
  67. package/build/src/lib/i18n/reconcile.d.ts +7 -0
  68. package/build/src/lib/i18n/reconcile.d.ts.map +1 -0
  69. package/build/src/lib/i18n/reconcile.js +201 -0
  70. package/build/src/lib/i18n/reconcile.js.map +1 -0
  71. package/build/src/lib/i18n/report.d.ts +5 -0
  72. package/build/src/lib/i18n/report.d.ts.map +1 -0
  73. package/build/src/lib/i18n/report.js +33 -0
  74. package/build/src/lib/i18n/report.js.map +1 -0
  75. package/build/src/lib/i18n/site-context.d.ts +9 -0
  76. package/build/src/lib/i18n/site-context.d.ts.map +1 -0
  77. package/build/src/lib/i18n/site-context.js +141 -0
  78. package/build/src/lib/i18n/site-context.js.map +1 -0
  79. package/build/src/lib/mermaid.js +8 -8
  80. package/build/src/lib/mermaid.js.map +1 -1
  81. package/build/src/lib/regex.d.ts +2 -0
  82. package/build/src/lib/regex.d.ts.map +1 -1
  83. package/build/src/lib/regex.js +47 -42
  84. package/build/src/lib/regex.js.map +1 -1
  85. package/build/src/lib/rehype-shiki.d.ts.map +1 -1
  86. package/build/src/lib/rehype-shiki.js.map +1 -1
  87. package/build/src/lib/search/indexer.d.ts.map +1 -1
  88. package/build/src/lib/search/indexer.js +3 -1
  89. package/build/src/lib/search/indexer.js.map +1 -1
  90. package/build/src/lib/search/perform-search.d.ts.map +1 -1
  91. package/build/src/lib/search/perform-search.js +15 -10
  92. package/build/src/lib/search/perform-search.js.map +1 -1
  93. package/build/src/lib/search/worker.js +25 -16
  94. package/build/src/lib/search/worker.js.map +1 -1
  95. package/build/src/lib/sidebar-mobile-store.d.ts +5 -0
  96. package/build/src/lib/sidebar-mobile-store.d.ts.map +1 -0
  97. package/build/src/lib/sidebar-mobile-store.js +26 -0
  98. package/build/src/lib/sidebar-mobile-store.js.map +1 -0
  99. package/build/src/lib/toc-collapsible-store.d.ts +7 -0
  100. package/build/src/lib/toc-collapsible-store.d.ts.map +1 -0
  101. package/build/src/lib/toc-collapsible-store.js +40 -0
  102. package/build/src/lib/toc-collapsible-store.js.map +1 -0
  103. package/build/src/lib/translations.d.ts.map +1 -1
  104. package/build/src/lib/translations.js +30 -19
  105. package/build/src/lib/translations.js.map +1 -1
  106. package/build/src/lib/use-details-dismiss.d.ts.map +1 -1
  107. package/build/src/lib/use-details-dismiss.js.map +1 -1
  108. package/build/src/lib/use-navbar-active-item.d.ts.map +1 -1
  109. package/build/src/lib/use-navbar-active-item.js +12 -1
  110. package/build/src/lib/use-navbar-active-item.js.map +1 -1
  111. package/build/src/lib/use-navbar-overflow.d.ts.map +1 -1
  112. package/build/src/lib/use-navbar-overflow.js.map +1 -1
  113. package/build/src/plugins/bundle-guard/index.d.ts.map +1 -1
  114. package/build/src/plugins/bundle-guard/index.js.map +1 -1
  115. package/build/src/plugins/icons/generate.d.ts.map +1 -1
  116. package/build/src/plugins/icons/generate.js +4 -2
  117. package/build/src/plugins/icons/generate.js.map +1 -1
  118. package/build/src/plugins/icons/index.d.ts.map +1 -1
  119. package/build/src/plugins/icons/index.js.map +1 -1
  120. package/build/src/plugins/mermaid-tooltip/client.d.ts.map +1 -1
  121. package/build/src/plugins/mermaid-tooltip/client.js.map +1 -1
  122. package/build/src/plugins/mermaid-tooltip/index.d.ts.map +1 -1
  123. package/build/src/plugins/mermaid-tooltip/index.js.map +1 -1
  124. package/build/src/scripts/data-attribute-query.d.ts.map +1 -1
  125. package/build/src/scripts/data-attribute-query.js.map +1 -1
  126. package/build/src/styles/embed.css +132 -0
  127. package/build/src/styles/presets/envoy/theme/Navbar/Bridge/style.css +39 -10
  128. package/build/src/styles/presets/envoy/theme/Navbar/Canopy/style.css +50 -11
  129. package/build/src/styles/presets/envoy/theme/Navbar/Compass/style.css +41 -11
  130. package/build/src/styles/presets/envoy/theme/Navbar/Monolith/style.css +20 -5
  131. package/build/src/styles/presets/envoy/theme/Navbar/More/style.css +4 -3
  132. package/build/src/styles/presets/envoy/theme/Navbar/style.css +13 -5
  133. package/build/src/styles/presets/foundry/theme/Navbar/Bridge/style.css +41 -11
  134. package/build/src/styles/presets/foundry/theme/Navbar/Canopy/style.css +40 -11
  135. package/build/src/styles/presets/foundry/theme/Navbar/Compass/style.css +41 -11
  136. package/build/src/styles/presets/foundry/theme/Navbar/Monolith/style.css +20 -5
  137. package/build/src/styles/presets/foundry/theme/Navbar/More/style.css +4 -3
  138. package/build/src/styles/presets/foundry/theme/Navbar/style.css +13 -5
  139. package/build/src/styles/presets/lantern/theme/Navbar/Bridge/style.css +37 -10
  140. package/build/src/styles/presets/lantern/theme/Navbar/Canopy/style.css +45 -12
  141. package/build/src/styles/presets/lantern/theme/Navbar/Compass/style.css +37 -11
  142. package/build/src/styles/presets/lantern/theme/Navbar/Monolith/style.css +23 -5
  143. package/build/src/styles/presets/lantern/theme/Navbar/More/style.css +4 -3
  144. package/build/src/styles/presets/lantern/theme/Navbar/style.css +13 -4
  145. package/build/src/styles/presets/marshal/theme/Navbar/Bridge/style.css +50 -10
  146. package/build/src/styles/presets/marshal/theme/Navbar/Canopy/style.css +41 -12
  147. package/build/src/styles/presets/marshal/theme/Navbar/Compass/style.css +41 -10
  148. package/build/src/styles/presets/marshal/theme/Navbar/Monolith/style.css +34 -3
  149. package/build/src/styles/presets/marshal/theme/Navbar/More/style.css +4 -3
  150. package/build/src/styles/presets/marshal/theme/Navbar/style.css +16 -5
  151. package/build/src/styles/presets/sample/theme/Navbar/Canopy/style.css +16 -0
  152. package/build/src/styles/presets/sentinel/theme/Navbar/Bridge/style.css +41 -11
  153. package/build/src/styles/presets/sentinel/theme/Navbar/Canopy/style.css +40 -11
  154. package/build/src/styles/presets/sentinel/theme/Navbar/Compass/style.css +41 -11
  155. package/build/src/styles/presets/sentinel/theme/Navbar/Monolith/style.css +20 -5
  156. package/build/src/styles/presets/sentinel/theme/Navbar/More/style.css +4 -3
  157. package/build/src/styles/presets/sentinel/theme/Navbar/style.css +14 -4
  158. package/build/src/styles/presets/signal/theme/Navbar/Bridge/style.css +36 -13
  159. package/build/src/styles/presets/signal/theme/Navbar/Canopy/style.css +28 -11
  160. package/build/src/styles/presets/signal/theme/Navbar/Compass/style.css +41 -12
  161. package/build/src/styles/presets/signal/theme/Navbar/Monolith/style.css +22 -5
  162. package/build/src/styles/presets/signal/theme/Navbar/style.css +19 -5
  163. package/build/src/styles/theme/Navbar/Bridge/style.css +33 -0
  164. package/build/src/styles/theme/Navbar/Canopy/style.css +33 -0
  165. package/build/src/styles/theme/Navbar/Compass/style.css +33 -0
  166. package/build/src/styles/theme/Navbar/Monolith/style.css +33 -0
  167. package/build/src/styles/theme/NavbarItem/style.css +68 -0
  168. package/build/src/tests/bin-git-tracked.test.d.ts +2 -0
  169. package/build/src/tests/bin-git-tracked.test.d.ts.map +1 -0
  170. package/build/src/tests/bin-git-tracked.test.js +43 -0
  171. package/build/src/tests/bin-git-tracked.test.js.map +1 -0
  172. package/build/src/tests/cascade-defensive.test.js +6 -3
  173. package/build/src/tests/cascade-defensive.test.js.map +1 -1
  174. package/build/src/tests/class-name-style-passthrough.test.js +4 -2
  175. package/build/src/tests/class-name-style-passthrough.test.js.map +1 -1
  176. package/build/src/tests/cli/i18n/check.test.d.ts +2 -0
  177. package/build/src/tests/cli/i18n/check.test.d.ts.map +1 -0
  178. package/build/src/tests/cli/i18n/check.test.js +79 -0
  179. package/build/src/tests/cli/i18n/check.test.js.map +1 -0
  180. package/build/src/tests/cli/i18n/coverage.test.d.ts +2 -0
  181. package/build/src/tests/cli/i18n/coverage.test.d.ts.map +1 -0
  182. package/build/src/tests/cli/i18n/coverage.test.js +150 -0
  183. package/build/src/tests/cli/i18n/coverage.test.js.map +1 -0
  184. package/build/src/tests/cli/i18n/sync.test.d.ts +2 -0
  185. package/build/src/tests/cli/i18n/sync.test.d.ts.map +1 -0
  186. package/build/src/tests/cli/i18n/sync.test.js +164 -0
  187. package/build/src/tests/cli/i18n/sync.test.js.map +1 -0
  188. package/build/src/tests/config-drift.test.js +18 -9
  189. package/build/src/tests/config-drift.test.js.map +1 -1
  190. package/build/src/tests/exports-module-format.test.d.ts +2 -0
  191. package/build/src/tests/exports-module-format.test.d.ts.map +1 -0
  192. package/build/src/tests/exports-module-format.test.js +106 -0
  193. package/build/src/tests/exports-module-format.test.js.map +1 -0
  194. package/build/src/tests/icons.test.js +16 -14
  195. package/build/src/tests/icons.test.js.map +1 -1
  196. package/build/src/tests/lib/color.test.js.map +1 -1
  197. package/build/src/tests/lib/css-generator.test.js +216 -108
  198. package/build/src/tests/lib/css-generator.test.js.map +1 -1
  199. package/build/src/tests/lib/i18n/apply-plan.test.d.ts +2 -0
  200. package/build/src/tests/lib/i18n/apply-plan.test.d.ts.map +1 -0
  201. package/build/src/tests/lib/i18n/apply-plan.test.js +361 -0
  202. package/build/src/tests/lib/i18n/apply-plan.test.js.map +1 -0
  203. package/build/src/tests/lib/i18n/content-scan.test.d.ts +2 -0
  204. package/build/src/tests/lib/i18n/content-scan.test.d.ts.map +1 -0
  205. package/build/src/tests/lib/i18n/content-scan.test.js +236 -0
  206. package/build/src/tests/lib/i18n/content-scan.test.js.map +1 -0
  207. package/build/src/tests/lib/i18n/coverage.test.d.ts +2 -0
  208. package/build/src/tests/lib/i18n/coverage.test.d.ts.map +1 -0
  209. package/build/src/tests/lib/i18n/coverage.test.js +304 -0
  210. package/build/src/tests/lib/i18n/coverage.test.js.map +1 -0
  211. package/build/src/tests/lib/i18n/reconcile.test.d.ts +2 -0
  212. package/build/src/tests/lib/i18n/reconcile.test.d.ts.map +1 -0
  213. package/build/src/tests/lib/i18n/reconcile.test.js +648 -0
  214. package/build/src/tests/lib/i18n/reconcile.test.js.map +1 -0
  215. package/build/src/tests/lib/i18n/site-context.test.d.ts +2 -0
  216. package/build/src/tests/lib/i18n/site-context.test.d.ts.map +1 -0
  217. package/build/src/tests/lib/i18n/site-context.test.js +48 -0
  218. package/build/src/tests/lib/i18n/site-context.test.js.map +1 -0
  219. package/build/src/tests/lib/search/indexer.test.js +2 -1
  220. package/build/src/tests/lib/search/indexer.test.js.map +1 -1
  221. package/build/src/tests/lib/search/worker.test.js +26 -0
  222. package/build/src/tests/lib/search/worker.test.js.map +1 -1
  223. package/build/src/tests/lib/sidebar-mobile-store.test.d.ts +2 -0
  224. package/build/src/tests/lib/sidebar-mobile-store.test.d.ts.map +1 -0
  225. package/build/src/tests/lib/sidebar-mobile-store.test.js +69 -0
  226. package/build/src/tests/lib/sidebar-mobile-store.test.js.map +1 -0
  227. package/build/src/tests/lib/toc-collapsible-store.test.d.ts +2 -0
  228. package/build/src/tests/lib/toc-collapsible-store.test.d.ts.map +1 -0
  229. package/build/src/tests/lib/toc-collapsible-store.test.js +64 -0
  230. package/build/src/tests/lib/toc-collapsible-store.test.js.map +1 -0
  231. package/build/src/tests/lib/translations.test.js +107 -60
  232. package/build/src/tests/lib/translations.test.js.map +1 -1
  233. package/build/src/tests/options.test.js +6 -3
  234. package/build/src/tests/options.test.js.map +1 -1
  235. package/build/src/tests/presets/envoy/preset.test.js +8 -4
  236. package/build/src/tests/presets/envoy/preset.test.js.map +1 -1
  237. package/build/src/tests/presets/foundry/preset.test.js +8 -4
  238. package/build/src/tests/presets/foundry/preset.test.js.map +1 -1
  239. package/build/src/tests/presets/lantern/preset.test.js +8 -4
  240. package/build/src/tests/presets/lantern/preset.test.js.map +1 -1
  241. package/build/src/tests/presets/marshal/preset.test.js +8 -4
  242. package/build/src/tests/presets/marshal/preset.test.js.map +1 -1
  243. package/build/src/tests/presets/sample/preset.test.js +8 -4
  244. package/build/src/tests/presets/sample/preset.test.js.map +1 -1
  245. package/build/src/tests/presets/sentinel/preset.test.js +8 -4
  246. package/build/src/tests/presets/sentinel/preset.test.js.map +1 -1
  247. package/build/src/tests/presets/signal/preset.test.js +8 -4
  248. package/build/src/tests/presets/signal/preset.test.js.map +1 -1
  249. package/build/src/tests/since-version.test.js +2 -1
  250. package/build/src/tests/since-version.test.js.map +1 -1
  251. package/build/src/tests/theme/CodeBlock/live-editor.test.js +13 -1
  252. package/build/src/tests/theme/CodeBlock/live-editor.test.js.map +1 -1
  253. package/build/src/tests/type-declarations.test.js +4 -8
  254. package/build/src/tests/type-declarations.test.js.map +1 -1
  255. package/build/src/theme/Admonition/index.d.ts.map +1 -1
  256. package/build/src/theme/Admonition/index.js.map +1 -1
  257. package/build/src/theme/AnnouncementBar/index.d.ts.map +1 -1
  258. package/build/src/theme/AnnouncementBar/index.js +2 -1
  259. package/build/src/theme/AnnouncementBar/index.js.map +1 -1
  260. package/build/src/theme/Blog/Components/Author/Socials/index.d.ts.map +1 -1
  261. package/build/src/theme/Blog/Components/Author/Socials/index.js +28 -14
  262. package/build/src/theme/Blog/Components/Author/Socials/index.js.map +1 -1
  263. package/build/src/theme/Blog/Components/Author/index.d.ts.map +1 -1
  264. package/build/src/theme/Blog/Components/Author/index.js.map +1 -1
  265. package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.d.ts.map +1 -1
  266. package/build/src/theme/Blog/Pages/BlogAuthorsListPage/index.js.map +1 -1
  267. package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.d.ts.map +1 -1
  268. package/build/src/theme/Blog/Pages/BlogAuthorsPostsPage/index.js.map +1 -1
  269. package/build/src/theme/BlogArchivePage/index.d.ts.map +1 -1
  270. package/build/src/theme/BlogArchivePage/index.js +1 -1
  271. package/build/src/theme/BlogArchivePage/index.js.map +1 -1
  272. package/build/src/theme/BlogLayout/index.d.ts.map +1 -1
  273. package/build/src/theme/BlogLayout/index.js.map +1 -1
  274. package/build/src/theme/BlogListPage/StructuredData/index.d.ts.map +1 -1
  275. package/build/src/theme/BlogListPage/StructuredData/index.js.map +1 -1
  276. package/build/src/theme/BlogListPage/index.d.ts.map +1 -1
  277. package/build/src/theme/BlogListPage/index.js.map +1 -1
  278. package/build/src/theme/BlogListPaginator/index.d.ts.map +1 -1
  279. package/build/src/theme/BlogListPaginator/index.js.map +1 -1
  280. package/build/src/theme/BlogPostItem/index.d.ts.map +1 -1
  281. package/build/src/theme/BlogPostItem/index.js +14 -7
  282. package/build/src/theme/BlogPostItem/index.js.map +1 -1
  283. package/build/src/theme/BlogPostItems/index.d.ts.map +1 -1
  284. package/build/src/theme/BlogPostItems/index.js.map +1 -1
  285. package/build/src/theme/BlogPostPage/index.d.ts.map +1 -1
  286. package/build/src/theme/BlogPostPage/index.js +2 -1
  287. package/build/src/theme/BlogPostPage/index.js.map +1 -1
  288. package/build/src/theme/BlogPostPaginator/index.d.ts.map +1 -1
  289. package/build/src/theme/BlogPostPaginator/index.js.map +1 -1
  290. package/build/src/theme/BlogSidebar/index.d.ts.map +1 -1
  291. package/build/src/theme/BlogSidebar/index.js.map +1 -1
  292. package/build/src/theme/BlogSidebarMobile/index.d.ts.map +1 -1
  293. package/build/src/theme/BlogSidebarMobile/index.js.map +1 -1
  294. package/build/src/theme/BlogTagsListPage/index.d.ts.map +1 -1
  295. package/build/src/theme/BlogTagsListPage/index.js.map +1 -1
  296. package/build/src/theme/BlogTagsPostsPage/index.d.ts.map +1 -1
  297. package/build/src/theme/BlogTagsPostsPage/index.js.map +1 -1
  298. package/build/src/theme/CodeBlock/index.d.ts.map +1 -1
  299. package/build/src/theme/CodeBlock/index.js.map +1 -1
  300. package/build/src/theme/CodeBlock/live-editor.d.ts.map +1 -1
  301. package/build/src/theme/CodeBlock/live-editor.js +2 -2
  302. package/build/src/theme/CodeBlock/live-editor.js.map +1 -1
  303. package/build/src/theme/CodeInline/index.d.ts.map +1 -1
  304. package/build/src/theme/CodeInline/index.js.map +1 -1
  305. package/build/src/theme/ContentFooter/Edit/index.d.ts.map +1 -1
  306. package/build/src/theme/ContentFooter/Edit/index.js.map +1 -1
  307. package/build/src/theme/ContentFooter/Share/index.d.ts.map +1 -1
  308. package/build/src/theme/ContentFooter/Share/index.js.map +1 -1
  309. package/build/src/theme/ContentFooter/ShareButton/index.d.ts.map +1 -1
  310. package/build/src/theme/ContentFooter/ShareButton/index.js +3 -0
  311. package/build/src/theme/ContentFooter/ShareButton/index.js.map +1 -1
  312. package/build/src/theme/ContentFooter/Tags/index.d.ts.map +1 -1
  313. package/build/src/theme/ContentFooter/Tags/index.js.map +1 -1
  314. package/build/src/theme/ContentFooter/index.d.ts.map +1 -1
  315. package/build/src/theme/ContentFooter/index.js.map +1 -1
  316. package/build/src/theme/ContentVisibility/Draft/index.d.ts.map +1 -1
  317. package/build/src/theme/ContentVisibility/Draft/index.js.map +1 -1
  318. package/build/src/theme/ContentVisibility/Unlisted/index.d.ts.map +1 -1
  319. package/build/src/theme/ContentVisibility/Unlisted/index.js.map +1 -1
  320. package/build/src/theme/ContentVisibility/index.d.ts.map +1 -1
  321. package/build/src/theme/ContentVisibility/index.js.map +1 -1
  322. package/build/src/theme/Details/index.d.ts.map +1 -1
  323. package/build/src/theme/Details/index.js.map +1 -1
  324. package/build/src/theme/DocBreadcrumbs/StructuredData/index.d.ts.map +1 -1
  325. package/build/src/theme/DocBreadcrumbs/StructuredData/index.js.map +1 -1
  326. package/build/src/theme/DocCard/index.d.ts.map +1 -1
  327. package/build/src/theme/DocCard/index.js.map +1 -1
  328. package/build/src/theme/DocCardList/index.d.ts.map +1 -1
  329. package/build/src/theme/DocCardList/index.js.map +1 -1
  330. package/build/src/theme/DocCategoryGeneratedIndexPage/index.d.ts.map +1 -1
  331. package/build/src/theme/DocCategoryGeneratedIndexPage/index.js.map +1 -1
  332. package/build/src/theme/DocItem/Content/index.d.ts.map +1 -1
  333. package/build/src/theme/DocItem/Content/index.js.map +1 -1
  334. package/build/src/theme/DocItem/Footer/index.d.ts.map +1 -1
  335. package/build/src/theme/DocItem/Footer/index.js +11 -6
  336. package/build/src/theme/DocItem/Footer/index.js.map +1 -1
  337. package/build/src/theme/DocItem/Layout/index.d.ts.map +1 -1
  338. package/build/src/theme/DocItem/Layout/index.js.map +1 -1
  339. package/build/src/theme/DocItem/Metadata/index.d.ts.map +1 -1
  340. package/build/src/theme/DocItem/Metadata/index.js.map +1 -1
  341. package/build/src/theme/DocItem/Paginator/index.d.ts.map +1 -1
  342. package/build/src/theme/DocItem/Paginator/index.js.map +1 -1
  343. package/build/src/theme/DocItem/TOC/Desktop/index.d.ts.map +1 -1
  344. package/build/src/theme/DocItem/TOC/Desktop/index.js.map +1 -1
  345. package/build/src/theme/DocItem/TOC/Mobile/index.d.ts.map +1 -1
  346. package/build/src/theme/DocItem/TOC/Mobile/index.js.map +1 -1
  347. package/build/src/theme/DocItem/index.d.ts.map +1 -1
  348. package/build/src/theme/DocItem/index.js +2 -1
  349. package/build/src/theme/DocItem/index.js.map +1 -1
  350. package/build/src/theme/DocPaginator/index.d.ts.map +1 -1
  351. package/build/src/theme/DocPaginator/index.js.map +1 -1
  352. package/build/src/theme/DocRoot/Layout/Main/index.d.ts.map +1 -1
  353. package/build/src/theme/DocRoot/Layout/Main/index.js.map +1 -1
  354. package/build/src/theme/DocRoot/Layout/Sidebar/index.d.ts.map +1 -1
  355. package/build/src/theme/DocRoot/Layout/Sidebar/index.js.map +1 -1
  356. package/build/src/theme/DocRoot/Layout/index.d.ts.map +1 -1
  357. package/build/src/theme/DocRoot/Layout/index.js +5 -2
  358. package/build/src/theme/DocRoot/Layout/index.js.map +1 -1
  359. package/build/src/theme/DocRoot/index.d.ts.map +1 -1
  360. package/build/src/theme/DocRoot/index.js.map +1 -1
  361. package/build/src/theme/DocSidebar/index.d.ts.map +1 -1
  362. package/build/src/theme/DocSidebar/index.js.map +1 -1
  363. package/build/src/theme/DocSidebarItem/Category/index.d.ts.map +1 -1
  364. package/build/src/theme/DocSidebarItem/Category/index.js.map +1 -1
  365. package/build/src/theme/DocSidebarItem/Html/index.d.ts.map +1 -1
  366. package/build/src/theme/DocSidebarItem/Html/index.js.map +1 -1
  367. package/build/src/theme/DocSidebarItem/Link/index.d.ts.map +1 -1
  368. package/build/src/theme/DocSidebarItem/Link/index.js.map +1 -1
  369. package/build/src/theme/DocSidebarItem/index.d.ts.map +1 -1
  370. package/build/src/theme/DocSidebarItem/index.js.map +1 -1
  371. package/build/src/theme/DocSidebarItems/index.d.ts.map +1 -1
  372. package/build/src/theme/DocSidebarItems/index.js.map +1 -1
  373. package/build/src/theme/DocSidebarMobile/index.d.ts.map +1 -1
  374. package/build/src/theme/DocSidebarMobile/index.js +8 -92
  375. package/build/src/theme/DocSidebarMobile/index.js.map +1 -1
  376. package/build/src/theme/DocSidebarMobile/panel.d.ts +3 -0
  377. package/build/src/theme/DocSidebarMobile/panel.d.ts.map +1 -0
  378. package/build/src/theme/DocSidebarMobile/panel.js +88 -0
  379. package/build/src/theme/DocSidebarMobile/panel.js.map +1 -0
  380. package/build/src/theme/DocTagDocListPage/index.d.ts.map +1 -1
  381. package/build/src/theme/DocTagDocListPage/index.js.map +1 -1
  382. package/build/src/theme/DocTagsListPage/index.d.ts.map +1 -1
  383. package/build/src/theme/DocTagsListPage/index.js.map +1 -1
  384. package/build/src/theme/DocVersionRoot/index.d.ts.map +1 -1
  385. package/build/src/theme/DocVersionRoot/index.js.map +1 -1
  386. package/build/src/theme/DocsRoot/index.d.ts.map +1 -1
  387. package/build/src/theme/DocsRoot/index.js.map +1 -1
  388. package/build/src/theme/EditMetaRow/index.d.ts.map +1 -1
  389. package/build/src/theme/EditMetaRow/index.js.map +1 -1
  390. package/build/src/theme/EditThisPage/index.d.ts.map +1 -1
  391. package/build/src/theme/EditThisPage/index.js.map +1 -1
  392. package/build/src/theme/Error/index.d.ts.map +1 -1
  393. package/build/src/theme/Error/index.js.map +1 -1
  394. package/build/src/theme/ErrorPageContent/index.d.ts.map +1 -1
  395. package/build/src/theme/ErrorPageContent/index.js.map +1 -1
  396. package/build/src/theme/Footer/Commons/index.d.ts.map +1 -1
  397. package/build/src/theme/Footer/Commons/index.js.map +1 -1
  398. package/build/src/theme/Footer/Embassy/index.d.ts.map +1 -1
  399. package/build/src/theme/Footer/Embassy/index.js.map +1 -1
  400. package/build/src/theme/Footer/Launchpad/index.d.ts.map +1 -1
  401. package/build/src/theme/Footer/Launchpad/index.js.map +1 -1
  402. package/build/src/theme/Footer/Ledger/index.d.ts.map +1 -1
  403. package/build/src/theme/Footer/Ledger/index.js.map +1 -1
  404. package/build/src/theme/Footer/cta.d.ts.map +1 -1
  405. package/build/src/theme/Footer/cta.js.map +1 -1
  406. package/build/src/theme/Footer/index.d.ts.map +1 -1
  407. package/build/src/theme/Footer/index.js.map +1 -1
  408. package/build/src/theme/Heading/index.d.ts.map +1 -1
  409. package/build/src/theme/Heading/index.js.map +1 -1
  410. package/build/src/theme/IconExternalLink/index.d.ts.map +1 -1
  411. package/build/src/theme/IconExternalLink/index.js.map +1 -1
  412. package/build/src/theme/LastUpdated/index.d.ts.map +1 -1
  413. package/build/src/theme/LastUpdated/index.js.map +1 -1
  414. package/build/src/theme/Layout/Provider/index.d.ts.map +1 -1
  415. package/build/src/theme/Layout/Provider/index.js.map +1 -1
  416. package/build/src/theme/Layout/index.d.ts.map +1 -1
  417. package/build/src/theme/Layout/index.js +2 -1
  418. package/build/src/theme/Layout/index.js.map +1 -1
  419. package/build/src/theme/Loading/index.d.ts.map +1 -1
  420. package/build/src/theme/Loading/index.js.map +1 -1
  421. package/build/src/theme/Logo/index.d.ts.map +1 -1
  422. package/build/src/theme/Logo/index.js.map +1 -1
  423. package/build/src/theme/MDXContent/index.d.ts.map +1 -1
  424. package/build/src/theme/MDXContent/index.js.map +1 -1
  425. package/build/src/theme/MDXPage/index.d.ts.map +1 -1
  426. package/build/src/theme/MDXPage/index.js +9 -5
  427. package/build/src/theme/MDXPage/index.js.map +1 -1
  428. package/build/src/theme/Mermaid/index.d.ts.map +1 -1
  429. package/build/src/theme/Mermaid/index.js.map +1 -1
  430. package/build/src/theme/Navbar/Bridge/index.d.ts.map +1 -1
  431. package/build/src/theme/Navbar/Bridge/index.js.map +1 -1
  432. package/build/src/theme/Navbar/Bridge/mobile-menu.d.ts.map +1 -1
  433. package/build/src/theme/Navbar/Bridge/mobile-menu.js +29 -1
  434. package/build/src/theme/Navbar/Bridge/mobile-menu.js.map +1 -1
  435. package/build/src/theme/Navbar/Canopy/index.d.ts.map +1 -1
  436. package/build/src/theme/Navbar/Canopy/index.js.map +1 -1
  437. package/build/src/theme/Navbar/Canopy/mobile-menu.d.ts.map +1 -1
  438. package/build/src/theme/Navbar/Canopy/mobile-menu.js +29 -1
  439. package/build/src/theme/Navbar/Canopy/mobile-menu.js.map +1 -1
  440. package/build/src/theme/Navbar/Compass/index.d.ts.map +1 -1
  441. package/build/src/theme/Navbar/Compass/index.js.map +1 -1
  442. package/build/src/theme/Navbar/Compass/mobile-menu.d.ts.map +1 -1
  443. package/build/src/theme/Navbar/Compass/mobile-menu.js +29 -1
  444. package/build/src/theme/Navbar/Compass/mobile-menu.js.map +1 -1
  445. package/build/src/theme/Navbar/Monolith/index.d.ts.map +1 -1
  446. package/build/src/theme/Navbar/Monolith/index.js.map +1 -1
  447. package/build/src/theme/Navbar/Monolith/mobile-menu.d.ts.map +1 -1
  448. package/build/src/theme/Navbar/Monolith/mobile-menu.js +29 -1
  449. package/build/src/theme/Navbar/Monolith/mobile-menu.js.map +1 -1
  450. package/build/src/theme/Navbar/More/index.d.ts.map +1 -1
  451. package/build/src/theme/Navbar/More/index.js.map +1 -1
  452. package/build/src/theme/Navbar/index.js +0 -1
  453. package/build/src/theme/Navbar/index.js.map +1 -1
  454. package/build/src/theme/NavbarItem/component-types.d.ts.map +1 -1
  455. package/build/src/theme/NavbarItem/component-types.js +2 -0
  456. package/build/src/theme/NavbarItem/component-types.js.map +1 -1
  457. package/build/src/theme/NavbarItem/default-navbar-item.d.ts.map +1 -1
  458. package/build/src/theme/NavbarItem/default-navbar-item.js.map +1 -1
  459. package/build/src/theme/NavbarItem/doc-navbar-item.d.ts.map +1 -1
  460. package/build/src/theme/NavbarItem/doc-navbar-item.js.map +1 -1
  461. package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.d.ts.map +1 -1
  462. package/build/src/theme/NavbarItem/doc-sidebar-navbar-item.js.map +1 -1
  463. package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.d.ts.map +1 -1
  464. package/build/src/theme/NavbarItem/docs-version-dropdown-navbar-item.js.map +1 -1
  465. package/build/src/theme/NavbarItem/docs-version-navbar-item.d.ts.map +1 -1
  466. package/build/src/theme/NavbarItem/docs-version-navbar-item.js +1 -1
  467. package/build/src/theme/NavbarItem/docs-version-navbar-item.js.map +1 -1
  468. package/build/src/theme/NavbarItem/dropdown-navbar-item.d.ts.map +1 -1
  469. package/build/src/theme/NavbarItem/dropdown-navbar-item.js +14 -1
  470. package/build/src/theme/NavbarItem/dropdown-navbar-item.js.map +1 -1
  471. package/build/src/theme/NavbarItem/html-navbar-item.d.ts.map +1 -1
  472. package/build/src/theme/NavbarItem/html-navbar-item.js.map +1 -1
  473. package/build/src/theme/NavbarItem/index.d.ts.map +1 -1
  474. package/build/src/theme/NavbarItem/index.js.map +1 -1
  475. package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.d.ts.map +1 -1
  476. package/build/src/theme/NavbarItem/locale-dropdown-navbar-item.js.map +1 -1
  477. package/build/src/theme/NavbarItem/search-navbar-item.d.ts.map +1 -1
  478. package/build/src/theme/NavbarItem/search-navbar-item.js.map +1 -1
  479. package/build/src/theme/NotFound/Content/index.d.ts.map +1 -1
  480. package/build/src/theme/NotFound/Content/index.js.map +1 -1
  481. package/build/src/theme/NotFound/index.d.ts.map +1 -1
  482. package/build/src/theme/NotFound/index.js.map +1 -1
  483. package/build/src/theme/Root/index.d.ts.map +1 -1
  484. package/build/src/theme/Root/index.js.map +1 -1
  485. package/build/src/theme/SearchBar/search-input.d.ts.map +1 -1
  486. package/build/src/theme/SearchBar/search-input.js.map +1 -1
  487. package/build/src/theme/SearchBar/search-provider.d.ts.map +1 -1
  488. package/build/src/theme/SearchBar/search-provider.js +4 -1
  489. package/build/src/theme/SearchBar/search-provider.js.map +1 -1
  490. package/build/src/theme/SearchBar/search-results.d.ts.map +1 -1
  491. package/build/src/theme/SearchBar/search-results.js.map +1 -1
  492. package/build/src/theme/SearchMetadata/index.d.ts.map +1 -1
  493. package/build/src/theme/SearchMetadata/index.js.map +1 -1
  494. package/build/src/theme/SearchPage/index.d.ts.map +1 -1
  495. package/build/src/theme/SearchPage/index.js +4 -1
  496. package/build/src/theme/SearchPage/index.js.map +1 -1
  497. package/build/src/theme/Showcase/index.d.ts.map +1 -1
  498. package/build/src/theme/Showcase/index.js.map +1 -1
  499. package/build/src/theme/SkipToContent/index.d.ts.map +1 -1
  500. package/build/src/theme/SkipToContent/index.js.map +1 -1
  501. package/build/src/theme/TOC/index.d.ts.map +1 -1
  502. package/build/src/theme/TOC/index.js.map +1 -1
  503. package/build/src/theme/TOCCollapsible/index.d.ts.map +1 -1
  504. package/build/src/theme/TOCCollapsible/index.js +13 -88
  505. package/build/src/theme/TOCCollapsible/index.js.map +1 -1
  506. package/build/src/theme/TOCCollapsible/panel.d.ts +3 -0
  507. package/build/src/theme/TOCCollapsible/panel.d.ts.map +1 -0
  508. package/build/src/theme/TOCCollapsible/panel.js +90 -0
  509. package/build/src/theme/TOCCollapsible/panel.js.map +1 -0
  510. package/build/src/theme/TabItem/index.d.ts.map +1 -1
  511. package/build/src/theme/TabItem/index.js.map +1 -1
  512. package/build/src/theme/Tabs/index.d.ts.map +1 -1
  513. package/build/src/theme/Tabs/index.js.map +1 -1
  514. package/build/src/theme/Tag/index.d.ts.map +1 -1
  515. package/build/src/theme/Tag/index.js.map +1 -1
  516. package/build/src/theme/TagsListByLetter/index.d.ts.map +1 -1
  517. package/build/src/theme/TagsListByLetter/index.js.map +1 -1
  518. package/build/src/theme/ThemeProvider/TitleFormatter/index.d.ts.map +1 -1
  519. package/build/src/theme/ThemeProvider/TitleFormatter/index.js.map +1 -1
  520. package/build/src/theme/ThemeProvider/index.d.ts.map +1 -1
  521. package/build/src/theme/ThemeProvider/index.js.map +1 -1
  522. package/build/src/theme/ThemedImage/index.d.ts.map +1 -1
  523. package/build/src/theme/ThemedImage/index.js.map +1 -1
  524. package/build/src/types/cli/i18n/check.d.ts +29 -0
  525. package/build/src/types/cli/i18n/coverage.d.ts +120 -0
  526. package/build/src/types/cli/i18n/sync.d.ts +42 -0
  527. package/build/src/types/cli/index.d.ts +55 -0
  528. package/build/src/types/icons.d.ts +21 -0
  529. package/build/src/types/index.d.ts +12 -10
  530. package/build/src/types/lib/bundle-size.d.ts +3 -1
  531. package/build/src/types/lib/color.d.ts +6 -6
  532. package/build/src/types/lib/css-generator.d.ts +5 -4
  533. package/build/src/types/lib/i18n/apply-plan.d.ts +134 -0
  534. package/build/src/types/lib/i18n/content-scan.d.ts +193 -0
  535. package/build/src/types/lib/i18n/coverage.d.ts +105 -0
  536. package/build/src/types/lib/i18n/prompt.d.ts +30 -0
  537. package/build/src/types/lib/i18n/reconcile.d.ts +147 -0
  538. package/build/src/types/lib/i18n/report.d.ts +16 -0
  539. package/build/src/types/lib/i18n/site-context.d.ts +147 -0
  540. package/build/src/types/lib/mermaid.d.ts +5 -3
  541. package/build/src/types/lib/search/indexer.d.ts +8 -4
  542. package/build/src/types/lib/search/perform-search.d.ts +27 -27
  543. package/build/src/types/lib/search/worker.d.ts +31 -24
  544. package/build/src/types/lib/sidebar-mobile-store.d.ts +38 -0
  545. package/build/src/types/lib/toc-collapsible-store.d.ts +67 -0
  546. package/build/src/types/lib/translations.d.ts +4 -0
  547. package/build/src/types/lib/use-details-dismiss.d.ts +3 -3
  548. package/build/src/types/lib/use-navbar-active-item.d.ts +6 -0
  549. package/build/src/types/plugins/icons/generate.d.ts +5 -1
  550. package/build/src/types/shared.d.ts +408 -0
  551. package/build/src/types/tests/bin-git-tracked.test.d.ts +52 -0
  552. package/build/src/types/tests/cli/i18n/sync.test.d.ts +66 -0
  553. package/build/src/types/tests/exports-module-format.test.d.ts +143 -0
  554. package/build/src/types/tests/folder-axis.test.d.ts +4 -2
  555. package/build/src/types/tests/icons.test.d.ts +4 -2
  556. package/build/src/types/tests/layered-scope.test.d.ts +70 -20
  557. package/build/src/types/tests/lib/color.test.d.ts +2 -2
  558. package/build/src/types/tests/lib/i18n/apply-plan.test.d.ts +132 -0
  559. package/build/src/types/tests/lib/i18n/content-scan.test.d.ts +87 -0
  560. package/build/src/types/tests/lib/i18n/reconcile.test.d.ts +173 -0
  561. package/build/src/types/tests/lib/i18n/site-context.test.d.ts +30 -0
  562. package/build/src/types/tests/lib/search/worker.test.d.ts +20 -0
  563. package/build/src/types/tests/lib/sidebar-mobile-store.test.d.ts +51 -0
  564. package/build/src/types/tests/lib/toc-collapsible-store.test.d.ts +52 -0
  565. package/build/src/types/tests/preset.test.d.ts +96 -8
  566. package/build/src/types/tests/theme/CodeBlock/live-editor.test.d.ts +7 -0
  567. package/build/src/types/theme/BlogPostItem/index.d.ts +17 -2
  568. package/build/src/types/theme/DocItem/Footer/index.d.ts +2 -0
  569. package/build/src/types/theme/DocItem/index.d.ts +2 -0
  570. package/build/src/types/theme/DocSidebarMobile/index.d.ts +1 -55
  571. package/build/src/types/theme/DocSidebarMobile/panel.d.ts +54 -0
  572. package/build/src/types/theme/Error/index.d.ts +2 -1
  573. package/build/src/types/theme/ErrorPageContent/index.d.ts +2 -1
  574. package/build/src/types/theme/Layout/index.d.ts +2 -0
  575. package/build/src/types/theme/MDXPage/index.d.ts +3 -1
  576. package/build/src/types/theme/Navbar/Bridge/mobile-menu.d.ts +21 -5
  577. package/build/src/types/theme/Navbar/Canopy/mobile-menu.d.ts +21 -5
  578. package/build/src/types/theme/Navbar/Compass/mobile-menu.d.ts +23 -7
  579. package/build/src/types/theme/Navbar/Monolith/mobile-menu.d.ts +21 -5
  580. package/build/src/types/theme/Navbar/index.d.ts +2 -1
  581. package/build/src/types/theme/NavbarItem/index.d.ts +12 -0
  582. package/build/src/types/theme/SearchBar/search-input.d.ts +8 -5
  583. package/build/src/types/theme/SearchBar/search-provider.d.ts +7 -3
  584. package/build/src/types/theme/SearchBar/search-results.d.ts +4 -3
  585. package/build/src/types/theme/SearchPage/index.d.ts +4 -2
  586. package/build/src/types/theme/SiteMetadata/index.d.ts +3 -1
  587. package/build/src/types/theme/TOCCollapsible/index.d.ts +14 -67
  588. package/build/src/types/theme/TOCCollapsible/panel.d.ts +69 -0
  589. package/nova-config.d.ts +14 -2
  590. package/nova-sidebars.d.ts +1 -0
  591. package/nova-theme.d.ts +2 -1
  592. package/package.json +29 -13
  593. package/translations/locales/ar/theme-nova.json +35 -35
  594. package/translations/locales/bg/theme-nova.json +170 -0
  595. package/translations/locales/bn/theme-nova.json +170 -0
  596. package/translations/locales/cs/theme-nova.json +170 -0
  597. package/translations/locales/da/theme-nova.json +170 -0
  598. package/translations/locales/de/theme-nova.json +170 -0
  599. package/translations/locales/es/theme-nova.json +170 -0
  600. package/translations/locales/et/theme-nova.json +170 -0
  601. package/translations/locales/fa/theme-nova.json +170 -0
  602. package/translations/locales/fil/theme-nova.json +170 -0
  603. package/translations/locales/fr/theme-nova.json +170 -0
  604. package/translations/locales/he/theme-nova.json +170 -0
  605. package/translations/locales/hi/theme-nova.json +170 -0
  606. package/translations/locales/hu/theme-nova.json +170 -0
  607. package/translations/locales/id/theme-nova.json +170 -0
  608. package/translations/locales/is/theme-nova.json +170 -0
  609. package/translations/locales/it/theme-nova.json +170 -0
  610. package/translations/locales/ja/theme-nova.json +170 -0
  611. package/translations/locales/ko/theme-nova.json +170 -0
  612. package/translations/locales/nb/theme-nova.json +170 -0
  613. package/translations/locales/nl/theme-nova.json +170 -0
  614. package/translations/locales/pl/theme-nova.json +170 -0
  615. package/translations/locales/pt-BR/theme-nova.json +170 -0
  616. package/translations/locales/pt-PT/theme-nova.json +170 -0
  617. package/translations/locales/ru/theme-nova.json +170 -0
  618. package/translations/locales/sl/theme-nova.json +170 -0
  619. package/translations/locales/sr/theme-nova.json +170 -0
  620. package/translations/locales/sv/theme-nova.json +170 -0
  621. package/translations/locales/tk/theme-nova.json +170 -0
  622. package/translations/locales/tr/theme-nova.json +170 -0
  623. package/translations/locales/uk/theme-nova.json +170 -0
  624. package/translations/locales/ur/theme-nova.json +170 -0
  625. package/translations/locales/vi/theme-nova.json +170 -0
  626. package/translations/locales/zh-Hans/theme-nova.json +24 -24
  627. package/translations/locales/zh-Hant/theme-nova.json +170 -0
  628. package/build/src/tests/demo-coverage.test.d.ts +0 -2
  629. package/build/src/tests/demo-coverage.test.d.ts.map +0 -1
  630. package/build/src/tests/demo-coverage.test.js +0 -178
  631. package/build/src/tests/demo-coverage.test.js.map +0 -1
  632. package/build/src/tests/demo-logo-override.test.d.ts +0 -2
  633. package/build/src/tests/demo-logo-override.test.d.ts.map +0 -1
  634. package/build/src/tests/demo-logo-override.test.js +0 -42
  635. package/build/src/tests/demo-logo-override.test.js.map +0 -1
  636. package/build/src/types/tests/demo-coverage.test.d.ts +0 -176
  637. package/build/src/types/tests/demo-logo-override.test.d.ts +0 -45
  638. package/build/src/types/worker-globals.d.ts +0 -103
@@ -0,0 +1,170 @@
1
+ {
2
+ "theme.AnnouncementBar.closeButtonAriaLabel": "Đóng thông báo",
3
+ "theme.AppMarketDownload.appStoreAriaLabel": "Tải về trên App Store",
4
+ "theme.AppMarketDownload.appStoreSubtitle": "Tải về trên",
5
+ "theme.AppMarketDownload.appStoreTitle": "App Store",
6
+ "theme.AppMarketDownload.googlePlayAriaLabel": "Tải trên Google Play",
7
+ "theme.AppMarketDownload.googlePlaySubtitle": "TẢI TRÊN",
8
+ "theme.AppMarketDownload.googlePlayTitle": "Google Play",
9
+ "theme.BackToTopButton.buttonAriaLabel": "Trở lại đầu trang",
10
+ "theme.BlogPreview.noPosts": "Chưa có bài viết nào",
11
+ "theme.BlogPreview.readMore": "Đọc tiếp",
12
+ "theme.CodeBlock.copied": "Đã sao chép",
13
+ "theme.CodeBlock.copy": "Sao chép",
14
+ "theme.CodeBlock.copyButtonAriaLabel": "Sao chép mã vào bộ nhớ tạm",
15
+ "theme.CodeBlock.showLess": "Thu gọn",
16
+ "theme.CodeBlock.showMore": "Xem thêm",
17
+ "theme.CodeBlock.wordWrapToggle": "Chuyển đổi văn bản xuống dòng",
18
+ "theme.CodeBlock.wrapLabel": "Xuống dòng",
19
+ "theme.DocSidebarItem.collapseCategoryAriaLabel": "Thu gọn danh mục '{label}' trong thanh bên",
20
+ "theme.DocSidebarItem.expandCategoryAriaLabel": "Mở rộng danh mục '{label}' trong thanh bên",
21
+ "theme.Error.tryAgain": "Thử lại",
22
+ "theme.ErrorPageContent.titlePool.0": "Có gì đó không ổn rồi.",
23
+ "theme.ErrorPageContent.titlePool.1": "Trang này không tải được đúng cách.",
24
+ "theme.ErrorPageContent.titlePool.2": "Chúng tôi gặp trục trặc khi hiển thị trang này.",
25
+ "theme.ErrorPageContent.titlePool.3": "Trang đã gặp lỗi trong lúc tải.",
26
+ "theme.ErrorPageContent.titlePool.4": "Có gì đó đã khiến trang này vấp phải lỗi.",
27
+ "theme.ErrorPageContent.tryAgain": "Thử lại",
28
+ "theme.IconExternalLink.ariaLabel": "(mở trong tab mới)",
29
+ "theme.InstallStrip.copied": "ĐÃ SAO CHÉP",
30
+ "theme.InstallStrip.copy": "SAO CHÉP",
31
+ "theme.InstallStrip.copyAriaLabel": "Sao chép vào bộ nhớ tạm",
32
+ "theme.Loading.errorPrefix": "Lỗi: ",
33
+ "theme.Loading.loading": "Đang tải...",
34
+ "theme.Loading.retry": "Thử lại",
35
+ "theme.Loading.timeout": "Đang mất nhiều thời gian hơn bình thường...",
36
+ "theme.NotFound.bundles.0.backHomeLabel": "Trở lại đúng hướng",
37
+ "theme.NotFound.bundles.0.description": "Để chúng tôi đưa bạn trở lại đúng đường.",
38
+ "theme.NotFound.bundles.0.title": "Trang này đã rẽ nhầm đường.",
39
+ "theme.NotFound.bundles.1.backHomeLabel": "Quay về vùng đất quen thuộc",
40
+ "theme.NotFound.bundles.1.description": "Có thể nó đã được chuyển đi, hoặc có lẽ nó chưa từng tồn tại.",
41
+ "theme.NotFound.bundles.1.title": "URL này không có trên bản đồ của chúng tôi.",
42
+ "theme.NotFound.bundles.2.backHomeLabel": "Quay về trại",
43
+ "theme.NotFound.bundles.2.description": "Hãy thử quay về trại hoặc dùng chức năng tìm kiếm để tìm đường.",
44
+ "theme.NotFound.bundles.2.title": "Có vẻ như chúng ta đã mất dấu đường mòn.",
45
+ "theme.NotFound.bundles.3.backHomeLabel": "Quay về sảnh chính",
46
+ "theme.NotFound.bundles.3.description": "Nếu có gì đó đưa bạn đến đây, liên kết đó có lẽ đã lỗi thời.",
47
+ "theme.NotFound.bundles.3.title": "Không có gì ở địa chỉ này.",
48
+ "theme.NotFound.bundles.4.backHomeLabel": "Quay về trang chủ",
49
+ "theme.NotFound.bundles.4.description": "Hãy kiểm tra lại URL xem có gõ nhầm không, hoặc quay về để bắt đầu lại.",
50
+ "theme.NotFound.bundles.4.title": "Chúng tôi không thể tìm thấy nội dung bạn đang tìm kiếm.",
51
+ "theme.NotFound.title": "Không tìm thấy trang",
52
+ "theme.SearchBar.ariaLabel": "Tìm kiếm",
53
+ "theme.SearchBar.clearSearchAriaLabel": "Xóa nội dung tìm kiếm",
54
+ "theme.SearchBar.loading": "Đang tải chỉ mục tìm kiếm…",
55
+ "theme.SearchBar.noResults": "Không tìm thấy kết quả nào.",
56
+ "theme.SearchBar.placeholder": "Tìm kiếm",
57
+ "theme.SearchBar.resultsFound": "Đã tìm thấy {count} kết quả",
58
+ "theme.SearchPage.loading": "Đang tải chỉ mục tìm kiếm...",
59
+ "theme.SearchPage.noResults": "Không tìm thấy kết quả nào.",
60
+ "theme.SearchPage.resultsFound": "Đã tìm thấy {count} kết quả",
61
+ "theme.SearchPage.title": "Tìm kiếm",
62
+ "theme.TOC.ariaLabel": "Mục lục",
63
+ "theme.TOCCollapsible.closeAriaLabel": "Đóng mục lục",
64
+ "theme.TOCCollapsible.dialogAriaLabel": "Mục lục",
65
+ "theme.TOCCollapsible.openAriaLabel": "Mở mục lục",
66
+ "theme.TOCCollapsible.toggleButtonLabel": "Mục lục",
67
+ "theme.admonition.caution": "cẩn thận",
68
+ "theme.admonition.danger": "nguy hiểm",
69
+ "theme.admonition.info": "thông tin",
70
+ "theme.admonition.note": "ghi chú",
71
+ "theme.admonition.tip": "mẹo",
72
+ "theme.admonition.warning": "cảnh báo",
73
+ "theme.blog.archive.description": "Lưu trữ",
74
+ "theme.blog.archive.title": "Lưu trữ",
75
+ "theme.blog.authorsList.pageTitle": "Tác giả",
76
+ "theme.blog.paginator.first": "Đầu tiên",
77
+ "theme.blog.paginator.last": "Cuối cùng",
78
+ "theme.blog.paginator.navAriaLabel": "Thanh điều hướng của trang danh sách bài viết",
79
+ "theme.blog.paginator.next": "Kế tiếp",
80
+ "theme.blog.paginator.previous": "Trước",
81
+ "theme.blog.post.paginator.continueReadingAriaLabel": "Đọc tiếp: {title}",
82
+ "theme.blog.post.paginator.continueReadingLabel": "Đọc tiếp",
83
+ "theme.blog.post.paginator.goBackAriaLabel": "Quay lại: {title}",
84
+ "theme.blog.post.paginator.goBackLabel": "Quay lại",
85
+ "theme.blog.post.paginator.heading": "Tiếp tục đọc",
86
+ "theme.blog.post.paginator.navAriaLabel": "Thanh điều hướng của trang bài viết",
87
+ "theme.blog.post.readMore": "Đọc tiếp",
88
+ "theme.blog.post.readMoreLabel": "Đọc thêm về {title}",
89
+ "theme.blog.post.readingTime.plurals": "{readingTime} phút để đọc",
90
+ "theme.blog.sidebar.ariaLabel": "Thanh bên blog",
91
+ "theme.blog.sidebar.authorsLabel": "Tác giả",
92
+ "theme.blog.sidebar.mobileCloseAriaLabel": "Đóng thanh bên blog",
93
+ "theme.blog.sidebar.mobileHeaderTitle": "Thanh bên",
94
+ "theme.blog.sidebar.mobileOpenAriaLabel": "Mở thanh bên blog",
95
+ "theme.blog.sidebar.mobilePanelAriaLabel": "Thanh bên blog",
96
+ "theme.blog.sidebar.mobileTriggerLabel": "Thanh bên",
97
+ "theme.blog.sidebar.subscribeLabel": "Đăng ký",
98
+ "theme.blog.tagsListPage.heading": "Thẻ",
99
+ "theme.blog.tagsPostsPage.viewAllTags": "Xem tất cả thẻ",
100
+ "theme.colorMode.dark": "Tối",
101
+ "theme.colorMode.light": "Sáng",
102
+ "theme.colorMode.system": "Hệ thống",
103
+ "theme.colorMode.toggleAriaLabel": "Chuyển đổi chế độ màu",
104
+ "theme.common.editThisPage": "Sửa trang này",
105
+ "theme.common.headingLinkTitle": "Đường dẫn trực tiếp đến tiêu đề",
106
+ "theme.contentFooter.editLabel": "Đóng góp",
107
+ "theme.contentFooter.share.copiedText": "Đã sao chép!",
108
+ "theme.contentFooter.share.copyLink": "Sao chép liên kết",
109
+ "theme.contentFooter.share.linkCopied": "Đã sao chép liên kết",
110
+ "theme.contentFooter.share.shareOnPlatform": "Chia sẻ trên {platformLabel}",
111
+ "theme.contentFooter.shareLabel": "Chia sẻ trang này",
112
+ "theme.contentFooter.tagsLabel": "Thẻ",
113
+ "theme.contentVisibility.draftBanner.message": "Trang này là bản nháp. Nó chỉ hiển thị trong môi trường phát triển và bị loại khỏi bản sản xuất.",
114
+ "theme.contentVisibility.draftBanner.title": "Trang nháp",
115
+ "theme.contentVisibility.unlistedBanner.message": "Trang này không công khai. Công cụ tìm kiếm sẽ không đánh chỉ mục trang này và chỉ những ai có liên kết mới có thể truy cập trang.",
116
+ "theme.contentVisibility.unlistedBanner.title": "Trang không công khai",
117
+ "theme.docs.DocCard.categoryDescription.plurals": "{count} mục",
118
+ "theme.docs.breadcrumbs.home": "Trang chủ",
119
+ "theme.docs.breadcrumbs.navAriaLabel": "Liên kết điều hướng",
120
+ "theme.docs.paginator.continueReadingAriaLabel": "Đọc tiếp: {title}",
121
+ "theme.docs.paginator.continueReadingLabel": "Đọc tiếp",
122
+ "theme.docs.paginator.goBackAriaLabel": "Quay lại: {title}",
123
+ "theme.docs.paginator.goBackLabel": "Quay lại",
124
+ "theme.docs.paginator.heading": "Tiếp tục đọc",
125
+ "theme.docs.paginator.navAriaLabel": "Trang tài liệu",
126
+ "theme.docs.sidebar.collapseButtonAriaLabel": "Thu gọn thanh bên",
127
+ "theme.docs.sidebar.expandButtonAriaLabel": "Mở rộng thanh bên",
128
+ "theme.docs.sidebar.navAriaLabel": "Thanh bên tài liệu",
129
+ "theme.docs.sidebarMobile.closeAriaLabel": "Đóng thanh điều hướng",
130
+ "theme.docs.sidebarMobile.headerTitle": "Điều hướng",
131
+ "theme.docs.sidebarMobile.openAriaLabel": "Mở điều hướng tài liệu",
132
+ "theme.docs.sidebarMobile.panelAriaLabel": "Điều hướng tài liệu",
133
+ "theme.docs.tagDocListPage.docPosition": "{position} / {total}",
134
+ "theme.docs.tagDocListPage.readDoc": "Đọc bài viết",
135
+ "theme.docs.tagDocListPage.viewAllTags": "Xem tất cả thẻ",
136
+ "theme.docs.tagDocListPageTitle": "{nDocsTagged} được gắn thẻ \"{tagName}\"",
137
+ "theme.docs.tagDocListPageTitle.nDocsTagged": "{count} tài liệu",
138
+ "theme.docs.versionBanner.message": "Đây là tài liệu cho phiên bản {versionLabel}.",
139
+ "theme.footer.creditDocusaurusLabel": "Docusaurus",
140
+ "theme.footer.creditNovaLabel": "Nova",
141
+ "theme.footer.creditPhrases.assembled": "Lắp ráp",
142
+ "theme.footer.creditPhrases.brewed": "Pha chế",
143
+ "theme.footer.creditPhrases.conjured": "Phù phép",
144
+ "theme.footer.creditPhrases.crafted": "Chế tác",
145
+ "theme.footer.creditPhrases.forged": "Rèn đúc",
146
+ "theme.footer.creditPhrases.kindled": "Thắp lên",
147
+ "theme.footer.creditPhrases.sculpted": "Điêu khắc",
148
+ "theme.footer.creditPhrases.sparked": "Khơi nguồn",
149
+ "theme.footer.creditPhrases.summoned": "Triệu hồi",
150
+ "theme.footer.creditPhrases.woven": "Dệt nên",
151
+ "theme.footer.creditSuffix": " bằng ",
152
+ "theme.footer.footerLinksAriaLabel": "Liên kết chân trang",
153
+ "theme.footer.socialLinksAriaLabel": "Liên kết mạng xã hội",
154
+ "theme.lastUpdated.atDate": " vào {date}",
155
+ "theme.lastUpdated.byUser": " bởi {user}",
156
+ "theme.lastUpdated.lastUpdatedAtBy": "Cập nhật lần cuối{atDate}{byUser}",
157
+ "theme.navbar.closeMenuAriaLabel": "Đóng menu",
158
+ "theme.navbar.menuButtonLabel": "Menu",
159
+ "theme.navbar.mobileMenuAriaLabel": "Menu điều hướng",
160
+ "theme.navbar.moreLabel": "Thêm",
161
+ "theme.navbar.navAriaLabel": "Điều hướng chính",
162
+ "theme.navbar.openMenuAriaLabel": "Mở menu",
163
+ "theme.search.indexNotInitialized": "Chỉ mục tìm kiếm chưa được khởi tạo",
164
+ "theme.search.manifestFetchError": "Không thể tải tệp kê khai tìm kiếm",
165
+ "theme.search.productionOnly": "Tìm kiếm chỉ khả dụng trong bản sản xuất",
166
+ "theme.search.unknownInitError": "Lỗi không xác định khi khởi tạo",
167
+ "theme.showcase.collapseAll": "Thu gọn tất cả",
168
+ "theme.showcase.expandAll": "Mở rộng tất cả",
169
+ "theme.showcase.title": "Trưng bày khối giao diện"
170
+ }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "theme.AnnouncementBar.closeButtonAriaLabel": "关闭公告",
3
3
  "theme.AppMarketDownload.appStoreAriaLabel": "在 App Store 上下载",
4
- "theme.AppMarketDownload.appStoreSubtitle": "下载",
4
+ "theme.AppMarketDownload.appStoreSubtitle": "立即下载",
5
5
  "theme.AppMarketDownload.appStoreTitle": "App Store",
6
6
  "theme.AppMarketDownload.googlePlayAriaLabel": "在 Google Play 上获取",
7
- "theme.AppMarketDownload.googlePlaySubtitle": "立即下载",
7
+ "theme.AppMarketDownload.googlePlaySubtitle": "立即获取",
8
8
  "theme.AppMarketDownload.googlePlayTitle": "Google Play",
9
9
  "theme.BackToTopButton.buttonAriaLabel": "回到顶部",
10
10
  "theme.BlogPreview.noPosts": "暂无博文",
@@ -19,9 +19,9 @@
19
19
  "theme.DocSidebarItem.collapseCategoryAriaLabel": "折叠侧边栏分类「{label}」",
20
20
  "theme.DocSidebarItem.expandCategoryAriaLabel": "展开侧边栏分类「{label}」",
21
21
  "theme.Error.tryAgain": "重试",
22
- "theme.ErrorPageContent.titlePool.0": "出了点意外。",
22
+ "theme.ErrorPageContent.titlePool.0": "出了点状况。",
23
23
  "theme.ErrorPageContent.titlePool.1": "此页面未能正常加载。",
24
- "theme.ErrorPageContent.titlePool.2": "渲染此页面时遇到了问题。",
24
+ "theme.ErrorPageContent.titlePool.2": "显示此页面时遇到了问题。",
25
25
  "theme.ErrorPageContent.titlePool.3": "页面在加载过程中出错了。",
26
26
  "theme.ErrorPageContent.titlePool.4": "页面出现错误,无法显示。",
27
27
  "theme.ErrorPageContent.tryAgain": "重试",
@@ -34,19 +34,19 @@
34
34
  "theme.Loading.retry": "重试",
35
35
  "theme.Loading.timeout": "加载时间较长…",
36
36
  "theme.NotFound.bundles.0.backHomeLabel": "回到正轨",
37
- "theme.NotFound.bundles.0.description": "我们带您返回正确的路径。",
37
+ "theme.NotFound.bundles.0.description": "让我们带您回到正确的路上。",
38
38
  "theme.NotFound.bundles.0.title": "此页面走错了路。",
39
- "theme.NotFound.bundles.1.backHomeLabel": "返回标记区域",
40
- "theme.NotFound.bundles.1.description": "它可能已被移动,或者从未存在过。",
39
+ "theme.NotFound.bundles.1.backHomeLabel": "返回已知区域",
40
+ "theme.NotFound.bundles.1.description": "它可能已经搬了家,也可能从未存在过。",
41
41
  "theme.NotFound.bundles.1.title": "此 URL 不在我们的地图上。",
42
42
  "theme.NotFound.bundles.2.backHomeLabel": "返回营地",
43
43
  "theme.NotFound.bundles.2.description": "试着回到营地,或使用搜索来寻找方向。",
44
44
  "theme.NotFound.bundles.2.title": "看来我们偏离了路线。",
45
45
  "theme.NotFound.bundles.3.backHomeLabel": "返回大厅",
46
- "theme.NotFound.bundles.3.description": "如果链接将您带到这里,它可能已过时。",
46
+ "theme.NotFound.bundles.3.description": "如果是某个链接把您带到这里,它可能已经失效了。",
47
47
  "theme.NotFound.bundles.3.title": "此地址下空无一物。",
48
48
  "theme.NotFound.bundles.4.backHomeLabel": "返回首页",
49
- "theme.NotFound.bundles.4.description": "请检查 URL 是否拼写错误,或者重新开始。",
49
+ "theme.NotFound.bundles.4.description": "请检查 URL 是否有拼写错误,或返回首页重新开始。",
50
50
  "theme.NotFound.bundles.4.title": "我们没有找到您要查找的内容。",
51
51
  "theme.NotFound.title": "找不到页面",
52
52
  "theme.SearchBar.ariaLabel": "搜索",
@@ -64,12 +64,12 @@
64
64
  "theme.TOCCollapsible.dialogAriaLabel": "本页目录",
65
65
  "theme.TOCCollapsible.openAriaLabel": "打开本页目录",
66
66
  "theme.TOCCollapsible.toggleButtonLabel": "本页目录",
67
- "theme.admonition.caution": "小心",
67
+ "theme.admonition.caution": "警告",
68
68
  "theme.admonition.danger": "危险",
69
69
  "theme.admonition.info": "信息",
70
70
  "theme.admonition.note": "备注",
71
71
  "theme.admonition.tip": "提示",
72
- "theme.admonition.warning": "警告",
72
+ "theme.admonition.warning": "注意",
73
73
  "theme.blog.archive.description": "历史博文",
74
74
  "theme.blog.archive.title": "历史博文",
75
75
  "theme.blog.authorsList.pageTitle": "作者",
@@ -122,7 +122,7 @@
122
122
  "theme.docs.paginator.goBackAriaLabel": "返回:{title}",
123
123
  "theme.docs.paginator.goBackLabel": "返回上一篇",
124
124
  "theme.docs.paginator.heading": "继续阅读",
125
- "theme.docs.paginator.navAriaLabel": "文档选项卡",
125
+ "theme.docs.paginator.navAriaLabel": "文档页面",
126
126
  "theme.docs.sidebar.collapseButtonAriaLabel": "收起侧边栏",
127
127
  "theme.docs.sidebar.expandButtonAriaLabel": "展开侧边栏",
128
128
  "theme.docs.sidebar.navAriaLabel": "文档侧边栏",
@@ -130,7 +130,7 @@
130
130
  "theme.docs.sidebarMobile.headerTitle": "导航",
131
131
  "theme.docs.sidebarMobile.openAriaLabel": "打开文档导航",
132
132
  "theme.docs.sidebarMobile.panelAriaLabel": "文档导航",
133
- "theme.docs.tagDocListPage.docPosition": "{position} / {total}",
133
+ "theme.docs.tagDocListPage.docPosition": "{position} 篇,共 {total}",
134
134
  "theme.docs.tagDocListPage.readDoc": "阅读文章",
135
135
  "theme.docs.tagDocListPage.viewAllTags": "查看所有标签",
136
136
  "theme.docs.tagDocListPageTitle": "{nDocsTagged}「{tagName}」",
@@ -138,17 +138,17 @@
138
138
  "theme.docs.versionBanner.message": "这是版本 {versionLabel} 的文档。",
139
139
  "theme.footer.creditDocusaurusLabel": "Docusaurus",
140
140
  "theme.footer.creditNovaLabel": "Nova",
141
- "theme.footer.creditPhrases.assembled": "整合",
142
- "theme.footer.creditPhrases.brewed": "酿造",
143
- "theme.footer.creditPhrases.conjured": "幻化",
144
- "theme.footer.creditPhrases.crafted": "精制",
145
- "theme.footer.creditPhrases.forged": "锻造",
146
- "theme.footer.creditPhrases.kindled": "燃起",
147
- "theme.footer.creditPhrases.sculpted": "雕琢",
148
- "theme.footer.creditPhrases.sparked": "点燃",
149
- "theme.footer.creditPhrases.summoned": "召唤",
150
- "theme.footer.creditPhrases.woven": "织就",
151
- "theme.footer.creditSuffix": ",由 ",
141
+ "theme.footer.creditPhrases.assembled": "整合而成",
142
+ "theme.footer.creditPhrases.brewed": "酿造而成",
143
+ "theme.footer.creditPhrases.conjured": "幻化而成",
144
+ "theme.footer.creditPhrases.crafted": "精心打造",
145
+ "theme.footer.creditPhrases.forged": "锻造而成",
146
+ "theme.footer.creditPhrases.kindled": "点燃而成",
147
+ "theme.footer.creditPhrases.sculpted": "雕琢而成",
148
+ "theme.footer.creditPhrases.sparked": "迸发而成",
149
+ "theme.footer.creditPhrases.summoned": "召唤而成",
150
+ "theme.footer.creditPhrases.woven": "编织而成",
151
+ "theme.footer.creditSuffix": ",采用 ",
152
152
  "theme.footer.footerLinksAriaLabel": "页脚链接",
153
153
  "theme.footer.socialLinksAriaLabel": "社交媒体链接",
154
154
  "theme.lastUpdated.atDate": "于 {date} ",
@@ -0,0 +1,170 @@
1
+ {
2
+ "theme.AnnouncementBar.closeButtonAriaLabel": "關閉公告",
3
+ "theme.AppMarketDownload.appStoreAriaLabel": "在 App Store 下載",
4
+ "theme.AppMarketDownload.appStoreSubtitle": "立即下載",
5
+ "theme.AppMarketDownload.appStoreTitle": "App Store",
6
+ "theme.AppMarketDownload.googlePlayAriaLabel": "在 Google Play 取得",
7
+ "theme.AppMarketDownload.googlePlaySubtitle": "立即取得",
8
+ "theme.AppMarketDownload.googlePlayTitle": "Google Play",
9
+ "theme.BackToTopButton.buttonAriaLabel": "回到頂部",
10
+ "theme.BlogPreview.noPosts": "尚無文章",
11
+ "theme.BlogPreview.readMore": "閱讀更多",
12
+ "theme.CodeBlock.copied": "複製成功",
13
+ "theme.CodeBlock.copy": "複製",
14
+ "theme.CodeBlock.copyButtonAriaLabel": "複製程式碼至剪貼簿",
15
+ "theme.CodeBlock.showLess": "顯示較少",
16
+ "theme.CodeBlock.showMore": "顯示更多",
17
+ "theme.CodeBlock.wordWrapToggle": "切換自動換行",
18
+ "theme.CodeBlock.wrapLabel": "換行",
19
+ "theme.DocSidebarItem.collapseCategoryAriaLabel": "收起側邊欄分類 '{label}'",
20
+ "theme.DocSidebarItem.expandCategoryAriaLabel": "展開側邊欄分類 '{label}'",
21
+ "theme.Error.tryAgain": "重試",
22
+ "theme.ErrorPageContent.titlePool.0": "出了點狀況。",
23
+ "theme.ErrorPageContent.titlePool.1": "此頁面未能順利載入。",
24
+ "theme.ErrorPageContent.titlePool.2": "我們在顯示此頁面時遇到了問題。",
25
+ "theme.ErrorPageContent.titlePool.3": "頁面在載入途中發生錯誤。",
26
+ "theme.ErrorPageContent.titlePool.4": "有東西絆住了這個頁面。",
27
+ "theme.ErrorPageContent.tryAgain": "重試",
28
+ "theme.IconExternalLink.ariaLabel": "(在新分頁開啟)",
29
+ "theme.InstallStrip.copied": "已複製",
30
+ "theme.InstallStrip.copy": "複製",
31
+ "theme.InstallStrip.copyAriaLabel": "複製至剪貼簿",
32
+ "theme.Loading.errorPrefix": "錯誤:",
33
+ "theme.Loading.loading": "載入中…",
34
+ "theme.Loading.retry": "重試",
35
+ "theme.Loading.timeout": "載入時間比平常久…",
36
+ "theme.NotFound.bundles.0.backHomeLabel": "回到正軌",
37
+ "theme.NotFound.bundles.0.description": "讓我們帶您回到正確的路上。",
38
+ "theme.NotFound.bundles.0.title": "這個頁面轉錯了彎。",
39
+ "theme.NotFound.bundles.1.backHomeLabel": "回到熟悉的領域",
40
+ "theme.NotFound.bundles.1.description": "它可能已經搬家,也可能從未存在過。",
41
+ "theme.NotFound.bundles.1.title": "這個網址不在我們的地圖上。",
42
+ "theme.NotFound.bundles.2.backHomeLabel": "回到營地",
43
+ "theme.NotFound.bundles.2.description": "試著回到營地,或使用搜尋找到方向。",
44
+ "theme.NotFound.bundles.2.title": "看來我們迷路了。",
45
+ "theme.NotFound.bundles.3.backHomeLabel": "回到大廳",
46
+ "theme.NotFound.bundles.3.description": "如果是某個連結把您帶到這裡,它可能已經過期了。",
47
+ "theme.NotFound.bundles.3.title": "這個地址上什麼也沒有。",
48
+ "theme.NotFound.bundles.4.backHomeLabel": "回到首頁",
49
+ "theme.NotFound.bundles.4.description": "請檢查網址是否輸入正確,或返回首頁重新開始。",
50
+ "theme.NotFound.bundles.4.title": "我們找不到您要找的內容。",
51
+ "theme.NotFound.title": "找不到頁面",
52
+ "theme.SearchBar.ariaLabel": "搜尋",
53
+ "theme.SearchBar.clearSearchAriaLabel": "清除搜尋",
54
+ "theme.SearchBar.loading": "正在載入搜尋索引…",
55
+ "theme.SearchBar.noResults": "找不到相關結果。",
56
+ "theme.SearchBar.placeholder": "搜尋",
57
+ "theme.SearchBar.resultsFound": "找到 {count} 筆結果",
58
+ "theme.SearchPage.loading": "正在載入搜尋索引…",
59
+ "theme.SearchPage.noResults": "找不到相關結果。",
60
+ "theme.SearchPage.resultsFound": "找到 {count} 筆結果",
61
+ "theme.SearchPage.title": "搜尋",
62
+ "theme.TOC.ariaLabel": "本頁導覽",
63
+ "theme.TOCCollapsible.closeAriaLabel": "關閉本頁導覽",
64
+ "theme.TOCCollapsible.dialogAriaLabel": "本頁導覽",
65
+ "theme.TOCCollapsible.openAriaLabel": "開啟本頁導覽",
66
+ "theme.TOCCollapsible.toggleButtonLabel": "本頁導覽",
67
+ "theme.admonition.caution": "警告",
68
+ "theme.admonition.danger": "危險",
69
+ "theme.admonition.info": "資訊",
70
+ "theme.admonition.note": "備註",
71
+ "theme.admonition.tip": "提示",
72
+ "theme.admonition.warning": "注意",
73
+ "theme.blog.archive.description": "歷史文章",
74
+ "theme.blog.archive.title": "歷史文章",
75
+ "theme.blog.authorsList.pageTitle": "作者列表",
76
+ "theme.blog.paginator.first": "第一頁",
77
+ "theme.blog.paginator.last": "最後一頁",
78
+ "theme.blog.paginator.navAriaLabel": "部落格文章列表分頁導覽",
79
+ "theme.blog.paginator.next": "下一頁",
80
+ "theme.blog.paginator.previous": "上一頁",
81
+ "theme.blog.post.paginator.continueReadingAriaLabel": "繼續閱讀:{title}",
82
+ "theme.blog.post.paginator.continueReadingLabel": "閱讀下一篇",
83
+ "theme.blog.post.paginator.goBackAriaLabel": "返回:{title}",
84
+ "theme.blog.post.paginator.goBackLabel": "回到上一篇",
85
+ "theme.blog.post.paginator.heading": "繼續閱讀",
86
+ "theme.blog.post.paginator.navAriaLabel": "部落格文章分頁導覽",
87
+ "theme.blog.post.readMore": "閱讀更多",
88
+ "theme.blog.post.readMoreLabel": "閱讀 {title} 全文",
89
+ "theme.blog.post.readingTime.plurals": "閱讀時間約 {readingTime} 分鐘",
90
+ "theme.blog.sidebar.ariaLabel": "部落格側邊欄",
91
+ "theme.blog.sidebar.authorsLabel": "作者",
92
+ "theme.blog.sidebar.mobileCloseAriaLabel": "關閉部落格側邊欄",
93
+ "theme.blog.sidebar.mobileHeaderTitle": "側邊欄",
94
+ "theme.blog.sidebar.mobileOpenAriaLabel": "開啟部落格側邊欄",
95
+ "theme.blog.sidebar.mobilePanelAriaLabel": "部落格側邊欄",
96
+ "theme.blog.sidebar.mobileTriggerLabel": "側邊欄",
97
+ "theme.blog.sidebar.subscribeLabel": "訂閱",
98
+ "theme.blog.tagsListPage.heading": "標籤",
99
+ "theme.blog.tagsPostsPage.viewAllTags": "檢視所有標籤",
100
+ "theme.colorMode.dark": "深色",
101
+ "theme.colorMode.light": "淺色",
102
+ "theme.colorMode.system": "系統",
103
+ "theme.colorMode.toggleAriaLabel": "切換色彩模式",
104
+ "theme.common.editThisPage": "編輯此頁",
105
+ "theme.common.headingLinkTitle": "標題的直接連結",
106
+ "theme.contentFooter.editLabel": "參與貢獻",
107
+ "theme.contentFooter.share.copiedText": "複製成功",
108
+ "theme.contentFooter.share.copyLink": "複製連結",
109
+ "theme.contentFooter.share.linkCopied": "連結已複製",
110
+ "theme.contentFooter.share.shareOnPlatform": "分享到 {platformLabel}",
111
+ "theme.contentFooter.shareLabel": "分享本頁",
112
+ "theme.contentFooter.tagsLabel": "標籤",
113
+ "theme.contentVisibility.draftBanner.message": "此頁面為草稿,僅在開發環境中可見,不會包含於正式版本中。",
114
+ "theme.contentVisibility.draftBanner.title": "草稿頁",
115
+ "theme.contentVisibility.unlistedBanner.message": "此頁面未列出。搜尋引擎不會為其建立索引,只有擁有直接連結的使用者才能存取。",
116
+ "theme.contentVisibility.unlistedBanner.title": "未列出頁",
117
+ "theme.docs.DocCard.categoryDescription.plurals": "{count} 個項目",
118
+ "theme.docs.breadcrumbs.home": "主頁面",
119
+ "theme.docs.breadcrumbs.navAriaLabel": "頁面路徑",
120
+ "theme.docs.paginator.continueReadingAriaLabel": "繼續閱讀:{title}",
121
+ "theme.docs.paginator.continueReadingLabel": "閱讀下一頁",
122
+ "theme.docs.paginator.goBackAriaLabel": "返回:{title}",
123
+ "theme.docs.paginator.goBackLabel": "回到上一頁",
124
+ "theme.docs.paginator.heading": "繼續閱讀",
125
+ "theme.docs.paginator.navAriaLabel": "文件頁面",
126
+ "theme.docs.sidebar.collapseButtonAriaLabel": "收起側邊欄",
127
+ "theme.docs.sidebar.expandButtonAriaLabel": "展開側邊欄",
128
+ "theme.docs.sidebar.navAriaLabel": "文件側邊欄",
129
+ "theme.docs.sidebarMobile.closeAriaLabel": "關閉導覽",
130
+ "theme.docs.sidebarMobile.headerTitle": "導覽",
131
+ "theme.docs.sidebarMobile.openAriaLabel": "開啟文件導覽",
132
+ "theme.docs.sidebarMobile.panelAriaLabel": "文件導覽",
133
+ "theme.docs.tagDocListPage.docPosition": "第 {position} 篇,共 {total} 篇",
134
+ "theme.docs.tagDocListPage.readDoc": "閱讀文章",
135
+ "theme.docs.tagDocListPage.viewAllTags": "檢視所有標籤",
136
+ "theme.docs.tagDocListPageTitle": "{nDocsTagged}「{tagName}」",
137
+ "theme.docs.tagDocListPageTitle.nDocsTagged": "{count} 篇文件帶有標籤",
138
+ "theme.docs.versionBanner.message": "此為 {versionLabel} 版的文件。",
139
+ "theme.footer.creditDocusaurusLabel": "Docusaurus",
140
+ "theme.footer.creditNovaLabel": "Nova",
141
+ "theme.footer.creditPhrases.assembled": "組裝而成",
142
+ "theme.footer.creditPhrases.brewed": "釀造而成",
143
+ "theme.footer.creditPhrases.conjured": "幻化而成",
144
+ "theme.footer.creditPhrases.crafted": "精心打造",
145
+ "theme.footer.creditPhrases.forged": "鍛造而成",
146
+ "theme.footer.creditPhrases.kindled": "點燃而成",
147
+ "theme.footer.creditPhrases.sculpted": "雕琢而成",
148
+ "theme.footer.creditPhrases.sparked": "迸發而成",
149
+ "theme.footer.creditPhrases.summoned": "召喚而成",
150
+ "theme.footer.creditPhrases.woven": "編織而成",
151
+ "theme.footer.creditSuffix": ",採用 ",
152
+ "theme.footer.footerLinksAriaLabel": "頁尾連結",
153
+ "theme.footer.socialLinksAriaLabel": "社群媒體連結",
154
+ "theme.lastUpdated.atDate": "於 {date} ",
155
+ "theme.lastUpdated.byUser": "由 {user} ",
156
+ "theme.lastUpdated.lastUpdatedAtBy": "最後{byUser}{atDate}更新",
157
+ "theme.navbar.closeMenuAriaLabel": "關閉選單",
158
+ "theme.navbar.menuButtonLabel": "選單",
159
+ "theme.navbar.mobileMenuAriaLabel": "導覽選單",
160
+ "theme.navbar.moreLabel": "更多",
161
+ "theme.navbar.navAriaLabel": "主導覽",
162
+ "theme.navbar.openMenuAriaLabel": "開啟選單",
163
+ "theme.search.indexNotInitialized": "搜尋索引尚未初始化",
164
+ "theme.search.manifestFetchError": "無法取得搜尋資訊清單",
165
+ "theme.search.productionOnly": "搜尋功能僅在正式版本中提供",
166
+ "theme.search.unknownInitError": "初始化期間發生未知錯誤",
167
+ "theme.showcase.collapseAll": "全部收起",
168
+ "theme.showcase.expandAll": "全部展開",
169
+ "theme.showcase.title": "區塊展示"
170
+ }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=demo-coverage.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo-coverage.test.d.ts","sourceRoot":"","sources":["../../../src/tests/demo-coverage.test.ts"],"names":[],"mappings":""}
@@ -1,178 +0,0 @@
1
- import { strictEqual } from 'node:assert/strict';
2
- import { readFile } from 'node:fs/promises';
3
- import { dirname, resolve } from 'node:path';
4
- import { pathToFileURL } from 'node:url';
5
- import { fileURLToPath } from 'node:url';
6
- import { describe, it } from 'vitest';
7
- import { LIB_REGEX_NOVA_THEME_CONFIG_OBJECT_TYPE, LIB_REGEX_NOVA_THEME_CONFIG_TYPE_REFERENCE, LIB_REGEX_TYPE_DECLARATION_FIELD, } from '../lib/regex.js';
8
- import { presetsIndexNames } from '../presets/index.js';
9
- const demos = presetsIndexNames.map((name) => ({
10
- name,
11
- path: `apps/demo-${name}/docusaurus.config.ts`,
12
- }));
13
- const requiredLeafPaths = [
14
- 'themeConfig.site.logo.alt',
15
- 'themeConfig.site.logo.src.light',
16
- 'themeConfig.site.logo.src.dark',
17
- 'themeConfig.site.logo.href',
18
- 'themeConfig.site.logo.target',
19
- 'themeConfig.site.logo.rel',
20
- 'themeConfig.site.logo.ariaLabel',
21
- 'themeConfig.site.logo.wordmark.light',
22
- 'themeConfig.site.logo.wordmark.dark',
23
- 'themeConfig.site.image',
24
- 'themeConfig.site.metadata',
25
- 'themeConfig.colorMode.defaultMode',
26
- 'themeConfig.colorMode.disableSwitch',
27
- 'themeConfig.navbar.hideOnScroll',
28
- 'themeConfig.navbar.items',
29
- 'themeConfig.docs.versionPersistence',
30
- 'themeConfig.docs.sidebar.hideable',
31
- 'themeConfig.docs.sidebar.autoCollapseCategories',
32
- 'themeConfig.blog.sidebar.groupByYear',
33
- 'themeConfig.blog.layout.heading',
34
- 'themeConfig.blog.layout.description',
35
- 'themeConfig.blog.share.platforms',
36
- 'themeConfig.tableOfContents.minHeadingLevel',
37
- 'themeConfig.tableOfContents.maxHeadingLevel',
38
- 'themeConfig.announcementBar.id',
39
- 'themeConfig.announcementBar.content',
40
- 'themeConfig.announcementBar.backgroundColor',
41
- 'themeConfig.announcementBar.textColor',
42
- 'themeConfig.announcementBar.isCloseable',
43
- 'themeConfig.backToTopButton',
44
- 'themeConfig.errorPages.notFound.title',
45
- 'themeConfig.errorPages.notFound.description',
46
- 'themeConfig.errorPages.notFound.backHomeLabel',
47
- 'themeConfig.errorPages.notFound.backHomeHref',
48
- 'themeConfig.errorPages.errorPageContent.title',
49
- 'themeConfig.errorPages.errorPageContent.retryLabel',
50
- 'themeConfig.errorPages.error.retryLabel',
51
- 'themeConfig.footer.sections',
52
- 'themeConfig.footer.layout',
53
- 'themeConfig.footer.socialLinks',
54
- 'themeConfig.footer.copyright',
55
- 'themeConfig.footer.credit',
56
- 'themeConfig.footer.cta',
57
- ];
58
- async function deriveRequiredLeafPaths(typeFilePath) {
59
- const fileText = await readFile(typeFilePath, 'utf-8');
60
- const objectTypes = new Map();
61
- const blockPattern = new RegExp(LIB_REGEX_NOVA_THEME_CONFIG_OBJECT_TYPE.source, 'g');
62
- let blockMatch = blockPattern.exec(fileText);
63
- while (blockMatch !== null) {
64
- const typeName = blockMatch[1] ?? '';
65
- const blockBody = blockMatch[2] ?? '';
66
- const fields = new Map();
67
- const fieldPattern = new RegExp(LIB_REGEX_TYPE_DECLARATION_FIELD.source, 'gm');
68
- let fieldMatch = fieldPattern.exec(blockBody);
69
- while (fieldMatch !== null) {
70
- const fieldName = fieldMatch[1] ?? '';
71
- const fieldExpression = (fieldMatch[2] ?? '').trim();
72
- const fieldTypeMatch = fieldExpression.match(LIB_REGEX_NOVA_THEME_CONFIG_TYPE_REFERENCE);
73
- const fieldType = (fieldTypeMatch !== null && fieldTypeMatch[1] !== undefined) ? fieldTypeMatch[1] : fieldExpression;
74
- fields.set(fieldName, fieldType);
75
- fieldMatch = fieldPattern.exec(blockBody);
76
- }
77
- objectTypes.set(typeName, fields);
78
- blockMatch = blockPattern.exec(fileText);
79
- }
80
- const leaves = [];
81
- const walkStack = [{
82
- typeName: 'NovaThemeConfig',
83
- path: ['themeConfig'],
84
- }];
85
- while (walkStack.length > 0) {
86
- const entry = walkStack.pop();
87
- const entryFields = objectTypes.get(entry['typeName']);
88
- if (entryFields === undefined) {
89
- leaves.push(entry['path'].join('.'));
90
- continue;
91
- }
92
- for (const fieldEntry of entryFields) {
93
- const walkFieldEntry = fieldEntry;
94
- const walkFieldName = walkFieldEntry[0];
95
- const walkFieldType = walkFieldEntry[1];
96
- walkStack.push({
97
- typeName: walkFieldType,
98
- path: [
99
- ...entry['path'],
100
- walkFieldName,
101
- ],
102
- });
103
- }
104
- }
105
- return leaves;
106
- }
107
- function getPackageRoot() {
108
- const currentFilePath = fileURLToPath(import.meta.url);
109
- const currentFileDirectory = dirname(currentFilePath);
110
- return resolve(currentFileDirectory, '..', '..');
111
- }
112
- function getRepoRoot() {
113
- return resolve(getPackageRoot(), '..', '..');
114
- }
115
- async function loadDemoConfig(demoPath) {
116
- const configUrl = pathToFileURL(resolve(getRepoRoot(), demoPath)).href;
117
- const moduleNamespace = await import(configUrl);
118
- return moduleNamespace['default'];
119
- }
120
- function resolveLeaf(config, path) {
121
- const segments = path.split('.');
122
- let cursor = config;
123
- for (let index = 0; index < segments.length; index += 1) {
124
- const segmentName = segments[index] ?? '';
125
- if (cursor === null
126
- || cursor === undefined
127
- || typeof cursor !== 'object') {
128
- return segments.slice(0, index + 1).join('.');
129
- }
130
- if (Object.hasOwn(cursor, segmentName) === false) {
131
- return segments.slice(0, index + 1).join('.');
132
- }
133
- cursor = cursor[segmentName];
134
- }
135
- return null;
136
- }
137
- describe('demo coverage', () => {
138
- it('registry matches every leaf reachable from NovaThemeConfig', async () => {
139
- const typeFilePath = resolve(getPackageRoot(), 'nova-config.d.ts');
140
- const derived = await deriveRequiredLeafPaths(typeFilePath);
141
- const derivedSet = new Set(derived);
142
- const registrySet = new Set(requiredLeafPaths);
143
- const missingInRegistry = derived.filter((leaf) => registrySet.has(leaf) === false);
144
- const staleInRegistry = requiredLeafPaths.filter((leaf) => derivedSet.has(leaf) === false);
145
- const registryMessage = [
146
- 'Registry / NovaThemeConfig drift:',
147
- ` Missing in registry (in type but not registered): ${missingInRegistry.length}`,
148
- ...missingInRegistry.map((leaf) => ` + ${leaf}`),
149
- ` Stale in registry (registered but not in type): ${staleInRegistry.length}`,
150
- ...staleInRegistry.map((leaf) => ` - ${leaf}`),
151
- ].join('\n');
152
- strictEqual(missingInRegistry.length + staleInRegistry.length, 0, registryMessage);
153
- return;
154
- });
155
- for (const demo of demos) {
156
- const demoContext = demo;
157
- it(`'${demoContext['name']}' demo sets every required NovaThemeConfig leaf`, async () => {
158
- const demoParam = demoContext;
159
- const config = await loadDemoConfig(demoParam['path']);
160
- const misses = [];
161
- for (const leaf of requiredLeafPaths) {
162
- const leafPath = leaf;
163
- const missAt = resolveLeaf(config, leafPath);
164
- if (missAt !== null) {
165
- misses.push(` - ${leafPath} (missing at: ${missAt})`);
166
- }
167
- }
168
- const message = [
169
- `'${demoParam['name']}' demo has ${misses.length} undefined required leaves:`,
170
- ...misses,
171
- ].join('\n');
172
- strictEqual(misses.length, 0, message);
173
- return;
174
- });
175
- }
176
- return;
177
- });
178
- //# sourceMappingURL=demo-coverage.test.js.map