@marktiderman/genesis-sites 0.7.5 → 0.8.0

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 (59) hide show
  1. package/README.md +74 -8
  2. package/SKILL.md +10 -0
  3. package/dist/assets/form-island.da6c662a73.js +51 -0
  4. package/dist/assets/{islands.33a445f34e.js → islands.83aaf5e0df.js} +1 -1
  5. package/dist/assets/sites-forms.bac9a6aafd.css +10 -0
  6. package/dist/assets/sites-forms.css +1 -1
  7. package/dist/assets/sites.323090ba26.css +2 -0
  8. package/dist/assets/sites.css +1 -1
  9. package/dist/assets.generated-YGLB7VKL.js +3 -0
  10. package/dist/{assets.generated-LLUGUUWZ.js.map → assets.generated-YGLB7VKL.js.map} +1 -1
  11. package/dist/blocks.js +2 -1
  12. package/dist/blocks.js.map +1 -1
  13. package/dist/{chunk-IU6AI75R.js → chunk-6CXTOPYI.js} +343 -158
  14. package/dist/chunk-6CXTOPYI.js.map +1 -0
  15. package/dist/{chunk-7E3YGYVH.js → chunk-FMQTSXJN.js} +26 -12
  16. package/dist/chunk-FMQTSXJN.js.map +1 -0
  17. package/dist/{chunk-SMJMXQ3T.js → chunk-I767PDBR.js} +260 -62
  18. package/dist/chunk-I767PDBR.js.map +1 -0
  19. package/dist/chunk-MXV2HOJO.js +19 -0
  20. package/dist/chunk-MXV2HOJO.js.map +1 -0
  21. package/dist/{chunk-KY4ALBVH.js → chunk-QE7KS2JS.js} +65 -7
  22. package/dist/chunk-QE7KS2JS.js.map +1 -0
  23. package/dist/{chunk-VJ4HOFBA.js → chunk-YAMQ2JKO.js} +20 -9
  24. package/dist/chunk-YAMQ2JKO.js.map +1 -0
  25. package/dist/editor.d.ts +22 -14
  26. package/dist/editor.js +701 -157
  27. package/dist/editor.js.map +1 -1
  28. package/dist/handler-J5BCH2VW.js +10 -0
  29. package/dist/{handler-UMGSZY33.js.map → handler-J5BCH2VW.js.map} +1 -1
  30. package/dist/import.d.ts +3 -3
  31. package/dist/index.d.ts +51 -10
  32. package/dist/index.js +3 -3
  33. package/dist/redirects-BNSD9MKa.d.ts +43 -0
  34. package/dist/{registry-BIijndsq.d.ts → registry-BPn-tDlL.d.ts} +75 -0
  35. package/dist/sections.d.ts +86 -4
  36. package/dist/sections.js +2 -2
  37. package/dist/{store-BImtGmoF.d.ts → store-B_GMH42V.d.ts} +2 -2
  38. package/dist/supabase.d.ts +4 -4
  39. package/dist/supabase.js +3 -3
  40. package/dist/{templates-kA-jrnWA.d.ts → templates-CFSSG1iU.d.ts} +2 -2
  41. package/dist/templates.d.ts +3 -3
  42. package/dist/{theme-Cg-inpk5.d.ts → theme-Dw42GDI_.d.ts} +1 -1
  43. package/dist/web.d.ts +21 -11
  44. package/dist/web.js +5 -5
  45. package/migrations/0003_genesis_sites_post_dates.sql +117 -0
  46. package/migrations/tests/0003_genesis_sites_post_dates.test.sql +76 -0
  47. package/package.json +9 -5
  48. package/dist/assets/form-island.defb8daccc.js +0 -51
  49. package/dist/assets/sites-forms.aff23b5617.css +0 -10
  50. package/dist/assets/sites.5b3f64c627.css +0 -2
  51. package/dist/assets.generated-LLUGUUWZ.js +0 -3
  52. package/dist/chunk-7E3YGYVH.js.map +0 -1
  53. package/dist/chunk-IU6AI75R.js.map +0 -1
  54. package/dist/chunk-KY4ALBVH.js.map +0 -1
  55. package/dist/chunk-RLYO6VVP.js +0 -19
  56. package/dist/chunk-RLYO6VVP.js.map +0 -1
  57. package/dist/chunk-SMJMXQ3T.js.map +0 -1
  58. package/dist/chunk-VJ4HOFBA.js.map +0 -1
  59. package/dist/handler-UMGSZY33.js +0 -10
