@affinda/wc 0.0.12 → 0.0.14

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 (126) hide show
  1. package/dist/affinda/af-contact-item.entry.esm.js.map +1 -0
  2. package/dist/affinda/af-footer-column.entry.esm.js.map +1 -0
  3. package/dist/affinda/af-footer-link.entry.esm.js.map +1 -0
  4. package/dist/affinda/af-footer.entry.esm.js.map +1 -0
  5. package/dist/affinda/af-social-link.entry.esm.js.map +1 -0
  6. package/dist/affinda/affinda.esm.js +1 -1
  7. package/dist/affinda/{p-32fe4d5e.entry.js → p-4a39ddec.entry.js} +2 -2
  8. package/dist/affinda/{p-9c733909.entry.js → p-52f7ea33.entry.js} +2 -2
  9. package/dist/affinda/{p-00214c08.entry.js → p-924e6def.entry.js} +2 -2
  10. package/dist/affinda/p-97f9f774.entry.js +2 -0
  11. package/dist/affinda/p-97f9f774.entry.js.map +1 -0
  12. package/dist/affinda/p-a49dc8ac.entry.js +2 -0
  13. package/dist/affinda/p-a49dc8ac.entry.js.map +1 -0
  14. package/dist/affinda/{p-aac3792a.entry.js → p-b67bbaf7.entry.js} +2 -2
  15. package/dist/affinda/{p-173bc70b.entry.js → p-b7c63852.entry.js} +2 -2
  16. package/dist/affinda/{p-9bc092d7.entry.js → p-b7efbfff.entry.js} +2 -2
  17. package/dist/affinda/{p-0835ca39.entry.js → p-bf4543ff.entry.js} +2 -2
  18. package/dist/affinda/{p-a3116a6b.entry.js → p-c2b6199e.entry.js} +2 -2
  19. package/dist/affinda/p-c5aba33f.entry.js +2 -0
  20. package/dist/affinda/p-c5aba33f.entry.js.map +1 -0
  21. package/dist/affinda/p-ce89c4f1.entry.js +2 -0
  22. package/dist/affinda/p-ce89c4f1.entry.js.map +1 -0
  23. package/dist/affinda/p-de52b175.entry.js +2 -0
  24. package/dist/affinda/p-de52b175.entry.js.map +1 -0
  25. package/dist/cjs/af-contact-item.cjs.entry.js +22 -0
  26. package/dist/cjs/af-contact-item.entry.cjs.js.map +1 -0
  27. package/dist/cjs/af-cta-section.cjs.entry.js +1 -1
  28. package/dist/cjs/af-feature-accordion.cjs.entry.js +2 -2
  29. package/dist/cjs/af-footer-column.cjs.entry.js +20 -0
  30. package/dist/cjs/af-footer-column.entry.cjs.js.map +1 -0
  31. package/dist/cjs/af-footer-link.cjs.entry.js +22 -0
  32. package/dist/cjs/af-footer-link.entry.cjs.js.map +1 -0
  33. package/dist/cjs/af-footer.cjs.entry.js +28 -0
  34. package/dist/cjs/af-footer.entry.cjs.js.map +1 -0
  35. package/dist/cjs/af-hero-section.cjs.entry.js +1 -1
  36. package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
  37. package/dist/cjs/af-section.cjs.entry.js +2 -2
  38. package/dist/cjs/af-social-link.cjs.entry.js +40 -0
  39. package/dist/cjs/af-social-link.entry.cjs.js.map +1 -0
  40. package/dist/cjs/af-testimonial-carousel.cjs.entry.js +2 -2
  41. package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
  42. package/dist/cjs/af-testimonial.cjs.entry.js +1 -1
  43. package/dist/cjs/affinda.cjs.js +1 -1
  44. package/dist/cjs/loader.cjs.js +1 -1
  45. package/dist/collection/collection-manifest.json +5 -0
  46. package/dist/collection/components/af-contact-item/af-contact-item.css +26 -0
  47. package/dist/collection/components/af-contact-item/af-contact-item.js +73 -0
  48. package/dist/collection/components/af-contact-item/af-contact-item.js.map +1 -0
  49. package/dist/collection/components/af-cta-section/af-cta-section.js +1 -1
  50. package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
  51. package/dist/collection/components/af-footer/af-footer.css +340 -0
  52. package/dist/collection/components/af-footer/af-footer.js +140 -0
  53. package/dist/collection/components/af-footer/af-footer.js.map +1 -0
  54. package/dist/collection/components/af-footer-column/af-footer-column.css +32 -0
  55. package/dist/collection/components/af-footer-column/af-footer-column.js +51 -0
  56. package/dist/collection/components/af-footer-column/af-footer-column.js.map +1 -0
  57. package/dist/collection/components/af-footer-link/af-footer-link.css +30 -0
  58. package/dist/collection/components/af-footer-link/af-footer-link.js +73 -0
  59. package/dist/collection/components/af-footer-link/af-footer-link.js.map +1 -0
  60. package/dist/collection/components/af-hero-section/af-hero-section.js +1 -1
  61. package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
  62. package/dist/collection/components/af-section/af-section.js +2 -2
  63. package/dist/collection/components/af-social-link/af-social-link.css +21 -0
  64. package/dist/collection/components/af-social-link/af-social-link.js +111 -0
  65. package/dist/collection/components/af-social-link/af-social-link.js.map +1 -0
  66. package/dist/collection/components/af-testimonial/af-testimonial.js +1 -1
  67. package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +2 -2
  68. package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
  69. package/dist/components/af-contact-item.d.ts +11 -0
  70. package/dist/components/af-contact-item.js +44 -0
  71. package/dist/components/af-contact-item.js.map +1 -0
  72. package/dist/components/af-cta-section.js +1 -1
  73. package/dist/components/af-feature-accordion.js +2 -2
  74. package/dist/components/af-footer-column.d.ts +11 -0
  75. package/dist/components/af-footer-column.js +41 -0
  76. package/dist/components/af-footer-column.js.map +1 -0
  77. package/dist/components/af-footer-link.d.ts +11 -0
  78. package/dist/components/af-footer-link.js +44 -0
  79. package/dist/components/af-footer-link.js.map +1 -0
  80. package/dist/components/af-footer.d.ts +11 -0
  81. package/dist/components/af-footer.js +53 -0
  82. package/dist/components/af-footer.js.map +1 -0
  83. package/dist/components/af-hero-section.js +1 -1
  84. package/dist/components/af-logo-well.js +1 -1
  85. package/dist/components/af-section.js +2 -2
  86. package/dist/components/af-social-link.d.ts +11 -0
  87. package/dist/components/af-social-link.js +63 -0
  88. package/dist/components/af-social-link.js.map +1 -0
  89. package/dist/components/af-testimonial-carousel.js +2 -2
  90. package/dist/components/af-testimonial-stat.js +1 -1
  91. package/dist/components/af-testimonial.js +1 -1
  92. package/dist/esm/af-contact-item.entry.js +20 -0
  93. package/dist/esm/af-contact-item.entry.js.map +1 -0
  94. package/dist/esm/af-cta-section.entry.js +1 -1
  95. package/dist/esm/af-feature-accordion.entry.js +2 -2
  96. package/dist/esm/af-footer-column.entry.js +18 -0
  97. package/dist/esm/af-footer-column.entry.js.map +1 -0
  98. package/dist/esm/af-footer-link.entry.js +20 -0
  99. package/dist/esm/af-footer-link.entry.js.map +1 -0
  100. package/dist/esm/af-footer.entry.js +26 -0
  101. package/dist/esm/af-footer.entry.js.map +1 -0
  102. package/dist/esm/af-hero-section.entry.js +1 -1
  103. package/dist/esm/af-logo-well.entry.js +1 -1
  104. package/dist/esm/af-section.entry.js +2 -2
  105. package/dist/esm/af-social-link.entry.js +38 -0
  106. package/dist/esm/af-social-link.entry.js.map +1 -0
  107. package/dist/esm/af-testimonial-carousel.entry.js +2 -2
  108. package/dist/esm/af-testimonial-stat.entry.js +1 -1
  109. package/dist/esm/af-testimonial.entry.js +1 -1
  110. package/dist/esm/affinda.js +1 -1
  111. package/dist/esm/loader.js +1 -1
  112. package/dist/types/components/af-contact-item/af-contact-item.d.ts +11 -0
  113. package/dist/types/components/af-footer/af-footer.d.ts +18 -0
  114. package/dist/types/components/af-footer-column/af-footer-column.d.ts +9 -0
  115. package/dist/types/components/af-footer-link/af-footer-link.d.ts +11 -0
  116. package/dist/types/components/af-social-link/af-social-link.d.ts +14 -0
  117. package/dist/types/components.d.ts +279 -0
  118. package/package.json +1 -1
  119. /package/dist/affinda/{p-32fe4d5e.entry.js.map → p-4a39ddec.entry.js.map} +0 -0
  120. /package/dist/affinda/{p-9c733909.entry.js.map → p-52f7ea33.entry.js.map} +0 -0
  121. /package/dist/affinda/{p-00214c08.entry.js.map → p-924e6def.entry.js.map} +0 -0
  122. /package/dist/affinda/{p-aac3792a.entry.js.map → p-b67bbaf7.entry.js.map} +0 -0
  123. /package/dist/affinda/{p-173bc70b.entry.js.map → p-b7c63852.entry.js.map} +0 -0
  124. /package/dist/affinda/{p-9bc092d7.entry.js.map → p-b7efbfff.entry.js.map} +0 -0
  125. /package/dist/affinda/{p-0835ca39.entry.js.map → p-bf4543ff.entry.js.map} +0 -0
  126. /package/dist/affinda/{p-a3116a6b.entry.js.map → p-c2b6199e.entry.js.map} +0 -0
