@affinda/wc 0.0.24 → 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-cd138311.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-heading_5.cjs.entry.js +9 -6
- 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 +23 -2
- 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-navbar/af-navbar.js +9 -6
- 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-typography-lockup/af-typography-lockup.js +28 -1
- 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-navbar.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-CYXTWxXF.js +1 -0
- package/dist/components/{p-B7-0t_dL.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-heading_5.entry.js +9 -6
- 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 +23 -2
- 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/af-typography-lockup/af-typography-lockup.d.ts +14 -0
- 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-6c10d037.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-9405394d.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-2f5xVWwF.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-CB_hDYLo.js +0 -1
- package/dist/components/p-CRW9bpXa.js +0 -1
- package/dist/components/p-Cv9-Wbu_.js +0 -1
- package/dist/components/p-CwPFdy8d.js +0 -1
- package/dist/components/p-wM1k9Wi7.js +0 -1
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
color: var(--af-button-secondary-icon, var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343B)));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
:host([variant="
|
|
15
|
-
color: var(--af-button-
|
|
14
|
+
:host([variant="ghost"]) {
|
|
15
|
+
color: var(--af-button-ghost-icon, var(--colour-brand-inkwell, #14343B));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/* Full-width mode - when host is display: block */
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
line-height: 20px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.size-
|
|
55
|
+
.size-thin {
|
|
56
56
|
padding: 8px 16px;
|
|
57
57
|
font-size: 14px;
|
|
58
58
|
line-height: 16px;
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
height: 24px;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.size-
|
|
82
|
-
.size-
|
|
81
|
+
.size-thin .icon-left,
|
|
82
|
+
.size-thin .icon-right {
|
|
83
83
|
width: 20px;
|
|
84
84
|
height: 20px;
|
|
85
85
|
}
|
|
@@ -93,11 +93,11 @@
|
|
|
93
93
|
margin-left: 12px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.size-
|
|
96
|
+
.size-thin .icon-left.has-content {
|
|
97
97
|
margin-right: 8px;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.size-
|
|
100
|
+
.size-thin .icon-right.has-content {
|
|
101
101
|
margin-left: 8px;
|
|
102
102
|
}
|
|
103
103
|
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
height: 24px;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.size-
|
|
116
|
+
.size-thin .label {
|
|
117
117
|
height: 20px;
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -188,38 +188,38 @@
|
|
|
188
188
|
Text-only link style with underline, no border or background
|
|
189
189
|
========================================================================== */
|
|
190
190
|
|
|
191
|
-
.variant-
|
|
191
|
+
.variant-ghost {
|
|
192
192
|
background: transparent;
|
|
193
193
|
border-color: transparent;
|
|
194
194
|
border-radius: 0;
|
|
195
|
-
color: var(--af-button-
|
|
195
|
+
color: var(--af-button-ghost-text, var(--colour-brand-inkwell, #14343b));
|
|
196
196
|
padding-left: 0;
|
|
197
197
|
padding-right: 0;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
.variant-
|
|
201
|
-
border-bottom: 2px solid var(--af-button-
|
|
200
|
+
.variant-ghost .label {
|
|
201
|
+
border-bottom: 2px solid var(--af-button-ghost-stroke, var(--colour-brand-soft-clay, #B09670));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
.variant-
|
|
205
|
-
.variant-
|
|
206
|
-
color: var(--af-button-
|
|
204
|
+
.variant-ghost .icon-left,
|
|
205
|
+
.variant-ghost .icon-right {
|
|
206
|
+
color: var(--af-button-ghost-icon, var(--colour-brand-inkwell, #14343b));
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
.variant-
|
|
209
|
+
.variant-ghost:hover:not(.disabled) {
|
|
210
210
|
opacity: 0.8;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
.variant-
|
|
214
|
-
.variant-
|
|
213
|
+
.variant-ghost:focus:not(.disabled),
|
|
214
|
+
.variant-ghost:focus-visible:not(.disabled) {
|
|
215
215
|
outline: none;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.variant-
|
|
219
|
-
box-shadow: 0 4px 0 0 var(--af-button-
|
|
218
|
+
.variant-ghost:focus-visible:not(.disabled) .label {
|
|
219
|
+
box-shadow: 0 4px 0 0 var(--af-button-ghost-stroke, var(--colour-brand-soft-clay, #B09670));
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.variant-
|
|
222
|
+
.variant-ghost:active:not(.disabled) {
|
|
223
223
|
opacity: 0.6;
|
|
224
224
|
}
|
|
225
225
|
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
opacity: 0.6;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
.variant-
|
|
246
|
+
.variant-ghost.disabled {
|
|
247
247
|
opacity: 0.6;
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -266,7 +266,7 @@ button.button.variant-secondary {
|
|
|
266
266
|
border: 1px solid var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
button.button.variant-
|
|
269
|
+
button.button.variant-ghost {
|
|
270
270
|
background: transparent;
|
|
271
271
|
border: none;
|
|
272
272
|
}
|
|
@@ -290,7 +290,7 @@ a.button.variant-secondary {
|
|
|
290
290
|
border: 1px solid var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
a.button.variant-
|
|
293
|
+
a.button.variant-ghost {
|
|
294
294
|
background: transparent;
|
|
295
295
|
border: none;
|
|
296
296
|
}
|
|
@@ -14,13 +14,14 @@ export class AfButton {
|
|
|
14
14
|
* The visual variant of the button.
|
|
15
15
|
* - `primary` - Main CTA with filled background (use sparingly, 1-2 per view)
|
|
16
16
|
* - `secondary` - Supporting action with outlined style
|
|
17
|
-
* - `
|
|
17
|
+
* - `ghost` - Link-style with themed underline on the label; commonly paired
|
|
18
|
+
* with a right-pointing icon. Matches Webflow's "button ghost" variant.
|
|
18
19
|
*/
|
|
19
20
|
this.variant = 'primary';
|
|
20
21
|
/**
|
|
21
22
|
* The size of the button.
|
|
22
|
-
* - `default` - Standard size for primary CTAs
|
|
23
|
-
* - `
|
|
23
|
+
* - `default` - Standard size for primary CTAs (12/24px padding)
|
|
24
|
+
* - `thin` - Compact inline/secondary size (8/16px padding)
|
|
24
25
|
*/
|
|
25
26
|
this.size = 'default';
|
|
26
27
|
/**
|
|
@@ -80,15 +81,15 @@ export class AfButton {
|
|
|
80
81
|
"type": "string",
|
|
81
82
|
"mutable": false,
|
|
82
83
|
"complexType": {
|
|
83
|
-
"original": "'primary' | 'secondary' | '
|
|
84
|
-
"resolved": "\"
|
|
84
|
+
"original": "'primary' | 'secondary' | 'ghost'",
|
|
85
|
+
"resolved": "\"ghost\" | \"primary\" | \"secondary\"",
|
|
85
86
|
"references": {}
|
|
86
87
|
},
|
|
87
88
|
"required": false,
|
|
88
89
|
"optional": false,
|
|
89
90
|
"docs": {
|
|
90
91
|
"tags": [],
|
|
91
|
-
"text": "The visual variant of the button.\n- `primary` - Main CTA with filled background (use sparingly, 1-2 per view)\n- `secondary` - Supporting action with outlined style\n- `
|
|
92
|
+
"text": "The visual variant of the button.\n- `primary` - Main CTA with filled background (use sparingly, 1-2 per view)\n- `secondary` - Supporting action with outlined style\n- `ghost` - Link-style with themed underline on the label; commonly paired\n with a right-pointing icon. Matches Webflow's \"button ghost\" variant."
|
|
92
93
|
},
|
|
93
94
|
"getter": false,
|
|
94
95
|
"setter": false,
|
|
@@ -100,15 +101,15 @@ export class AfButton {
|
|
|
100
101
|
"type": "string",
|
|
101
102
|
"mutable": false,
|
|
102
103
|
"complexType": {
|
|
103
|
-
"original": "'default' | '
|
|
104
|
-
"resolved": "\"default\" | \"
|
|
104
|
+
"original": "'default' | 'thin'",
|
|
105
|
+
"resolved": "\"default\" | \"thin\"",
|
|
105
106
|
"references": {}
|
|
106
107
|
},
|
|
107
108
|
"required": false,
|
|
108
109
|
"optional": false,
|
|
109
110
|
"docs": {
|
|
110
111
|
"tags": [],
|
|
111
|
-
"text": "The size of the button.\n- `default` - Standard size for primary CTAs\n- `
|
|
112
|
+
"text": "The size of the button.\n- `default` - Standard size for primary CTAs (12/24px padding)\n- `thin` - Compact inline/secondary size (8/16px padding)"
|
|
112
113
|
},
|
|
113
114
|
"getter": false,
|
|
114
115
|
"setter": false,
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
/* Button variants for dark theme */
|
|
84
84
|
--af-button-secondary-text: var(--colour-brand-white, #ffffff);
|
|
85
85
|
--af-button-secondary-stroke: var(--colour-brand-white, #ffffff);
|
|
86
|
-
--af-button-
|
|
87
|
-
--af-button-
|
|
86
|
+
--af-button-ghost-text: var(--colour-brand-white, #ffffff);
|
|
87
|
+
--af-button-ghost-icon: var(--colour-brand-white, #ffffff);
|
|
88
88
|
|
|
89
89
|
/* Form control tokens (checkbox, radio, switch) */
|
|
90
90
|
--af-form-control-bg: var(--colour-inkwell-450, #203e45);
|
|
@@ -26,7 +26,7 @@ export class AfCard {
|
|
|
26
26
|
'card': true,
|
|
27
27
|
[`theme-${this.theme}`]: true
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '9847c934dc643291c0b19a5bbd7a5a1f95171573' }, h("div", { key: 'ef75699eb880055c79cfb605821167e5e9958aa5', class: classes }, h("div", { key: '48b0ca5f605d7af698564d6907e38dedf2a4beef', class: "card__content" }, h("slot", { key: 'fa2832e5ff3796fc80b72d5a4cb630e978a4b083' })))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "af-card"; }
|
|
32
32
|
static get encapsulation() { return "scoped"; }
|
|
@@ -33,7 +33,7 @@ export class AfCenter {
|
|
|
33
33
|
if (this.minHeight) {
|
|
34
34
|
style.minHeight = this.minHeight;
|
|
35
35
|
}
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'fc1bcaef9b11c0c5f69e9ef95d58adf61b4f244a', style: style }, h("slot", { key: '09dc75e0a80760d56e370ad0b52231f4143549e8' })));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "af-center"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class AfClientCarousel {
|
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
61
|
const rows = Number(this.rows);
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '46f4a3c383b4f067cc74697860d437e38428a94c', class: `theme-${this.theme}` }, h("div", { key: '3a112f1ba371dee4fbea77994ff2ce5b33d85702', class: `client-carousel theme-${this.theme} rows-${rows}` }, h("div", { key: '32bf5229631e03fdae350f2224cbc7c2728b164d', class: "carousel-container" }, h("div", { key: '265e1f762ad375913bb0d308a1ab313bb75b76c0', class: "carousel-row scroll-left" }, h("div", { key: 'd92c38d3ff861cc1f422b261cf6239dd59b8dbfc', class: "logo-track", ref: (el) => (this.row1TrackRef = el) }, h("slot", { key: 'bf82ec86369fd9bb927a003108959eb7f8ede1bf', name: "row-1" }, h("slot", { key: '6845159319fb23679e7b27968dbe8f86cc7d4bd1' })))), rows === 2 && (h("div", { key: 'a0327e6d2f98e1e34c3ab7b763565b73e511d90d', class: "carousel-row scroll-right" }, h("div", { key: 'ead9bd1658eb547b23967463f84a3a9575e43ad5', class: "logo-track", ref: (el) => (this.row2TrackRef = el) }, h("slot", { key: 'f849ded863bd0ece4cca88143f45c658aa0c9e83', name: "row-2" }))))))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "af-client-carousel"; }
|
|
65
65
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class AfContactItem {
|
|
|
11
11
|
this.value = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '1a52a5ea61e7ef04f3b86e8338ed6984a57101a2' }, h("div", { key: '9c69396e916f489d572f045e78daf990a72e0d24', class: "contact-item" }, this.label && (h("h5", { key: '7575301c7a83aa2034aaaf9b9bdb2a0bd5e072bb', class: "contact-item__label" }, this.label)), this.value && (h("p", { key: '5cbca2b4420b2184fb08ac7f1edb22bce50b9c4c', class: "contact-item__value" }, this.value)), h("slot", { key: '45624be318ed9146a9ec0f2b81af110f8cb82ff6' }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "af-contact-item"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class AfDivider {
|
|
|
28
28
|
marginTop: spacingValue,
|
|
29
29
|
marginBottom: spacingValue,
|
|
30
30
|
};
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '6d986be8da228de6f6203c3e3fc38f79751c1e97', class: {
|
|
32
32
|
'divider': true,
|
|
33
33
|
'divider--horizontal': !isVertical,
|
|
34
34
|
'divider--vertical': isVertical,
|
|
@@ -98,13 +98,13 @@ export class AfFeatureAccordion {
|
|
|
98
98
|
render() {
|
|
99
99
|
const items = this.getItems();
|
|
100
100
|
const currentItem = items[this.expandedIndex];
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '03ae097e99c77b487ca8fe64571840c63e7da862' }, h("div", { key: '2ad42ea20ce150e762763a3fb58ba8c52f1b31a9', class: "feature-accordion" }, h("div", { key: 'e6952ea34da35c5ee7e77c0f43cfc328b4ecbb05', class: "feature-accordion__container" }, h("h2", { key: '8d360f7af4c0de8ddad629d209c41fcc56a55a95', class: "feature-accordion__heading" }, this.heading), h("div", { key: '56b3155755a3b0d68ff89727df3ae9aae70defd4', class: "feature-accordion__content" }, h("div", { key: 'bc15d1c26cb079ea19b817e729d0dfb29d5858bb', class: "feature-accordion__list" }, items.map((item, index) => (h("div", { class: {
|
|
102
102
|
'accordion-item': true,
|
|
103
103
|
'accordion-item--expanded': this.expandedIndex === index
|
|
104
104
|
}, key: index }, h("button", { class: "accordion-item__header", onClick: () => this.handleItemClick(index), "aria-expanded": this.expandedIndex === index ? 'true' : 'false' }, h("h4", { class: "accordion-item__title" }, item.title), h("span", { class: "accordion-item__icon" }, this.expandedIndex === index ? (h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M5 12H19", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" }))) : (h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M12 5V19M5 12H19", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" }))))), h("div", { class: "accordion-item__content", style: {
|
|
105
105
|
maxHeight: this.expandedIndex === index ? '200px' : '0',
|
|
106
106
|
opacity: this.expandedIndex === index ? '1' : '0'
|
|
107
|
-
} }, h("p", { class: "accordion-item__description" }, item.description), this.expandedIndex === index && this.autoCycle && (h("div", { class: "accordion-item__timer-track" }, h("div", { class: "accordion-item__timer-progress", style: { width: `${this.timerProgress}%` } })))))))), h("div", { key: '
|
|
107
|
+
} }, h("p", { class: "accordion-item__description" }, item.description), this.expandedIndex === index && this.autoCycle && (h("div", { class: "accordion-item__timer-track" }, h("div", { class: "accordion-item__timer-progress", style: { width: `${this.timerProgress}%` } })))))))), h("div", { key: '3e160193fdb6a45b2d7e493ddb6925dbee121150', class: "feature-accordion__image-container" }, h("div", { key: '7ab7c3b54a88009f38379dc19c59ba4650ab4ce9', class: "feature-accordion__image-wrapper" }, currentItem?.imageUrl && (h("img", { key: 'cd3f5b1ea37b55d1c7183070c98cc44af3d90694', src: currentItem.imageUrl, alt: currentItem.imageAlt || currentItem.title, class: "feature-accordion__image" })), !currentItem?.imageUrl && (h("div", { key: '0956c500e38f588edb6a4e570d2cfc4f152453fb', class: "feature-accordion__image-placeholder" }, h("slot", { key: '36f7ed6e0554c429c891f71589296159e7531385', name: "image" }))))))))));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "af-feature-accordion"; }
|
|
110
110
|
static get encapsulation() { return "scoped"; }
|
|
@@ -82,7 +82,7 @@ export class AfFeatureGrid {
|
|
|
82
82
|
[`feature-grid--mobile-${this.mobileLayout}`]: true,
|
|
83
83
|
};
|
|
84
84
|
const showProgressLine = this.mobileLayout === 'scroll';
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: 'eb0a98e3493d564f6728613ef1c0b949dcbe7816' }, h("div", { key: 'c91f2fa779d050d9e9419eff301ba8fd80242bc0', class: gridClasses }, h("div", { key: '82989034a3f94cad6747429a1587c3ada160571f', class: "feature-grid__cards" }, h("slot", { key: '9ba0222a8ca2455fd83fbb054e1e4fc2c6f4e598' })), showProgressLine && (h("div", { key: '9c510e8f5366762546829210f5ec1f50788b4ecf', class: "feature-grid__progress" }, h("af-progress-line", { key: '584cd3da69b1b219743338bd6deb0a2c1bbab6b9', progress: this.scrollProgress }))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "af-feature-grid"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,7 +18,7 @@ export class AfFooter {
|
|
|
18
18
|
this.showStatus = true;
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'b0fceb1896656d8a17b3afda396dd74a9181668e' }, h("footer", { key: '6b48abc3e62d21f96fb3c4aa84b2eedd292e3386', class: "footer" }, h("div", { key: 'ba192ee7d600ddce8e1c2fcc5631259c5eff89db', class: "footer__container" }, h("div", { key: 'f7fa42a5d13aacf16bd49ab2a3257b80156383dd', class: "footer__top" }, h("div", { key: '25c7452fbba9a33805fa419e1d91da04c97e3843', class: "footer__brand" }, h("div", { key: 'd3e0c2b52ce7e6a1f399c13ed9d6f1a1c75d5c35', class: "footer__brand-card" }, h("div", { key: '197934823ea93f20575e3f737c777bd3fe6bdec9', class: "footer__logo" }, h("slot", { key: 'f2b8ab9d513704d6c5e3c2e78cd73a264e78225a', name: "logo" })), h("div", { key: 'c00e0d6bad4a5c99e6e39dab101b77c2fae36495', class: "footer__social" }, h("slot", { key: 'de662f1f8e9deb052eb79aed4a05a98c2d9f65aa', name: "social" }))), h("div", { key: '3c678879008647c05a60803ca7a067c4e4e61746', class: "footer__contact-card" }, h("slot", { key: '58071ccf22c23b1ef5341505dcf1d0ba57357512', name: "contact" }))), h("div", { key: '1eed42db812f2dce3aa935ab5ac1096625848ae6', class: "footer__nav" }, h("div", { key: '50aef430fdb85c2087dd2e2d87ad8cf1d16c7c8b', class: "footer__nav-columns" }, h("slot", { key: 'b900525b63c6072707a5b0d35f72237d1b2fe6a9', name: "nav" })), this.showStatus && (h("div", { key: 'fe957d27c0cbaf5a4e2627c3f37de884a87d09d7', class: "footer__status" }, h("span", { key: 'c123f1e69a1b8958eefede7510ae65395c58d948', class: `footer__status-dot ${this.systemsOperational ? 'footer__status-dot--operational' : 'footer__status-dot--issue'}` }), h("span", { key: '9524fa81546c3755e0f28d1f335915dfadf0c08a', class: "footer__status-text" }, this.statusText), this.statusUrl && (h("a", { key: 'adac84ed1240b1587ad4dd730813243009bb55b7', href: this.statusUrl, target: "_blank", rel: "noopener noreferrer", class: "footer__status-link" }, "Learn more")))))), h("div", { key: 'e662a65603a58375ecda64c12f60936ef4bf7535', class: "footer__bottom" }, this.copyrightText && (h("p", { key: '88688f225266e295d4f97ed64fdfe1a67a26561a', class: "footer__copyright" }, this.copyrightText)), h("div", { key: '9e37465b342340a36b309f2da9b5a0d68d5d3bec', class: "footer__legal" }, h("slot", { key: 'c4f6763e9affaf59c7740a78e738938ab25576d0', name: "legal" })), h("div", { key: 'ccdd834682869e69d9c09d2b8f1a6cb3648b671b', class: "footer__badges" }, h("slot", { key: 'cd10ff8b4e90f9a38270b5ed5d7884cea7f241a2', name: "badges" })))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-footer"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class AfFooterColumn {
|
|
|
9
9
|
this.heading = '';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'aff327dcb95b40e2835062053b7e59ee38d1e251' }, h("div", { key: '1f08aa09e7ffc52dda5603f5b3a1bb8ab8b42426', class: "footer-column" }, this.heading && (h("h5", { key: 'ef2532c50e755acb21f786edfbc23ade0097e385', class: "footer-column__heading" }, this.heading)), h("ul", { key: 'c96d5cda9bef99805eb17af7689a294adf80e33b', class: "footer-column__list" }, h("slot", { key: '5efdffcd7fc885e71a9460bc21a2d40bf486c14d' })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "af-footer-column"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class AfFooterLink {
|
|
|
11
11
|
this.external = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '6a353087c08983e0e8a962ba97a2d1fa0afd1003' }, h("li", { key: '746175585030c809e05bd697a518f0ae0bc93d89' }, h("a", { key: '5409787ffbcd34661bbcd643fe68ba2e8354d127', href: this.href, class: "footer-link", target: this.external ? '_blank' : undefined, rel: this.external ? 'noopener noreferrer' : undefined }, h("slot", { key: '506e4056466d3764b4a2a55927932ad5fe5ea0ba' }), this.external && (h("svg", { key: '93e6405e6252095281d63cfbcf1548af54582c24', class: "footer-link__external-icon", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none" }, h("path", { key: '72370b0a31dccb15f92bf8fa67fa868e2f0f33ee', 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
15
|
}
|
|
16
16
|
static get is() { return "af-footer-link"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,14 +28,14 @@ export class AfGrid {
|
|
|
28
28
|
end: 'end',
|
|
29
29
|
stretch: 'stretch',
|
|
30
30
|
};
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'bcc57cad4861ded2353d7668fa76281f327efac8', style: {
|
|
32
32
|
'--grid-columns': String(this.columns),
|
|
33
33
|
'--grid-columns-lg': String(this.columnsLg ?? this.columns),
|
|
34
34
|
'--grid-columns-md': String(this.columnsMd ?? this.columnsLg ?? this.columns),
|
|
35
35
|
'--grid-columns-sm': String(this.columnsSm ?? this.columnsMd ?? this.columnsLg ?? 1),
|
|
36
36
|
'--grid-gap': `var(--space-${this.gap})`,
|
|
37
37
|
'--grid-align': alignMap[this.align],
|
|
38
|
-
} }, h("div", { key: '
|
|
38
|
+
} }, h("div", { key: 'e4aaf0f25478b42470f24b7eb831f6598be15423', class: "grid" }, h("slot", { key: 'bc40be3d30c45c2af348bb67804c25f29d606895' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "af-grid"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,7 +27,7 @@ export class AfIconBox {
|
|
|
27
27
|
[`icon-box--size-${this.size}`]: true,
|
|
28
28
|
};
|
|
29
29
|
const iconSize = this.size === 'small' ? 20 : this.size === 'large' ? 48 : 40;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'e270fbfc75794a1bc2fce141cde5e6295d13c80c' }, h("div", { key: '3533c3e5afe2aaf1ee0227ffe9d37323b954753f', class: containerClasses }, h("af-icon", { key: 'e692e0110fb1233ced5d29f7b8f612c0ab89e058', name: this.icon, size: iconSize }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "af-icon-box"; }
|
|
33
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
:host([variant="tertiary"]) {
|
|
15
|
-
color: var(--af-button-
|
|
15
|
+
color: var(--af-button-ghost-icon, var(--colour-brand-inkwell, #14343B));
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.icon-button {
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
.variant-tertiary {
|
|
113
113
|
background: transparent;
|
|
114
114
|
border-color: transparent;
|
|
115
|
-
color: var(--af-button-
|
|
115
|
+
color: var(--af-button-ghost-text, var(--colour-brand-inkwell, #14343B));
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.variant-tertiary:hover:not(.disabled) {
|
|
@@ -10,14 +10,14 @@ import { h, Host } from "@stencil/core";
|
|
|
10
10
|
*
|
|
11
11
|
* @slot - Heading text content (passed to TypographyLockup)
|
|
12
12
|
* @slot description - Body/description text
|
|
13
|
-
* @slot buttons - Action buttons (typically
|
|
13
|
+
* @slot buttons - Action buttons (typically ghost style)
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```html
|
|
17
17
|
* <af-icon-text icon="settings" heading-size="4">
|
|
18
18
|
* Feature Heading
|
|
19
19
|
* <span slot="description">Feature description text.</span>
|
|
20
|
-
* <af-button slot="buttons" variant="
|
|
20
|
+
* <af-button slot="buttons" variant="ghost">Learn more</af-button>
|
|
21
21
|
* </af-icon-text>
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
@@ -43,7 +43,7 @@ export class AfIconText {
|
|
|
43
43
|
'icon-text': true,
|
|
44
44
|
[`icon-text--${this.orientation}`]: true,
|
|
45
45
|
};
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '5ee5ddd91804507b0e4029adeee9eebb687448d9' }, h("div", { key: '5c00e4451c12aeaf924c2d9dff3ad85cb5555813', class: containerClasses }, h("af-icon-box", { key: 'd375fa1087651f86fd778744c276bd92e387b297', icon: this.icon, size: this.iconSize, class: "icon-text__icon" }), h("af-typography-lockup", { key: '2be428ff1b3210972248ef741086d96eb6829cb9', headingSize: this.headingSize, textAlignment: "left", buttonAlignment: "vertical", class: "icon-text__lockup" }, h("slot", { key: '0da48d34ee2d1ab77c2aac80daffdbce4b2774b1' }), h("span", { key: '140db3a089b16211db54b67b786a90795dbe3d8a', slot: "description" }, h("slot", { key: '37d6b87dc348b95c5178e9a04e902f04664a0feb', name: "description" })), h("span", { key: '10031a47ef045d9ad95cb1bb90289fa1d599bc35', slot: "buttons" }, h("slot", { key: 'decf43947df87a58f42d10ba5025e9c6e1149ca2', name: "buttons" }))))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "af-icon-text"; }
|
|
49
49
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,13 +2,14 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
/**
|
|
3
3
|
* Illustrated Card molecule component that combines a card with an illustration.
|
|
4
4
|
*
|
|
5
|
-
* Uses a theme background with text at top
|
|
6
|
-
* @affinda/illustrations at the bottom.
|
|
5
|
+
* Uses a theme background with text at top, a button row in the middle, and
|
|
6
|
+
* an illustration from @affinda/illustrations at the bottom.
|
|
7
7
|
*
|
|
8
8
|
* Uses af-card atom internally and af-typography-lockup for text hierarchy.
|
|
9
9
|
*
|
|
10
10
|
* @slot - Heading text content
|
|
11
11
|
* @slot body - Description/body text content
|
|
12
|
+
* @slot buttons - Action buttons (rendered below the description, above the illustration)
|
|
12
13
|
* @slot illustration - Illustration image element
|
|
13
14
|
*/
|
|
14
15
|
export class AfIllustratedCard {
|
|
@@ -33,7 +34,7 @@ export class AfIllustratedCard {
|
|
|
33
34
|
[`illustrated-card--breakpoint-${this.breakpoint}`]: true,
|
|
34
35
|
[`illustrated-card--size-${this.cardSize}`]: true,
|
|
35
36
|
};
|
|
36
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'afe7b84219cbe07a6949825042295def34dafe5e' }, h("div", { key: '9b5697ca0732d5bc5ac8170869bf04db5c3e9b07', class: wrapperClasses }, h("af-card", { key: '0de8d7d93eb225298664e9edcd7efec821c341c6', theme: this.theme }, h("div", { key: '4a691832606f011d996f005c533f423acc960ea2', class: "illustrated-card__content" }, h("af-typography-lockup", { key: '59d8417922cffd552df7610b72b4f2ec6c222105', headingSize: 3, breakpoint: this.breakpoint, textAlignment: "left", buttonLayout: "vertical" }, h("slot", { key: 'ee18abb24d0637f3bea71b48ccafdd3c6df0ea45' }), h("span", { key: 'be0bebfef478da4491ba1137ba1975052f4dcb5c', slot: "description" }, h("slot", { key: 'b05c91bd5d5085f74d94fabd22d8b79a2b008719', name: "body" })), h("span", { key: '79c1f836418dd6d2d2c96a1ea680bf05ade2b0d8', slot: "buttons" }, h("slot", { key: '03a5aff63f8225bf2323abe44e8e830562cf0c6c', name: "buttons" })))), h("div", { key: '1c75154af4e7cc89eceda3f16a958ca720f17450', class: "illustrated-card__illustration-area" }, h("slot", { key: '46071088a5aad6cbf64635a3961aa78e1f7b3fee', name: "illustration" }))))));
|
|
37
38
|
}
|
|
38
39
|
static get is() { return "af-illustrated-card"; }
|
|
39
40
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,10 +5,28 @@
|
|
|
5
5
|
|
|
6
6
|
.image-container {
|
|
7
7
|
position: relative;
|
|
8
|
-
border-radius: var(--radius-md, 12px);
|
|
9
8
|
overflow: hidden;
|
|
10
9
|
}
|
|
11
10
|
|
|
11
|
+
/* Shape variants — matches Webflow's rounded-edge image treatments */
|
|
12
|
+
.image-container--rounded {
|
|
13
|
+
border-radius: var(--radius-md, 12px);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.image-container--rounded-left {
|
|
17
|
+
border-top-left-radius: var(--radius-md, 12px);
|
|
18
|
+
border-bottom-left-radius: var(--radius-md, 12px);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.image-container--rounded-right {
|
|
22
|
+
border-top-right-radius: var(--radius-md, 12px);
|
|
23
|
+
border-bottom-right-radius: var(--radius-md, 12px);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.image-container--square {
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
12
30
|
.image {
|
|
13
31
|
display: block;
|
|
14
32
|
width: 100%;
|
|
@@ -16,12 +34,11 @@
|
|
|
16
34
|
object-fit: cover;
|
|
17
35
|
}
|
|
18
36
|
|
|
19
|
-
/* Inset border overlay */
|
|
37
|
+
/* Inset border overlay — inherits the host's border radius via parent clip */
|
|
20
38
|
.image-border {
|
|
21
39
|
position: absolute;
|
|
22
40
|
inset: 0;
|
|
23
|
-
border-radius: var(--radius-md, 12px);
|
|
24
41
|
box-shadow: inset 0 0 0 1px var(--af-background-border-subtle, rgba(0, 0, 0, 0.08));
|
|
25
42
|
pointer-events: none;
|
|
43
|
+
border-radius: inherit;
|
|
26
44
|
}
|
|
27
|
-
|
|
@@ -4,8 +4,20 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
* Provides consistent image styling across the design system.
|
|
5
5
|
*/
|
|
6
6
|
export class AfImage {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Shape / corner rounding variant. Matches Webflow's `.image-fill.rounded-*`
|
|
10
|
+
* patterns where only one edge is rounded so the image bleeds into a
|
|
11
|
+
* neighbouring section.
|
|
12
|
+
* - `rounded` (default) — symmetric rounded corners on all four sides.
|
|
13
|
+
* - `rounded-left` — rounded only on the left edge (top-left + bottom-left).
|
|
14
|
+
* - `rounded-right` — rounded only on the right edge.
|
|
15
|
+
* - `square` — no corner rounding.
|
|
16
|
+
*/
|
|
17
|
+
this.shape = 'rounded';
|
|
18
|
+
}
|
|
7
19
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'c1d2a3fa4d205e24e5c55e9c84e8ff5b3150a161' }, h("div", { key: '5c77f95ebdfd2792ebfb55accc4ec0ea9da5953a', class: `image-container image-container--${this.shape}` }, h("img", { key: '1c9694ebb590d141e46267bb3217eda2400c5b23', src: this.src, alt: this.alt, class: "image" }), h("div", { key: '2505652d87a23db29d54705b93978f44794837b9', class: "image-border", "aria-hidden": "true" }))));
|
|
9
21
|
}
|
|
10
22
|
static get is() { return "af-image"; }
|
|
11
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -58,6 +70,26 @@ export class AfImage {
|
|
|
58
70
|
"setter": false,
|
|
59
71
|
"reflect": false,
|
|
60
72
|
"attribute": "alt"
|
|
73
|
+
},
|
|
74
|
+
"shape": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "'rounded' | 'rounded-left' | 'rounded-right' | 'square'",
|
|
79
|
+
"resolved": "\"rounded\" | \"rounded-left\" | \"rounded-right\" | \"square\"",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "Shape / corner rounding variant. Matches Webflow's `.image-fill.rounded-*`\npatterns where only one edge is rounded so the image bleeds into a\nneighbouring section.\n- `rounded` (default) \u2014 symmetric rounded corners on all four sides.\n- `rounded-left` \u2014 rounded only on the left edge (top-left + bottom-left).\n- `rounded-right` \u2014 rounded only on the right edge.\n- `square` \u2014 no corner rounding."
|
|
87
|
+
},
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
90
|
+
"reflect": false,
|
|
91
|
+
"attribute": "shape",
|
|
92
|
+
"defaultValue": "'rounded'"
|
|
61
93
|
}
|
|
62
94
|
};
|
|
63
95
|
}
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
gap: 16px;
|
|
213
213
|
max-width: 840px;
|
|
214
214
|
width: 100%;
|
|
215
|
-
white-space:
|
|
215
|
+
white-space: normal;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/* ==========================================================================
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
letter-spacing: -0.88px;
|
|
233
233
|
color: var(--banner-heading-color, var(--colour-brand-inkwell, #14343b));
|
|
234
234
|
margin: 0;
|
|
235
|
-
white-space:
|
|
235
|
+
white-space: normal;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* ==========================================================================
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
line-height: 26px;
|
|
253
253
|
color: var(--banner-body-color, var(--colour-inkwell-400, #2b484f));
|
|
254
254
|
margin: 0;
|
|
255
|
-
white-space:
|
|
255
|
+
white-space: normal;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
/* ==========================================================================
|
|
@@ -284,6 +284,7 @@
|
|
|
284
284
|
- Illustration: 212px x 212px, positioned at top: 12px, centered horizontally
|
|
285
285
|
========================================================================== */
|
|
286
286
|
|
|
287
|
+
/* mobile-only */
|
|
287
288
|
@media (max-width: 768px) {
|
|
288
289
|
.banner {
|
|
289
290
|
flex-direction: column;
|
|
@@ -355,6 +356,7 @@
|
|
|
355
356
|
Small Mobile (≤480px)
|
|
356
357
|
========================================================================== */
|
|
357
358
|
|
|
359
|
+
/* ≤ small */
|
|
358
360
|
@media (max-width: 480px) {
|
|
359
361
|
.banner {
|
|
360
362
|
padding-top: 200px;
|
|
@@ -22,6 +22,16 @@ import { h, Host } from "@stencil/core";
|
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* Alternatively, use the `illustration` slot for completely custom content.
|
|
25
|
+
*
|
|
26
|
+
* **Slot-based composition (preferred for rich content):**
|
|
27
|
+
* - `heading` — heading markup (overrides the `heading` prop when provided).
|
|
28
|
+
* - `description` — description markup (overrides the `description` prop).
|
|
29
|
+
* - `buttons` — custom button group (overrides the primary/secondary button
|
|
30
|
+
* props; use when you need ghost variants, more than two buttons, or
|
|
31
|
+
* per-button icons).
|
|
32
|
+
* - `illustration` — custom illustration markup.
|
|
33
|
+
*
|
|
34
|
+
* The string props remain supported for simple cases.
|
|
25
35
|
*/
|
|
26
36
|
export class AfInPageBanner {
|
|
27
37
|
constructor() {
|
|
@@ -56,7 +66,7 @@ export class AfInPageBanner {
|
|
|
56
66
|
return (h("div", { class: "banner__wave-overlay", "aria-hidden": "true" }, h("svg", { viewBox: "0 0 521 323", fill: "none", xmlns: "http://www.w3.org/2000/svg", class: "banner__wave-svg" }, h("path", { d: "M473.775 46.273C443.539 15.92 403.701 -0.631616 361.351 0.0184478H154.183L112.67 67.225H361.893C362.189 67.225 362.533 67.225 362.829 67.225C387.155 67.225 410.004 76.7259 427.289 94.0776C445.017 111.879 454.816 135.682 454.816 161.134C454.816 213.389 412.959 255.843 361.548 255.843H108.041C84.9457 255.843 66.1345 236.742 66.1345 213.289C66.1345 189.837 84.9949 170.435 107.992 169.735H334.957L377.799 102.528H106.859C47.9636 104.029 0 153.683 0 213.289C0 272.895 48.456 323 108.041 323H361.548C449.449 323 521 250.343 521 161.084C521 117.53 504.257 76.7759 473.824 46.2229L473.775 46.273Z", fill: "currentColor" }))));
|
|
57
67
|
}
|
|
58
68
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '1f14f0d7df4f632817b7e8c955b8249a5a3d2ce4' }, h("div", { key: '0fc90536d6d5b65912fca02d3c74019bee067133', class: `banner theme-${this.theme}` }, this.showWaveDecoration && this.renderWaveOverlay(), h("div", { key: 'c70ea65d7536efbceb8fc3f2e6d714d56c2d5be9', class: "banner__illustration" }, this.illustrationUrl ? (h("img", { src: this.illustrationUrl, alt: "", class: "banner__illustration-img", loading: "lazy" })) : (h("slot", { name: "illustration" }))), h("div", { key: 'c209db43fd9a559854b73268f7b8a19b7c1a3268', class: "banner__content" }, h("div", { key: '7b1898662500a54e7dbf500646017f43ffe21e23', class: "banner__copy" }, h("h2", { key: '443078b848ee5ca1725ab960fc844e0f5d106ef7', class: "banner__heading" }, h("slot", { key: '10ce17b8014571ec6bc61cbda03b3881f2741215', name: "heading" }, this.heading)), h("div", { key: '3c43d4d4dd4c4c708891fdd3398de996a7b08d04', class: "banner__description" }, h("slot", { key: 'd58a7f5d4bea7dc2e4ce1dee10a99f19753427b4', name: "description" }, this.description))), h("div", { key: 'c10df7f70cb8ac0dd0d5e63e34a6fbc8fef9c62f', class: "banner__buttons" }, h("slot", { key: 'ff5cf411dee854f14fdbecda0bc8aac4b01b4abf', name: "buttons" }, this.primaryButtonText && (h("af-button", { key: 'c8da6aa83a13a9b8a7e892de29b1914aa5ae41c1', href: this.primaryButtonUrl, variant: "primary" }, this.primaryButtonText)), this.secondaryButtonText && (h("af-button", { key: '42b8ba18fa9d15539ab2c80af98da504d8b14013', href: this.secondaryButtonUrl, variant: "secondary" }, this.secondaryButtonText))))))));
|
|
60
70
|
}
|
|
61
71
|
static get is() { return "af-in-page-banner"; }
|
|
62
72
|
static get encapsulation() { return "scoped"; }
|