@spillway-cms/blocks 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/dist/ask.d.ts +39 -0
- package/dist/ask.js +96 -0
- package/dist/ask.js.map +1 -0
- package/dist/calendar.d.ts +42 -0
- package/dist/calendar.js +96 -0
- package/dist/calendar.js.map +1 -0
- package/dist/collection.d.ts +89 -0
- package/dist/collection.js +304 -0
- package/dist/collection.js.map +1 -0
- package/dist/config.d.ts +246 -0
- package/dist/config.js +638 -0
- package/dist/config.js.map +1 -0
- package/dist/css.d.ts +1 -0
- package/dist/css.js +606 -0
- package/dist/css.js.map +1 -0
- package/dist/docs-feedback.d.ts +34 -0
- package/dist/docs-feedback.js +57 -0
- package/dist/docs-feedback.js.map +1 -0
- package/dist/examples.d.ts +12 -0
- package/dist/examples.js +85 -0
- package/dist/examples.js.map +1 -0
- package/dist/experiment.d.ts +18 -0
- package/dist/experiment.js +20 -0
- package/dist/experiment.js.map +1 -0
- package/dist/form.d.ts +40 -0
- package/dist/form.js +252 -0
- package/dist/form.js.map +1 -0
- package/dist/gallery.d.ts +36 -0
- package/dist/gallery.js +114 -0
- package/dist/gallery.js.map +1 -0
- package/dist/image.d.ts +41 -0
- package/dist/image.js +39 -0
- package/dist/image.js.map +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts.d.ts +8 -0
- package/dist/layouts.js +81 -0
- package/dist/layouts.js.map +1 -0
- package/dist/markdown.d.ts +32 -0
- package/dist/markdown.js +283 -0
- package/dist/markdown.js.map +1 -0
- package/dist/marketing.d.ts +70 -0
- package/dist/marketing.js +208 -0
- package/dist/marketing.js.map +1 -0
- package/dist/menu.d.ts +43 -0
- package/dist/menu.js +75 -0
- package/dist/menu.js.map +1 -0
- package/dist/meta.d.ts +14 -0
- package/dist/meta.js +198 -0
- package/dist/meta.js.map +1 -0
- package/dist/module-block.d.ts +32 -0
- package/dist/module-block.js +76 -0
- package/dist/module-block.js.map +1 -0
- package/dist/motion.d.ts +19 -0
- package/dist/motion.js +161 -0
- package/dist/motion.js.map +1 -0
- package/dist/personalize.d.ts +18 -0
- package/dist/personalize.js +32 -0
- package/dist/personalize.js.map +1 -0
- package/dist/players.d.ts +30 -0
- package/dist/players.js +95 -0
- package/dist/players.js.map +1 -0
- package/dist/registry-browse.d.ts +31 -0
- package/dist/registry-browse.js +97 -0
- package/dist/registry-browse.js.map +1 -0
- package/dist/registry-gallery.d.ts +22 -0
- package/dist/registry-gallery.js +73 -0
- package/dist/registry-gallery.js.map +1 -0
- package/dist/registry-org.d.ts +22 -0
- package/dist/registry-org.js +44 -0
- package/dist/registry-org.js.map +1 -0
- package/dist/registry-package.d.ts +27 -0
- package/dist/registry-package.js +145 -0
- package/dist/registry-package.js.map +1 -0
- package/dist/registry-publisher.d.ts +20 -0
- package/dist/registry-publisher.js +46 -0
- package/dist/registry-publisher.js.map +1 -0
- package/dist/registry-shared.d.ts +29 -0
- package/dist/registry-shared.js +122 -0
- package/dist/registry-shared.js.map +1 -0
- package/dist/registry-stats.d.ts +15 -0
- package/dist/registry-stats.js +42 -0
- package/dist/registry-stats.js.map +1 -0
- package/dist/registry-types.d.ts +218 -0
- package/dist/registry-types.js +29 -0
- package/dist/registry-types.js.map +1 -0
- package/dist/sanitize.d.ts +37 -0
- package/dist/sanitize.js +293 -0
- package/dist/sanitize.js.map +1 -0
- package/dist/search.d.ts +25 -0
- package/dist/search.js +77 -0
- package/dist/search.js.map +1 -0
- package/dist/shared.d.ts +27 -0
- package/dist/shared.js +59 -0
- package/dist/shared.js.map +1 -0
- package/dist/status-board.d.ts +49 -0
- package/dist/status-board.js +81 -0
- package/dist/status-board.js.map +1 -0
- package/dist/story.d.ts +23 -0
- package/dist/story.js +58 -0
- package/dist/story.js.map +1 -0
- package/dist/styles.css +1361 -0
- package/dist/styles.d.ts +37 -0
- package/dist/styles.js +242 -0
- package/dist/styles.js.map +1 -0
- package/package.json +47 -3
- package/README.md +0 -3
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
const cx = (...c) => c.filter(Boolean).join(' ');
|
|
3
|
+
/** Plain text from a short HTML answer, for the FAQ's structured data. */
|
|
4
|
+
const plain = (html) => html.replace(/<\/?(?:p|div|br|li|ul|ol)\b[^>]*>/gi, ' ').replace(/<[^>]*>/g, '').replace(/ /g, ' ').replace(/&/g, '&').replace(/\s+/g, ' ').trim();
|
|
5
|
+
const escapeJson = (s) => s.replace(/</g, '\\u003c');
|
|
6
|
+
export const faqComponent = {
|
|
7
|
+
label: 'FAQ',
|
|
8
|
+
fields: {
|
|
9
|
+
title: { type: 'text', label: 'Title', contentEditable: true },
|
|
10
|
+
items: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
label: 'Questions',
|
|
13
|
+
min: 1,
|
|
14
|
+
max: 30,
|
|
15
|
+
getItemSummary: (item, i) => item.question || `Question ${(i ?? 0) + 1}`,
|
|
16
|
+
arrayFields: {
|
|
17
|
+
question: { type: 'text', label: 'Question' },
|
|
18
|
+
answer: { type: 'textarea', label: 'Answer' },
|
|
19
|
+
},
|
|
20
|
+
defaultItemProps: { question: 'A question people ask', answer: 'A short, direct answer.' },
|
|
21
|
+
},
|
|
22
|
+
openFirst: { type: 'radio', label: 'First question', options: [{ label: 'Closed', value: false }, { label: 'Open', value: true }] },
|
|
23
|
+
structuredData: { type: 'radio', label: 'Show answers in search results', options: [{ label: 'Yes', value: true }, { label: 'No', value: false }] },
|
|
24
|
+
},
|
|
25
|
+
defaultProps: {
|
|
26
|
+
title: 'Frequently asked questions',
|
|
27
|
+
items: [
|
|
28
|
+
{ question: 'How do I apply?', answer: 'Start an application online. It takes about 20 minutes.' },
|
|
29
|
+
{ question: 'When are the deadlines?', answer: 'March 1 for fall and October 1 for spring.' },
|
|
30
|
+
],
|
|
31
|
+
openFirst: false,
|
|
32
|
+
structuredData: true,
|
|
33
|
+
},
|
|
34
|
+
render: ({ title, items, openFirst, structuredData }) => {
|
|
35
|
+
const list = (items ?? []).filter((i) => i.question?.trim());
|
|
36
|
+
const ld = structuredData && list.length
|
|
37
|
+
? { '@context': 'https://schema.org', '@type': 'FAQPage', mainEntity: list.map((i) => ({ '@type': 'Question', name: i.question.trim(), acceptedAnswer: { '@type': 'Answer', text: plain(i.answer ?? '') } })) }
|
|
38
|
+
: null;
|
|
39
|
+
return (_jsxs("section", { className: "sw-block sw-faq", children: [_jsxs("div", { className: "sw-container sw-container--narrow", children: [title ? _jsx("h2", { className: "sw-faq__title", children: title }) : null, _jsx("div", { className: "sw-faq__list", children: list.map((item, i) => (_jsxs("details", { className: "sw-faq__item", open: openFirst && i === 0 ? true : undefined, children: [_jsx("summary", { className: "sw-faq__question", children: item.question }), _jsx("div", { className: "sw-faq__answer", children: (item.answer ?? '').split(/\n{2,}/).map((p, k) => (_jsx("p", { children: p }, k))) })] }, i))) })] }), ld ? _jsx("script", { type: "application/ld+json", dangerouslySetInnerHTML: { __html: escapeJson(JSON.stringify(ld)) } }) : null] }));
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
export const testimonialsComponent = {
|
|
43
|
+
label: 'Testimonials',
|
|
44
|
+
fields: {
|
|
45
|
+
title: { type: 'text', label: 'Title', contentEditable: true },
|
|
46
|
+
items: {
|
|
47
|
+
type: 'array',
|
|
48
|
+
label: 'Testimonials',
|
|
49
|
+
min: 1,
|
|
50
|
+
max: 12,
|
|
51
|
+
getItemSummary: (item, i) => item.name || `Testimonial ${(i ?? 0) + 1}`,
|
|
52
|
+
arrayFields: {
|
|
53
|
+
quote: { type: 'textarea', label: 'Quote' },
|
|
54
|
+
name: { type: 'text', label: 'Name' },
|
|
55
|
+
role: { type: 'text', label: 'Role or organization' },
|
|
56
|
+
imageUrl: { type: 'text', label: 'Photo URL', placeholder: '/media/...' },
|
|
57
|
+
},
|
|
58
|
+
defaultItemProps: { quote: 'What they said, in their words.', name: 'Their name', role: '', imageUrl: '' },
|
|
59
|
+
},
|
|
60
|
+
columns: { type: 'radio', label: 'Columns', options: [{ label: '1', value: 1 }, { label: '2', value: 2 }, { label: '3', value: 3 }] },
|
|
61
|
+
marquee: { type: 'radio', label: 'Scroll continuously (a marquee, with a pause button)', options: [{ label: 'Off', value: false }, { label: 'On', value: true }] },
|
|
62
|
+
},
|
|
63
|
+
defaultProps: {
|
|
64
|
+
title: '',
|
|
65
|
+
items: [
|
|
66
|
+
{ quote: 'The team answered every question within a day.', name: 'Maya Chen', role: 'Class of 2025', imageUrl: '' },
|
|
67
|
+
{ quote: 'I found my program in one afternoon.', name: 'Luis Ortega', role: 'Transfer student', imageUrl: '' },
|
|
68
|
+
{ quote: 'Clear, friendly and fast.', name: 'Priya Nair', role: 'Parent', imageUrl: '' },
|
|
69
|
+
],
|
|
70
|
+
columns: 3,
|
|
71
|
+
},
|
|
72
|
+
render: ({ title, items, columns, marquee }) => (_jsx("section", { className: cx('sw-block', 'sw-testimonials', `sw-testimonials--${columns}`), "data-motion-marquee": marquee ? 'slow' : undefined, children: _jsxs("div", { className: "sw-container", children: [title ? _jsx("h2", { className: "sw-testimonials__title", children: title }) : null, marquee ? (_jsx("button", { type: "button", className: "sw-marquee-toggle", "data-sw-marquee-toggle": "", "aria-pressed": "false", hidden: true, children: "Pause scrolling" })) : null, _jsx("ul", { className: "sw-testimonials__grid", children: (items ?? []).filter((t) => t.quote?.trim()).map((t, i) => (_jsx("li", { className: "sw-testimonial", children: _jsxs("figure", { children: [_jsx("blockquote", { className: "sw-testimonial__quote", children: _jsx("p", { children: t.quote }) }), t.name || t.role ? (_jsxs("figcaption", { className: "sw-testimonial__by", children: [t.imageUrl ? _jsx("img", { className: "sw-testimonial__photo", src: t.imageUrl, alt: "", width: 48, height: 48, loading: "lazy" }) : null, _jsxs("span", { children: [t.name ? _jsx("span", { className: "sw-testimonial__name", children: t.name }) : null, t.role ? _jsx("span", { className: "sw-testimonial__role", children: t.role }) : null] })] })) : null] }) }, i))) })] }) })),
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* A stat's value split for counting up: the prefix, the number, the suffix, its decimals and whether it groups thousands
|
|
76
|
+
* ("$2.4M" → "$", 2.4, "M"; "12,500+" → "", 12500, "+"). Null when the value is not one number ("14:1", "Top 10%" counts, "A+" does not).
|
|
77
|
+
*/
|
|
78
|
+
export function countableValue(value) {
|
|
79
|
+
const m = /^(\D*?)(\d{1,3}(?:,\d{3})+|\d+)(?:\.(\d+))?(\D*)$/.exec(value.trim());
|
|
80
|
+
if (!m)
|
|
81
|
+
return null;
|
|
82
|
+
const [, prefix, int, frac, suffix] = m;
|
|
83
|
+
if (/\d/.test(prefix + suffix))
|
|
84
|
+
return null;
|
|
85
|
+
const to = Number(int.replace(/,/g, '') + (frac ? `.${frac}` : ''));
|
|
86
|
+
if (!Number.isFinite(to))
|
|
87
|
+
return null;
|
|
88
|
+
return { prefix, to, suffix, decimals: frac?.length ?? 0, group: int.includes(',') };
|
|
89
|
+
}
|
|
90
|
+
export const statsComponent = {
|
|
91
|
+
label: 'Stats',
|
|
92
|
+
fields: {
|
|
93
|
+
title: { type: 'text', label: 'Title', contentEditable: true },
|
|
94
|
+
items: {
|
|
95
|
+
type: 'array',
|
|
96
|
+
label: 'Numbers',
|
|
97
|
+
min: 1,
|
|
98
|
+
max: 6,
|
|
99
|
+
getItemSummary: (item, i) => (item.value ? `${item.value} ${item.label}` : `Number ${(i ?? 0) + 1}`),
|
|
100
|
+
arrayFields: {
|
|
101
|
+
value: { type: 'text', label: 'Number', placeholder: '98%' },
|
|
102
|
+
label: { type: 'text', label: 'What it counts' },
|
|
103
|
+
},
|
|
104
|
+
defaultItemProps: { value: '100+', label: 'What it counts' },
|
|
105
|
+
},
|
|
106
|
+
align: { type: 'radio', label: 'Alignment', options: [{ label: 'Left', value: 'left' }, { label: 'Center', value: 'center' }] },
|
|
107
|
+
countUp: { type: 'radio', label: 'Count up as they come into view', options: [{ label: 'Off', value: false }, { label: 'On', value: true }] },
|
|
108
|
+
},
|
|
109
|
+
defaultProps: {
|
|
110
|
+
title: '',
|
|
111
|
+
items: [
|
|
112
|
+
{ value: '94%', label: 'of graduates employed within six months' },
|
|
113
|
+
{ value: '40', label: 'undergraduate majors' },
|
|
114
|
+
{ value: '14:1', label: 'student to faculty ratio' },
|
|
115
|
+
],
|
|
116
|
+
align: 'center',
|
|
117
|
+
},
|
|
118
|
+
render: ({ title, items, align, countUp }) => (_jsx("section", { className: cx('sw-block', 'sw-stats', align === 'center' && 'sw-stats--center'), "data-motion-count": countUp ? '' : undefined, children: _jsxs("div", { className: "sw-container", children: [title ? _jsx("h2", { className: "sw-stats__title", children: title }) : null, _jsx("dl", { className: "sw-stats__grid", children: (items ?? []).filter((s) => s.value?.trim()).map((s, i) => {
|
|
119
|
+
const n = countUp ? countableValue(s.value) : null;
|
|
120
|
+
return (_jsxs("div", { className: "sw-stat", children: [_jsx("dt", { className: "sw-stat__label", children: s.label }), n ? (
|
|
121
|
+
// Screen readers get the final value once; the digits that count are hidden from them.
|
|
122
|
+
_jsxs("dd", { className: "sw-stat__value", children: [_jsx("span", { "aria-hidden": "true", "data-count-to": n.to, "data-count-prefix": n.prefix, "data-count-suffix": n.suffix, "data-count-decimals": n.decimals, "data-count-group": n.group ? '' : undefined, children: s.value }), _jsx("span", { className: "sw-visually-hidden", children: s.value })] })) : (_jsx("dd", { className: "sw-stat__value", children: s.value }))] }, i));
|
|
123
|
+
}) })] }) })),
|
|
124
|
+
};
|
|
125
|
+
export const logoStripComponent = {
|
|
126
|
+
label: 'Logo strip',
|
|
127
|
+
fields: {
|
|
128
|
+
title: { type: 'text', label: 'Title', contentEditable: true },
|
|
129
|
+
logos: {
|
|
130
|
+
type: 'array',
|
|
131
|
+
label: 'Logos',
|
|
132
|
+
min: 1,
|
|
133
|
+
max: 24,
|
|
134
|
+
getItemSummary: (item, i) => item.name || `Logo ${(i ?? 0) + 1}`,
|
|
135
|
+
arrayFields: {
|
|
136
|
+
imageUrl: { type: 'text', label: 'Logo image URL', placeholder: '/media/...' },
|
|
137
|
+
name: { type: 'text', label: 'Name (the alt text)' },
|
|
138
|
+
href: { type: 'text', label: 'Link', placeholder: 'https://...' },
|
|
139
|
+
},
|
|
140
|
+
defaultItemProps: { imageUrl: '', name: 'Partner name', href: '' },
|
|
141
|
+
},
|
|
142
|
+
grayscale: { type: 'radio', label: 'Logos', options: [{ label: 'In color', value: false }, { label: 'Gray until hovered', value: true }] },
|
|
143
|
+
marquee: { type: 'radio', label: 'Scroll continuously (a marquee, with a pause button)', options: [{ label: 'Off', value: false }, { label: 'On', value: true }] },
|
|
144
|
+
},
|
|
145
|
+
defaultProps: { title: 'Trusted by', logos: [], grayscale: true },
|
|
146
|
+
render: ({ title, logos, grayscale, marquee }) => (_jsx("section", { className: cx('sw-block', 'sw-logos', grayscale && 'sw-logos--gray'), "data-motion-marquee": marquee ? 'fast' : undefined, children: _jsxs("div", { className: "sw-container", children: [title ? _jsx("h2", { className: "sw-logos__title", children: title }) : null, marquee ? (_jsx("button", { type: "button", className: "sw-marquee-toggle", "data-sw-marquee-toggle": "", "aria-pressed": "false", hidden: true, children: "Pause scrolling" })) : null, _jsx("ul", { className: "sw-logos__list", children: (logos ?? []).filter((l) => l.imageUrl || l.name).map((l, i) => {
|
|
147
|
+
const img = l.imageUrl ? _jsx("img", { className: "sw-logos__img", src: l.imageUrl, alt: l.name, loading: "lazy" }) : _jsx("span", { className: "sw-logos__name", children: l.name });
|
|
148
|
+
return _jsx("li", { children: l.href ? _jsx("a", { href: l.href, rel: "noopener", children: img }) : img }, i);
|
|
149
|
+
}) })] }) })),
|
|
150
|
+
};
|
|
151
|
+
export const MARKETING_CSS = `
|
|
152
|
+
/* ---------- FAQ ---------- */
|
|
153
|
+
.sw-faq__title { margin: 0 0 var(--sw-space-3); }
|
|
154
|
+
.sw-faq__list { border-top: 1px solid var(--sw-color-border); }
|
|
155
|
+
.sw-faq__item { border-bottom: 1px solid var(--sw-color-border); }
|
|
156
|
+
.sw-faq__question {
|
|
157
|
+
cursor: pointer;
|
|
158
|
+
list-style: none;
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: space-between;
|
|
161
|
+
align-items: center;
|
|
162
|
+
gap: var(--sw-space-2);
|
|
163
|
+
padding: var(--sw-space-2) 0;
|
|
164
|
+
font-weight: 600;
|
|
165
|
+
font-size: 1.125rem;
|
|
166
|
+
}
|
|
167
|
+
.sw-faq__question::-webkit-details-marker { display: none; }
|
|
168
|
+
.sw-faq__question::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--sw-color-primary); }
|
|
169
|
+
.sw-faq__item[open] > .sw-faq__question::after { content: '\\2212'; }
|
|
170
|
+
.sw-faq__question:focus-visible { outline: 2px solid var(--sw-color-primary); outline-offset: 2px; }
|
|
171
|
+
.sw-faq__answer { padding: 0 0 var(--sw-space-2); color: var(--sw-color-muted); }
|
|
172
|
+
.sw-faq__answer p { margin: 0 0 var(--sw-space-1); }
|
|
173
|
+
|
|
174
|
+
/* ---------- Testimonials ---------- */
|
|
175
|
+
.sw-testimonials__title { margin: 0 0 var(--sw-space-3); text-align: center; }
|
|
176
|
+
.sw-testimonials__grid { display: grid; gap: var(--sw-space-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
|
|
177
|
+
@media (min-width: 760px) {
|
|
178
|
+
.sw-testimonials--2 .sw-testimonials__grid, .sw-testimonials--3 .sw-testimonials__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
179
|
+
}
|
|
180
|
+
@media (min-width: 1000px) { .sw-testimonials--3 .sw-testimonials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
|
|
181
|
+
.sw-testimonial figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: var(--sw-space-2); padding: var(--sw-space-3); border: 1px solid var(--sw-color-border); border-radius: var(--sw-radius, 8px); background: var(--sw-color-bg, #ffffff); }
|
|
182
|
+
.sw-testimonial__quote { margin: 0; flex: 1; font-size: 1.125rem; line-height: 1.5; }
|
|
183
|
+
.sw-testimonial__quote p { margin: 0; }
|
|
184
|
+
.sw-testimonial__quote p::before { content: '\\201C'; }
|
|
185
|
+
.sw-testimonial__quote p::after { content: '\\201D'; }
|
|
186
|
+
.sw-testimonial__by { display: flex; align-items: center; gap: var(--sw-space-2); }
|
|
187
|
+
.sw-testimonial__by > span { display: flex; flex-direction: column; }
|
|
188
|
+
.sw-testimonial__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
|
|
189
|
+
.sw-testimonial__name { font-weight: 600; }
|
|
190
|
+
.sw-testimonial__role { color: var(--sw-color-muted); font-size: 0.9375rem; }
|
|
191
|
+
|
|
192
|
+
/* ---------- Stats ---------- */
|
|
193
|
+
.sw-stats__title { margin: 0 0 var(--sw-space-3); }
|
|
194
|
+
.sw-stats--center .sw-stats__title, .sw-stats--center .sw-stat { text-align: center; }
|
|
195
|
+
.sw-stats__grid { display: grid; gap: var(--sw-space-3); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 0; }
|
|
196
|
+
.sw-stat { display: flex; flex-direction: column-reverse; gap: var(--sw-space-1); }
|
|
197
|
+
.sw-stat__value { margin: 0; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; color: var(--sw-color-primary); font-variant-numeric: tabular-nums; }
|
|
198
|
+
.sw-stat__label { margin: 0; color: var(--sw-color-muted); }
|
|
199
|
+
|
|
200
|
+
/* ---------- Logo strip ---------- */
|
|
201
|
+
.sw-logos__title { margin: 0 0 var(--sw-space-3); text-align: center; font-size: 1rem; font-weight: 600; color: var(--sw-color-muted); text-transform: uppercase; letter-spacing: 0.06em; }
|
|
202
|
+
.sw-logos__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sw-space-3) var(--sw-space-4); list-style: none; margin: 0; padding: 0; }
|
|
203
|
+
.sw-logos__img { display: block; max-height: 48px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
|
|
204
|
+
.sw-logos__name { font-weight: 600; color: var(--sw-color-muted); }
|
|
205
|
+
.sw-logos--gray .sw-logos__img { filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
|
|
206
|
+
.sw-logos--gray a:hover .sw-logos__img, .sw-logos--gray a:focus-visible .sw-logos__img { filter: none; opacity: 1; }
|
|
207
|
+
`;
|
|
208
|
+
//# sourceMappingURL=marketing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketing.js","sourceRoot":"","sources":["../src/marketing.tsx"],"names":[],"mappings":";AAOA,MAAM,EAAE,GAAG,CAAC,GAAG,CAAwC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACxF,0EAA0E;AAC1E,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,qCAAqC,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;AAC5L,MAAM,UAAU,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AAiB7D,MAAM,CAAC,MAAM,YAAY,GAA8B;IACrD,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE;QAC9D,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,WAAW;YAClB,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;YACP,c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CAAC,YAAG,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,GAAG,EAAC,UAAU,YAAE,GAAG,GAAK,CAAC,CAAC,CAAC,GAAG,IAA5D,CAAC,CAAiE,CAAC;oBACrF,CAAC,CAAC,GACC,IACD,GACE,CACX;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD5B,CAAC"}
|
package/dist/menu.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Menu block: one of the site's menus as a list of links, for a sidebar, a section's landing page or a page's own
|
|
3
|
+
* navigation. It can show the whole menu, or only the branch that holds the page being viewed (its sub-items, like a
|
|
4
|
+
* department's navigation), and can follow the department section the page belongs to instead of naming a menu.
|
|
5
|
+
*
|
|
6
|
+
* The server resolves the menu (`items`, with the current page and its trail marked) before render; the block itself is
|
|
7
|
+
* server-safe and renders nothing when there is nothing to show, except for a placeholder in the page builder.
|
|
8
|
+
*/
|
|
9
|
+
import type { ComponentConfig } from '@puckeditor/core';
|
|
10
|
+
export interface MenuBlockItem {
|
|
11
|
+
label: string;
|
|
12
|
+
href: string;
|
|
13
|
+
newTab?: boolean;
|
|
14
|
+
/** The item links the page being viewed. */
|
|
15
|
+
current?: boolean;
|
|
16
|
+
/** The page being viewed is this item or under it (its link is a prefix of the page's path, or a child is current). */
|
|
17
|
+
trail?: boolean;
|
|
18
|
+
children?: MenuBlockItem[];
|
|
19
|
+
}
|
|
20
|
+
export interface MenuBlockProps {
|
|
21
|
+
/** 'menu': the menu named by `menuKey`; 'section': the menu of the department section the page belongs to. */
|
|
22
|
+
source: 'menu' | 'section';
|
|
23
|
+
menuKey: string;
|
|
24
|
+
/** 'all': the whole menu; 'branch': the sub-items of the top-level item that holds the page being viewed. */
|
|
25
|
+
show: 'all' | 'branch';
|
|
26
|
+
/** 1: one level of links; 2: their sub-items too. */
|
|
27
|
+
depth: 1 | 2;
|
|
28
|
+
/** Shown above the links. Empty: no heading, except in branch mode, where the branch's own item is the heading. */
|
|
29
|
+
heading: string;
|
|
30
|
+
layout: 'vertical' | 'horizontal';
|
|
31
|
+
/** Resolved by the server; never stored. */
|
|
32
|
+
items?: MenuBlockItem[];
|
|
33
|
+
/** The menu's label, for the navigation landmark's name. Resolved; never stored. */
|
|
34
|
+
menuLabel?: string;
|
|
35
|
+
/** In branch mode, the branch's own item. Resolved; never stored. */
|
|
36
|
+
branch?: {
|
|
37
|
+
label: string;
|
|
38
|
+
href: string;
|
|
39
|
+
current?: boolean;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export declare const menuBlockComponent: ComponentConfig<MenuBlockProps>;
|
|
43
|
+
export declare const menuBlockCss = "/* ---------- Menu ---------- */\n.sw-menu-block__heading { font-size: 1.05rem; margin: 0 0 0.75rem; }\n.sw-menu-block__heading a { color: inherit; text-decoration: none; }\n.sw-menu-block__heading a:hover { text-decoration: underline; }\n.sw-menu-block__list, .sw-menu-block__sublist { list-style: none; margin: 0; padding: 0; }\n.sw-menu-block__sublist { margin: 0.25rem 0 0.25rem 0.85rem; padding-left: 0.75rem; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }\n.sw-menu-block__item > a { display: block; padding: 0.4rem 0.6rem; border-radius: var(--sw-radius, 8px); color: inherit; text-decoration: none; line-height: 1.35; }\n.sw-menu-block__item > a:hover { background: color-mix(in srgb, currentColor 7%, transparent); text-decoration: underline; }\n.sw-menu-block__item > a:focus-visible { outline: 2px solid var(--sw-color-primary, #1d4ed8); outline-offset: 1px; }\n.sw-menu-block__item.is-trail > a { font-weight: 600; }\n.sw-menu-block__item.is-current > a { font-weight: 600; color: var(--sw-color-primary, #1d4ed8); background: color-mix(in srgb, var(--sw-color-primary, #1d4ed8) 9%, transparent); }\n.sw-menu-block--horizontal .sw-menu-block__list { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }\n.sw-menu-block--horizontal .sw-menu-block__sublist { display: none; }\n.sw-menu-block__placeholder { padding: 1rem; border: 1px dashed color-mix(in srgb, currentColor 35%, transparent); border-radius: var(--sw-radius, 8px); font-size: 0.9rem; opacity: 0.8; }\n";
|
package/dist/menu.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
const cx = (...c) => c.filter(Boolean).join(' ');
|
|
3
|
+
function List({ items, depth, level }) {
|
|
4
|
+
return (_jsx("ul", { className: level === 0 ? 'sw-menu-block__list' : 'sw-menu-block__sublist', children: items.map((item, i) => (_jsxs("li", { className: cx('sw-menu-block__item', item.current && 'is-current', item.trail && !item.current && 'is-trail'), children: [_jsx("a", { href: item.href, "aria-current": item.current ? 'page' : undefined, target: item.newTab ? '_blank' : undefined, rel: item.newTab ? 'noopener' : undefined, children: item.label }), item.children?.length && level + 1 < depth ? _jsx(List, { items: item.children, depth: depth, level: level + 1 }) : null] }, `${item.href}-${i}`))) }));
|
|
5
|
+
}
|
|
6
|
+
export const menuBlockComponent = {
|
|
7
|
+
label: 'Menu',
|
|
8
|
+
fields: {
|
|
9
|
+
source: {
|
|
10
|
+
type: 'radio',
|
|
11
|
+
label: 'Menu',
|
|
12
|
+
options: [
|
|
13
|
+
{ label: 'A menu I choose', value: 'menu' },
|
|
14
|
+
{ label: "The page's section menu", value: 'section' },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
// The admin replaces this with a picker over the site's menus.
|
|
18
|
+
menuKey: { type: 'text', label: 'Menu key' },
|
|
19
|
+
show: {
|
|
20
|
+
type: 'radio',
|
|
21
|
+
label: 'Show',
|
|
22
|
+
options: [
|
|
23
|
+
{ label: 'The whole menu', value: 'all' },
|
|
24
|
+
{ label: 'The branch that holds this page', value: 'branch' },
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
depth: {
|
|
28
|
+
type: 'radio',
|
|
29
|
+
label: 'Levels',
|
|
30
|
+
options: [
|
|
31
|
+
{ label: 'One', value: 1 },
|
|
32
|
+
{ label: 'Two', value: 2 },
|
|
33
|
+
],
|
|
34
|
+
},
|
|
35
|
+
heading: { type: 'text', label: 'Heading' },
|
|
36
|
+
layout: {
|
|
37
|
+
type: 'radio',
|
|
38
|
+
label: 'Layout',
|
|
39
|
+
options: [
|
|
40
|
+
{ label: 'Stacked (a sidebar)', value: 'vertical' },
|
|
41
|
+
{ label: 'In a row', value: 'horizontal' },
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
defaultProps: { source: 'menu', menuKey: 'main', show: 'all', depth: 2, heading: '', layout: 'vertical' },
|
|
46
|
+
render: ({ source, menuKey, show, depth, heading, layout, items, menuLabel, branch, puck }) => {
|
|
47
|
+
const list = Array.isArray(items) ? items : [];
|
|
48
|
+
if (!list.length) {
|
|
49
|
+
if (!puck?.isEditing)
|
|
50
|
+
return _jsx(_Fragment, {});
|
|
51
|
+
const what = source === 'section' ? "the page's section menu" : `the menu "${menuKey || 'none chosen'}"`;
|
|
52
|
+
return (_jsx("section", { className: "sw-block sw-menu-block sw-menu-block--placeholder", children: _jsx("div", { className: "sw-container", children: _jsxs("div", { className: "sw-menu-block__placeholder", role: "note", children: ["Menu: ", show === 'branch' ? `the branch of ${what} that holds the page. It shows on pages that are in it.` : `${what} has no links to show here.`] }) }) }));
|
|
53
|
+
}
|
|
54
|
+
const title = heading?.trim() || (show === 'branch' ? branch?.label : '');
|
|
55
|
+
const titleHref = !heading?.trim() && show === 'branch' ? branch?.href : undefined;
|
|
56
|
+
const levels = Number(depth) === 1 ? 1 : 2;
|
|
57
|
+
return (_jsx("nav", { className: cx('sw-block', 'sw-menu-block', layout === 'horizontal' && 'sw-menu-block--horizontal'), "aria-label": title || menuLabel || 'Menu', children: _jsxs("div", { className: "sw-container", children: [title ? (_jsx("h2", { className: "sw-menu-block__heading", children: titleHref ? (_jsx("a", { href: titleHref, "aria-current": branch?.current ? 'page' : undefined, children: title })) : (title) })) : null, _jsx(List, { items: list, depth: levels, level: 0 })] }) }));
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
export const menuBlockCss = `/* ---------- Menu ---------- */
|
|
61
|
+
.sw-menu-block__heading { font-size: 1.05rem; margin: 0 0 0.75rem; }
|
|
62
|
+
.sw-menu-block__heading a { color: inherit; text-decoration: none; }
|
|
63
|
+
.sw-menu-block__heading a:hover { text-decoration: underline; }
|
|
64
|
+
.sw-menu-block__list, .sw-menu-block__sublist { list-style: none; margin: 0; padding: 0; }
|
|
65
|
+
.sw-menu-block__sublist { margin: 0.25rem 0 0.25rem 0.85rem; padding-left: 0.75rem; border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
|
|
66
|
+
.sw-menu-block__item > a { display: block; padding: 0.4rem 0.6rem; border-radius: var(--sw-radius, 8px); color: inherit; text-decoration: none; line-height: 1.35; }
|
|
67
|
+
.sw-menu-block__item > a:hover { background: color-mix(in srgb, currentColor 7%, transparent); text-decoration: underline; }
|
|
68
|
+
.sw-menu-block__item > a:focus-visible { outline: 2px solid var(--sw-color-primary, #1d4ed8); outline-offset: 1px; }
|
|
69
|
+
.sw-menu-block__item.is-trail > a { font-weight: 600; }
|
|
70
|
+
.sw-menu-block__item.is-current > a { font-weight: 600; color: var(--sw-color-primary, #1d4ed8); background: color-mix(in srgb, var(--sw-color-primary, #1d4ed8) 9%, transparent); }
|
|
71
|
+
.sw-menu-block--horizontal .sw-menu-block__list { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
|
|
72
|
+
.sw-menu-block--horizontal .sw-menu-block__sublist { display: none; }
|
|
73
|
+
.sw-menu-block__placeholder { padding: 1rem; border: 1px dashed color-mix(in srgb, currentColor 35%, transparent); border-radius: var(--sw-radius, 8px); font-size: 0.9rem; opacity: 0.8; }
|
|
74
|
+
`;
|
|
75
|
+
//# sourceMappingURL=menu.js.map
|
package/dist/menu.js.map
ADDED
|
@@ -0,0 +1 @@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AC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3C,OAAO,CACL,cAAK,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,eAAe,EAAE,MAAM,KAAK,YAAY,IAAI,2BAA2B,CAAC,gBAAc,KAAK,IAAI,SAAS,IAAI,MAAM,YAC/I,eAAK,SAAS,EAAC,cAAc,aAC1B,KAAK,CAAC,CAAC,CAAC,CACP,aAAI,SAAS,EAAC,wBAAwB,YACnC,SAAS,CAAC,CAAC,CAAC,CACX,YAAG,IAAI,EAAE,SAAS,kBAAgB,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,YACnE,KAAK,GACJ,CACL,CAAC,CAAC,CAAC,CACF,KAAK,CACN,GACE,CACN,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,IAAI,IAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAI,IAC1C,GACF,CACP,CAAC;IACJ,CAAC;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;;;;;;;;CAc3B,CAAC"}
|
package/dist/meta.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One line per block for the admin, the docs and the AI layer. `summary` is the
|
|
3
|
+
* short line under the block's name in the page builder's blocks panel;
|
|
4
|
+
* `description` is the full one for the docs; `aiHint` tells a model when to use
|
|
5
|
+
* the block and what to put in it. The style slots of the styled blocks (Hero,
|
|
6
|
+
* Cards, Button, CallToAction, Heading, Text) and their built-in styles sit next
|
|
7
|
+
* door, in styles.ts (`blockStyleSlots`).
|
|
8
|
+
*/
|
|
9
|
+
export interface BlockMeta {
|
|
10
|
+
summary: string;
|
|
11
|
+
description: string;
|
|
12
|
+
aiHint: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const blockMeta: Record<string, BlockMeta>;
|
package/dist/meta.js
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
export const blockMeta = {
|
|
2
|
+
Hero: {
|
|
3
|
+
summary: 'Opening section with buttons.',
|
|
4
|
+
description: 'Large opening section with an eyebrow, title, subtitle, up to two buttons and an optional background image.',
|
|
5
|
+
aiHint: 'Use once, at the top of a landing page. Title under 10 words, subtitle one or two sentences. Primary button is the main action; secondary is optional. Leave backgroundImage empty unless a real image URL is known.',
|
|
6
|
+
},
|
|
7
|
+
Heading: {
|
|
8
|
+
summary: 'A section heading.',
|
|
9
|
+
description: 'A standalone heading (h1 to h4) with alignment.',
|
|
10
|
+
aiHint: 'Use to start a section. Prefer h2 for sections and h3 for sub-sections; the Hero already provides the h1. Keep headings short and specific.',
|
|
11
|
+
},
|
|
12
|
+
Text: {
|
|
13
|
+
summary: 'Paragraphs of body copy.',
|
|
14
|
+
description: 'Body copy as HTML, edited visually in the page builder. Plain text is split into paragraphs on blank lines.',
|
|
15
|
+
aiHint: 'Use for prose. Prefer format "paragraphs" and separate paragraphs with a blank line. Use "lead" size for a single intro paragraph. Only use "html" when markup such as lists or links is required.',
|
|
16
|
+
},
|
|
17
|
+
Image: {
|
|
18
|
+
summary: 'One image with alt text.',
|
|
19
|
+
description: 'A single image with required alt text, optional caption and width (normal, wide, full).',
|
|
20
|
+
aiHint: 'Use only with a real image URL from the media library (/media/...). Always write descriptive alt text; use an empty alt only for purely decorative images.',
|
|
21
|
+
},
|
|
22
|
+
Gallery: {
|
|
23
|
+
summary: 'Image grid with a lightbox.',
|
|
24
|
+
description: 'A grid of images (2, 3 or 4 columns; square, 4:3 or as uploaded) with alt text and optional captions. Each opens full size in a lightbox with Previous and Next, which works without JavaScript.',
|
|
25
|
+
aiHint: 'Use for three or more related photos, such as an event, a place or a product. Only real image URLs from the media library (/media/...), each with descriptive alt text; captions are optional. For one image use Image instead.',
|
|
26
|
+
},
|
|
27
|
+
Columns: {
|
|
28
|
+
summary: 'Side-by-side columns of blocks.',
|
|
29
|
+
description: 'Two to four side-by-side columns, each a slot that holds other blocks. Two columns can be equal or 2:1 either way; the gap (S, M, L) and the vertical alignment are set on the block. Stacks on small screens.',
|
|
30
|
+
aiHint: 'Use to place blocks side by side, for example an Image next to a Text. Each entry in "columns" has a "content" array of child blocks. Keep to 2 or 3 columns for readability; use ratio "wide-left" or "wide-right" to give text more room than an image.',
|
|
31
|
+
},
|
|
32
|
+
Section: {
|
|
33
|
+
summary: 'A band that holds other blocks.',
|
|
34
|
+
description: 'A full-width band with a background (page, surface, primary, secondary or dark) and a width (narrow, normal, wide), holding any blocks in its content slot; each block inside keeps its own alignment. Text and buttons turn light on the colored and dark backgrounds.',
|
|
35
|
+
aiHint: 'Use to group a heading, text, buttons or cards on one background, for example a dark band with a Heading, a Text and a Buttons block. Put the child blocks in "content". Prefer it to Spacer for separating sections.',
|
|
36
|
+
},
|
|
37
|
+
CallToAction: {
|
|
38
|
+
summary: 'A short pitch with one button.',
|
|
39
|
+
description: 'A title, short text and one button; its style (a colored band, a bordered card or one the site defines) comes from Brand → Styles.',
|
|
40
|
+
aiHint: 'Use near the end of a page to ask for one action. Title under 8 words, text one sentence, a specific button label such as "Book a demo" rather than "Submit".',
|
|
41
|
+
},
|
|
42
|
+
Cards: {
|
|
43
|
+
summary: 'A grid of cards with links.',
|
|
44
|
+
description: 'A grid of cards with title, text, optional link and image, in 2 to 4 columns.',
|
|
45
|
+
aiHint: 'Use for features, benefits, services or a list of related pages. Three cards with parallel phrasing read best. Leave href empty when there is no target page.',
|
|
46
|
+
},
|
|
47
|
+
Faq: {
|
|
48
|
+
summary: 'Questions that open to answers.',
|
|
49
|
+
description: 'A list of questions; each opens in place to show its answer. Search engines can show the answers (FAQPage structured data), which you can turn off.',
|
|
50
|
+
aiHint: 'Use for real questions visitors ask, phrased as they would ask them. Answers short and direct, one or two sentences, plain text (a blank line starts a new paragraph). Four to eight questions.',
|
|
51
|
+
},
|
|
52
|
+
Testimonials: {
|
|
53
|
+
summary: 'Quotes from people, with names.',
|
|
54
|
+
description: 'Quotes with the name, role and an optional photo of who said them, in 1 to 3 columns.',
|
|
55
|
+
aiHint: 'Only use real quotes the site has; never invent testimonials. Keep each quote to one or two sentences. Leave imageUrl empty unless a real photo URL is known.',
|
|
56
|
+
},
|
|
57
|
+
Stats: {
|
|
58
|
+
summary: 'Big numbers with labels.',
|
|
59
|
+
description: 'Up to six large figures (98%, 40, 14:1), each with what it counts.',
|
|
60
|
+
aiHint: 'Use for three or four true, specific figures the site states elsewhere. The label says what is counted, in a few words. Do not invent numbers.',
|
|
61
|
+
},
|
|
62
|
+
LogoStrip: {
|
|
63
|
+
summary: 'A row of partner logos.',
|
|
64
|
+
description: 'A row of logos, optionally linked and shown in gray until hovered.',
|
|
65
|
+
aiHint: 'Use for partners, clients, accreditations or press. Each logo needs the organization name as its alt text. Leave out when no real logo URLs are known.',
|
|
66
|
+
},
|
|
67
|
+
Lottie: {
|
|
68
|
+
summary: 'A vector animation file.',
|
|
69
|
+
description: 'A Lottie animation (.json) from the media library, played when it scrolls into view, in a loop with a pause button or once. Visitors who see no motion get the poster image, or the last frame without one. The player is part of Spillway and loads only on pages that use it.',
|
|
70
|
+
aiHint: 'Use for a small illustration that moves (an icon, a diagram building up), not for content people must read. Needs a real .json file in the media library; add a poster image, and alt text unless it is decoration.',
|
|
71
|
+
},
|
|
72
|
+
Model3D: {
|
|
73
|
+
summary: 'An object people can turn.',
|
|
74
|
+
description: 'A 3D model (.glb or .gltf) people can turn and zoom, with a poster image while it loads, an optional slow turn and an optional View in your space button on phones. Alt text is required. The viewer is part of Spillway and loads only when the block comes near the screen.',
|
|
75
|
+
aiHint: 'Use to show a product, an artifact or a building people would want to look at from every side. Needs a real model file in the media library and alt text naming the object; models compressed with Draco or KTX2 do not load, so export them uncompressed.',
|
|
76
|
+
},
|
|
77
|
+
Scrollytelling: {
|
|
78
|
+
summary: 'Steps with images that switch.',
|
|
79
|
+
description: 'Text steps beside a column of images that stays in place while the steps scroll past, switching to each step\'s image. Visitors who see no motion, and phones, get the steps as a list, each with its image.',
|
|
80
|
+
aiHint: 'Use for a process, a timeline or a story told in three to six steps, each with a short heading, one or two sentences and a real image with alt text. Needs the brand\'s motion on to scroll; otherwise it reads as a list.',
|
|
81
|
+
},
|
|
82
|
+
Spacer: {
|
|
83
|
+
summary: 'Space between sections.',
|
|
84
|
+
description: 'Vertical space (s, m, l, xl).',
|
|
85
|
+
aiHint: 'Use sparingly. Blocks already have padding, and every block has spaceAbove and spaceBelow (auto, none, s, m, l, xl) to adjust it, and a motion object ({ entrance: none|fade|rise|scale|slide-left|slide-right, delay: none|short|medium, stagger, hover: none|lift|zoom|tilt, scroll: none|fade-out|pin|parallax (Hero with a background image only) }); a Hero can take backgroundVideo (.mp4 or .webm, needs backgroundImage as its poster) Stats countUp, and LogoStrip and Testimonials marquee (true scrolls the row with a pause button), all capped by the brand\'s motion level; use entrances sparingly and never on the first block of a page.',
|
|
86
|
+
},
|
|
87
|
+
Search: {
|
|
88
|
+
summary: 'A search box for this site.',
|
|
89
|
+
description: 'A search field with a button that opens the site search results for what the visitor typed. A plain form that works without JavaScript; the label stays available to screen readers when it is hidden.',
|
|
90
|
+
aiHint: 'Use on help, resource or directory pages, or near the top of a landing page with a lot of content. One per page is enough; the site header may already have a search field.',
|
|
91
|
+
},
|
|
92
|
+
Ask: {
|
|
93
|
+
summary: 'Answers questions from the site',
|
|
94
|
+
description: "A field for a question and up to six suggested questions. With search answers on (Site settings → Search → Answers), the answer appears below it, written only from the site's published pages with a link to each source; otherwise, and without JavaScript, it opens the search results. A plain form that works everywhere.",
|
|
95
|
+
aiHint: "Use on help centers, admissions, FAQ-style or contact pages where visitors arrive with questions. Suggested questions should be ones the site's pages answer. One per page.",
|
|
96
|
+
},
|
|
97
|
+
Menu: {
|
|
98
|
+
summary: 'Links from a menu.',
|
|
99
|
+
description: "One of the site's menus as a list of links: the whole menu, or only the branch that holds the page being viewed (its sub-items, like a department's navigation), one or two levels deep, stacked for a sidebar or in a row. It can follow the menu of the department section the page is in instead of naming one. The current page is marked; nothing shows when there are no links for the page.",
|
|
100
|
+
aiHint: 'Use for in-page or sidebar navigation of a section of the site. Set menuKey to an existing menu key (main is the header menu); use show "branch" to list the pages around the current one. Do not repeat the header navigation on a page.',
|
|
101
|
+
},
|
|
102
|
+
Divider: {
|
|
103
|
+
summary: 'A line between sections.',
|
|
104
|
+
description: 'A horizontal rule.',
|
|
105
|
+
aiHint: 'Use to separate unrelated sections. Do not place directly after a Spacer.',
|
|
106
|
+
},
|
|
107
|
+
Embed: {
|
|
108
|
+
summary: 'A video or other embed code.',
|
|
109
|
+
description: 'Raw embed HTML (for example a YouTube iframe) in a responsive 16:9 frame.',
|
|
110
|
+
aiHint: 'Use only when the user provides embed code or a known embeddable URL. Put the full iframe markup in "html". Never invent video IDs.',
|
|
111
|
+
},
|
|
112
|
+
Buttons: {
|
|
113
|
+
summary: 'A row of one to four buttons.',
|
|
114
|
+
description: 'One to four buttons in a row that wraps on small screens, each with its own label, link, emphasis (primary, secondary or text link) and an option to open in a new tab; aligned left, center or right.',
|
|
115
|
+
aiHint: 'Use when a section needs more than one action, for example "Book a demo" (primary) and "Read the docs" (secondary). One primary button per row; the rest secondary or text links.',
|
|
116
|
+
},
|
|
117
|
+
Button: {
|
|
118
|
+
summary: 'A single button or text link.',
|
|
119
|
+
description: 'A single button with alignment; its emphasis (primary, secondary or a text link) comes from its style.',
|
|
120
|
+
aiHint: 'Use for a standalone link styled as a button. Label is a verb phrase; href is a site path or full URL.',
|
|
121
|
+
},
|
|
122
|
+
Form: {
|
|
123
|
+
summary: 'A contact or signup form.',
|
|
124
|
+
description: 'A lead-capture form defined under Forms in the admin, referenced by key. Fields, labels and the success message come from the definition.',
|
|
125
|
+
aiHint: 'Use for contact, demo or newsletter forms. Set formKey to the key of an existing form (leave it empty if none is known); never invent fields here. Add a short title and a one-sentence intro.',
|
|
126
|
+
},
|
|
127
|
+
Calendar: {
|
|
128
|
+
summary: 'Events as a month or a list.',
|
|
129
|
+
description: 'A month grid or date list of the event occurrences in a collection, with a link to its iCal feed; filled in by the server at render time.',
|
|
130
|
+
aiHint: 'Use on an events page. Set collectionId to the key of an existing collection of a type with a daterange field (ask or leave empty if unknown); view "month" for a grid, "list" for upcoming dates.',
|
|
131
|
+
},
|
|
132
|
+
Shared: {
|
|
133
|
+
summary: 'A reusable shared block.',
|
|
134
|
+
description: 'A block saved in the component library (Shared blocks in the admin), referenced by key and rendered by the server; edit it once, update everywhere.',
|
|
135
|
+
aiHint: 'Use only when the user names an existing shared block key (a promo, a contact card). Never invent keys; leave sharedKey empty if none is known.',
|
|
136
|
+
},
|
|
137
|
+
Personalize: {
|
|
138
|
+
summary: 'A variant for an audience.',
|
|
139
|
+
description: 'Two slots, Default and Variant; visitors who match an audience (Audiences in the admin) see the variant. The server decides per visitor after the page loads, so pages stay cached.',
|
|
140
|
+
aiHint: 'Use only when the user names an existing audience key. Put the content for everyone in "default" and the audience version in "variant"; keep both the same shape (a Hero in each, for example). Never invent audience keys.',
|
|
141
|
+
},
|
|
142
|
+
Experiment: {
|
|
143
|
+
summary: 'An A/B test of versions.',
|
|
144
|
+
description: 'An A/B test: slots a (control), b and optional c; visitors of a running experiment (Experiments in the admin) are assigned a variant by weight and the results screen reports conversions per variant.',
|
|
145
|
+
aiHint: 'Use only when the user names an existing experiment key. Put the current content in "a" and the challenger in "b"; leave "c" empty unless asked. Never invent experiment keys.',
|
|
146
|
+
},
|
|
147
|
+
Collection: {
|
|
148
|
+
summary: 'A list that updates itself.',
|
|
149
|
+
description: 'A saved query (collection) of entities rendered as cards, a list or a grid, optionally with visitor filters (keyword, taxonomy, select, date range) and a pager; items are filled in by the server at render time.',
|
|
150
|
+
aiHint: 'Use for "latest posts", "case studies" or any list that should update itself. Set collectionId to the key of an existing collection (ask or leave empty if unknown); never invent items, the server supplies them.',
|
|
151
|
+
},
|
|
152
|
+
RegistryBrowse: {
|
|
153
|
+
summary: 'Search the package registry.',
|
|
154
|
+
description: 'Search and browse the package registry (modules, themes, kits): a GET search form, kind tabs, a sort, result cards with badges and a pager; filled in by the registry service from the page URL. Placeholder on instances that do not host the registry.',
|
|
155
|
+
aiHint: 'Use once on the /registry page of the project site. Keep the defaults; set kind to "theme" or "kit" only for a page dedicated to that kind. Needs no other props; the server supplies the results.',
|
|
156
|
+
},
|
|
157
|
+
RegistryPackage: {
|
|
158
|
+
summary: 'One registry package page.',
|
|
159
|
+
description: 'The detail page of one registry package, resolved from the last segment of the page path (/registry/<name>): header with badges, install command with a copy button, publisher and links, capability sheet, compatibility, versions, advisories, deprecation notice, README, changelog and a "For agents" section linking manifest.json.',
|
|
160
|
+
aiHint: 'Use once on the /registry/<name> catch-all page of the project site. The package comes from the URL; there is nothing to fill in besides the section toggles.',
|
|
161
|
+
},
|
|
162
|
+
RegistryStats: {
|
|
163
|
+
summary: 'Registry totals and downloads.',
|
|
164
|
+
description: 'The registry totals: packages by kind, publishers and downloads, as a row of figures.',
|
|
165
|
+
aiHint: 'Use on the registry landing or home page of the project site to show how much is published. Leave the title empty when a Heading precedes it.',
|
|
166
|
+
},
|
|
167
|
+
ThemeGallery: {
|
|
168
|
+
summary: 'The registry themes as cards.',
|
|
169
|
+
description: 'The theme directory: registry kits of kind "theme" as cards with a screenshot, description, publisher and Preview and Details links.',
|
|
170
|
+
aiHint: 'Use on a /themes page of the project site. Set limit to the number of cards wanted; the server supplies the themes.',
|
|
171
|
+
},
|
|
172
|
+
PublisherProfile: {
|
|
173
|
+
summary: 'A publisher and their packages.',
|
|
174
|
+
description: 'A publisher’s public profile (handle, name, verified badge, bio, website, maintainers) and their packages; the handle comes from the page path (/registry/publishers/<handle>) or the handle prop.',
|
|
175
|
+
aiHint: 'Use once on the /registry/publishers/<handle> catch-all page of the project site, with handle left empty. Set handle only for a page about one known publisher.',
|
|
176
|
+
},
|
|
177
|
+
OrgProfile: {
|
|
178
|
+
summary: 'Organization and its packages.',
|
|
179
|
+
description: 'An organization’s public profile (handle, name, verified badge, website, members with their roles, the namespaces it owns) and the packages published under those namespaces; the handle comes from the page path (/registry/orgs/<handle>) or the handle prop.',
|
|
180
|
+
aiHint: 'Use once on the /registry/orgs/<handle> catch-all page of the project site, with handle left empty. Set handle only for a page about one known organization.',
|
|
181
|
+
},
|
|
182
|
+
DocsFeedback: {
|
|
183
|
+
summary: '"Was this page helpful?"',
|
|
184
|
+
description: '"Was this page helpful?" with Yes and No buttons and an optional comment, posted to a form (docs_feedback by default) with the page path and the documented version as hidden fields; works without JavaScript and asks for no personal data.',
|
|
185
|
+
aiHint: 'Put it last on a documentation page. Keep formKey at docs_feedback unless the site defines another feedback form; the docs kit creates that form and places this block on every doc page.',
|
|
186
|
+
},
|
|
187
|
+
StatusBoard: {
|
|
188
|
+
summary: 'Uptime of a list of instances.',
|
|
189
|
+
description: 'A list of Spillway instances with their state (up, degraded or down), version, when each was last checked and a 90-day uptime bar; the server fetches every instance’s /status.json (3 s timeout, cached for a minute) and reads the history the probe step records every five minutes.',
|
|
190
|
+
aiHint: 'Use on a /status page of the project site. Fill instances with a name and the instance’s public URL (https://...); never invent URLs. Keep showUptime on unless asked.',
|
|
191
|
+
},
|
|
192
|
+
ModuleBlock: {
|
|
193
|
+
summary: 'A block from a module.',
|
|
194
|
+
description: 'A block an installed module provides (module name, block key and the block’s own props); rendered by the module on the server, with a placeholder when the module is disabled or missing.',
|
|
195
|
+
aiHint: 'Only use with a module and block key that GET /api/builder/config lists; never invent one. Fill props from that block’s field definitions.',
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
//# sourceMappingURL=meta.js.map
|
package/dist/meta.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,MAAM,SAAS,GAA8B;IAClD,IAAI,EAAE;QACJ,OAAO,EAAE,+BAA+B;QACxC,WAAW,EAAE,6GAA6G;QAC1H,MAAM,EACJ,sNAAsN;KACzN;IACD,OAAO,EAAE;QACP,OAAO,EAAE,oBAA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