mordoc 0.1.13 → 1.0.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 (431) hide show
  1. package/LICENSE +7 -0
  2. package/bin/cli.js +24 -71
  3. package/dist/cli/asset-rewrite.d.ts +40 -0
  4. package/dist/cli/asset-rewrite.d.ts.map +1 -0
  5. package/dist/cli/asset-rewrite.js +67 -0
  6. package/dist/cli/asset-rewrite.js.map +1 -0
  7. package/dist/cli/build.d.ts +45 -15
  8. package/dist/cli/build.d.ts.map +1 -1
  9. package/dist/cli/build.js +186 -101
  10. package/dist/cli/build.js.map +1 -1
  11. package/dist/cli/dev.d.ts +26 -14
  12. package/dist/cli/dev.d.ts.map +1 -1
  13. package/dist/cli/dev.js +116 -159
  14. package/dist/cli/dev.js.map +1 -1
  15. package/dist/cli/pagefind-indexer.d.ts +15 -0
  16. package/dist/cli/pagefind-indexer.d.ts.map +1 -0
  17. package/dist/cli/pagefind-indexer.js +68 -0
  18. package/dist/cli/pagefind-indexer.js.map +1 -0
  19. package/dist/cli/paths.d.ts +26 -0
  20. package/dist/cli/paths.d.ts.map +1 -0
  21. package/dist/cli/paths.js +32 -0
  22. package/dist/cli/paths.js.map +1 -0
  23. package/dist/cli/ssg-runner.d.ts +58 -0
  24. package/dist/cli/ssg-runner.d.ts.map +1 -0
  25. package/dist/cli/ssg-runner.js +126 -0
  26. package/dist/cli/ssg-runner.js.map +1 -0
  27. package/dist/config/assets-loader.d.ts +11 -0
  28. package/dist/config/assets-loader.d.ts.map +1 -0
  29. package/dist/config/assets-loader.js +46 -0
  30. package/dist/config/assets-loader.js.map +1 -0
  31. package/dist/config/language-loader.d.ts +11 -0
  32. package/dist/config/language-loader.d.ts.map +1 -0
  33. package/dist/config/language-loader.js +61 -0
  34. package/dist/config/language-loader.js.map +1 -0
  35. package/dist/config/language.d.ts +11 -0
  36. package/dist/config/language.d.ts.map +1 -0
  37. package/dist/config/language.js +61 -0
  38. package/dist/config/language.js.map +1 -0
  39. package/dist/config/sidenav-loader.d.ts +14 -0
  40. package/dist/config/sidenav-loader.d.ts.map +1 -0
  41. package/dist/config/sidenav-loader.js +78 -0
  42. package/dist/config/sidenav-loader.js.map +1 -0
  43. package/dist/config/site-loader.d.ts +11 -0
  44. package/dist/config/site-loader.d.ts.map +1 -0
  45. package/dist/config/site-loader.js +72 -0
  46. package/dist/config/site-loader.js.map +1 -0
  47. package/dist/config/site.d.ts +11 -0
  48. package/dist/config/site.d.ts.map +1 -0
  49. package/dist/config/site.js +72 -0
  50. package/dist/config/site.js.map +1 -0
  51. package/dist/config/topnav-loader.d.ts +10 -0
  52. package/dist/config/topnav-loader.d.ts.map +1 -0
  53. package/dist/config/topnav-loader.js +78 -0
  54. package/dist/config/topnav-loader.js.map +1 -0
  55. package/dist/config/translations-loader.d.ts +7 -0
  56. package/dist/config/translations-loader.d.ts.map +1 -0
  57. package/dist/config/translations-loader.js +51 -0
  58. package/dist/config/translations-loader.js.map +1 -0
  59. package/dist/content/content-loader.d.ts +16 -0
  60. package/dist/content/content-loader.d.ts.map +1 -0
  61. package/dist/content/content-loader.js +126 -0
  62. package/dist/content/content-loader.js.map +1 -0
  63. package/dist/content/content-parser.d.ts +12 -0
  64. package/dist/content/content-parser.d.ts.map +1 -0
  65. package/dist/content/content-parser.js +54 -0
  66. package/dist/content/content-parser.js.map +1 -0
  67. package/dist/content/content-transformer.d.ts +17 -0
  68. package/dist/content/content-transformer.d.ts.map +1 -0
  69. package/dist/content/content-transformer.js +94 -0
  70. package/dist/content/content-transformer.js.map +1 -0
  71. package/dist/content/markdoc-config.d.ts +13 -0
  72. package/dist/content/markdoc-config.d.ts.map +1 -0
  73. package/dist/content/markdoc-config.js +210 -0
  74. package/dist/content/markdoc-config.js.map +1 -0
  75. package/dist/content/slug.d.ts +26 -0
  76. package/dist/content/slug.d.ts.map +1 -0
  77. package/dist/content/slug.js +31 -0
  78. package/dist/content/slug.js.map +1 -0
  79. package/dist/pipeline.d.ts +61 -0
  80. package/dist/pipeline.d.ts.map +1 -0
  81. package/dist/pipeline.js +123 -0
  82. package/dist/pipeline.js.map +1 -0
  83. package/dist/types/assets.d.ts +15 -0
  84. package/dist/types/assets.d.ts.map +1 -0
  85. package/dist/types/assets.js +2 -0
  86. package/dist/types/assets.js.map +1 -0
  87. package/dist/types/content.d.ts +114 -32
  88. package/dist/types/content.d.ts.map +1 -1
  89. package/dist/types/content.js +1 -6
  90. package/dist/types/content.js.map +1 -1
  91. package/dist/types/language.d.ts +9 -0
  92. package/dist/types/language.d.ts.map +1 -0
  93. package/dist/types/language.js +2 -0
  94. package/dist/types/language.js.map +1 -0
  95. package/dist/types/navigation.d.ts +24 -36
  96. package/dist/types/navigation.d.ts.map +1 -1
  97. package/dist/types/navigation.js +1 -6
  98. package/dist/types/navigation.js.map +1 -1
  99. package/dist/types/pipeline.d.ts +70 -0
  100. package/dist/types/pipeline.d.ts.map +1 -0
  101. package/dist/types/pipeline.js +2 -0
  102. package/dist/types/pipeline.js.map +1 -0
  103. package/dist/types/site.d.ts +20 -0
  104. package/dist/types/site.d.ts.map +1 -0
  105. package/dist/types/site.js +2 -0
  106. package/dist/types/site.js.map +1 -0
  107. package/dist/utils/lang-utils.d.ts +23 -0
  108. package/dist/utils/lang-utils.d.ts.map +1 -0
  109. package/dist/utils/lang-utils.js +40 -0
  110. package/dist/utils/lang-utils.js.map +1 -0
  111. package/dist/utils/paths.d.ts +25 -0
  112. package/dist/utils/paths.d.ts.map +1 -0
  113. package/dist/utils/paths.js +31 -0
  114. package/dist/utils/paths.js.map +1 -0
  115. package/dist/vite/plugin.d.ts +93 -0
  116. package/dist/vite/plugin.d.ts.map +1 -0
  117. package/dist/vite/plugin.js +435 -0
  118. package/dist/vite/plugin.js.map +1 -0
  119. package/package.json +46 -61
  120. package/src/app/App.module.css +82 -0
  121. package/src/app/App.tsx +95 -0
  122. package/src/app/content/Content.module.css +357 -0
  123. package/src/app/content/Content.tsx +212 -0
  124. package/src/app/content/callout/Callout.module.css +110 -0
  125. package/src/app/content/callout/Callout.tsx +82 -0
  126. package/src/app/content/card/Card.module.css +146 -0
  127. package/src/app/content/card/Card.tsx +110 -0
  128. package/src/app/content/card/CardGrid.module.css +22 -0
  129. package/src/app/content/card/CardGrid.tsx +34 -0
  130. package/src/app/content/code-block/CodeBlock.module.css +237 -0
  131. package/src/app/content/code-block/CodeBlock.tsx +123 -0
  132. package/src/app/content/heading/Heading.module.css +52 -0
  133. package/src/app/content/heading/Heading.tsx +75 -0
  134. package/src/app/content/image/Image.module.css +113 -0
  135. package/src/app/content/image/Image.tsx +98 -0
  136. package/src/app/content/link/ContentLink.tsx +46 -0
  137. package/src/app/data-context.tsx +39 -0
  138. package/src/app/entry-server.tsx +58 -0
  139. package/src/app/footer/Footer.module.css +36 -0
  140. package/src/app/footer/Footer.tsx +28 -0
  141. package/src/app/globals.d.ts +40 -0
  142. package/src/app/header/Header.module.css +205 -0
  143. package/src/app/header/Header.tsx +188 -0
  144. package/src/app/header/LanguagePicker.module.css +97 -0
  145. package/src/app/header/LanguagePicker.tsx +174 -0
  146. package/src/app/header/SearchBar.module.css +92 -0
  147. package/src/app/header/SearchBar.tsx +37 -0
  148. package/src/app/header/SearchModal.module.css +185 -0
  149. package/src/app/header/SearchModal.tsx +245 -0
  150. package/src/app/header/Topnav.module.css +37 -0
  151. package/src/app/header/Topnav.tsx +30 -0
  152. package/src/app/index.css +119 -0
  153. package/src/app/index.html +13 -0
  154. package/src/app/landing/LandingPage.module.css +14 -0
  155. package/src/app/landing/LandingPage.tsx +62 -0
  156. package/src/app/landing/button/Button.module.css +37 -0
  157. package/src/app/landing/button/Button.tsx +50 -0
  158. package/src/app/landing/hero/Hero.module.css +108 -0
  159. package/src/app/landing/hero/Hero.tsx +81 -0
  160. package/src/app/landing/section/Section.module.css +100 -0
  161. package/src/app/landing/section/Section.tsx +61 -0
  162. package/src/app/lang-utils.ts +11 -0
  163. package/src/app/main.tsx +67 -0
  164. package/src/app/not-found/NotFound.module.css +92 -0
  165. package/src/app/not-found/NotFound.tsx +34 -0
  166. package/src/app/routes.tsx +86 -0
  167. package/src/app/sidenav/Sidenav.module.css +239 -0
  168. package/src/app/sidenav/Sidenav.tsx +182 -0
  169. package/src/app/skeleton/Skeleton.module.css +100 -0
  170. package/src/app/skeleton/Skeleton.tsx +75 -0
  171. package/src/app/toc/Toc.module.css +59 -0
  172. package/src/app/toc/Toc.tsx +77 -0
  173. package/src/app/tsconfig.json +18 -0
  174. package/src/app/virtual-modules.d.ts +74 -0
  175. package/dist/assets/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
  176. package/dist/assets/fonts/inter/Inter-VariableFont_opsz,wght.ttf +0 -0
  177. package/dist/assets/fonts/inter/OFL.txt +0 -93
  178. package/dist/build/Builder.d.ts +0 -92
  179. package/dist/build/Builder.d.ts.map +0 -1
  180. package/dist/build/Builder.js +0 -394
  181. package/dist/build/Builder.js.map +0 -1
  182. package/dist/build/ClientBundler.d.ts +0 -48
  183. package/dist/build/ClientBundler.d.ts.map +0 -1
  184. package/dist/build/ClientBundler.js +0 -169
  185. package/dist/build/ClientBundler.js.map +0 -1
  186. package/dist/build/HtmlGenerator.d.ts +0 -46
  187. package/dist/build/HtmlGenerator.d.ts.map +0 -1
  188. package/dist/build/HtmlGenerator.js +0 -190
  189. package/dist/build/HtmlGenerator.js.map +0 -1
  190. package/dist/build/SearchIndexer.d.ts +0 -31
  191. package/dist/build/SearchIndexer.d.ts.map +0 -1
  192. package/dist/build/SearchIndexer.js +0 -116
  193. package/dist/build/SearchIndexer.js.map +0 -1
  194. package/dist/bundles/client.js +0 -126
  195. package/dist/cli/create-app.d.ts +0 -14
  196. package/dist/cli/create-app.d.ts.map +0 -1
  197. package/dist/cli/create-app.js +0 -241
  198. package/dist/cli/create-app.js.map +0 -1
  199. package/dist/client/App.d.ts +0 -17
  200. package/dist/client/App.d.ts.map +0 -1
  201. package/dist/client/App.js +0 -91
  202. package/dist/client/App.js.map +0 -1
  203. package/dist/client/contexts/ConfigContext.d.ts +0 -22
  204. package/dist/client/contexts/ConfigContext.d.ts.map +0 -1
  205. package/dist/client/contexts/ConfigContext.js +0 -27
  206. package/dist/client/contexts/ConfigContext.js.map +0 -1
  207. package/dist/client/contexts/ContentContext.d.ts +0 -31
  208. package/dist/client/contexts/ContentContext.d.ts.map +0 -1
  209. package/dist/client/contexts/ContentContext.js +0 -46
  210. package/dist/client/contexts/ContentContext.js.map +0 -1
  211. package/dist/client/contexts/SearchContext.d.ts +0 -38
  212. package/dist/client/contexts/SearchContext.d.ts.map +0 -1
  213. package/dist/client/contexts/SearchContext.js +0 -185
  214. package/dist/client/contexts/SearchContext.js.map +0 -1
  215. package/dist/client/contexts/ThemeContext.d.ts +0 -23
  216. package/dist/client/contexts/ThemeContext.d.ts.map +0 -1
  217. package/dist/client/contexts/ThemeContext.js +0 -53
  218. package/dist/client/contexts/ThemeContext.js.map +0 -1
  219. package/dist/client/hooks/useContent.d.ts +0 -12
  220. package/dist/client/hooks/useContent.d.ts.map +0 -1
  221. package/dist/client/hooks/useContent.js +0 -74
  222. package/dist/client/hooks/useContent.js.map +0 -1
  223. package/dist/client/hooks/useNavigation.d.ts +0 -15
  224. package/dist/client/hooks/useNavigation.d.ts.map +0 -1
  225. package/dist/client/hooks/useNavigation.js +0 -101
  226. package/dist/client/hooks/useNavigation.js.map +0 -1
  227. package/dist/client/hooks/useSearch.d.ts +0 -22
  228. package/dist/client/hooks/useSearch.d.ts.map +0 -1
  229. package/dist/client/hooks/useSearch.js +0 -64
  230. package/dist/client/hooks/useSearch.js.map +0 -1
  231. package/dist/client/main.d.ts +0 -5
  232. package/dist/client/main.d.ts.map +0 -1
  233. package/dist/client/main.js +0 -66
  234. package/dist/client/main.js.map +0 -1
  235. package/dist/components/Callout.d.ts +0 -9
  236. package/dist/components/Callout.d.ts.map +0 -1
  237. package/dist/components/Callout.js +0 -24
  238. package/dist/components/Callout.js.map +0 -1
  239. package/dist/components/Card.d.ts +0 -10
  240. package/dist/components/Card.d.ts.map +0 -1
  241. package/dist/components/Card.js +0 -15
  242. package/dist/components/Card.js.map +0 -1
  243. package/dist/components/CardGrid.d.ts +0 -8
  244. package/dist/components/CardGrid.d.ts.map +0 -1
  245. package/dist/components/CardGrid.js +0 -9
  246. package/dist/components/CardGrid.js.map +0 -1
  247. package/dist/components/CodeBlock.d.ts +0 -28
  248. package/dist/components/CodeBlock.d.ts.map +0 -1
  249. package/dist/components/CodeBlock.js +0 -80
  250. package/dist/components/CodeBlock.js.map +0 -1
  251. package/dist/components/ContentPage.d.ts +0 -9
  252. package/dist/components/ContentPage.d.ts.map +0 -1
  253. package/dist/components/ContentPage.js +0 -102
  254. package/dist/components/ContentPage.js.map +0 -1
  255. package/dist/components/Header.d.ts +0 -14
  256. package/dist/components/Header.d.ts.map +0 -1
  257. package/dist/components/Header.js +0 -30
  258. package/dist/components/Header.js.map +0 -1
  259. package/dist/components/Heading.d.ts +0 -16
  260. package/dist/components/Heading.d.ts.map +0 -1
  261. package/dist/components/Heading.js +0 -31
  262. package/dist/components/Heading.js.map +0 -1
  263. package/dist/components/Image.d.ts +0 -8
  264. package/dist/components/Image.d.ts.map +0 -1
  265. package/dist/components/Image.js +0 -24
  266. package/dist/components/Image.js.map +0 -1
  267. package/dist/components/Layout.d.ts +0 -14
  268. package/dist/components/Layout.d.ts.map +0 -1
  269. package/dist/components/Layout.js +0 -32
  270. package/dist/components/Layout.js.map +0 -1
  271. package/dist/components/MarkdocRenderer.d.ts +0 -15
  272. package/dist/components/MarkdocRenderer.d.ts.map +0 -1
  273. package/dist/components/MarkdocRenderer.js +0 -73
  274. package/dist/components/MarkdocRenderer.js.map +0 -1
  275. package/dist/components/MobileMenu.d.ts +0 -14
  276. package/dist/components/MobileMenu.d.ts.map +0 -1
  277. package/dist/components/MobileMenu.js +0 -45
  278. package/dist/components/MobileMenu.js.map +0 -1
  279. package/dist/components/PageNavigation.d.ts +0 -9
  280. package/dist/components/PageNavigation.d.ts.map +0 -1
  281. package/dist/components/PageNavigation.js +0 -23
  282. package/dist/components/PageNavigation.js.map +0 -1
  283. package/dist/components/SearchModal.d.ts +0 -9
  284. package/dist/components/SearchModal.d.ts.map +0 -1
  285. package/dist/components/SearchModal.js +0 -74
  286. package/dist/components/SearchModal.js.map +0 -1
  287. package/dist/components/SideNav.d.ts +0 -9
  288. package/dist/components/SideNav.d.ts.map +0 -1
  289. package/dist/components/SideNav.js +0 -66
  290. package/dist/components/SideNav.js.map +0 -1
  291. package/dist/components/TableOfContents.d.ts +0 -10
  292. package/dist/components/TableOfContents.d.ts.map +0 -1
  293. package/dist/components/TableOfContents.js +0 -151
  294. package/dist/components/TableOfContents.js.map +0 -1
  295. package/dist/config/ConfigLoader.d.ts +0 -50
  296. package/dist/config/ConfigLoader.d.ts.map +0 -1
  297. package/dist/config/ConfigLoader.js +0 -214
  298. package/dist/config/ConfigLoader.js.map +0 -1
  299. package/dist/config/StyleCompiler.d.ts +0 -17
  300. package/dist/config/StyleCompiler.d.ts.map +0 -1
  301. package/dist/config/StyleCompiler.js +0 -116
  302. package/dist/config/StyleCompiler.js.map +0 -1
  303. package/dist/config/ThemeGenerator.d.ts +0 -14
  304. package/dist/config/ThemeGenerator.d.ts.map +0 -1
  305. package/dist/config/ThemeGenerator.js +0 -129
  306. package/dist/config/ThemeGenerator.js.map +0 -1
  307. package/dist/content/ContentLoader.d.ts +0 -70
  308. package/dist/content/ContentLoader.d.ts.map +0 -1
  309. package/dist/content/ContentLoader.js +0 -146
  310. package/dist/content/ContentLoader.js.map +0 -1
  311. package/dist/content/ContentProcessor.d.ts +0 -84
  312. package/dist/content/ContentProcessor.d.ts.map +0 -1
  313. package/dist/content/ContentProcessor.js +0 -380
  314. package/dist/content/ContentProcessor.js.map +0 -1
  315. package/dist/content/RouteManager.d.ts +0 -69
  316. package/dist/content/RouteManager.d.ts.map +0 -1
  317. package/dist/content/RouteManager.js +0 -143
  318. package/dist/content/RouteManager.js.map +0 -1
  319. package/dist/styles/components/callout.d.ts +0 -11
  320. package/dist/styles/components/callout.d.ts.map +0 -1
  321. package/dist/styles/components/callout.js +0 -87
  322. package/dist/styles/components/callout.js.map +0 -1
  323. package/dist/styles/components/card.d.ts +0 -11
  324. package/dist/styles/components/card.d.ts.map +0 -1
  325. package/dist/styles/components/card.js +0 -179
  326. package/dist/styles/components/card.js.map +0 -1
  327. package/dist/styles/components/codeblock.d.ts +0 -11
  328. package/dist/styles/components/codeblock.d.ts.map +0 -1
  329. package/dist/styles/components/codeblock.js +0 -251
  330. package/dist/styles/components/codeblock.js.map +0 -1
  331. package/dist/styles/components/content.d.ts +0 -11
  332. package/dist/styles/components/content.d.ts.map +0 -1
  333. package/dist/styles/components/content.js +0 -197
  334. package/dist/styles/components/content.js.map +0 -1
  335. package/dist/styles/components/fonts.d.ts +0 -11
  336. package/dist/styles/components/fonts.d.ts.map +0 -1
  337. package/dist/styles/components/fonts.js +0 -34
  338. package/dist/styles/components/fonts.js.map +0 -1
  339. package/dist/styles/components/header.d.ts +0 -11
  340. package/dist/styles/components/header.d.ts.map +0 -1
  341. package/dist/styles/components/header.js +0 -293
  342. package/dist/styles/components/header.js.map +0 -1
  343. package/dist/styles/components/heading.d.ts +0 -11
  344. package/dist/styles/components/heading.d.ts.map +0 -1
  345. package/dist/styles/components/heading.js +0 -115
  346. package/dist/styles/components/heading.js.map +0 -1
  347. package/dist/styles/components/layout.d.ts +0 -11
  348. package/dist/styles/components/layout.d.ts.map +0 -1
  349. package/dist/styles/components/layout.js +0 -79
  350. package/dist/styles/components/layout.js.map +0 -1
  351. package/dist/styles/components/mobilemenu.d.ts +0 -11
  352. package/dist/styles/components/mobilemenu.d.ts.map +0 -1
  353. package/dist/styles/components/mobilemenu.js +0 -112
  354. package/dist/styles/components/mobilemenu.js.map +0 -1
  355. package/dist/styles/components/reset.d.ts +0 -11
  356. package/dist/styles/components/reset.d.ts.map +0 -1
  357. package/dist/styles/components/reset.js +0 -131
  358. package/dist/styles/components/reset.js.map +0 -1
  359. package/dist/styles/components/searchmodal.d.ts +0 -11
  360. package/dist/styles/components/searchmodal.d.ts.map +0 -1
  361. package/dist/styles/components/searchmodal.js +0 -333
  362. package/dist/styles/components/searchmodal.js.map +0 -1
  363. package/dist/styles/components/sidenav.d.ts +0 -11
  364. package/dist/styles/components/sidenav.d.ts.map +0 -1
  365. package/dist/styles/components/sidenav.js +0 -212
  366. package/dist/styles/components/sidenav.js.map +0 -1
  367. package/dist/styles/components/toc.d.ts +0 -11
  368. package/dist/styles/components/toc.d.ts.map +0 -1
  369. package/dist/styles/components/toc.js +0 -120
  370. package/dist/styles/components/toc.js.map +0 -1
  371. package/dist/styles/components/typography.d.ts +0 -11
  372. package/dist/styles/components/typography.d.ts.map +0 -1
  373. package/dist/styles/components/typography.js +0 -248
  374. package/dist/styles/components/typography.js.map +0 -1
  375. package/dist/styles/components/utility.d.ts +0 -11
  376. package/dist/styles/components/utility.d.ts.map +0 -1
  377. package/dist/styles/components/utility.js +0 -231
  378. package/dist/styles/components/utility.js.map +0 -1
  379. package/dist/styles/types.d.ts +0 -79
  380. package/dist/styles/types.d.ts.map +0 -1
  381. package/dist/styles/types.js +0 -7
  382. package/dist/styles/types.js.map +0 -1
  383. package/dist/styles/utils.d.ts +0 -21
  384. package/dist/styles/utils.d.ts.map +0 -1
  385. package/dist/styles/utils.js +0 -50
  386. package/dist/styles/utils.js.map +0 -1
  387. package/dist/styles/variables/main.d.ts +0 -15
  388. package/dist/styles/variables/main.d.ts.map +0 -1
  389. package/dist/styles/variables/main.js +0 -116
  390. package/dist/styles/variables/main.js.map +0 -1
  391. package/dist/types/config.d.ts +0 -43
  392. package/dist/types/config.d.ts.map +0 -1
  393. package/dist/types/config.js +0 -7
  394. package/dist/types/config.js.map +0 -1
  395. package/dist/utils/language-utils.d.ts +0 -41
  396. package/dist/utils/language-utils.d.ts.map +0 -1
  397. package/dist/utils/language-utils.js +0 -79
  398. package/dist/utils/language-utils.js.map +0 -1
  399. package/dist/utils/slugify.d.ts +0 -20
  400. package/dist/utils/slugify.d.ts.map +0 -1
  401. package/dist/utils/slugify.js +0 -44
  402. package/dist/utils/slugify.js.map +0 -1
  403. package/templates/default/config/favicon.ico +0 -0
  404. package/templates/default/config/logo-dark.png +0 -0
  405. package/templates/default/config/logo.png +0 -0
  406. package/templates/default/config/sidenav.yaml +0 -36
  407. package/templates/default/config/site.json +0 -16
  408. package/templates/default/config/styles/main.json +0 -6
  409. package/templates/default/config/styles/typography.json +0 -6
  410. package/templates/default/content/en/changelog.md +0 -35
  411. package/templates/default/content/en/faq.md +0 -50
  412. package/templates/default/content/en/field-manual/engines.md +0 -59
  413. package/templates/default/content/en/field-manual/relativity.md +0 -46
  414. package/templates/default/content/en/field-manual/safety.md +0 -44
  415. package/templates/default/content/en/field-manual.md +0 -22
  416. package/templates/default/content/en/flight-school/navigation.md +0 -61
  417. package/templates/default/content/en/flight-school/primer.md +0 -64
  418. package/templates/default/content/en/flight-school.md +0 -48
  419. package/templates/default/content/en/index.md +0 -83
  420. package/templates/default/content/en/ship-systems/flux-sails.md +0 -33
  421. package/templates/default/content/en/ship-systems/photonic-core.md +0 -39
  422. package/templates/default/content/en/ship-systems.md +0 -25
  423. package/templates/default/package.json +0 -21
  424. package/templates/default/public/icons/academy.svg +0 -15
  425. package/templates/default/public/icons/manual.svg +0 -16
  426. package/templates/default/public/icons/relativity.svg +0 -16
  427. package/templates/default/public/icons/systems.svg +0 -14
  428. package/templates/default/public/icons/warning.svg +0 -14
  429. package/templates/default/public/images/flux-sails.svg +0 -33
  430. package/templates/default/public/images/photonic-core.svg +0 -44
  431. package/templates/default/public/images/starwake.svg +0 -49
