@marktiderman/genesis-sites 0.6.0 → 0.6.2

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 (52) hide show
  1. package/README.md +23 -2
  2. package/SKILL.md +5 -1
  3. package/dist/assets/form-island.c28e464326.js +51 -0
  4. package/dist/assets/{islands.3d7cdb5d94.js → islands.7cc682fc1f.js} +1 -1
  5. package/dist/assets/sites-forms.1559674309.css +10 -0
  6. package/dist/assets/sites-forms.css +1 -1
  7. package/dist/assets/sites.7108ff951d.css +2 -0
  8. package/dist/assets/sites.css +1 -1
  9. package/dist/assets.generated-QJK3COCH.js +3 -0
  10. package/dist/{assets.generated-UFAABMY4.js.map → assets.generated-QJK3COCH.js.map} +1 -1
  11. package/dist/{chunk-UUFQSOIF.js → chunk-5LEY4UFU.js} +6 -6
  12. package/dist/{chunk-UUFQSOIF.js.map → chunk-5LEY4UFU.js.map} +1 -1
  13. package/dist/{chunk-YAASBQTJ.js → chunk-IU6AI75R.js} +10 -3
  14. package/dist/chunk-IU6AI75R.js.map +1 -0
  15. package/dist/{chunk-UUMTG4RP.js → chunk-KY4ALBVH.js} +43 -4
  16. package/dist/chunk-KY4ALBVH.js.map +1 -0
  17. package/dist/{chunk-RSU5VL44.js → chunk-SMJMXQ3T.js} +3 -3
  18. package/dist/{chunk-RSU5VL44.js.map → chunk-SMJMXQ3T.js.map} +1 -1
  19. package/dist/chunk-TPBKCLES.js +19 -0
  20. package/dist/chunk-TPBKCLES.js.map +1 -0
  21. package/dist/{chunk-AH534PN7.js → chunk-VJ4HOFBA.js} +12 -4
  22. package/dist/chunk-VJ4HOFBA.js.map +1 -0
  23. package/dist/editor.d.ts +76 -6
  24. package/dist/editor.js +546 -130
  25. package/dist/editor.js.map +1 -1
  26. package/dist/handler-VQ4QKTUU.js +10 -0
  27. package/dist/{handler-ZUOM5KGN.js.map → handler-VQ4QKTUU.js.map} +1 -1
  28. package/dist/import.d.ts +3 -3
  29. package/dist/index.d.ts +45 -6
  30. package/dist/index.js +3 -3
  31. package/dist/{registry-CeSBSfU8.d.ts → registry-BIijndsq.d.ts} +7 -1
  32. package/dist/sections.d.ts +1 -1
  33. package/dist/sections.js +2 -2
  34. package/dist/{store-CUsfzNmK.d.ts → store-BImtGmoF.d.ts} +2 -2
  35. package/dist/supabase.d.ts +4 -4
  36. package/dist/supabase.js +3 -3
  37. package/dist/{templates-DALVa71A.d.ts → templates-kA-jrnWA.d.ts} +2 -2
  38. package/dist/templates.d.ts +3 -3
  39. package/dist/{theme-B3Vh_b-P.d.ts → theme-Cg-inpk5.d.ts} +1 -1
  40. package/dist/web.d.ts +6 -6
  41. package/dist/web.js +5 -5
  42. package/package.json +7 -7
  43. package/dist/assets/form-island.0ba51641f7.js +0 -51
  44. package/dist/assets/sites-forms.26e72110c3.css +0 -10
  45. package/dist/assets/sites.2a71889442.css +0 -2
  46. package/dist/assets.generated-UFAABMY4.js +0 -3
  47. package/dist/chunk-AH534PN7.js.map +0 -1
  48. package/dist/chunk-UUMTG4RP.js.map +0 -1
  49. package/dist/chunk-YAASBQTJ.js.map +0 -1
  50. package/dist/chunk-Z3NXMDUG.js +0 -19
  51. package/dist/chunk-Z3NXMDUG.js.map +0 -1
  52. package/dist/handler-ZUOM5KGN.js +0 -10
@@ -0,0 +1,10 @@
1
+ export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-5LEY4UFU.js';
2
+ import './chunk-TPBKCLES.js';
3
+ import './chunk-OFJISW3T.js';
4
+ import './chunk-SMJMXQ3T.js';
5
+ import './chunk-VZUDRPFG.js';
6
+ import './chunk-VJ4HOFBA.js';
7
+ import './chunk-IU6AI75R.js';
8
+ import './chunk-MU2Z2C4F.js';
9
+ //# sourceMappingURL=handler-VQ4QKTUU.js.map
10
+ //# sourceMappingURL=handler-VQ4QKTUU.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-ZUOM5KGN.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-VQ4QKTUU.js"}
package/dist/import.d.ts CHANGED
@@ -2,11 +2,11 @@ import { Transport } from '@marktiderman/genesis-media/server';
2
2
  export { BlockedAddressError, FetchedResponse, Transport, guardedLookup, isPublicAddress, urlProblems } from '@marktiderman/genesis-media/server';
