@rocket/js 0.0.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +233 -2
  3. package/dist-types/exports/MainMenu.d.ts +2 -0
  4. package/dist-types/exports/MainMenu.d.ts.map +1 -0
  5. package/dist-types/exports/PageData.d.ts +2 -0
  6. package/dist-types/exports/PageData.d.ts.map +1 -0
  7. package/dist-types/exports/RocketCodeBlock.d.ts +2 -0
  8. package/dist-types/exports/RocketCodeBlock.d.ts.map +1 -0
  9. package/dist-types/exports/RocketIcon.d.ts +2 -0
  10. package/dist-types/exports/RocketIcon.d.ts.map +1 -0
  11. package/dist-types/exports/RocketJsDemo.d.ts +2 -0
  12. package/dist-types/exports/RocketJsDemo.d.ts.map +1 -0
  13. package/dist-types/exports/RocketRequestDemo.d.ts +2 -0
  14. package/dist-types/exports/RocketRequestDemo.d.ts.map +1 -0
  15. package/dist-types/exports/SocialPreviewPlayground.d.ts +2 -0
  16. package/dist-types/exports/SocialPreviewPlayground.d.ts.map +1 -0
  17. package/dist-types/exports/adapters/netlify.d.ts +2 -0
  18. package/dist-types/exports/adapters/netlify.d.ts.map +1 -0
  19. package/dist-types/exports/asyncMessage.d.ts +2 -0
  20. package/dist-types/exports/asyncMessage.d.ts.map +1 -0
  21. package/dist-types/exports/component-hydration.d.ts +2 -0
  22. package/dist-types/exports/component-hydration.d.ts.map +1 -0
  23. package/dist-types/exports/components/web-awesome.d.ts +3 -0
  24. package/dist-types/exports/components/web-awesome.d.ts.map +1 -0
  25. package/dist-types/exports/components.d.ts +2 -0
  26. package/dist-types/exports/components.d.ts.map +1 -0
  27. package/dist-types/exports/config.d.ts +2 -0
  28. package/dist-types/exports/config.d.ts.map +1 -0
  29. package/dist-types/exports/debounce.d.ts +2 -0
  30. package/dist-types/exports/debounce.d.ts.map +1 -0
  31. package/dist-types/exports/define/RocketCodeBlock.d.ts +2 -0
  32. package/dist-types/exports/define/RocketCodeBlock.d.ts.map +1 -0
  33. package/dist-types/exports/define/RocketIcon.d.ts +2 -0
  34. package/dist-types/exports/define/RocketIcon.d.ts.map +1 -0
  35. package/dist-types/exports/define/RocketJsDemo.d.ts +2 -0
  36. package/dist-types/exports/define/RocketJsDemo.d.ts.map +1 -0
  37. package/dist-types/exports/define/RocketRequestDemo.d.ts +2 -0
  38. package/dist-types/exports/define/RocketRequestDemo.d.ts.map +1 -0
  39. package/dist-types/exports/define/menus.d.ts +2 -0
  40. package/dist-types/exports/define/menus.d.ts.map +1 -0
  41. package/dist-types/exports/extractCode.d.ts +2 -0
  42. package/dist-types/exports/extractCode.d.ts.map +1 -0
  43. package/dist-types/exports/globalData.d.ts +2 -0
  44. package/dist-types/exports/globalData.d.ts.map +1 -0
  45. package/dist-types/exports/hydration/hydrationLoader.d.ts +2 -0
  46. package/dist-types/exports/hydration/hydrationLoader.d.ts.map +1 -0
  47. package/dist-types/exports/icons.d.ts +2 -0
  48. package/dist-types/exports/icons.d.ts.map +1 -0
  49. package/dist-types/exports/layout-helper.d.ts +2 -0
  50. package/dist-types/exports/layout-helper.d.ts.map +1 -0
  51. package/dist-types/exports/layout.d.ts +2 -0
  52. package/dist-types/exports/layout.d.ts.map +1 -0
  53. package/dist-types/exports/layouts/atlasDoc.d.ts +2 -0
  54. package/dist-types/exports/layouts/atlasDoc.d.ts.map +1 -0
  55. package/dist-types/exports/layouts/atlasHero.d.ts +2 -0
  56. package/dist-types/exports/layouts/atlasHero.d.ts.map +1 -0
  57. package/dist-types/exports/layouts/atlasNotFound.d.ts +2 -0
  58. package/dist-types/exports/layouts/atlasNotFound.d.ts.map +1 -0
  59. package/dist-types/exports/loaded-page-module.d.ts +2 -0
  60. package/dist-types/exports/loaded-page-module.d.ts.map +1 -0
  61. package/dist-types/exports/markdownHook.d.ts +2 -0
  62. package/dist-types/exports/markdownHook.d.ts.map +1 -0
  63. package/dist-types/exports/menu.d.ts +2 -0
  64. package/dist-types/exports/menu.d.ts.map +1 -0
  65. package/dist-types/exports/menus.d.ts +6 -0
  66. package/dist-types/exports/menus.d.ts.map +1 -0
  67. package/dist-types/exports/page-runtime.d.ts +2 -0
  68. package/dist-types/exports/page-runtime.d.ts.map +1 -0
  69. package/dist-types/exports/pages.d.ts +2 -0
  70. package/dist-types/exports/pages.d.ts.map +1 -0
  71. package/dist-types/exports/resolve.d.ts +2 -0
  72. package/dist-types/exports/resolve.d.ts.map +1 -0
  73. package/dist-types/exports/ssr.d.ts +2 -0
  74. package/dist-types/exports/ssr.d.ts.map +1 -0
  75. package/dist-types/exports/standalone-demo-url.d.ts +2 -0
  76. package/dist-types/exports/standalone-demo-url.d.ts.map +1 -0
  77. package/dist-types/exports/transform.d.ts +2 -0
  78. package/dist-types/exports/transform.d.ts.map +1 -0
  79. package/dist-types/exports/types/hydration.d.ts +23 -0
  80. package/dist-types/exports/types/hydration.d.ts.map +1 -0
  81. package/dist-types/exports/types/rocket.d.ts +504 -0
  82. package/dist-types/exports/types/rocket.d.ts.map +1 -0
  83. package/dist-types/exports/types.d.ts +3 -0
  84. package/dist-types/exports/types.d.ts.map +1 -0
  85. package/dist-types/exports/wds-plugin.d.ts +2 -0
  86. package/dist-types/exports/wds-plugin.d.ts.map +1 -0
  87. package/dist-types/src/PageData.d.ts +82 -0
  88. package/dist-types/src/PageData.d.ts.map +1 -0
  89. package/dist-types/src/RocketCodeBlock.d.ts +64 -0
  90. package/dist-types/src/RocketCodeBlock.d.ts.map +1 -0
  91. package/dist-types/src/RocketIcon.d.ts +35 -0
  92. package/dist-types/src/RocketIcon.d.ts.map +1 -0
  93. package/dist-types/src/RocketJsDemo.d.ts +59 -0
  94. package/dist-types/src/RocketJsDemo.d.ts.map +1 -0
  95. package/dist-types/src/RocketJsDemo.test-browser.d.ts +3 -0
  96. package/dist-types/src/RocketJsDemo.test-browser.d.ts.map +1 -0
  97. package/dist-types/src/RocketRequestDemo.d.ts +57 -0
  98. package/dist-types/src/RocketRequestDemo.d.ts.map +1 -0
  99. package/dist-types/src/RocketRequestDemo.test-browser.d.ts +3 -0
  100. package/dist-types/src/RocketRequestDemo.test-browser.d.ts.map +1 -0
  101. package/dist-types/src/SocialPreviewPlayground.d.ts +102 -0
  102. package/dist-types/src/SocialPreviewPlayground.d.ts.map +1 -0
  103. package/dist-types/src/adapters/netlify.d.ts +54 -0
  104. package/dist-types/src/adapters/netlify.d.ts.map +1 -0
  105. package/dist-types/src/asyncMessage.d.ts +14 -0
  106. package/dist-types/src/asyncMessage.d.ts.map +1 -0
  107. package/dist-types/src/cli/RocketBuild.d.ts +78 -0
  108. package/dist-types/src/cli/RocketBuild.d.ts.map +1 -0
  109. package/dist-types/src/cli/RocketCli.d.ts +17 -0
  110. package/dist-types/src/cli/RocketCli.d.ts.map +1 -0
  111. package/dist-types/src/cli/RocketInit.d.ts +22 -0
  112. package/dist-types/src/cli/RocketInit.d.ts.map +1 -0
  113. package/dist-types/src/cli/RocketStart.d.ts +45 -0
  114. package/dist-types/src/cli/RocketStart.d.ts.map +1 -0
  115. package/dist-types/src/cli/cli.d.ts +3 -0
  116. package/dist-types/src/cli/cli.d.ts.map +1 -0
  117. package/dist-types/src/component-hydration.d.ts +26 -0
  118. package/dist-types/src/component-hydration.d.ts.map +1 -0
  119. package/dist-types/src/components/FeatureList.d.ts +15 -0
  120. package/dist-types/src/components/FeatureList.d.ts.map +1 -0
  121. package/dist-types/src/components/Footer.d.ts +17 -0
  122. package/dist-types/src/components/Footer.d.ts.map +1 -0
  123. package/dist-types/src/components/Header.d.ts +6 -0
  124. package/dist-types/src/components/Header.d.ts.map +1 -0
  125. package/dist-types/src/components/RocketDrawer.d.ts +20 -0
  126. package/dist-types/src/components/RocketDrawer.d.ts.map +1 -0
  127. package/dist-types/src/components/RocketSocialLink.d.ts +30 -0
  128. package/dist-types/src/components/RocketSocialLink.d.ts.map +1 -0
  129. package/dist-types/src/components.d.ts +7 -0
  130. package/dist-types/src/components.d.ts.map +1 -0
  131. package/dist-types/src/config.d.ts +6 -0
  132. package/dist-types/src/config.d.ts.map +1 -0
  133. package/dist-types/src/debounce.d.ts +8 -0
  134. package/dist-types/src/debounce.d.ts.map +1 -0
  135. package/dist-types/src/defaultSocialPreviewTemplate.d.ts +31 -0
  136. package/dist-types/src/defaultSocialPreviewTemplate.d.ts.map +1 -0
  137. package/dist-types/src/development-page-module-loader.d.ts +15 -0
  138. package/dist-types/src/development-page-module-loader.d.ts.map +1 -0
  139. package/dist-types/src/extractCode.d.ts +5 -0
  140. package/dist-types/src/extractCode.d.ts.map +1 -0
  141. package/dist-types/src/hydration/evaluate.d.ts +20 -0
  142. package/dist-types/src/hydration/evaluate.d.ts.map +1 -0
  143. package/dist-types/src/hydration/extractStrategies.d.ts +5 -0
  144. package/dist-types/src/hydration/extractStrategies.d.ts.map +1 -0
  145. package/dist-types/src/hydration/hydrationLoader.d.ts +64 -0
  146. package/dist-types/src/hydration/hydrationLoader.d.ts.map +1 -0
  147. package/dist-types/src/icons.d.ts +182 -0
  148. package/dist-types/src/icons.d.ts.map +1 -0
  149. package/dist-types/src/layouts/atlas/atlasDocLayout.d.ts +45 -0
  150. package/dist-types/src/layouts/atlas/atlasDocLayout.d.ts.map +1 -0
  151. package/dist-types/src/layouts/atlas/atlasHeroLayout.d.ts +7 -0
  152. package/dist-types/src/layouts/atlas/atlasHeroLayout.d.ts.map +1 -0
  153. package/dist-types/src/layouts/atlas/atlasNotFoundLayout.d.ts +5 -0
  154. package/dist-types/src/layouts/atlas/atlasNotFoundLayout.d.ts.map +1 -0
  155. package/dist-types/src/layouts/layout-helper.d.ts +16 -0
  156. package/dist-types/src/layouts/layout-helper.d.ts.map +1 -0
  157. package/dist-types/src/layouts/layout.d.ts +7 -0
  158. package/dist-types/src/layouts/layout.d.ts.map +1 -0
  159. package/dist-types/src/loaded-page-module.d.ts +51 -0
  160. package/dist-types/src/loaded-page-module.d.ts.map +1 -0
  161. package/dist-types/src/main.d.ts +2 -0
  162. package/dist-types/src/main.d.ts.map +1 -0
  163. package/dist-types/src/markdownCompiler.d.ts +22 -0
  164. package/dist-types/src/markdownCompiler.d.ts.map +1 -0
  165. package/dist-types/src/markdownHook.d.ts +6 -0
  166. package/dist-types/src/markdownHook.d.ts.map +1 -0
  167. package/dist-types/src/menu.d.ts +22 -0
  168. package/dist-types/src/menu.d.ts.map +1 -0
  169. package/dist-types/src/menus/MainMenu.d.ts +23 -0
  170. package/dist-types/src/menus/MainMenu.d.ts.map +1 -0
  171. package/dist-types/src/menus/RocketMenu.d.ts +23 -0
  172. package/dist-types/src/menus/RocketMenu.d.ts.map +1 -0
  173. package/dist-types/src/menus/RocketNextPage.d.ts +18 -0
  174. package/dist-types/src/menus/RocketNextPage.d.ts.map +1 -0
  175. package/dist-types/src/menus/RocketPreviousPage.d.ts +18 -0
  176. package/dist-types/src/menus/RocketPreviousPage.d.ts.map +1 -0
  177. package/dist-types/src/menus/RocketToc.d.ts +54 -0
  178. package/dist-types/src/menus/RocketToc.d.ts.map +1 -0
  179. package/dist-types/src/menus/pageNavigation.d.ts +41 -0
  180. package/dist-types/src/menus/pageNavigation.d.ts.map +1 -0
  181. package/dist-types/src/page-pagination.d.ts +69 -0
  182. package/dist-types/src/page-pagination.d.ts.map +1 -0
  183. package/dist-types/src/page-runtime.d.ts +110 -0
  184. package/dist-types/src/page-runtime.d.ts.map +1 -0
  185. package/dist-types/src/pages.d.ts +10 -0
  186. package/dist-types/src/pages.d.ts.map +1 -0
  187. package/dist-types/src/publicAssets.d.ts +70 -0
  188. package/dist-types/src/publicAssets.d.ts.map +1 -0
  189. package/dist-types/src/requestDemoMetadata.d.ts +19 -0
  190. package/dist-types/src/requestDemoMetadata.d.ts.map +1 -0
  191. package/dist-types/src/resolve.d.ts +7 -0
  192. package/dist-types/src/resolve.d.ts.map +1 -0
  193. package/dist-types/src/siteDiscoverability.d.ts +33 -0
  194. package/dist-types/src/siteDiscoverability.d.ts.map +1 -0
  195. package/dist-types/src/siteHeadMetadata.d.ts +20 -0
  196. package/dist-types/src/siteHeadMetadata.d.ts.map +1 -0
  197. package/dist-types/src/socialPreviewImages.d.ts +186 -0
  198. package/dist-types/src/socialPreviewImages.d.ts.map +1 -0
  199. package/dist-types/src/socialPreviewTemplatePreview.d.ts +22 -0
  200. package/dist-types/src/socialPreviewTemplatePreview.d.ts.map +1 -0
  201. package/dist-types/src/ssr.d.ts +6 -0
  202. package/dist-types/src/ssr.d.ts.map +1 -0
  203. package/dist-types/src/standalone-demo-url.d.ts +60 -0
  204. package/dist-types/src/standalone-demo-url.d.ts.map +1 -0
  205. package/dist-types/src/static-page-module-loader.d.ts +15 -0
  206. package/dist-types/src/static-page-module-loader.d.ts.map +1 -0
  207. package/dist-types/src/transform.d.ts +10 -0
  208. package/dist-types/src/transform.d.ts.map +1 -0
  209. package/dist-types/src/urlLifecycle.d.ts +23 -0
  210. package/dist-types/src/urlLifecycle.d.ts.map +1 -0
  211. package/dist-types/src/wds-plugin.d.ts +15 -0
  212. package/dist-types/src/wds-plugin.d.ts.map +1 -0
  213. package/docs/assets/home-background.svg +1 -0
  214. package/docs/assets/prism-one-light.css +368 -0
  215. package/docs/assets/rocket-logo-dark-with-text-below.svg +8 -0
  216. package/docs/assets/rocket-logo-dark-with-text.svg +7 -0
  217. package/docs/assets/rocket-logo-dark.svg +7 -0
  218. package/docs/assets/rocket-logo-light-with-text-below.svg +14 -0
  219. package/docs/assets/rocket-logo-light-with-text.svg +13 -0
  220. package/docs/assets/rocket-logo-light.svg +12 -0
  221. package/docs/assets/rocket-text-no-logo.svg +3 -0
  222. package/exports/MainMenu.js +1 -0
  223. package/exports/PageData.js +1 -0
  224. package/exports/RocketCodeBlock.js +1 -0
  225. package/exports/RocketIcon.js +1 -0
  226. package/exports/RocketJsDemo.js +1 -0
  227. package/exports/RocketRequestDemo.js +1 -0
  228. package/exports/SocialPreviewPlayground.js +1 -0
  229. package/exports/adapters/netlify.js +1 -0
  230. package/exports/asyncMessage.js +1 -0
  231. package/exports/component-hydration.js +1 -0
  232. package/exports/components/web-awesome.js +63 -0
  233. package/exports/components.js +1 -0
  234. package/exports/config.js +1 -0
  235. package/exports/debounce.js +1 -0
  236. package/exports/define/RocketCodeBlock.js +2 -0
  237. package/exports/define/RocketIcon.js +3 -0
  238. package/exports/define/RocketJsDemo.js +5 -0
  239. package/exports/define/RocketRequestDemo.js +5 -0
  240. package/exports/define/menus.js +14 -0
  241. package/exports/extractCode.js +1 -0
  242. package/exports/globalData.js +1 -0
  243. package/exports/hydration/hydrationLoader.js +1 -0
  244. package/exports/icons.js +11 -0
  245. package/exports/layout-helper.js +1 -0
  246. package/exports/layout.js +1 -0
  247. package/exports/layouts/_atlas.css +3 -0
  248. package/exports/layouts/atlasDoc.js +5 -0
  249. package/exports/layouts/atlasHero.js +1 -0
  250. package/exports/layouts/atlasNotFound.js +4 -0
  251. package/exports/loaded-page-module.js +5 -0
  252. package/exports/markdownHook.js +4 -0
  253. package/exports/menu.js +4 -0
  254. package/exports/menus.js +5 -0
  255. package/exports/page-runtime.js +5 -0
  256. package/exports/pages.js +1 -0
  257. package/exports/resolve.js +1 -0
  258. package/exports/ssr.js +1 -0
  259. package/exports/standalone-demo-url.js +10 -0
  260. package/exports/transform.js +1 -0
  261. package/exports/types/hydration.ts +26 -0
  262. package/exports/types/rocket.ts +598 -0
  263. package/exports/types.ts +71 -0
  264. package/exports/wds-plugin.js +1 -0
  265. package/package.json +192 -9
  266. package/src/PageData.js +244 -0
  267. package/src/RocketCodeBlock.js +516 -0
  268. package/src/RocketIcon.js +291 -0
  269. package/src/RocketJsDemo.js +397 -0
  270. package/src/RocketJsDemo.test-browser.js +228 -0
  271. package/src/RocketRequestDemo.js +439 -0
  272. package/src/RocketRequestDemo.test-browser.js +301 -0
  273. package/src/SocialPreviewPlayground.js +573 -0
  274. package/src/adapters/netlify.js +814 -0
  275. package/src/asyncMessage.js +21 -0
  276. package/src/cli/RocketBuild.js +581 -0
  277. package/src/cli/RocketCli.js +47 -0
  278. package/src/cli/RocketInit.js +636 -0
  279. package/src/cli/RocketStart.js +145 -0
  280. package/src/cli/cli.js +7 -0
  281. package/src/component-hydration.js +86 -0
  282. package/src/components/FeatureList.js +114 -0
  283. package/src/components/Footer.js +116 -0
  284. package/src/components/Header.js +122 -0
  285. package/src/components/RocketDrawer.js +193 -0
  286. package/src/components/RocketSocialLink.js +128 -0
  287. package/src/components/assets/discord.svg +7 -0
  288. package/src/components/assets/github.svg +4 -0
  289. package/src/components/assets/gitlab.svg +1 -0
  290. package/src/components/assets/info.txt +1 -0
  291. package/src/components/assets/license.svg +3 -0
  292. package/src/components/assets/npm.svg +5 -0
  293. package/src/components/assets/slack.svg +5 -0
  294. package/src/components/assets/telegram.svg +4 -0
  295. package/src/components/assets/twitter.svg +1 -0
  296. package/src/components.js +34 -0
  297. package/src/config.js +319 -0
  298. package/src/debounce.js +21 -0
  299. package/src/defaultSocialPreviewTemplate.js +118 -0
  300. package/src/development-page-module-loader.js +29 -0
  301. package/src/extractCode.js +41 -0
  302. package/src/hydration/evaluate.js +54 -0
  303. package/src/hydration/extractStrategies.js +91 -0
  304. package/src/hydration/hydrationLoader.js +330 -0
  305. package/src/icons.js +898 -0
  306. package/src/layouts/atlas/atlasDoc.css +877 -0
  307. package/src/layouts/atlas/atlasDocLayout.js +275 -0
  308. package/src/layouts/atlas/atlasHero.css +774 -0
  309. package/src/layouts/atlas/atlasHeroLayout.js +337 -0
  310. package/src/layouts/atlas/atlasNotFound.css +365 -0
  311. package/src/layouts/atlas/atlasNotFoundLayout.js +69 -0
  312. package/src/layouts/layout-helper.js +92 -0
  313. package/src/layouts/layout.js +52 -0
  314. package/src/loaded-page-module.js +97 -0
  315. package/src/main.js +72 -0
  316. package/src/markdownCompiler.js +303 -0
  317. package/src/markdownHook.js +148 -0
  318. package/src/menu.js +210 -0
  319. package/src/menus/MainMenu.js +58 -0
  320. package/src/menus/RocketMenu.js +191 -0
  321. package/src/menus/RocketNextPage.js +25 -0
  322. package/src/menus/RocketPreviousPage.js +29 -0
  323. package/src/menus/RocketToc.js +309 -0
  324. package/src/menus/pageNavigation.js +285 -0
  325. package/src/page-pagination.js +241 -0
  326. package/src/page-runtime.js +481 -0
  327. package/src/pages.js +537 -0
  328. package/src/publicAssets.js +336 -0
  329. package/src/requestDemoMetadata.js +97 -0
  330. package/src/resolve.js +15 -0
  331. package/src/siteDiscoverability.js +184 -0
  332. package/src/siteHeadMetadata.js +69 -0
  333. package/src/socialPreviewImages.js +482 -0
  334. package/src/socialPreviewTemplatePreview.js +352 -0
  335. package/src/ssr.js +14 -0
  336. package/src/standalone-demo-url.js +147 -0
  337. package/src/static-page-module-loader.js +29 -0
  338. package/src/transform.js +720 -0
  339. package/src/urlLifecycle.js +57 -0
  340. package/src/wds-plugin.js +307 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 modern-web.dev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,234 @@