@@ -0,0 +1,10 @@
1
+ export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-FMQTSXJN.js';
2
+ import './chunk-MXV2HOJO.js';
3
+ import './chunk-OFJISW3T.js';
4
+ import './chunk-I767PDBR.js';
5
+ import './chunk-VZUDRPFG.js';
6
+ import './chunk-YAMQ2JKO.js';
7
+ import './chunk-6CXTOPYI.js';
8
+ import './chunk-MU2Z2C4F.js';
9
+ //# sourceMappingURL=handler-J5BCH2VW.js.map
10
+ //# sourceMappingURL=handler-J5BCH2VW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-UMGSZY33.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-J5BCH2VW.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-BImtGmoF.js';
6
- import './registry-BIijndsq.js';
5
+ import { S as SiteStore } from './store-B_GMH42V.js';
6
+ import './registry-BPn-tDlL.js';
7
7
  import 'react';
8
8
  import 'zod';
9
- import './theme-Cg-inpk5.js';
9
+ import './theme-Dw42GDI_.js';
10
10
  import '@marktiderman/genesis-design-system';
11
11
 
12
12
  /**
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
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';
1
+ import { P as PageMeta$1, g as SiteDoc, b as PageDoc, f as SectionNode, A as AnySectionDefinition, h as ReleasePage, i as PostSummary, L as LivePost, j as Redirect } from './registry-BPn-tDlL.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-BPn-tDlL.js';
3
+ import { R as ReservedPaths } from './store-B_GMH42V.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-B_GMH42V.js';
5
+ export { a as RedirectContext, R as RedirectDestination, b as RedirectMatch, r as redirectDestinations, c as redirectFromProblems, d as redirectToProblems, e as removeRedirect, u as upsertRedirect } from './redirects-BNSD9MKa.js';
5
6
  export { LATIN_UNICODE_RANGE, SELF_HOSTED_FONTS, SelfHostedFont, fontFileKey } from '@marktiderman/genesis-design-system/fonts';
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
+ 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-Dw42GDI_.js';
8
+ export { O as OnePageSiteInput, T as TemplateInput, a as TemplateMessage, b as TemplateResult, l as landingPage, o as onePageSite, s as starterSite } from './templates-CFSSG1iU.js';
8
9
  export { FONT_CHOICES, FontInfo } from '@marktiderman/genesis-design-system';
9
10
  import '@marktiderman/genesis-media';
10
11
  import 'react';
@@ -21,8 +22,8 @@ import 'zod';
21
22
  declare const DEFAULT_LANDING_DIRECTORY = "/go";
22
23
  /** A landing page's slug: one path segment of lowercase letters, digits and single hyphens. */
23
24
  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;
25
+ /** The site's landing page directory: `site.landing.directory`, else `fallback` (the host's default), else `/go`. */
26
+ declare function landingDirectory(site: Pick<SiteDoc, "landing"> | null | undefined, fallback?: string): string;
26
27
  /** The path of the landing page `slug` under `directory`: `("/go", "spring")` → `/go/spring`. */
27
28
  declare function landingPath(directory: string, slug: string): string;
28
29
  /** The slug of a page under `directory` (`/go/spring` → `spring`), or null for a path outside it. */
@@ -48,6 +49,23 @@ declare function landingMoves<T extends Pick<PageMeta$1, "id" | "kind" | "path">
48
49
  path: string;
49
50
  }[];
50
51
 
52
+ /**
53
+ * The site's 404 page: the page at `/404`, made and edited like any other
54
+ * page, with the site's sections. A visitor to an address the site doesn't
55
+ * have sees it (with `unknownPath: "not-found"`), with status 404 and
56
+ * `noindex`; a site without one shows the built-in "Page not found" text.
57
+ * It stays out of the sitemap and the menu's suggestions.
58
+ */
59
+
60
+ /** Where a site's 404 page lives. */
61
+ declare const NOT_FOUND_PATH = "/404";
62
+ /** Is this the site's 404 page (the page at `/404`)? */
63
+ declare function isNotFoundPage(page: Pick<PageMeta$1, "path">): boolean;
64
+ /** A starting 404 page: a heading, a line of copy and a button home. */
65
+ declare function notFoundPageDoc(input?: {
66
+ title?: string;
67
+ }): PageDoc;
68
+
51
69
  /**
52
70
  * Props migrations. A section node records the props version it was written
53
71
  * at (`v`); its definition declares the current `version` and a pure
@@ -142,6 +160,9 @@ declare function pageTitle(site: SiteDoc, doc: PageDoc, _path: string): string;
142
160
  /** Every meta value a page prints in its `<head>`. */