3
3
  import { Sniffed } from '@marktiderman/genesis-media';
4
4
  export { Sniffed, sniff } from '@marktiderman/genesis-media';
5
- import { S as SiteStore } from './store-CUsfzNmK.js';
6
- import './registry-CeSBSfU8.js';
5
+ import { S as SiteStore } from './store-BImtGmoF.js';
6
+ import './registry-BIijndsq.js';
7
7
  import 'react';
8
8
  import 'zod';
9
- import './theme-B3Vh_b-P.js';
9
+ import './theme-Cg-inpk5.js';
10
10
  import '@marktiderman/genesis-design-system';
11
11
 
12
12
  /**
package/dist/index.d.ts CHANGED
@@ -1,14 +1,53 @@
1
- import { f as SectionNode, a as PageDoc, A as AnySectionDefinition, g as SiteDoc, h as ReleasePage, i as PostSummary, L as LivePost, j as Redirect } from './registry-CeSBSfU8.js';
2
- export { B as BUILT_IN_SECTION_TYPES, k as BodyFontChoice, l as BuiltInSectionType, C as Copy, m as FileRef, n as FontChoice, F as FormsResolver, o as FormsResolverContext, H as Href, I as Image, p as ImportPost, q as ImportPostsResult, r as Line, s as Link, t as LinkEvent, M as MAX_DOC_BYTES, u as MAX_IMPORT_POSTS, v as MAX_LIVE_POSTS, w as MenuItem, P as PageKind, b as PageMeta, x as PagePath, y as PostAuthor, z as PostDoc, D as PostDocInput, E as PostDraft, G as PostMeta, J as PostSlug, K as PostStatus, N as PostSummarySchema, O as PostsContext, Q as RegisterSectionOptions, R as Release, T as ReleaseMeta, U as ReleaseSnapshot, c as RenderContext, V as RenderMedia, d as ResolvedForm, W as RichText, X as SECTION_CATEGORIES, Y as SavePostInput, Z as SavePostResult, S as SectionCategory, _ as SectionDefinition, $ as SectionDefinitionError, a0 as SectionId, a1 as SectionManifest, a2 as SectionPlacement, a3 as SectionPreset, a4 as SectionRenderProps, a5 as SectionVariant, e as Seo, a6 as SeoDefaults, a7 as SiteDocInput, a8 as Surface, a9 as TokenOverrides, aa as defineSection, ab as getSection, ac as isPlainEmail, ad as listSections, ae as mailtoHref, af as newSectionId, ag as nodeFromPreset, ah as opensInNewTab, ai as parseSnapshot, aj as postSummary, ak as registerBuiltInSection, al as registerSection, am as richTextPlain, an as sectionJsonSchema, ao as sectionManifests, ap as unregisterSection, aq as validatePostSlug } from './registry-CeSBSfU8.js';
3
- export { d as ASSET_TYPES, A as Asset, e as AssetHostOptions, a as AssetMeta, C as CheckReleaseOptions, D as DEFAULT_RESERVED_PATHS, I as InvalidationInfo, M as MAX_PAGE_PATH_LENGTH, f as MAX_URL_LENGTH, g as MemorySiteStore, h as MemoryStoreOptions, N as NewPage, i as NewSite, j as PAGE_PATH, k as PageDraft, l as PreparedRelease, m as PublishBlockedError, P as PublishOptions, R as ReservedPaths, c as SaveResult, n as SiteConflictError, o as SiteDraft, b as SiteIssue, S as SiteStore, p as assetPath, q as checkAssetHosts, r as checkBlog, s as checkContrast, t as checkHtmlOutline, u as checkPage, v as checkPost, w as checkRelease, x as checkSiteDoc, y as createMemorySiteStore, z as formCacheTag, B as isConflict, E as isExternalHref, F as isOwnUrl, G as isPublishable, H as isReservedPath, J as isSafeHref, K as isSafeImageSrc, L as normalizeRequestPath, O as pagePathProblems, Q as prepareImportPost, T as prepareRelease, U as siteCacheTag, V as validatePagePath, W as withCacheInvalidation } from './store-CUsfzNmK.js';
1
+ import { P as PageMeta$1, g as SiteDoc, f as SectionNode, b as PageDoc, A as AnySectionDefinition, h as ReleasePage, i as PostSummary, L as LivePost, j as Redirect } from './registry-BIijndsq.js';
2
+ export { B as BUILT_IN_SECTION_TYPES, k as BodyFontChoice, l as BuiltInSectionType, C as Copy, m as FileRef, n as FontChoice, F as FormsResolver, o as FormsResolverContext, H as Href, I as Image, p as ImportPost, q as ImportPostsResult, r as Line, s as Link, t as LinkEvent, M as MAX_DOC_BYTES, u as MAX_IMPORT_POSTS, v as MAX_LIVE_POSTS, w as MenuItem, a as PageKind, x as PagePath, y as PostAuthor, z as PostDoc, D as PostDocInput, E as PostDraft, G as PostMeta, J as PostSlug, K as PostStatus, N as PostSummarySchema, O as PostsContext, Q as RegisterSectionOptions, R as Release, T as ReleaseMeta, U as ReleaseSnapshot, c as RenderContext, V as RenderMedia, d as ResolvedForm, W as RichText, X as SECTION_CATEGORIES, Y as SavePostInput, Z as SavePostResult, S as SectionCategory, _ as SectionDefinition, $ as SectionDefinitionError, a0 as SectionId, a1 as SectionManifest, a2 as SectionPlacement, a3 as SectionPreset, a4 as SectionRenderProps, a5 as SectionVariant, e as Seo, a6 as SeoDefaults, a7 as SiteDocInput, a8 as Surface, a9 as TokenOverrides, aa as defineSection, ab as getSection, ac as isPlainEmail, ad as listSections, ae as mailtoHref, af as newSectionId, ag as nodeFromPreset, ah as opensInNewTab, ai as parseSnapshot, aj as postSummary, ak as registerBuiltInSection, al as registerSection, am as richTextPlain, an as sectionJsonSchema, ao as sectionManifests, ap as unregisterSection, aq as validatePostSlug } from './registry-BIijndsq.js';
3
+ import { R as ReservedPaths } from './store-BImtGmoF.js';
4
+ export { d as ASSET_TYPES, A as Asset, e as AssetHostOptions, a as AssetMeta, C as CheckReleaseOptions, D as DEFAULT_RESERVED_PATHS, I as InvalidationInfo, M as MAX_PAGE_PATH_LENGTH, f as MAX_URL_LENGTH, g as MemorySiteStore, h as MemoryStoreOptions, N as NewPage, i as NewSite, j as PAGE_PATH, k as PageDraft, l as PreparedRelease, m as PublishBlockedError, P as PublishOptions, c as SaveResult, n as SiteConflictError, o as SiteDraft, b as SiteIssue, S as SiteStore, p as assetPath, q as checkAssetHosts, r as checkBlog, s as checkContrast, t as checkHtmlOutline, u as checkPage, v as checkPost, w as checkRelease, x as checkSiteDoc, y as createMemorySiteStore, z as formCacheTag, B as isConflict, E as isExternalHref, F as isOwnUrl, G as isPublishable, H as isReservedPath, J as isSafeHref, K as isSafeImageSrc, L as normalizeRequestPath, O as pagePathProblems, Q as prepareImportPost, T as prepareRelease, U as siteCacheTag, V as validatePagePath, W as withCacheInvalidation } from './store-BImtGmoF.js';
4
5
  export { LATIN_UNICODE_RANGE, SELF_HOSTED_FONTS, SelfHostedFont, fontFileKey } from '@marktiderman/genesis-design-system/fonts';
5
- export { B as BrandInput, a as BrandSource, S as SiteBrand, b as SiteTheme, c as SiteThemeOptions, T as ThemePair, d as brandDisplayName, e as contrastRatio, h as hexToHslTriplet, i as isSiteBrand, l as luminance, m as mix, p as parseHex, s as siteTheme, f as stableHash, t as themeCss, g as toCanonicalBrand } from './theme-B3Vh_b-P.js';
6
- export { O as OnePageSiteInput, T as TemplateInput, a as TemplateMessage, b as TemplateResult, l as landingPage, o as onePageSite, s as starterSite } from './templates-DALVa71A.js';
6
+ export { B as BrandInput, a as BrandSource, S as SiteBrand, b as SiteTheme, c as SiteThemeOptions, T as ThemePair, d as brandDisplayName, e as contrastRatio, h as hexToHslTriplet, i as isSiteBrand, l as luminance, m as mix, p as parseHex, s as siteTheme, f as stableHash, t as themeCss, g as toCanonicalBrand } from './theme-Cg-inpk5.js';
7
+ export { O as OnePageSiteInput, T as TemplateInput, a as TemplateMessage, b as TemplateResult, l as landingPage, o as onePageSite, s as starterSite } from './templates-kA-jrnWA.js';
7
8
  export { FONT_CHOICES, FontInfo } from '@marktiderman/genesis-design-system';
8
9
  import '@marktiderman/genesis-media';
9
10
  import 'react';
10
11
  import 'zod';
11
12
 
13
+ /**
14
+ * Landing pages: the site's campaign pages (kind `landing`), made under one
15
+ * directory (`/go` unless the site's `landing.directory` says otherwise) and
16
+ * kept out of the menu. They are ordinary pages otherwise: the same
17
+ * document, editor, checks, preview and release.
18
+ */
19
+
20
+ /** Where new landing pages go when the site doesn't say. */
21
+ declare const DEFAULT_LANDING_DIRECTORY = "/go";
22
+ /** A landing page's slug: one path segment of lowercase letters, digits and single hyphens. */
23
+ declare const LANDING_SLUG: RegExp;
24
+ /** The site's landing page directory: `site.landing.directory`, or `/go`. */
25
+ declare function landingDirectory(site: Pick<SiteDoc, "landing"> | null | undefined): string;
26
+ /** The path of the landing page `slug` under `directory`: `("/go", "spring")` → `/go/spring`. */
27
+ declare function landingPath(directory: string, slug: string): string;
28
+ /** The slug of a page under `directory` (`/go/spring` → `spring`), or null for a path outside it. */
29
+ declare function landingSlugOf(directory: string, path: string): string | null;
30
+ /** Why `directory` can't hold landing pages (empty when it can): a page path other than `/`, and not reserved. */
31
+ declare function landingDirectoryProblems(directory: unknown, reserved?: ReservedPaths): string[];
32
+ /** Why `slug` can't name a landing page under `directory` (empty when it can). */
33
+ declare function landingSlugProblems(directory: string, slug: string, reserved?: ReservedPaths): string[];
34
+ /**
35
+ * Is this one of the site's landing pages? A page of kind `landing`, except
36
+ * the home page: a one-click landing site's `/` is the site's home page, and
37
+ * stays among the pages.
38
+ */
39
+ declare function isLandingPage(page: Pick<PageMeta$1, "kind" | "path">): boolean;
40
+ /** The site's landing pages (`isLandingPage`), in the store's order. */
41
+ declare function landingPages<T extends Pick<PageMeta$1, "kind" | "path">>(pages: readonly T[]): T[];
42
+ /**
43
+ * Where each landing page under `from` goes when the directory becomes `to`:
44
+ * `/go/spring` → `/offers/spring`. Pages outside `from` stay where they are.
45
+ */
46
+ declare function landingMoves<T extends Pick<PageMeta$1, "id" | "kind" | "path">>(pages: readonly T[], from: string, to: string): {
47
+ page: T;
48
+ path: string;
49
+ }[];
50
+
12
51
  /**
13
52
  * Props migrations. A section node records the props version it was written
14
53
  * at (`v`); its definition declares the current `version` and a pure
@@ -191,4 +230,4 @@ declare const exampleBrands: Readonly<{
191
230
  };
192
231
  }>;
193
232
 
194
- export { AnySectionDefinition, LivePost, type MigratedNode, type MigratedPage, type MigrationIssue, PageDoc, type PageMetaInput, PostSummary, Redirect, ReleasePage, type RobotsInput, type RssInput, SectionNode, type PageMeta as SeoPageMeta, SiteDoc, type SitemapInput, absoluteUrl, articleJsonLd, breadcrumbJsonLd, escapeXml, exampleBrands, matchRedirect, migrateNode, migratePage, migrateSite, organizationJsonLd, pageMeta, pageTitle, postDescription, postPath, redirectsAfterMove, robotsTxt, rssXml, safeJsonForHtml, sitemapXml, websiteJsonLd };
233
+ export { AnySectionDefinition, DEFAULT_LANDING_DIRECTORY, LANDING_SLUG, LivePost, type MigratedNode, type MigratedPage, type MigrationIssue, PageDoc, PageMeta$1 as PageMeta, type PageMetaInput, PostSummary, Redirect, ReleasePage, ReservedPaths, type RobotsInput, type RssInput, SectionNode, type PageMeta as SeoPageMeta, SiteDoc, type SitemapInput, absoluteUrl, articleJsonLd, breadcrumbJsonLd, escapeXml, exampleBrands, isLandingPage, landingDirectory, landingDirectoryProblems, landingMoves, landingPages, landingPath, landingSlugOf, landingSlugProblems, matchRedirect, migrateNode, migratePage, migrateSite, organizationJsonLd, pageMeta, pageTitle, postDescription, postPath, redirectsAfterMove, robotsTxt, rssXml, safeJsonForHtml, sitemapXml, websiteJsonLd };
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { LATIN_UNICODE_RANGE, SELF_HOSTED_FONTS, fontFileKey } from './chunk-OFJISW3T.js';
2
- export { exampleBrands, landingPage, onePageSite, starterSite } from './chunk-UUMTG4RP.js';
2
+ export { DEFAULT_LANDING_DIRECTORY, LANDING_SLUG, exampleBrands, isLandingPage, landingDirectory, landingDirectoryProblems, landingMoves, landingPage, landingPages, landingPath, landingSlugOf, landingSlugProblems, onePageSite, starterSite } from './chunk-KY4ALBVH.js';
3
3
  export { isPlainEmail, mailtoHref } from './chunk-VZUDRPFG.js';
4
- export { ASSET_TYPES, FONT_CHOICES, PublishBlockedError, SiteConflictError, assetPath, brandDisplayName, checkAssetHosts, checkBlog, checkContrast, checkHtmlOutline, checkPage, checkPost, checkRelease, checkSiteDoc, contrastRatio, createMemorySiteStore, formCacheTag, hexToHslTriplet, isConflict, isOwnUrl, isPublishable, isSiteBrand, luminance, migrateNode, migratePage, migrateSite, mix, parseHex, prepareImportPost, prepareRelease, siteCacheTag, siteTheme, stableHash, themeCss, toCanonicalBrand, withCacheInvalidation } from './chunk-AH534PN7.js';
5
- export { BUILT_IN_SECTION_TYPES, BodyFontChoice, Copy, FileRef, FontChoice, Href, Image, Line, Link, LinkEvent, MAX_DOC_BYTES, MAX_IMPORT_POSTS, MAX_LIVE_POSTS, MenuItem, PageDoc, PageKind, PagePath, PostAuthor, PostDoc, PostSlug, PostSummarySchema, Redirect, ReleasePage, ReleaseSnapshot, RichText, SECTION_CATEGORIES, SectionDefinitionError, SectionId, SectionNode, Seo, SeoDefaults, SiteDoc, Surface, TokenOverrides, absoluteUrl, articleJsonLd, breadcrumbJsonLd, defineSection, escapeXml, getSection, listSections, matchRedirect, newSectionId, nodeFromPreset, opensInNewTab, organizationJsonLd, pageMeta, pageTitle, parseSnapshot, postDescription, postPath, postSummary, redirectsAfterMove, registerBuiltInSection, registerSection, richTextPlain, robotsTxt, rssXml, safeJsonForHtml, sectionJsonSchema, sectionManifests, sitemapXml, unregisterSection, validatePostSlug, websiteJsonLd } from './chunk-YAASBQTJ.js';
4
+ export { ASSET_TYPES, FONT_CHOICES, PublishBlockedError, SiteConflictError, assetPath, brandDisplayName, checkAssetHosts, checkBlog, checkContrast, checkHtmlOutline, checkPage, checkPost, checkRelease, checkSiteDoc, contrastRatio, createMemorySiteStore, formCacheTag, hexToHslTriplet, isConflict, isOwnUrl, isPublishable, isSiteBrand, luminance, migrateNode, migratePage, migrateSite, mix, parseHex, prepareImportPost, prepareRelease, siteCacheTag, siteTheme, stableHash, themeCss, toCanonicalBrand, withCacheInvalidation } from './chunk-VJ4HOFBA.js';
5
+ export { BUILT_IN_SECTION_TYPES, BodyFontChoice, Copy, FileRef, FontChoice, Href, Image, Line, Link, LinkEvent, MAX_DOC_BYTES, MAX_IMPORT_POSTS, MAX_LIVE_POSTS, MenuItem, PageDoc, PageKind, PagePath, PostAuthor, PostDoc, PostSlug, PostSummarySchema, Redirect, ReleasePage, ReleaseSnapshot, RichText, SECTION_CATEGORIES, SectionDefinitionError, SectionId, SectionNode, Seo, SeoDefaults, SiteDoc, Surface, TokenOverrides, absoluteUrl, articleJsonLd, breadcrumbJsonLd, defineSection, escapeXml, getSection, listSections, matchRedirect, newSectionId, nodeFromPreset, opensInNewTab, organizationJsonLd, pageMeta, pageTitle, parseSnapshot, postDescription, postPath, postSummary, redirectsAfterMove, registerBuiltInSection, registerSection, richTextPlain, robotsTxt, rssXml, safeJsonForHtml, sectionJsonSchema, sectionManifests, sitemapXml, unregisterSection, validatePostSlug, websiteJsonLd } from './chunk-IU6AI75R.js';
6
6
  export { DEFAULT_RESERVED_PATHS, MAX_PAGE_PATH_LENGTH, MAX_URL_LENGTH, PAGE_PATH, isExternalHref, isReservedPath, isSafeHref, isSafeImageSrc, normalizeRequestPath, pagePathProblems, validatePagePath } from './chunk-MU2Z2C4F.js';
7
7
  //# sourceMappingURL=index.js.map
8
8
  //# sourceMappingURL=index.js.map
@@ -461,6 +461,9 @@ declare const SiteDoc: z.ZodObject<{
461
461
  any: "any";
462
462
  own: "own";
463
463
  }>>;
464
+ landing: z.ZodOptional<z.ZodObject<{
465
+ directory: z.ZodString;
466
+ }, z.core.$strip>>;
464
467
  }, z.core.$strip>;
465
468
  type SiteDoc = z.infer<typeof SiteDoc>;
466
469
  /** A `SiteDoc` as written, before defaults. */
