polen 0.10.0-next.14 → 0.10.0-next.4

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 (525) hide show
  1. package/README.md +1 -2
  2. package/build/api/builder/builder.js +1 -1
  3. package/build/api/builder/builder.js.map +1 -1
  4. package/build/api/config/load.js +6 -6
  5. package/build/api/config/load.js.map +1 -1
  6. package/build/api/config-resolver/resolve.js +2 -2
  7. package/build/api/config-resolver/resolve.js.map +1 -1
  8. package/build/api/schema/data-sources/schema-directory/schema-directory.js +1 -1
  9. package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +1 -1
  10. package/build/api/vite/plugins/branding/index.js +4 -4
  11. package/build/api/vite/plugins/branding/index.js.map +1 -1
  12. package/build/api/vite/plugins/build.d.ts.map +1 -1
  13. package/build/api/vite/plugins/build.js +4 -12
  14. package/build/api/vite/plugins/build.js.map +1 -1
  15. package/build/api/vite/plugins/core.d.ts +2 -2
  16. package/build/api/vite/plugins/core.d.ts.map +1 -1
  17. package/build/api/vite/plugins/core.js +13 -13
  18. package/build/api/vite/plugins/core.js.map +1 -1
  19. package/build/api/vite/plugins/pages.d.ts +14 -8
  20. package/build/api/vite/plugins/pages.d.ts.map +1 -1
  21. package/build/api/vite/plugins/pages.js +185 -111
  22. package/build/api/vite/plugins/pages.js.map +1 -1
  23. package/build/api/vite/plugins/serve.d.ts.map +1 -1
  24. package/build/api/vite/plugins/serve.js +12 -52
  25. package/build/api/vite/plugins/serve.js.map +1 -1
  26. package/build/cli/_/self-contained-mode.js +5 -5
  27. package/build/cli/_/self-contained-mode.js.map +1 -1
  28. package/build/lib/demos/config-schema.d.ts +20 -20
  29. package/build/lib/file-router/diagnostic-reporter.js +2 -2
  30. package/build/lib/file-router/diagnostic-reporter.js.map +1 -1
  31. package/build/lib/file-router/file-router.d.ts +2 -0
  32. package/build/lib/file-router/file-router.d.ts.map +1 -1
  33. package/build/lib/file-router/file-router.js +2 -0
  34. package/build/lib/file-router/file-router.js.map +1 -1
  35. package/build/lib/file-router/route.d.ts +0 -2
  36. package/build/lib/file-router/route.d.ts.map +1 -1
  37. package/build/lib/file-router/route.js.map +1 -1
  38. package/build/lib/file-router/scan-tree.d.ts +20 -0
  39. package/build/lib/file-router/scan-tree.d.ts.map +1 -0
  40. package/build/lib/file-router/scan-tree.js +158 -0
  41. package/build/lib/file-router/scan-tree.js.map +1 -0
  42. package/build/lib/file-router/scan.d.ts.map +1 -1
  43. package/build/lib/file-router/scan.js +13 -22
  44. package/build/lib/file-router/scan.js.map +1 -1
  45. package/build/lib/file-router/sidebar/index.d.ts +3 -0
  46. package/build/lib/file-router/sidebar/index.d.ts.map +1 -0
  47. package/build/lib/file-router/sidebar/index.js +4 -0
  48. package/build/lib/file-router/sidebar/index.js.map +1 -0
  49. package/build/lib/file-router/sidebar/sidebar-tree.d.ts +9 -0
  50. package/build/lib/file-router/sidebar/sidebar-tree.d.ts.map +1 -0
  51. package/build/lib/file-router/sidebar/sidebar-tree.js +85 -0
  52. package/build/lib/file-router/sidebar/sidebar-tree.js.map +1 -0
  53. package/build/lib/file-router/sidebar/types.d.ts +17 -0
  54. package/build/lib/file-router/sidebar/types.d.ts.map +1 -0
  55. package/build/lib/file-router/sidebar/types.js.map +1 -0
  56. package/build/lib/github-actions/runner.js +2 -2
  57. package/build/lib/github-actions/runner.js.map +1 -1
  58. package/build/lib/github-actions/schemas/context.d.ts +2 -2
  59. package/build/lib/kit-temp.d.ts +0 -103
  60. package/build/lib/kit-temp.d.ts.map +1 -1
  61. package/build/lib/kit-temp.js +3 -239
  62. package/build/lib/kit-temp.js.map +1 -1
  63. package/build/lib/tree/index.d.ts +3 -0
  64. package/build/lib/tree/index.d.ts.map +1 -0
  65. package/build/lib/tree/index.js +2 -0
  66. package/build/lib/tree/index.js.map +1 -0
  67. package/build/lib/tree/tree.d.ts +62 -0
  68. package/build/lib/tree/tree.d.ts.map +1 -0
  69. package/build/lib/tree/tree.js +134 -0
  70. package/build/lib/tree/tree.js.map +1 -0
  71. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +8 -1
  72. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts.map +1 -1
  73. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.js +53 -48
  74. package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.js.map +1 -1
  75. package/build/package-paths.js +3 -3
  76. package/build/package-paths.js.map +1 -1
  77. package/build/sandbox.js +2 -17
  78. package/build/sandbox.js.map +1 -1
  79. package/build/singletons/debug.d.ts +1 -1
  80. package/build/singletons/debug.d.ts.map +1 -1
  81. package/build/singletons/debug.js +1 -1
  82. package/build/singletons/debug.js.map +1 -1
  83. package/build/template/components/ArgumentAnnotation.jsx +16 -0
  84. package/build/template/components/ArgumentAnnotation.jsx.map +1 -0
  85. package/build/template/components/ArgumentList.jsx +16 -0
  86. package/build/template/components/ArgumentList.jsx.map +1 -0
  87. package/build/template/components/ArgumentListAnnotation.jsx +23 -0
  88. package/build/template/components/ArgumentListAnnotation.jsx.map +1 -0
  89. package/build/template/components/Changelog.jsx +68 -0
  90. package/build/template/components/Changelog.jsx.map +1 -0
  91. package/build/template/components/{CodeBlock.js → CodeBlock.jsx} +5 -4
  92. package/build/template/components/{CodeBlock.js.map → CodeBlock.jsx.map} +1 -1
  93. package/build/template/components/DeprecationReason.jsx +10 -0
  94. package/build/template/components/DeprecationReason.jsx.map +1 -0
  95. package/build/template/components/Description.jsx +10 -0
  96. package/build/template/components/Description.jsx.map +1 -0
  97. package/build/template/components/Field.jsx +22 -0
  98. package/build/template/components/Field.jsx.map +1 -0
  99. package/build/template/components/{FieldList.js → FieldList.jsx} +5 -4
  100. package/build/template/components/FieldList.jsx.map +1 -0
  101. package/build/template/components/{FieldListSection.js → FieldListSection.jsx} +6 -4
  102. package/build/template/components/FieldListSection.jsx.map +1 -0
  103. package/build/template/components/Link.d.ts +2 -2
  104. package/build/template/components/Link.d.ts.map +1 -1
  105. package/build/template/components/{Link.js → Link.jsx} +9 -17
  106. package/build/template/components/Link.jsx.map +1 -0
  107. package/build/template/components/Logo.jsx +29 -0
  108. package/build/template/components/Logo.jsx.map +1 -0
  109. package/build/template/components/{Markdown.js → Markdown.jsx} +2 -3
  110. package/build/template/components/Markdown.jsx.map +1 -0
  111. package/build/template/components/MissingSchema.d.ts +1 -1
  112. package/build/template/components/MissingSchema.d.ts.map +1 -1
  113. package/build/template/components/MissingSchema.jsx +4 -0
  114. package/build/template/components/MissingSchema.jsx.map +1 -0
  115. package/build/template/components/NamedType.jsx +17 -0
  116. package/build/template/components/NamedType.jsx.map +1 -0
  117. package/build/template/components/{RadixLink.js → RadixLink.jsx} +1 -1
  118. package/build/template/components/RadixLink.jsx.map +1 -0
  119. package/build/template/components/Texts/{MinorHeading.js → MinorHeading.jsx} +3 -4
  120. package/build/template/components/Texts/MinorHeading.jsx.map +1 -0
  121. package/build/template/components/Texts/texts.js +1 -1
  122. package/build/template/components/Texts/texts.js.map +1 -1
  123. package/build/template/components/{TypeAnnotation.js → TypeAnnotation.jsx} +18 -8
  124. package/build/template/components/TypeAnnotation.jsx.map +1 -0
  125. package/build/template/components/TypeFieldsLinkList.jsx +17 -0
  126. package/build/template/components/TypeFieldsLinkList.jsx.map +1 -0
  127. package/build/template/components/TypeIndex.jsx +27 -0
  128. package/build/template/components/TypeIndex.jsx.map +1 -0
  129. package/build/template/components/graphql/graphql.d.ts +2 -2
  130. package/build/template/components/graphql/graphql.jsx +3 -0
  131. package/build/template/components/graphql/graphql.jsx.map +1 -0
  132. package/build/template/components/graphql/index.d.ts +1 -1
  133. package/build/template/components/graphql/index.js +1 -1
  134. package/build/template/components/graphql/index.js.map +1 -1
  135. package/build/template/components/graphql/{type-kind-icon.js → type-kind-icon.jsx} +2 -3
  136. package/build/template/components/graphql/type-kind-icon.jsx.map +1 -0
  137. package/build/template/components/graphql/type-link.jsx +16 -0
  138. package/build/template/components/graphql/type-link.jsx.map +1 -0
  139. package/build/template/components/sidebar/Sidebar.d.ts +3 -3
  140. package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
  141. package/build/template/components/sidebar/Sidebar.jsx +15 -0
  142. package/build/template/components/sidebar/Sidebar.jsx.map +1 -0
  143. package/build/template/components/sidebar/SidebarItem.d.ts +3 -3
  144. package/build/template/components/sidebar/SidebarItem.d.ts.map +1 -1
  145. package/build/template/components/sidebar/{SidebarItem.js → SidebarItem.jsx} +35 -18
  146. package/build/template/components/sidebar/SidebarItem.jsx.map +1 -0
  147. package/build/template/components/sidebar/ToggleButton.d.ts +1 -1
  148. package/build/template/components/sidebar/ToggleButton.d.ts.map +1 -1
  149. package/build/template/components/sidebar/ToggleButton.jsx +6 -0
  150. package/build/template/components/sidebar/ToggleButton.jsx.map +1 -0
  151. package/build/template/entry.client.d.ts +0 -1
  152. package/build/template/entry.client.d.ts.map +1 -1
  153. package/build/template/{entry.client.js → entry.client.jsx} +9 -5
  154. package/build/template/entry.client.jsx.map +1 -0
  155. package/build/template/routes/changelog.d.ts +1 -1
  156. package/build/template/routes/{changelog.js → changelog.jsx} +4 -5
  157. package/build/template/routes/changelog.jsx.map +1 -0
  158. package/build/template/routes/{index.js → index.jsx} +2 -3
  159. package/build/template/routes/index.jsx.map +1 -0
  160. package/build/template/routes/reference.$type.$field.d.ts +1 -1
  161. package/build/template/routes/{reference.$type.$field.js → reference.$type.$field.jsx} +5 -6
  162. package/build/template/routes/reference.$type.$field.jsx.map +1 -0
  163. package/build/template/routes/reference.$type.d.ts +1 -1
  164. package/build/template/routes/{reference.$type.js → reference.$type.jsx} +5 -6
  165. package/build/template/routes/reference.$type.jsx.map +1 -0
  166. package/build/template/routes/reference.d.ts +2 -2
  167. package/build/template/routes/reference.d.ts.map +1 -1
  168. package/build/template/routes/{reference.js → reference.jsx} +12 -7
  169. package/build/template/routes/reference.jsx.map +1 -0
  170. package/build/template/routes/root.d.ts +2 -2
  171. package/build/template/routes/root.d.ts.map +1 -1
  172. package/build/template/routes/root.jsx +188 -0
  173. package/build/template/routes/root.jsx.map +1 -0
  174. package/build/template/routes.jsx +5 -0
  175. package/build/template/routes.jsx.map +1 -0
  176. package/build/template/server/app.d.ts +1 -8
  177. package/build/template/server/app.d.ts.map +1 -1
  178. package/build/template/server/app.js +21 -21
  179. package/build/template/server/app.js.map +1 -1
  180. package/build/template/server/main.js +1 -2
  181. package/build/template/server/main.js.map +1 -1
  182. package/build/template/server/render-page.d.ts +3 -0
  183. package/build/template/server/render-page.d.ts.map +1 -0
  184. package/build/template/server/{create-page-html-response.js → render-page.jsx} +17 -11
  185. package/build/template/server/render-page.jsx.map +1 -0
  186. package/build/template/server/ssg/generate.d.ts.map +1 -1
  187. package/build/template/server/ssg/generate.js +34 -33
  188. package/build/template/server/ssg/generate.js.map +1 -1
  189. package/build/template/server/ssg/get-route-paths.js +1 -1
  190. package/build/template/server/ssg/get-route-paths.js.map +1 -1
  191. package/build/template/server/view.js +1 -1
  192. package/build/template/server/view.js.map +1 -1
  193. package/package.json +9 -66
  194. package/src/api/config/load.ts +5 -5
  195. package/src/api/config-resolver/resolve.ts +2 -2
  196. package/src/api/schema/data-sources/schema-directory/schema-directory.ts +1 -1
  197. package/src/api/singletons/markdown/markdown.test.ts +1 -1
  198. package/src/api/vite/plugins/branding/index.ts +4 -4
  199. package/src/api/vite/plugins/build.ts +89 -97
  200. package/src/api/vite/plugins/core.ts +16 -18
  201. package/src/api/vite/plugins/pages.ts +209 -135
  202. package/src/api/vite/plugins/serve.ts +14 -67
  203. package/src/cli/_/self-contained-mode.ts +5 -5
  204. package/src/lib/deployment/$$.ts +1 -1
  205. package/src/lib/deployment/$.test.ts +3 -3
  206. package/src/lib/deployment/$.ts +1 -1
  207. package/src/lib/file-router/diagnostic-reporter.ts +2 -2
  208. package/src/lib/file-router/file-router.ts +2 -0
  209. package/src/lib/file-router/linter.test.ts +0 -2
  210. package/src/lib/file-router/route.ts +0 -2
  211. package/src/lib/file-router/scan-tree.test.ts +189 -0
  212. package/src/lib/file-router/scan-tree.ts +205 -0
  213. package/src/lib/file-router/scan.ts +14 -26
  214. package/src/lib/file-router/sidebar/index.ts +3 -0
  215. package/src/lib/file-router/sidebar/sidebar-tree.test.ts +123 -0
  216. package/src/lib/file-router/sidebar/sidebar-tree.ts +110 -0
  217. package/src/lib/file-router/sidebar/types.ts +19 -0
  218. package/src/lib/kit-temp.test.ts +7 -19
  219. package/src/lib/kit-temp.ts +5 -307
  220. package/src/lib/task/$.test.ts +3 -3
  221. package/src/lib/tree/index.ts +2 -0
  222. package/src/lib/tree/tree.test.ts +117 -0
  223. package/src/lib/tree/tree.ts +183 -0
  224. package/src/lib/version-history/index.test.ts +4 -12
  225. package/src/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.ts +58 -52
  226. package/src/package-paths.ts +3 -3
  227. package/src/sandbox.ts +1 -20
  228. package/src/singletons/debug.ts +1 -1
  229. package/src/template/components/ArgumentAnnotation.tsx +1 -1
  230. package/src/template/components/ArgumentList.tsx +1 -1
  231. package/src/template/components/ArgumentListAnnotation.tsx +2 -2
  232. package/src/template/components/DeprecationReason.tsx +1 -1
  233. package/src/template/components/Description.tsx +1 -1
  234. package/src/template/components/Field.tsx +4 -4
  235. package/src/template/components/FieldList.tsx +1 -1
  236. package/src/template/components/FieldListSection.tsx +1 -1
  237. package/src/template/components/Link.tsx +14 -22
  238. package/src/template/components/NamedType.tsx +2 -2
  239. package/src/template/components/TypeAnnotation.tsx +1 -1
  240. package/src/template/components/TypeFieldsLinkList.tsx +1 -1
  241. package/src/template/components/TypeIndex.tsx +1 -1
  242. package/src/template/components/graphql/graphql.tsx +2 -2
  243. package/src/template/components/graphql/index.ts +1 -1
  244. package/src/template/components/graphql/type-link.tsx +2 -2
  245. package/src/template/components/sidebar/Sidebar.tsx +2 -2
  246. package/src/template/components/sidebar/SidebarItem.tsx +14 -14
  247. package/src/template/entry.client.tsx +5 -2
  248. package/src/template/routes/changelog.tsx +1 -1
  249. package/src/template/routes/reference.$type.$field.tsx +3 -3
  250. package/src/template/routes/reference.$type.tsx +3 -3
  251. package/src/template/routes/reference.tsx +10 -6
  252. package/src/template/routes/root.tsx +108 -112
  253. package/src/template/routes.tsx +1 -1
  254. package/src/template/server/app.ts +23 -33
  255. package/src/template/server/main.ts +1 -2
  256. package/src/template/server/{create-page-html-response.ts → render-page.tsx} +16 -19
  257. package/src/template/server/ssg/generate.ts +72 -68
  258. package/src/template/server/ssg/get-route-paths.ts +1 -1
  259. package/src/template/server/view.ts +1 -1
  260. package/src/template/styles/code-block.css +0 -32
  261. package/build/api/content/$$.d.ts +0 -7
  262. package/build/api/content/$$.d.ts.map +0 -1
  263. package/build/api/content/$$.js +0 -7
  264. package/build/api/content/$$.js.map +0 -1
  265. package/build/api/content/$.d.ts +0 -2
  266. package/build/api/content/$.d.ts.map +0 -1
  267. package/build/api/content/$.js +0 -2
  268. package/build/api/content/$.js.map +0 -1
  269. package/build/api/content/metadata.d.ts +0 -10
  270. package/build/api/content/metadata.d.ts.map +0 -1
  271. package/build/api/content/metadata.js +0 -9
  272. package/build/api/content/metadata.js.map +0 -1
  273. package/build/api/content/navbar.d.ts +0 -10
  274. package/build/api/content/navbar.d.ts.map +0 -1
  275. package/build/api/content/navbar.js +0 -45
  276. package/build/api/content/navbar.js.map +0 -1
  277. package/build/api/content/page.d.ts +0 -11
  278. package/build/api/content/page.d.ts.map +0 -1
  279. package/build/api/content/page.js +0 -2
  280. package/build/api/content/page.js.map +0 -1
  281. package/build/api/content/scan.d.ts +0 -19
  282. package/build/api/content/scan.d.ts.map +0 -1
  283. package/build/api/content/scan.js +0 -90
  284. package/build/api/content/scan.js.map +0 -1
  285. package/build/api/content/sidebar.d.ts +0 -104
  286. package/build/api/content/sidebar.d.ts.map +0 -1
  287. package/build/api/content/sidebar.js +0 -166
  288. package/build/api/content/sidebar.js.map +0 -1
  289. package/build/api/content/utils.d.ts +0 -5
  290. package/build/api/content/utils.d.ts.map +0 -1
  291. package/build/api/content/utils.js +0 -8
  292. package/build/api/content/utils.js.map +0 -1
  293. package/build/exports/components.d.ts +0 -5
  294. package/build/exports/components.d.ts.map +0 -1
  295. package/build/exports/components.js +0 -5
  296. package/build/exports/components.js.map +0 -1
  297. package/build/lib/graphql-document/$$.d.ts +0 -5
  298. package/build/lib/graphql-document/$$.d.ts.map +0 -1
  299. package/build/lib/graphql-document/$$.js +0 -5
  300. package/build/lib/graphql-document/$$.js.map +0 -1
  301. package/build/lib/graphql-document/$.d.ts +0 -2
  302. package/build/lib/graphql-document/$.d.ts.map +0 -1
  303. package/build/lib/graphql-document/$.js +0 -2
  304. package/build/lib/graphql-document/$.js.map +0 -1
  305. package/build/lib/graphql-document/analysis.d.ts +0 -44
  306. package/build/lib/graphql-document/analysis.d.ts.map +0 -1
  307. package/build/lib/graphql-document/analysis.js +0 -361
  308. package/build/lib/graphql-document/analysis.js.map +0 -1
  309. package/build/lib/graphql-document/components/CopyButton.d.ts +0 -19
  310. package/build/lib/graphql-document/components/CopyButton.d.ts.map +0 -1
  311. package/build/lib/graphql-document/components/CopyButton.js +0 -43
  312. package/build/lib/graphql-document/components/CopyButton.js.map +0 -1
  313. package/build/lib/graphql-document/components/GraphQLDocument.d.ts +0 -38
  314. package/build/lib/graphql-document/components/GraphQLDocument.d.ts.map +0 -1
  315. package/build/lib/graphql-document/components/GraphQLDocument.js +0 -142
  316. package/build/lib/graphql-document/components/GraphQLDocument.js.map +0 -1
  317. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts +0 -7
  318. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts.map +0 -1
  319. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js +0 -45
  320. package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js.map +0 -1
  321. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.d.ts +0 -33
  322. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.d.ts.map +0 -1
  323. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.js +0 -48
  324. package/build/lib/graphql-document/components/GraphQLIdentifierPopover.js.map +0 -1
  325. package/build/lib/graphql-document/components/IdentifierLink.d.ts +0 -39
  326. package/build/lib/graphql-document/components/IdentifierLink.d.ts.map +0 -1
  327. package/build/lib/graphql-document/components/IdentifierLink.js +0 -75
  328. package/build/lib/graphql-document/components/IdentifierLink.js.map +0 -1
  329. package/build/lib/graphql-document/components/graphql-document-styles.d.ts +0 -5
  330. package/build/lib/graphql-document/components/graphql-document-styles.d.ts.map +0 -1
  331. package/build/lib/graphql-document/components/graphql-document-styles.js +0 -167
  332. package/build/lib/graphql-document/components/graphql-document-styles.js.map +0 -1
  333. package/build/lib/graphql-document/components/index.d.ts +0 -6
  334. package/build/lib/graphql-document/components/index.d.ts.map +0 -1
  335. package/build/lib/graphql-document/components/index.js +0 -6
  336. package/build/lib/graphql-document/components/index.js.map +0 -1
  337. package/build/lib/graphql-document/example.d.ts +0 -25
  338. package/build/lib/graphql-document/example.d.ts.map +0 -1
  339. package/build/lib/graphql-document/example.js +0 -140
  340. package/build/lib/graphql-document/example.js.map +0 -1
  341. package/build/lib/graphql-document/graphql-document.d.ts +0 -35
  342. package/build/lib/graphql-document/graphql-document.d.ts.map +0 -1
  343. package/build/lib/graphql-document/graphql-document.js +0 -36
  344. package/build/lib/graphql-document/graphql-document.js.map +0 -1
  345. package/build/lib/graphql-document/hooks/use-tooltip-state.d.ts +0 -43
  346. package/build/lib/graphql-document/hooks/use-tooltip-state.d.ts.map +0 -1
  347. package/build/lib/graphql-document/hooks/use-tooltip-state.js +0 -132
  348. package/build/lib/graphql-document/hooks/use-tooltip-state.js.map +0 -1
  349. package/build/lib/graphql-document/positioning-simple.d.ts +0 -63
  350. package/build/lib/graphql-document/positioning-simple.d.ts.map +0 -1
  351. package/build/lib/graphql-document/positioning-simple.js +0 -185
  352. package/build/lib/graphql-document/positioning-simple.js.map +0 -1
  353. package/build/lib/graphql-document/schema-context.d.ts +0 -8
  354. package/build/lib/graphql-document/schema-context.d.ts.map +0 -1
  355. package/build/lib/graphql-document/schema-context.js +0 -11
  356. package/build/lib/graphql-document/schema-context.js.map +0 -1
  357. package/build/lib/graphql-document/schema-integration-example.d.ts +0 -27
  358. package/build/lib/graphql-document/schema-integration-example.d.ts.map +0 -1
  359. package/build/lib/graphql-document/schema-integration-example.js +0 -297
  360. package/build/lib/graphql-document/schema-integration-example.js.map +0 -1
  361. package/build/lib/graphql-document/schema-integration.d.ts +0 -135
  362. package/build/lib/graphql-document/schema-integration.d.ts.map +0 -1
  363. package/build/lib/graphql-document/schema-integration.js +0 -328
  364. package/build/lib/graphql-document/schema-integration.js.map +0 -1
  365. package/build/lib/graphql-document/types.d.ts +0 -117
  366. package/build/lib/graphql-document/types.d.ts.map +0 -1
  367. package/build/lib/graphql-document/types.js.map +0 -1
  368. package/build/template/components/ArgumentAnnotation.js +0 -10
  369. package/build/template/components/ArgumentAnnotation.js.map +0 -1
  370. package/build/template/components/ArgumentList.js +0 -9
  371. package/build/template/components/ArgumentList.js.map +0 -1
  372. package/build/template/components/ArgumentListAnnotation.js +0 -15
  373. package/build/template/components/ArgumentListAnnotation.js.map +0 -1
  374. package/build/template/components/Changelog.js +0 -44
  375. package/build/template/components/Changelog.js.map +0 -1
  376. package/build/template/components/CodeBlockEnhancer.d.ts +0 -2
  377. package/build/template/components/CodeBlockEnhancer.d.ts.map +0 -1
  378. package/build/template/components/CodeBlockEnhancer.js +0 -175
  379. package/build/template/components/CodeBlockEnhancer.js.map +0 -1
  380. package/build/template/components/DeprecationReason.js +0 -9
  381. package/build/template/components/DeprecationReason.js.map +0 -1
  382. package/build/template/components/Description.js +0 -9
  383. package/build/template/components/Description.js.map +0 -1
  384. package/build/template/components/Field.js +0 -14
  385. package/build/template/components/Field.js.map +0 -1
  386. package/build/template/components/FieldList.js.map +0 -1
  387. package/build/template/components/FieldListSection.js.map +0 -1
  388. package/build/template/components/HamburgerMenu.d.ts +0 -9
  389. package/build/template/components/HamburgerMenu.d.ts.map +0 -1
  390. package/build/template/components/HamburgerMenu.js +0 -30
  391. package/build/template/components/HamburgerMenu.js.map +0 -1
  392. package/build/template/components/Link.js.map +0 -1
  393. package/build/template/components/Logo.js +0 -20
  394. package/build/template/components/Logo.js.map +0 -1
  395. package/build/template/components/MDXComponents.d.ts +0 -11
  396. package/build/template/components/MDXComponents.d.ts.map +0 -1
  397. package/build/template/components/MDXComponents.js +0 -70
  398. package/build/template/components/MDXComponents.js.map +0 -1
  399. package/build/template/components/Markdown.js.map +0 -1
  400. package/build/template/components/MissingSchema.js +0 -5
  401. package/build/template/components/MissingSchema.js.map +0 -1
  402. package/build/template/components/NamedType.js +0 -12
  403. package/build/template/components/NamedType.js.map +0 -1
  404. package/build/template/components/NotFound.d.ts +0 -2
  405. package/build/template/components/NotFound.d.ts.map +0 -1
  406. package/build/template/components/NotFound.js +0 -7
  407. package/build/template/components/NotFound.js.map +0 -1
  408. package/build/template/components/RadixLink.js.map +0 -1
  409. package/build/template/components/TestComponent.d.ts +0 -5
  410. package/build/template/components/TestComponent.d.ts.map +0 -1
  411. package/build/template/components/TestComponent.js +0 -7
  412. package/build/template/components/TestComponent.js.map +0 -1
  413. package/build/template/components/Texts/MinorHeading.js.map +0 -1
  414. package/build/template/components/ThemeToggle.d.ts +0 -3
  415. package/build/template/components/ThemeToggle.d.ts.map +0 -1
  416. package/build/template/components/ThemeToggle.js +0 -9
  417. package/build/template/components/ThemeToggle.js.map +0 -1
  418. package/build/template/components/TypeAnnotation.js.map +0 -1
  419. package/build/template/components/TypeFieldsLinkList.js +0 -9
  420. package/build/template/components/TypeFieldsLinkList.js.map +0 -1
  421. package/build/template/components/TypeIndex.js +0 -17
  422. package/build/template/components/TypeIndex.js.map +0 -1
  423. package/build/template/components/content/$$.d.ts +0 -3
  424. package/build/template/components/content/$$.d.ts.map +0 -1
  425. package/build/template/components/content/$$.js +0 -3
  426. package/build/template/components/content/$$.js.map +0 -1
  427. package/build/template/components/content/GraphQLDocumentWithSchema.d.ts +0 -8
  428. package/build/template/components/content/GraphQLDocumentWithSchema.d.ts.map +0 -1
  429. package/build/template/components/content/GraphQLDocumentWithSchema.js +0 -13
  430. package/build/template/components/content/GraphQLDocumentWithSchema.js.map +0 -1
  431. package/build/template/components/content/GraphQLDocumentWrapper.d.ts +0 -7
  432. package/build/template/components/content/GraphQLDocumentWrapper.d.ts.map +0 -1
  433. package/build/template/components/content/GraphQLDocumentWrapper.js +0 -63
  434. package/build/template/components/content/GraphQLDocumentWrapper.js.map +0 -1
  435. package/build/template/components/graphql/graphql.js +0 -3
  436. package/build/template/components/graphql/graphql.js.map +0 -1
  437. package/build/template/components/graphql/type-kind-icon.js.map +0 -1
  438. package/build/template/components/graphql/type-link.js +0 -11
  439. package/build/template/components/graphql/type-link.js.map +0 -1
  440. package/build/template/components/sidebar/Sidebar.js +0 -11
  441. package/build/template/components/sidebar/Sidebar.js.map +0 -1
  442. package/build/template/components/sidebar/SidebarItem.js.map +0 -1
  443. package/build/template/components/sidebar/ToggleButton.js +0 -5
  444. package/build/template/components/sidebar/ToggleButton.js.map +0 -1
  445. package/build/template/contexts/ThemeContext.d.ts +0 -12
  446. package/build/template/contexts/ThemeContext.d.ts.map +0 -1
  447. package/build/template/contexts/ThemeContext.js +0 -40
  448. package/build/template/contexts/ThemeContext.js.map +0 -1
  449. package/build/template/entry.client.js.map +0 -1
  450. package/build/template/hooks/useClientOnly.d.ts +0 -9
  451. package/build/template/hooks/useClientOnly.d.ts.map +0 -1
  452. package/build/template/hooks/useClientOnly.js +0 -16
  453. package/build/template/hooks/useClientOnly.js.map +0 -1
  454. package/build/template/routes/changelog.js.map +0 -1
  455. package/build/template/routes/index.js.map +0 -1
  456. package/build/template/routes/reference.$type.$field.js.map +0 -1
  457. package/build/template/routes/reference.$type.js.map +0 -1
  458. package/build/template/routes/reference.js.map +0 -1
  459. package/build/template/routes/root.js +0 -138
  460. package/build/template/routes/root.js.map +0 -1
  461. package/build/template/routes.js +0 -5
  462. package/build/template/routes.js.map +0 -1
  463. package/build/template/server/create-page-html-response.d.ts +0 -7
  464. package/build/template/server/create-page-html-response.d.ts.map +0 -1
  465. package/build/template/server/create-page-html-response.js.map +0 -1
  466. package/build/template/server/middleware/page.d.ts +0 -4
  467. package/build/template/server/middleware/page.d.ts.map +0 -1
  468. package/build/template/server/middleware/page.js +0 -15
  469. package/build/template/server/middleware/page.js.map +0 -1
  470. package/build/template/server/middleware/unsupported-assets.d.ts +0 -10
  471. package/build/template/server/middleware/unsupported-assets.d.ts.map +0 -1
  472. package/build/template/server/middleware/unsupported-assets.js +0 -21
  473. package/build/template/server/middleware/unsupported-assets.js.map +0 -1
  474. package/build/template/styles/code-block.css +0 -218
  475. package/src/api/content/$$.ts +0 -6
  476. package/src/api/content/$.test.ts +0 -72
  477. package/src/api/content/$.ts +0 -1
  478. package/src/api/content/metadata.ts +0 -11
  479. package/src/api/content/navbar.test.ts +0 -55
  480. package/src/api/content/navbar.ts +0 -61
  481. package/src/api/content/page.ts +0 -12
  482. package/src/api/content/scan.ts +0 -117
  483. package/src/api/content/sidebar.test.ts +0 -297
  484. package/src/api/content/sidebar.ts +0 -283
  485. package/src/api/content/utils.ts +0 -7
  486. package/src/exports/components.ts +0 -4
  487. package/src/lib/graphql-document/$$.ts +0 -4
  488. package/src/lib/graphql-document/$.test.ts +0 -132
  489. package/src/lib/graphql-document/$.ts +0 -1
  490. package/src/lib/graphql-document/README.md +0 -102
  491. package/src/lib/graphql-document/analysis.ts +0 -415
  492. package/src/lib/graphql-document/components/CopyButton.tsx +0 -76
  493. package/src/lib/graphql-document/components/GraphQLDocument.tsx +0 -262
  494. package/src/lib/graphql-document/components/GraphQLDocument.unit.test.ts +0 -188
  495. package/src/lib/graphql-document/components/GraphQLDocumentWithSchema.tsx +0 -70
  496. package/src/lib/graphql-document/components/GraphQLIdentifierPopover.tsx +0 -197
  497. package/src/lib/graphql-document/components/IdentifierLink.tsx +0 -160
  498. package/src/lib/graphql-document/components/graphql-document-styles.ts +0 -167
  499. package/src/lib/graphql-document/components/index.ts +0 -5
  500. package/src/lib/graphql-document/demo.md +0 -155
  501. package/src/lib/graphql-document/example.ts +0 -163
  502. package/src/lib/graphql-document/graphql-document.ts +0 -37
  503. package/src/lib/graphql-document/hooks/use-tooltip-state.test.ts +0 -76
  504. package/src/lib/graphql-document/hooks/use-tooltip-state.ts +0 -191
  505. package/src/lib/graphql-document/positioning-simple.test.ts +0 -248
  506. package/src/lib/graphql-document/positioning-simple.ts +0 -260
  507. package/src/lib/graphql-document/schema-context.tsx +0 -20
  508. package/src/lib/graphql-document/schema-integration-example.ts +0 -341
  509. package/src/lib/graphql-document/schema-integration.test.ts +0 -365
  510. package/src/lib/graphql-document/schema-integration.ts +0 -497
  511. package/src/lib/graphql-document/types.ts +0 -129
  512. package/src/template/components/CodeBlockEnhancer.tsx +0 -192
  513. package/src/template/components/HamburgerMenu.tsx +0 -96
  514. package/src/template/components/MDXComponents.tsx +0 -101
  515. package/src/template/components/NotFound.tsx +0 -28
  516. package/src/template/components/TestComponent.tsx +0 -6
  517. package/src/template/components/ThemeToggle.tsx +0 -21
  518. package/src/template/components/content/$$.ts +0 -2
  519. package/src/template/components/content/GraphQLDocumentWithSchema.tsx +0 -13
  520. package/src/template/components/content/GraphQLDocumentWrapper.tsx +0 -89
  521. package/src/template/contexts/ThemeContext.tsx +0 -60
  522. package/src/template/hooks/useClientOnly.ts +0 -21
  523. package/src/template/server/middleware/page.ts +0 -19
  524. package/src/template/server/middleware/unsupported-assets.ts +0 -25
  525. /package/build/lib/{graphql-document → file-router/sidebar}/types.js +0 -0