143
161
  declare function pageMeta({ site, page, origin, basePath, preview, article }: PageMetaInput): PageMeta;
144
162
  declare function organizationJsonLd(site: SiteDoc, origin: string, basePath?: string): Record<string, unknown>;
163
+ /** The site's business at its address (`seo.localBusiness`), or null when it has none or `path` doesn't carry it. */
164
+ declare function localBusinessJsonLd(site: SiteDoc, path: string, origin: string, basePath?: string): Record<string, unknown> | null;
165
+ declare function faqPageJsonLd(page: Pick<PageDoc, "content">): Record<string, unknown> | null;
145
166
  declare function websiteJsonLd(site: SiteDoc, origin: string, basePath?: string): Record<string, unknown>;
146
167
  /** The trail from the home page to `page`, through every ancestor path that is a page. */
147
168
  declare function breadcrumbJsonLd(pages: readonly ReleasePage[], page: ReleasePage, origin: string, basePath?: string): Record<string, unknown> | null;
@@ -202,8 +223,28 @@ declare function robotsTxt({ origin, basePath, disallowAll }: RobotsInput): stri
202
223
  * (a page lives there now). A move back undoes the earlier redirect.
203
224
  */
204
225
  declare function redirectsAfterMove(redirects: readonly Redirect[], from: string, to: string): Redirect[];
205
- /** The redirect for a request path, if any (exact match on the normalised path). */
226
+ /** Is `path` under the prefix redirect's `from` (`/people/ana` under `/people`)? */
227
+ declare function isUnderPrefix(path: string, from: string): boolean;
228
+ /**
229
+ * The exact redirect for a request path, if any (on the normalised path).
230
+ * Prefix redirects apply only where no page is: `matchPrefixRedirect`.
231
+ */
206
232
  declare function matchRedirect(redirects: readonly Redirect[], path: string): Redirect | undefined;
233
+ /**
234
+ * The prefix redirect for a path with no page, the longest `from` first, and
235
+ * where it goes: `to`, plus the rest of the path when it keeps it.
236
+ */
237
+ declare function matchPrefixRedirect(redirects: readonly Redirect[], path: string): {
238
+ redirect: Redirect;
239
+ to: string;
240
+ } | undefined;
241
+ /**
242
+ * The redirects a visitor never gets out of: following each one (and, for a
243
+ * prefix redirect, an address under it) as the handler would comes back to
244
+ * an address it has passed, or keeps going past `maxHops` (an address that
245
+ * grows on every hop). The `from` of each, once.
246
+ */
247
+ declare function redirectLoops(redirects: readonly Redirect[], hasPage?: (path: string) => boolean, maxHops?: number): string[];
207
248
 