@@ -652,6 +655,9 @@ declare const ReleaseSnapshot: z.ZodObject<{
652
655
  any: "any";
653
656
  own: "own";
654
657
  }>>;
658
+ landing: z.ZodOptional<z.ZodObject<{
659
+ directory: z.ZodString;
660
+ }, z.core.$strip>>;
655
661
  }, z.core.$strip>;
656
662
  pages: z.ZodArray<z.ZodObject<{
657
663
  id: z.ZodString;
@@ -1201,4 +1207,4 @@ declare function newSectionId(prefix?: string): string;
1201
1207
  /** A section node from a preset: the editor's Add, and templates. */
1202
1208
  declare function nodeFromPreset(type: string, presetName?: string, id?: string): SectionNode;
1203
1209
 
1204
- export { SectionDefinitionError as $, type AnySectionDefinition as A, BUILT_IN_SECTION_TYPES as B, Copy as C, type PostDocInput as D, type PostDraft as E, type FormsResolver as F, type PostMeta as G, Href as H, Image as I, PostSlug as J, type PostStatus as K, type LivePost as L, MAX_DOC_BYTES as M, PostSummarySchema as N, type PostsContext as O, PageKind as P, type RegisterSectionOptions as Q, type Release as R, type SectionCategory as S, type ReleaseMeta as T, ReleaseSnapshot as U, type RenderMedia as V, RichText as W, SECTION_CATEGORIES as X, type SavePostInput as Y, type SavePostResult as Z, type SectionDefinition as _, PageDoc as a, SectionId as a0, type SectionManifest as a1, type SectionPlacement as a2, type SectionPreset as a3, type SectionRenderProps as a4, type SectionVariant as a5, SeoDefaults as a6, type SiteDocInput as a7, Surface as a8, TokenOverrides as a9, defineSection as aa, getSection as ab, isPlainEmail as ac, listSections as ad, mailtoHref as ae, newSectionId as af, nodeFromPreset as ag, opensInNewTab as ah, parseSnapshot as ai, postSummary as aj, registerBuiltInSection as ak, registerSection as al, richTextPlain as am, sectionJsonSchema as an, sectionManifests as ao, unregisterSection as ap, validatePostSlug as aq, type PageMeta as b, type RenderContext as c, type ResolvedForm as d, Seo as e, SectionNode as f, SiteDoc as g, ReleasePage as h, type PostSummary as i, Redirect as j, BodyFontChoice as k, type BuiltInSectionType as l, FileRef as m, FontChoice as n, type FormsResolverContext as o, type ImportPost as p, type ImportPostsResult as q, Line as r, Link as s, LinkEvent as t, MAX_IMPORT_POSTS as u, MAX_LIVE_POSTS as v, MenuItem as w, PagePath as x, PostAuthor as y, PostDoc as z };
1210
+ export { SectionDefinitionError as $, type AnySectionDefinition as A, BUILT_IN_SECTION_TYPES as B, Copy as C, type PostDocInput as D, type PostDraft as E, type FormsResolver as F, type PostMeta as G, Href as H, Image as I, PostSlug as J, type PostStatus as K, type LivePost as L, MAX_DOC_BYTES as M, PostSummarySchema as N, type PostsContext as O, type PageMeta as P, type RegisterSectionOptions as Q, type Release as R, type SectionCategory as S, type ReleaseMeta as T, ReleaseSnapshot as U, type RenderMedia as V, RichText as W, SECTION_CATEGORIES as X, type SavePostInput as Y, type SavePostResult as Z, type SectionDefinition as _, PageKind as a, SectionId as a0, type SectionManifest as a1, type SectionPlacement as a2, type SectionPreset as a3, type SectionRenderProps as a4, type SectionVariant as a5, SeoDefaults as a6, type SiteDocInput as a7, Surface as a8, TokenOverrides as a9, defineSection as aa, getSection as ab, isPlainEmail as ac, listSections as ad, mailtoHref as ae, newSectionId as af, nodeFromPreset as ag, opensInNewTab as ah, parseSnapshot as ai, postSummary as aj, registerBuiltInSection as ak, registerSection as al, richTextPlain as am, sectionJsonSchema as an, sectionManifests as ao, unregisterSection as ap, validatePostSlug as aq, PageDoc as b, type RenderContext as c, type ResolvedForm as d, Seo as e, SectionNode as f, SiteDoc as g, ReleasePage as h, type PostSummary as i, Redirect as j, BodyFontChoice as k, type BuiltInSectionType as l, FileRef as m, FontChoice as n, type FormsResolverContext as o, type ImportPost as p, type ImportPostsResult as q, Line as r, Link as s, LinkEvent as t, MAX_IMPORT_POSTS as u, MAX_LIVE_POSTS as v, MenuItem as w, PagePath as x, PostAuthor as y, PostDoc as z };
@@ -1,4 +1,4 @@
1
- import { _ as SectionDefinition, s as Link, c as RenderContext, f as SectionNode, a8 as Surface, I as Image, m as FileRef, A as AnySectionDefinition } from './registry-CeSBSfU8.js';
1
+ import { _ as SectionDefinition, s as Link, c as RenderContext, f as SectionNode, a8 as Surface, I as Image, m as FileRef, A as AnySectionDefinition } from './registry-BIijndsq.js';
2
2
  import { z } from 'zod';
3
3
  import * as React from 'react';
4
4
  import { BandProps } from '@marktiderman/genesis-ui/band';
package/dist/sections.js CHANGED
@@ -1,6 +1,6 @@
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-RSU5VL44.js';
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-SMJMXQ3T.js';
2
2
  import './chunk-VZUDRPFG.js';
3
- import './chunk-YAASBQTJ.js';
3
+ import './chunk-IU6AI75R.js';
4
4
  import './chunk-MU2Z2C4F.js';
5
5
  //# sourceMappingURL=sections.js.map
6
6
  //# sourceMappingURL=sections.js.map
@@ -1,5 +1,5 @@
1
- import { A as AnySectionDefinition, U as ReleaseSnapshot, h as ReleasePage, g as SiteDoc, R as Release, b as PageMeta, a as PageDoc, P as PageKind, T as ReleaseMeta, i as PostSummary, L as LivePost, G as PostMeta, E as PostDraft, Y as SavePostInput, Z as SavePostResult, p as ImportPost, q as ImportPostsResult, a7 as SiteDocInput, z as PostDoc, K as PostStatus } from './registry-CeSBSfU8.js';
2
- import { b as SiteTheme, B as BrandInput } from './theme-B3Vh_b-P.js';
1
+ import { A as AnySectionDefinition, U as ReleaseSnapshot, h as ReleasePage, g as SiteDoc, R as Release, P as PageMeta, b as PageDoc, a as PageKind, T as ReleaseMeta, i as PostSummary, L as LivePost, G as PostMeta, E as PostDraft, Y as SavePostInput, Z as SavePostResult, p as ImportPost, q as ImportPostsResult, a7 as SiteDocInput, z as PostDoc, K as PostStatus } from './registry-BIijndsq.js';
2
+ import { b as SiteTheme, B as BrandInput } from './theme-Cg-inpk5.js';
3
3
 
4
4
  /**
5
5
  * URL and path rules shared by the schemas, the renderer and the database.
@@ -1,11 +1,11 @@
1
1
  import { SupabaseClient } from '@supabase/supabase-js';
2
- import { S as SiteStore } from './store-CUsfzNmK.js';
3
- export { d as ASSET_TYPES } from './store-CUsfzNmK.js';
4
- import './registry-CeSBSfU8.js';
2
+ import { S as SiteStore } from './store-BImtGmoF.js';
3
+ export { d as ASSET_TYPES } from './store-BImtGmoF.js';
4
+ import './registry-BIijndsq.js';
5
5
  import '@marktiderman/genesis-media';
6
6
  import 'react';
7
7
  import 'zod';
8
- import './theme-B3Vh_b-P.js';
8
+ import './theme-Cg-inpk5.js';
9
9
  import '@marktiderman/genesis-design-system';
10
10
 
11
11
  /**
package/dist/supabase.js CHANGED
@@ -1,6 +1,6 @@
1
- import { prepareImportPost, checkPost, isPublishable, PublishBlockedError, assetPath, ASSET_TYPES, prepareRelease } from './chunk-AH534PN7.js';
2
- export { ASSET_TYPES } from './chunk-AH534PN7.js';
3
- import { MAX_IMPORT_POSTS, validatePostSlug, PostDoc, PostSummarySchema, PageDoc, SiteDoc, parseSnapshot, ReleaseSnapshot } from './chunk-YAASBQTJ.js';
1
+ import { prepareImportPost, checkPost, isPublishable, PublishBlockedError, assetPath, ASSET_TYPES, prepareRelease } from './chunk-VJ4HOFBA.js';
2
+ export { ASSET_TYPES } from './chunk-VJ4HOFBA.js';
3
+ import { MAX_IMPORT_POSTS, validatePostSlug, PostDoc, PostSummarySchema, PageDoc, SiteDoc, parseSnapshot, ReleaseSnapshot } from './chunk-IU6AI75R.js';
4
4
  import './chunk-MU2Z2C4F.js';
5
5
 
6
6
  // src/supabase/index.ts
@@ -1,5 +1,5 @@
1
- import { s as Link, a7 as SiteDocInput, P as PageKind, a as PageDoc } from './registry-CeSBSfU8.js';
2
- import { S as SiteBrand, B as BrandInput } from './theme-B3Vh_b-P.js';
1
+ import { s as Link, a7 as SiteDocInput, a as PageKind, b as PageDoc } from './registry-BIijndsq.js';
2
+ import { S as SiteBrand, B as BrandInput } from './theme-Cg-inpk5.js';
3
3
 
4
4
  /**
5
5
  * Templates: whole sites from a little input.
@@ -1,6 +1,6 @@
1
- import { l as BuiltInSectionType, a3 as SectionPreset } from './registry-CeSBSfU8.js';
2
- import { S as SiteBrand } from './theme-B3Vh_b-P.js';
3
- import { a as TemplateMessage } from './templates-DALVa71A.js';
1
+ import { l as BuiltInSectionType, a3 as SectionPreset } from './registry-BIijndsq.js';
2
+ import { S as SiteBrand } from './theme-Cg-inpk5.js';
3
+ import { a as TemplateMessage } from './templates-kA-jrnWA.js';
4
4
  import { DesignSystem } from '@marktiderman/genesis-design-system';
5
5
  import '@marktiderman/genesis-media';
6
6
  import 'react';
@@ -1,5 +1,5 @@
1
1
  import { DesignSystemChoice, CanonicalBrand, FontInfo, DesignSystem } from '@marktiderman/genesis-design-system';
2
- import { n as FontChoice, k as BodyFontChoice, g as SiteDoc } from './registry-CeSBSfU8.js';
2
+ import { n as FontChoice, k as BodyFontChoice, g as SiteDoc } from './registry-BIijndsq.js';
3
3
 
4
4
  /**
5
5
  * A site's theme, from its brand: one `<style>` of CSS variables per site.
package/dist/web.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ImageUrlBuilder } from '@marktiderman/genesis-media';
2
- import { F as FormsResolver, U as ReleaseSnapshot, h as ReleasePage, d as ResolvedForm, O as PostsContext } from './registry-CeSBSfU8.js';
3
- import { S as SiteStore, R as ReservedPaths } from './store-CUsfzNmK.js';
4
- import { a as BrandSource, b as SiteTheme } from './theme-B3Vh_b-P.js';
2
+ import { F as FormsResolver, U as ReleaseSnapshot, h as ReleasePage, d as ResolvedForm, O as PostsContext } from './registry-BIijndsq.js';
3
+ import { S as SiteStore, R as ReservedPaths } from './store-BImtGmoF.js';
4
+ import { a as BrandSource, b as SiteTheme } from './theme-Cg-inpk5.js';
5
5
  import * as React from 'react';
6
6
  import 'zod';
7
7
  import '@marktiderman/genesis-design-system';
@@ -183,10 +183,10 @@ declare function collectFormSlugs(_snapshot: ReleaseSnapshot, page: ReleasePage
183
183
  declare function SiteRenderer({ snapshot, page, theme, origin, basePath, mode, logo, forms, assets, posts, imageUrl }: SiteRendererProps): React.JSX.Element;
184
184
 
185
185
  declare const ASSET_SIZES: {
186
- readonly css: 43922;
187
- readonly formsCss: 85175;
186
+ readonly css: 47371;
187
+ readonly formsCss: 90079;
188
188
  readonly islands: 3010;
189
- readonly formIsland: 548802;
189
+ readonly formIsland: 550715;
190
190
  readonly fonts: 861576;
191
191
  };
192
192
  /** Each self-hosted font file's name under the assets prefix, by its key (`inter-700`). */
package/dist/web.js CHANGED
@@ -1,10 +1,10 @@
1
- export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, fontFaces, handleSiteRequest, pageStyleText, renderSitePageToString } from './chunk-UUFQSOIF.js';
2
- export { ASSET_SIZES, FONT_FILES } from './chunk-Z3NXMDUG.js';
1
+ export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, fontFaces, handleSiteRequest, pageStyleText, renderSitePageToString } from './chunk-5LEY4UFU.js';
2
+ export { ASSET_SIZES, FONT_FILES } from './chunk-TPBKCLES.js';
3
3
  import './chunk-OFJISW3T.js';
