ferst-core 0.7.5 → 0.7.7
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/bin/ferst-modules.mjs +91 -0
- package/cms/config.template.yml +13 -0
- package/components/BlockRenderer.astro +2 -0
- package/components/ProseParts.astro +26 -0
- package/components/SiteFooter.astro +52 -1
- package/components/SiteHeader.astro +1246 -1243
- package/components/blocks/Prose.astro +12 -17
- package/components/recipes/Accordion.astro +3 -7
- package/components/recipes/Contacts.astro +3 -3
- package/components/recipes/Document.astro +7 -11
- package/components/recipes/Documents.astro +2 -2
- package/components/recipes/Form.astro +30 -0
- package/components/recipes/MediaText.astro +88 -92
- package/components/recipes/Steps.astro +121 -120
- package/components/recipes/Table.astro +3 -2
- package/components/recipes/Video.astro +1 -1
- package/content/blocks.ts +917 -887
- package/content/schemas.ts +5 -0
- package/fonts/OFL.txt +287 -0
- package/fonts/inter-latin-400-normal.woff2 +0 -0
- package/fonts/inter-latin-500-normal.woff2 +0 -0
- package/fonts/inter-latin-600-normal.woff2 +0 -0
- package/fonts/playfair-display-latin-700-normal.woff2 +0 -0
- package/fonts/poppins-latin-300-normal.woff2 +0 -0
- package/fonts/poppins-latin-400-normal.woff2 +0 -0
- package/fonts/poppins-latin-500-normal.woff2 +0 -0
- package/fonts/poppins-latin-600-normal.woff2 +0 -0
- package/fonts/poppins-latin-700-normal.woff2 +0 -0
- package/integration.mjs +41 -1
- package/layouts/Base.astro +1 -0
- package/lib/forms.ts +57 -0
- package/lib/icons.ts +10 -0
- package/lib/links.ts +24 -22
- package/lib/nav.ts +12 -0
- package/lib/siteSettings.ts +2 -1
- package/package.json +5 -3
|
@@ -9,6 +9,7 @@ import Heading from '../blocks/Heading.astro';
|
|
|
9
9
|
|
|
10
10
|
import { inlineMarkdown } from '../../lib/inline-markdown';
|
|
11
11
|
import { filledColumns } from '../../lib/table';
|
|
12
|
+
import ProseParts from '../ProseParts.astro';
|
|
12
13
|
interface Props {
|
|
13
14
|
title?: string;
|
|
14
15
|
intro?: string;
|
|
@@ -24,7 +25,7 @@ const keep = filledColumns(columns, rows);
|
|
|
24
25
|
{(title || intro) && (
|
|
25
26
|
<div class="b-table__head">
|
|
26
27
|
{title && <Heading text={title} level={2} />}
|
|
27
|
-
{intro && <
|
|
28
|
+
{intro && <ProseParts text={intro} class="b-table__intro" />}
|
|
28
29
|
</div>
|
|
29
30
|
)}
|
|
30
31
|
<div class="b-table__scroll">
|
|
@@ -57,7 +58,7 @@ const keep = filledColumns(columns, rows);
|
|
|
57
58
|
flex-direction: column;
|
|
58
59
|
gap: 0.6rem;
|
|
59
60
|
}
|
|
60
|
-
.b-table__intro {
|
|
61
|
+
:global(.b-table__intro) {
|
|
61
62
|
margin: 0;
|
|
62
63
|
color: var(--muted);
|
|
63
64
|
max-width: var(--max);
|
|
@@ -38,7 +38,7 @@ const safeLink = /^https:\/\//i.test(url) ? url : undefined;
|
|
|
38
38
|
</div>
|
|
39
39
|
<div class="b-video__frame"></div>
|
|
40
40
|
</div>
|
|
41
|
-
{caption && <figcaption class="b-video__caption"
|
|
41
|
+
{caption && <figcaption class="b-video__caption" set:html={inlineMarkdown(caption)} />}
|
|
42
42
|
</figure>
|
|
43
43
|
{/* Always visible, before AND after the player loads: the way to the provider. */}
|
|
44
44
|
<div class="b-video__footer">
|