1
- # @rocket/js
1
+ > Rocket is in alpha. Expect APIs and documentation to keep improving before 1.0.
2
2
 
3
- Bootstrap placeholder. The first real release is published from GitHub Actions.
3
+ <p align="center">
4
+ <picture width="60%">
5
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/modernweb-dev/rocket/main/docs/assets/rocket-logo-dark-with-text.svg">
6
+ <img alt="Rocket Logo" src="https://raw.githubusercontent.com/modernweb-dev/rocket/main/docs/assets/rocket-logo-light-with-text.svg">
7
+ </picture>
8
+ </p>
9
+
10
+ <p align="center">
11
+ <a href="https://github.com/modernweb-dev/rocket/actions"
12
+ ><img
13
+ src="https://img.shields.io/github/actions/workflow/status/modernweb-dev/rocket/release.yml?branch=main&label=release&style=flat-square"
14
+ alt="Release workflow status"
15
+ /></a>
16
+ <a href="https://twitter.com/modern_web_dev"
17
+ ><img
18
+ src="https://img.shields.io/badge/twitter-@modern_web_dev-1DA1F3?style=flat-square"
19
+ alt="Follow @modern_web_dev on Twitter"
20
+ /></a>
21
+ <a href="https://open.vscode.dev/modernweb-dev/rocket"
22
+ ><img
23
+ src="https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc"
24
+ alt="Open in VS Code"
25
+ /></a>
26
+ </p>
27
+
28
+ <p align="center">
29
+ <a href="https://rocket.modern-web.dev">Website</a>
30
+ ·
31
+ <a href="https://rocket.modern-web.dev/setup/build-with-ai">Start with AI</a>
32
+ ·
33
+ <a href="https://rocket.modern-web.dev/chat">Discord Community</a>
34
+ </p>
35
+
36
+ # Rocket
37
+
38
+ Rocket is a static-site metaframework for content sites and Web Component docs: HTML-first, zero JS
39
+ by default, AI-friendly, and deployable anywhere.
40
+
41
+ - **Start with AI:** Copy the starter prompt, paste it into Claude, Cursor, Codex, or another
42
+ coding agent, and get a deployable Rocket site made of plain files.
43
+ - **Content first:** Write durable pages in Markdown, then opt into JavaScript only when it helps.
44
+ - **Explicit routes:** Each Page owns its public URL with `config.path`, independent of file
45
+ location.
46
+ - **Component loading:** Choose `server`, `client`, or `hydrate:*` per Registered Component.
47
+ - **Modern Web stack:** Build on Lit, Vite, and Modern Web tooling without hiding the underlying
48
+ configuration.
49
+
50
+ Rocket is not a SPA framework, React/Vite/Astro replacement, or backend application framework. Use
51
+ it when the output should mostly be static HTML and the source should stay easy for humans and
52
+ coding agents to inspect.
53
+
54
+ <p align="center">
55
+ <a href="https://rocket.modern-web.dev/setup/build-with-ai/"><strong>Start With AI&nbsp;&nbsp;▶</strong></a>
56
+ ·
57
+ <a href="https://rocket.modern-web.dev/setup/manual-quick-start/">Manual Quick Start</a>
58
+ </p>
59
+
60
+ ## Five-minute path
61
+
62
+ Use [Start With AI](https://rocket.modern-web.dev/setup/build-with-ai/) when you want an agent to
63
+ create the project shell, pages, layout, metadata, and Netlify config for you:
64
+
65
+ 1. Copy the Rocket prompt.
66
+ 2. Paste it into Claude, Cursor, Codex, or another coding agent with a short Site Brief.
67
+ 3. Let the agent create the files, run `npm run build`, and fix failures.
68
+ 4. Keep the plain Markdown, JavaScript, CSS, and config files afterward.
69
+
70
+ Rocket requires Node.js 22 or newer.
71
+
72
+ For a manual project, install the package from npm:
73
+
74
+ ```bash
75
+ npm install @rocket/js
76
+ npx rocket init
77
+ ```
78
+
79
+ `rocket init` creates a compact Atlas docs starter, including `rocket-config.js`,
80
+ `docs/pages/sharedData.js`, starter Markdown Pages, a static JSON Page for a Request Demo, and a
81
+ removable project-local Rocket Agent Skill. It also adds npm scripts when the names are available:
82
+
83
+ ```json
84
+ {
85
+ "type": "module",
86
+ "scripts": {
87
+ "start": "rocket start",
88
+ "build": "rocket build"
89
+ },
90
+ "dependencies": {
91
+ "@rocket/js": "^0.1.0"
92
+ }
93
+ }
94
+ ```
95
+
96
+ The generated `rocket-config.js` discovers general documentation Pages under `docs/pages` and
97
+ colocated component reference Pages under `src`:
98
+
99
+ ```js
100
+ /** @type {import('@rocket/js/types.js').RocketConfig} */
101
+ export default {
102
+ includeGlobs: ['docs/pages/**/*.rocket.{md,js}', 'src/**/*.rocket.{md,js}'],
103
+ };
104
+ ```
105
+
106
+ The generated `docs/pages/index.rocket.md` gives you an Atlas hero home Page:
107
+
108
+ ````md
109
+ ```js server
110
+ export const config = {
111
+ path: '/',
112
+ metadata: {
113
+ title: 'Rocket Site',
114
+ description: 'Documentation built with Rocket.',
115
+ },
116
+ menu: {
117
+ iconName: 'house',
118
+ order: 0,
119
+ },
120
+ };
121
+
122
+ import { atlasHeroLayout, atlasHeroComponents } from '@rocket/js/layouts/atlasHero.js';
123
+ import { heroData } from './sharedData.js';
124
+
125
+ export const components = atlasHeroComponents;
126
+ export const layout = pageData => atlasHeroLayout(pageData, heroData);
127
+ ```
128
+
129
+ # Rocket Site
130
+
131
+ This starter is rendered with Rocket's Atlas hero layout.
132
+ ````
133
+
134
+ Then run:
135
+
136
+ ```bash
137
+ npm start
138
+ npm run build
139
+ ```
140
+
141
+ The build writes static output to `dist/`:
142
+
143
+ ```txt
144
+ dist/
145
+ |-- index.html
146
+ `-- assets/
147
+ ```
148
+
149
+ Follow the [Manual Quick Start](https://rocket.modern-web.dev/setup/manual-quick-start/) when you
150
+ want to create the smallest working project by hand.
151
+
152
+ ## When to use Rocket
153
+
154
+ Use Rocket for:
155
+
156
+ - content-first static sites
157
+ - documentation sites
158
+ - Web Component and design-system docs
159
+ - AI-generated sites you want to own afterward
160
+ - pages that should ship as HTML before they ship JavaScript
161
+
162
+ Do not use Rocket for:
163
+
164
+ - SPA products with complex client-side routing
165
+ - backend applications
166
+ - projects that need a huge plugin marketplace today
167
+ - teams that want React, Astro, Eleventy, or VitePress conventions specifically
168
+
169
+ ## Why not Astro, Eleventy, or VitePress?
170
+
171
+ Those are good tools. Rocket chooses a narrower shape:
172
+
173
+ | Need | Rocket |
174
+ | -------------------------- | ------ |
175
+ | Content-first static sites | Yes |
176
+ | Web Component docs | Strong |
177
+ | Zero JS default | Core |
178
+ | Explicit page config | Core |
179
+ | AI-friendly project shape | Core |
180
+ | Full app framework | No |
181
+ | Huge plugin ecosystem | No |
182
+ | React-first authoring | No |
183
+
184
+ ## Package and dependency philosophy
185
+
186
+ Rocket optimizes the generated site output, not the npm dependency count. A Rocket project installs
187
+ `@rocket/js` and gets the build pipeline, Markdown processing, dev server, Lit-based server
188
+ rendering, and docs-layout affordances in one package. Visitor pages stay static by default, and
189
+ browser JavaScript is only emitted for loading strategies you choose.
190
+
191
+ ## Status and docs
192
+
193
+ Rocket is currently **alpha** at `0.1.x`. APIs can change before `1.0.0`; breaking changes are
194
+ documented through changesets and release notes.
195
+
196
+ - [Start With AI](https://rocket.modern-web.dev/setup/build-with-ai/)
197
+ - [Manual Quick Start](https://rocket.modern-web.dev/setup/manual-quick-start/)
198
+ - [Build a Site](https://rocket.modern-web.dev/tutorials/acme-ui-docs)
199
+ - [Examples](https://rocket.modern-web.dev/examples)
200
+ - [Reference](https://rocket.modern-web.dev/reference)
201
+ - [Known Limitations](https://rocket.modern-web.dev/help/known-limitations)
202
+ - [Roadmap](./ROADMAP.md)
203
+
204
+ Rocket is part of the [Modern Web Family](https://modern-web.dev/discover/about/).
205
+
206
+ <p align="center">
207
+ <a href="https://rocket.modern-web.dev/chat"><strong>Join our Discord Community&nbsp;&nbsp;▶</strong></a>
208
+ </p>
209
+
210
+ ## Working on this repo
211
+
212
+ ```bash
213
+ npm ci
214
+ npm start
215
+ npm run types
216
+ npm test
217
+ npm run lint
218
+ ```
219
+
220
+ `npm start` runs the Rocket docs site. `npm test` runs the Node test suite.
221
+
222
+ ## 🤝 Contributing
223
+
224
+ We are always looking for contributors of all skill levels! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/modernweb-dev/rocket/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
225
+
226
+ If you are interested in helping contribute to Modern Web, please take a look at our [Contributing Guide](https://github.com/modernweb-dev/rocket/blob/main/CONTRIBUTING.md). Also, feel free to drop into [Discord](https://rocket.modern-web.dev/chat) and say hi. 👋
227
+
228
+ ### Financial Contributors
229
+
230
+ Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/modern-web/contribute)]
231
+
232
+ ## License
233
+
234
+ Rocket is released under the [MIT License](./LICENSE).
@@ -0,0 +1,2 @@
1
+ export { MainMenu } from "../src/menus/MainMenu.js";
2
+ //# sourceMappingURL=MainMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MainMenu.d.ts","sourceRoot":"","sources":["../../exports/MainMenu.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { PageData } from "../src/PageData.js";
2
+ //# sourceMappingURL=PageData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageData.d.ts","sourceRoot":"","sources":["../../exports/PageData.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { RocketCodeBlock } from "../src/RocketCodeBlock.js";
2
+ //# sourceMappingURL=RocketCodeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketCodeBlock.d.ts","sourceRoot":"","sources":["../../exports/RocketCodeBlock.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { RocketIcon } from "../src/RocketIcon.js";
2
+ //# sourceMappingURL=RocketIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketIcon.d.ts","sourceRoot":"","sources":["../../exports/RocketIcon.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { RocketJsDemo, standaloneDemoPathFromUrl, standaloneDemoUrl } from "../src/RocketJsDemo.js";
2
+ //# sourceMappingURL=RocketJsDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketJsDemo.d.ts","sourceRoot":"","sources":["../../exports/RocketJsDemo.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { RocketRequestDemo } from "../src/RocketRequestDemo.js";
2
+ //# sourceMappingURL=RocketRequestDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketRequestDemo.d.ts","sourceRoot":"","sources":["../../exports/RocketRequestDemo.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { SocialPreviewPlayground } from "../src/SocialPreviewPlayground.js";
2
+ //# sourceMappingURL=SocialPreviewPlayground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialPreviewPlayground.d.ts","sourceRoot":"","sources":["../../exports/SocialPreviewPlayground.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { netlify } from "../../src/adapters/netlify.js";
2
+ //# sourceMappingURL=netlify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"netlify.d.ts","sourceRoot":"","sources":["../../../exports/adapters/netlify.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { makeAsyncPort } from "../src/asyncMessage.js";
2
+ //# sourceMappingURL=asyncMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncMessage.d.ts","sourceRoot":"","sources":["../../exports/asyncMessage.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { createComponentHydration } from "../src/component-hydration.js";
2
+ //# sourceMappingURL=component-hydration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-hydration.d.ts","sourceRoot":"","sources":["../../exports/component-hydration.js"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ /** @type {import('@rocket/js/types.js').Components} */
2
+ export const webAwesomeComponents: import("@rocket/js/types.js").Components;
3
+ //# sourceMappingURL=web-awesome.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-awesome.d.ts","sourceRoot":"","sources":["../../../exports/components/web-awesome.js"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,mCADW,OAAO,qBAAqB,EAAE,UAAU,CA8DjD"}
@@ -0,0 +1,2 @@
1
+ export { parseComponents, rocketDemoComponents } from "../src/components.js";
2
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../exports/components.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { readConfig } from "../src/config.js";
2
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../exports/config.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { debounce } from "../src/debounce.js";
2
+ //# sourceMappingURL=debounce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../exports/debounce.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RocketCodeBlock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketCodeBlock.d.ts","sourceRoot":"","sources":["../../../exports/define/RocketCodeBlock.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RocketIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketIcon.d.ts","sourceRoot":"","sources":["../../../exports/define/RocketIcon.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RocketJsDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketJsDemo.d.ts","sourceRoot":"","sources":["../../../exports/define/RocketJsDemo.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=RocketRequestDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RocketRequestDemo.d.ts","sourceRoot":"","sources":["../../../exports/define/RocketRequestDemo.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=menus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menus.d.ts","sourceRoot":"","sources":["../../../exports/define/menus.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { extractMdCode } from "../src/extractCode.js";
2
+ //# sourceMappingURL=extractCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractCode.d.ts","sourceRoot":"","sources":["../../exports/extractCode.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { globalData } from "../docs/pages/globalData.js";
2
+ //# sourceMappingURL=globalData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalData.d.ts","sourceRoot":"","sources":["../../exports/globalData.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { HydrationLoader } from "../../src/hydration/hydrationLoader.js";
2
+ //# sourceMappingURL=hydrationLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hydrationLoader.d.ts","sourceRoot":"","sources":["../../../exports/hydration/hydrationLoader.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { addBootstrapIconLibrary, createIconAssetStore, finalizeRocketIcons, iconsFromPackage, iconsFromPath, resolveRocketIconAsset, rocketBootstrapIconLibraries, rocketDefaultBootstrapIconLibrary, rocketIconRuntimeOutputs } from "../src/icons.js";
2
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../exports/icons.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { document } from "../src/layouts/layout-helper.js";
2
+ //# sourceMappingURL=layout-helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-helper.d.ts","sourceRoot":"","sources":["../../exports/layout-helper.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { addBootstrapIconLibrary, layout } from "../src/layouts/layout.js";
2
+ //# sourceMappingURL=layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../exports/layout.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { DEFAULT_ATLAS_DOC_NAVIGATION_ICON_SERVER_BUDGET, atlasDocComponents, atlasDocLayout } from "../../src/layouts/atlas/atlasDocLayout.js";
2
+ //# sourceMappingURL=atlasDoc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atlasDoc.d.ts","sourceRoot":"","sources":["../../../exports/layouts/atlasDoc.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { atlasHeroComponents, atlasHeroLayout } from "../../src/layouts/atlas/atlasHeroLayout.js";
2
+ //# sourceMappingURL=atlasHero.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atlasHero.d.ts","sourceRoot":"","sources":["../../../exports/layouts/atlasHero.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { atlasNotFoundComponents, atlasNotFoundLayout } from "../../src/layouts/atlas/atlasNotFoundLayout.js";
2
+ //# sourceMappingURL=atlasNotFound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atlasNotFound.d.ts","sourceRoot":"","sources":["../../../exports/layouts/atlasNotFound.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { normalizeJavaScriptPageModule, normalizeLoadedPageModule, normalizeMarkdownPageModule } from "../src/loaded-page-module.js";
2
+ //# sourceMappingURL=loaded-page-module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loaded-page-module.d.ts","sourceRoot":"","sources":["../../exports/loaded-page-module.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { initialize, load, resolve } from "../src/markdownHook.js";
2
+ //# sourceMappingURL=markdownHook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownHook.d.ts","sourceRoot":"","sources":["../../exports/markdownHook.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { treeFromPages, treeToHtml, defaultHtmlMenu, headLinesToTree } from "../src/menu.js";
2
+ //# sourceMappingURL=menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../exports/menu.js"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export { MainMenu } from "../src/menus/MainMenu.js";
2
+ export { RocketMenu } from "../src/menus/RocketMenu.js";
3
+ export { RocketNextPage } from "../src/menus/RocketNextPage.js";
4
+ export { RocketPreviousPage } from "../src/menus/RocketPreviousPage.js";
5
+ export { RocketToc } from "../src/menus/RocketToc.js";
6
+ //# sourceMappingURL=menus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menus.d.ts","sourceRoot":"","sources":["../../exports/menus.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { PageRuntime, PageRuntimeError, normalizeJavaScriptPageResult } from "../src/page-runtime.js";
2
+ //# sourceMappingURL=page-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-runtime.d.ts","sourceRoot":"","sources":["../../exports/page-runtime.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { getPages } from "../src/pages.js";
2
+ //# sourceMappingURL=pages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../exports/pages.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { resolve } from "../src/resolve.js";
2
+ //# sourceMappingURL=resolve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../exports/resolve.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { ssrRender } from "../src/ssr.js";
2
+ //# sourceMappingURL=ssr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ssr.d.ts","sourceRoot":"","sources":["../../exports/ssr.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { matchStandaloneDemoUrl, normalizeDocumentPath, parseStandaloneDemoUrl, standaloneDemoPath, standaloneDemoPaths, standaloneDemoRoutePattern, standaloneDemoRoutePatterns, standaloneDemoUrl } from "../src/standalone-demo-url.js";
2
+ //# sourceMappingURL=standalone-demo-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standalone-demo-url.d.ts","sourceRoot":"","sources":["../../exports/standalone-demo-url.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { mdToJs } from "../src/transform.js";
2
+ //# sourceMappingURL=transform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform.d.ts","sourceRoot":"","sources":["../../exports/transform.js"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ export interface ComponentImports {
2
+ [key: string]: () => Promise<any>;
3
+ }
4
+ export interface Strategy {
5
+ type: string;
6
+ resolveAble: boolean;
7
+ options?: string;
8
+ }
9
+ export interface LoadingStrategy {
10
+ strategyAttribute: string;
11
+ strategies: Strategy[];
12
+ strategyTemplate: string;
13
+ }
14
+ interface PotentialLitElement extends Element {
15
+ updateComplete?: Promise<void>;
16
+ }
17
+ export interface ElementWithStrategy extends LoadingStrategy {
18
+ tagName: string;
19
+ node: PotentialLitElement;
20
+ deleteMe?: boolean;
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=hydration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hydration.d.ts","sourceRoot":"","sources":["../../../exports/types/hydration.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,gBAAgB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,QAAQ,EAAE,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,UAAU,mBAAoB,SAAQ,OAAO;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC;AAED,MAAM,WAAW,mBAAoB,SAAQ,eAAe;IAC1D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}