@forjacms/sections 1.2.6
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/README.md +185 -0
- package/dist/cjs/a11y-IAJPjMwx.js +27 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/forja-blog.cjs.entry.js +16 -0
- package/dist/cjs/forja-contact.cjs.entry.js +25 -0
- package/dist/cjs/forja-cta.cjs.entry.js +15 -0
- package/dist/cjs/forja-divider.cjs.entry.js +19 -0
- package/dist/cjs/forja-faq.cjs.entry.js +16 -0
- package/dist/cjs/forja-features.cjs.entry.js +16 -0
- package/dist/cjs/forja-footer.cjs.entry.js +38 -0
- package/dist/cjs/forja-gallery.cjs.entry.js +16 -0
- package/dist/cjs/forja-hero.cjs.entry.js +20 -0
- package/dist/cjs/forja-legal.cjs.entry.js +46 -0
- package/dist/cjs/forja-logo-cloud.cjs.entry.js +20 -0
- package/dist/cjs/forja-nav.cjs.entry.js +53 -0
- package/dist/cjs/forja-newsletter.cjs.entry.js +24 -0
- package/dist/cjs/forja-portfolio.cjs.entry.js +37 -0
- package/dist/cjs/forja-pricing.cjs.entry.js +16 -0
- package/dist/cjs/forja-projects.cjs.entry.js +16 -0
- package/dist/cjs/forja-section-renderer.cjs.entry.js +42 -0
- package/dist/cjs/forja-sections.cjs.js +25 -0
- package/dist/cjs/forja-stats.cjs.entry.js +20 -0
- package/dist/cjs/forja-tag-cloud.cjs.entry.js +16 -0
- package/dist/cjs/forja-team.cjs.entry.js +18 -0
- package/dist/cjs/forja-testimonials.cjs.entry.js +16 -0
- package/dist/cjs/forja-text-block.cjs.entry.js +22 -0
- package/dist/cjs/forja-timeline.cjs.entry.js +19 -0
- package/dist/cjs/forja-video.cjs.entry.js +30 -0
- package/dist/cjs/index-Bp-SZu2Y.js +1754 -0
- package/dist/cjs/index.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/collection-manifest.json +36 -0
- package/dist/collection/components/forja-blog/forja-blog.js +132 -0
- package/dist/collection/components/forja-contact/forja-contact.js +165 -0
- package/dist/collection/components/forja-cta/forja-cta.js +126 -0
- package/dist/collection/components/forja-divider/forja-divider.js +57 -0
- package/dist/collection/components/forja-faq/forja-faq.js +75 -0
- package/dist/collection/components/forja-features/forja-features.js +94 -0
- package/dist/collection/components/forja-footer/forja-footer.js +184 -0
- package/dist/collection/components/forja-gallery/forja-gallery.js +94 -0
- package/dist/collection/components/forja-hero/forja-hero.js +169 -0
- package/dist/collection/components/forja-legal/forja-legal.js +289 -0
- package/dist/collection/components/forja-logo-cloud/forja-logo-cloud.js +117 -0
- package/dist/collection/components/forja-nav/forja-nav.js +215 -0
- package/dist/collection/components/forja-newsletter/forja-newsletter.js +141 -0
- package/dist/collection/components/forja-portfolio/forja-portfolio.js +163 -0
- package/dist/collection/components/forja-pricing/forja-pricing.js +94 -0
- package/dist/collection/components/forja-projects/forja-projects.js +94 -0
- package/dist/collection/components/forja-section-renderer/forja-section-renderer.js +218 -0
- package/dist/collection/components/forja-stats/forja-stats.js +117 -0
- package/dist/collection/components/forja-tag-cloud/forja-tag-cloud.js +75 -0
- package/dist/collection/components/forja-team/forja-team.js +138 -0
- package/dist/collection/components/forja-testimonials/forja-testimonials.js +94 -0
- package/dist/collection/components/forja-text-block/forja-text-block.js +99 -0
- package/dist/collection/components/forja-timeline/forja-timeline.js +120 -0
- package/dist/collection/components/forja-video/forja-video.js +146 -0
- package/dist/collection/index.js +4 -0
- package/dist/collection/types.js +7 -0
- package/dist/collection/utils/a11y.js +22 -0
- package/dist/collection/utils/a11y.unit.js +46 -0
- package/dist/components/forja-blog.d.ts +11 -0
- package/dist/components/forja-blog.js +1 -0
- package/dist/components/forja-contact.d.ts +11 -0
- package/dist/components/forja-contact.js +1 -0
- package/dist/components/forja-cta.d.ts +11 -0
- package/dist/components/forja-cta.js +1 -0
- package/dist/components/forja-divider.d.ts +11 -0
- package/dist/components/forja-divider.js +1 -0
- package/dist/components/forja-faq.d.ts +11 -0
- package/dist/components/forja-faq.js +1 -0
- package/dist/components/forja-features.d.ts +11 -0
- package/dist/components/forja-features.js +1 -0
- package/dist/components/forja-footer.d.ts +11 -0
- package/dist/components/forja-footer.js +1 -0
- package/dist/components/forja-gallery.d.ts +11 -0
- package/dist/components/forja-gallery.js +1 -0
- package/dist/components/forja-hero.d.ts +11 -0
- package/dist/components/forja-hero.js +1 -0
- package/dist/components/forja-legal.d.ts +11 -0
- package/dist/components/forja-legal.js +1 -0
- package/dist/components/forja-logo-cloud.d.ts +11 -0
- package/dist/components/forja-logo-cloud.js +1 -0
- package/dist/components/forja-nav.d.ts +11 -0
- package/dist/components/forja-nav.js +1 -0
- package/dist/components/forja-newsletter.d.ts +11 -0
- package/dist/components/forja-newsletter.js +1 -0
- package/dist/components/forja-portfolio.d.ts +11 -0
- package/dist/components/forja-portfolio.js +1 -0
- package/dist/components/forja-pricing.d.ts +11 -0
- package/dist/components/forja-pricing.js +1 -0
- package/dist/components/forja-projects.d.ts +11 -0
- package/dist/components/forja-projects.js +1 -0
- package/dist/components/forja-section-renderer.d.ts +11 -0
- package/dist/components/forja-section-renderer.js +1 -0
- package/dist/components/forja-stats.d.ts +11 -0
- package/dist/components/forja-stats.js +1 -0
- package/dist/components/forja-tag-cloud.d.ts +11 -0
- package/dist/components/forja-tag-cloud.js +1 -0
- package/dist/components/forja-team.d.ts +11 -0
- package/dist/components/forja-team.js +1 -0
- package/dist/components/forja-testimonials.d.ts +11 -0
- package/dist/components/forja-testimonials.js +1 -0
- package/dist/components/forja-text-block.d.ts +11 -0
- package/dist/components/forja-text-block.js +1 -0
- package/dist/components/forja-timeline.d.ts +11 -0
- package/dist/components/forja-timeline.js +1 -0
- package/dist/components/forja-video.d.ts +11 -0
- package/dist/components/forja-video.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-CTbyYfdB.js +1 -0
- package/dist/components/p-DTKnQcqm.js +1 -0
- package/dist/define-all.d.ts +2 -0
- package/dist/define-all.js +24 -0
- package/dist/esm/a11y-CTbyYfdB.js +24 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/forja-blog.entry.js +14 -0
- package/dist/esm/forja-contact.entry.js +23 -0
- package/dist/esm/forja-cta.entry.js +13 -0
- package/dist/esm/forja-divider.entry.js +17 -0
- package/dist/esm/forja-faq.entry.js +14 -0
- package/dist/esm/forja-features.entry.js +14 -0
- package/dist/esm/forja-footer.entry.js +36 -0
- package/dist/esm/forja-gallery.entry.js +14 -0
- package/dist/esm/forja-hero.entry.js +18 -0
- package/dist/esm/forja-legal.entry.js +44 -0
- package/dist/esm/forja-logo-cloud.entry.js +18 -0
- package/dist/esm/forja-nav.entry.js +51 -0
- package/dist/esm/forja-newsletter.entry.js +22 -0
- package/dist/esm/forja-portfolio.entry.js +35 -0
- package/dist/esm/forja-pricing.entry.js +14 -0
- package/dist/esm/forja-projects.entry.js +14 -0
- package/dist/esm/forja-section-renderer.entry.js +40 -0
- package/dist/esm/forja-sections.js +21 -0
- package/dist/esm/forja-stats.entry.js +18 -0
- package/dist/esm/forja-tag-cloud.entry.js +14 -0
- package/dist/esm/forja-team.entry.js +16 -0
- package/dist/esm/forja-testimonials.entry.js +14 -0
- package/dist/esm/forja-text-block.entry.js +20 -0
- package/dist/esm/forja-timeline.entry.js +17 -0
- package/dist/esm/forja-video.entry.js +28 -0
- package/dist/esm/index-WdE4YutY.js +1747 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/loader.js +11 -0
- package/dist/forja-sections/forja-sections.esm.js +1 -0
- package/dist/forja-sections/index.esm.js +1 -0
- package/dist/forja-sections/p-0a820467.entry.js +1 -0
- package/dist/forja-sections/p-1b0b71f5.entry.js +1 -0
- package/dist/forja-sections/p-1e7249c1.entry.js +1 -0
- package/dist/forja-sections/p-27f014b1.entry.js +1 -0
- package/dist/forja-sections/p-2834de40.entry.js +1 -0
- package/dist/forja-sections/p-2a7f54c6.entry.js +1 -0
- package/dist/forja-sections/p-2b3d6388.entry.js +1 -0
- package/dist/forja-sections/p-4180bd91.entry.js +1 -0
- package/dist/forja-sections/p-57c10a67.entry.js +1 -0
- package/dist/forja-sections/p-6e48a255.entry.js +1 -0
- package/dist/forja-sections/p-6fa65e05.entry.js +1 -0
- package/dist/forja-sections/p-732e854c.entry.js +1 -0
- package/dist/forja-sections/p-8787f878.entry.js +1 -0
- package/dist/forja-sections/p-9b242e13.entry.js +1 -0
- package/dist/forja-sections/p-CTbyYfdB.js +1 -0
- package/dist/forja-sections/p-DQuL1Twl.js +1 -0
- package/dist/forja-sections/p-WdE4YutY.js +2 -0
- package/dist/forja-sections/p-a2cdb548.entry.js +1 -0
- package/dist/forja-sections/p-aa20264b.entry.js +1 -0
- package/dist/forja-sections/p-b5280312.entry.js +1 -0
- package/dist/forja-sections/p-c2c2e0ba.entry.js +1 -0
- package/dist/forja-sections/p-c4bccd7e.entry.js +1 -0
- package/dist/forja-sections/p-d1b739dd.entry.js +1 -0
- package/dist/forja-sections/p-d762878f.entry.js +1 -0
- package/dist/forja-sections/p-de808791.entry.js +1 -0
- package/dist/forja-sections/p-f24d6578.entry.js +1 -0
- package/dist/forja-sections/p-fd969566.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/forja-blog/forja-blog.d.ts +10 -0
- package/dist/types/components/forja-contact/forja-contact.d.ts +13 -0
- package/dist/types/components/forja-cta/forja-cta.d.ts +9 -0
- package/dist/types/components/forja-divider/forja-divider.d.ts +5 -0
- package/dist/types/components/forja-faq/forja-faq.d.ts +7 -0
- package/dist/types/components/forja-features/forja-features.d.ts +8 -0
- package/dist/types/components/forja-footer/forja-footer.d.ts +11 -0
- package/dist/types/components/forja-gallery/forja-gallery.d.ts +8 -0
- package/dist/types/components/forja-hero/forja-hero.d.ts +11 -0
- package/dist/types/components/forja-legal/forja-legal.d.ts +35 -0
- package/dist/types/components/forja-logo-cloud/forja-logo-cloud.d.ts +9 -0
- package/dist/types/components/forja-nav/forja-nav.d.ts +23 -0
- package/dist/types/components/forja-newsletter/forja-newsletter.d.ts +11 -0
- package/dist/types/components/forja-portfolio/forja-portfolio.d.ts +13 -0
- package/dist/types/components/forja-pricing/forja-pricing.d.ts +8 -0
- package/dist/types/components/forja-projects/forja-projects.d.ts +8 -0
- package/dist/types/components/forja-section-renderer/forja-section-renderer.d.ts +13 -0
- package/dist/types/components/forja-stats/forja-stats.d.ts +9 -0
- package/dist/types/components/forja-tag-cloud/forja-tag-cloud.d.ts +7 -0
- package/dist/types/components/forja-team/forja-team.d.ts +10 -0
- package/dist/types/components/forja-testimonials/forja-testimonials.d.ts +8 -0
- package/dist/types/components/forja-text-block/forja-text-block.d.ts +7 -0
- package/dist/types/components/forja-timeline/forja-timeline.d.ts +9 -0
- package/dist/types/components/forja-video/forja-video.d.ts +11 -0
- package/dist/types/components.d.ts +1010 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/types.d.ts +235 -0
- package/dist/types/utils/a11y.d.ts +11 -0
- package/dist/types/utils/a11y.unit.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +66 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var a11y = require('./a11y-IAJPjMwx.js');
|
|
4
|
+
|
|
5
|
+
const LEGAL_DOC_TYPE_LABELS = {
|
|
6
|
+
CookieConsent: 'Cookie Consent',
|
|
7
|
+
PrivacyPolicy: 'Privacy Policy',
|
|
8
|
+
TermsOfService: 'Terms of Service',
|
|
9
|
+
Imprint: 'Imprint',
|
|
10
|
+
Disclaimer: 'Disclaimer',
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
exports.sectionId = a11y.sectionId;
|
|
14
|
+
exports.sectionLabel = a11y.sectionLabel;
|
|
15
|
+
exports.LEGAL_DOC_TYPE_LABELS = LEGAL_DOC_TYPE_LABELS;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-Bp-SZu2Y.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
|
+
|
|
6
|
+
const defineCustomElements = async (win, options) => {
|
|
7
|
+
if (typeof window === 'undefined') return undefined;
|
|
8
|
+
await appGlobals.globalScripts();
|
|
9
|
+
return index.bootstrapLazy([["forja-blog.cjs",[[260,"forja-blog",{"sectionTitle":[1,"section-title"],"text":[1],"posts":[16],"columns":[2],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"]}]]],["forja-contact.cjs",[[260,"forja-contact",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fields":[16],"formAction":[1,"form-action"]}]]],["forja-cta.cjs",[[260,"forja-cta",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"]}]]],["forja-divider.cjs",[[0,"forja-divider",{"dividerStyle":[1,"divider-style"],"label":[1]}]]],["forja-faq.cjs",[[260,"forja-faq",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16]}]]],["forja-features.cjs",[[260,"forja-features",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-footer.cjs",[[0,"forja-footer",{"siteName":[1,"site-name"],"homeHref":[1,"home-href"],"items":[16],"socialLinks":[16],"showRss":[4,"show-rss"],"showSitemap":[4,"show-sitemap"],"tagline":[1]}]]],["forja-gallery.cjs",[[260,"forja-gallery",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-hero.cjs",[[260,"forja-hero",{"sectionTitle":[1,"section-title"],"text":[1],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"fullWidth":[4,"full-width"],"gradient":[4]}]]],["forja-legal.cjs",[[260,"forja-legal",{"sectionTitle":[1,"section-title"],"intro":[1],"body":[1],"documentType":[1,"document-type"],"version":[2],"createdAt":[1,"created-at"],"updatedAt":[1,"updated-at"],"effectiveDate":[1,"effective-date"],"showDocumentType":[4,"show-document-type"],"showVersion":[4,"show-version"],"showDates":[4,"show-dates"],"showIntro":[4,"show-intro"]}]]],["forja-logo-cloud.cjs",[[260,"forja-logo-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"logos":[16],"columns":[2],"grayscale":[4]}]]],["forja-nav.cjs",[[0,"forja-nav",{"siteName":[1,"site-name"],"homeHref":[1,"home-href"],"items":[16],"locales":[16],"currentLocale":[1,"current-locale"],"showThemeToggle":[4,"show-theme-toggle"],"mobileOpen":[32],"localeDropdownOpen":[32]}]]],["forja-newsletter.cjs",[[260,"forja-newsletter",{"sectionTitle":[1,"section-title"],"text":[1],"buttonText":[1,"button-text"],"formAction":[1,"form-action"],"showName":[4,"show-name"]}]]],["forja-portfolio.cjs",[[260,"forja-portfolio",{"sectionTitle":[1,"section-title"],"text":[1],"experiences":[16],"education":[16],"skills":[16],"columns":[2]}]]],["forja-pricing.cjs",[[260,"forja-pricing",{"sectionTitle":[1,"section-title"],"text":[1],"tiers":[16],"columns":[2]}]]],["forja-projects.cjs",[[260,"forja-projects",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-section-renderer.cjs",[[260,"forja-section-renderer",{"sectionType":[1,"section-type"],"sectionTitle":[1,"section-title"],"text":[1],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"],"buttonText":[1,"button-text"],"buttonHref":[1,"button-href"],"items":[16],"settings":[16]}]]],["forja-stats.cjs",[[260,"forja-stats",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2],"statsStyle":[1,"stats-style"]}]]],["forja-tag-cloud.cjs",[[260,"forja-tag-cloud",{"sectionTitle":[1,"section-title"],"text":[1],"tags":[16]}]]],["forja-team.cjs",[[260,"forja-team",{"sectionTitle":[1,"section-title"],"text":[1],"members":[16],"columns":[2],"showRole":[4,"show-role"],"showBio":[4,"show-bio"]}]]],["forja-testimonials.cjs",[[260,"forja-testimonials",{"sectionTitle":[1,"section-title"],"text":[1],"items":[16],"columns":[2]}]]],["forja-text-block.cjs",[[260,"forja-text-block",{"sectionTitle":[1,"section-title"],"text":[1],"width":[1],"alignment":[1]}]]],["forja-timeline.cjs",[[260,"forja-timeline",{"sectionTitle":[1,"section-title"],"text":[1],"events":[16],"layout":[1],"showDates":[4,"show-dates"]}]]],["forja-video.cjs",[[260,"forja-video",{"sectionTitle":[1,"section-title"],"text":[1],"videoUrl":[1,"video-url"],"provider":[1],"autoplay":[4],"aspectRatio":[1,"aspect-ratio"]}]]]], options);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
exports.setNonce = index.setNonce;
|
|
13
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"components/forja-blog/forja-blog.js",
|
|
4
|
+
"components/forja-contact/forja-contact.js",
|
|
5
|
+
"components/forja-cta/forja-cta.js",
|
|
6
|
+
"components/forja-divider/forja-divider.js",
|
|
7
|
+
"components/forja-faq/forja-faq.js",
|
|
8
|
+
"components/forja-features/forja-features.js",
|
|
9
|
+
"components/forja-footer/forja-footer.js",
|
|
10
|
+
"components/forja-gallery/forja-gallery.js",
|
|
11
|
+
"components/forja-hero/forja-hero.js",
|
|
12
|
+
"components/forja-legal/forja-legal.js",
|
|
13
|
+
"components/forja-logo-cloud/forja-logo-cloud.js",
|
|
14
|
+
"components/forja-nav/forja-nav.js",
|
|
15
|
+
"components/forja-newsletter/forja-newsletter.js",
|
|
16
|
+
"components/forja-portfolio/forja-portfolio.js",
|
|
17
|
+
"components/forja-pricing/forja-pricing.js",
|
|
18
|
+
"components/forja-projects/forja-projects.js",
|
|
19
|
+
"components/forja-section-renderer/forja-section-renderer.js",
|
|
20
|
+
"components/forja-stats/forja-stats.js",
|
|
21
|
+
"components/forja-tag-cloud/forja-tag-cloud.js",
|
|
22
|
+
"components/forja-team/forja-team.js",
|
|
23
|
+
"components/forja-testimonials/forja-testimonials.js",
|
|
24
|
+
"components/forja-text-block/forja-text-block.js",
|
|
25
|
+
"components/forja-timeline/forja-timeline.js",
|
|
26
|
+
"components/forja-video/forja-video.js"
|
|
27
|
+
],
|
|
28
|
+
"mixins": [],
|
|
29
|
+
"compiler": {
|
|
30
|
+
"name": "@stencil/core",
|
|
31
|
+
"version": "4.43.3",
|
|
32
|
+
"typescriptVersion": "5.8.3"
|
|
33
|
+
},
|
|
34
|
+
"collections": [],
|
|
35
|
+
"bundles": []
|
|
36
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { sectionLabel } from "../../utils/a11y";
|
|
3
|
+
export class ForjaBlog {
|
|
4
|
+
render() {
|
|
5
|
+
const hasPosts = this.posts && this.posts.length > 0;
|
|
6
|
+
return (h("section", { key: '2e07ceebf04b3741b7a9e9003ca4cb4c227b1f53', class: "forja-blog", "aria-label": sectionLabel(this.sectionTitle, 'Blog') }, h("slot", { key: 'fa89312e96a5a9d76f9ecb35a2b884b86c724136', name: "before" }), this.sectionTitle && h("h2", { key: 'e2b67b101f958249015d16d3875ad4ef2045f5a9', class: "forja-blog__title" }, this.sectionTitle), this.text && h("div", { key: 'cfb8fe068f2ca902ebee227ff919b69a3c6e28f2', class: "forja-blog__text", innerHTML: this.text }), hasPosts ? (h("div", { class: "forja-blog__grid", role: "list", "data-columns": this.columns }, this.posts.map(post => (h("article", { class: "forja-blog__card", role: "listitem" }, post.imageUrl && (h("a", { href: post.href, class: "forja-blog__image-link" }, h("img", { src: post.imageUrl, alt: "", class: "forja-blog__image", loading: "lazy" }))), h("div", { class: "forja-blog__content" }, (post.date || post.author) && (h("div", { class: "forja-blog__meta" }, post.date && h("time", { class: "forja-blog__date" }, post.date), post.author && h("span", { class: "forja-blog__author" }, post.author))), h("h3", { class: "forja-blog__post-title" }, post.href ? (h("a", { href: post.href, class: "forja-blog__link" }, post.title)) : (post.title)), post.excerpt && (h("div", { class: "forja-blog__excerpt", innerHTML: post.excerpt })))))))) : (h("slot", null)), this.buttonText && this.buttonHref && (h("div", { key: 'd30200ce9a72871b17c225446e511c9792e541f1', class: "forja-blog__footer" }, h("a", { key: '42eb53eb15ec8a2c88cf7bf29a425b5e0c074c28', href: this.buttonHref, class: "forja-blog__cta" }, this.buttonText))), h("slot", { key: 'fc9ac4b7e88a64eb401abbec1cc5e93f9dea0455', name: "after" })));
|
|
7
|
+
}
|
|
8
|
+
static get is() { return "forja-blog"; }
|
|
9
|
+
static get properties() {
|
|
10
|
+
return {
|
|
11
|
+
"sectionTitle": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"mutable": false,
|
|
14
|
+
"complexType": {
|
|
15
|
+
"original": "string",
|
|
16
|
+
"resolved": "string | undefined",
|
|
17
|
+
"references": {}
|
|
18
|
+
},
|
|
19
|
+
"required": false,
|
|
20
|
+
"optional": true,
|
|
21
|
+
"docs": {
|
|
22
|
+
"tags": [],
|
|
23
|
+
"text": ""
|
|
24
|
+
},
|
|
25
|
+
"getter": false,
|
|
26
|
+
"setter": false,
|
|
27
|
+
"reflect": false,
|
|
28
|
+
"attribute": "section-title"
|
|
29
|
+
},
|
|
30
|
+
"text": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"mutable": false,
|
|
33
|
+
"complexType": {
|
|
34
|
+
"original": "string",
|
|
35
|
+
"resolved": "string | undefined",
|
|
36
|
+
"references": {}
|
|
37
|
+
},
|
|
38
|
+
"required": false,
|
|
39
|
+
"optional": true,
|
|
40
|
+
"docs": {
|
|
41
|
+
"tags": [],
|
|
42
|
+
"text": ""
|
|
43
|
+
},
|
|
44
|
+
"getter": false,
|
|
45
|
+
"setter": false,
|
|
46
|
+
"reflect": false,
|
|
47
|
+
"attribute": "text"
|
|
48
|
+
},
|
|
49
|
+
"posts": {
|
|
50
|
+
"type": "unknown",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "BlogPostItem[]",
|
|
54
|
+
"resolved": "BlogPostItem[] | undefined",
|
|
55
|
+
"references": {
|
|
56
|
+
"BlogPostItem": {
|
|
57
|
+
"location": "import",
|
|
58
|
+
"path": "../../types",
|
|
59
|
+
"id": "src/types.ts::BlogPostItem",
|
|
60
|
+
"referenceLocation": "BlogPostItem"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": true,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": ""
|
|
69
|
+
},
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false
|
|
72
|
+
},
|
|
73
|
+
"columns": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "number",
|
|
78
|
+
"resolved": "number | undefined",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": true,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": ""
|
|
86
|
+
},
|
|
87
|
+
"getter": false,
|
|
88
|
+
"setter": false,
|
|
89
|
+
"reflect": false,
|
|
90
|
+
"attribute": "columns"
|
|
91
|
+
},
|
|
92
|
+
"buttonText": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "string",
|
|
97
|
+
"resolved": "string | undefined",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": true,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": ""
|
|
105
|
+
},
|
|
106
|
+
"getter": false,
|
|
107
|
+
"setter": false,
|
|
108
|
+
"reflect": false,
|
|
109
|
+
"attribute": "button-text"
|
|
110
|
+
},
|
|
111
|
+
"buttonHref": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"mutable": false,
|
|
114
|
+
"complexType": {
|
|
115
|
+
"original": "string",
|
|
116
|
+
"resolved": "string | undefined",
|
|
117
|
+
"references": {}
|
|
118
|
+
},
|
|
119
|
+
"required": false,
|
|
120
|
+
"optional": true,
|
|
121
|
+
"docs": {
|
|
122
|
+
"tags": [],
|
|
123
|
+
"text": ""
|
|
124
|
+
},
|
|
125
|
+
"getter": false,
|
|
126
|
+
"setter": false,
|
|
127
|
+
"reflect": false,
|
|
128
|
+
"attribute": "button-href"
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { sectionLabel, sectionId } from "../../utils/a11y";
|
|
3
|
+
export class ForjaContact {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.handleSubmit = (e) => {
|
|
6
|
+
e.preventDefault();
|
|
7
|
+
const form = e.target;
|
|
8
|
+
this.forjaSubmit.emit(new FormData(form));
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
const hasFields = this.fields && this.fields.length > 0;
|
|
13
|
+
return (h("section", { key: '15bb71d6aa6d3d73c85ab4cdd7346696f3145074', class: "forja-contact", "aria-label": sectionLabel(this.sectionTitle, 'Contact') }, h("slot", { key: '63820a89dd1c9812dc0b931fd8ce7b17a7b1782e', name: "before" }), h("div", { key: 'b74c9c884de525c6a08a92c982f0a1c8a2235c02', class: "forja-contact__content" }, this.sectionTitle && h("h2", { key: '53014e550127a34a191adcef4b8eaa3b01dfec7a', class: "forja-contact__title" }, this.sectionTitle), this.text && h("div", { key: '38d9ff63e255d33328da1113a3b7f2fe82871a23', class: "forja-contact__text", innerHTML: this.text }), this.buttonText && this.buttonHref && (h("a", { key: '15ebb06b95b3cb6d58fb3d4caaa1e713126a201a', href: this.buttonHref, class: "forja-contact__cta" }, this.buttonText))), hasFields ? (h("form", { class: "forja-contact__form", action: this.formAction, method: this.formAction ? 'post' : undefined, onSubmit: this.handleSubmit }, this.fields.map(field => {
|
|
14
|
+
const fieldId = sectionId(field.name, 'contact');
|
|
15
|
+
return (h("div", { class: "forja-contact__field" }, h("label", { class: "forja-contact__label", htmlFor: fieldId }, field.label, field.required && h("span", { "aria-hidden": "true" }, " *")), field.type === 'textarea' ? (h("textarea", { id: fieldId, name: field.name, class: "forja-contact__input forja-contact__input--textarea", required: field.required, "aria-required": field.required ? 'true' : undefined, placeholder: field.placeholder })) : (h("input", { id: fieldId, name: field.name, type: field.type, class: "forja-contact__input", required: field.required, "aria-required": field.required ? 'true' : undefined, placeholder: field.placeholder }))));
|
|
16
|
+
}), h("button", { type: "submit", class: "forja-contact__submit" }, this.buttonText || 'Send'))) : (h("slot", null)), h("slot", { key: '7ec1b5c2ee966906cbd6fa05a2c8a5a2ca13d7e2', name: "after" })));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "forja-contact"; }
|
|
19
|
+
static get properties() {
|
|
20
|
+
return {
|
|
21
|
+
"sectionTitle": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"mutable": false,
|
|
24
|
+
"complexType": {
|
|
25
|
+
"original": "string",
|
|
26
|
+
"resolved": "string | undefined",
|
|
27
|
+
"references": {}
|
|
28
|
+
},
|
|
29
|
+
"required": false,
|
|
30
|
+
"optional": true,
|
|
31
|
+
"docs": {
|
|
32
|
+
"tags": [],
|
|
33
|
+
"text": ""
|
|
34
|
+
},
|
|
35
|
+
"getter": false,
|
|
36
|
+
"setter": false,
|
|
37
|
+
"reflect": false,
|
|
38
|
+
"attribute": "section-title"
|
|
39
|
+
},
|
|
40
|
+
"text": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "string",
|
|
45
|
+
"resolved": "string | undefined",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": true,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": ""
|
|
53
|
+
},
|
|
54
|
+
"getter": false,
|
|
55
|
+
"setter": false,
|
|
56
|
+
"reflect": false,
|
|
57
|
+
"attribute": "text"
|
|
58
|
+
},
|
|
59
|
+
"buttonText": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "string",
|
|
64
|
+
"resolved": "string | undefined",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": true,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"getter": false,
|
|
74
|
+
"setter": false,
|
|
75
|
+
"reflect": false,
|
|
76
|
+
"attribute": "button-text"
|
|
77
|
+
},
|
|
78
|
+
"buttonHref": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string | undefined",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": true,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": ""
|
|
91
|
+
},
|
|
92
|
+
"getter": false,
|
|
93
|
+
"setter": false,
|
|
94
|
+
"reflect": false,
|
|
95
|
+
"attribute": "button-href"
|
|
96
|
+
},
|
|
97
|
+
"fields": {
|
|
98
|
+
"type": "unknown",
|
|
99
|
+
"mutable": false,
|
|
100
|
+
"complexType": {
|
|
101
|
+
"original": "ContactField[]",
|
|
102
|
+
"resolved": "ContactField[] | undefined",
|
|
103
|
+
"references": {
|
|
104
|
+
"ContactField": {
|
|
105
|
+
"location": "import",
|
|
106
|
+
"path": "../../types",
|
|
107
|
+
"id": "src/types.ts::ContactField",
|
|
108
|
+
"referenceLocation": "ContactField"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": true,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": ""
|
|
117
|
+
},
|
|
118
|
+
"getter": false,
|
|
119
|
+
"setter": false
|
|
120
|
+
},
|
|
121
|
+
"formAction": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "string",
|
|
126
|
+
"resolved": "string | undefined",
|
|
127
|
+
"references": {}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": ""
|
|
134
|
+
},
|
|
135
|
+
"getter": false,
|
|
136
|
+
"setter": false,
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"attribute": "form-action"
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
static get events() {
|
|
143
|
+
return [{
|
|
144
|
+
"method": "forjaSubmit",
|
|
145
|
+
"name": "forjaSubmit",
|
|
146
|
+
"bubbles": true,
|
|
147
|
+
"cancelable": true,
|
|
148
|
+
"composed": true,
|
|
149
|
+
"docs": {
|
|
150
|
+
"tags": [],
|
|
151
|
+
"text": ""
|
|
152
|
+
},
|
|
153
|
+
"complexType": {
|
|
154
|
+
"original": "FormData",
|
|
155
|
+
"resolved": "FormData",
|
|
156
|
+
"references": {
|
|
157
|
+
"FormData": {
|
|
158
|
+
"location": "global",
|
|
159
|
+
"id": "global::FormData"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}];
|
|
164
|
+
}
|
|
165
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { sectionLabel } from "../../utils/a11y";
|
|
3
|
+
export class ForjaCta {
|
|
4
|
+
render() {
|
|
5
|
+
return (h("section", { key: '446ccf4f954e159368c7824587d8a5db98a276d2', class: "forja-cta", "aria-label": sectionLabel(this.sectionTitle, 'Call to action') }, h("slot", { key: '3663547f1d3869de3c0295c8db3d2339a64c1f7b', name: "before" }), this.imageUrl && (h("img", { key: '192e4fa7564506794fbd55a77a9fd6f2c202eea7', src: this.imageUrl, alt: this.imageAlt || '', class: "forja-cta__image", loading: "lazy" })), h("div", { key: 'f480a01537524bec5b2dd7faaa973776081c5ed0', class: "forja-cta__content" }, this.sectionTitle && h("h2", { key: '0baa33a4f63ea70a65da02669977b261d6ca9cbe', class: "forja-cta__title" }, this.sectionTitle), this.text && h("div", { key: 'f67e87b654f0cb08f4415aa4ea2b7a39b5e0ca84', class: "forja-cta__text", innerHTML: this.text }), this.buttonText && this.buttonHref && (h("a", { key: 'bb0618dcd3fd6deb8f1ce1446167a9ff5d904f6b', href: this.buttonHref, class: "forja-cta__button" }, this.buttonText))), h("slot", { key: 'ff766293f87f21e4498004243d78c31d31889dfc', name: "after" })));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "forja-cta"; }
|
|
8
|
+
static get properties() {
|
|
9
|
+
return {
|
|
10
|
+
"sectionTitle": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"mutable": false,
|
|
13
|
+
"complexType": {
|
|
14
|
+
"original": "string",
|
|
15
|
+
"resolved": "string | undefined",
|
|
16
|
+
"references": {}
|
|
17
|
+
},
|
|
18
|
+
"required": false,
|
|
19
|
+
"optional": true,
|
|
20
|
+
"docs": {
|
|
21
|
+
"tags": [],
|
|
22
|
+
"text": ""
|
|
23
|
+
},
|
|
24
|
+
"getter": false,
|
|
25
|
+
"setter": false,
|
|
26
|
+
"reflect": false,
|
|
27
|
+
"attribute": "section-title"
|
|
28
|
+
},
|
|
29
|
+
"text": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"mutable": false,
|
|
32
|
+
"complexType": {
|
|
33
|
+
"original": "string",
|
|
34
|
+
"resolved": "string | undefined",
|
|
35
|
+
"references": {}
|
|
36
|
+
},
|
|
37
|
+
"required": false,
|
|
38
|
+
"optional": true,
|
|
39
|
+
"docs": {
|
|
40
|
+
"tags": [],
|
|
41
|
+
"text": ""
|
|
42
|
+
},
|
|
43
|
+
"getter": false,
|
|
44
|
+
"setter": false,
|
|
45
|
+
"reflect": false,
|
|
46
|
+
"attribute": "text"
|
|
47
|
+
},
|
|
48
|
+
"buttonText": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"mutable": false,
|
|
51
|
+
"complexType": {
|
|
52
|
+
"original": "string",
|
|
53
|
+
"resolved": "string | undefined",
|
|
54
|
+
"references": {}
|
|
55
|
+
},
|
|
56
|
+
"required": false,
|
|
57
|
+
"optional": true,
|
|
58
|
+
"docs": {
|
|
59
|
+
"tags": [],
|
|
60
|
+
"text": ""
|
|
61
|
+
},
|
|
62
|
+
"getter": false,
|
|
63
|
+
"setter": false,
|
|
64
|
+
"reflect": false,
|
|
65
|
+
"attribute": "button-text"
|
|
66
|
+
},
|
|
67
|
+
"buttonHref": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "string",
|
|
72
|
+
"resolved": "string | undefined",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": true,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
83
|
+
"reflect": false,
|
|
84
|
+
"attribute": "button-href"
|
|
85
|
+
},
|
|
86
|
+
"imageUrl": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"mutable": false,
|
|
89
|
+
"complexType": {
|
|
90
|
+
"original": "string",
|
|
91
|
+
"resolved": "string | undefined",
|
|
92
|
+
"references": {}
|
|
93
|
+
},
|
|
94
|
+
"required": false,
|
|
95
|
+
"optional": true,
|
|
96
|
+
"docs": {
|
|
97
|
+
"tags": [],
|
|
98
|
+
"text": ""
|
|
99
|
+
},
|
|
100
|
+
"getter": false,
|
|
101
|
+
"setter": false,
|
|
102
|
+
"reflect": false,
|
|
103
|
+
"attribute": "image-url"
|
|
104
|
+
},
|
|
105
|
+
"imageAlt": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"mutable": false,
|
|
108
|
+
"complexType": {
|
|
109
|
+
"original": "string",
|
|
110
|
+
"resolved": "string | undefined",
|
|
111
|
+
"references": {}
|
|
112
|
+
},
|
|
113
|
+
"required": false,
|
|
114
|
+
"optional": true,
|
|
115
|
+
"docs": {
|
|
116
|
+
"tags": [],
|
|
117
|
+
"text": ""
|
|
118
|
+
},
|
|
119
|
+
"getter": false,
|
|
120
|
+
"setter": false,
|
|
121
|
+
"reflect": false,
|
|
122
|
+
"attribute": "image-alt"
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export class ForjaDivider {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.dividerStyle = 'line';
|
|
5
|
+
}
|
|
6
|
+
render() {
|
|
7
|
+
const classes = ['forja-divider', `forja-divider--${this.dividerStyle}`].join(' ');
|
|
8
|
+
if (this.label) {
|
|
9
|
+
return (h("div", { class: classes, role: "separator", "aria-label": this.label }, h("span", { class: "forja-divider__label" }, this.label)));
|
|
10
|
+
}
|
|
11
|
+
return h("hr", { class: classes });
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "forja-divider"; }
|
|
14
|
+
static get properties() {
|
|
15
|
+
return {
|
|
16
|
+
"dividerStyle": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"mutable": false,
|
|
19
|
+
"complexType": {
|
|
20
|
+
"original": "string",
|
|
21
|
+
"resolved": "string | undefined",
|
|
22
|
+
"references": {}
|
|
23
|
+
},
|
|
24
|
+
"required": false,
|
|
25
|
+
"optional": true,
|
|
26
|
+
"docs": {
|
|
27
|
+
"tags": [],
|
|
28
|
+
"text": ""
|
|
29
|
+
},
|
|
30
|
+
"getter": false,
|
|
31
|
+
"setter": false,
|
|
32
|
+
"reflect": false,
|
|
33
|
+
"attribute": "divider-style",
|
|
34
|
+
"defaultValue": "'line'"
|
|
35
|
+
},
|
|
36
|
+
"label": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "string",
|
|
41
|
+
"resolved": "string | undefined",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": true,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"getter": false,
|
|
51
|
+
"setter": false,
|
|
52
|
+
"reflect": false,
|
|
53
|
+
"attribute": "label"
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { sectionLabel } from "../../utils/a11y";
|
|
3
|
+
export class ForjaFaq {
|
|
4
|
+
render() {
|
|
5
|
+
const hasItems = this.items && this.items.length > 0;
|
|
6
|
+
return (h("section", { key: '94a1ad63276f33116d60bc7e6c00445754a4e7da', class: "forja-faq", "aria-label": sectionLabel(this.sectionTitle, 'Frequently asked questions') }, h("slot", { key: '4b33e56d9cd117bcfc07583a2c58a89d07be50dd', name: "before" }), this.sectionTitle && h("h2", { key: 'c47444fed71889ea5a693d623513328f87e6f16e', class: "forja-faq__title" }, this.sectionTitle), this.text && h("div", { key: 'a7992070168b9f081dbb11689cf4e333fbf75413', class: "forja-faq__text", innerHTML: this.text }), hasItems ? (h("div", { class: "forja-faq__list" }, this.items.map(item => (h("details", { class: "forja-faq__item" }, h("summary", { class: "forja-faq__question" }, item.question), h("div", { class: "forja-faq__answer", innerHTML: item.answer })))))) : (h("div", { class: "forja-faq__list" }, h("slot", null))), h("slot", { key: '77bac4fe776da5ecb301ad5bdb270e1823329f81', name: "after" })));
|
|
7
|
+
}
|
|
8
|
+
static get is() { return "forja-faq"; }
|
|
9
|
+
static get properties() {
|
|
10
|
+
return {
|
|
11
|
+
"sectionTitle": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"mutable": false,
|
|
14
|
+
"complexType": {
|
|
15
|
+
"original": "string",
|
|
16
|
+
"resolved": "string | undefined",
|
|
17
|
+
"references": {}
|
|
18
|
+
},
|
|
19
|
+
"required": false,
|
|
20
|
+
"optional": true,
|
|
21
|
+
"docs": {
|
|
22
|
+
"tags": [],
|
|
23
|
+
"text": ""
|
|
24
|
+
},
|
|
25
|
+
"getter": false,
|
|
26
|
+
"setter": false,
|
|
27
|
+
"reflect": false,
|
|
28
|
+
"attribute": "section-title"
|
|
29
|
+
},
|
|
30
|
+
"text": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"mutable": false,
|
|
33
|
+
"complexType": {
|
|
34
|
+
"original": "string",
|
|
35
|
+
"resolved": "string | undefined",
|
|
36
|
+
"references": {}
|
|
37
|
+
},
|
|
38
|
+
"required": false,
|
|
39
|
+
"optional": true,
|
|
40
|
+
"docs": {
|
|
41
|
+
"tags": [],
|
|
42
|
+
"text": ""
|
|
43
|
+
},
|
|
44
|
+
"getter": false,
|
|
45
|
+
"setter": false,
|
|
46
|
+
"reflect": false,
|
|
47
|
+
"attribute": "text"
|
|
48
|
+
},
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "unknown",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "FaqItem[]",
|
|
54
|
+
"resolved": "FaqItem[] | undefined",
|
|
55
|
+
"references": {
|
|
56
|
+
"FaqItem": {
|
|
57
|
+
"location": "import",
|
|
58
|
+
"path": "../../types",
|
|
59
|
+
"id": "src/types.ts::FaqItem",
|
|
60
|
+
"referenceLocation": "FaqItem"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": false,
|
|
65
|
+
"optional": true,
|
|
66
|
+
"docs": {
|
|
67
|
+
"tags": [],
|
|
68
|
+
"text": ""
|
|
69
|
+
},
|
|
70
|
+
"getter": false,
|
|
71
|
+
"setter": false
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|