@@ -0,0 +1,340 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .footer {
6
+ background-color: var(--colour-brand-inkwell, #14343b);
7
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
8
+ padding: 64px 0 0;
9
+ }
10
+
11
+ .footer__container {
12
+ max-width: 1280px;
13
+ margin: 0 auto;
14
+ padding: 0 24px;
15
+ }
16
+
17
+ /* Top section layout */
18
+ .footer__top {
19
+ display: grid;
20
+ grid-template-columns: 380px 1fr;
21
+ gap: 48px;
22
+ padding-bottom: 48px;
23
+ }
24
+
25
+ /* Brand column (left side) */
26
+ .footer__brand {
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: 16px;
30
+ }
31
+
32
+ .footer__brand-card {
33
+ background-color: rgba(198, 213, 209, 0.08);
34
+ border-radius: 16px;
35
+ padding: 32px;
36
+ }
37
+
38
+ .footer__logo {
39
+ margin-bottom: 24px;
40
+ }
41
+
42
+ .footer__logo svg,
43
+ .footer__logo img {
44
+ height: 32px;
45
+ width: auto;
46
+ }
47
+
48
+ .footer__social {
49
+ display: flex;
50
+ gap: 12px;
51
+ }
52
+
53
+ .footer__social-link {
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ width: 48px;
58
+ height: 48px;
59
+ border: 1px solid rgba(198, 213, 209, 0.3);
60
+ border-radius: 50%;
61
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
62
+ transition: all 0.2s ease;
63
+ }
64
+
65
+ .footer__social-link:hover {
66
+ background-color: rgba(198, 213, 209, 0.1);
67
+ border-color: rgba(198, 213, 209, 0.5);
68
+ }
69
+
70
+ .footer__contact-card {
71
+ background-color: rgba(198, 213, 209, 0.08);
72
+ border-radius: 16px;
73
+ padding: 24px 32px;
74
+ display: flex;
75
+ flex-direction: column;
76
+ gap: 20px;
77
+ }
78
+
79
+ .footer__contact-item {
80
+ display: flex;
81
+ flex-direction: column;
82
+ gap: 4px;
83
+ }
84
+
85
+ .footer__contact-label {
86
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
87
+ font-size: 14px;
88
+ font-weight: 600;
89
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
90
+ margin: 0;
91
+ }
92
+
93
+ .footer__contact-value {
94
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
95
+ font-size: 14px;
96
+ font-weight: 400;
97
+ color: rgba(198, 213, 209, 0.7);
98
+ margin: 0;
99
+ }
100
+
101
+ /* Navigation section (right side) */
102
+ .footer__nav {
103
+ display: flex;
104
+ flex-direction: column;
105
+ justify-content: space-between;
106
+ }
107
+
108
+ .footer__nav-columns {
109
+ display: grid;
110
+ grid-template-columns: repeat(4, 1fr);
111
+ gap: 32px;
112
+ }
113
+
114
+ .footer__nav-column {
115
+ display: flex;
116
+ flex-direction: column;
117
+ gap: 16px;
118
+ }
119
+
120
+ .footer__nav-heading {
121
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
122
+ font-size: 14px;
123
+ font-weight: 600;
124
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
125
+ margin: 0;
126
+ text-transform: none;
127
+ }
128
+
129
+ .footer__nav-list {
130
+ list-style: none;
131
+ margin: 0;
132
+ padding: 0;
133
+ display: flex;
134
+ flex-direction: column;
135
+ gap: 12px;
136
+ }
137
+
138
+ .footer__nav-list li {
139
+ margin: 0;
140
+ }
141
+
142
+ .footer__nav-list a {
143
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
144
+ font-size: 14px;
145
+ font-weight: 400;
146
+ color: rgba(198, 213, 209, 0.7);
147
+ text-decoration: none;
148
+ transition: color 0.2s ease;
149
+ display: inline-flex;
150
+ align-items: center;
151
+ gap: 6px;
152
+ }
153
+
154
+ .footer__nav-list a:hover {
155
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
156
+ }
157
+
158
+ .footer__external-icon {
159
+ opacity: 0.7;
160
+ flex-shrink: 0;
161
+ }
162
+
163
+ /* Status indicator */
164
+ .footer__status {
165
+ display: flex;
166
+ align-items: center;
167
+ gap: 8px;
168
+ margin-top: 32px;
169
+ padding-top: 24px;
170
+ border-top: 1px solid rgba(198, 213, 209, 0.1);
171
+ }
172
+
173
+ .footer__status-dot {
174
+ width: 10px;
175
+ height: 10px;
176
+ border-radius: 50%;
177
+ flex-shrink: 0;
178
+ }
179
+
180
+ .footer__status-dot--operational {
181
+ background-color: #22c55e;
182
+ }
183
+
184
+ .footer__status-dot--issue {
185
+ background-color: #ef4444;
186
+ }
187
+
188
+ .footer__status-text {
189
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
190
+ font-size: 14px;
191
+ color: rgba(198, 213, 209, 0.7);
192
+ }
193
+
194
+ .footer__status-link {
195
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
196
+ font-size: 14px;
197
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
198
+ text-decoration: underline;
199
+ text-underline-offset: 2px;
200
+ margin-left: 8px;
201
+ }
202
+
203
+ .footer__status-link:hover {
204
+ text-decoration: none;
205
+ }
206
+
207
+ /* Bottom section */
208
+ .footer__bottom {
209
+ display: flex;
210
+ align-items: center;
211
+ justify-content: space-between;
212
+ flex-wrap: wrap;
213
+ gap: 24px;
214
+ padding: 24px 0;
215
+ border-top: 1px solid rgba(198, 213, 209, 0.1);
216
+ background-color: rgba(198, 213, 209, 0.05);
217
+ margin: 0 -24px;
218
+ padding-left: 24px;
219
+ padding-right: 24px;
220
+ }
221
+
222
+ .footer__copyright {
223
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
224
+ font-size: 14px;
225
+ color: rgba(198, 213, 209, 0.7);
226
+ margin: 0;
227
+ }
228
+
229
+ .footer__legal {
230
+ display: flex;
231
+ gap: 24px;
232
+ }
233
+
234
+ .footer__legal a {
235
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
236
+ font-size: 14px;
237
+ color: rgba(198, 213, 209, 0.7);
238
+ text-decoration: underline;
239
+ text-underline-offset: 2px;
240
+ }
241
+
242
+ .footer__legal a:hover {
243
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
244
+ text-decoration: none;
245
+ }
246
+
247
+ .footer__badges {
248
+ display: flex;
249
+ gap: 16px;
250
+ align-items: center;
251
+ }
252
+
253
+ .footer__badge {
254
+ width: 48px;
255
+ height: 48px;
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ }
260
+
261
+ .footer__badge svg {
262
+ width: 100%;
263
+ height: 100%;
264
+ }
265
+
266
+ /* Responsive styles */
267
+ @media (max-width: 1024px) {
268
+ .footer__top {
269
+ grid-template-columns: 1fr;
270
+ gap: 48px;
271
+ }
272
+
273
+ .footer__brand {
274
+ flex-direction: row;
275
+ gap: 16px;
276
+ }
277
+
278
+ .footer__brand-card,
279
+ .footer__contact-card {
280
+ flex: 1;
281
+ }
282
+ }
283
+
284
+ @media (max-width: 768px) {
285
+ .footer {
286
+ padding: 48px 0 0;
287
+ }
288
+
289
+ .footer__top {
290
+ gap: 32px;
291
+ }
292
+
293
+ .footer__brand {
294
+ flex-direction: column;
295
+ }
296
+
297
+ .footer__nav-columns {
298
+ grid-template-columns: repeat(2, 1fr);
299
+ gap: 32px;
300
+ }
301
+
302
+ .footer__bottom {
303
+ flex-direction: column;
304
+ align-items: flex-start;
305
+ gap: 16px;
306
+ }
307
+
308
+ .footer__legal {
309
+ flex-wrap: wrap;
310
+ gap: 16px;
311
+ }
312
+ }
313
+
314
+ @media (max-width: 480px) {
315
+ .footer__container {
316
+ padding: 0 16px;
317
+ }
318
+
319
+ .footer__brand-card,
320
+ .footer__contact-card {
321
+ padding: 24px;
322
+ }
323
+
324
+ .footer__nav-columns {
325
+ grid-template-columns: 1fr;
326
+ gap: 24px;
327
+ }
328
+
329
+ .footer__bottom {
330
+ margin: 0 -16px;
331
+ padding-left: 16px;
332
+ padding-right: 16px;
333
+ }
334
+
335
+ .footer__badges {
336
+ width: 100%;
337
+ justify-content: flex-start;
338
+ }
339
+ }
340
+
@@ -0,0 +1,140 @@
1
+ import { h, Host } from "@stencil/core";
2
+ /**
3
+ * Footer component for marketing pages
4
+ * Provides a flexible, slot-based layout for footer content
5
+ * All content is passed via slots - no hardcoded links or content
6
+ */
7
+ export class AfFooter {
8
+ constructor() {
9
+ /** Copyright text (e.g., "© 2025 Company Name. All rights reserved.") */
10
+ this.copyrightText = '';
11
+ /** Status message text */
12
+ this.statusText = '';
13
+ /** Status page URL */
14
+ this.statusUrl = '';
15
+ /** Whether systems are operational (shows green/red indicator) */
16
+ this.systemsOperational = true;
17
+ /** Whether to show the status indicator */
18
+ this.showStatus = true;
19
+ }
20
+ render() {
21
+ return (h(Host, { key: '37ff278a4e94d6a530143e49a7d2cd89bf4b2108' }, h("footer", { key: '1465dbc7c890329e248ee6f15b6082b63cc6d66f', class: "footer" }, h("div", { key: '5e1b29375b3f14c3ebe451e56f70d0726e9af0ae', class: "footer__container" }, h("div", { key: 'a36ec8ae9f0f211347b2ccdd47dbe45599eaf43c', class: "footer__top" }, h("div", { key: '3f749c08a7a0866748e5818156db2bf6c9fd2d8e', class: "footer__brand" }, h("div", { key: 'a71e240e851ec6348fa80eff89cb319f2126ae6f', class: "footer__brand-card" }, h("div", { key: '1e2b46f8bc10ad4be3b41a5545445ca421d93614', class: "footer__logo" }, h("slot", { key: '55a6b9f5181e3e19e91dc8bbf9d94283e2805d1b', name: "logo" })), h("div", { key: 'd0f58f0b8f8449b62f7fb9cb22dbf44d990c274c', class: "footer__social" }, h("slot", { key: '14995e1b89c281dcb618cc5044171dc5e770df78', name: "social" }))), h("div", { key: '9ee5c6a384a5915c7d25d5b7918737eb3aedd457', class: "footer__contact-card" }, h("slot", { key: '669c0f2dec223e8e964a117be3ed1f1b626284ea', name: "contact" }))), h("div", { key: 'e5c055d705f12e9f4389f6a5d342d594b20636b7', class: "footer__nav" }, h("div", { key: 'b8ba3f9e42996210094d6962888fd380645c83e0', class: "footer__nav-columns" }, h("slot", { key: 'be54e86e7a3dadcf9dd01006cbbca1124bcfb1df', name: "nav" })), this.showStatus && (h("div", { key: 'c949887c44f734c93c679a72aa07362fea9b939c', class: "footer__status" }, h("span", { key: '2d8e3df717e880ad71e8af9591699fee7b50e711', class: `footer__status-dot ${this.systemsOperational ? 'footer__status-dot--operational' : 'footer__status-dot--issue'}` }), h("span", { key: '743707f9b7750dc2312262028b2d6d0ca86f6e60', class: "footer__status-text" }, this.statusText), this.statusUrl && (h("a", { key: 'f667c9ecb73d4c17645afc24ad09c4b58fa0d265', href: this.statusUrl, target: "_blank", rel: "noopener noreferrer", class: "footer__status-link" }, "Learn more")))))), h("div", { key: '3935d821d1ccf1563de444e244802c500b7ba9db', class: "footer__bottom" }, this.copyrightText && (h("p", { key: '9bbf076b86d2d221a65f7f19e325a0f79fb42cd3', class: "footer__copyright" }, this.copyrightText)), h("div", { key: 'b671070b4274c1d0b8fdc21ad33b211ad8d37390', class: "footer__legal" }, h("slot", { key: '24338a5e5fea9b88352e47680ef18160f52e9ee2', name: "legal" })), h("div", { key: '772913b85cf9b1f2f93b649c01c11b71a27d64a4', class: "footer__badges" }, h("slot", { key: '9a40bc862ed3512ee94398da5ac0e754dbd33240', name: "badges" })))))));
22
+ }
23
+ static get is() { return "af-footer"; }
24
+ static get encapsulation() { return "scoped"; }
25
+ static get originalStyleUrls() {
26
+ return {
27
+ "$": ["af-footer.css"]
28
+ };
29
+ }
30
+ static get styleUrls() {
31
+ return {
32
+ "$": ["af-footer.css"]
33
+ };
34
+ }
35
+ static get properties() {
36
+ return {
37
+ "copyrightText": {
38
+ "type": "string",
39
+ "mutable": false,
40
+ "complexType": {
41
+ "original": "string",
42
+ "resolved": "string",
43
+ "references": {}
44
+ },
45
+ "required": false,
46
+ "optional": false,
47
+ "docs": {
48
+ "tags": [],
49
+ "text": "Copyright text (e.g., \"\u00A9 2025 Company Name. All rights reserved.\")"
50
+ },
51
+ "getter": false,
52
+ "setter": false,
53
+ "reflect": false,
54
+ "attribute": "copyright-text",
55
+ "defaultValue": "''"
56
+ },
57
+ "statusText": {
58
+ "type": "string",
59
+ "mutable": false,
60
+ "complexType": {
61
+ "original": "string",
62
+ "resolved": "string",
63
+ "references": {}
64
+ },
65
+ "required": false,
66
+ "optional": false,
67
+ "docs": {
68
+ "tags": [],
69
+ "text": "Status message text"
70
+ },
71
+ "getter": false,
72
+ "setter": false,
73
+ "reflect": false,
74
+ "attribute": "status-text",
75
+ "defaultValue": "''"
76
+ },
77
+ "statusUrl": {
78
+ "type": "string",
79
+ "mutable": false,
80
+ "complexType": {
81
+ "original": "string",
82
+ "resolved": "string",
83
+ "references": {}
84
+ },
85
+ "required": false,
86
+ "optional": false,
87
+ "docs": {
88
+ "tags": [],
89
+ "text": "Status page URL"
90
+ },
91
+ "getter": false,
92
+ "setter": false,
93
+ "reflect": false,
94
+ "attribute": "status-url",
95
+ "defaultValue": "''"
96
+ },
97
+ "systemsOperational": {
98
+ "type": "boolean",
99
+ "mutable": false,
100
+ "complexType": {
101
+ "original": "boolean",
102
+ "resolved": "boolean",
103
+ "references": {}
104
+ },
105
+ "required": false,
106
+ "optional": false,
107
+ "docs": {
108
+ "tags": [],
109
+ "text": "Whether systems are operational (shows green/red indicator)"
110
+ },
111
+ "getter": false,
112
+ "setter": false,
113
+ "reflect": false,
114
+ "attribute": "systems-operational",
115
+ "defaultValue": "true"
116
+ },
117
+ "showStatus": {
118
+ "type": "boolean",
119
+ "mutable": false,
120
+ "complexType": {
121
+ "original": "boolean",
122
+ "resolved": "boolean",
123
+ "references": {}
124
+ },
125
+ "required": false,
126
+ "optional": false,
127
+ "docs": {
128
+ "tags": [],
129
+ "text": "Whether to show the status indicator"
130
+ },
131
+ "getter": false,
132
+ "setter": false,
133
+ "reflect": false,
134
+ "attribute": "show-status",
135
+ "defaultValue": "true"
136
+ }
137
+ };
138
+ }
139
+ }
140
+ //# sourceMappingURL=af-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"af-footer.js","sourceRoot":"","sources":["../../../src/components/af-footer/af-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEzD;;;;GAIG;AAOH,MAAM,OAAO,QAAQ;IANrB;QAOE,yEAAyE;QACjE,kBAAa,GAAW,EAAE,CAAC;QAEnC,0BAA0B;QAClB,eAAU,GAAW,EAAE,CAAC;QAEhC,sBAAsB;QACd,cAAS,GAAW,EAAE,CAAC;QAE/B,kEAAkE;QAC1D,uBAAkB,GAAY,IAAI,CAAC;QAE3C,2CAA2C;QACnC,eAAU,GAAY,IAAI,CAAC;KAmEpC;IAjEC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,+DAAQ,KAAK,EAAC,QAAQ;gBACpB,4DAAK,KAAK,EAAC,mBAAmB;oBAE5B,4DAAK,KAAK,EAAC,aAAa;wBAEtB,4DAAK,KAAK,EAAC,eAAe;4BACxB,4DAAK,KAAK,EAAC,oBAAoB;gCAC7B,4DAAK,KAAK,EAAC,cAAc;oCACvB,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACrB;gCACN,4DAAK,KAAK,EAAC,gBAAgB;oCACzB,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF;4BAEN,4DAAK,KAAK,EAAC,sBAAsB;gCAC/B,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF;wBAGN,4DAAK,KAAK,EAAC,aAAa;4BACtB,4DAAK,KAAK,EAAC,qBAAqB;gCAC9B,6DAAM,IAAI,EAAC,KAAK,GAAQ,CACpB;4BAGL,IAAI,CAAC,UAAU,IAAI,CAClB,4DAAK,KAAK,EAAC,gBAAgB;gCACzB,6DAAM,KAAK,EAAE,sBAAsB,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,iCAAiC,CAAC,CAAC,CAAC,2BAA2B,EAAE,GAAS;gCACvI,6DAAM,KAAK,EAAC,qBAAqB,IAC9B,IAAI,CAAC,UAAU,CACX;gCACN,IAAI,CAAC,SAAS,IAAI,CACjB,0DAAG,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,qBAAqB,EAAC,KAAK,EAAC,qBAAqB,iBAE1F,CACL,CACG,CACP,CACG,CACF;oBAGN,4DAAK,KAAK,EAAC,gBAAgB;wBACxB,IAAI,CAAC,aAAa,IAAI,CACrB,0DAAG,KAAK,EAAC,mBAAmB,IAAE,IAAI,CAAC,aAAa,CAAK,CACtD;wBAED,4DAAK,KAAK,EAAC,eAAe;4BACxB,6DAAM,IAAI,EAAC,OAAO,GAAQ,CACtB;wBAEN,4DAAK,KAAK,EAAC,gBAAgB;4BACzB,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACF,CACC,CACJ,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * Footer component for marketing pages\n * Provides a flexible, slot-based layout for footer content\n * All content is passed via slots - no hardcoded links or content\n */\n@Component({\n tag: 'af-footer',\n styleUrl: 'af-footer.css',\n shadow: false,\n scoped: true,\n})\nexport class AfFooter {\n /** Copyright text (e.g., \"© 2025 Company Name. All rights reserved.\") */\n @Prop() copyrightText: string = '';\n\n /** Status message text */\n @Prop() statusText: string = '';\n\n /** Status page URL */\n @Prop() statusUrl: string = '';\n\n /** Whether systems are operational (shows green/red indicator) */\n @Prop() systemsOperational: boolean = true;\n\n /** Whether to show the status indicator */\n @Prop() showStatus: boolean = true;\n\n render() {\n return (\n <Host>\n <footer class=\"footer\">\n <div class=\"footer__container\">\n {/* Top section */}\n <div class=\"footer__top\">\n {/* Left column - Brand area */}\n <div class=\"footer__brand\">\n <div class=\"footer__brand-card\">\n <div class=\"footer__logo\">\n <slot name=\"logo\"></slot>\n </div>\n <div class=\"footer__social\">\n <slot name=\"social\"></slot>\n </div>\n </div>\n\n <div class=\"footer__contact-card\">\n <slot name=\"contact\"></slot>\n </div>\n </div>\n\n {/* Right section - Navigation columns */}\n <div class=\"footer__nav\">\n <div class=\"footer__nav-columns\">\n <slot name=\"nav\"></slot>\n </div>\n\n {/* Status indicator */}\n {this.showStatus && (\n <div class=\"footer__status\">\n <span class={`footer__status-dot ${this.systemsOperational ? 'footer__status-dot--operational' : 'footer__status-dot--issue'}`}></span>\n <span class=\"footer__status-text\">\n {this.statusText}\n </span>\n {this.statusUrl && (\n <a href={this.statusUrl} target=\"_blank\" rel=\"noopener noreferrer\" class=\"footer__status-link\">\n Learn more\n </a>\n )}\n </div>\n )}\n </div>\n </div>\n\n {/* Bottom section */}\n <div class=\"footer__bottom\">\n {this.copyrightText && (\n <p class=\"footer__copyright\">{this.copyrightText}</p>\n )}\n \n <div class=\"footer__legal\">\n <slot name=\"legal\"></slot>\n </div>\n\n <div class=\"footer__badges\">\n <slot name=\"badges\"></slot>\n </div>\n </div>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"]}
@@ -0,0 +1,32 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .footer-column {
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 16px;
9
+ }
10
+
11
+ .footer-column__heading {
12
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
13
+ font-size: 14px;
14
+ font-weight: 600;
15
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
16
+ margin: 0;
17
+ text-transform: none;
18
+ }
19
+
20
+ .footer-column__list {
21
+ list-style: none;
22
+ margin: 0;
23
+ padding: 0;
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: 12px;
27
+ }
28
+
29
+ .footer-column__list ::slotted(li) {
30
+ margin: 0;
31
+ }
32
+
@@ -0,0 +1,51 @@
1
+ import { h, Host } from "@stencil/core";
2
+ /**
3
+ * Footer navigation column component
4
+ * Used within af-footer to create navigation link groups
5
+ */
6
+ export class AfFooterColumn {
7
+ constructor() {
8
+ /** Column heading */
9
+ this.heading = '';
10
+ }
11
+ render() {
12
+ return (h(Host, { key: '8ba73f2f7a90d6a6b7ee33a04d4533b750624256' }, h("div", { key: '5b3f50b63fd0461d64dca4c7a6cbb6ee94ab98f6', class: "footer-column" }, this.heading && (h("h5", { key: '3583cd3ef323471dd2a106281e1522bba5e8dec6', class: "footer-column__heading" }, this.heading)), h("ul", { key: '35334470d9c1fd1832d52169a757a2d5a11cab10', class: "footer-column__list" }, h("slot", { key: 'e37bd4e38617d11fe8bbf931f71d0ff71123770c' })))));
13
+ }
14
+ static get is() { return "af-footer-column"; }
15
+ static get encapsulation() { return "scoped"; }
16
+ static get originalStyleUrls() {
17
+ return {
18
+ "$": ["af-footer-column.css"]
19
+ };
20
+ }
21
+ static get styleUrls() {
22
+ return {
23
+ "$": ["af-footer-column.css"]
24
+ };
25
+ }
26
+ static get properties() {
27
+ return {
28
+ "heading": {
29
+ "type": "string",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "string",
33
+ "resolved": "string",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": "Column heading"
41
+ },
42
+ "getter": false,
43
+ "setter": false,
44
+ "reflect": false,
45
+ "attribute": "heading",
46
+ "defaultValue": "''"
47
+ }
48
+ };
49
+ }
50
+ }
51
+ //# sourceMappingURL=af-footer-column.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"af-footer-column.js","sourceRoot":"","sources":["../../../src/components/af-footer-column/af-footer-column.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEzD;;;GAGG;AAOH,MAAM,OAAO,cAAc;IAN3B;QAOE,qBAAqB;QACb,YAAO,GAAW,EAAE,CAAC;KAgB9B;IAdC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAC,eAAe;gBACvB,IAAI,CAAC,OAAO,IAAI,CACf,2DAAI,KAAK,EAAC,wBAAwB,IAAE,IAAI,CAAC,OAAO,CAAM,CACvD;gBACD,2DAAI,KAAK,EAAC,qBAAqB;oBAC7B,8DAAa,CACV,CACD,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * Footer navigation column component\n * Used within af-footer to create navigation link groups\n */\n@Component({\n tag: 'af-footer-column',\n styleUrl: 'af-footer-column.css',\n shadow: false,\n scoped: true,\n})\nexport class AfFooterColumn {\n /** Column heading */\n @Prop() heading: string = '';\n\n render() {\n return (\n <Host>\n <div class=\"footer-column\">\n {this.heading && (\n <h5 class=\"footer-column__heading\">{this.heading}</h5>\n )}\n <ul class=\"footer-column__list\">\n <slot></slot>\n </ul>\n </div>\n </Host>\n );\n }\n}\n\n"]}
@@ -0,0 +1,30 @@
1
+ :host {
2
+ display: contents;
3
+ }
4
+
5
+ li {
6
+ margin: 0;
7
+ list-style: none;
8
+ }
9
+
10
+ .footer-link {
11
+ font-family: var(--typography-primaryfont, 'NeuSans', sans-serif);
12
+ font-size: 14px;
13
+ font-weight: 400;
14
+ color: rgba(198, 213, 209, 0.7);
15
+ text-decoration: none;
16
+ transition: color 0.2s ease;
17
+ display: inline-flex;
18
+ align-items: center;
19
+ gap: 6px;
20
+ }
21
+
22
+ .footer-link:hover {
23
+ color: var(--colour-tints-mistGreen-200, #C6D5D1);
24
+ }
25
+
26
+ .footer-link__external-icon {
27
+ opacity: 0.7;
28
+ flex-shrink: 0;
29
+ }
30
+
@@ -0,0 +1,73 @@
1
+ import { h, Host } from "@stencil/core";
2
+ /**
3
+ * Footer link component
4
+ * Styled link for use in footer navigation columns
5
+ */
6
+ export class AfFooterLink {
7
+ constructor() {
8
+ /** Link URL */
9
+ this.href = '#';
10
+ /** Whether this is an external link (opens in new tab) */
11
+ this.external = false;
12
+ }
13
+ render() {
14
+ return (h(Host, { key: 'e6f7a589242a219d1b6378fd253972c760443500' }, h("li", { key: '335bfe5438a894bd61de90b79d3ab22d0fc89900' }, h("a", { key: 'f409bdcd2f5cc5ab98a3e63917c46406af0d5305', href: this.href, class: "footer-link", target: this.external ? '_blank' : undefined, rel: this.external ? 'noopener noreferrer' : undefined }, h("slot", { key: '8b511b8adf25e0a930186cc6276ffa4bebda0fc1' }), this.external && (h("svg", { key: '53a643543ad59dce128eec87b02d0397305522e2', class: "footer-link__external-icon", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '0e20bfbaaaf254a98aca18375442a11c4d2719d3', d: "M10 6.5v3a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h3M7.5 1.5h3v3M5.5 6.5l5-5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round", "stroke-linejoin": "round" })))))));
15
+ }
16
+ static get is() { return "af-footer-link"; }
17
+ static get encapsulation() { return "scoped"; }
18
+ static get originalStyleUrls() {
19
+ return {
20
+ "$": ["af-footer-link.css"]
21
+ };
22
+ }
23
+ static get styleUrls() {
24
+ return {
25
+ "$": ["af-footer-link.css"]
26
+ };
27
+ }
28
+ static get properties() {
29
+ return {
30
+ "href": {
31
+ "type": "string",
32
+ "mutable": false,
33
+ "complexType": {
34
+ "original": "string",
35
+ "resolved": "string",
36
+ "references": {}
37
+ },
38
+ "required": false,
39
+ "optional": false,
40
+ "docs": {
41
+ "tags": [],
42
+ "text": "Link URL"
43
+ },
44
+ "getter": false,
45
+ "setter": false,
46
+ "reflect": false,
47
+ "attribute": "href",
48
+ "defaultValue": "'#'"
49
+ },
50
+ "external": {
51
+ "type": "boolean",
52
+ "mutable": false,
53
+ "complexType": {
54
+ "original": "boolean",
55
+ "resolved": "boolean",
56
+ "references": {}
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": "Whether this is an external link (opens in new tab)"
63
+ },
64
+ "getter": false,
65
+ "setter": false,
66
+ "reflect": false,
67
+ "attribute": "external",
68
+ "defaultValue": "false"
69
+ }
70
+ };
71
+ }
72
+ }
73
+ //# sourceMappingURL=af-footer-link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"af-footer-link.js","sourceRoot":"","sources":["../../../src/components/af-footer-link/af-footer-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEzD;;;GAGG;AAOH,MAAM,OAAO,YAAY;IANzB;QAOE,eAAe;QACP,SAAI,GAAW,GAAG,CAAC;QAE3B,0DAA0D;QAClD,aAAQ,GAAY,KAAK,CAAC;KAuBnC;IArBC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH;gBACE,0DACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAC,aAAa,EACnB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAC5C,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS;oBAEtD,8DAAa;oBACZ,IAAI,CAAC,QAAQ,IAAI,CAChB,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM;wBAC5F,6DAAM,CAAC,EAAC,qFAAqF,EAAC,MAAM,EAAC,cAAc,kBAAc,KAAK,oBAAgB,OAAO,qBAAiB,OAAO,GAAE,CACnL,CACP,CACC,CACD,CACA,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n/**\n * Footer link component\n * Styled link for use in footer navigation columns\n */\n@Component({\n tag: 'af-footer-link',\n styleUrl: 'af-footer-link.css',\n shadow: false,\n scoped: true,\n})\nexport class AfFooterLink {\n /** Link URL */\n @Prop() href: string = '#';\n\n /** Whether this is an external link (opens in new tab) */\n @Prop() external: boolean = false;\n\n render() {\n return (\n <Host>\n <li>\n <a \n href={this.href} \n class=\"footer-link\"\n target={this.external ? '_blank' : undefined}\n rel={this.external ? 'noopener noreferrer' : undefined}\n >\n <slot></slot>\n {this.external && (\n <svg class=\"footer-link__external-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\">\n <path d=\"M10 6.5v3a1 1 0 0 1-1 1H2.5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h3M7.5 1.5h3v3M5.5 6.5l5-5\" stroke=\"currentColor\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n </svg>\n )}\n </a>\n </li>\n </Host>\n );\n }\n}\n\n"]}