4
- import './chunk-RSU5VL44.js';
4
+ import './chunk-SMJMXQ3T.js';
5
5
  import './chunk-VZUDRPFG.js';
6
- import './chunk-AH534PN7.js';
7
- import './chunk-YAASBQTJ.js';
6
+ import './chunk-VJ4HOFBA.js';
7
+ import './chunk-IU6AI75R.js';
8
8
  import './chunk-MU2Z2C4F.js';
9
9
  //# sourceMappingURL=web.js.map
10
10
  //# sourceMappingURL=web.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marktiderman/genesis-sites",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -87,14 +87,14 @@
87
87
  "SKILL.md"
88
88
  ],
89
89
  "dependencies": {
90
- "@marktiderman/genesis-features": "^0.8.2",
90
+ "@marktiderman/genesis-features": "^0.9.0",
91
91
  "@marktiderman/genesis-media": "^0.2.0"
92
92
  },
93
93
  "peerDependencies": {
94
- "@marktiderman/genesis-design-system": "^1.9.0",
94
+ "@marktiderman/genesis-design-system": "^1.11.0",
95
95
  "@marktiderman/genesis-forms": ">=0.6.0 <1.0.0",
96
96
  "@marktiderman/genesis-forms-web": ">=0.5.0 <1.0.0",
97
- "@marktiderman/genesis-ui": "^2.32.0",
97
+ "@marktiderman/genesis-ui": "^2.34.0",
98
98
  "@puckeditor/core": "^0.23.0",
99
99
  "@supabase/supabase-js": "^2.118.0",
100
100
  "lucide-react": "^1.0.0",
@@ -126,11 +126,11 @@
126
126
  "@fontsource/source-serif-4": "^5.3.1",
127
127
  "@fontsource/space-grotesk": "^5.3.0",
128
128
  "@fontsource/work-sans": "^5.3.0",
129
- "@marktiderman/genesis-design-system": "^1.9.0",
129
+ "@marktiderman/genesis-design-system": "^1.11.0",
130
130
  "@marktiderman/genesis-forms": "^0.11.1",
131
131
  "@marktiderman/genesis-forms-react": "^0.3.3",
132
- "@marktiderman/genesis-forms-web": "^0.8.0",
133
- "@marktiderman/genesis-ui": "^2.32.0",
132
+ "@marktiderman/genesis-forms-web": "^0.8.1",
133
+ "@marktiderman/genesis-ui": "^2.34.0",
134
134
  "@puckeditor/core": "^0.23.0",
135
135
  "@supabase/supabase-js": "^2.118.0",
136
136
  "@tailwindcss/cli": "4.3.3",