@marktiderman/genesis-sites 0.5.2 → 0.6.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.
- package/dist/assets/form-island.0ba51641f7.js +51 -0
- package/dist/assets/{islands.345caff23c.js → islands.3d7cdb5d94.js} +1 -1
- package/dist/assets/sites-forms.26e72110c3.css +10 -0
- package/dist/assets/sites-forms.css +1 -1
- package/dist/assets/sites.2a71889442.css +2 -0
- package/dist/assets/sites.css +1 -1
- package/dist/assets.generated-UFAABMY4.js +3 -0
- package/dist/{assets.generated-FRY5F4KB.js.map → assets.generated-UFAABMY4.js.map} +1 -1
- package/dist/{chunk-VLY75P7W.js → chunk-AH534PN7.js} +8 -6
- package/dist/chunk-AH534PN7.js.map +1 -0
- package/dist/{chunk-3XCKSU4Z.js → chunk-RSU5VL44.js} +3 -3
- package/dist/chunk-RSU5VL44.js.map +1 -0
- package/dist/{chunk-EP2QFSCK.js → chunk-UUFQSOIF.js} +5 -5
- package/dist/{chunk-EP2QFSCK.js.map → chunk-UUFQSOIF.js.map} +1 -1
- package/dist/{chunk-XOM334IK.js → chunk-UUMTG4RP.js} +3 -3
- package/dist/{chunk-XOM334IK.js.map → chunk-UUMTG4RP.js.map} +1 -1
- package/dist/chunk-Z3NXMDUG.js +19 -0
- package/dist/chunk-Z3NXMDUG.js.map +1 -0
- package/dist/editor.js +5 -5
- package/dist/handler-ZUOM5KGN.js +10 -0
- package/dist/{handler-OFLPAPOZ.js.map → handler-ZUOM5KGN.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/sections.d.ts +1 -1
- package/dist/sections.js +1 -1
- package/dist/supabase.js +2 -2
- package/dist/web.d.ts +3 -3
- package/dist/web.js +4 -4
- package/package.json +8 -8
- package/dist/assets/form-island.48ddf402f2.js +0 -51
- package/dist/assets/sites-forms.60977f025b.css +0 -10
- package/dist/assets/sites.4a0d4d0026.css +0 -2
- package/dist/assets.generated-FRY5F4KB.js +0 -3
- package/dist/chunk-3XCKSU4Z.js.map +0 -1
- package/dist/chunk-KBATFEFV.js +0 -19
- package/dist/chunk-KBATFEFV.js.map +0 -1
- package/dist/chunk-VLY75P7W.js.map +0 -1
- package/dist/handler-OFLPAPOZ.js +0 -10
package/dist/editor.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { starterSite, exampleBrands, landingPage } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { starterSite, exampleBrands, landingPage } from './chunk-UUMTG4RP.js';
|
|
2
|
+
import './chunk-RSU5VL44.js';
|
|
3
3
|
import './chunk-VZUDRPFG.js';
|
|
4
|
-
import { stableHash, isConflict, prepareRelease, PublishBlockedError, siteTheme, brandDisplayName, themeCss, migrateNode, migratePage, migrateSite } from './chunk-
|
|
4
|
+
import { stableHash, isConflict, prepareRelease, PublishBlockedError, siteTheme, brandDisplayName, themeCss, migrateNode, migratePage, migrateSite } from './chunk-AH534PN7.js';
|
|
5
5
|
import { getSection, sectionJsonSchema, listSections, SECTION_CATEGORIES, PageDoc, SiteDoc, newSectionId } from './chunk-YAASBQTJ.js';
|
|
6
6
|
import { isSafeImageSrc, DEFAULT_RESERVED_PATHS, pagePathProblems, isSafeHref } from './chunk-MU2Z2C4F.js';
|
|
7
7
|
import * as React7 from 'react';
|
|
@@ -1517,12 +1517,12 @@ function PagesPanel(props) {
|
|
|
1517
1517
|
|
|
1518
1518
|
// src/editor/preview.ts
|
|
1519
1519
|
async function loadSiteCss() {
|
|
1520
|
-
const { ASSETS } = await import('./assets.generated-
|
|
1520
|
+
const { ASSETS } = await import('./assets.generated-UFAABMY4.js');
|
|
1521
1521
|
return ASSETS.css.body;
|
|
1522
1522
|
}
|
|
1523
1523
|
var styleText = (css) => css.replace(/<\/style/gi, "<\\/style");
|
|
1524
1524
|
async function renderPreview(input) {
|
|
1525
|
-
const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-
|
|
1525
|
+
const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-ZUOM5KGN.js'), import('./assets.generated-UFAABMY4.js')]);
|
|
1526
1526
|
const result = await renderSitePageToString(new Request(`https://preview.invalid${input.path}`), {
|
|
1527
1527
|
store: input.store,
|
|
1528
1528
|
brand: { getBrand: () => input.brand },
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-UUFQSOIF.js';
|
|
2
|
+
import './chunk-Z3NXMDUG.js';
|
|
3
|
+
import './chunk-OFJISW3T.js';
|
|
4
|
+
import './chunk-RSU5VL44.js';
|
|
5
|
+
import './chunk-VZUDRPFG.js';
|
|
6
|
+
import './chunk-AH534PN7.js';
|
|
7
|
+
import './chunk-YAASBQTJ.js';
|
|
8
|
+
import './chunk-MU2Z2C4F.js';
|
|
9
|
+
//# sourceMappingURL=handler-ZUOM5KGN.js.map
|
|
10
|
+
//# sourceMappingURL=handler-ZUOM5KGN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"handler-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"handler-ZUOM5KGN.js"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { LATIN_UNICODE_RANGE, SELF_HOSTED_FONTS, fontFileKey } from './chunk-OFJISW3T.js';
|
|
2
|
-
export { exampleBrands, landingPage, onePageSite, starterSite } from './chunk-
|
|
2
|
+
export { exampleBrands, landingPage, onePageSite, starterSite } from './chunk-UUMTG4RP.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-
|
|
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
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';
|
|
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
|
package/dist/sections.d.ts
CHANGED
|
@@ -831,7 +831,7 @@ declare function ButtonLink({ link, ctx, tone, className }: {
|
|
|
831
831
|
tone?: ButtonTone;
|
|
832
832
|
className?: string;
|
|
833
833
|
}): React.JSX.Element;
|
|
834
|
-
/** A text link: underlined, at least 24px tall (WCAG 2.5.8). */
|
|
834
|
+
/** A text link: underlined, at least 24px tall (WCAG 2.5.8), and 44px on a touch screen. */
|
|
835
835
|
declare function TextLink({ link, ctx, className }: {
|
|
836
836
|
link: Link;
|
|
837
837
|
ctx: RenderContext;
|
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-RSU5VL44.js';
|
|
2
2
|
import './chunk-VZUDRPFG.js';
|
|
3
3
|
import './chunk-YAASBQTJ.js';
|
|
4
4
|
import './chunk-MU2Z2C4F.js';
|
package/dist/supabase.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { prepareImportPost, checkPost, isPublishable, PublishBlockedError, assetPath, ASSET_TYPES, prepareRelease } from './chunk-
|
|
2
|
-
export { ASSET_TYPES } from './chunk-
|
|
1
|
+
import { prepareImportPost, checkPost, isPublishable, PublishBlockedError, assetPath, ASSET_TYPES, prepareRelease } from './chunk-AH534PN7.js';
|
|
2
|
+
export { ASSET_TYPES } from './chunk-AH534PN7.js';
|
|
3
3
|
import { MAX_IMPORT_POSTS, validatePostSlug, PostDoc, PostSummarySchema, PageDoc, SiteDoc, parseSnapshot, ReleaseSnapshot } from './chunk-YAASBQTJ.js';
|
|
4
4
|
import './chunk-MU2Z2C4F.js';
|
|
5
5
|
|
package/dist/web.d.ts
CHANGED
|
@@ -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:
|
|
187
|
-
readonly formsCss:
|
|
186
|
+
readonly css: 43922;
|
|
187
|
+
readonly formsCss: 85175;
|
|
188
188
|
readonly islands: 3010;
|
|
189
|
-
readonly formIsland:
|
|
189
|
+
readonly formIsland: 548802;
|
|
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,9 +1,9 @@
|
|
|
1
|
-
export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, fontFaces, handleSiteRequest, pageStyleText, renderSitePageToString } from './chunk-
|
|
2
|
-
export { ASSET_SIZES, FONT_FILES } from './chunk-
|
|
1
|
+
export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, fontFaces, handleSiteRequest, pageStyleText, renderSitePageToString } from './chunk-UUFQSOIF.js';
|
|
2
|
+
export { ASSET_SIZES, FONT_FILES } from './chunk-Z3NXMDUG.js';
|
|
3
3
|
import './chunk-OFJISW3T.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-RSU5VL44.js';
|
|
5
5
|
import './chunk-VZUDRPFG.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-AH534PN7.js';
|
|
7
7
|
import './chunk-YAASBQTJ.js';
|
|
8
8
|
import './chunk-MU2Z2C4F.js';
|
|
9
9
|
//# sourceMappingURL=web.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marktiderman/genesis-sites",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
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.
|
|
90
|
+
"@marktiderman/genesis-features": "^0.8.2",
|
|
91
91
|
"@marktiderman/genesis-media": "^0.2.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@marktiderman/genesis-design-system": "^1.
|
|
94
|
+
"@marktiderman/genesis-design-system": "^1.9.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.
|
|
97
|
+
"@marktiderman/genesis-ui": "^2.32.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.
|
|
130
|
-
"@marktiderman/genesis-forms": "^0.11.
|
|
129
|
+
"@marktiderman/genesis-design-system": "^1.9.0",
|
|
130
|
+
"@marktiderman/genesis-forms": "^0.11.1",
|
|
131
131
|
"@marktiderman/genesis-forms-react": "^0.3.3",
|
|
132
|
-
"@marktiderman/genesis-forms-web": "^0.
|
|
133
|
-
"@marktiderman/genesis-ui": "^2.
|
|
132
|
+
"@marktiderman/genesis-forms-web": "^0.8.0",
|
|
133
|
+
"@marktiderman/genesis-ui": "^2.32.0",
|
|
134
134
|
"@puckeditor/core": "^0.23.0",
|
|
135
135
|
"@supabase/supabase-js": "^2.118.0",
|
|
136
136
|
"@tailwindcss/cli": "4.3.3",
|