@affinda/wc 0.0.25 → 0.0.26
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/dist/affinda/affinda.esm.js +1 -1
- package/dist/affinda/{p-3b4fb1a5.entry.js → p-00a226ba.entry.js} +1 -1
- package/dist/affinda/{p-0c408447.entry.js → p-0979ad4d.entry.js} +1 -1
- package/dist/affinda/p-14c85efd.entry.js +1 -0
- package/dist/affinda/{p-b0babcae.entry.js → p-1e37fea2.entry.js} +1 -1
- package/dist/affinda/{p-7c4f05a7.entry.js → p-1f810e9c.entry.js} +1 -1
- package/dist/affinda/p-203a908b.entry.js +1 -0
- package/dist/affinda/{p-4844d749.entry.js → p-23f9e0cc.entry.js} +1 -1
- package/dist/affinda/{p-b563bb90.entry.js → p-2ab645a3.entry.js} +1 -1
- package/dist/affinda/p-30c704f8.entry.js +1 -0
- package/dist/affinda/p-37977b9d.entry.js +1 -0
- package/dist/affinda/{p-e169a37b.entry.js → p-3b3f69a5.entry.js} +1 -1
- package/dist/affinda/{p-45d62b98.entry.js → p-4196ab5d.entry.js} +1 -1
- package/dist/affinda/p-4521a8f3.entry.js +1 -0
- package/dist/affinda/{p-678cb08c.entry.js → p-46c9b92e.entry.js} +1 -1
- package/dist/affinda/p-485cfd5d.entry.js +1 -0
- package/dist/affinda/{p-470b9a06.entry.js → p-50a6a219.entry.js} +1 -1
- package/dist/affinda/p-542fd771.entry.js +1 -0
- package/dist/affinda/{p-ad71a40c.entry.js → p-666fc4a6.entry.js} +1 -1
- package/dist/affinda/{p-da9d1f7d.entry.js → p-687f157a.entry.js} +1 -1
- package/dist/affinda/{p-66dd6356.entry.js → p-76b6d6e0.entry.js} +1 -1
- package/dist/affinda/p-82674a06.entry.js +1 -0
- package/dist/affinda/p-82fb88df.entry.js +1 -0
- package/dist/affinda/{p-416836f3.entry.js → p-87daf220.entry.js} +1 -1
- package/dist/affinda/p-9133ff23.entry.js +1 -0
- package/dist/affinda/{p-821c1522.entry.js → p-92904a41.entry.js} +1 -1
- package/dist/affinda/{p-39967eba.entry.js → p-a12a37b6.entry.js} +1 -1
- package/dist/affinda/p-a6210fab.entry.js +1 -0
- package/dist/affinda/{p-1d94a137.entry.js → p-b049555b.entry.js} +1 -1
- package/dist/affinda/{p-1f51e065.entry.js → p-b8dde234.entry.js} +1 -1
- package/dist/affinda/p-c03893bd.entry.js +1 -0
- package/dist/affinda/p-ca14e17a.entry.js +1 -0
- package/dist/affinda/p-cb889d6b.entry.js +1 -0
- package/dist/affinda/{p-29fd5654.entry.js → p-cdfaffc6.entry.js} +1 -1
- package/dist/affinda/{p-6059b95e.entry.js → p-cfe018f1.entry.js} +1 -1
- package/dist/affinda/p-d7129564.entry.js +1 -0
- package/dist/affinda/{p-8c34efbb.entry.js → p-d8ad81a4.entry.js} +1 -1
- package/dist/affinda/{p-21b7ea67.entry.js → p-d9cfea73.entry.js} +1 -1
- package/dist/affinda/{p-dce846f2.entry.js → p-da2759a0.entry.js} +1 -1
- package/dist/affinda/{p-fb01c4e0.entry.js → p-dd47655f.entry.js} +1 -1
- package/dist/affinda/p-e0915179.entry.js +1 -0
- package/dist/affinda/{p-c1cb8ef8.entry.js → p-ebb36c5f.entry.js} +1 -1
- package/dist/affinda/p-f3d5d1be.entry.js +1 -0
- package/dist/affinda/{p-7bc1ed79.entry.js → p-f617ae1d.entry.js} +1 -1
- package/dist/affinda/p-fcb04e98.entry.js +1 -0
- package/dist/affinda/{p-e91ef47c.entry.js → p-fd603900.entry.js} +1 -1
- package/dist/cjs/af-accordion-item.cjs.entry.js +1 -27
- package/dist/cjs/af-accordion.cjs.entry.js +1 -1
- package/dist/cjs/af-button.cjs.entry.js +5 -4
- package/dist/cjs/af-card.cjs.entry.js +2 -2
- package/dist/cjs/af-center.cjs.entry.js +1 -1
- package/dist/cjs/af-client-carousel.cjs.entry.js +1 -1
- package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
- package/dist/cjs/af-divider.cjs.entry.js +1 -1
- package/dist/cjs/af-feature-accordion.cjs.entry.js +2 -2
- package/dist/cjs/af-feature-grid.cjs.entry.js +1 -1
- package/dist/cjs/af-footer-column.cjs.entry.js +1 -1
- package/dist/cjs/af-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/af-footer.cjs.entry.js +1 -1
- package/dist/cjs/af-grid.cjs.entry.js +2 -2
- package/dist/cjs/af-icon-box.cjs.entry.js +1 -1
- package/dist/cjs/af-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/af-icon-text.cjs.entry.js +1 -1
- package/dist/cjs/af-illustrated-card.cjs.entry.js +1 -1
- package/dist/cjs/af-image.cjs.entry.js +12 -2
- package/dist/cjs/af-in-page-banner.cjs.entry.js +2 -2
- package/dist/cjs/af-inline.cjs.entry.js +1 -1
- package/dist/cjs/af-logo-well.cjs.entry.js +1 -1
- package/dist/cjs/af-nav-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +1 -1
- package/dist/cjs/af-nav-menu.cjs.entry.js +1 -1
- package/dist/cjs/af-number-badge.cjs.entry.js +1 -1
- package/dist/cjs/af-progress-line.cjs.entry.js +2 -2
- package/dist/cjs/af-section.cjs.entry.js +3 -3
- package/dist/cjs/af-show.cjs.entry.js +1 -1
- package/dist/cjs/af-social-link.cjs.entry.js +1 -1
- package/dist/cjs/af-spacer.cjs.entry.js +1 -1
- package/dist/cjs/af-split-section.cjs.entry.js +2 -2
- package/dist/cjs/af-stack.cjs.entry.js +1 -1
- package/dist/cjs/af-stepper-step.cjs.entry.js +1 -1
- package/dist/cjs/af-stepper.cjs.entry.js +1 -1
- package/dist/cjs/af-tag.cjs.entry.js +7 -8
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +1 -1
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +1 -1
- package/dist/cjs/af-testimonial.cjs.entry.js +3 -3
- package/dist/cjs/af-text-image-nest.cjs.entry.js +1 -1
- package/dist/cjs/af-theme-override.cjs.entry.js +2 -2
- package/dist/cjs/af-typography-lockup.cjs.entry.js +1 -1
- package/dist/cjs/af-video-container.cjs.entry.js +1 -1
- package/dist/cjs/af-visually-hidden.cjs.entry.js +1 -1
- package/dist/cjs/affinda.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/af-accordion/af-accordion.js +1 -1
- package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -27
- package/dist/collection/components/af-button/af-button.css +24 -24
- package/dist/collection/components/af-button/af-button.js +10 -9
- package/dist/collection/components/af-card/af-card.css +2 -2
- package/dist/collection/components/af-card/af-card.js +1 -1
- package/dist/collection/components/af-center/af-center.js +1 -1
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +1 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
- package/dist/collection/components/af-divider/af-divider.js +1 -1
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
- package/dist/collection/components/af-footer/af-footer.js +1 -1
- package/dist/collection/components/af-footer-column/af-footer-column.js +1 -1
- package/dist/collection/components/af-footer-link/af-footer-link.js +1 -1
- package/dist/collection/components/af-grid/af-grid.js +2 -2
- package/dist/collection/components/af-icon-box/af-icon-box.js +1 -1
- package/dist/collection/components/af-icon-button/af-icon-button.css +2 -2
- package/dist/collection/components/af-icon-text/af-icon-text.js +3 -3
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +4 -3
- package/dist/collection/components/af-image/af-image.css +21 -4
- package/dist/collection/components/af-image/af-image.js +33 -1
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +5 -3
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +11 -1
- package/dist/collection/components/af-inline/af-inline.js +1 -1
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -1
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -2
- package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -1
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
- package/dist/collection/components/af-number-badge/af-number-badge.js +1 -1
- package/dist/collection/components/af-progress-line/af-progress-line.js +2 -2
- package/dist/collection/components/af-section/af-section.css +16 -15
- package/dist/collection/components/af-section/af-section.js +2 -2
- package/dist/collection/components/af-show/af-show.js +1 -1
- package/dist/collection/components/af-social-link/af-social-link.js +1 -1
- package/dist/collection/components/af-spacer/af-spacer.js +1 -1
- package/dist/collection/components/af-split-section/af-split-section.js +2 -2
- package/dist/collection/components/af-stack/af-stack.js +1 -1
- package/dist/collection/components/af-stepper/af-stepper.js +1 -1
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
- package/dist/collection/components/af-tag/af-tag.css +41 -21
- package/dist/collection/components/af-tag/af-tag.js +16 -13
- package/dist/collection/components/af-testimonial/af-testimonial.css +28 -6
- package/dist/collection/components/af-testimonial/af-testimonial.js +14 -6
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -1
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -1
- package/dist/collection/components/af-theme-override/af-theme-override.css +15 -15
- package/dist/collection/components/af-theme-override/af-theme-override.js +1 -1
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +30 -4
- package/dist/collection/components/af-video-container/af-video-container.js +1 -1
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -1
- package/dist/components/af-accordion-item.js +1 -1
- package/dist/components/af-accordion.js +1 -1
- package/dist/components/af-button.js +1 -1
- package/dist/components/af-card.js +1 -1
- package/dist/components/af-center.js +1 -1
- package/dist/components/af-client-carousel.js +1 -1
- package/dist/components/af-contact-item.js +1 -1
- package/dist/components/af-divider.js +1 -1
- package/dist/components/af-feature-accordion.js +1 -1
- package/dist/components/af-feature-card.js +1 -1
- package/dist/components/af-feature-grid.js +1 -1
- package/dist/components/af-footer-column.js +1 -1
- package/dist/components/af-footer-link.js +1 -1
- package/dist/components/af-footer.js +1 -1
- package/dist/components/af-grid-callout.js +1 -1
- package/dist/components/af-grid.js +1 -1
- package/dist/components/af-icon-box.js +1 -1
- package/dist/components/af-icon-button.js +1 -1
- package/dist/components/af-icon-text.js +1 -1
- package/dist/components/af-illustrated-card.js +1 -1
- package/dist/components/af-image.js +1 -1
- package/dist/components/af-in-page-banner.js +1 -1
- package/dist/components/af-inline.js +1 -1
- package/dist/components/af-logo-well.js +1 -1
- package/dist/components/af-nav-accordion-item.js +1 -1
- package/dist/components/af-nav-accordion.js +1 -1
- package/dist/components/af-nav-menu-nest.js +1 -1
- package/dist/components/af-nav-menu.js +1 -1
- package/dist/components/af-number-badge.js +1 -1
- package/dist/components/af-progress-line.js +1 -1
- package/dist/components/af-section.js +1 -1
- package/dist/components/af-show.js +1 -1
- package/dist/components/af-social-link.js +1 -1
- package/dist/components/af-spacer.js +1 -1
- package/dist/components/af-split-section.js +1 -1
- package/dist/components/af-stack.js +1 -1
- package/dist/components/af-stepper-step.js +1 -1
- package/dist/components/af-stepper.js +1 -1
- package/dist/components/af-tag.js +1 -1
- package/dist/components/af-testimonial-carousel.js +1 -1
- package/dist/components/af-testimonial-stat.js +1 -1
- package/dist/components/af-testimonial.js +1 -1
- package/dist/components/af-text-image-nest.js +1 -1
- package/dist/components/af-text-image.js +1 -1
- package/dist/components/af-theme-override.js +1 -1
- package/dist/components/af-typography-lockup.js +1 -1
- package/dist/components/af-video-container.js +1 -1
- package/dist/components/af-visually-hidden.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-BGeRQgDo.js +1 -0
- package/dist/components/p-BUFbtjxU.js +1 -0
- package/dist/components/p-BeVM-2kH.js +1 -0
- package/dist/components/p-BlfywPKX.js +1 -0
- package/dist/components/{p-BE3eM0xx.js → p-BwpItMWU.js} +1 -1
- package/dist/components/p-BzH2LxRQ.js +1 -0
- package/dist/components/p-CSpMqpfj.js +1 -0
- package/dist/components/{p-sbtSgHjb.js → p-Dvos4xtG.js} +1 -1
- package/dist/components/p-HkfUr6-S.js +1 -0
- package/dist/components/p-vWuqpbX0.js +1 -0
- package/dist/esm/af-accordion-item.entry.js +1 -27
- package/dist/esm/af-accordion.entry.js +1 -1
- package/dist/esm/af-button.entry.js +5 -4
- package/dist/esm/af-card.entry.js +2 -2
- package/dist/esm/af-center.entry.js +1 -1
- package/dist/esm/af-client-carousel.entry.js +1 -1
- package/dist/esm/af-contact-item.entry.js +1 -1
- package/dist/esm/af-divider.entry.js +1 -1
- package/dist/esm/af-feature-accordion.entry.js +2 -2
- package/dist/esm/af-feature-grid.entry.js +1 -1
- package/dist/esm/af-footer-column.entry.js +1 -1
- package/dist/esm/af-footer-link.entry.js +1 -1
- package/dist/esm/af-footer.entry.js +1 -1
- package/dist/esm/af-grid.entry.js +2 -2
- package/dist/esm/af-icon-box.entry.js +1 -1
- package/dist/esm/af-icon-button.entry.js +1 -1
- package/dist/esm/af-icon-text.entry.js +1 -1
- package/dist/esm/af-illustrated-card.entry.js +1 -1
- package/dist/esm/af-image.entry.js +12 -2
- package/dist/esm/af-in-page-banner.entry.js +2 -2
- package/dist/esm/af-inline.entry.js +1 -1
- package/dist/esm/af-logo-well.entry.js +1 -1
- package/dist/esm/af-nav-accordion-item.entry.js +2 -2
- package/dist/esm/af-nav-accordion.entry.js +1 -1
- package/dist/esm/af-nav-menu-nest.entry.js +1 -1
- package/dist/esm/af-nav-menu.entry.js +1 -1
- package/dist/esm/af-number-badge.entry.js +1 -1
- package/dist/esm/af-progress-line.entry.js +2 -2
- package/dist/esm/af-section.entry.js +3 -3
- package/dist/esm/af-show.entry.js +1 -1
- package/dist/esm/af-social-link.entry.js +1 -1
- package/dist/esm/af-spacer.entry.js +1 -1
- package/dist/esm/af-split-section.entry.js +2 -2
- package/dist/esm/af-stack.entry.js +1 -1
- package/dist/esm/af-stepper-step.entry.js +1 -1
- package/dist/esm/af-stepper.entry.js +1 -1
- package/dist/esm/af-tag.entry.js +7 -8
- package/dist/esm/af-testimonial-carousel.entry.js +1 -1
- package/dist/esm/af-testimonial-stat.entry.js +1 -1
- package/dist/esm/af-testimonial.entry.js +3 -3
- package/dist/esm/af-text-image-nest.entry.js +1 -1
- package/dist/esm/af-theme-override.entry.js +2 -2
- package/dist/esm/af-typography-lockup.entry.js +1 -1
- package/dist/esm/af-video-container.entry.js +1 -1
- package/dist/esm/af-visually-hidden.entry.js +1 -1
- package/dist/esm/affinda.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/af-button/af-button.d.ts +6 -5
- package/dist/types/components/af-icon-text/af-icon-text.d.ts +2 -2
- package/dist/types/components/af-illustrated-card/af-illustrated-card.d.ts +3 -2
- package/dist/types/components/af-image/af-image.d.ts +10 -0
- package/dist/types/components/af-in-page-banner/af-in-page-banner.d.ts +10 -0
- package/dist/types/components/af-tag/af-tag.d.ts +10 -7
- package/dist/types/components/af-testimonial/af-testimonial.d.ts +11 -2
- package/dist/types/components.d.ts +96 -37
- package/package.json +1 -1
- package/dist/affinda/p-04a096ee.entry.js +0 -1
- package/dist/affinda/p-26362b90.entry.js +0 -1
- package/dist/affinda/p-2e1df315.entry.js +0 -1
- package/dist/affinda/p-43c24797.entry.js +0 -1
- package/dist/affinda/p-4758f89c.entry.js +0 -1
- package/dist/affinda/p-4c362739.entry.js +0 -1
- package/dist/affinda/p-5636afa9.entry.js +0 -1
- package/dist/affinda/p-60cf2a82.entry.js +0 -1
- package/dist/affinda/p-65207722.entry.js +0 -1
- package/dist/affinda/p-69cccdef.entry.js +0 -1
- package/dist/affinda/p-6d43ed06.entry.js +0 -1
- package/dist/affinda/p-6dc635ec.entry.js +0 -1
- package/dist/affinda/p-6f5d8680.entry.js +0 -1
- package/dist/affinda/p-b435de99.entry.js +0 -1
- package/dist/affinda/p-c1df7855.entry.js +0 -1
- package/dist/affinda/p-c83e8184.entry.js +0 -1
- package/dist/affinda/p-d3d9eac1.entry.js +0 -1
- package/dist/affinda/p-ddd41c87.entry.js +0 -1
- package/dist/components/p-B7lJGMfD.js +0 -1
- package/dist/components/p-BAJW_4SY.js +0 -1
- package/dist/components/p-BMwWkh8F.js +0 -1
- package/dist/components/p-CQfk7gDb.js +0 -1
- package/dist/components/p-CRW9bpXa.js +0 -1
- package/dist/components/p-CwPFdy8d.js +0 -1
- package/dist/components/p-Doypq9O5.js +0 -1
- package/dist/components/p-wM1k9Wi7.js +0 -1
|
@@ -34,7 +34,7 @@ export class AfSpacer {
|
|
|
34
34
|
style.height = sizeValue;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
return h(Host, { key: '
|
|
37
|
+
return h(Host, { key: '667181ea8f243b47e0a54fbfc5441b7551d69082', style: style, "aria-hidden": "true" });
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "af-spacer"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,14 +26,14 @@ export class AfSplitSection {
|
|
|
26
26
|
this.container = true;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
const content = h("slot", { key: '
|
|
29
|
+
const content = h("slot", { key: 'de39e81b9bc88da7323663c248faf7a4faf20f7f' });
|
|
30
30
|
// Create the split background using CSS gradient
|
|
31
31
|
const topColor = themeColors[this.topTheme];
|
|
32
32
|
const bottomColor = themeColors[this.bottomTheme];
|
|
33
33
|
const backgroundStyle = {
|
|
34
34
|
background: `linear-gradient(to bottom, ${topColor} 0%, ${topColor} 50%, ${bottomColor} 50%, ${bottomColor} 100%)`
|
|
35
35
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '4b140cb28dd9ec3dd2a5148737aada241dbbfb1d' }, h("div", { key: '7eeb358bbae0e98e403e39020482505248c3bb69', class: `split-section padding-${this.padding} top-theme-${this.topTheme}`, style: backgroundStyle }, this.container ? (h("af-container", null, content)) : content)));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "af-split-section"; }
|
|
39
39
|
static get encapsulation() { return "scoped"; }
|
|
@@ -55,7 +55,7 @@ export class AfStack {
|
|
|
55
55
|
justifyContent: justifyMap[this.justify],
|
|
56
56
|
flexWrap: this.wrap ? 'wrap' : 'nowrap',
|
|
57
57
|
};
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '757fee5201ab0831e7dc51aa0f7dc2cad4279f95', style: style }, h("slot", { key: '06e94b64a308a3465e54d79e1a5ffb3758c6e626' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "af-stack"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class AfStepper {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '0ca79e9f0006bfbe3ab6e18cceaafd0257f4defb', class: `stepper stepper--${this.orientation}` }, h("div", { key: '8682fe5e58f7df3fb9866966fb6c04715203fd87', class: "stepper__connector", "aria-hidden": "true" }), h("slot", { key: 'ecdf79d87ee099666521dbb6f8e32375dd829fea' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "af-stepper"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,7 +18,7 @@ export class AfStepperStep {
|
|
|
18
18
|
this.index = 1;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '36a45ffc037fb0efd1352fb1aa8482205faada04' }, h("span", { key: '93a75d705f40f920b3480607dfe2ed9f4ba37e55', class: "stepper-step__badge" }, this.index), h("div", { key: '2eb52b18397349da4fd3a9322fb7f1af0a271b4c', class: "stepper-step__content" }, h("div", { key: 'cf0fff2d73189a63e675017b1d431d2edc03e0c6', class: "stepper-step__heading" }, h("slot", { key: '6649a32664e82bc04e6f53c05d92050ad9b828d6', name: "heading" })), h("div", { key: '8f66cf21ff1b3e1bb4e817e6e85b418c1bdffd24', class: "stepper-step__body" }, h("slot", { key: 'a38c1c2c19d5d821ca513f098cd1b4fe6d007a92', name: "body" })))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-stepper-step"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,54 +17,77 @@
|
|
|
17
17
|
cursor: default;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
/* Make links look clickable */
|
|
21
20
|
a.tag {
|
|
22
21
|
cursor: pointer;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
/* ==========================================================================
|
|
26
|
-
VARIANT:
|
|
25
|
+
VARIANT: DEFAULT (inherits from parent theme context)
|
|
27
26
|
========================================================================== */
|
|
28
27
|
|
|
29
|
-
.tag.variant-
|
|
30
|
-
background-color: var(--af-tag-
|
|
31
|
-
color: var(--af-tag-
|
|
28
|
+
.tag.variant-default {
|
|
29
|
+
background-color: var(--af-tag-bg, var(--colour-brand-soft-clay, #b09670));
|
|
30
|
+
color: var(--af-tag-text, var(--colour-brand-inkwell, #14343b));
|
|
32
31
|
}
|
|
33
32
|
|
|
34
|
-
.tag.variant-
|
|
35
|
-
background-color: var(--af-tag-
|
|
33
|
+
.tag.variant-default:hover {
|
|
34
|
+
background-color: var(--af-tag-bg-hover, var(--colour-tints-soft-clay-400, #c0ab8d));
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
/* ==========================================================================
|
|
39
|
-
|
|
38
|
+
EXPLICIT THEME VARIANTS
|
|
40
39
|
========================================================================== */
|
|
41
40
|
|
|
42
|
-
.tag.variant-
|
|
43
|
-
background-color: var(--
|
|
44
|
-
color: var(--
|
|
41
|
+
.tag.variant-inkwell {
|
|
42
|
+
background-color: var(--colour-brand-inkwell, #14343b);
|
|
43
|
+
color: var(--colour-brand-white, #ffffff);
|
|
45
44
|
}
|
|
46
45
|
|
|
47
|
-
.tag.variant-
|
|
48
|
-
background-color: var(--
|
|
46
|
+
.tag.variant-inkwell:hover {
|
|
47
|
+
background-color: var(--colour-tints-inkwell-500, #1e4a48);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.tag.variant-white {
|
|
51
|
+
background-color: var(--colour-brand-white, #ffffff);
|
|
52
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.tag.variant-white:hover {
|
|
56
|
+
background-color: var(--colour-tints-mist-green-100, #e1eee1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tag.variant-soft-clay {
|
|
60
|
+
background-color: var(--colour-brand-soft-clay, #b09670);
|
|
61
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.tag.variant-soft-clay:hover {
|
|
65
|
+
background-color: var(--colour-tints-soft-clay-400, #c0ab8d);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tag.variant-mist-green {
|
|
69
|
+
background-color: var(--colour-brand-mist-green, #c6d5d1);
|
|
70
|
+
color: var(--colour-brand-inkwell, #14343b);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.tag.variant-mist-green:hover {
|
|
74
|
+
background-color: var(--colour-tints-mist-green-200, #d2e8e3);
|
|
49
75
|
}
|
|
50
76
|
|
|
51
77
|
/* ==========================================================================
|
|
52
78
|
SIZES
|
|
53
79
|
========================================================================== */
|
|
54
80
|
|
|
55
|
-
/* Size: X-Small */
|
|
56
81
|
.tag.size-x-small {
|
|
57
82
|
padding: 6px 10px;
|
|
58
83
|
font-size: var(--font-size-label-tag, 14px);
|
|
59
84
|
}
|
|
60
85
|
|
|
61
|
-
/* Size: Small */
|
|
62
86
|
.tag.size-small {
|
|
63
87
|
padding: 8px 12px;
|
|
64
88
|
font-size: var(--font-size-label-tag, 14px);
|
|
65
89
|
}
|
|
66
90
|
|
|
67
|
-
/* Size: Large */
|
|
68
91
|
.tag.size-large {
|
|
69
92
|
padding: 12px 16px;
|
|
70
93
|
font-size: var(--font-size-body-large, 18px);
|
|
@@ -74,19 +97,16 @@ a.tag {
|
|
|
74
97
|
FOCUS STATES
|
|
75
98
|
========================================================================== */
|
|
76
99
|
|
|
77
|
-
/* Focus state */
|
|
78
100
|
.tag:focus {
|
|
79
101
|
outline: none;
|
|
80
|
-
box-shadow:
|
|
102
|
+
box-shadow:
|
|
81
103
|
0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
|
|
82
104
|
0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
83
105
|
}
|
|
84
106
|
|
|
85
|
-
/* Focus visible for keyboard navigation */
|
|
86
107
|
.tag:focus-visible {
|
|
87
108
|
outline: none;
|
|
88
|
-
box-shadow:
|
|
109
|
+
box-shadow:
|
|
89
110
|
0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
|
|
90
111
|
0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
91
112
|
}
|
|
92
|
-
|
|
@@ -3,11 +3,15 @@ import { h, Host } from "@stencil/core";
|
|
|
3
3
|
* Tag displays a label in a styled container.
|
|
4
4
|
* Perfect for categorization, topics, or metadata display.
|
|
5
5
|
*
|
|
6
|
+
* The `default` variant inherits its colors from the parent theme context
|
|
7
|
+
* (af-section, af-card). Use explicit variants (`inkwell`, `white`,
|
|
8
|
+
* `soft-clay`, `mist-green`) to override.
|
|
9
|
+
*
|
|
6
10
|
* @example
|
|
7
11
|
* ```html
|
|
8
12
|
* <af-tag>AI</af-tag>
|
|
9
|
-
* <af-tag size="small">Machine Learning</af-tag>
|
|
10
|
-
* <af-tag size="large" variant="
|
|
13
|
+
* <af-tag size="small" variant="inkwell">Machine Learning</af-tag>
|
|
14
|
+
* <af-tag size="large" variant="white">Document Processing</af-tag>
|
|
11
15
|
* ```
|
|
12
16
|
*/
|
|
13
17
|
export class AfTag {
|
|
@@ -15,25 +19,24 @@ export class AfTag {
|
|
|
15
19
|
/**
|
|
16
20
|
* The size of the tag
|
|
17
21
|
* - `x-small` - Compact tag with minimal padding
|
|
18
|
-
* - `small` - Small tag with moderate padding
|
|
22
|
+
* - `small` - Small tag with moderate padding (default)
|
|
19
23
|
* - `large` - Large tag with generous padding
|
|
20
24
|
*/
|
|
21
25
|
this.size = 'small';
|
|
22
26
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* - `light` - Mist-green/light colored background
|
|
27
|
+
* Visual variant of the tag. `default` inherits tag colors from the
|
|
28
|
+
* parent theme context. Theme-named variants force a specific palette.
|
|
26
29
|
*/
|
|
27
|
-
this.variant = '
|
|
30
|
+
this.variant = 'default';
|
|
28
31
|
}
|
|
29
32
|
render() {
|
|
30
33
|
const TagElement = this.href ? 'a' : 'span';
|
|
31
34
|
const linkProps = this.href ? { href: this.href } : {};
|
|
32
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '389b869350a0ead31639016403b8bbd86c8be12f' }, h(TagElement, { key: '7be8b372a4c391ae3e426827cf425274dfe3dc44', class: {
|
|
33
36
|
'tag': true,
|
|
34
37
|
[`size-${this.size}`]: true,
|
|
35
38
|
[`variant-${this.variant}`]: true,
|
|
36
|
-
}, ...linkProps }, h("slot", { key: '
|
|
39
|
+
}, ...linkProps }, h("slot", { key: 'cf622bef7dca7e64215e0e778f3893097e9e30d0' }))));
|
|
37
40
|
}
|
|
38
41
|
static get is() { return "af-tag"; }
|
|
39
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +70,7 @@ export class AfTag {
|
|
|
67
70
|
"optional": false,
|
|
68
71
|
"docs": {
|
|
69
72
|
"tags": [],
|
|
70
|
-
"text": "The size of the tag\n- `x-small` - Compact tag with minimal padding\n- `small` - Small tag with moderate padding\n- `large` - Large tag with generous padding"
|
|
73
|
+
"text": "The size of the tag\n- `x-small` - Compact tag with minimal padding\n- `small` - Small tag with moderate padding (default)\n- `large` - Large tag with generous padding"
|
|
71
74
|
},
|
|
72
75
|
"getter": false,
|
|
73
76
|
"setter": false,
|
|
@@ -80,7 +83,7 @@ export class AfTag {
|
|
|
80
83
|
"mutable": false,
|
|
81
84
|
"complexType": {
|
|
82
85
|
"original": "TagVariant",
|
|
83
|
-
"resolved": "\"
|
|
86
|
+
"resolved": "\"default\" | \"inkwell\" | \"mist-green\" | \"soft-clay\" | \"white\"",
|
|
84
87
|
"references": {
|
|
85
88
|
"TagVariant": {
|
|
86
89
|
"location": "local",
|
|
@@ -93,13 +96,13 @@ export class AfTag {
|
|
|
93
96
|
"optional": false,
|
|
94
97
|
"docs": {
|
|
95
98
|
"tags": [],
|
|
96
|
-
"text": "
|
|
99
|
+
"text": "Visual variant of the tag. `default` inherits tag colors from the\nparent theme context. Theme-named variants force a specific palette."
|
|
97
100
|
},
|
|
98
101
|
"getter": false,
|
|
99
102
|
"setter": false,
|
|
100
103
|
"reflect": false,
|
|
101
104
|
"attribute": "variant",
|
|
102
|
-
"defaultValue": "'
|
|
105
|
+
"defaultValue": "'default'"
|
|
103
106
|
},
|
|
104
107
|
"href": {
|
|
105
108
|
"type": "string",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
/* Image side - 40.5% of card width (519px of 1280px in Figma) */
|
|
17
17
|
.testimonial-image {
|
|
18
18
|
position: relative;
|
|
19
|
-
width:
|
|
19
|
+
width: 50%;
|
|
20
20
|
min-width: 300px;
|
|
21
21
|
/* Minimum for readability */
|
|
22
22
|
max-width: 519px;
|
|
@@ -84,16 +84,38 @@
|
|
|
84
84
|
flex-shrink: 0;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/* Quote text
|
|
87
|
+
/* Quote text — 22px / 140% per Webflow reference. Accepts either the
|
|
88
|
+
`quote` prop (rendered as plain text) or the `quote-body` slot (rich). */
|
|
88
89
|
.testimonial-text {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
font-family: var(--typography-bodyfont, 'NeuSans', sans-serif);
|
|
91
|
+
font-size: 22px;
|
|
92
|
+
line-height: 1.4;
|
|
93
|
+
font-weight: var(--font-weight-regular, 400);
|
|
94
|
+
color: var(--af-typography-body-default, var(--colour-brand-inkwell, #14343b));
|
|
95
|
+
}
|
|
96
|
+
.testimonial-text ::slotted(p),
|
|
97
|
+
.testimonial-text p {
|
|
98
|
+
font: inherit;
|
|
99
|
+
color: inherit;
|
|
100
|
+
margin: 0 0 12px 0;
|
|
101
|
+
}
|
|
102
|
+
.testimonial-text ::slotted(p:last-child),
|
|
103
|
+
.testimonial-text p:last-child {
|
|
104
|
+
margin-bottom: 0;
|
|
105
|
+
}
|
|
106
|
+
.testimonial-text ::slotted(ul),
|
|
107
|
+
.testimonial-text ul {
|
|
108
|
+
margin: 0 0 12px 0;
|
|
109
|
+
padding-left: 20px;
|
|
92
110
|
}
|
|
93
111
|
|
|
94
112
|
/* Attribution uses body-dark color for emphasis */
|
|
95
113
|
.testimonial-attribution {
|
|
96
|
-
|
|
114
|
+
font-family: var(--typography-bodyfont, 'NeuSans', sans-serif);
|
|
115
|
+
font-size: 16px;
|
|
116
|
+
line-height: 24px;
|
|
117
|
+
color: var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343b));
|
|
118
|
+
margin-top: 12px;
|
|
97
119
|
}
|
|
98
120
|
|
|
99
121
|
.testimonial-stats {
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot quote-body - Rich quote content (paragraphs, lists). Overrides the
|
|
4
|
+
* `quote` string prop when provided. Use for testimonials that include
|
|
5
|
+
* multiple paragraphs, bulleted points, or inline emphasis.
|
|
6
|
+
* @slot quote-icon - Quote icon (defaults to af-icon name="quote").
|
|
7
|
+
* @slot stats - Statistic items (af-testimonial-stat components).
|
|
8
|
+
* @slot navigation - Custom nav controls (when not using built-in ones).
|
|
9
|
+
*/
|
|
2
10
|
export class AfTestimonial {
|
|
3
11
|
constructor() {
|
|
4
12
|
/**
|
|
@@ -21,11 +29,11 @@ export class AfTestimonial {
|
|
|
21
29
|
};
|
|
22
30
|
}
|
|
23
31
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'ece3fb36d1f133e0429a59f8fe24dadae0d25e51' }, h("div", { key: '874ba61ab34378a92f496d9143b817d3cbbce2ef', class: "testimonial-card" }, h("div", { key: 'c7812c978b4b0ce7ad5f23e2fc429986c787ec4e', class: "testimonial-image" }, this.backgroundImage && (h("img", { key: 'd8ae7c602c4e7a78037f8ca1dfb1363136499942', src: this.backgroundImage, alt: "", class: "testimonial-bg-image" })), this.logoImage && (h("div", { key: '1e2b8f1252b1bf4d480bd453fd558c3ab8cf4888', class: "testimonial-logo" }, h("img", { key: '7d9dda13479c1f46f97bca5e3628ac03925c058a', src: this.logoImage, alt: "Company logo" })))), h("div", { key: '4bfabf5919bb04b966ba56aeba9d5ecbb473c6df', class: "testimonial-content" }, h("div", { key: 'ceb09f4ea4fa02cb1289501b94b87a378b8388bf', class: "testimonial-quote-section" }, h("div", { key: '26388df84c2fa2191edc36c844e46a131133741f', class: "testimonial-quote-icon" }, h("slot", { key: '76862abdc6eb6a79abe4e1024045252cc843fbd8', name: "quote-icon" }, h("af-icon", { key: 'ad6a19f54dd5c19d2fd41b6c8d8689e35ee5fc47', name: "quote", size: 48 }))), h("div", { key: '3773864a3bbb9bcb6788ca49b401eb59d140cbf2', class: "testimonial-text" }, h("slot", { key: 'e98fb304d608a76e95b08c3dc29e54ab556327b6', name: "quote-body" }, this.quote)), h("div", { key: 'e056c13a838325f20767bf35a3659d898843767d', class: "testimonial-attribution" }, this.attribution)), h("div", { key: 'b568594caa24f709dc3723c58eb3fa6263f229b9', class: "testimonial-stats" }, h("slot", { key: 'e463d0484e771db9fcf598f67adb6c8f4ebd2eae', name: "stats" })), h("div", { key: '3e645d385530722738d88c7764b41997385e5811', class: "testimonial-footer" }, h("div", { key: 'aa8d161c9a9030cb19f0e49e7614d665200b6c43', class: "testimonial-nav" }, this.showNavigation ? (
|
|
25
33
|
// Render built-in navigation buttons
|
|
26
34
|
h("div", { class: "testimonial-nav-buttons" }, h("af-icon-button", { variant: "secondary", disabled: !this.hasPrev, onClick: this.handlePrev, ariaLabel: "Previous testimonial" }, h("af-icon", { name: "arrow-left", size: 24 })), h("af-icon-button", { variant: "secondary", disabled: !this.hasNext, onClick: this.handleNext, ariaLabel: "Next testimonial" }, h("af-icon", { name: "arrow-right", size: 24 })))) : (
|
|
27
35
|
// Allow custom navigation via slot
|
|
28
|
-
h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '
|
|
36
|
+
h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '3764047858f6661077ec1a696c327c6dc80c5056', variant: "secondary", href: this.readMoreLink }, "Read full story", h("af-icon", { key: 'bd1cc25cf7e59c030fc4c2d94593e1437e57cd81', slot: "icon-right", name: "arrow-right", size: 24 }))))))));
|
|
29
37
|
}
|
|
30
38
|
static get is() { return "af-testimonial"; }
|
|
31
39
|
static get encapsulation() { return "scoped"; }
|
|
@@ -84,14 +92,14 @@ export class AfTestimonial {
|
|
|
84
92
|
"mutable": false,
|
|
85
93
|
"complexType": {
|
|
86
94
|
"original": "string",
|
|
87
|
-
"resolved": "string",
|
|
95
|
+
"resolved": "string | undefined",
|
|
88
96
|
"references": {}
|
|
89
97
|
},
|
|
90
|
-
"required":
|
|
91
|
-
"optional":
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": true,
|
|
92
100
|
"docs": {
|
|
93
101
|
"tags": [],
|
|
94
|
-
"text": "Testimonial quote text"
|
|
102
|
+
"text": "Testimonial quote text. Falls back to the `quote-body` slot if that\nslot has content."
|
|
95
103
|
},
|
|
96
104
|
"getter": false,
|
|
97
105
|
"setter": false,
|
|
@@ -94,7 +94,7 @@ export class AfTestimonialCarousel {
|
|
|
94
94
|
return (this.currentIndex + 1) / this.testimonialCount;
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
97
|
+
return (h(Host, { key: 'eb9042ba8aa89a99b81f8f6b477b50e44f6ef747' }, h("div", { key: 'aeeab184ea0954c9be173c4cc0e18b9f840cbf4d', class: "testimonial-carousel" }, h("div", { key: '57e2d480f737af4e6edad66475d3394eb7d4f6d7', class: "testimonial-slides" }, h("slot", { key: '21167cf84f89dcecbc87f2d1010f6fcf77975ca1' })), this.testimonialCount > 1 && (h("div", { key: '3c3211d3d523a4cf8f9178294f3dba4b491a82dc', class: "testimonial-progress" }, h("af-progress-line", { key: '63013ffeb317f2365d27843611e4210a4baa4984', progress: this.getProgress() }))))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "af-testimonial-carousel"; }
|
|
100
100
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,7 +7,7 @@ export class AfTestimonialStat {
|
|
|
7
7
|
this.accentBorder = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '3854dc5e24bdfdfc96ff889f65231ed765f1cb2a' }, h("div", { key: 'bde58050e26a65197cf0d3cdb1de385c00f4ea14', class: `stat ${this.accentBorder ? 'stat--accent' : ''}` }, h("af-heading", { key: '37fc274547ef0bc7ff3c9e539f88b996c496ad52', level: 2, class: "stat-value" }, this.value), h("af-text", { key: '83519d54647b39ac39649b22f93f21039e047d63', variant: "medium", class: "stat-description" }, this.description))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "af-testimonial-stat"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,7 +29,7 @@ export class AfTextImageNest {
|
|
|
29
29
|
'nest__grid': true,
|
|
30
30
|
[`grid-${this.layout}`]: true,
|
|
31
31
|
};
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '016ac9532a42a1494490c49dcffa488f49d1d5c8' }, h("div", { key: '38e16d51c44d69323e0b66e51449564631cc9077', class: containerClasses }, h("div", { key: 'a4c596c73303dde115357b80ece979b1a383e6a8', class: "nest__content" }, h("div", { key: '8d097e97a0cf9149fc3f775b27010d6d6d6c50e4', class: gridClasses }, h("slot", { key: '25ae554ae7f9091e503f1692115e483e552c6170' })), h("div", { key: 'e6105ef43ed3438ee6cd7edc671fc627d60ffef0', class: "nest__footer" }, h("slot", { key: 'ede8c7fa69237042eea88a7d0ed54f3551764e68', name: "buttons" }))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "af-text-image-nest"; }
|
|
35
35
|
static get encapsulation() { return "scoped"; }
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
55
55
|
|
|
56
56
|
/* Button - Tertiary */
|
|
57
|
-
--af-button-
|
|
58
|
-
--af-button-
|
|
59
|
-
--af-button-
|
|
57
|
+
--af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
58
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
59
|
+
--af-button-ghost-stroke: var(--colour-brand-soft-clay, #B09670);
|
|
60
60
|
|
|
61
61
|
/* Input tokens */
|
|
62
62
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
--af-button-secondary-stroke: var(--colour-brand-white, #ffffff);
|
|
127
127
|
|
|
128
128
|
/* Button - Tertiary */
|
|
129
|
-
--af-button-
|
|
130
|
-
--af-button-
|
|
131
|
-
--af-button-
|
|
129
|
+
--af-button-ghost-text: var(--colour-brand-white, #ffffff);
|
|
130
|
+
--af-button-ghost-icon: var(--colour-brand-white, #ffffff);
|
|
131
|
+
--af-button-ghost-stroke: var(--colour-brand-ice, #A6FFFB);
|
|
132
132
|
|
|
133
133
|
/* Input tokens */
|
|
134
134
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -198,9 +198,9 @@
|
|
|
198
198
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
199
199
|
|
|
200
200
|
/* Button - Tertiary */
|
|
201
|
-
--af-button-
|
|
202
|
-
--af-button-
|
|
203
|
-
--af-button-
|
|
201
|
+
--af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
202
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
203
|
+
--af-button-ghost-stroke: var(--colour-brand-soft-clay, #B09670);
|
|
204
204
|
|
|
205
205
|
/* Input tokens */
|
|
206
206
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -270,9 +270,9 @@
|
|
|
270
270
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
271
271
|
|
|
272
272
|
/* Button - Tertiary */
|
|
273
|
-
--af-button-
|
|
274
|
-
--af-button-
|
|
275
|
-
--af-button-
|
|
273
|
+
--af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
274
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
275
|
+
--af-button-ghost-stroke: var(--colour-brand-inkwell, #14343b);
|
|
276
276
|
|
|
277
277
|
/* Input tokens */
|
|
278
278
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -342,9 +342,9 @@
|
|
|
342
342
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
343
343
|
|
|
344
344
|
/* Button - Tertiary */
|
|
345
|
-
--af-button-
|
|
346
|
-
--af-button-
|
|
347
|
-
--af-button-
|
|
345
|
+
--af-button-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
346
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
347
|
+
--af-button-ghost-stroke: var(--colour-brand-soft-clay, #b09670);
|
|
348
348
|
|
|
349
349
|
/* Input tokens */
|
|
350
350
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -18,7 +18,7 @@ export class AfThemeOverride {
|
|
|
18
18
|
this.theme = 'white';
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '67765126b10a933cf927169cab2c88135f9b9c9d' }, h("div", { key: '00e00242c786f339f93c30005e1bbdc2eb5cdae6', class: `theme-override theme-${this.theme}` }, h("slot", { key: '19b1cfc18e8d8218a2bc0e04fb70b2e2e3a68121' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-theme-override"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -123,14 +123,22 @@
|
|
|
123
123
|
gap: var(--space-2, 8px);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
/* Heading styles
|
|
126
|
+
/* Heading styles - font-weight 400 (regular) matches Webflow's NeuSans usage.
|
|
127
|
+
* display: flex collapses any whitespace-only text nodes that Astro (and
|
|
128
|
+
* other templating engines) leave between the slotted heading and the
|
|
129
|
+
* following named-slot siblings — those stray text nodes get projected into
|
|
130
|
+
* the default slot and, without flex layout, each one occupies a full line
|
|
131
|
+
* of the heading's line-height (user-visible "extra line break" after the
|
|
132
|
+
* heading). */
|
|
127
133
|
.heading {
|
|
134
|
+
display: flex;
|
|
135
|
+
flex-direction: column;
|
|
128
136
|
font-family: var(--typography-headingfont, 'NeuSans', sans-serif);
|
|
129
|
-
font-weight: var(--font-weight-
|
|
137
|
+
font-weight: var(--font-weight-regular, 400);
|
|
130
138
|
color: var(--af-typography-heading-primary, var(--colour-typography-heading-primary, #14343B));
|
|
131
139
|
line-height: var(--line-height-heading-tight, 1);
|
|
132
140
|
letter-spacing: var(--letter-spacing-heading, -0.02em);
|
|
133
|
-
white-space:
|
|
141
|
+
white-space: normal;
|
|
134
142
|
}
|
|
135
143
|
|
|
136
144
|
/* Desktop heading sizes */
|
|
@@ -186,7 +194,25 @@
|
|
|
186
194
|
font-weight: var(--font-weight-regular, 400);
|
|
187
195
|
line-height: var(--line-height-body-large, 26px);
|
|
188
196
|
color: var(--af-typography-body-default, var(--colour-typography-body-default, #2B484F));
|
|
189
|
-
white-space:
|
|
197
|
+
white-space: normal;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* Heading colour variants — matches Webflow's h1.primary / h1.secondary pattern */
|
|
201
|
+
.heading.heading-color-primary {
|
|
202
|
+
color: var(--af-typography-heading-primary, var(--colour-typography-heading-primary, #14343B));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.heading.heading-color-secondary {
|
|
206
|
+
color: var(--af-typography-heading-secondary, var(--colour-brand-soft-clay, #B09670));
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* Description colour variants */
|
|
210
|
+
.description.description-color-default {
|
|
211
|
+
color: var(--af-typography-body-default, var(--colour-typography-body-default, #2B484F));
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.description.description-color-secondary {
|
|
215
|
+
color: var(--af-typography-heading-secondary, var(--colour-brand-soft-clay, #B09670));
|
|
190
216
|
}
|
|
191
217
|
|
|
192
218
|
/* Description text size variations - smaller for heading 3 mobile, 4, and 5 */
|
|
@@ -42,7 +42,7 @@ export class AfVideoContainer {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '805ef2cb5883f2589729c8f01a6912d9649931ed' }, h("div", { key: '0378ad7aa7ba09981fc87b8701e056cfd71c7ff2', class: "video-container" }, h("div", { key: '0d6581e16ee68472b37d1d7f5135f3ce5b6312a0', class: "video-container__top" }, h("slot", { key: '8802570242c658b176405ab1493254c4c3473d4a', name: "top" })), h("div", { key: 'ff73de6c3dc1597acbaf707dbfcb5559fde6ebdb', class: "video-container__video" }, h("af-aspect-ratio", { key: '092c02fe25891ef4436056056c1443bfe35631ab', ratio: "16:9" }, h("div", { key: '0e1def94ac6e243af93c67e13c1fb7d743eeb808', class: "video-container__thumbnail-wrapper" }, this.videoThumbnailUrl && (h("img", { key: '9437d1ee258da0548225edd8f6f38f3ac1984e66', src: this.videoThumbnailUrl, alt: this.videoAlt, class: "video-container__thumbnail", loading: "lazy" })), h("button", { key: '0269c801acca11d95e383a9d588ba07b30fa28a2', class: "video-container__play-button", onClick: this.handlePlayClick, "aria-label": "Play video", type: "button" }, h("af-icon", { key: '85ba1f8c72057d948ab6c06cdf76be075f81f9d7', name: "play", size: 24 }))))), h("div", { key: '4b50dd7066e2f0390052d0042d762f7e3d3beb1a', class: "video-container__bottom" }, h("slot", { key: 'ef00f995dc3e81e0197846d672701c829a8d61d1', name: "bottom" })))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "af-video-container"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,7 +15,7 @@ export class AfVisuallyHidden {
|
|
|
15
15
|
this.focusable = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '9ce559b8f54328432497181c2e8c7a4136ddd67d', class: { 'focusable': this.focusable } }, h("slot", { key: '4d877b02acf7b1ab61dca5e72b4d76c37a9fc7c2' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "af-visually-hidden"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,d as
|
|
1
|
+
import{p as e,H as t,d as i,h as s,c as a,t as o}from"./p-DsNqeD3z.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.accordionToggle=i(this,"af-accordion-toggle"),this.open=!1,this.disabled=!1,this.contentHeight=0,this.handleTriggerClick=()=>{this.disabled||this.toggle()}}handleOpenChange(e){e&&this.measureContent()}componentDidLoad(){this.open&&this.measureContent(),this.resizeObserver=new ResizeObserver((()=>{this.open&&this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)})),this.contentRef&&this.resizeObserver.observe(this.contentRef)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}async toggle(){this.disabled||(this.open=!this.open,this.accordionToggle.emit({itemId:this.itemId,open:this.open}))}measureContent(){requestAnimationFrame((()=>{this.contentRef&&(this.contentHeight=this.contentRef.scrollHeight)}))}render(){const e={maxHeight:this.open?this.contentHeight+"px":"0px"};return s(a,{key:"f09a5fe4d1ca9e14d674c5cb255c391355fba0b9",class:{"is-open":this.open,"is-disabled":this.disabled}},s("div",{key:"2e53d4c8599acd81e7a624ac130add7ea7be3c86",class:"accordion-item"},s("button",{key:"c3b97ff90a37ac7f582b2ba086db0faa21328dc2",class:"trigger",onClick:this.handleTriggerClick,"aria-expanded":this.open?"true":"false","aria-controls":"content-"+this.itemId,disabled:this.disabled,type:"button"},s("div",{key:"48446eb132a44680630f46c1bd65921a440f688a",class:"trigger-content"},s("slot",{key:"a47fdf5a659602a340091544587be928c226a89b",name:"trigger"})),s("div",{key:"1c938183404f982ebcfe3ba0661f57e4ecf2c006",class:{chevron:!0,"is-open":this.open}},s("svg",{key:"20d3ef9eb98b0cbb2f0af2165cc911fb3ec93bd5",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},s("path",{key:"7477c118131ce91b79d1c9f74174c9431ee60dca",d:"M6 9l6 6 6-6","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})))),s("div",{key:"676a89763218ddbd6daddb174a4eebecfffb6a94",id:"content-"+this.itemId,class:"content-wrapper",style:e,"aria-hidden":this.open?"false":"true"},s("div",{key:"fb0f8760497cf998daa0f1cd5c52c6349fb125e4",class:"content",ref:e=>this.contentRef=e},s("slot",{key:"300f0b749dbaf06bb44ad9b176f3d9f64c52db6e"})))))}get el(){return this}static get watchers(){return{open:[{handleOpenChange:0}]}}static get style(){return":host{display:block;width:100%}.accordion-item{width:100%}.trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;background:transparent;border:none;border-bottom:1px solid var(--af-background-border-subtle, #e8eeed);cursor:pointer;font:inherit;text-align:left;color:var(--af-typography-body-dark, #14343b);transition:background-color 0.2s ease}.trigger:hover:not(:disabled){background-color:var(--af-background-base-hover, rgba(20, 52, 59, 0.02))}.trigger:focus-visible{outline:2px solid var(--af-background-border-active, #8a7049);outline-offset:-2px}.trigger:disabled{cursor:not-allowed;opacity:0.5}.trigger-content{flex:1;min-width:0}.chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:var(--af-typography-body-dark, #14343b);transition:transform 0.3s ease}.chevron.is-open{transform:rotate(180deg)}.content-wrapper{overflow:hidden;transition:max-height 0.3s ease}.content{padding:0}:host(.is-disabled) .trigger{cursor:not-allowed;opacity:0.5}:host(.is-disabled) .trigger:hover{background-color:transparent}:host(.is-open) .trigger{border-bottom-color:transparent}"}},[257,"af-accordion-item",{itemId:[513,"item-id"],open:[1540],disabled:[516],contentHeight:[32],toggle:[64]},void 0,{open:[{handleOpenChange:0}]}]),n=r,d=function(){"undefined"!=typeof customElements&&["af-accordion-item"].forEach((e=>{"af-accordion-item"===e&&(customElements.get(o(e))||customElements.define(o(e),r))}))};export{n as AfAccordionItem,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,d as a,h as
|
|
1
|
+
import{p as e,H as t,d as a,h as c,c as s,t as i}from"./p-DsNqeD3z.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.accordionChange=a(this,"af-accordion-change"),this.mode="independent",this.internalValue=[]}isControlled(){return void 0!==this.value}componentWillLoad(){const e=this.isControlled()?this.value:this.defaultValue;this.internalValue=this.normalizeValue(e)}handleValueChange(e){this.isControlled()&&(this.internalValue=this.normalizeValue(e),this.syncItems())}componentDidLoad(){this.syncItems()}handleItemToggle(e){e.stopPropagation();const{itemId:t,open:a}=e.detail;let c;c="exclusive"===this.mode?a?[t]:[]:a?[...this.internalValue,t]:this.internalValue.filter((e=>e!==t)),this.isControlled()||(this.internalValue=c,this.syncItems()),this.accordionChange.emit({value:"exclusive"===this.mode?c.length>0?c[0]:null:c})}normalizeValue(e){return null==e?[]:Array.isArray(e)?"exclusive"===this.mode?e.slice(0,1):e:[e]}syncItems(){this.el.querySelectorAll("af-accordion-item").forEach((e=>{e.itemId&&(e.open=this.internalValue.includes(e.itemId))}))}render(){return c(s,{key:"e0060977dd938771a54e2941a962a58bf18b61dd",class:{["mode-"+this.mode]:!0}},c("div",{key:"dacacd23dc6f116bb8c856161d1a956c0fc7d70d",class:"accordion"},c("slot",{key:"1dcc400fc416c79f0ac1cf48893de03c46e31741"})))}get el(){return this}static get watchers(){return{value:[{handleValueChange:0}]}}static get style(){return".sc-af-accordion-h{display:block;width:100%}.accordion.sc-af-accordion{display:flex;flex-direction:column;width:100%}.sc-af-accordion-s>af-accordion-item{display:block}.sc-af-accordion-s>af-accordion-item:last-child{--accordion-item-border:transparent}"}},[262,"af-accordion",{mode:[1],value:[1025],defaultValue:[1,"default-value"],internalValue:[32]},[[0,"af-accordion-toggle","handleItemToggle"]],{value:[{handleValueChange:0}]}]),n=o,d=function(){"undefined"!=typeof customElements&&["af-accordion"].forEach((e=>{"af-accordion"===e&&(customElements.get(i(e))||customElements.define(i(e),o))}))};export{n as AfAccordion,d as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as o,d as s}from"./p-
|
|
1
|
+
import{A as o,d as s}from"./p-BeVM-2kH.js";const p=o,r=s;export{p as AfButton,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as o,d as s}from"./p-
|
|
1
|
+
import{A as o,d as s}from"./p-BlfywPKX.js";const p=o,r=s;export{p as AfCard,r as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,h as s,c as i,t as n}from"./p-DsNqeD3z.js";const
|
|
1
|
+
import{p as e,H as t,h as s,c as i,t as n}from"./p-DsNqeD3z.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.axis="both",this.inline=!1}render(){const e={display:this.inline?"inline-flex":"flex"};return"horizontal"!==this.axis&&"both"!==this.axis||(e.justifyContent="center"),"vertical"!==this.axis&&"both"!==this.axis||(e.alignItems="center"),this.minHeight&&(e.minHeight=this.minHeight),s(i,{key:"fc1bcaef9b11c0c5f69e9ef95d58adf61b4f244a",style:e},s("slot",{key:"09dc75e0a80760d56e370ad0b52231f4143549e8"}))}static get style(){return":host{display:flex;box-sizing:border-box}:host([hidden]){display:none}"}},[257,"af-center",{axis:[1],inline:[4],minHeight:[1,"min-height"]}]),c=o,h=function(){"undefined"!=typeof customElements&&["af-center"].forEach((e=>{"af-center"===e&&(customElements.get(n(e))||customElements.define(n(e),o))}))};export{c as AfCenter,h as defineCustomElement}
|