polen 0.10.0-next.10 → 0.10.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/builder/builder.js +1 -1
- package/build/api/builder/builder.js.map +1 -1
- package/build/api/config/load.js +1 -1
- package/build/api/config/load.js.map +1 -1
- package/build/api/vite/plugins/build.js +1 -1
- package/build/api/vite/plugins/build.js.map +1 -1
- package/build/api/vite/plugins/core.d.ts.map +1 -1
- package/build/api/vite/plugins/core.js +0 -2
- package/build/api/vite/plugins/core.js.map +1 -1
- package/build/api/vite/plugins/pages.js +1 -1
- package/build/api/vite/plugins/pages.js.map +1 -1
- package/build/exports/components.d.ts +4 -1
- package/build/exports/components.d.ts.map +1 -1
- package/build/exports/components.js +4 -1
- package/build/exports/components.js.map +1 -1
- package/build/lib/demos/config-schema.d.ts +6 -6
- package/build/lib/github-actions/runner.js +2 -2
- package/build/lib/github-actions/runner.js.map +1 -1
- package/build/lib/graphql-document/$$.d.ts +5 -0
- package/build/lib/graphql-document/$$.d.ts.map +1 -0
- package/build/lib/graphql-document/$$.js +5 -0
- package/build/lib/graphql-document/$$.js.map +1 -0
- package/build/lib/graphql-document/$.d.ts +2 -0
- package/build/lib/graphql-document/$.d.ts.map +1 -0
- package/build/lib/graphql-document/$.js +2 -0
- package/build/lib/graphql-document/$.js.map +1 -0
- package/build/lib/graphql-document/analysis.d.ts +44 -0
- package/build/lib/graphql-document/analysis.d.ts.map +1 -0
- package/build/lib/graphql-document/analysis.js +361 -0
- package/build/lib/graphql-document/analysis.js.map +1 -0
- package/build/lib/graphql-document/components/GraphQLDocument.d.ts +42 -0
- package/build/lib/graphql-document/components/GraphQLDocument.d.ts.map +1 -0
- package/build/lib/graphql-document/components/GraphQLDocument.js +173 -0
- package/build/lib/graphql-document/components/GraphQLDocument.js.map +1 -0
- package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts +7 -0
- package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.d.ts.map +1 -0
- package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js +45 -0
- package/build/lib/graphql-document/components/GraphQLDocumentWithSchema.js.map +1 -0
- package/build/lib/graphql-document/components/HoverTooltip.d.ts +35 -0
- package/build/lib/graphql-document/components/HoverTooltip.d.ts.map +1 -0
- package/build/lib/graphql-document/components/HoverTooltip.js +132 -0
- package/build/lib/graphql-document/components/HoverTooltip.js.map +1 -0
- package/build/lib/graphql-document/components/IdentifierLink.d.ts +37 -0
- package/build/lib/graphql-document/components/IdentifierLink.d.ts.map +1 -0
- package/build/lib/graphql-document/components/IdentifierLink.js +141 -0
- package/build/lib/graphql-document/components/IdentifierLink.js.map +1 -0
- package/build/lib/graphql-document/components/index.d.ts +5 -0
- package/build/lib/graphql-document/components/index.d.ts.map +1 -0
- package/build/lib/graphql-document/components/index.js +5 -0
- package/build/lib/graphql-document/components/index.js.map +1 -0
- package/build/lib/graphql-document/example.d.ts +25 -0
- package/build/lib/graphql-document/example.d.ts.map +1 -0
- package/build/lib/graphql-document/example.js +140 -0
- package/build/lib/graphql-document/example.js.map +1 -0
- package/build/lib/graphql-document/graphql-document.d.ts +35 -0
- package/build/lib/graphql-document/graphql-document.d.ts.map +1 -0
- package/build/lib/graphql-document/graphql-document.js +36 -0
- package/build/lib/graphql-document/graphql-document.js.map +1 -0
- package/build/lib/graphql-document/positioning-simple.d.ts +68 -0
- package/build/lib/graphql-document/positioning-simple.d.ts.map +1 -0
- package/build/lib/graphql-document/positioning-simple.js +197 -0
- package/build/lib/graphql-document/positioning-simple.js.map +1 -0
- package/build/lib/graphql-document/schema-context.d.ts +8 -0
- package/build/lib/graphql-document/schema-context.d.ts.map +1 -0
- package/build/lib/graphql-document/schema-context.js +11 -0
- package/build/lib/graphql-document/schema-context.js.map +1 -0
- package/build/lib/graphql-document/schema-integration-example.d.ts +27 -0
- package/build/lib/graphql-document/schema-integration-example.d.ts.map +1 -0
- package/build/lib/graphql-document/schema-integration-example.js +297 -0
- package/build/lib/graphql-document/schema-integration-example.js.map +1 -0
- package/build/lib/graphql-document/schema-integration.d.ts +135 -0
- package/build/lib/graphql-document/schema-integration.d.ts.map +1 -0
- package/build/lib/graphql-document/schema-integration.js +328 -0
- package/build/lib/graphql-document/schema-integration.js.map +1 -0
- package/build/lib/graphql-document/types.d.ts +117 -0
- package/build/lib/graphql-document/types.d.ts.map +1 -0
- package/build/lib/graphql-document/types.js +2 -0
- package/build/lib/graphql-document/types.js.map +1 -0
- package/build/template/components/ArgumentAnnotation.js +10 -0
- package/build/template/components/ArgumentAnnotation.js.map +1 -0
- package/build/template/components/ArgumentList.js +9 -0
- package/build/template/components/ArgumentList.js.map +1 -0
- package/build/template/components/ArgumentListAnnotation.js +15 -0
- package/build/template/components/ArgumentListAnnotation.js.map +1 -0
- package/build/template/components/Changelog.js +44 -0
- package/build/template/components/Changelog.js.map +1 -0
- package/build/template/components/{CodeBlock.jsx → CodeBlock.js} +4 -5
- package/build/template/components/{CodeBlock.jsx.map → CodeBlock.js.map} +1 -1
- package/build/template/components/CodeBlockEnhancer.d.ts +2 -0
- package/build/template/components/CodeBlockEnhancer.d.ts.map +1 -0
- package/build/template/components/CodeBlockEnhancer.js +175 -0
- package/build/template/components/CodeBlockEnhancer.js.map +1 -0
- package/build/template/components/DeprecationReason.js +9 -0
- package/build/template/components/DeprecationReason.js.map +1 -0
- package/build/template/components/Description.js +9 -0
- package/build/template/components/Description.js.map +1 -0
- package/build/template/components/Field.js +14 -0
- package/build/template/components/Field.js.map +1 -0
- package/build/template/components/{FieldList.jsx → FieldList.js} +4 -5
- package/build/template/components/FieldList.js.map +1 -0
- package/build/template/components/{FieldListSection.jsx → FieldListSection.js} +4 -6
- package/build/template/components/FieldListSection.js.map +1 -0
- package/build/template/components/HamburgerMenu.js +30 -0
- package/build/template/components/HamburgerMenu.js.map +1 -0
- package/build/template/components/Link.d.ts +1 -1
- package/build/template/components/{Link.jsx → Link.js} +4 -5
- package/build/template/components/Link.js.map +1 -0
- package/build/template/components/Logo.js +20 -0
- package/build/template/components/Logo.js.map +1 -0
- package/build/template/components/MDXComponents.d.ts +11 -0
- package/build/template/components/MDXComponents.d.ts.map +1 -0
- package/build/template/components/MDXComponents.js +70 -0
- package/build/template/components/MDXComponents.js.map +1 -0
- package/build/template/components/{Markdown.jsx → Markdown.js} +3 -2
- package/build/template/components/Markdown.js.map +1 -0
- package/build/template/components/MissingSchema.d.ts +1 -1
- package/build/template/components/MissingSchema.d.ts.map +1 -1
- package/build/template/components/MissingSchema.js +5 -0
- package/build/template/components/MissingSchema.js.map +1 -0
- package/build/template/components/NamedType.js +12 -0
- package/build/template/components/NamedType.js.map +1 -0
- package/build/template/components/NotFound.js +7 -0
- package/build/template/components/NotFound.js.map +1 -0
- package/build/template/components/{RadixLink.jsx → RadixLink.js} +1 -1
- package/build/template/components/RadixLink.js.map +1 -0
- package/build/template/components/TestComponent.d.ts +5 -0
- package/build/template/components/TestComponent.d.ts.map +1 -0
- package/build/template/components/TestComponent.js +7 -0
- package/build/template/components/TestComponent.js.map +1 -0
- package/build/template/components/Texts/{MinorHeading.jsx → MinorHeading.js} +4 -3
- package/build/template/components/Texts/MinorHeading.js.map +1 -0
- package/build/template/components/Texts/texts.js +1 -1
- package/build/template/components/Texts/texts.js.map +1 -1
- package/build/template/components/ThemeToggle.js +9 -0
- package/build/template/components/ThemeToggle.js.map +1 -0
- package/build/template/components/{TypeAnnotation.jsx → TypeAnnotation.js} +8 -18
- package/build/template/components/TypeAnnotation.js.map +1 -0
- package/build/template/components/TypeFieldsLinkList.js +9 -0
- package/build/template/components/TypeFieldsLinkList.js.map +1 -0
- package/build/template/components/TypeIndex.js +17 -0
- package/build/template/components/TypeIndex.js.map +1 -0
- package/build/template/components/content/$$.d.ts +1 -0
- package/build/template/components/content/$$.d.ts.map +1 -1
- package/build/template/components/content/$$.js +1 -0
- package/build/template/components/content/$$.js.map +1 -1
- package/build/template/components/content/GraphQLDocumentWithSchema.d.ts +8 -0
- package/build/template/components/content/GraphQLDocumentWithSchema.d.ts.map +1 -0
- package/build/template/components/content/GraphQLDocumentWithSchema.js +16 -0
- package/build/template/components/content/GraphQLDocumentWithSchema.js.map +1 -0
- package/build/template/components/content/GraphQLDocumentWrapper.d.ts +7 -0
- package/build/template/components/content/GraphQLDocumentWrapper.d.ts.map +1 -0
- package/build/template/components/content/GraphQLDocumentWrapper.js +62 -0
- package/build/template/components/content/GraphQLDocumentWrapper.js.map +1 -0
- package/build/template/components/graphql/graphql.d.ts +2 -2
- package/build/template/components/graphql/graphql.js +3 -0
- package/build/template/components/graphql/graphql.js.map +1 -0
- package/build/template/components/graphql/index.d.ts +1 -1
- package/build/template/components/graphql/index.js +1 -1
- package/build/template/components/graphql/index.js.map +1 -1
- package/build/template/components/graphql/{type-kind-icon.jsx → type-kind-icon.js} +3 -2
- package/build/template/components/graphql/type-kind-icon.js.map +1 -0
- package/build/template/components/graphql/type-link.js +11 -0
- package/build/template/components/graphql/type-link.js.map +1 -0
- package/build/template/components/sidebar/Sidebar.d.ts +1 -1
- package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
- package/build/template/components/sidebar/Sidebar.js +11 -0
- package/build/template/components/sidebar/Sidebar.js.map +1 -0
- package/build/template/components/sidebar/{SidebarItem.jsx → SidebarItem.js} +15 -32
- package/build/template/components/sidebar/SidebarItem.js.map +1 -0
- package/build/template/components/sidebar/ToggleButton.d.ts +1 -1
- package/build/template/components/sidebar/ToggleButton.d.ts.map +1 -1
- package/build/template/components/sidebar/ToggleButton.js +5 -0
- package/build/template/components/sidebar/ToggleButton.js.map +1 -0
- package/build/template/contexts/{ThemeContext.jsx → ThemeContext.js} +3 -4
- package/build/template/contexts/{ThemeContext.jsx.map → ThemeContext.js.map} +1 -1
- package/build/template/entry.client.d.ts +1 -0
- package/build/template/entry.client.d.ts.map +1 -1
- package/build/template/{entry.client.jsx → entry.client.js} +5 -6
- package/build/template/entry.client.js.map +1 -0
- package/build/template/routes/changelog.d.ts +1 -1
- package/build/template/routes/{changelog.jsx → changelog.js} +5 -4
- package/build/template/routes/changelog.js.map +1 -0
- package/build/template/routes/{index.jsx → index.js} +3 -2
- package/build/template/routes/index.js.map +1 -0
- package/build/template/routes/reference.$type.$field.d.ts +1 -1
- package/build/template/routes/{reference.$type.$field.jsx → reference.$type.$field.js} +6 -5
- package/build/template/routes/reference.$type.$field.js.map +1 -0
- package/build/template/routes/reference.$type.d.ts +1 -1
- package/build/template/routes/{reference.$type.jsx → reference.$type.js} +6 -5
- package/build/template/routes/reference.$type.js.map +1 -0
- package/build/template/routes/reference.d.ts +2 -2
- package/build/template/routes/reference.d.ts.map +1 -1
- package/build/template/routes/{reference.jsx → reference.js} +7 -12
- package/build/template/routes/reference.js.map +1 -0
- package/build/template/routes/root.d.ts +2 -2
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +286 -0
- package/build/template/routes/root.js.map +1 -0
- package/build/template/routes.js +5 -0
- package/build/template/routes.js.map +1 -0
- package/build/template/server/app.js +1 -1
- package/build/template/server/app.js.map +1 -1
- package/build/template/server/{render-page.jsx → render-page.js} +3 -4
- package/build/template/server/render-page.js.map +1 -0
- package/build/template/server/ssg/generate.js +1 -1
- package/build/template/server/ssg/generate.js.map +1 -1
- package/build/template/server/ssg/get-route-paths.js +1 -1
- package/build/template/server/ssg/get-route-paths.js.map +1 -1
- package/build/template/server/view.js +1 -1
- package/build/template/server/view.js.map +1 -1
- package/package.json +56 -8
- package/src/api/vite/plugins/core.ts +0 -3
- package/src/api/vite/plugins/pages.ts +1 -1
- package/src/exports/components.ts +4 -1
- package/src/lib/graphql-document/$$.ts +4 -0
- package/src/lib/graphql-document/$.test.ts +132 -0
- package/src/lib/graphql-document/$.ts +1 -0
- package/src/lib/graphql-document/README.md +102 -0
- package/src/lib/graphql-document/analysis.ts +415 -0
- package/src/lib/graphql-document/components/GraphQLDocument.tsx +284 -0
- package/src/lib/graphql-document/components/GraphQLDocument.unit.test.ts +188 -0
- package/src/lib/graphql-document/components/GraphQLDocumentWithSchema.tsx +70 -0
- package/src/lib/graphql-document/components/HoverTooltip.tsx +282 -0
- package/src/lib/graphql-document/components/IdentifierLink.tsx +221 -0
- package/src/lib/graphql-document/components/index.ts +4 -0
- package/src/lib/graphql-document/demo.md +155 -0
- package/src/lib/graphql-document/example.ts +163 -0
- package/src/lib/graphql-document/graphql-document.ts +37 -0
- package/src/lib/graphql-document/positioning-simple.test.ts +252 -0
- package/src/lib/graphql-document/positioning-simple.ts +271 -0
- package/src/lib/graphql-document/schema-context.tsx +20 -0
- package/src/lib/graphql-document/schema-integration-example.ts +341 -0
- package/src/lib/graphql-document/schema-integration.test.ts +365 -0
- package/src/lib/graphql-document/schema-integration.ts +497 -0
- package/src/lib/graphql-document/types.ts +129 -0
- package/src/template/components/ArgumentAnnotation.tsx +1 -1
- package/src/template/components/ArgumentList.tsx +1 -1
- package/src/template/components/ArgumentListAnnotation.tsx +2 -2
- package/src/template/components/CodeBlockEnhancer.tsx +192 -0
- package/src/template/components/DeprecationReason.tsx +1 -1
- package/src/template/components/Description.tsx +1 -1
- package/src/template/components/Field.tsx +4 -4
- package/src/template/components/FieldList.tsx +1 -1
- package/src/template/components/FieldListSection.tsx +1 -1
- package/src/template/components/Link.tsx +2 -2
- package/src/template/components/MDXComponents.tsx +101 -0
- package/src/template/components/NamedType.tsx +2 -2
- package/src/template/components/TestComponent.tsx +6 -0
- package/src/template/components/TypeAnnotation.tsx +1 -1
- package/src/template/components/TypeFieldsLinkList.tsx +1 -1
- package/src/template/components/TypeIndex.tsx +1 -1
- package/src/template/components/content/$$.ts +1 -0
- package/src/template/components/content/GraphQLDocumentWithSchema.tsx +18 -0
- package/src/template/components/content/GraphQLDocumentWrapper.tsx +82 -0
- package/src/template/components/graphql/graphql.tsx +2 -2
- package/src/template/components/graphql/index.ts +1 -1
- package/src/template/components/graphql/type-link.tsx +2 -2
- package/src/template/components/sidebar/SidebarItem.tsx +4 -4
- package/src/template/entry.client.tsx +2 -2
- package/src/template/routes/changelog.tsx +1 -1
- package/src/template/routes/reference.$type.$field.tsx +3 -3
- package/src/template/routes/reference.$type.tsx +3 -3
- package/src/template/routes/reference.tsx +6 -10
- package/src/template/routes/root.tsx +145 -5
- package/src/template/routes.tsx +1 -1
- package/src/template/server/app.ts +1 -1
- package/src/template/server/ssg/generate.ts +1 -1
- package/src/template/server/ssg/get-route-paths.ts +1 -1
- package/src/template/server/view.ts +1 -1
- package/src/template/styles/code-block.css +32 -0
- package/build/template/components/ArgumentAnnotation.jsx +0 -16
- package/build/template/components/ArgumentAnnotation.jsx.map +0 -1
- package/build/template/components/ArgumentList.jsx +0 -16
- package/build/template/components/ArgumentList.jsx.map +0 -1
- package/build/template/components/ArgumentListAnnotation.jsx +0 -23
- package/build/template/components/ArgumentListAnnotation.jsx.map +0 -1
- package/build/template/components/Changelog.jsx +0 -68
- package/build/template/components/Changelog.jsx.map +0 -1
- package/build/template/components/DeprecationReason.jsx +0 -10
- package/build/template/components/DeprecationReason.jsx.map +0 -1
- package/build/template/components/Description.jsx +0 -10
- package/build/template/components/Description.jsx.map +0 -1
- package/build/template/components/Field.jsx +0 -22
- package/build/template/components/Field.jsx.map +0 -1
- package/build/template/components/FieldList.jsx.map +0 -1
- package/build/template/components/FieldListSection.jsx.map +0 -1
- package/build/template/components/HamburgerMenu.jsx +0 -53
- package/build/template/components/HamburgerMenu.jsx.map +0 -1
- package/build/template/components/Link.jsx.map +0 -1
- package/build/template/components/Logo.jsx +0 -29
- package/build/template/components/Logo.jsx.map +0 -1
- package/build/template/components/Markdown.jsx.map +0 -1
- package/build/template/components/MissingSchema.jsx +0 -4
- package/build/template/components/MissingSchema.jsx.map +0 -1
- package/build/template/components/NamedType.jsx +0 -17
- package/build/template/components/NamedType.jsx.map +0 -1
- package/build/template/components/NotFound.jsx +0 -26
- package/build/template/components/NotFound.jsx.map +0 -1
- package/build/template/components/RadixLink.jsx.map +0 -1
- package/build/template/components/Texts/MinorHeading.jsx.map +0 -1
- package/build/template/components/ThemeToggle.jsx +0 -10
- package/build/template/components/ThemeToggle.jsx.map +0 -1
- package/build/template/components/TypeAnnotation.jsx.map +0 -1
- package/build/template/components/TypeFieldsLinkList.jsx +0 -17
- package/build/template/components/TypeFieldsLinkList.jsx.map +0 -1
- package/build/template/components/TypeIndex.jsx +0 -27
- package/build/template/components/TypeIndex.jsx.map +0 -1
- package/build/template/components/graphql/graphql.jsx +0 -3
- package/build/template/components/graphql/graphql.jsx.map +0 -1
- package/build/template/components/graphql/type-kind-icon.jsx.map +0 -1
- package/build/template/components/graphql/type-link.jsx +0 -16
- package/build/template/components/graphql/type-link.jsx.map +0 -1
- package/build/template/components/sidebar/Sidebar.jsx +0 -15
- package/build/template/components/sidebar/Sidebar.jsx.map +0 -1
- package/build/template/components/sidebar/SidebarItem.jsx.map +0 -1
- package/build/template/components/sidebar/ToggleButton.jsx +0 -6
- package/build/template/components/sidebar/ToggleButton.jsx.map +0 -1
- package/build/template/entry.client.jsx.map +0 -1
- package/build/template/routes/changelog.jsx.map +0 -1
- package/build/template/routes/index.jsx.map +0 -1
- package/build/template/routes/reference.$type.$field.jsx.map +0 -1
- package/build/template/routes/reference.$type.jsx.map +0 -1
- package/build/template/routes/reference.jsx.map +0 -1
- package/build/template/routes/root.jsx +0 -204
- package/build/template/routes/root.jsx.map +0 -1
- package/build/template/routes.jsx +0 -5
- package/build/template/routes.jsx.map +0 -1
- package/build/template/server/render-page.jsx.map +0 -1
@@ -1,7 +1,8 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { createRoute } from '#lib/react-router-aid/react-router-aid';
|
2
3
|
import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader';
|
3
4
|
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
4
|
-
import { Changelog } from
|
5
|
+
import { Changelog } from "../components/Changelog.js";
|
5
6
|
const loader = createLoader(() => {
|
6
7
|
return {
|
7
8
|
schema: PROJECT_DATA.schema,
|
@@ -10,13 +11,13 @@ const loader = createLoader(() => {
|
|
10
11
|
const Component = () => {
|
11
12
|
const data = useLoaderData();
|
12
13
|
if (!data.schema) {
|
13
|
-
return
|
14
|
+
return _jsx("div", { children: "No data to show. There is no schema is." });
|
14
15
|
}
|
15
|
-
return
|
16
|
+
return _jsx(Changelog, { schema: data.schema });
|
16
17
|
};
|
17
18
|
export const changelog = createRoute({
|
18
19
|
path: `changelog`,
|
19
20
|
loader,
|
20
21
|
Component,
|
21
22
|
});
|
22
|
-
//# sourceMappingURL=changelog.
|
23
|
+
//# sourceMappingURL=changelog.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"changelog.js","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,4BAA6B,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,oEAAkD,CAAA;IAC3D,CAAC;IAED,OAAO,KAAC,SAAS,IAAC,MAAM,EAAE,IAAI,CAAC,MAAM,GAAI,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;IACnC,IAAI,EAAE,WAAW;IACjB,MAAM;IACN,SAAS;CACV,CAAC,CAAA"}
|
@@ -1,9 +1,10 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { createRouteIndex } from '#lib/react-router-aid/react-router-aid';
|
2
3
|
import { Box } from '@radix-ui/themes';
|
3
4
|
const Component = () => {
|
4
|
-
return
|
5
|
+
return _jsx(Box, { children: "home todo" });
|
5
6
|
};
|
6
7
|
export const index = createRouteIndex({
|
7
8
|
Component,
|
8
9
|
});
|
9
|
-
//# sourceMappingURL=index.
|
10
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","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,KAAC,GAAG,4BAAgB,CAAA;AAC7B,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,KAAK,GAAG,gBAAgB,CAAC;IACpC,SAAS;CACV,CAAC,CAAA"}
|
@@ -1,14 +1,15 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { Grafaid } from '#lib/grafaid/index';
|
2
3
|
import { ReactRouterAid } from '#lib/react-router-aid/index';
|
3
4
|
import { useLoaderData } from '#lib/react-router-loader/react-router-loader';
|
4
5
|
import { useParams } from 'react-router';
|
5
|
-
import { Field } from
|
6
|
-
import { MissingSchema } from
|
6
|
+
import { Field } from "../components/Field.js";
|
7
|
+
import { MissingSchema } from "../components/MissingSchema.js";
|
7
8
|
const Component = () => {
|
8
9
|
const params = useParams();
|
9
10
|
const data = useLoaderData(`reference`);
|
10
11
|
if (!data.schema) {
|
11
|
-
return
|
12
|
+
return _jsx(MissingSchema, {});
|
12
13
|
}
|
13
14
|
const type = data.schema.getType(params.type);
|
14
15
|
if (!type)
|
@@ -21,10 +22,10 @@ const Component = () => {
|
|
21
22
|
if (!field) {
|
22
23
|
return `Could not find field ${params.field} on type ${params.type}`;
|
23
24
|
}
|
24
|
-
return
|
25
|
+
return _jsx(Field, { data: field });
|
25
26
|
};
|
26
27
|
export const reference$type$field = ReactRouterAid.createRoute({
|
27
28
|
path: `:type/:field`,
|
28
29
|
Component,
|
29
30
|
});
|
30
|
-
//# sourceMappingURL=reference.$type.$field.
|
31
|
+
//# sourceMappingURL=reference.$type.$field.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reference.$type.$field.js","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,wBAAyB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAiC,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,KAAC,aAAa,KAAG,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,KAAC,KAAK,IAAC,IAAI,EAAE,KAAK,GAAI,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,22 +1,23 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { createRoute } from '#lib/react-router-aid/react-router-aid';
|
2
3
|
import { useLoaderData } from '#lib/react-router-loader/react-router-loader';
|
3
4
|
import { useParams } from 'react-router';
|
4
|
-
import { MissingSchema } from
|
5
|
-
import { NamedType } from
|
5
|
+
import { MissingSchema } from "../components/MissingSchema.js";
|
6
|
+
import { NamedType } from "../components/NamedType.js";
|
6
7
|
const Component = () => {
|
7
8
|
const params = useParams();
|
8
9
|
const data = useLoaderData(`reference`);
|
9
10
|
if (!data.schema) {
|
10
|
-
return
|
11
|
+
return _jsx(MissingSchema, {});
|
11
12
|
}
|
12
13
|
const type = data.schema.getType(params.type);
|
13
14
|
if (!type) {
|
14
15
|
return `Could not find type ${params.type}`;
|
15
16
|
}
|
16
|
-
return
|
17
|
+
return _jsx(NamedType, { data: type });
|
17
18
|
};
|
18
19
|
export const reference$type = createRoute({
|
19
20
|
path: `:type`,
|
20
21
|
Component,
|
21
22
|
});
|
22
|
-
//# sourceMappingURL=reference.$type.
|
23
|
+
//# sourceMappingURL=reference.$type.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reference.$type.js","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,gCAAiC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA6B,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,KAAC,aAAa,KAAG,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,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,GAAI,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.Element;
|
6
|
+
Component: () => import("react/jsx-runtime").JSX.Element;
|
7
7
|
children: {
|
8
8
|
path: string;
|
9
|
-
Component: () => string | import("react").JSX.Element;
|
9
|
+
Component: () => string | import("react/jsx-runtime").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":"
|
1
|
+
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"AA6BA,eAAO,MAAM,SAAS;;;;;;;;;;CAKpB,CAAA"}
|
@@ -1,11 +1,11 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { createRoute } from '#lib/react-router-aid/react-router-aid';
|
2
3
|
import { createLoader, useLoaderData } from '#lib/react-router-loader/react-router-loader';
|
3
|
-
import {
|
4
|
+
import { Box } from '@radix-ui/themes';
|
4
5
|
import { Outlet } from 'react-router';
|
5
6
|
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
6
|
-
import { MissingSchema } from
|
7
|
-
import {
|
8
|
-
import { reference$type } from './reference.$type.jsx';
|
7
|
+
import { MissingSchema } from "../components/MissingSchema.js";
|
8
|
+
import { reference$type } from "./reference.$type.js";
|
9
9
|
const loader = createLoader(() => {
|
10
10
|
const latestSchemaVersion = PROJECT_DATA.schema?.versions[0].after ?? null;
|
11
11
|
return {
|
@@ -15,14 +15,9 @@ const loader = createLoader(() => {
|
|
15
15
|
const Component = () => {
|
16
16
|
const data = useLoaderData();
|
17
17
|
if (!data.schema) {
|
18
|
-
return
|
18
|
+
return _jsx(MissingSchema, {});
|
19
19
|
}
|
20
|
-
return (
|
21
|
-
<TypeIndex schema={data.schema}/>
|
22
|
-
<Container>
|
23
|
-
<Outlet />
|
24
|
-
</Container>
|
25
|
-
</Flex>);
|
20
|
+
return (_jsx(Box, { className: 'prose', children: _jsx(Outlet, {}) }));
|
26
21
|
};
|
27
22
|
export const reference = createRoute({
|
28
23
|
path: `reference`,
|
@@ -30,4 +25,4 @@ export const reference = createRoute({
|
|
30
25
|
Component,
|
31
26
|
children: [reference$type],
|
32
27
|
});
|
33
|
-
//# sourceMappingURL=reference.
|
28
|
+
//# sourceMappingURL=reference.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reference.js","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,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAiC,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAuB,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,KAAC,aAAa,KAAG,CAAA;IAC1B,CAAC;IAED,OAAO,CACL,KAAC,GAAG,IAAC,SAAS,EAAC,OAAO,YACpB,KAAC,MAAM,KAAG,GACN,CACP,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.Element;
|
2
|
+
export declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
3
3
|
export declare const root: {
|
4
4
|
path: string;
|
5
|
-
Component: () => import("react").JSX.Element;
|
5
|
+
Component: () => import("react/jsx-runtime").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":"
|
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;AAuC1D,eAAO,MAAM,SAAS,+CAkCrB,CAAA;AAmUD,eAAO,MAAM,IAAI;;;;CAIf,CAAA"}
|
@@ -0,0 +1,286 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { GrafaidOld } from '#lib/grafaid-old/index';
|
3
|
+
import { createRoute } from '#lib/react-router-aid/react-router-aid';
|
4
|
+
import { Box, Grid } from '@radix-ui/themes';
|
5
|
+
import { Flex, Theme } from '@radix-ui/themes';
|
6
|
+
import radixStylesUrl from '@radix-ui/themes/styles.css?url';
|
7
|
+
import { Arr } from '@wollybeard/kit';
|
8
|
+
import { useEffect, useState } from 'react';
|
9
|
+
import { Link as LinkReactRouter } from 'react-router';
|
10
|
+
import { Outlet, ScrollRestoration, useLocation } from 'react-router';
|
11
|
+
import logoSrc from 'virtual:polen/project/assets/logo.svg';
|
12
|
+
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
13
|
+
import projectDataNavbar from 'virtual:polen/project/data/navbar.jsonsuper';
|
14
|
+
import projectPagesCatalog from 'virtual:polen/project/data/pages-catalog.jsonsuper';
|
15
|
+
import { routes } from 'virtual:polen/project/routes.jsx';
|
16
|
+
import { templateVariables } from 'virtual:polen/template/variables';
|
17
|
+
import { GraphQLSchemaProvider } from "../../lib/graphql-document/schema-context.js";
|
18
|
+
import { CodeBlockEnhancer } from "../components/CodeBlockEnhancer.js";
|
19
|
+
import { HamburgerMenu } from "../components/HamburgerMenu.js";
|
20
|
+
import { Link } from "../components/Link.js";
|
21
|
+
import { Logo } from "../components/Logo.js";
|
22
|
+
import { NotFound } from "../components/NotFound.js";
|
23
|
+
import { Sidebar } from "../components/sidebar/Sidebar.js";
|
24
|
+
import { ThemeToggle } from "../components/ThemeToggle.js";
|
25
|
+
import { ThemeProvider, useTheme } from "../contexts/ThemeContext.js";
|
26
|
+
import entryClientUrl from '../entry.client.jsx?url';
|
27
|
+
import { changelog } from "./changelog.js";
|
28
|
+
import { index } from "./index.js";
|
29
|
+
import { reference } from "./reference.js";
|
30
|
+
// todo: not needed anymore because not using hono dev vite plugin right?
|
31
|
+
const reactRefreshPreamble = `
|
32
|
+
import RefreshRuntime from "/@react-refresh";
|
33
|
+
RefreshRuntime.injectIntoGlobalHook(window);
|
34
|
+
window.$RefreshReg$ = () => {};
|
35
|
+
window.$RefreshSig$ = () => (type) => type;
|
36
|
+
window.__vite_plugin_react_preamble_installed__ = true;
|
37
|
+
`;
|
38
|
+
export const Component = () => {
|
39
|
+
const schema = PROJECT_DATA.schema?.versions[0]?.after || null;
|
40
|
+
console.log('Root component - schema:', schema ? 'EXISTS' : 'NULL');
|
41
|
+
// Make schema available globally for MDX components
|
42
|
+
if (typeof window !== 'undefined' && schema) {
|
43
|
+
;
|
44
|
+
window.__POLEN_GRAPHQL_SCHEMA__ = schema;
|
45
|
+
}
|
46
|
+
return (_jsxs("html", { lang: 'en', children: [_jsxs("head", { children: [import.meta.env.DEV && _jsx("script", { type: 'module', children: reactRefreshPreamble }), import.meta.env.DEV && _jsx("script", { type: 'module', src: '/@vite/client' }), _jsx("meta", { charSet: 'utf-8' }), _jsx("meta", { name: 'viewport', content: 'width=device-width, initial-scale=1' }), _jsx("title", { children: templateVariables.title }), import.meta.env.DEV && _jsx("link", { rel: 'stylesheet', href: radixStylesUrl })] }), _jsxs("body", { style: { margin: 0 }, children: [_jsx(ThemeProvider, { children: _jsxs(GraphQLSchemaProvider, { schema: schema, children: [_jsx(Layout, {}), _jsx(CodeBlockEnhancer, {})] }) }), _jsx(ScrollRestoration, {}), import.meta.env.DEV && _jsx("script", { type: 'module', src: entryClientUrl })] })] }));
|
47
|
+
};
|
48
|
+
const Layout = () => {
|
49
|
+
const location = useLocation();
|
50
|
+
const { appearance } = useTheme();
|
51
|
+
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
52
|
+
// Close mobile menu on route change
|
53
|
+
useEffect(() => {
|
54
|
+
setMobileMenuOpen(false);
|
55
|
+
}, [location.pathname]);
|
56
|
+
// Determine if we should show sidebar based on current path
|
57
|
+
const getCurrentNavPathExp = () => {
|
58
|
+
// todo: general path manipulation lib because we are duplicating logic here found in FileRouter
|
59
|
+
// todo: kit: try a Str.split that returns [] | string[] so that our predicates can refine on it?
|
60
|
+
const segments = location.pathname.split(`/`).filter(Boolean);
|
61
|
+
if (Arr.isntEmpty(segments)) {
|
62
|
+
return `/${segments[0]}`;
|
63
|
+
}
|
64
|
+
return null;
|
65
|
+
};
|
66
|
+
const currentNavPathExp = getCurrentNavPathExp();
|
67
|
+
const isReferencePage = currentNavPathExp === '/reference';
|
68
|
+
const sidebar = (() => {
|
69
|
+
if (isReferencePage && PROJECT_DATA.schema) {
|
70
|
+
// Build reference sidebar from schema types
|
71
|
+
const schema = PROJECT_DATA.schema.versions[0].after;
|
72
|
+
const kindMap = GrafaidOld.getKindMap(schema);
|
73
|
+
const sidebarItems = [];
|
74
|
+
const kindEntries = Object.entries(kindMap.list).filter(([_, types]) => types.length > 0);
|
75
|
+
for (const [title, types] of kindEntries) {
|
76
|
+
sidebarItems.push({
|
77
|
+
type: 'ItemSection',
|
78
|
+
title,
|
79
|
+
pathExp: `reference-${title.toLowerCase()}`,
|
80
|
+
isLinkToo: false,
|
81
|
+
links: types.map(type => ({
|
82
|
+
type: 'ItemLink',
|
83
|
+
title: type.name,
|
84
|
+
pathExp: `reference/${type.name}`,
|
85
|
+
})),
|
86
|
+
});
|
87
|
+
}
|
88
|
+
return { items: sidebarItems };
|
89
|
+
}
|
90
|
+
else {
|
91
|
+
// Use regular page sidebar
|
92
|
+
return currentNavPathExp ? projectPagesCatalog.sidebarIndex[currentNavPathExp] || null : null;
|
93
|
+
}
|
94
|
+
})();
|
95
|
+
const isShowSidebar = sidebar && sidebar.items.length > 0;
|
96
|
+
const header = (_jsxs(Flex, { gridArea: 'header', align: 'center', gap: { initial: '4', md: '8' }, pb: '4', mb: { initial: '4', md: '8' }, style: {
|
97
|
+
borderBottom: `1px solid var(--gray-3)`,
|
98
|
+
}, children: [isShowSidebar && (_jsx(HamburgerMenu, { isOpen: mobileMenuOpen, onToggle: () => setMobileMenuOpen(!mobileMenuOpen), onClose: () => setMobileMenuOpen(false), sidebarData: sidebar.items })), _jsx(LinkReactRouter, { to: '/', style: { color: `inherit`, textDecoration: `none` }, children: _jsx(Box, { display: { initial: 'block', md: 'block' }, children: _jsx(Logo, { src: logoSrc, title: templateVariables.title, height: 30, showTitle: true }) }) }), _jsx(Flex, { direction: 'row', gap: '4', style: { flex: 1 }, children: projectDataNavbar.map((item, key) => (_jsx(Link, { color: 'gray', to: item.pathExp, children: item.title }, key))) }), _jsx(ThemeToggle, {})] }));
|
99
|
+
return (_jsx(Theme, { asChild: true, appearance: appearance, children: _jsxs(Grid, { width: { initial: '100%', sm: '100%', md: 'var(--container-4)' }, maxWidth: '100vw', areas: {
|
100
|
+
initial: "'header' 'content'",
|
101
|
+
sm: "'header' 'content'",
|
102
|
+
md: "'header header header header header header header header' 'sidebar sidebar . content content content content content'",
|
103
|
+
}, rows: 'min-content auto', columns: { initial: '1fr', sm: '1fr', md: 'repeat(8, 1fr)' }, gapX: { initial: '0', sm: '0', md: '2' }, my: { initial: '0', sm: '0', md: '8' }, mx: 'auto', px: { initial: '4', sm: '4', md: '0' }, py: { initial: '4', sm: '4', md: '0' }, children: [_jsx("style", { children: `
|
104
|
+
/* Import Inter font */
|
105
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
106
|
+
|
107
|
+
/* Typography improvements */
|
108
|
+
body {
|
109
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
110
|
+
-webkit-font-smoothing: antialiased;
|
111
|
+
-moz-osx-font-smoothing: grayscale;
|
112
|
+
text-rendering: optimizeLegibility;
|
113
|
+
font-feature-settings: 'kern', 'liga', 'calt', 'ss01', 'ss02';
|
114
|
+
}
|
115
|
+
|
116
|
+
/* Improved paragraph spacing */
|
117
|
+
.prose p {
|
118
|
+
line-height: 1.7;
|
119
|
+
margin-bottom: 1.25rem;
|
120
|
+
}
|
121
|
+
|
122
|
+
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
|
123
|
+
font-weight: 600;
|
124
|
+
letter-spacing: -0.02em;
|
125
|
+
margin-top: 2rem;
|
126
|
+
margin-bottom: 1rem;
|
127
|
+
}
|
128
|
+
|
129
|
+
.prose h1 { font-size: 2.25rem; line-height: 1.2; }
|
130
|
+
.prose h2 { font-size: 1.875rem; line-height: 1.3; }
|
131
|
+
.prose h3 { font-size: 1.5rem; line-height: 1.4; }
|
132
|
+
.prose h4 { font-size: 1.25rem; line-height: 1.5; }
|
133
|
+
|
134
|
+
.prose ul, .prose ol {
|
135
|
+
margin-bottom: 1.25rem;
|
136
|
+
padding-left: 1.5rem;
|
137
|
+
}
|
138
|
+
|
139
|
+
.prose li {
|
140
|
+
margin-bottom: 0.5rem;
|
141
|
+
line-height: 1.7;
|
142
|
+
}
|
143
|
+
|
144
|
+
.prose a {
|
145
|
+
color: var(--accent-9);
|
146
|
+
text-decoration: none;
|
147
|
+
border-bottom: 1px solid transparent;
|
148
|
+
transition: border-color 0.2s;
|
149
|
+
}
|
150
|
+
|
151
|
+
.prose a:hover {
|
152
|
+
border-bottom-color: var(--accent-9);
|
153
|
+
}
|
154
|
+
|
155
|
+
.prose blockquote {
|
156
|
+
border-left: 4px solid var(--accent-6);
|
157
|
+
padding-left: 1rem;
|
158
|
+
margin-left: 0;
|
159
|
+
font-style: italic;
|
160
|
+
color: var(--gray-11);
|
161
|
+
}
|
162
|
+
|
163
|
+
/* Responsive container fixes */
|
164
|
+
@media (max-width: 768px) {
|
165
|
+
body {
|
166
|
+
overflow-x: hidden;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
/* Ensure proper centering on all screen sizes */
|
171
|
+
.rt-Grid {
|
172
|
+
box-sizing: border-box;
|
173
|
+
}
|
174
|
+
|
175
|
+
/* Shiki code blocks */
|
176
|
+
pre.shiki {
|
177
|
+
margin: 0;
|
178
|
+
padding: 1rem;
|
179
|
+
border-radius: 8px;
|
180
|
+
overflow-x: auto;
|
181
|
+
font-size: 14px;
|
182
|
+
line-height: 1.6;
|
183
|
+
background-color: #f6f8fa;
|
184
|
+
border: 1px solid var(--gray-4);
|
185
|
+
}
|
186
|
+
|
187
|
+
/* Light mode: use --shiki-light CSS variables from inline styles */
|
188
|
+
pre.shiki span {
|
189
|
+
color: var(--shiki-light);
|
190
|
+
}
|
191
|
+
|
192
|
+
/* Dark mode - Radix Themes uses [data-is-root-theme="dark"] */
|
193
|
+
[data-is-root-theme="dark"] pre.shiki {
|
194
|
+
background-color: #1a1b26;
|
195
|
+
border-color: var(--gray-7);
|
196
|
+
}
|
197
|
+
|
198
|
+
[data-is-root-theme="dark"] pre.shiki span {
|
199
|
+
color: var(--shiki-dark);
|
200
|
+
}
|
201
|
+
|
202
|
+
pre.shiki code {
|
203
|
+
font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace;
|
204
|
+
background: transparent;
|
205
|
+
display: block;
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Inline code */
|
209
|
+
.prose code:not(pre code) {
|
210
|
+
background-color: var(--gray-3);
|
211
|
+
padding: 0.125rem 0.25rem;
|
212
|
+
border-radius: 0.25rem;
|
213
|
+
font-size: 0.875em;
|
214
|
+
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
215
|
+
}
|
216
|
+
|
217
|
+
/* Tables */
|
218
|
+
.prose table {
|
219
|
+
width: 100%;
|
220
|
+
border-collapse: collapse;
|
221
|
+
margin-bottom: 1.5rem;
|
222
|
+
}
|
223
|
+
|
224
|
+
.prose th {
|
225
|
+
background-color: var(--gray-3);
|
226
|
+
font-weight: 600;
|
227
|
+
text-align: left;
|
228
|
+
padding: 0.75rem;
|
229
|
+
border-bottom: 2px solid var(--gray-5);
|
230
|
+
}
|
231
|
+
|
232
|
+
.prose td {
|
233
|
+
padding: 0.75rem;
|
234
|
+
border-bottom: 1px solid var(--gray-4);
|
235
|
+
}
|
236
|
+
|
237
|
+
.prose tbody tr:last-child td {
|
238
|
+
border-bottom: none;
|
239
|
+
}
|
240
|
+
` }), header, isShowSidebar && (_jsx(Box, { display: { initial: 'none', xs: 'none', sm: 'none', md: 'block' }, gridColumn: '1 / 3', gridRow: '2 / auto', children: _jsx(Sidebar, { data: sidebar.items }) })), _jsx(Box, { gridArea: 'content / content / auto / 8', className: 'prose', children: _jsx(Outlet, {}) })] }) }));
|
241
|
+
};
|
242
|
+
const children = [
|
243
|
+
index,
|
244
|
+
...routes,
|
245
|
+
];
|
246
|
+
//
|
247
|
+
//
|
248
|
+
//
|
249
|
+
//
|
250
|
+
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • Project Routes
|
251
|
+
//
|
252
|
+
//
|
253
|
+
//
|
254
|
+
if (PROJECT_DATA.schema) {
|
255
|
+
children.push(changelog);
|
256
|
+
children.push(reference);
|
257
|
+
}
|
258
|
+
//
|
259
|
+
//
|
260
|
+
//
|
261
|
+
//
|
262
|
+
// ━━━━━━━━━━━━━━ • Not Found Route
|
263
|
+
//
|
264
|
+
//
|
265
|
+
//
|
266
|
+
const notFoundRoute = createRoute({
|
267
|
+
id: `*_not_found`,
|
268
|
+
path: `*`,
|
269
|
+
Component: NotFound,
|
270
|
+
handle: {
|
271
|
+
statusCode: 404,
|
272
|
+
},
|
273
|
+
});
|
274
|
+
children.push(notFoundRoute);
|
275
|
+
//
|
276
|
+
//
|
277
|
+
//
|
278
|
+
// ━━━━━━━━━━━━━━ • Root Route
|
279
|
+
//
|
280
|
+
//
|
281
|
+
export const root = createRoute({
|
282
|
+
path: `/`,
|
283
|
+
Component,
|
284
|
+
children,
|
285
|
+
});
|
286
|
+
//# sourceMappingURL=root.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"root.js","sourceRoot":"","sources":["../../../src/template/routes/root.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,cAAc,MAAM,iCAAiC,CAAA;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AACrE,OAAO,OAAO,MAAM,uCAAuC,CAAA;AAC3D,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,iBAAiB,MAAM,6CAA6C,CAAA;AAC3E,OAAO,mBAAmB,MAAM,oDAAoD,CAAA;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AACzD,OAAO,EAAE,iBAAiB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;IACnB,MAAM,EAAE;QACN,UAAU,EAAE,GAAG;KAChB;CACF,CAAC,CAAA;AACF,QAAQ,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 @@
|
|
1
|
+
{"version":3,"file":"routes.js","sourceRoot":"","sources":["../../src/template/routes.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAmB,CAAA;AAExC,MAAM,CAAC,MAAM,MAAM,GAAkB;IACnC,IAAI;CACL,CAAA"}
|
@@ -4,7 +4,7 @@ import { Favicon } from '#lib/favicon/index';
|
|
4
4
|
import { serveStatic } from '@hono/node-server/serve-static';
|
5
5
|
import { Http } from '@wollybeard/kit';
|
6
6
|
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
7
|
-
import { renderPage } from
|
7
|
+
import { renderPage } from "./render-page.js";
|
8
8
|
import { view } from "./view.js";
|
9
9
|
export const app = new Hono.Hono();
|
10
10
|
if (__BUILDING__) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/template/server/app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAA;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,
|
1
|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G,CAAC,IAAI,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAA;IAC/B,CAAC;IAED,OAAO,UAAU,CAAC,oBAAoB,CAAC,CAAA;AACzC,CAAC,CAAC,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
1
2
|
import { reportError } from '#api/server/report-error';
|
2
3
|
import { ResponseInternalServerError } from '#lib/kit-temp';
|
3
4
|
import { Arr } from '@wollybeard/kit';
|
@@ -12,9 +13,7 @@ export const renderPage = (staticHandlerContext) => {
|
|
12
13
|
const router = createStaticRouter(view.dataRoutes, staticHandlerContext);
|
13
14
|
let html = ``;
|
14
15
|
try {
|
15
|
-
html = ReactDomServer.renderToString(
|
16
|
-
<StaticRouterProvider router={router} context={staticHandlerContext}/>
|
17
|
-
</StrictMode>);
|
16
|
+
html = ReactDomServer.renderToString(_jsx(StrictMode, { children: _jsx(StaticRouterProvider, { router: router, context: staticHandlerContext }) }));
|
18
17
|
}
|
19
18
|
catch (cause) {
|
20
19
|
reportError(new Error(`Failed to server side render the HTML`, { cause }));
|
@@ -64,4 +63,4 @@ const getRouteHeaders = (context) => {
|
|
64
63
|
}
|
65
64
|
return headers;
|
66
65
|
};
|
67
|
-
//# sourceMappingURL=render-page.
|
66
|
+
//# sourceMappingURL=render-page.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"render-page.js","sourceRoot":"","sources":["../../../src/template/server/render-page.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEtD,OAAO,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAA;AAE3D,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,kBAAkB,E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}
|
@@ -2,7 +2,7 @@ import { Hono } from '#dep/hono/index';
|
|
2
2
|
import { app } from '#template/server/app';
|
3
3
|
import * as NodeFs from 'node:fs/promises';
|
4
4
|
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
5
|
-
import { renderPage } from
|
5
|
+
import { renderPage } from "../render-page.js";
|
6
6
|
import { getRoutesPaths } from "./get-route-paths.js";
|
7
7
|
export const generate = async (view) => {
|
8
8
|
const handler = async (ctx) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/template/server/ssg/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAEtC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAC1C,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAA;AAC1C,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"generate.js","sourceRoot":"","sources":["../../../../src/template/server/ssg/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAEtC,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAC1C,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAA;AAC1C,OAAO,YAAY,MAAM,sCAAsC,CAAA;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAoB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,CAAC,MAAM,QAAQ,GAAG,KAAK,EAAE,IAA+B,EAAE,EAAE;IAChE,MAAM,OAAO,GAAiB,KAAK,EAAE,GAAG,EAAE,EAAE;QAC1C,oEAAoE;QACpE,yCAAyC;QACzC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG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OAAO,CAAC,GAAG,CACT,2BAA2B,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,IACvD,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,CACnC,KAAK,UAAU,CAAC,MAAM,YAAY,CACnC,CAAA;QAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE;YACpD,WAAW,EAAE,CAAC,EAAE,4CAA4C;YAC5D,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI;SAC5C,CAAC,CAAA;QAEF,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;YACpB,MAAM,IAAI,KAAK,CAAC,2CAA2C,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE;gBAC3F,KAAK,EAAE,MAAM,CAAC,KAAK;aACpB,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,iCAAiC,UAAU,gBAAgB,CAAC,CAAA;AAC1E,CAAC,CAAA"}
|
@@ -3,7 +3,7 @@ import { visit } from 'graphql';
|
|
3
3
|
// Or your specific import path for this type
|
4
4
|
import { ReactRouterAid } from '#lib/react-router-aid/index';
|
5
5
|
import PROJECT_DATA from 'virtual:polen/project/data.jsonsuper';
|
6
|
-
import { routes } from
|
6
|
+
import { routes } from "../../routes.js";
|
7
7
|
// todo: Frameworks tend to colocate ssg data loaders with routes to solve the following
|
8
8
|
// problem which is we have to map data loaders to paramterized routes.
|
9
9
|
// Maybe we can figure something out too.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"get-route-paths.js","sourceRoot":"","sources":["../../../../src/template/server/ssg/get-route-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,KAAK,EA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