208
249
  declare const exampleBrands: Readonly<{
209
250
  riverside: {
@@ -230,4 +271,4 @@ declare const exampleBrands: Readonly<{
230
271
  };
231
272
  }>;
232
273
 
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 };
274
+ export { AnySectionDefinition, DEFAULT_LANDING_DIRECTORY, LANDING_SLUG, LivePost, type MigratedNode, type MigratedPage, type MigrationIssue, NOT_FOUND_PATH, 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, faqPageJsonLd, isLandingPage, isNotFoundPage, isUnderPrefix, landingDirectory, landingDirectoryProblems, landingMoves, landingPages, landingPath, landingSlugOf, landingSlugProblems, localBusinessJsonLd, matchPrefixRedirect, matchRedirect, migrateNode, migratePage, migrateSite, notFoundPageDoc, organizationJsonLd, pageMeta, pageTitle, postDescription, postPath, redirectLoops, 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 { DEFAULT_LANDING_DIRECTORY, LANDING_SLUG, exampleBrands, isLandingPage, landingDirectory, landingDirectoryProblems, landingMoves, landingPage, landingPages, landingPath, landingSlugOf, landingSlugProblems, onePageSite, starterSite } from './chunk-KY4ALBVH.js';
2
+ export { DEFAULT_LANDING_DIRECTORY, LANDING_SLUG, exampleBrands, isLandingPage, landingDirectory, landingDirectoryProblems, landingMoves, landingPage, landingPages, landingPath, landingSlugOf, landingSlugProblems, onePageSite, redirectDestinations, redirectFromProblems, redirectToProblems, removeRedirect, starterSite, upsertRedirect } from './chunk-QE7KS2JS.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-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';
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-YAMQ2JKO.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, NOT_FOUND_PATH, 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, faqPageJsonLd, getSection, isNotFoundPage, isUnderPrefix, listSections, localBusinessJsonLd, matchPrefixRedirect, matchRedirect, newSectionId, nodeFromPreset, notFoundPageDoc, opensInNewTab, organizationJsonLd, pageMeta, pageTitle, parseSnapshot, postDescription, postPath, postSummary, redirectLoops, redirectsAfterMove, registerBuiltInSection, registerSection, richTextPlain, robotsTxt, rssXml, safeJsonForHtml, sectionJsonSchema, sectionManifests, sitemapXml, unregisterSection, validatePostSlug, websiteJsonLd } from './chunk-6CXTOPYI.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
@@ -0,0 +1,43 @@
1
+ import { j as Redirect, P as PageMeta } from './registry-BPn-tDlL.js';
2
+ import { R as ReservedPaths } from './store-B_GMH42V.js';
3
+
4
+ /**
5
+ * A place a redirect can go, offered in the editor's picker: `path` is a site
6
+ * path (`/f/feedback`) or a full URL, `label` names it, and `group` is the
7
+ * heading it is listed under ("Forms", "Offers").
8
+ */
9
+ interface RedirectDestination {
10
+ group: string;
11
+ label: string;
12
+ path: string;
13
+ }
14
+ /** The site's own pages and landing pages as destinations, then the host's (`extra`), each path once. */
15
+ declare function redirectDestinations(pages: readonly Pick<PageMeta, "path" | "title" | "kind">[], extra?: readonly RedirectDestination[]): RedirectDestination[];
16
+ interface RedirectContext {
17
+ /** The site's redirects now. */
18
+ redirects: readonly Redirect[];
19
+ /** The site's pages: a redirect can't take a page's address. */
20
+ pages: readonly Pick<PageMeta, "path">[];
21
+ reserved?: ReservedPaths | undefined;
22
+ /** The address of the redirect being edited, which may keep it. */
23
+ editing?: string | undefined;
24
+ }
25
+ /** Why a redirect can't be from `from` (empty when it can). */
26
+ declare function redirectFromProblems(from: string, ctx: RedirectContext, how?: RedirectMatch): string[];
27
+ /** How a redirect matches: its `from` only, or everything under it too. */
28
+ interface RedirectMatch {
29
+ match?: "prefix" | undefined;
30
+ keepRest?: boolean | undefined;
31
+ }
32
+ /** Why a redirect from `from` can't go to `to` (empty when it can). */
33
+ declare function redirectToProblems(from: string, to: string, ctx: RedirectContext, how?: RedirectMatch): string[];
34
+ /**
35
+ * The redirects with `next` added, or put in place of the one from `replacing`.
36
+ * Redirects that went to `next.from` go straight to `next.to` (no chains),
37
+ * and any left pointing at their own address are dropped.
38
+ */
39
+ declare function upsertRedirect(redirects: readonly Redirect[], next: Redirect, replacing?: string): Redirect[];
40
+ /** The redirects without the one from `from`. */
41
+ declare function removeRedirect(redirects: readonly Redirect[], from: string): Redirect[];
42
+
43
+ export { type RedirectDestination as R, type RedirectContext as a, type RedirectMatch as b, redirectFromProblems as c, redirectToProblems as d, removeRedirect as e, redirectDestinations as r, upsertRedirect as u };
@@ -214,6 +214,8 @@ declare const Redirect: z.ZodObject<{
214
214
  from: z.ZodString;
215
215
  to: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
216
216
  status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
217
+ match: z.ZodOptional<z.ZodLiteral<"prefix">>;
218
+ keepRest: z.ZodOptional<z.ZodBoolean>;
217
219
  }, z.core.$strip>;
218
220
  type Redirect = z.infer<typeof Redirect>;
219
221
  /** Fonts a site may choose for its headings: genesis-design-system's `FONT_IDS` (see `FONT_CHOICES` for their stacks). */
@@ -333,6 +335,29 @@ declare const SeoDefaults: z.ZodObject<{
333
335
  logo: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
334
336
  sameAs: z.ZodOptional<z.ZodArray<z.ZodURL>>;
335
337
  }, z.core.$strip>>;
