@marktiderman/genesis-sites 0.3.3 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/assets/form-island.dc9aedd556.js +51 -0
- package/dist/assets/{islands.eb84e107c4.js → islands.88abb49942.js} +1 -1
- package/dist/assets/sites-forms.css +1 -1
- package/dist/assets/sites-forms.e506c7dda2.css +10 -0
- package/dist/assets.generated-7FRY6LHS.js +3 -0
- package/dist/{assets.generated-QOBL5IUN.js.map → assets.generated-7FRY6LHS.js.map} +1 -1
- package/dist/{chunk-C375ZPU2.js → chunk-P5MR34QQ.js} +23 -9
- package/dist/chunk-P5MR34QQ.js.map +1 -0
- package/dist/{chunk-ULH54DAG.js → chunk-PA7IZF4X.js} +4 -4
- package/dist/{chunk-ULH54DAG.js.map → chunk-PA7IZF4X.js.map} +1 -1
- package/dist/chunk-PN2VXOA5.js +18 -0
- package/dist/chunk-PN2VXOA5.js.map +1 -0
- package/dist/editor.d.ts +4 -1
- package/dist/editor.js +24 -6
- package/dist/editor.js.map +1 -1
- package/dist/{handler-F4ZMH34N.js → handler-P7RRXR6K.js} +5 -5
- package/dist/{handler-F4ZMH34N.js.map → handler-P7RRXR6K.js.map} +1 -1
- package/dist/sections.d.ts +31 -21
- package/dist/sections.js +1 -1
- package/dist/web.d.ts +2 -2
- package/dist/web.js +3 -3
- package/package.json +41 -12
- package/dist/assets/form-island.f3bd46469d.js +0 -51
- package/dist/assets/sites-forms.732cc7e0c1.css +0 -10
- package/dist/assets.generated-QOBL5IUN.js +0 -3
- package/dist/chunk-3YW7ITU5.js +0 -18
- package/dist/chunk-3YW7ITU5.js.map +0 -1
- package/dist/chunk-C375ZPU2.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-PA7IZF4X.js';
|
|
2
|
+
import './chunk-P5MR34QQ.js';
|
|
3
3
|
import './chunk-VZUDRPFG.js';
|
|
4
4
|
import './chunk-FBQF2L7O.js';
|
|
5
5
|
import './chunk-ZGWGQGT2.js';
|
|
6
6
|
import './chunk-3VKTBE7S.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
//# sourceMappingURL=handler-
|
|
9
|
-
//# sourceMappingURL=handler-
|
|
7
|
+
import './chunk-PN2VXOA5.js';
|
|
8
|
+
//# sourceMappingURL=handler-P7RRXR6K.js.map
|
|
9
|
+
//# sourceMappingURL=handler-P7RRXR6K.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"handler-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"handler-P7RRXR6K.js"}
|
package/dist/sections.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Z as SectionDefinition, k as Link, c as RenderContext, f as SectionNode, a6 as Surface, I as Image, n as FileRef, A as AnySectionDefinition } from './registry-HBn1X60x.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import * as lucide_react from 'lucide-react';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
import { BandProps } from '@marktiderman/genesis-ui/band';
|
|
5
|
+
import { LucideIcon } from 'lucide-react';
|
|
6
6
|
import { HeaderSlotProps } from '@marktiderman/genesis-forms-web';
|
|
7
7
|
|
|
8
8
|
declare const ctaSection: Readonly<SectionDefinition<{
|
|
@@ -518,6 +518,7 @@ declare const Session: z.ZodObject<{
|
|
|
518
518
|
end: z.ZodOptional<z.ZodString>;
|
|
519
519
|
title: z.ZodString;
|
|
520
520
|
type: z.ZodOptional<z.ZodString>;
|
|
521
|
+
host: z.ZodOptional<z.ZodString>;
|
|
521
522
|
coach: z.ZodOptional<z.ZodString>;
|
|
522
523
|
location: z.ZodOptional<z.ZodString>;
|
|
523
524
|
note: z.ZodOptional<z.ZodString>;
|
|
@@ -552,6 +553,7 @@ declare const scheduleSection: Readonly<SectionDefinition<{
|
|
|
552
553
|
title: string;
|
|
553
554
|
end?: string | undefined;
|
|
554
555
|
type?: string | undefined;
|
|
556
|
+
host?: string | undefined;
|
|
555
557
|
coach?: string | undefined;
|
|
556
558
|
location?: string | undefined;
|
|
557
559
|
note?: string | undefined;
|
|
@@ -647,29 +649,37 @@ declare const timelineSection: Readonly<SectionDefinition<{
|
|
|
647
649
|
anchor?: string | undefined;
|
|
648
650
|
}>>;
|
|
649
651
|
|
|
652
|
+
/**
|
|
653
|
+
* What every section is drawn with: headings at the level the page gives
|
|
654
|
+
* them, links that are checked again when they render, images with alt text
|
|
655
|
+
* and sizes, and the band that wraps a section. Server-safe: no state, no
|
|
656
|
+
* effects. Classes are written out in full so the stylesheet build finds
|
|
657
|
+
* them.
|
|
658
|
+
*/
|
|
659
|
+
|
|
650
660
|
/** An in-page anchor (`#contact`): lowercase letters, digits and hyphens. */
|
|
651
661
|
declare const Anchor: z.ZodOptional<z.ZodString>;
|
|
652
662
|
declare const ICONS: {
|
|
653
|
-
activity:
|
|
654
|
-
award:
|
|
655
|
-
calendar:
|
|
656
|
-
check:
|
|
657
|
-
clock:
|
|
658
|
-
dumbbell:
|
|
659
|
-
heart:
|
|
660
|
-
leaf:
|
|
661
|
-
mail:
|
|
662
|
-
"map-pin":
|
|
663
|
-
message:
|
|
664
|
-
phone:
|
|
665
|
-
shield:
|
|
666
|
-
smile:
|
|
667
|
-
sparkles:
|
|
668
|
-
star:
|
|
669
|
-
target:
|
|
670
|
-
trophy:
|
|
671
|
-
users:
|
|
672
|
-
zap:
|
|
663
|
+
activity: LucideIcon;
|
|
664
|
+
award: LucideIcon;
|
|
665
|
+
calendar: LucideIcon;
|
|
666
|
+
check: LucideIcon;
|
|
667
|
+
clock: LucideIcon;
|
|
668
|
+
dumbbell: LucideIcon;
|
|
669
|
+
heart: LucideIcon;
|
|
670
|
+
leaf: LucideIcon;
|
|
671
|
+
mail: LucideIcon;
|
|
672
|
+
"map-pin": LucideIcon;
|
|
673
|
+
message: LucideIcon;
|
|
674
|
+
phone: LucideIcon;
|
|
675
|
+
shield: LucideIcon;
|
|
676
|
+
smile: LucideIcon;
|
|
677
|
+
sparkles: LucideIcon;
|
|
678
|
+
star: LucideIcon;
|
|
679
|
+
target: LucideIcon;
|
|
680
|
+
trophy: LucideIcon;
|
|
681
|
+
users: LucideIcon;
|
|
682
|
+
zap: LucideIcon;
|
|
673
683
|
};
|
|
674
684
|
type IconName = keyof typeof ICONS;
|
|
675
685
|
declare const IconName: z.ZodEnum<{
|
package/dist/sections.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Anchor, ButtonLink, CHIP_TONES, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, blogListSection, builtInSections, ctaSection, faqSection, featuresSection, fileDescription, fileHref, fileSection, footerSection, formEmbedSection, formatPostDate, formatTime, gallerySection, heroSection, linkAttrs, logosSection, mapEmbedUrl, mapPageUrl, mapSection, navSection, postBodySection, pricingSection, resolveHref, richTextSection, scheduleSection, siteFormSlots, statsSection, teamSection, testimonialsSection, timelineSection, titleId } from './chunk-
|
|
1
|
+
export { Anchor, ButtonLink, CHIP_TONES, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, blogListSection, builtInSections, ctaSection, faqSection, featuresSection, fileDescription, fileHref, fileSection, footerSection, formEmbedSection, formatPostDate, formatTime, gallerySection, heroSection, linkAttrs, logosSection, mapEmbedUrl, mapPageUrl, mapSection, navSection, postBodySection, pricingSection, resolveHref, richTextSection, scheduleSection, siteFormSlots, statsSection, teamSection, testimonialsSection, timelineSection, titleId } from './chunk-P5MR34QQ.js';
|
|
2
2
|
import './chunk-VZUDRPFG.js';
|
|
3
3
|
import './chunk-ZGWGQGT2.js';
|
|
4
4
|
import './chunk-3VKTBE7S.js';
|
package/dist/web.d.ts
CHANGED
|
@@ -128,9 +128,9 @@ declare function SiteRenderer({ snapshot, page, theme, origin, basePath, mode, l
|
|
|
128
128
|
|
|
129
129
|
declare const ASSET_SIZES: {
|
|
130
130
|
readonly css: 39267;
|
|
131
|
-
readonly formsCss:
|
|
131
|
+
readonly formsCss: 76414;
|
|
132
132
|
readonly islands: 3010;
|
|
133
|
-
readonly formIsland:
|
|
133
|
+
readonly formIsland: 521479;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
export { ASSETS_PREFIX, ASSET_SIZES, type SiteAssets, SiteRenderer, type SiteRendererProps, type SiteRequestOptions, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString };
|
package/dist/web.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString } from './chunk-PA7IZF4X.js';
|
|
2
|
+
import './chunk-P5MR34QQ.js';
|
|
3
3
|
import './chunk-VZUDRPFG.js';
|
|
4
4
|
import './chunk-FBQF2L7O.js';
|
|
5
5
|
import './chunk-ZGWGQGT2.js';
|
|
6
6
|
import './chunk-3VKTBE7S.js';
|
|
7
|
-
export { ASSET_SIZES } from './chunk-
|
|
7
|
+
export { ASSET_SIZES } from './chunk-PN2VXOA5.js';
|
|
8
8
|
//# sourceMappingURL=web.js.map
|
|
9
9
|
//# sourceMappingURL=web.js.map
|
package/package.json
CHANGED
|
@@ -1,14 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marktiderman/genesis-sites",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"./dist/sections.js",
|
|
8
8
|
"./dist/editor.js",
|
|
9
|
+
"./dist/chunk-*.js",
|
|
9
10
|
"*.css"
|
|
10
11
|
],
|
|
11
12
|
"description": "Sites and landing pages for Genesis apps: a section registry with zod 4 schemas, 20 server-rendered sections on Genesis UI (timetable, team, blog, map, timeline and downloads among them), a blog with drafts, published posts, RSS and Article JSON-LD, a guarded asset import (/import), a per-request renderer with no hydration, SEO (meta, sitemap, robots, JSON-LD, redirects), publish-time accessibility checks, one-click landing pages from a brand, a Supabase schema with draft, publish and rollback, and a visual editor on Puck (/editor) that published pages never load. Part of the Genesis framework.",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"genesis",
|
|
15
|
+
"genesis-framework",
|
|
16
|
+
"website-builder",
|
|
17
|
+
"landing-pages",
|
|
18
|
+
"cms",
|
|
19
|
+
"site-builder",
|
|
20
|
+
"landing-page",
|
|
21
|
+
"website",
|
|
22
|
+
"seo",
|
|
23
|
+
"sitemap"
|
|
24
|
+
],
|
|
25
|
+
"homepage": "https://github.com/marktiderman/genesis/tree/main/packages/sites#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/marktiderman/genesis/issues"
|
|
28
|
+
},
|
|
12
29
|
"repository": {
|
|
13
30
|
"type": "git",
|
|
14
31
|
"url": "git+https://github.com/marktiderman/genesis.git",
|
|
@@ -65,13 +82,13 @@
|
|
|
65
82
|
"README.md"
|
|
66
83
|
],
|
|
67
84
|
"dependencies": {
|
|
68
|
-
"@marktiderman/genesis-features": "^0.
|
|
85
|
+
"@marktiderman/genesis-features": "^0.7.0"
|
|
69
86
|
},
|
|
70
87
|
"peerDependencies": {
|
|
71
|
-
"@marktiderman/genesis-design-system": "^1.5.
|
|
88
|
+
"@marktiderman/genesis-design-system": "^1.5.1",
|
|
72
89
|
"@marktiderman/genesis-forms": ">=0.6.0 <1.0.0",
|
|
73
90
|
"@marktiderman/genesis-forms-web": ">=0.5.0 <1.0.0",
|
|
74
|
-
"@marktiderman/genesis-ui": "^2.
|
|
91
|
+
"@marktiderman/genesis-ui": "^2.25.0",
|
|
75
92
|
"@puckeditor/core": "^0.23.0",
|
|
76
93
|
"@supabase/supabase-js": "^2.118.0",
|
|
77
94
|
"lucide-react": "^1.0.0",
|
|
@@ -88,11 +105,11 @@
|
|
|
88
105
|
}
|
|
89
106
|
},
|
|
90
107
|
"devDependencies": {
|
|
91
|
-
"@marktiderman/genesis-design-system": "^1.5.
|
|
92
|
-
"@marktiderman/genesis-forms": "^0.
|
|
93
|
-
"@marktiderman/genesis-forms-react": "^0.3.
|
|
94
|
-
"@marktiderman/genesis-forms-web": "^0.6.
|
|
95
|
-
"@marktiderman/genesis-ui": "^2.
|
|
108
|
+
"@marktiderman/genesis-design-system": "^1.5.1",
|
|
109
|
+
"@marktiderman/genesis-forms": "^0.10.1",
|
|
110
|
+
"@marktiderman/genesis-forms-react": "^0.3.2",
|
|
111
|
+
"@marktiderman/genesis-forms-web": "^0.6.4",
|
|
112
|
+
"@marktiderman/genesis-ui": "^2.25.0",
|
|
96
113
|
"@puckeditor/core": "^0.23.0",
|
|
97
114
|
"@supabase/supabase-js": "^2.118.0",
|
|
98
115
|
"@tailwindcss/cli": "4.3.3",
|
|
@@ -101,7 +118,7 @@
|
|
|
101
118
|
"@types/react-dom": "^19.2.3",
|
|
102
119
|
"axe-core": "^4.14.0",
|
|
103
120
|
"esbuild": "^0.28.1",
|
|
104
|
-
"happy-dom": "^
|
|
121
|
+
"happy-dom": "^21.0.4",
|
|
105
122
|
"lucide-react": "^1.0.0",
|
|
106
123
|
"radix-ui": "^1.6.7",
|
|
107
124
|
"react": "^19.0.0",
|
|
@@ -109,8 +126,8 @@
|
|
|
109
126
|
"tailwindcss": "4.3.3",
|
|
110
127
|
"tsup": "^8.3.0",
|
|
111
128
|
"typescript": "~6.0.3",
|
|
112
|
-
"vitest": "^
|
|
113
|
-
"zod": "^4.
|
|
129
|
+
"vitest": "^5.0.5",
|
|
130
|
+
"zod": "^4.6.6"
|
|
114
131
|
},
|
|
115
132
|
"genesis": {
|
|
116
133
|
"blocks": {
|
|
@@ -153,6 +170,18 @@
|
|
|
153
170
|
"Mount handleSiteRequest from @marktiderman/genesis-sites/web on your server, before your app's routes: it answers the site's paths and returns null for everything else."
|
|
154
171
|
]
|
|
155
172
|
}
|
|
173
|
+
},
|
|
174
|
+
"doctor": {
|
|
175
|
+
"enforce": false,
|
|
176
|
+
"reason": "Sections and the blog are features an app adds whole; no hand-rolled equivalent is reliably detectable yet.",
|
|
177
|
+
"primitives": [
|
|
178
|
+
{
|
|
179
|
+
"need": "a landing page or site",
|
|
180
|
+
"use": "the section registry and its server-rendered sections",
|
|
181
|
+
"import": "@marktiderman/genesis-sites",
|
|
182
|
+
"docs": "https://github.com/marktiderman/genesis/blob/main/docs/SITES.md"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
156
185
|
}
|
|
157
186
|
},
|
|
158
187
|
"scripts": {
|