@marktiderman/genesis-sites 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/editor.js CHANGED
@@ -1513,12 +1513,12 @@ function PagesPanel(props) {
1513
1513
 
1514
1514
  // src/editor/preview.ts
1515
1515
  async function loadSiteCss() {
1516
- const { ASSETS } = await import('./assets.generated-WCOFU56J.js');
1516
+ const { ASSETS } = await import('./assets.generated-7FRY6LHS.js');
1517
1517
  return ASSETS.css.body;
1518
1518
  }
1519
1519
  var styleText = (css) => css.replace(/<\/style/gi, "<\\/style");
1520
1520
  async function renderPreview(input) {
1521
- const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-G35AUOTG.js'), import('./assets.generated-WCOFU56J.js')]);
1521
+ const [{ renderSitePageToString }, { ASSETS }] = await Promise.all([import('./handler-P7RRXR6K.js'), import('./assets.generated-7FRY6LHS.js')]);
1522
1522
  const result = await renderSitePageToString(new Request(`https://preview.invalid${input.path}`), {
1523
1523
  store: input.store,
1524
1524
  brand: { getBrand: () => input.brand },
@@ -1,9 +1,9 @@
1
- export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-KGB6XHPS.js';
1
+ export { ASSETS_PREFIX, handleSiteRequest, renderSitePageToString } from './chunk-PA7IZF4X.js';
2
2
  import './chunk-P5MR34QQ.js';
3
3
  import './chunk-VZUDRPFG.js';
4
4
  import './chunk-FBQF2L7O.js';
5
5
  import './chunk-ZGWGQGT2.js';
6
6
  import './chunk-3VKTBE7S.js';
7
- import './chunk-IZQCYZ3R.js';
8
- //# sourceMappingURL=handler-G35AUOTG.js.map
9
- //# sourceMappingURL=handler-G35AUOTG.js.map
7
+ import './chunk-PN2VXOA5.js';
8
+ //# sourceMappingURL=handler-P7RRXR6K.js.map
9
+ //# sourceMappingURL=handler-P7RRXR6K.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-G35AUOTG.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"handler-P7RRXR6K.js"}
@@ -1,8 +1,8 @@
1
1
  import { Z as SectionDefinition, k as Link, c as RenderContext, f as SectionNode, a6 as Surface, I as Image, n as FileRef, A as AnySectionDefinition } from './registry-HBn1X60x.js';
2
2
  import { z } from 'zod';
3
- import * as lucide_react from 'lucide-react';
4
3
  import * as React from 'react';
5
4
  import { BandProps } from '@marktiderman/genesis-ui/band';
5
+ import { LucideIcon } from 'lucide-react';
6
6
  import { HeaderSlotProps } from '@marktiderman/genesis-forms-web';
7
7
 
8
8
  declare const ctaSection: Readonly<SectionDefinition<{
@@ -649,29 +649,37 @@ declare const timelineSection: Readonly<SectionDefinition<{
649
649
  anchor?: string | undefined;
650
650
  }>>;
651
651
 
652
+ /**
653
+ * What every section is drawn with: headings at the level the page gives
654
+ * them, links that are checked again when they render, images with alt text
655
+ * and sizes, and the band that wraps a section. Server-safe: no state, no
656
+ * effects. Classes are written out in full so the stylesheet build finds
657
+ * them.
658
+ */
659
+
652
660
  /** An in-page anchor (`#contact`): lowercase letters, digits and hyphens. */
653
661
  declare const Anchor: z.ZodOptional<z.ZodString>;
654
662
  declare const ICONS: {
655
- activity: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
656
- award: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
657
- calendar: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
658
- check: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
659
- clock: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
660
- dumbbell: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
661
- heart: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
662
- leaf: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
663
- mail: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
664
- "map-pin": React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
665
- message: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
666
- phone: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
667
- shield: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
668
- smile: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
669
- sparkles: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
670
- star: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
671
- target: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
672
- trophy: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
673
- users: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
674
- zap: React.ForwardRefExoticComponent<Omit<lucide_react.LucideProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
663
+ activity: LucideIcon;
664
+ award: LucideIcon;
665
+ calendar: LucideIcon;
666
+ check: LucideIcon;
667
+ clock: LucideIcon;
668
+ dumbbell: LucideIcon;
669
+ heart: LucideIcon;
670
+ leaf: LucideIcon;
671
+ mail: LucideIcon;
672
+ "map-pin": LucideIcon;
673
+ message: LucideIcon;
674
+ phone: LucideIcon;
675
+ shield: LucideIcon;
676
+ smile: LucideIcon;
677
+ sparkles: LucideIcon;
678
+ star: LucideIcon;
679
+ target: LucideIcon;
680
+ trophy: LucideIcon;
681
+ users: LucideIcon;
682
+ zap: LucideIcon;
675
683
  };
676
684
  type IconName = keyof typeof ICONS;
677
685
  declare const IconName: z.ZodEnum<{
package/dist/web.d.ts CHANGED
@@ -130,7 +130,7 @@ declare const ASSET_SIZES: {
130
130
  readonly css: 39267;
131
131
  readonly formsCss: 76414;
132
132
  readonly islands: 3010;
133
- readonly formIsland: 515645;
133
+ readonly formIsland: 521479;
134
134
  };
135
135
 
136
136
  export { ASSETS_PREFIX, ASSET_SIZES, type SiteAssets, SiteRenderer, type SiteRendererProps, type SiteRequestOptions, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString };
package/dist/web.js CHANGED
@@ -1,9 +1,9 @@
1
- export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString } from './chunk-KGB6XHPS.js';
1
+ export { ASSETS_PREFIX, SiteRenderer, collectFormSlugs, googleFontHref, handleSiteRequest, renderSitePageToString } from './chunk-PA7IZF4X.js';
2
2
  import './chunk-P5MR34QQ.js';
3
3
  import './chunk-VZUDRPFG.js';
4
4
  import './chunk-FBQF2L7O.js';
5
5
  import './chunk-ZGWGQGT2.js';
6
6
  import './chunk-3VKTBE7S.js';
7
- export { ASSET_SIZES } from './chunk-IZQCYZ3R.js';
7
+ export { ASSET_SIZES } from './chunk-PN2VXOA5.js';
8
8
  //# sourceMappingURL=web.js.map
9
9
  //# sourceMappingURL=web.js.map
package/package.json CHANGED
@@ -1,14 +1,31 @@
1
1
  {
2
2
  "name": "@marktiderman/genesis-sites",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "./dist/sections.js",
8
8
  "./dist/editor.js",
9
+ "./dist/chunk-*.js",
9
10
  "*.css"
10
11
  ],
11
12
  "description": "Sites and landing pages for Genesis apps: a section registry with zod 4 schemas, 20 server-rendered sections on Genesis UI (timetable, team, blog, map, timeline and downloads among them), a blog with drafts, published posts, RSS and Article JSON-LD, a guarded asset import (/import), a per-request renderer with no hydration, SEO (meta, sitemap, robots, JSON-LD, redirects), publish-time accessibility checks, one-click landing pages from a brand, a Supabase schema with draft, publish and rollback, and a visual editor on Puck (/editor) that published pages never load. Part of the Genesis framework.",
13
+ "keywords": [
14
+ "genesis",
15
+ "genesis-framework",
16
+ "website-builder",
17
+ "landing-pages",
18
+ "cms",
19
+ "site-builder",
20
+ "landing-page",
21
+ "website",
22
+ "seo",
23
+ "sitemap"
24
+ ],
25
+ "homepage": "https://github.com/marktiderman/genesis/tree/main/packages/sites#readme",
26
+ "bugs": {
27
+ "url": "https://github.com/marktiderman/genesis/issues"
28
+ },
12
29
  "repository": {
13
30
  "type": "git",
14
31
  "url": "git+https://github.com/marktiderman/genesis.git",
@@ -71,7 +88,7 @@
71
88
  "@marktiderman/genesis-design-system": "^1.5.1",
72
89
  "@marktiderman/genesis-forms": ">=0.6.0 <1.0.0",
73
90
  "@marktiderman/genesis-forms-web": ">=0.5.0 <1.0.0",
74
- "@marktiderman/genesis-ui": "^2.23.0",
91
+ "@marktiderman/genesis-ui": "^2.25.0",
75
92
  "@puckeditor/core": "^0.23.0",
76
93
  "@supabase/supabase-js": "^2.118.0",
77
94
  "lucide-react": "^1.0.0",
@@ -92,7 +109,7 @@
92
109
  "@marktiderman/genesis-forms": "^0.10.1",
93
110
  "@marktiderman/genesis-forms-react": "^0.3.2",
94
111
  "@marktiderman/genesis-forms-web": "^0.6.4",
95
- "@marktiderman/genesis-ui": "^2.23.0",
112
+ "@marktiderman/genesis-ui": "^2.25.0",
96
113
  "@puckeditor/core": "^0.23.0",
97
114
  "@supabase/supabase-js": "^2.118.0",
98
115
  "@tailwindcss/cli": "4.3.3",
@@ -101,7 +118,7 @@
101
118
  "@types/react-dom": "^19.2.3",
102
119
  "axe-core": "^4.14.0",
103
120
  "esbuild": "^0.28.1",
104
- "happy-dom": "^20.9.0",
121
+ "happy-dom": "^21.0.4",
105
122
  "lucide-react": "^1.0.0",
106
123
  "radix-ui": "^1.6.7",
107
124
  "react": "^19.0.0",
@@ -109,8 +126,8 @@
109
126
  "tailwindcss": "4.3.3",
110
127
  "tsup": "^8.3.0",
111
128
  "typescript": "~6.0.3",
112
- "vitest": "^4.1.12",
113
- "zod": "^4.4.3"
129
+ "vitest": "^5.0.5",
130
+ "zod": "^4.6.6"
114
131
  },
115
132
  "genesis": {
116
133
  "blocks": {