@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.
Files changed (211) hide show
  1. package/README.md +185 -0
  2. package/dist/cjs/a11y-IAJPjMwx.js +27 -0
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  4. package/dist/cjs/forja-blog.cjs.entry.js +16 -0
  5. package/dist/cjs/forja-contact.cjs.entry.js +25 -0
  6. package/dist/cjs/forja-cta.cjs.entry.js +15 -0
  7. package/dist/cjs/forja-divider.cjs.entry.js +19 -0
  8. package/dist/cjs/forja-faq.cjs.entry.js +16 -0
  9. package/dist/cjs/forja-features.cjs.entry.js +16 -0
  10. package/dist/cjs/forja-footer.cjs.entry.js +38 -0
  11. package/dist/cjs/forja-gallery.cjs.entry.js +16 -0
  12. package/dist/cjs/forja-hero.cjs.entry.js +20 -0
  13. package/dist/cjs/forja-legal.cjs.entry.js +46 -0
  14. package/dist/cjs/forja-logo-cloud.cjs.entry.js +20 -0
  15. package/dist/cjs/forja-nav.cjs.entry.js +53 -0
  16. package/dist/cjs/forja-newsletter.cjs.entry.js +24 -0
  17. package/dist/cjs/forja-portfolio.cjs.entry.js +37 -0
  18. package/dist/cjs/forja-pricing.cjs.entry.js +16 -0
  19. package/dist/cjs/forja-projects.cjs.entry.js +16 -0
  20. package/dist/cjs/forja-section-renderer.cjs.entry.js +42 -0
  21. package/dist/cjs/forja-sections.cjs.js +25 -0
  22. package/dist/cjs/forja-stats.cjs.entry.js +20 -0
  23. package/dist/cjs/forja-tag-cloud.cjs.entry.js +16 -0
  24. package/dist/cjs/forja-team.cjs.entry.js +18 -0
  25. package/dist/cjs/forja-testimonials.cjs.entry.js +16 -0
  26. package/dist/cjs/forja-text-block.cjs.entry.js +22 -0
  27. package/dist/cjs/forja-timeline.cjs.entry.js +19 -0
  28. package/dist/cjs/forja-video.cjs.entry.js +30 -0
  29. package/dist/cjs/index-Bp-SZu2Y.js +1754 -0
  30. package/dist/cjs/index.cjs.js +15 -0
  31. package/dist/cjs/loader.cjs.js +13 -0
  32. package/dist/collection/collection-manifest.json +36 -0
  33. package/dist/collection/components/forja-blog/forja-blog.js +132 -0
  34. package/dist/collection/components/forja-contact/forja-contact.js +165 -0
  35. package/dist/collection/components/forja-cta/forja-cta.js +126 -0
  36. package/dist/collection/components/forja-divider/forja-divider.js +57 -0
  37. package/dist/collection/components/forja-faq/forja-faq.js +75 -0
  38. package/dist/collection/components/forja-features/forja-features.js +94 -0
  39. package/dist/collection/components/forja-footer/forja-footer.js +184 -0
  40. package/dist/collection/components/forja-gallery/forja-gallery.js +94 -0
  41. package/dist/collection/components/forja-hero/forja-hero.js +169 -0
  42. package/dist/collection/components/forja-legal/forja-legal.js +289 -0
  43. package/dist/collection/components/forja-logo-cloud/forja-logo-cloud.js +117 -0
  44. package/dist/collection/components/forja-nav/forja-nav.js +215 -0
  45. package/dist/collection/components/forja-newsletter/forja-newsletter.js +141 -0
  46. package/dist/collection/components/forja-portfolio/forja-portfolio.js +163 -0
  47. package/dist/collection/components/forja-pricing/forja-pricing.js +94 -0
  48. package/dist/collection/components/forja-projects/forja-projects.js +94 -0
  49. package/dist/collection/components/forja-section-renderer/forja-section-renderer.js +218 -0
  50. package/dist/collection/components/forja-stats/forja-stats.js +117 -0
  51. package/dist/collection/components/forja-tag-cloud/forja-tag-cloud.js +75 -0
  52. package/dist/collection/components/forja-team/forja-team.js +138 -0
  53. package/dist/collection/components/forja-testimonials/forja-testimonials.js +94 -0
  54. package/dist/collection/components/forja-text-block/forja-text-block.js +99 -0
  55. package/dist/collection/components/forja-timeline/forja-timeline.js +120 -0
  56. package/dist/collection/components/forja-video/forja-video.js +146 -0
  57. package/dist/collection/index.js +4 -0
  58. package/dist/collection/types.js +7 -0
  59. package/dist/collection/utils/a11y.js +22 -0
  60. package/dist/collection/utils/a11y.unit.js +46 -0
  61. package/dist/components/forja-blog.d.ts +11 -0
  62. package/dist/components/forja-blog.js +1 -0
  63. package/dist/components/forja-contact.d.ts +11 -0
  64. package/dist/components/forja-contact.js +1 -0
  65. package/dist/components/forja-cta.d.ts +11 -0
  66. package/dist/components/forja-cta.js +1 -0
  67. package/dist/components/forja-divider.d.ts +11 -0
  68. package/dist/components/forja-divider.js +1 -0
  69. package/dist/components/forja-faq.d.ts +11 -0
  70. package/dist/components/forja-faq.js +1 -0
  71. package/dist/components/forja-features.d.ts +11 -0
  72. package/dist/components/forja-features.js +1 -0
  73. package/dist/components/forja-footer.d.ts +11 -0
  74. package/dist/components/forja-footer.js +1 -0
  75. package/dist/components/forja-gallery.d.ts +11 -0
  76. package/dist/components/forja-gallery.js +1 -0
  77. package/dist/components/forja-hero.d.ts +11 -0
  78. package/dist/components/forja-hero.js +1 -0
  79. package/dist/components/forja-legal.d.ts +11 -0
  80. package/dist/components/forja-legal.js +1 -0
  81. package/dist/components/forja-logo-cloud.d.ts +11 -0
  82. package/dist/components/forja-logo-cloud.js +1 -0
  83. package/dist/components/forja-nav.d.ts +11 -0
  84. package/dist/components/forja-nav.js +1 -0
  85. package/dist/components/forja-newsletter.d.ts +11 -0
  86. package/dist/components/forja-newsletter.js +1 -0
  87. package/dist/components/forja-portfolio.d.ts +11 -0
  88. package/dist/components/forja-portfolio.js +1 -0
  89. package/dist/components/forja-pricing.d.ts +11 -0
  90. package/dist/components/forja-pricing.js +1 -0
  91. package/dist/components/forja-projects.d.ts +11 -0
  92. package/dist/components/forja-projects.js +1 -0
  93. package/dist/components/forja-section-renderer.d.ts +11 -0
  94. package/dist/components/forja-section-renderer.js +1 -0
  95. package/dist/components/forja-stats.d.ts +11 -0
  96. package/dist/components/forja-stats.js +1 -0
  97. package/dist/components/forja-tag-cloud.d.ts +11 -0
  98. package/dist/components/forja-tag-cloud.js +1 -0
  99. package/dist/components/forja-team.d.ts +11 -0
  100. package/dist/components/forja-team.js +1 -0
  101. package/dist/components/forja-testimonials.d.ts +11 -0
  102. package/dist/components/forja-testimonials.js +1 -0
  103. package/dist/components/forja-text-block.d.ts +11 -0
  104. package/dist/components/forja-text-block.js +1 -0
  105. package/dist/components/forja-timeline.d.ts +11 -0
  106. package/dist/components/forja-timeline.js +1 -0
  107. package/dist/components/forja-video.d.ts +11 -0
  108. package/dist/components/forja-video.js +1 -0
  109. package/dist/components/index.d.ts +35 -0
  110. package/dist/components/index.js +1 -0
  111. package/dist/components/p-CTbyYfdB.js +1 -0
  112. package/dist/components/p-DTKnQcqm.js +1 -0
  113. package/dist/define-all.d.ts +2 -0
  114. package/dist/define-all.js +24 -0
  115. package/dist/esm/a11y-CTbyYfdB.js +24 -0
  116. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  117. package/dist/esm/forja-blog.entry.js +14 -0
  118. package/dist/esm/forja-contact.entry.js +23 -0
  119. package/dist/esm/forja-cta.entry.js +13 -0
  120. package/dist/esm/forja-divider.entry.js +17 -0
  121. package/dist/esm/forja-faq.entry.js +14 -0
  122. package/dist/esm/forja-features.entry.js +14 -0
  123. package/dist/esm/forja-footer.entry.js +36 -0
  124. package/dist/esm/forja-gallery.entry.js +14 -0
  125. package/dist/esm/forja-hero.entry.js +18 -0
  126. package/dist/esm/forja-legal.entry.js +44 -0
  127. package/dist/esm/forja-logo-cloud.entry.js +18 -0
  128. package/dist/esm/forja-nav.entry.js +51 -0
  129. package/dist/esm/forja-newsletter.entry.js +22 -0
  130. package/dist/esm/forja-portfolio.entry.js +35 -0
  131. package/dist/esm/forja-pricing.entry.js +14 -0
  132. package/dist/esm/forja-projects.entry.js +14 -0
  133. package/dist/esm/forja-section-renderer.entry.js +40 -0
  134. package/dist/esm/forja-sections.js +21 -0
  135. package/dist/esm/forja-stats.entry.js +18 -0
  136. package/dist/esm/forja-tag-cloud.entry.js +14 -0
  137. package/dist/esm/forja-team.entry.js +16 -0
  138. package/dist/esm/forja-testimonials.entry.js +14 -0
  139. package/dist/esm/forja-text-block.entry.js +20 -0
  140. package/dist/esm/forja-timeline.entry.js +17 -0
  141. package/dist/esm/forja-video.entry.js +28 -0
  142. package/dist/esm/index-WdE4YutY.js +1747 -0
  143. package/dist/esm/index.js +11 -0
  144. package/dist/esm/loader.js +11 -0
  145. package/dist/forja-sections/forja-sections.esm.js +1 -0
  146. package/dist/forja-sections/index.esm.js +1 -0
  147. package/dist/forja-sections/p-0a820467.entry.js +1 -0
  148. package/dist/forja-sections/p-1b0b71f5.entry.js +1 -0
  149. package/dist/forja-sections/p-1e7249c1.entry.js +1 -0
  150. package/dist/forja-sections/p-27f014b1.entry.js +1 -0
  151. package/dist/forja-sections/p-2834de40.entry.js +1 -0
  152. package/dist/forja-sections/p-2a7f54c6.entry.js +1 -0
  153. package/dist/forja-sections/p-2b3d6388.entry.js +1 -0
  154. package/dist/forja-sections/p-4180bd91.entry.js +1 -0
  155. package/dist/forja-sections/p-57c10a67.entry.js +1 -0
  156. package/dist/forja-sections/p-6e48a255.entry.js +1 -0
  157. package/dist/forja-sections/p-6fa65e05.entry.js +1 -0
  158. package/dist/forja-sections/p-732e854c.entry.js +1 -0
  159. package/dist/forja-sections/p-8787f878.entry.js +1 -0
  160. package/dist/forja-sections/p-9b242e13.entry.js +1 -0
  161. package/dist/forja-sections/p-CTbyYfdB.js +1 -0
  162. package/dist/forja-sections/p-DQuL1Twl.js +1 -0
  163. package/dist/forja-sections/p-WdE4YutY.js +2 -0
  164. package/dist/forja-sections/p-a2cdb548.entry.js +1 -0
  165. package/dist/forja-sections/p-aa20264b.entry.js +1 -0
  166. package/dist/forja-sections/p-b5280312.entry.js +1 -0
  167. package/dist/forja-sections/p-c2c2e0ba.entry.js +1 -0
  168. package/dist/forja-sections/p-c4bccd7e.entry.js +1 -0
  169. package/dist/forja-sections/p-d1b739dd.entry.js +1 -0
  170. package/dist/forja-sections/p-d762878f.entry.js +1 -0
  171. package/dist/forja-sections/p-de808791.entry.js +1 -0
  172. package/dist/forja-sections/p-f24d6578.entry.js +1 -0
  173. package/dist/forja-sections/p-fd969566.entry.js +1 -0
  174. package/dist/index.cjs.js +1 -0
  175. package/dist/index.js +1 -0
  176. package/dist/types/components/forja-blog/forja-blog.d.ts +10 -0
  177. package/dist/types/components/forja-contact/forja-contact.d.ts +13 -0
  178. package/dist/types/components/forja-cta/forja-cta.d.ts +9 -0
  179. package/dist/types/components/forja-divider/forja-divider.d.ts +5 -0
  180. package/dist/types/components/forja-faq/forja-faq.d.ts +7 -0
  181. package/dist/types/components/forja-features/forja-features.d.ts +8 -0
  182. package/dist/types/components/forja-footer/forja-footer.d.ts +11 -0
  183. package/dist/types/components/forja-gallery/forja-gallery.d.ts +8 -0
  184. package/dist/types/components/forja-hero/forja-hero.d.ts +11 -0
  185. package/dist/types/components/forja-legal/forja-legal.d.ts +35 -0
  186. package/dist/types/components/forja-logo-cloud/forja-logo-cloud.d.ts +9 -0
  187. package/dist/types/components/forja-nav/forja-nav.d.ts +23 -0
  188. package/dist/types/components/forja-newsletter/forja-newsletter.d.ts +11 -0
  189. package/dist/types/components/forja-portfolio/forja-portfolio.d.ts +13 -0
  190. package/dist/types/components/forja-pricing/forja-pricing.d.ts +8 -0
  191. package/dist/types/components/forja-projects/forja-projects.d.ts +8 -0
  192. package/dist/types/components/forja-section-renderer/forja-section-renderer.d.ts +13 -0
  193. package/dist/types/components/forja-stats/forja-stats.d.ts +9 -0
  194. package/dist/types/components/forja-tag-cloud/forja-tag-cloud.d.ts +7 -0
  195. package/dist/types/components/forja-team/forja-team.d.ts +10 -0
  196. package/dist/types/components/forja-testimonials/forja-testimonials.d.ts +8 -0
  197. package/dist/types/components/forja-text-block/forja-text-block.d.ts +7 -0
  198. package/dist/types/components/forja-timeline/forja-timeline.d.ts +9 -0
  199. package/dist/types/components/forja-video/forja-video.d.ts +11 -0
  200. package/dist/types/components.d.ts +1010 -0
  201. package/dist/types/index.d.ts +3 -0
  202. package/dist/types/stencil-public-runtime.d.ts +1860 -0
  203. package/dist/types/types.d.ts +235 -0
  204. package/dist/types/utils/a11y.d.ts +11 -0
  205. package/dist/types/utils/a11y.unit.d.ts +1 -0
  206. package/loader/cdn.js +1 -0
  207. package/loader/index.cjs.js +1 -0
  208. package/loader/index.d.ts +24 -0
  209. package/loader/index.es2017.js +1 -0
  210. package/loader/index.js +2 -0
  211. package/package.json +66 -0