@@ -1,10 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
1
  import { Texts } from '#template/components/Texts/index';
3
- import { Box, Flex } from '@radix-ui/themes';
2
+ import { Box, Flex, Text } from '@radix-ui/themes';
4
3
  import { useLocation } from 'react-router';
5
- import { getPathActiveReport, Link } from "../Link.js";
4
+ import { getPathActiveReport, Link } from "../Link.jsx";
6
5
  export const Items = ({ items }) => {
7
- return (_jsx(Flex, { direction: 'column', gap: '2px', children: items.map((item, index) => (_jsx(Item, { item: item }, `${item.pathExp}-${index}`))) }));
6
+ return (<Flex direction='column' gap='2px'>
7
+ {items.map((item) => (<Item key={item.pathExp} item={item}/>))}
8
+ </Flex>);
8
9
  };
9
10
  //
10
11
  //
@@ -15,12 +16,12 @@ export const Items = ({ items }) => {
15
16
  //
16
17
  export const Item = ({ item }) => {
17
18
  if (item.type === `ItemLink`) {
18
- return _jsx(SBLink, { link: item });
19
+ return <SBLink link={item}/>;
19
20
  }
20
21
  if (item.type === 'ItemSection' && item.isLinkToo) {
21
- return _jsx(LinkedSection, { section: item });
22
+ return <LinkedSection section={item}/>;
22
23
  }
23
- return _jsx(Section, { section: item });
24
+ return <Section section={item}/>;
24
25
  };
25
26
  //
26
27
  //
@@ -33,13 +34,15 @@ const SBLink = ({ link }) => {
33
34
  const location = useLocation();
34
35
  const currentPathExp = location.pathname;
35
36
  const active = getPathActiveReport(link.pathExp, currentPathExp);
36
- return (_jsx(Link, { role: 'Sidebar Link', color: active.is ? `iris` : `gray`, "data-testid": `sidebar-link-${link.pathExp}`, to: `/${link.pathExp}`, style: {
37
+ return (<Link role='Sidebar Link' color={active.is ? `iris` : `gray`} data-testid={`sidebar-link-${link.pathExp}`} to={`/${link.pathExp}`} style={{
37
38
  display: `block`,
38
39
  textDecoration: `none`,
39
40
  color: active.is ? `var(--accent-12)` : undefined,
40
- backgroundColor: active.isDirect ? `var(--accent-2)` : active.isDescendant ? `var(--accent-1)` : `transparent`,
41
+ backgroundColor: active.isDirect ? `var(--accent-2)` : active.isdescendant ? `var(--accent-1)` : `transparent`,
41
42
  borderRadius: `var(--radius-2)`,
42
- }, children: _jsx(Box, { py: '2', px: '4', children: link.title }) }));
43
+ }}>
44
+ <Box py='2' px='4'>{link.title}</Box>
45
+ </Link>);
43
46
  };
44
47
  //
45
48
  //
@@ -49,7 +52,14 @@ const SBLink = ({ link }) => {
49
52
  //
50
53
  //
51
54
  const Section = ({ section }) => {
52
- return (_jsxs(Box, { mt: '8', children: [_jsx(Box, { ml: '4', mb: '2', children: _jsx(Texts.MinorHeading, { color: 'gray', children: section.title }) }), _jsx(Items, { items: section.links })] }));
55
+ return (<Box mt='8'>
56
+ <Box ml='4' mb='2'>
57
+ <Texts.MinorHeading color='gray'>
58
+ {section.title}
59
+ </Texts.MinorHeading>
60
+ </Box>
61
+ <Items items={section.links}/>
62
+ </Box>);
53
63
  };
54
64
  //
55
65
  //
@@ -59,19 +69,26 @@ const Section = ({ section }) => {
59
69
  //
60
70
  //
61
71
  const LinkedSection = ({ section }) => {
62
- return (_jsxs(Box, { children: [_jsx(SBLink, { link: section }), _jsx(Flex, { direction: 'column', gap: '2', id: `section-${section.pathExp.replace(/\//g, '-')}`, role: 'group', ml: '5', py: '2px', style: {
63
- borderLeft: `1px solid var(--gray-5)`,
64
- }, children: section.links.map((link, index) => (_jsx(SectionLink, { link: link }, `${link.pathExp}-${index}`))) })] }));
72
+ return (<Box>
73
+ <SBLink link={section}/>
74
+ {<Flex direction='column' gap='2' id={`section-${section.pathExp.replace(/\//g, '-')}`} role='group' ml='5' py='2px' style={{
75
+ borderLeft: `1px solid var(--gray-5)`,
76
+ }}>
77
+ {section.links.map((link) => (<SectionLink key={link.pathExp} link={link}/>))}
78
+ </Flex>}
79
+ </Box>);
65
80
  };
66
81
  const SectionLink = ({ link }) => {
67
82
  const location = useLocation();
68
83
  const active = getPathActiveReport(link.pathExp, location.pathname);
69
- return (_jsx(Link, { role: 'Sidebar Link', to: '/' + link.pathExp, color: active.is ? `iris` : `gray`, style: {
84
+ return (<Link role='Sidebar Link' to={'/' + link.pathExp} color={active.is ? `iris` : `gray`} style={{
70
85
  textDecoration: `none`,
71
86
  color: active.is ? `var(--accent-12)` : undefined,
72
- backgroundColor: active.isDirect ? `var(--accent-2)` : active.isDescendant ? `var(--accent-1)` : `transparent`,
87
+ backgroundColor: active.isDirect ? `var(--accent-2)` : active.isdescendant ? `var(--accent-1)` : `transparent`,
73
88
  borderBottomRightRadius: `var(--radius-2)`,
74
89
  borderTopRightRadius: `var(--radius-2)`,
75
- }, children: _jsx(Box, { py: '2', px: '4', children: link.title }) }));
90
+ }}>
91
+ <Box py='2' px='4'>{link.title}</Box>
92
+ </Link>);
76
93
  };
77
- //# sourceMappingURL=SidebarItem.js.map
94
+ //# sourceMappingURL=SidebarItem.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidebarItem.jsx","sourceRoot":"","sources":["../../../../src/template/components/sidebar/SidebarItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAA;AACxD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,CAAC,MAAM,KAAK,GAAmD,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IACjF,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,CAChC;MAAA,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,CAAC,IAAI,CACH,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAClB,IAAI,CAAC,CAAC,IAAI,CAAC,EACX,CACH,CAAC,CACJ;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA;AAED,EAAE;AACF,EAAE;AACF,EAAE;AACF,EAAE;AACF,2DAA2D;AAC3D,EAAE;AACF,EAAE;AAEF,MAAM,CAAC,MAAM,IAAI,GAAgD,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5E,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC7B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAA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,CACR,CAAA;AACH,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export declare const ToggleButton: ({ isExpanded, toggleExpanded }: {
2
2
  isExpanded: boolean;
3
3
  toggleExpanded: () => void;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }) => import("react").JSX.Element;
5
5
  //# sourceMappingURL=ToggleButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/template/components/sidebar/ToggleButton.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,GAAI,gCAAgC;IAAE,UAAU,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,MAAM,IAAI,CAAA;CAAE,4CAQ/G,CAAA"}
1
+ {"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/template/components/sidebar/ToggleButton.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,GAAI,gCAAgC;IAAE,UAAU,EAAE,OAAO,CAAC;IAAC,cAAc,EAAE,MAAM,IAAI,CAAA;CAAE,gCAQ/G,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { ChevronDownIcon, ChevronRightIcon } from '@radix-ui/react-icons';
2
+ import { Button } from '@radix-ui/themes';
3
+ export const ToggleButton = ({ isExpanded, toggleExpanded }) => (<Button variant='ghost' onClick={toggleExpanded} aria-expanded={isExpanded}>
4
+ {isExpanded ? <ChevronDownIcon /> : <ChevronRightIcon />}
5
+ </Button>);
6
+ //# sourceMappingURL=ToggleButton.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleButton.jsx","sourceRoot":"","sources":["../../../../src/template/components/sidebar/ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,UAAU,EAAE,cAAc,EAAuD,EAAE,EAAE,CAAC,CACnH,CAAC,MAAM,CACL,OAAO,CAAC,OAAO,CACf,OAAO,CAAC,CAAC,cAAc,CAAC,CACxB,aAAa,CAAC,CAAC,UAAU,CAAC,CAE1B;IAAA,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,AAAD,EAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,AAAD,EAAG,CAC1D;EAAA,EAAE,MAAM,CAAC,CACV,CAAA"}
@@ -1,3 +1,2 @@
1
1
  import '@radix-ui/themes/styles.css';
2
- import './styles/code-block.css';
3
2
  //# sourceMappingURL=entry.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entry.client.d.ts","sourceRoot":"","sources":["../../src/template/entry.client.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAA;AACpC,OAAO,yBAAyB,CAAA"}
1
+ {"version":3,"file":"entry.client.d.ts","sourceRoot":"","sources":["../../src/template/entry.client.tsx"],"names":[],"mappings":"AAGA,OAAO,6BAA6B,CAAA"}
@@ -1,11 +1,13 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ // TODO it seems more logical to have this asset imported in the server entry.
2
+ // But then, we won't get it from the client manifest. But we could get it from the server manifest. Should we do that?
3
+ // But then, that wouldn't work for SPA. Does that matter? Just put a conditional here e.g. if (import.meta.env.PROD) ...?
2
4
  import '@radix-ui/themes/styles.css';
3
- import './styles/code-block.css';
5
+ // import './styles/code-block.css' // TODO: Handle CSS in build process
4
6
  import { ReactDomClient } from '#dep/react-dom-client/index';
5
7
  import { StrictMode } from 'react';
6
8
  import { createBrowserRouter, RouterProvider } from 'react-router';
7
9
  import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
8
- import { routes } from "./routes.js";
10
+ import { routes } from './routes.jsx';
9
11
  // SPA
10
12
  // const router = createBrowserRouter(routes)
11
13
  // createRoot(document).render(
@@ -16,5 +18,7 @@ const router = createBrowserRouter(routes, {
16
18
  hydrationData: window.__staticRouterHydrationData,
17
19
  basename: PROJECT_DATA.basePath === `/` ? undefined : PROJECT_DATA.basePath.slice(0, -1), // Remove trailing slash for React Router
18
20
  });
19
- ReactDomClient.hydrateRoot(document, (_jsx(StrictMode, { children: _jsx(RouterProvider, { router: router }) })));
20
- //# sourceMappingURL=entry.client.js.map
21
+ ReactDomClient.hydrateRoot(document, (<StrictMode>
22
+ <RouterProvider router={router}/>
23
+ </StrictMode>));
24
+ //# sourceMappingURL=entry.client.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry.client.jsx","sourceRoot":"","sources":["../../src/template/entry.client.tsx"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,uHAAuH;AACvH,0HAA0H;AAC1H,OAAO,6BAA6B,CAAA;AACpC,wEAAwE;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,MAAM;AAEN,6CAA6C;AAE7C,+BAA+B;AAC/B,wCAAwC;AACxC,IAAI;AAEJ,MAAM;AAEN,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,EAAE;IACzC,aAAa,EAAE,MAAM,CAAC,2BAA2B;IACjD,QAAQ,EAAE,YAAY,CAAC,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,yCAAyC;CACpI,CAAC,CAAA;AAEF,cAAc,CAAC,WAAW,CACxB,QAAQ,EACR,CACE,CAAC,UAAU,CACT;MAAA,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EACjC;IAAA,EAAE,UAAU,CAAC,CACd,CACF,CAAA"}
@@ -3,6 +3,6 @@ export declare const changelog: {
3
3
  loader: () => {
4
4
  schema: import("../../api/schema/schema.ts").Schema | null;
5
5
  };
6
- Component: () => import("react/jsx-runtime").JSX.Element;
6
+ Component: () => import("react").JSX.Element;
7
7
  };
8
8
  //# sourceMappingURL=changelog.d.ts.map
@@ -1,8 +1,7 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { createRoute } from '#lib/react-router-aid/react-router-aid';
3
2
  import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader';
4
3
  import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
5
- import { Changelog } from "../components/Changelog.js";
4
+ import { Changelog } from '../components/Changelog.jsx';
6
5
  const loader = createLoader(() => {
7
6
  return {
8
7
  schema: PROJECT_DATA.schema,
@@ -11,13 +10,13 @@ const loader = createLoader(() => {
11
10
  const Component = () => {
12
11
  const data = useLoaderData();
13
12
  if (!data.schema) {
14
- return _jsx("div", { children: "No data to show. There is no schema is." });
13
+ return <div>No data to show. There is no schema is.</div>;
15
14
  }
16
- return _jsx(Changelog, { schema: data.schema });
15
+ return <Changelog schema={data.schema}/>;
17
16
  };
18
17
  export const changelog = createRoute({
19
18
  path: `changelog`,
20
19
  loader,
21
20
  Component,
22
21
  });
23
- //# sourceMappingURL=changelog.js.map
22
+ //# sourceMappingURL=changelog.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changelog.jsx","sourceRoot":"","sources":["../../../src/template/routes/changelog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC1F,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAEvD,MAAM,MAAM,GAAG,YAAY,CAAC,GAAG,EAAE;IAC/B,OAAO;QACL,MAAM,EAAE,YAAY,CAAC,MAAM;KAC5B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,IAAI,GAAG,aAAa,EAAiB,CAAA;IAE3C,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,CAAC,GAAG,CAAC,uCAAuC,EAAE,GAAG,CAAC,CAAA;IAC3D,CAAC;IAED,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAAG,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;IACnC,IAAI,EAAE,WAAW;IACjB,MAAM;IACN,SAAS;CACV,CAAC,CAAA"}
@@ -1,10 +1,9 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { createRouteIndex } from '#lib/react-router-aid/react-router-aid';
3
2
  import { Box } from '@radix-ui/themes';
4
3
  const Component = () => {
5
- return _jsx(Box, { children: "home todo" });
4
+ return <Box>home todo</Box>;
6
5
  };
7
6
  export const index = createRouteIndex({
8
7
  Component,
9
8
  });
10
- //# sourceMappingURL=index.js.map
9
+ //# sourceMappingURL=index.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../../src/template/routes/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,CAAA;AAC7B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,gBAAgB,CAAC;IACpC,SAAS;CACV,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export declare const reference$type$field: {
2
2
  path: string;
3
- Component: () => string | import("react/jsx-runtime").JSX.Element;
3
+ Component: () => string | import("react").JSX.Element;
4
4
  };
5
5
  //# sourceMappingURL=reference.$type.$field.d.ts.map
@@ -1,15 +1,14 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { Grafaid } from '#lib/grafaid/index';
3
2
  import { ReactRouterAid } from '#lib/react-router-aid/index';
4
3
  import { useLoaderData } from '#lib/react-router-loader/react-router-loader';
5
4
  import { useParams } from 'react-router';
6
- import { Field } from "../components/Field.js";
7
- import { MissingSchema } from "../components/MissingSchema.js";
5
+ import { Field } from '../components/Field.jsx';
6
+ import { MissingSchema } from '../components/MissingSchema.jsx';
8
7
  const Component = () => {
9
8
  const params = useParams();
10
9
  const data = useLoaderData(`reference`);
11
10
  if (!data.schema) {
12
- return _jsx(MissingSchema, {});
11
+ return <MissingSchema />;
13
12
  }
14
13
  const type = data.schema.getType(params.type);
15
14
  if (!type)
@@ -22,10 +21,10 @@ const Component = () => {
22
21
  if (!field) {
23
22
  return `Could not find field ${params.field} on type ${params.type}`;
24
23
  }
25
- return _jsx(Field, { data: field });
24
+ return <Field data={field}/>;
26
25
  };
27
26
  export const reference$type$field = ReactRouterAid.createRoute({
28
27
  path: `:type/:field`,
29
28
  Component,
30
29
  });
31
- //# sourceMappingURL=reference.$type.$field.js.map
30
+ //# sourceMappingURL=reference.$type.$field.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.$type.$field.jsx","sourceRoot":"","sources":["../../../src/template/routes/reference.$type.$field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAG/D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,MAAM,GAAG,SAAS,EAAqC,CAAA;IAC7D,MAAM,IAAI,GAAG,aAAa,CAA0B,WAAW,CAAC,CAAA;IAChE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,CAAC,aAAa,CAAC,AAAD,EAAG,CAAA;IAC1B,CAAC;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAC7C,IAAI,CAAC,IAAI;QAAE,OAAO,uBAAuB,MAAM,CAAC,IAAI,EAAE,CAAA;IACtD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9C,OAAO,QAAQ,MAAM,CAAC,IAAI,uBAAuB,CAAA;IACnD,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAA;IAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IAClC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,wBAAwB,MAAM,CAAC,KAAK,YAAY,MAAM,CAAC,IAAI,EAAE,CAAA;IACtE,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAG,CAAA;AAC/B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAAC,WAAW,CAAC;IAC7D,IAAI,EAAE,cAAc;IACpB,SAAS;CACV,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  export declare const reference$type: {
2
2
  path: string;
3
- Component: () => string | import("react/jsx-runtime").JSX.Element;
3
+ Component: () => string | import("react").JSX.Element;
4
4
  };
5
5
  //# sourceMappingURL=reference.$type.d.ts.map
@@ -1,23 +1,22 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { createRoute } from '#lib/react-router-aid/react-router-aid';
3
2
  import { useLoaderData } from '#lib/react-router-loader/react-router-loader';
4
3
  import { useParams } from 'react-router';
5
- import { MissingSchema } from "../components/MissingSchema.js";
6
- import { NamedType } from "../components/NamedType.js";
4
+ import { MissingSchema } from '../components/MissingSchema.jsx';
5
+ import { NamedType } from '../components/NamedType.jsx';
7
6
  const Component = () => {
8
7
  const params = useParams();
9
8
  const data = useLoaderData(`reference`);
10
9
  if (!data.schema) {
11
- return _jsx(MissingSchema, {});
10
+ return <MissingSchema />;
12
11
  }
13
12
  const type = data.schema.getType(params.type);
14
13
  if (!type) {
15
14
  return `Could not find type ${params.type}`;
16
15
  }
17
- return _jsx(NamedType, { data: type });
16
+ return <NamedType data={type}/>;
18
17
  };
19
18
  export const reference$type = createRoute({
20
19
  path: `:type`,
21
20
  Component,
22
21
  });
23
- //# sourceMappingURL=reference.$type.js.map
22
+ //# sourceMappingURL=reference.$type.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.$type.jsx","sourceRoot":"","sources":["../../../src/template/routes/reference.$type.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AAGvD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,MAAM,GAAG,SAAS,EAAsB,CAAA;IAE9C,MAAM,IAAI,GAAG,aAAa,CAA0B,WAAW,CAAC,CAAA;IAChE,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,CAAC,aAAa,CAAC,AAAD,EAAG,CAAA;IAC1B,CAAC;IAED,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IAC7C,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,uBAAuB,MAAM,CAAC,IAAI,EAAE,CAAA;IAC7C,CAAC;IAED,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,EAAG,CAAA;AAClC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;IACxC,IAAI,EAAE,OAAO;IACb,SAAS;CACV,CAAC,CAAA"}
@@ -3,10 +3,10 @@ export declare const reference: {
3
3
  loader: () => {
4
4
  schema: import("graphql").GraphQLSchema | null;
5
5
  };
6
- Component: () => import("react/jsx-runtime").JSX.Element;
6
+ Component: () => import("react").JSX.Element;
7
7
  children: {
8
8
  path: string;
9
- Component: () => string | import("react/jsx-runtime").JSX.Element;
9
+ Component: () => string | import("react").JSX.Element;
10
10
  }[];
11
11
  };
12
12
  //# sourceMappingURL=reference.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"AA6BA,eAAO,MAAM,SAAS;;;;;;;;;;CAKpB,CAAA"}
1
+ {"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"AAiCA,eAAO,MAAM,SAAS;;;;;;;;;;CAKpB,CAAA"}
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
1
  import { createRoute } from '#lib/react-router-aid/react-router-aid';
3
2
  import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader';
4
- import { Box } from '@radix-ui/themes';
3
+ import { Container, Flex } from '@radix-ui/themes';
5
4
  import { Outlet } from 'react-router';
6
5
  import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
7
- import { MissingSchema } from "../components/MissingSchema.js";
8
- import { reference$type } from "./reference.$type.js";
6
+ import { MissingSchema } from '../components/MissingSchema.jsx';
7
+ import { TypeIndex } from '../components/TypeIndex.jsx';
8
+ import { reference$type } from './reference.$type.jsx';
9
9
  const loader = createLoader(() => {
10
10
  const latestSchemaVersion = PROJECT_DATA.schema?.versions[0].after ?? null;
11
11
  return {
@@ -15,9 +15,14 @@ const loader = createLoader(() => {
15
15
  const Component = () => {
16
16
  const data = useLoaderData();
17
17
  if (!data.schema) {
18
- return _jsx(MissingSchema, {});
18
+ return <MissingSchema />;
19
19
  }
20
- return (_jsx(Box, { className: 'prose', children: _jsx(Outlet, {}) }));
20
+ return (<Flex direction='row' align='start'>
21
+ <TypeIndex schema={data.schema}/>
22
+ <Container>
23
+ <Outlet />
24
+ </Container>
25
+ </Flex>);
21
26
  };
22
27
  export const reference = createRoute({
23
28
  path: `reference`,
@@ -25,4 +30,4 @@ export const reference = createRoute({
25
30
  Component,
26
31
  children: [reference$type],
27
32
  });
28
- //# sourceMappingURL=reference.js.map
33
+ //# sourceMappingURL=reference.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reference.jsx","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC1F,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,MAAM,MAAM,GAAG,YAAY,CAAC,GAAG,EAAE;IAC/B,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,CAAA;IAC1E,OAAO;QACL,MAAM,EAAE,mBAAmB;KAC5B,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,IAAI,GAAG,aAAa,EAAiB,CAAA;IAE3C,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;QACjB,OAAO,CAAC,aAAa,CAAC,AAAD,EAAG,CAAA;IAC1B,CAAC;IAED,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CACjC;MAAA,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,EAC/B;MAAA,CAAC,SAAS,CACR;QAAA,CAAC,MAAM,CAAC,AAAD,EACT;MAAA,EAAE,SAAS,CACb;IAAA,EAAE,IAAI,CAAC,CACR,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;IACnC,IAAI,EAAE,WAAW;IACjB,MAAM;IACN,SAAS;IACT,QAAQ,EAAE,CAAC,cAAc,CAAC;CAC3B,CAAC,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import type { ReactRouter } from '#dep/react-router/index';
2
- export declare const Component: () => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Component: () => import("react").JSX.Element;
3
3
  export declare const root: {
4
4
  path: string;
5
- Component: () => import("react/jsx-runtime").JSX.Element;
5
+ Component: () => import("react").JSX.Element;
6
6
  children: ReactRouter.RouteObject[];
7
7
  };
8
8
  //# sourceMappingURL=root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../src/template/routes/root.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AA4B1D,eAAO,MAAM,SAAS,+CA0BrB,CAAA;AAuLD,eAAO,MAAM,IAAI;;;;CAIf,CAAA"}
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../../src/template/routes/root.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AA+B1D,eAAO,MAAM,SAAS,mCAqBrB,CAAA;AAqLD,eAAO,MAAM,IAAI;;;;CAIf,CAAA"}
@@ -0,0 +1,188 @@
1
+ import { assetUrl } from '#api/utils/asset-url/index';
2
+ import { createRoute } from '#lib/react-router-aid/react-router-aid';
3
+ import { Box, Button, Grid, Heading, Text } from '@radix-ui/themes';
4
+ import { Flex, Theme } from '@radix-ui/themes';
5
+ import radixStylesUrl from '@radix-ui/themes/styles.css?url';
6
+ import { Arr } from '@wollybeard/kit';
7
+ import { Link as LinkReactRouter } from 'react-router';
8
+ import { Outlet, ScrollRestoration, useLocation } from 'react-router';
9
+ import logoSrc from 'virtual:polen/project/assets/logo.svg';
10
+ import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
11
+ import projectDataNavbar from 'virtual:polen/project/data/navbar.jsonsuper';
12
+ import projectDataPages from 'virtual:polen/project/data/pages.jsonsuper';
13
+ import { pages } from 'virtual:polen/project/pages.jsx';
14
+ import { templateVariables } from 'virtual:polen/template/variables';
15
+ import { Link } from '../components/Link.jsx';
16
+ import { Logo } from '../components/Logo.jsx';
17
+ import { Sidebar } from '../components/sidebar/Sidebar.jsx';
18
+ import entryClientUrl from '../entry.client.jsx?url';
19
+ import { changelog } from './changelog.jsx';
20
+ import { index } from './index.jsx';
21
+ import { reference } from './reference.jsx';
22
+ // todo: not needed anymore because not using hono dev vite plugin right?
23
+ const reactRefreshPreamble = `
24
+ import RefreshRuntime from "/@react-refresh";
25
+ RefreshRuntime.injectIntoGlobalHook(window);
26
+ window.$RefreshReg$ = () => {};
27
+ window.$RefreshSig$ = () => (type) => type;
28
+ window.__vite_plugin_react_preamble_installed__ = true;
29
+ `;
30
+ export const Component = () => {
31
+ return (<html lang='en'>
32
+ <head>
33
+ {import.meta.env.DEV && <script type='module'>{reactRefreshPreamble}</script>}
34
+ {import.meta.env.DEV && <script type='module' src='/@vite/client'></script>}
35
+ <meta charSet='utf-8'/>
36
+ <meta name='viewport' content='width=device-width, initial-scale=1'/>
37
+ <title>{templateVariables.title}</title>
38
+ {import.meta.env.DEV && <link rel='stylesheet' href={radixStylesUrl}/>}
39
+ {/* <link rel='icon' type='image/svg+xml' href={assetUrl('/favicon.svg', PROJECT_DATA.basePath)} /> */}
40
+ {/* <link rel='manifest' href={assetUrl('/manifest.json', PROJECT_DATA.basePath)} /> */}
41
+ {/* <meta name='theme-color' content='#000000' /> */}
42
+ </head>
43
+ <body style={{ margin: 0 }}>
44
+ <Layout />
45
+ <ScrollRestoration />
46
+ {import.meta.env.DEV && <script type='module' src={entryClientUrl}></script>}
47
+ </body>
48
+ </html>);
49
+ };
50
+ const Layout = () => {
51
+ const location = useLocation();
52
+ // Determine if we should show sidebar based on current path
53
+ const getCurrentNavPathExp = () => {
54
+ // todo: general path manipulation lib because we are duplicating logic here found in FileRouter
55
+ // todo: kit: try a Str.split that returns [] | string[] so that our predicates can refine on it?
56
+ const segments = location.pathname.split(`/`).filter(Boolean);
57
+ if (Arr.isntEmpty(segments)) {
58
+ return `/${segments[0]}`;
59
+ }
60
+ return null;
61
+ };
62
+ const currentNavPathExp = getCurrentNavPathExp();
63
+ const sidebar = currentNavPathExp && projectDataPages.sidebarIndex[currentNavPathExp];
64
+ const isShowSidebar = sidebar && sidebar.items.length > 0;
65
+ const header = (<Flex gridArea={'header'} align='center' gap='8' pb='4' mb='8' style={{
66
+ borderBottom: `1px solid var(--gray-3)`,
67
+ }}>
68
+ <LinkReactRouter to='/' style={{ color: `inherit`, textDecoration: `none` }}>
69
+ <Logo src={logoSrc} title={templateVariables.title} height={30} showTitle={true}/>
70
+ </LinkReactRouter>
71
+ <Flex direction='row' gap='4'>
72
+ {projectDataNavbar.map((item, key) => (<Link key={key} color='gray' to={item.pathExp}>
73
+ {item.title}
74
+ </Link>))}
75
+ </Flex>
76
+ </Flex>);
77
+ return (<Theme asChild>
78
+ <Grid width={{ initial: 'var(--container-4)' }} areas="'header header header header header header header header' 'sidebar sidebar . content content content content content'" rows='min-content auto' columns='repeat(8, 1fr)' gapX='2' my='8' mx='auto'>
79
+ <style>
80
+ {`
81
+ /* Shiki code blocks */
82
+ pre.shiki {
83
+ margin: 1rem 0;
84
+ padding: 1rem;
85
+ border-radius: 8px;
86
+ overflow-x: auto;
87
+ font-size: 14px;
88
+ line-height: 1.6;
89
+ background-color: #f6f8fa;
90
+ }
91
+
92
+ /* Light mode: use --shiki-light CSS variables from inline styles */
93
+ pre.shiki span {
94
+ color: var(--shiki-light);
95
+ }
96
+
97
+ /* Dark mode - Radix Themes uses [data-is-root-theme="dark"] */
98
+ [data-is-root-theme="dark"] pre.shiki {
99
+ background-color: #1a1b26;
100
+ }
101
+
102
+ [data-is-root-theme="dark"] pre.shiki span {
103
+ color: var(--shiki-dark);
104
+ }
105
+
106
+ pre.shiki code {
107
+ font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
108
+ background: transparent;
109
+ display: block;
110
+ }
111
+ `}
112
+ </style>
113
+ {header}
114
+ {isShowSidebar && (<Sidebar gridColumn='1 / 3' gridRow='2 / auto' data={sidebar.items}/>)}
115
+ <Box gridArea='content / content / auto / 8'>
116
+ <Outlet />
117
+ </Box>
118
+ </Grid>
119
+ </Theme>);
120
+ };
121
+ const children = [
122
+ index,
123
+ ...pages,
124
+ ];
125
+ //
126
+ //
127
+ //
128
+ //
129
+ // ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • Project Routes
130
+ //
131
+ //
132
+ //
133
+ if (PROJECT_DATA.schema) {
134
+ children.push(changelog);
135
+ children.push(reference);
136
+ }
137
+ //
138
+ //
139
+ //
140
+ //
141
+ // ━━━━━━━━━━━━━━ • Not Found Route
142
+ //
143
+ //
144
+ //
145
+ const NotFoundComponent = () => {
146
+ return (<Flex direction='column' align='center' gap='6' style={{ textAlign: `center`, paddingTop: `4rem` }}>
147
+ <Heading size='9' style={{ color: `var(--gray-12)` }}>404</Heading>
148
+ <Box>
149
+ <Heading size='5' mb='2'>Page Not Found</Heading>
150
+ <Text size='3' color='gray'>
151
+ The page you're looking for doesn't exist or has been moved.
152
+ </Text>
153
+ </Box>
154
+ <Flex gap='3'>
155
+ <LinkReactRouter to='/'>
156
+ <Button variant='soft' size='3'>
157
+ Go Home
158
+ </Button>
159
+ </LinkReactRouter>
160
+ <LinkReactRouter to='/reference'>
161
+ <Button variant='outline' size='3'>
162
+ View API Reference
163
+ </Button>
164
+ </LinkReactRouter>
165
+ </Flex>
166
+ </Flex>);
167
+ };
168
+ const notFoundRoute = createRoute({
169
+ id: `*_not_found`,
170
+ path: `*`,
171
+ Component: NotFoundComponent,
172
+ handle: {
173
+ statusCode: 404,
174
+ },
175
+ });
176
+ children.push(notFoundRoute);
177
+ //
178
+ //
179
+ //
180
+ // ━━━━━━━━━━━━━━ • Root Route
181
+ //
182
+ //
183
+ export const root = createRoute({
184
+ path: `/`,
185
+ Component,
186
+ children,
187
+ });
188
+ //# sourceMappingURL=root.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"root.jsx","sourceRoot":"","sources":["../../../src/template/routes/root.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EAAE,GAAG,EAAE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Q,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;AAE5B,EAAE;AACF,EAAE;AACF,EAAE;AACF,8BAA8B;AAC9B,EAAE;AACF,EAAE;AAEF,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAC;IAC9B,IAAI,EAAE,GAAG;IACT,SAAS;IACT,QAAQ;CACT,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { root } from './routes/root.jsx';
2
+ export const routes = [
3
+ root,
4
+ ];
5
+ //# sourceMappingURL=routes.jsx.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routes.jsx","sourceRoot":"","sources":["../../src/template/routes.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,MAAM,CAAC,MAAM,MAAM,GAAkB;IACnC,IAAI;CACL,CAAA"}