338
+ localBusiness: z.ZodOptional<z.ZodObject<{
339
+ type: z.ZodDefault<z.ZodString>;
340
+ name: z.ZodOptional<z.ZodString>;
341
+ description: z.ZodOptional<z.ZodString>;
342
+ telephone: z.ZodOptional<z.ZodString>;
343
+ email: z.ZodOptional<z.ZodEmail>;
344
+ foundingDate: z.ZodOptional<z.ZodString>;
345
+ priceRange: z.ZodOptional<z.ZodString>;
346
+ image: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
347
+ address: z.ZodObject<{
348
+ streetAddress: z.ZodString;
349
+ addressLocality: z.ZodString;
350
+ addressRegion: z.ZodOptional<z.ZodString>;
351
+ postalCode: z.ZodOptional<z.ZodString>;
352
+ addressCountry: z.ZodOptional<z.ZodString>;
353
+ }, z.core.$strip>;
354
+ geo: z.ZodOptional<z.ZodObject<{
355
+ latitude: z.ZodNumber;
356
+ longitude: z.ZodNumber;
357
+ }, z.core.$strip>>;
358
+ openingHours: z.ZodOptional<z.ZodArray<z.ZodString>>;
359
+ pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
360
+ }, z.core.$strip>>;
336
361
  noindex: z.ZodOptional<z.ZodBoolean>;
337
362
  }, z.core.$strip>;
338
363
  type SeoDefaults = z.infer<typeof SeoDefaults>;
@@ -450,12 +475,37 @@ declare const SiteDoc: z.ZodObject<{
450
475
  logo: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
451
476
  sameAs: z.ZodOptional<z.ZodArray<z.ZodURL>>;
452
477
  }, z.core.$strip>>;
478
+ localBusiness: z.ZodOptional<z.ZodObject<{
479
+ type: z.ZodDefault<z.ZodString>;
480
+ name: z.ZodOptional<z.ZodString>;
481
+ description: z.ZodOptional<z.ZodString>;
482
+ telephone: z.ZodOptional<z.ZodString>;
483
+ email: z.ZodOptional<z.ZodEmail>;
484
+ foundingDate: z.ZodOptional<z.ZodString>;
485
+ priceRange: z.ZodOptional<z.ZodString>;
486
+ image: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
487
+ address: z.ZodObject<{
488
+ streetAddress: z.ZodString;
489
+ addressLocality: z.ZodString;
490
+ addressRegion: z.ZodOptional<z.ZodString>;
491
+ postalCode: z.ZodOptional<z.ZodString>;
492
+ addressCountry: z.ZodOptional<z.ZodString>;
493
+ }, z.core.$strip>;
494
+ geo: z.ZodOptional<z.ZodObject<{
495
+ latitude: z.ZodNumber;
496
+ longitude: z.ZodNumber;
497
+ }, z.core.$strip>>;
498
+ openingHours: z.ZodOptional<z.ZodArray<z.ZodString>>;
499
+ pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
500
+ }, z.core.$strip>>;
453
501
  noindex: z.ZodOptional<z.ZodBoolean>;
454
502
  }, z.core.$strip>>;
455
503
  redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
456
504
  from: z.ZodString;
457
505
  to: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
458
506
  status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
507
+ match: z.ZodOptional<z.ZodLiteral<"prefix">>;
508
+ keepRest: z.ZodOptional<z.ZodBoolean>;
459
509
  }, z.core.$strip>>>;
460
510
  images: z.ZodOptional<z.ZodEnum<{
461
511
  any: "any";
@@ -644,12 +694,37 @@ declare const ReleaseSnapshot: z.ZodObject<{
644
694
  logo: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
645
695
  sameAs: z.ZodOptional<z.ZodArray<z.ZodURL>>;
646
696
  }, z.core.$strip>>;
697
+ localBusiness: z.ZodOptional<z.ZodObject<{
698
+ type: z.ZodDefault<z.ZodString>;
699
+ name: z.ZodOptional<z.ZodString>;
700
+ description: z.ZodOptional<z.ZodString>;
701
+ telephone: z.ZodOptional<z.ZodString>;
702
+ email: z.ZodOptional<z.ZodEmail>;
703
+ foundingDate: z.ZodOptional<z.ZodString>;
704
+ priceRange: z.ZodOptional<z.ZodString>;
705
+ image: z.ZodOptional<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
706
+ address: z.ZodObject<{
707
+ streetAddress: z.ZodString;
708
+ addressLocality: z.ZodString;
709
+ addressRegion: z.ZodOptional<z.ZodString>;
710
+ postalCode: z.ZodOptional<z.ZodString>;
711
+ addressCountry: z.ZodOptional<z.ZodString>;
712
+ }, z.core.$strip>;
713
+ geo: z.ZodOptional<z.ZodObject<{
714
+ latitude: z.ZodNumber;
715
+ longitude: z.ZodNumber;
716
+ }, z.core.$strip>>;
717
+ openingHours: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
+ pages: z.ZodOptional<z.ZodArray<z.ZodString>>;
719
+ }, z.core.$strip>>;
647
720
  noindex: z.ZodOptional<z.ZodBoolean>;
648
721
  }, z.core.$strip>>;