@@ -0,0 +1,94 @@
1
+ import { h } from "@stencil/core";
2
+ import { sectionLabel } from "../../utils/a11y";
3
+ export class ForjaFeatures {
4
+ render() {
5
+ const hasItems = this.items && this.items.length > 0;
6
+ return (h("section", { key: '01434127526dac604e2542876f04c5ac88768038', class: "forja-features", "aria-label": sectionLabel(this.sectionTitle, 'Features') }, h("slot", { key: 'cfc0d012020d197474abc35118b5c1191575d078', name: "before" }), (this.sectionTitle || this.text) && (h("div", { key: 'a626af8e540db41d255ec2a637bd341686287a86', class: "forja-features__header" }, this.sectionTitle && h("h2", { key: '15bf163f29719490525523ff72f05566277bbcc0', class: "forja-features__title" }, this.sectionTitle), this.text && h("div", { key: 'e9e05b4c08e6beb7ecca32df69daddafe2b53f1a', class: "forja-features__text", innerHTML: this.text }))), hasItems ? (h("ul", { class: "forja-features__grid", role: "list", "data-columns": this.columns }, this.items.map(item => (h("li", { class: "forja-features__item" }, item.icon && h("span", { class: "forja-features__icon", "aria-hidden": "true" }, item.icon), h("h3", { class: "forja-features__item-title" }, item.title), item.text && h("p", { class: "forja-features__item-text" }, item.text)))))) : (h("div", { class: "forja-features__grid", role: "list", "data-columns": this.columns }, h("slot", null))), h("slot", { key: '9521b8a787f3fb6907dd116b568a1da5764342fa', name: "after" })));
7
+ }
8
+ static get is() { return "forja-features"; }
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": "FeatureItem[]",
54
+ "resolved": "FeatureItem[] | undefined",
55
+ "references": {
56
+ "FeatureItem": {
57
+ "location": "import",
58
+ "path": "../../types",
59
+ "id": "src/types.ts::FeatureItem",
60
+ "referenceLocation": "FeatureItem"
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
+ };
93
+ }
94
+ }
@@ -0,0 +1,184 @@
1
+ import { h } from "@stencil/core";
2
+ /** SVG path data for known social platforms (24x24 viewBox, fill). */
3
+ const SOCIAL_ICONS = {
4
+ github: '<path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.166 6.839 9.49.5.09.682-.217.682-.482 0-.237-.009-.866-.013-1.7-2.782.603-3.369-1.342-3.369-1.342-.454-1.155-1.11-1.462-1.11-1.462-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.088 2.91.832.091-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.269 2.75 1.025A9.578 9.578 0 0112 6.836c.85.004 1.705.114 2.504.336 1.909-1.294 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.743 0 .267.18.577.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"/>',
5
+ twitter: '<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>',
6
+ x: '<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>',
7
+ linkedin: '<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>',
8
+ youtube: '<path d="M23.498 6.186a3.016 3.016 0 00-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 00.502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 002.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 002.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>',
9
+ instagram: '<path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913a5.885 5.885 0 001.384 2.126A5.868 5.868 0 004.14 23.37c.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558a5.898 5.898 0 002.126-1.384 5.86 5.86 0 001.384-2.126c.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913a5.89 5.89 0 00-1.384-2.126A5.847 5.847 0 0019.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227a3.81 3.81 0 01-.899 1.382 3.744 3.744 0 01-1.38.896c-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421a3.716 3.716 0 01-1.379-.899 3.644 3.644 0 01-.9-1.38c-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678a6.162 6.162 0 100 12.324 6.162 6.162 0 100-12.324zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405a1.441 1.441 0 11-2.882 0 1.441 1.441 0 012.882 0z"/>',
10
+ mastodon: '<path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 00.023-.043v-1.809a.052.052 0 00-.02-.041.053.053 0 00-.046-.01 20.282 20.282 0 01-4.709.547c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 01-.319-1.433.053.053 0 01.066-.054 19.648 19.648 0 004.622.536h.348c1.587 0 3.187-.109 4.75-.409 0-.012.035-.013.042-.017 2.1-.407 4.1-1.679 4.309-5.084.008-.138.04-1.46.04-1.602.001-.489.14-3.473-.067-5.309z"/>',
11
+ bluesky: '<path d="M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.785 2.627 3.57 3.493 6.164 3.18-3.636.58-6.84 1.996-2.678 7.035 4.956 5.048 6.564-.485 7.89-3.597.064-.15.114-.266.143-.183.03-.083.08.033.143.183 1.326 3.112 2.934 8.645 7.89 3.597 4.163-5.04.958-6.455-2.678-7.035 2.593.313 5.379-.553 6.164-3.18.246-.829.624-5.789.624-6.479 0-.688-.139-1.86-.902-2.203-.66-.299-1.664-.621-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8z"/>',
12
+ email: '<path d="M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z"/><path d="M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z"/>',
13
+ };
14
+ const FALLBACK_ICON = '<path d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101" stroke="currentColor" stroke-width="2" fill="none"/><path d="M10.172 13.828a4 4 0 005.656 0l4-4a4 4 0 10-5.656-5.656l-1.102 1.101" stroke="currentColor" stroke-width="2" fill="none"/>';
15
+ function getSocialIcon(slug) {
16
+ const key = slug.toLowerCase().replace(/[^a-z]/g, '');
17
+ return SOCIAL_ICONS[key] || FALLBACK_ICON;
18
+ }
19
+ export class ForjaFooter {
20
+ constructor() {
21
+ this.homeHref = '/';
22
+ this.showRss = true;
23
+ this.showSitemap = true;
24
+ this.tagline = 'Built with Forja';
25
+ }
26
+ render() {
27
+ const year = new Date().getFullYear();
28
+ const hasItems = this.items && this.items.length > 0;
29
+ const hasSocial = this.socialLinks && this.socialLinks.length > 0;
30
+ return (h("footer", { key: '1779882162fb8ba27cdf21d26faac13638a4de83', class: "forja-footer" }, h("div", { key: 'b6881c29c09d4b17adc8f328694d9cd7478046c7', class: "forja-footer__content" }, h("div", { key: 'ba569c1ae094dce6c47bfcc85a9d0122b6b0f691', class: "forja-footer__brand" }, this.siteName && (h("a", { key: '1f976458dcdec89824792d27e89177266bd3e253', href: this.homeHref, class: "forja-footer__brand-link" }, this.siteName)), this.tagline && h("p", { key: '0656d9fe9946ab5f5ecc51893a62149ff754e55e', class: "forja-footer__tagline" }, this.tagline)), hasItems && (h("nav", { key: '04e7795e7294f5844f340882a74da59b0e656130', class: "forja-footer__nav", "aria-label": "Footer navigation" }, h("p", { key: 'c4802164c33cf91b85efdb1f2fbda4028ca6809e', class: "forja-footer__nav-heading" }, "Links"), h("ul", { key: '3f8e1d71d014a5fc37df4729a7357bc71f20d2de', class: "forja-footer__nav-list" }, this.items.map(item => (h("li", null, h("a", { href: item.href, target: item.openInNewTab ? '_blank' : undefined, rel: item.openInNewTab ? 'noopener noreferrer' : undefined, class: "forja-footer__nav-link" }, item.title))))))), hasSocial && (h("div", { key: '72d42c4542ad1eca6ebc08a1d251656c9b7575e8', class: "forja-footer__social" }, h("p", { key: 'd78b27344cf900fb2d64106539184709331852f0', class: "forja-footer__nav-heading" }, "Connect"), h("div", { key: 'c1c9009bd10672fd8e19269cc6dd774985d0f7cf', class: "forja-footer__social-links", role: "list", "aria-label": "Social links" }, this.socialLinks.map(link => (h("a", { href: link.url, class: "forja-footer__social-link", target: "_blank", rel: "noopener noreferrer", title: link.title, role: "listitem" }, h("span", { class: "forja-footer__social-icon", "aria-hidden": "true", innerHTML: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" fill="currentColor">${getSocialIcon(link.icon)}</svg>` }), h("span", { class: "forja-footer__sr-only" }, link.title)))))))), h("div", { key: '604a27ffdbc5bd7b286ca35f649fd9e72c62824f', class: "forja-footer__bottom" }, h("p", { key: '93edabccfab07cacdf5570ac841e4025e58e98a2', class: "forja-footer__copyright" }, "\u00A9 ", year, " ", this.siteName || 'Site', ". All rights reserved."), h("div", { key: '8fc15c5d9e76a21889ce6e8402cf711dc534e608', class: "forja-footer__bottom-links" }, this.showRss && (h("a", { key: '91766e4997d76d43bbfe696eb7ba527615de82ce', href: "/rss.xml", class: "forja-footer__bottom-link", "aria-label": "RSS Feed" }, h("svg", { key: 'c9cb4ee4546eded881660739ad8a9ef39cfb0c19', xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { key: 'e06f360397b49644dde50b094f951b00c2967171', d: "M4 11a9 9 0 0 1 9 9" }), h("path", { key: 'be15bf6ec870c88719d77c50b97ba19f97fa4ba5', d: "M4 4a16 16 0 0 1 16 16" }), h("circle", { key: 'fcfc19bc0c1e28b96cb0002edada579d51d57801', cx: "5", cy: "19", r: "1" })))), this.showSitemap && (h("a", { key: 'c2795cf4063da2bf88b1241ddb93b1d400a1f7ec', href: "/sitemap.xml", class: "forja-footer__bottom-link" }, "Sitemap"))))));
31
+ }
32
+ static get is() { return "forja-footer"; }
33
+ static get properties() {
34
+ return {
35
+ "siteName": {
36
+ "type": "string",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "string",
40
+ "resolved": "string | undefined",
41
+ "references": {}
42
+ },
43
+ "required": false,
44
+ "optional": true,
45
+ "docs": {
46
+ "tags": [],
47
+ "text": ""
48
+ },
49
+ "getter": false,
50
+ "setter": false,
51
+ "reflect": false,
52
+ "attribute": "site-name"
53
+ },
54
+ "homeHref": {
55
+ "type": "string",
56
+ "mutable": false,
57
+ "complexType": {
58
+ "original": "string",
59
+ "resolved": "string | undefined",
60
+ "references": {}
61
+ },
62
+ "required": false,
63
+ "optional": true,
64
+ "docs": {
65
+ "tags": [],
66
+ "text": ""
67
+ },
68
+ "getter": false,
69
+ "setter": false,
70
+ "reflect": false,
71
+ "attribute": "home-href",
72
+ "defaultValue": "'/'"
73
+ },
74
+ "items": {
75
+ "type": "unknown",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "NavItem[]",
79
+ "resolved": "NavItem[] | undefined",
80
+ "references": {
81
+ "NavItem": {
82
+ "location": "import",
83
+ "path": "../../types",
84
+ "id": "src/types.ts::NavItem",
85
+ "referenceLocation": "NavItem"
86
+ }
87
+ }
88
+ },
89
+ "required": false,
90
+ "optional": true,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "getter": false,
96
+ "setter": false
97
+ },
98
+ "socialLinks": {
99
+ "type": "unknown",
100
+ "mutable": false,
101
+ "complexType": {
102
+ "original": "SocialLink[]",
103
+ "resolved": "SocialLink[] | undefined",
104
+ "references": {
105
+ "SocialLink": {
106
+ "location": "import",
107
+ "path": "../../types",
108
+ "id": "src/types.ts::SocialLink",
109
+ "referenceLocation": "SocialLink"
110
+ }
111
+ }
112
+ },
113
+ "required": false,
114
+ "optional": true,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false
121
+ },
122
+ "showRss": {
123
+ "type": "boolean",
124
+ "mutable": false,
125
+ "complexType": {
126
+ "original": "boolean",
127
+ "resolved": "boolean | undefined",
128
+ "references": {}
129
+ },
130
+ "required": false,
131
+ "optional": true,
132
+ "docs": {
133
+ "tags": [],
134
+ "text": ""
135
+ },
136
+ "getter": false,
137
+ "setter": false,
138
+ "reflect": false,
139
+ "attribute": "show-rss",
140
+ "defaultValue": "true"
141
+ },
142
+ "showSitemap": {
143
+ "type": "boolean",
144
+ "mutable": false,
145
+ "complexType": {
146
+ "original": "boolean",
147
+ "resolved": "boolean | undefined",
148
+ "references": {}
149
+ },
150
+ "required": false,
151
+ "optional": true,
152
+ "docs": {
153
+ "tags": [],
154
+ "text": ""
155
+ },
156
+ "getter": false,
157
+ "setter": false,
158
+ "reflect": false,
159
+ "attribute": "show-sitemap",
160
+ "defaultValue": "true"
161
+ },
162
+ "tagline": {
163
+ "type": "string",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "string",
167
+ "resolved": "string | undefined",
168
+ "references": {}
169
+ },
170
+ "required": false,
171
+ "optional": true,
172
+ "docs": {
173
+ "tags": [],
174
+ "text": ""
175
+ },
176
+ "getter": false,
177
+ "setter": false,
178
+ "reflect": false,
179
+ "attribute": "tagline",
180
+ "defaultValue": "'Built with Forja'"
181
+ }
182
+ };
183
+ }
184
+ }
@@ -0,0 +1,94 @@
1
+ import { h } from "@stencil/core";
2
+ import { sectionLabel } from "../../utils/a11y";
3
+ export class ForjaGallery {
4
+ render() {
5
+ const hasItems = this.items && this.items.length > 0;
6
+ return (h("section", { key: 'b895958acc335c7a586411465baa3e5f63b96298', class: "forja-gallery", "aria-label": sectionLabel(this.sectionTitle, 'Gallery') }, h("slot", { key: 'b11fe68eba917a5ba6494211ebfece03088c1d12', name: "before" }), this.sectionTitle && h("h2", { key: 'fd8b6ba0c5a51a4add4d1f4bada6691efe1ccaba', class: "forja-gallery__title" }, this.sectionTitle), this.text && h("div", { key: '99e0f4a727481d965f08c6e6028bd43472908f28', class: "forja-gallery__text", innerHTML: this.text }), hasItems ? (h("div", { class: "forja-gallery__grid", role: "list", "data-columns": this.columns }, this.items.map(item => (h("figure", { class: "forja-gallery__item", role: "listitem" }, h("img", { src: item.imageUrl, alt: item.alt || '', class: "forja-gallery__image", loading: "lazy" }), item.caption && h("figcaption", { class: "forja-gallery__caption" }, item.caption)))))) : (h("div", { class: "forja-gallery__grid", role: "list", "data-columns": this.columns }, h("slot", null))), h("slot", { key: '6aabc6822879290b15894b9f02b58e43205a9d75', name: "after" })));
7
+ }
8
+ static get is() { return "forja-gallery"; }
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": "GalleryItem[]",
54
+ "resolved": "GalleryItem[] | undefined",
55
+ "references": {
56
+ "GalleryItem": {
57
+ "location": "import",
58
+ "path": "../../types",
59
+ "id": "src/types.ts::GalleryItem",
60
+ "referenceLocation": "GalleryItem"
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
+ };
93
+ }
94
+ }
@@ -0,0 +1,169 @@
1
+ import { h } from "@stencil/core";
2
+ import { sectionLabel } from "../../utils/a11y";
3
+ export class ForjaHero {
4
+ render() {
5
+ const classes = [
6
+ 'forja-hero',
7
+ this.fullWidth && 'forja-hero--full-width',
8
+ this.gradient && 'forja-hero--gradient',
9
+ ].filter(Boolean).join(' ');
10
+ return (h("section", { key: '43ec04aba0825c70330d5a9f22d6a7c4168cabad', class: classes, "aria-label": sectionLabel(this.sectionTitle, 'Hero') }, h("slot", { key: 'be9b16694a02aee3fe1ae96ab4bdd822ad1c0b96', name: "before" }), this.imageUrl && (h("img", { key: 'd41247eb3ddb7d6782f6fdbb6df7545e20c66c2b', src: this.imageUrl, alt: this.imageAlt || '', class: "forja-hero__image", loading: "eager" })), h("div", { key: '9545c4a55a85f3309a61afa5c7249ae84c183e86', class: "forja-hero__content" }, this.sectionTitle && h("h2", { key: '1f77acc32f1aae7af9d8afaabd09fc8d2a940af6', class: "forja-hero__title" }, this.sectionTitle), this.text && h("div", { key: '9d95c5669bd63d68a82206740e18edace7b22ef4', class: "forja-hero__text", innerHTML: this.text }), this.buttonText && this.buttonHref && (h("a", { key: 'ae33f3e16544486aef89a2f33e4e0361a9a1a3ca', href: this.buttonHref, class: "forja-hero__cta" }, this.buttonText))), h("slot", { key: '9fce9221736717aa80332eea4b981233a896a38c', name: "after" })));
11
+ }
12
+ static get is() { return "forja-hero"; }
13
+ static get properties() {
14
+ return {
15
+ "sectionTitle": {
16
+ "type": "string",
17
+ "mutable": false,
18
+ "complexType": {
19
+ "original": "string",
20
+ "resolved": "string | undefined",
21
+ "references": {}
22
+ },
23
+ "required": false,
24
+ "optional": true,
25
+ "docs": {
26
+ "tags": [],
27
+ "text": ""
28
+ },
29
+ "getter": false,
30
+ "setter": false,
31
+ "reflect": false,
32
+ "attribute": "section-title"
33
+ },
34
+ "text": {
35
+ "type": "string",
36
+ "mutable": false,
37
+ "complexType": {
38
+ "original": "string",
39
+ "resolved": "string | undefined",
40
+ "references": {}
41
+ },
42
+ "required": false,
43
+ "optional": true,
44
+ "docs": {
45
+ "tags": [],
46
+ "text": ""
47
+ },
48
+ "getter": false,
49
+ "setter": false,
50
+ "reflect": false,
51
+ "attribute": "text"
52
+ },
53
+ "imageUrl": {
54
+ "type": "string",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "string",
58
+ "resolved": "string | undefined",
59
+ "references": {}
60
+ },
61
+ "required": false,
62
+ "optional": true,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": ""
66
+ },
67
+ "getter": false,
68
+ "setter": false,
69
+ "reflect": false,
70
+ "attribute": "image-url"
71
+ },
72
+ "imageAlt": {
73
+ "type": "string",
74
+ "mutable": false,
75
+ "complexType": {
76
+ "original": "string",
77
+ "resolved": "string | undefined",
78
+ "references": {}
79
+ },
80
+ "required": false,
81
+ "optional": true,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": ""
85
+ },
86
+ "getter": false,
87
+ "setter": false,
88
+ "reflect": false,
89
+ "attribute": "image-alt"
90
+ },
91
+ "buttonText": {
92
+ "type": "string",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "string",
96
+ "resolved": "string | undefined",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": true,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": ""
104
+ },
105
+ "getter": false,
106
+ "setter": false,
107
+ "reflect": false,
108
+ "attribute": "button-text"
109
+ },
110
+ "buttonHref": {
111
+ "type": "string",
112
+ "mutable": false,
113
+ "complexType": {
114
+ "original": "string",
115
+ "resolved": "string | undefined",
116
+ "references": {}
117
+ },
118
+ "required": false,
119
+ "optional": true,
120
+ "docs": {
121
+ "tags": [],
122
+ "text": ""
123
+ },
124
+ "getter": false,
125
+ "setter": false,
126
+ "reflect": false,
127
+ "attribute": "button-href"
128
+ },
129
+ "fullWidth": {
130
+ "type": "boolean",
131
+ "mutable": false,
132
+ "complexType": {
133
+ "original": "boolean",
134
+ "resolved": "boolean | undefined",
135
+ "references": {}
136
+ },
137
+ "required": false,
138
+ "optional": true,
139
+ "docs": {
140
+ "tags": [],
141
+ "text": ""
142
+ },
143
+ "getter": false,
144
+ "setter": false,
145
+ "reflect": false,
146
+ "attribute": "full-width"
147
+ },
148
+ "gradient": {
149
+ "type": "boolean",
150
+ "mutable": false,
151
+ "complexType": {
152
+ "original": "boolean",
153
+ "resolved": "boolean | undefined",
154
+ "references": {}
155
+ },
156
+ "required": false,
157
+ "optional": true,
158
+ "docs": {
159
+ "tags": [],
160
+ "text": ""
161
+ },
162
+ "getter": false,
163
+ "setter": false,
164
+ "reflect": false,
165
+ "attribute": "gradient"
166
+ }
167
+ };
168
+ }
169
+ }