@@ -1,11 +0,0 @@
1
- /**
2
- * Typography styles
3
- * Global typography for headings, paragraphs, links, lists, tables, etc.
4
- */
5
- import { GlobalVariables } from '../types';
6
- export declare class TypographyStyleGenerator {
7
- private globalVars;
8
- constructor(globalVars: GlobalVariables);
9
- generate(userOverrides?: Record<string, string>): string;
10
- }
11
- //# sourceMappingURL=typography.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/styles/components/typography.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU3C,qBAAa,wBAAwB;IACvB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAE/C,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM;CA+OzD"}
@@ -1,248 +0,0 @@
1
- "use strict";
2
- /**
3
- * Typography styles
4
- * Global typography for headings, paragraphs, links, lists, tables, etc.
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TypographyStyleGenerator = void 0;
8
- const utils_1 = require("../utils");
9
- class TypographyStyleGenerator {
10
- constructor(globalVars) {
11
- this.globalVars = globalVars;
12
- }
13
- generate(userOverrides) {
14
- const defaults = {
15
- linkColor: this.globalVars.linkColorLight,
16
- linkColorDark: this.globalVars.linkColorDark,
17
- linkHoverColor: '#000000',
18
- linkHoverColorDark: '#FFFFFF',
19
- };
20
- const vars = (0, utils_1.mergeOverrides)(defaults, userOverrides, ['linkColor', 'linkColorDark', 'linkHoverColor', 'linkHoverColorDark']);
21
- return `/* Typography */
22
- h1, h2, h3, h4, h5, h6 {
23
- font-family: ${this.globalVars.fontFamilyHeading};
24
- color: ${this.globalVars.textPrimaryLight};
25
- }
26
-
27
- h1 {
28
- font-size: 1.875rem;
29
- line-height: 1.3;
30
- letter-spacing: -0.01em;
31
- font-weight: 600;
32
- margin-top: 1.5rem;
33
- margin-bottom: 1rem;
34
- }
35
-
36
- h2 {
37
- font-size: 1.5rem;
38
- line-height: 1.4;
39
- letter-spacing: -0.01em;
40
- font-weight: 600;
41
- margin-top: 1rem;
42
- margin-bottom: 0.75rem;
43
- }
44
-
45
- h3 {
46
- font-size: 1.25rem;
47
- line-height: 1.5;
48
- letter-spacing: -0.01em;
49
- font-weight: 600;
50
- margin-top: 1.5rem;
51
- margin-bottom: 0.5rem;
52
- }
53
-
54
- h4 {
55
- font-size: 1.125rem;
56
- line-height: 1.5;
57
- letter-spacing: 0.01em;
58
- font-weight: 600;
59
- margin-top: 1.25rem;
60
- margin-bottom: 0.5rem;
61
- }
62
-
63
- h5 {
64
- font-size: 1rem;
65
- line-height: 1.5;
66
- letter-spacing: 0.01em;
67
- font-weight: 600;
68
- margin-top: 1rem;
69
- margin-bottom: 0.5rem;
70
- }
71
-
72
- h6 {
73
- font-size: 0.875rem;
74
- line-height: 1.5;
75
- letter-spacing: 0.01em;
76
- font-weight: 600;
77
- margin-top: 1rem;
78
- margin-bottom: 0.5rem;
79
- }
80
-
81
- p {
82
- font-size: 1rem;
83
- line-height: 1.7;
84
- font-weight: 400;
85
- margin-top: 0;
86
- margin-bottom: 1rem;
87
- }
88
-
89
- a {
90
- color: ${vars.linkColor};
91
- font-weight: ${this.globalVars.fontWeightMedium};
92
- text-decoration: underline;
93
- transition: all 0.2s ease;
94
- }
95
-
96
- a:hover {
97
- color: ${vars.linkHoverColor};
98
- font-weight: ${this.globalVars.fontWeightMedium};
99
- }
100
-
101
- ${(0, utils_1.darkMode)(` h1, h2, h3, h4, h5, h6 {
102
- color: ${this.globalVars.textPrimaryDark};
103
- }
104
-
105
- a {
106
- color: ${vars.linkColorDark};
107
- }
108
-
109
- a:hover {
110
- color: ${vars.linkHoverColorDark};
111
- }`)}
112
-
113
- code, pre {
114
- font-family: ${this.globalVars.fontFamilyMono};
115
- font-size: ${this.globalVars.fontSizeSm};
116
- }
117
-
118
- code {
119
- background-color: ${this.globalVars.surfaceColorLight};
120
- padding: 0.125rem 0.375rem;
121
- border-radius: ${this.globalVars.borderRadiusSm};
122
- }
123
-
124
- ${(0, utils_1.darkMode)(` code {
125
- background-color: ${this.globalVars.surfaceColorDark};
126
- }`)}
127
-
128
- pre {
129
- background-color: ${this.globalVars.surfaceColorLight};
130
- padding: ${this.globalVars.spacingMd};
131
- border-radius: ${this.globalVars.borderRadiusMd};
132
- overflow-x: auto;
133
- margin-bottom: ${this.globalVars.spacingMd};
134
- }
135
-
136
- ${(0, utils_1.darkMode)(` pre {
137
- background-color: ${this.globalVars.surfaceColorDark};
138
- }`)}
139
-
140
-
141
- pre code {
142
- background-color: transparent;
143
- padding: 0;
144
- }
145
-
146
- ul, ol {
147
- padding-left: ${this.globalVars.spacingXl};
148
- margin-top: 0.5rem;
149
- margin-bottom: 0.5rem;
150
- line-height: 1.7;
151
- }
152
-
153
- ul {
154
- list-style: disc;
155
- list-style-position: outside;
156
- }
157
-
158
- ol {
159
- list-style: decimal;
160
- list-style-position: outside;
161
- }
162
-
163
- ul ul {
164
- list-style-type: circle;
165
- }
166
-
167
- ul ul ul {
168
- list-style-type: square;
169
- }
170
-
171
- ol ol {
172
- list-style-type: lower-alpha;
173
- }
174
-
175
- ol ol ol {
176
- list-style-type: lower-roman;
177
- }
178
-
179
- li {
180
- margin-bottom: ${this.globalVars.spacingSm};
181
- line-height: 1.7;
182
- }
183
-
184
- li p {
185
- margin-bottom: ${this.globalVars.spacingSm};
186
- }
187
-
188
- blockquote {
189
- margin: ${this.globalVars.spacingMd} 0;
190
- padding-left: ${this.globalVars.spacingMd};
191
- border-left: 4px solid ${this.globalVars.borderColorLight};
192
- color: ${this.globalVars.textSecondaryLight};
193
- }
194
-
195
- ${(0, utils_1.darkMode)(` blockquote {
196
- border-left-color: ${this.globalVars.borderColorDark};
197
- color: ${this.globalVars.textSecondaryDark};
198
- }`)}
199
-
200
- hr {
201
- border: none;
202
- border-top: 1px solid ${this.globalVars.borderColorLight};
203
- margin: ${this.globalVars.spacingLg} 0;
204
- }
205
-
206
- ${(0, utils_1.darkMode)(` hr {
207
- border-top-color: ${this.globalVars.borderColorDark};
208
- }`)}
209
-
210
- table {
211
- width: 100%;
212
- border-collapse: collapse;
213
- margin-bottom: ${this.globalVars.spacingMd};
214
- }
215
-
216
- th, td {
217
- text-align: left;
218
- padding: ${this.globalVars.spacingSm} ${this.globalVars.spacingMd};
219
- border-bottom: 1px solid ${this.globalVars.borderColorLight};
220
- }
221
-
222
- ${(0, utils_1.darkMode)(` th, td {
223
- border-bottom-color: ${this.globalVars.borderColorDark};
224
- }`)}
225
-
226
- th {
227
- font-weight: ${this.globalVars.fontWeightSemibold};
228
- background-color: ${this.globalVars.surfaceColorLight};
229
- }
230
-
231
- ${(0, utils_1.darkMode)(` th {
232
- background-color: ${this.globalVars.surfaceColorDark};
233
- }`)}
234
-
235
-
236
- img {
237
- max-width: 100%;
238
- height: auto;
239
- display: block;
240
- margin: ${this.globalVars.spacingMd} 0;
241
- border-radius: ${this.globalVars.borderRadiusMd};
242
- cursor: pointer;
243
- transition: transform 0.2s ease;
244
- }`;
245
- }
246
- }
247
- exports.TypographyStyleGenerator = TypographyStyleGenerator;
248
- //# sourceMappingURL=typography.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/styles/components/typography.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAAgE;AAShE,MAAa,wBAAwB;IACnC,YAAoB,UAA2B;QAA3B,eAAU,GAAV,UAAU,CAAiB;IAAG,CAAC;IAEnD,QAAQ,CAAC,aAAsC;QAC7C,MAAM,QAAQ,GAAwB;YACpC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,cAAc;YACzC,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,aAAa;YAC5C,cAAc,EAAE,SAAS;YACzB,kBAAkB,EAAE,SAAS;SAC9B,CAAC;QAEF,MAAM,IAAI,GAAG,IAAA,sBAAc,EACzB,QAAQ,EACR,aAAa,EACb,CAAC,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,CAAC,CACvE,CAAC;QAEF,OAAO;;iBAEM,IAAI,CAAC,UAAU,CAAC,iBAAiB;WACvC,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;0BAIqB,IAAI,CAAC,UAAU,CAAC,gBAAgB;YAC9C,IAAI,CAAC,UAAU,CAAC,SAAS;;;EAGnC,IAAA,gBAAQ,EAAC;wBACa,IAAI,CAAC,UAAU,CAAC,eAAe;IACnD,CAAC;;;;;mBAKc,IAAI,CAAC,UAAU,CAAC,SAAS;;;;;aAK/B,IAAI,CAAC,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,CAAC,SAAS;6BACtC,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;EAG3D,IAAA,gBAAQ,EAAC;2BACgB,IAAI,CAAC,UAAU,CAAC,eAAe;IACtD,CAAC;;;iBAGY,IAAI,CAAC,UAAU,CAAC,kBAAkB;sBAC7B,IAAI,CAAC,UAAU,CAAC,iBAAiB;;;EAGrD,IAAA,gBAAQ,EAAC;wBACa,IAAI,CAAC,UAAU,CAAC,gBAAgB;IACpD,CAAC;;;;;;;YAOO,IAAI,CAAC,UAAU,CAAC,SAAS;mBAClB,IAAI,CAAC,UAAU,CAAC,cAAc;;;EAG/C,CAAC;IACD,CAAC;CACF;AAlPD,4DAkPC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Utility styles
3
- * Helper classes for common patterns
4
- */
5
- import { GlobalVariables } from '../types';
6
- export declare class UtilityStyleGenerator {
7
- private globalVars;
8
- constructor(globalVars: GlobalVariables);
9
- generate(): string;
10
- }
11
- //# sourceMappingURL=utility.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utility.d.ts","sourceRoot":"","sources":["../../../src/styles/components/utility.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,qBAAa,qBAAqB;IACpB,OAAO,CAAC,UAAU;gBAAV,UAAU,EAAE,eAAe;IAE/C,QAAQ,IAAI,MAAM;CAwNnB"}
@@ -1,231 +0,0 @@
1
- "use strict";
2
- /**
3
- * Utility styles
4
- * Helper classes for common patterns
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.UtilityStyleGenerator = void 0;
8
- const utils_1 = require("../utils");
9
- class UtilityStyleGenerator {
10
- constructor(globalVars) {
11
- this.globalVars = globalVars;
12
- }
13
- generate() {
14
- return `/* Utility Classes */
15
- .loading {
16
- text-align: center;
17
- padding: ${this.globalVars.spacing2xl};
18
- color: ${this.globalVars.textSecondaryLight};
19
- }
20
-
21
- ${(0, utils_1.darkMode)(` .loading {
22
- color: ${this.globalVars.textSecondaryDark};
23
- }`)}
24
-
25
- .error {
26
- color: ${this.globalVars.errorColorLight};
27
- padding: ${this.globalVars.spacingMd};
28
- background: ${this.globalVars.surfaceColorLight};
29
- border-radius: ${this.globalVars.borderRadiusMd};
30
- border-left: 4px solid ${this.globalVars.errorColorLight};
31
- }
32
-
33
- ${(0, utils_1.darkMode)(` .error {
34
- color: ${this.globalVars.errorColorDark};
35
- background: ${this.globalVars.surfaceColorDark};
36
- border-left-color: ${this.globalVars.errorColorDark};
37
- }`)}
38
-
39
-
40
- .table-wrapper {
41
- overflow-x: auto;
42
- margin-bottom: ${this.globalVars.spacingMd};
43
- }
44
-
45
- /* Image Modal/Lightbox */
46
- .image-modal {
47
- position: fixed;
48
- top: 0;
49
- left: 0;
50
- right: 0;
51
- bottom: 0;
52
- background-color: rgba(0, 0, 0, 0.9);
53
- z-index: 9999;
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- padding: ${this.globalVars.spacingXl};
58
- cursor: zoom-out;
59
- }
60
-
61
- .image-modal img {
62
- max-width: 90vw;
63
- max-height: 90vh;
64
- width: auto;
65
- height: auto;
66
- cursor: default;
67
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
68
- }
69
-
70
- .image-modal-close {
71
- position: absolute;
72
- top: ${this.globalVars.spacingLg};
73
- right: ${this.globalVars.spacingLg};
74
- background: rgba(255, 255, 255, 0.1);
75
- border: none;
76
- color: white;
77
- font-size: 32px;
78
- width: 48px;
79
- height: 48px;
80
- border-radius: 50%;
81
- cursor: pointer;
82
- display: flex;
83
- align-items: center;
84
- justify-content: center;
85
- transition: background-color 0.2s ease;
86
- }
87
-
88
- .image-modal-close:hover {
89
- background: rgba(255, 255, 255, 0.2);
90
- }
91
-
92
- /* Theme Toggle */
93
- .theme-toggle {
94
- display: flex;
95
- align-items: center;
96
- justify-content: center;
97
- background: ${this.globalVars.surfaceColorLight};
98
- border: 1px solid ${this.globalVars.borderColorLight};
99
- border-radius: 12px;
100
- padding: 8px;
101
- cursor: pointer;
102
- transition: all 0.2s ease;
103
- width: 40px;
104
- height: 40px;
105
- }
106
-
107
- ${(0, utils_1.darkMode)(` .theme-toggle {
108
- background: ${this.globalVars.surfaceColorDark};
109
- border-color: ${this.globalVars.borderColorDark};
110
- }`)}
111
-
112
- .theme-toggle:hover {
113
- background: ${this.globalVars.backgroundColorLight};
114
- border-color: ${this.globalVars.primaryColorLight};
115
- }
116
-
117
- ${(0, utils_1.darkMode)(` .theme-toggle:hover {
118
- background: ${this.globalVars.backgroundColorDark};
119
- border-color: ${this.globalVars.primaryColorDark};
120
- }`)}
121
-
122
- .theme-toggle .theme-icon {
123
- color: ${this.globalVars.textSecondaryLight};
124
- transition: color 0.2s ease;
125
- display: block;
126
- flex-shrink: 0;
127
- }
128
-
129
- ${(0, utils_1.darkMode)(` .theme-toggle .theme-icon {
130
- color: ${this.globalVars.textSecondaryDark};
131
- }`)}
132
-
133
- .theme-toggle:hover .theme-icon {
134
- color: ${this.globalVars.textPrimaryLight};
135
- }
136
-
137
- ${(0, utils_1.darkMode)(` .theme-toggle:hover .theme-icon {
138
- color: ${this.globalVars.textPrimaryDark};
139
- }`)}
140
-
141
- @media (max-width: 480px) {
142
- .theme-toggle {
143
- width: 36px;
144
- height: 36px;
145
- padding: 6px;
146
- }
147
-
148
- .theme-toggle .theme-icon {
149
- width: 18px;
150
- height: 18px;
151
- }
152
- }
153
-
154
- /* Page Navigation (Prev/Next) */
155
- .page-navigation {
156
- margin-top: ${this.globalVars.spacing2xl};
157
- padding-top: ${this.globalVars.spacing2xl};
158
- border-top: 1px solid ${this.globalVars.borderColorLight};
159
- }
160
-
161
- ${(0, utils_1.darkMode)(` .page-navigation {
162
- border-top-color: ${this.globalVars.borderColorDark};
163
- }`)}
164
-
165
- .page-nav-container {
166
- display: flex;
167
- justify-content: space-between;
168
- gap: ${this.globalVars.spacingMd};
169
- }
170
-
171
- .page-nav-link {
172
- display: flex;
173
- flex-direction: column;
174
- gap: ${this.globalVars.spacingXs};
175
- padding: ${this.globalVars.spacingMd};
176
- border: 1px solid ${this.globalVars.borderColorLight};
177
- border-radius: ${this.globalVars.borderRadiusMd};
178
- text-decoration: none;
179
- transition: all 0.2s ease;
180
- flex: 1;
181
- max-width: 45%;
182
- }
183
-
184
- ${(0, utils_1.darkMode)(` .page-nav-link {
185
- border-color: ${this.globalVars.borderColorDark};
186
- }`)}
187
-
188
- .page-nav-link:hover {
189
- background: ${this.globalVars.surfaceColorLight};
190
- border-color: ${this.globalVars.primaryColorLight};
191
- }
192
-
193
- ${(0, utils_1.darkMode)(` .page-nav-link:hover {
194
- background: ${this.globalVars.surfaceColorDark};
195
- border-color: ${this.globalVars.primaryColorDark};
196
- }`)}
197
-
198
- .page-nav-prev {
199
- text-align: left;
200
- }
201
-
202
- .page-nav-next {
203
- text-align: right;
204
- }
205
-
206
- .page-nav-direction {
207
- font-size: ${this.globalVars.fontSizeSm};
208
- color: ${this.globalVars.textSecondaryLight};
209
- }
210
-
211
- ${(0, utils_1.darkMode)(` .page-nav-direction {
212
- color: ${this.globalVars.textSecondaryDark};
213
- }`)}
214
-
215
- .page-nav-label {
216
- font-weight: ${this.globalVars.fontWeightMedium};
217
- color: ${this.globalVars.textPrimaryLight};
218
- }
219
-
220
- ${(0, utils_1.darkMode)(` .page-nav-label {
221
- color: ${this.globalVars.textPrimaryDark};
222
- }`)}
223
-
224
-
225
- .page-nav-spacer {
226
- flex: 1;
227
- }`;
228
- }
229
- }
230
- exports.UtilityStyleGenerator = UtilityStyleGenerator;
231
- //# sourceMappingURL=utility.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utility.js","sourceRoot":"","sources":["../../../src/styles/components/utility.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAGH,oCAAoC;AAEpC,MAAa,qBAAqB;IAChC,YAAoB,UAA2B;QAA3B,eAAU,GAAV,UAAU,CAAiB;IAAG,CAAC;IAEnD,QAAQ;QACN,OAAO;;;aAGE,IAAI,CAAC,UAAU,CAAC,UAAU;WAC5B,IAAI,CAAC,UAAU,CAAC,kBAAkB;;;EAG3C,IAAA,gBAAQ,EAAC;aACE,IAAI,CAAC,UAAU,CAAC,iBAAiB;IAC1C,CAAC;;;WAGM,IAAI,CAAC,UAAU,CAAC,eAAe;aAC7B,IAAI,CAAC,UAAU,CAAC,SAAS;gBACtB,IAAI,CAAC,UAAU,CAAC,iBAAiB;mBAC9B,IAAI,CAAC,UAAU,CAAC,cAAc;2BACtB,IAAI,CAAC,UAAU,CAAC,eAAe;;;EAGxD,IAAA,gBAAQ,EAAC;aACE,IAAI,CAAC,UAAU,CAAC,cAAc;kBACzB,IAAI,CAAC,UAAU,CAAC,gBAAgB;yBACzB,IAAI,CAAC,UAAU,CAAC,cAAc;IACnD,CAAC;;;;;mBAKc,IAAI,CAAC,UAAU,CAAC,SAAS;;;;;;;;;;;;;;;aAe/B,IAAI,CAAC,UAAU,CAAC,SAAS;;;;;;;;;;;;;;;SAe7B,IAAI,CAAC,UAAU,CAAC,SAAS;WACvB,IAAI,CAAC,UAAU,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;gBAwBpB,IAAI,CAAC,UAAU,CAAC,iBAAiB;sBAC3B,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;;;;;;;EASpD,IAAA,gBAAQ,EAAC;kBACO,IAAI,CAAC,UAAU,CAAC,gBAAgB;oBAC9B,IAAI,CAAC,UAAU,CAAC,eAAe;IAC/C,CAAC;;;gBAGW,IAAI,CAAC,UAAU,CAAC,oBAAoB;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AAC,UAAU,CAAC,iBAAiB;IAC1C,CAAC;;;iBAGY,IAAI,CAAC,UAAU,CAAC,gBAAgB;WACtC,IAAI,CAAC,UAAU,CAAC,gBAAgB;;;EAGzC,IAAA,gBAAQ,EAAC;aACE,IAAI,CAAC,UAAU,CAAC,eAAe;IACxC,CAAC;;;;;EAKH,CAAC;IACD,CAAC;CACF;AA3ND,sDA2NC"}
@@ -1,79 +0,0 @@
1
- /**
2
- * Type definitions for the styling system
3
- * Defines interfaces for MORDOC style variables
4
- */
5
- export interface GlobalVariables {
6
- primaryColorLight: string;
7
- primaryColorDark: string;
8
- secondaryColorLight: string;
9
- secondaryColorDark: string;
10
- backgroundColorLight: string;
11
- backgroundColorDark: string;
12
- surfaceColorLight: string;
13
- surfaceColorDark: string;
14
- textPrimaryLight: string;
15
- textPrimaryDark: string;
16
- textSecondaryLight: string;
17
- textSecondaryDark: string;
18
- textDisabledLight: string;
19
- textDisabledDark: string;
20
- borderColorLight: string;
21
- borderColorDark: string;
22
- linkColorLight: string;
23
- linkColorDark: string;
24
- successColorLight: string;
25
- successColorDark: string;
26
- warningColorLight: string;
27
- warningColorDark: string;
28
- errorColorLight: string;
29
- errorColorDark: string;
30
- infoColorLight: string;
31
- infoColorDark: string;
32
- navTextColorLight: string;
33
- navTextColorDark: string;
34
- navHoverColorLight: string;
35
- navHoverColorDark: string;
36
- navActiveColorLight: string;
37
- navActiveColorDark: string;
38
- fontFamilyBase: string;
39
- fontFamilyHeading: string;
40
- fontFamilyMono: string;
41
- spacingXs: string;
42
- spacingSm: string;
43
- spacingMd: string;
44
- spacingLg: string;
45
- spacingXl: string;
46
- spacing2xl: string;
47
- spacing3xl: string;
48
- fontSizeXs: string;
49
- fontSizeSm: string;
50
- fontSizeBase: string;
51
- fontSizeLg: string;
52
- fontSizeXl: string;
53
- fontSize2xl: string;
54
- fontSize3xl: string;
55
- fontSize4xl: string;
56
- fontWeightNormal: number;
57
- fontWeightMedium: number;
58
- fontWeightSemibold: number;
59
- fontWeightBold: number;
60
- lineHeightTight: number;
61
- lineHeightNormal: number;
62
- lineHeightRelaxed: number;
63
- borderRadiusSm: string;
64
- borderRadiusMd: string;
65
- borderRadiusLg: string;
66
- borderRadiusFull: string;
67
- containerWidthSm: string;
68
- containerWidthMd: string;
69
- containerWidthLg: string;
70
- containerWidthXl: string;
71
- headerHeight: string;
72
- sidebarWidth: string;
73
- sidebarCollapsedWidth: string;
74
- }
75
- export interface UserStyleOverrides {
76
- global?: Record<string, string>;
77
- components: Record<string, Record<string, string>>;
78
- }
79
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/styles/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,MAAM,WAAW,eAAe;IAE9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IAGtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM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ACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAGD,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACpD"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /**
3
- * Type definitions for the styling system
4
- * Defines interfaces for MORDOC style variables
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/styles/types.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Shared utility functions for style generation
3
- * Used by all component style generators
4
- */
5
- /**
6
- * Merge user overrides with defaults, respecting customizable keys whitelist
7
- */
8
- export declare function mergeOverrides<T extends Record<string, any>>(defaults: T, userOverrides: Record<string, string> | undefined, customizableKeys: (keyof T)[]): T;
9
- /**
10
- * Wrap CSS in dark mode selector
11
- */
12
- export declare function darkMode(css: string): string;
13
- /**
14
- * Generate media query for responsive styles
15
- */
16
- export declare function mediaQuery(breakpoint: 'sm' | 'md' | 'lg' | 'xl', css: string): string;
17
- /**
18
- * Generate media query for system dark mode preference
19
- */
20
- export declare function prefersDarkMode(css: string): string;
21
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1D,QAAQ,EAAE,CAAC,EACX,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACjD,gBAAgB,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,GAC5B,CAAC,CAcH;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE5C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CASrF;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEnD"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /**
3
- * Shared utility functions for style generation
4
- * Used by all component style generators
5
- */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.mergeOverrides = mergeOverrides;
8
- exports.darkMode = darkMode;
9
- exports.mediaQuery = mediaQuery;
10
- exports.prefersDarkMode = prefersDarkMode;
11
- /**
12
- * Merge user overrides with defaults, respecting customizable keys whitelist
13
- */
14
- function mergeOverrides(defaults, userOverrides, customizableKeys) {
15
- if (!userOverrides) {
16
- return defaults;
17
- }
18
- const merged = { ...defaults };
19
- customizableKeys.forEach(key => {
20
- if (userOverrides[key] !== undefined) {
21
- merged[key] = userOverrides[key];
22
- }
23
- });
24
- return merged;
25
- }
26
- /**
27
- * Wrap CSS in dark mode selector
28
- */
29
- function darkMode(css) {
30
- return `[data-theme="dark"] {\n${css}\n}`;
31
- }
32
- /**
33
- * Generate media query for responsive styles
34
- */
35
- function mediaQuery(breakpoint, css) {
36
- const breakpoints = {
37
- sm: '640px',
38
- md: '768px',
39
- lg: '1024px',
40
- xl: '1280px',
41
- };
42
- return `@media (max-width: ${breakpoints[breakpoint]}) {\n${css}\n}`;
43
- }
44
- /**
45
- * Generate media query for system dark mode preference
46
- */
47
- function prefersDarkMode(css) {
48
- return `@media (prefers-color-scheme: dark) {\n :root:not([data-theme="light"]) {\n${css}\n }\n}`;
49
- }
50
- //# sourceMappingURL=utils.js.map