649
722
  redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
650
723
  from: z.ZodString;
651
724
  to: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
652
725
  status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>]>;
726
+ match: z.ZodOptional<z.ZodLiteral<"prefix">>;
727
+ keepRest: z.ZodOptional<z.ZodBoolean>;
653
728
  }, z.core.$strip>>>;
654
729
  images: z.ZodOptional<z.ZodEnum<{
655
730
  any: "any";
@@ -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-BIijndsq.js';
1
+ import { _ as SectionDefinition, W as RichText, s as Link, c as RenderContext, f as SectionNode, a8 as Surface, I as Image, m as FileRef, A as AnySectionDefinition } from './registry-BPn-tDlL.js';
2
2
  import { z } from 'zod';
3
3
  import * as React from 'react';
4
4
  import { BandProps } from '@marktiderman/genesis-ui/band';
@@ -17,6 +17,8 @@ declare const ctaSection: Readonly<SectionDefinition<{
17
17
  event?: string | undefined;
18
18
  };
19
19
  surface: "base" | "muted" | "accent" | "inverse";
20
+ eyebrow?: string | undefined;
21
+ headingAccent?: string | undefined;
20
22
  body?: string | undefined;
21
23
  secondaryCta?: {
22
24
  label: string;
@@ -26,16 +28,46 @@ declare const ctaSection: Readonly<SectionDefinition<{
26
28
  external?: boolean | undefined;
27
29
  event?: string | undefined;
28
30
  } | undefined;
31
+ image?: {
32
+ src: string;
33
+ alt: string;
34
+ decorative?: boolean | undefined;
35
+ width?: number | undefined;
36
+ height?: number | undefined;
37
+ focal?: {
38
+ x: number;
39
+ y: number;
40
+ } | undefined;
41
+ phone?: {
42
+ src: string;
43
+ width?: number | undefined;
44
+ height?: number | undefined;
45
+ focal?: {
46
+ x: number;
47
+ y: number;
48
+ } | undefined;
49
+ } | undefined;
50
+ placeholder?: string | undefined;
51
+ } | undefined;
29
52
  anchor?: string | undefined;
30
53
  }>>;
31
54
 
55
+ /**
56
+ * Version 1 answers were plain strings: a blank line between paragraphs and a
57
+ * single line break kept as a break. Version 2 holds the same as rich text.
58
+ */
59
+ declare function answerToRichText(text: string): RichText;
32
60
  declare const faqSection: Readonly<SectionDefinition<{
33
61
  heading: string;
34
62
  items: {
35
63
  question: string;
36
- answer: string;
64
+ answer: {
65
+ type: "doc";
66
+ content?: Record<string, unknown>[] | undefined;
67
+ };
37
68
  }[];
38
69
  surface: "base" | "muted" | "accent" | "inverse";
70
+ eyebrow?: string | undefined;
39
71
  body?: string | undefined;
40
72
  anchor?: string | undefined;
41
73
  }>>;
@@ -84,12 +116,23 @@ declare const featuresSection: Readonly<SectionDefinition<{
84
116
  event?: string | undefined;
85
117
  } | undefined;
86
118
  note?: string | undefined;
119
+ anchor?: string | undefined;
87
120
  }[];
88
121
  columns: 2 | 4 | 3;
89
122
  numbered: boolean;
90
123
  surface: "base" | "muted" | "accent" | "inverse";
91
124
  eyebrow?: string | undefined;
92
125
  body?: string | undefined;
126
+ compare?: {
127
+ included: {
128
+ heading: string;
129
+ items: string[];
130
+ };
131
+ excluded: {
132
+ heading: string;
133
+ items: string[];
134
+ };
135
+ } | undefined;
93
136
  cta?: {
94
137
  label: string;
95
138
  href: string;
@@ -124,6 +167,14 @@ declare const footerSection: Readonly<SectionDefinition<{
124
167
  surface: "base" | "muted" | "accent" | "inverse";
125
168
  tagline?: string | undefined;
126
169
  copyright?: string | undefined;
170
+ cta?: {
171
+ label: string;
172
+ href: string;
173
+ newTab?: boolean | undefined;
174
+ target?: "_self" | "_blank" | undefined;
175
+ external?: boolean | undefined;
176
+ event?: string | undefined;
177
+ } | undefined;
127
178
  }>>;
128
179
 
129
180
  declare const formEmbedSection: Readonly<SectionDefinition<{
@@ -158,6 +209,7 @@ declare const gallerySection: Readonly<SectionDefinition<{
158
209
  caption?: string | undefined;
159
210
  }[];
160
211
  surface: "base" | "muted" | "accent" | "inverse";
212
+ eyebrow?: string | undefined;
161
213
  heading?: string | undefined;
162
214
  body?: string | undefined;
163
215
  anchor?: string | undefined;
@@ -165,7 +217,12 @@ declare const gallerySection: Readonly<SectionDefinition<{
165
217
 
166
218
  declare const heroSection: Readonly<SectionDefinition<{
167
219
  heading: string;
220
+ stats: {
221
+ value: string;
222
+ label: string;
223
+ }[];
168
224
  eyebrow?: string | undefined;
225
+ headingAccent?: string | undefined;
169
226
  body?: string | undefined;
170
227
  primaryCta?: {
171
228
  label: string;
@@ -234,6 +291,7 @@ declare const logosSection: Readonly<SectionDefinition<{
234
291
  href?: string | undefined;
235
292
  }[];
236
293
  surface: "base" | "muted" | "accent" | "inverse";
294
+ eyebrow?: string | undefined;
237
295
  heading?: string | undefined;
238
296
  claim?: string | undefined;
239
297
  anchor?: string | undefined;
@@ -262,6 +320,7 @@ declare const navSection: Readonly<SectionDefinition<{
262
320
  } | undefined;
263
321
  placeholder?: string | undefined;
264
322
  } | undefined;
323
+ tagline?: string | undefined;
265
324
  cta?: {
266
325
  label: string;
267
326
  href: string;
@@ -270,6 +329,12 @@ declare const navSection: Readonly<SectionDefinition<{
270
329
  external?: boolean | undefined;
271
330
  event?: string | undefined;
272
331
  } | undefined;
332
+ ctaShortLabel?: string | undefined;
333
+ drawerContact?: {
334
+ phone?: string | undefined;
335
+ email?: string | undefined;
336
+ address?: string | undefined;
337
+ } | undefined;
273
338
  }>>;
274
339
 
275
340
  declare const pricingSection: Readonly<SectionDefinition<{
@@ -290,6 +355,7 @@ declare const pricingSection: Readonly<SectionDefinition<{
290
355
  } | undefined;
291
356
  highlighted?: boolean | undefined;
292
357
  badge?: string | undefined;
358
+ anchor?: string | undefined;
293
359
  }[];
294
360
  groups: {
295
361
  heading: string;
@@ -309,6 +375,7 @@ declare const pricingSection: Readonly<SectionDefinition<{
309
375
  } | undefined;
310
376
  highlighted?: boolean | undefined;
311
377
  badge?: string | undefined;
378
+ anchor?: string | undefined;
312
379
  }[];
313
380
  eyebrow?: string | undefined;
314
381
  body?: string | undefined;
@@ -328,7 +395,9 @@ declare const richTextSection: Readonly<SectionDefinition<{
328
395
  content?: Record<string, unknown>[] | undefined;
329
396
  };
330
397
  surface: "base" | "muted" | "accent" | "inverse";
398
+ eyebrow?: string | undefined;
331
399
  heading?: string | undefined;
400
+ headingAccent?: string | undefined;
332
401
  anchor?: string | undefined;
333
402
  }>>;
334
403
 
@@ -338,6 +407,7 @@ declare const statsSection: Readonly<SectionDefinition<{
338
407
  label: string;
339
408
  }[];
340
409
  surface: "base" | "muted" | "accent" | "inverse";
410
+ eyebrow?: string | undefined;
341
411
  heading?: string | undefined;
342
412
  body?: string | undefined;
343
413
  anchor?: string | undefined;
@@ -371,6 +441,7 @@ declare const testimonialsSection: Readonly<SectionDefinition<{
371
441
  } | undefined;
372
442
  }[];
373
443
  surface: "base" | "muted" | "accent" | "inverse";
444
+ eyebrow?: string | undefined;
374
445
  heading?: string | undefined;
375
446
  body?: string | undefined;
376
447
  anchor?: string | undefined;
@@ -889,11 +960,22 @@ declare function SectionBand({ node, ctx, anchor, surface, spacing, width, label
889
960
  className?: string;
890
961
  children: React.ReactNode;
891
962
  }): React.JSX.Element;
963
+ /** A phrase inside a heading to set in the accent colour ("Strong <em>together</em>"). */
964
+ declare const HeadingAccent: z.ZodOptional<z.ZodString>;
965
+ /**
966
+ * A heading with its accent phrase highlighted: the first place the phrase
967
+ * appears (any case). A phrase the heading doesn't contain changes nothing.
968
+ * On an accent or inverse band the brand colour would vanish, so the phrase
969
+ * is underlined there instead.
970
+ */
971
+ declare function withAccent(heading: string, accent: string | undefined, onAccentBand?: boolean): React.ReactNode;
892
972
  /** A section's heading block: an eyebrow, the title and a lead, centred or left. */
893
- declare function SectionIntro({ ctx, eyebrow, heading, body, align, tone, size, }: {
973
+ declare function SectionIntro({ ctx, eyebrow, heading, accent, body, align, tone, size, }: {
894
974
  ctx: RenderContext;
895
975
  eyebrow?: string | undefined;
896
976
  heading?: string | undefined;
977
+ /** A phrase of the heading to highlight. */
978
+ accent?: string | undefined;
897
979
  body?: string | undefined;
898
980
  align?: "center" | "left";
899
981
  tone?: "muted" | "inherit";
@@ -924,4 +1006,4 @@ declare const siteFormSlots: {
924
1006
  /** The built-in sections, in the editor's order. */
925
1007
  declare const builtInSections: readonly AnySectionDefinition[];
926
1008
 
927
- export { Anchor, ButtonLink, CHIP_TONES, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, type MapProvider, type ScheduleSession, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, type Weekday, 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 };
1009
+ export { Anchor, ButtonLink, CHIP_TONES, HeadingAccent, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, type MapProvider, type ScheduleSession, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, type Weekday, answerToRichText, 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, withAccent };
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-SMJMXQ3T.js';
1
+ export { Anchor, ButtonLink, CHIP_TONES, HeadingAccent, HiddenTitle, ICONS, IconName, ItemTitle, MAP_PROVIDERS, SectionBand, SectionIntro, SectionTitle, SiteFormHeader, SiteImage, TextLink, WEEKDAYS, answerToRichText, 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, withAccent } from './chunk-I767PDBR.js';
2
2
  import './chunk-VZUDRPFG.js';
3
- import './chunk-IU6AI75R.js';
3
+ import './chunk-6CXTOPYI.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, 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';
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-BPn-tDlL.js';
2
+ import { b as SiteTheme, B as BrandInput } from './theme-Dw42GDI_.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-BImtGmoF.js';
3
- export { d as ASSET_TYPES } from './store-BImtGmoF.js';
4
- import './registry-BIijndsq.js';
2
+ import { S as SiteStore } from './store-B_GMH42V.js';
3
+ export { d as ASSET_TYPES } from './store-B_GMH42V.js';
4
+ import './registry-BPn-tDlL.js';
5
5
  import '@marktiderman/genesis-media';
6
6
  import 'react';
7
7
  import 'zod';
8
- import './theme-Cg-inpk5.js';
8
+ import './theme-Dw42GDI_.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-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';
1
+ import { prepareImportPost, checkPost, isPublishable, PublishBlockedError, assetPath, ASSET_TYPES, prepareRelease } from './chunk-YAMQ2JKO.js';
2
+ export { ASSET_TYPES } from './chunk-YAMQ2JKO.js';
3
+ import { MAX_IMPORT_POSTS, validatePostSlug, PostDoc, PostSummarySchema, PageDoc, SiteDoc, parseSnapshot, ReleaseSnapshot } from './chunk-6CXTOPYI.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, a as PageKind, b as PageDoc } from './registry-BIijndsq.js';
2
- import { S as SiteBrand, B as BrandInput } from './theme-Cg-inpk5.js';
1
+ import { s as Link, a7 as SiteDocInput, a as PageKind, b as PageDoc } from './registry-BPn-tDlL.js';
2
+ import { S as SiteBrand, B as BrandInput } from './theme-Dw42GDI_.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-BIijndsq.js';
2
- import { S as SiteBrand } from './theme-Cg-inpk5.js';
3
- import { a as TemplateMessage } from './templates-kA-jrnWA.js';
1
+ import { l as BuiltInSectionType, a3 as SectionPreset } from './registry-BPn-tDlL.js';
2
+ import { S as SiteBrand } from './theme-Dw42GDI_.js';
3
+ import { a as TemplateMessage } from './templates-CFSSG1iU.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-BIijndsq.js';
2
+ import { n as FontChoice, k as BodyFontChoice, g as SiteDoc } from './registry-BPn-tDlL.js';
3
3
 
4
4
  /**
5
5
  * A site's theme, from its brand: one `<style>` of CSS variables per site.