@affinda/wc 0.0.22 → 0.0.24
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-04a096ee.entry.js +1 -0
- package/dist/affinda/{p-20fe557e.entry.js → p-0c408447.entry.js} +1 -1
- package/dist/affinda/{p-0ae3495c.entry.js → p-1d94a137.entry.js} +1 -1
- package/dist/affinda/p-1f51e065.entry.js +1 -0
- package/dist/affinda/{p-d9cfea73.entry.js → p-21b7ea67.entry.js} +1 -1
- package/dist/affinda/p-26362b90.entry.js +1 -0
- package/dist/affinda/{p-8742f8fe.entry.js → p-29fd5654.entry.js} +1 -1
- package/dist/affinda/p-2e1df315.entry.js +1 -0
- package/dist/affinda/{p-404f2cea.entry.js → p-39967eba.entry.js} +1 -1
- package/dist/affinda/{p-00a226ba.entry.js → p-3b4fb1a5.entry.js} +1 -1
- package/dist/affinda/p-40456eb5.entry.js +1 -0
- package/dist/affinda/{p-854f6a9e.entry.js → p-416836f3.entry.js} +1 -1
- package/dist/affinda/p-43c24797.entry.js +1 -0
- package/dist/affinda/{p-f825b81f.entry.js → p-45d62b98.entry.js} +1 -1
- package/dist/affinda/{p-26a60b00.entry.js → p-470b9a06.entry.js} +1 -1
- package/dist/affinda/p-4758f89c.entry.js +1 -0
- package/dist/affinda/{p-8c394de2.entry.js → p-4844d749.entry.js} +1 -1
- package/dist/affinda/p-4c362739.entry.js +1 -0
- package/dist/affinda/p-5636afa9.entry.js +1 -0
- package/dist/affinda/p-6059b95e.entry.js +1 -0
- package/dist/affinda/p-60cf2a82.entry.js +1 -0
- package/dist/affinda/p-65207722.entry.js +1 -0
- package/dist/affinda/{p-7ed6ee6a.entry.js → p-66dd6356.entry.js} +1 -1
- package/dist/affinda/{p-6c99b2bb.entry.js → p-678cb08c.entry.js} +1 -1
- package/dist/affinda/p-6c10d037.entry.js +1 -0
- package/dist/affinda/p-6d43ed06.entry.js +1 -0
- package/dist/affinda/p-6dc635ec.entry.js +1 -0
- package/dist/affinda/p-6f5d8680.entry.js +1 -0
- package/dist/affinda/p-7bc1ed79.entry.js +1 -0
- package/dist/affinda/{p-2d4c1202.entry.js → p-7c4f05a7.entry.js} +1 -1
- package/dist/affinda/p-821c1522.entry.js +1 -0
- package/dist/affinda/{p-81de8fbd.entry.js → p-8c34efbb.entry.js} +1 -1
- package/dist/affinda/p-9405394d.entry.js +1 -0
- package/dist/affinda/p-ad71a40c.entry.js +1 -0
- package/dist/affinda/{p-468d16b1.entry.js → p-b0babcae.entry.js} +1 -1
- package/dist/affinda/p-b435de99.entry.js +1 -0
- package/dist/affinda/{p-e61dfb97.entry.js → p-b563bb90.entry.js} +1 -1
- package/dist/affinda/{p-f79781ff.entry.js → p-c1cb8ef8.entry.js} +1 -1
- package/dist/affinda/{p-9018ddec.entry.js → p-c1df7855.entry.js} +1 -1
- package/dist/affinda/p-c83e8184.entry.js +1 -0
- package/dist/affinda/p-d3d9eac1.entry.js +1 -0
- package/dist/affinda/p-d3e3653e.entry.js +1 -0
- package/dist/affinda/{p-589a860a.entry.js → p-da9d1f7d.entry.js} +1 -1
- package/dist/affinda/{p-289cb56f.entry.js → p-dce846f2.entry.js} +1 -1
- package/dist/affinda/p-ddd41c87.entry.js +1 -0
- package/dist/affinda/{p-0264279f.entry.js → p-e169a37b.entry.js} +1 -1
- package/dist/affinda/p-e91ef47c.entry.js +1 -0
- package/dist/affinda/{p-b9f58a18.entry.js → p-fb01c4e0.entry.js} +1 -1
- package/dist/cjs/af-accordion-item.cjs.entry.js +27 -1
- package/dist/cjs/af-accordion.cjs.entry.js +1 -1
- package/dist/cjs/af-button.cjs.entry.js +4 -5
- 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 +30 -2
- package/dist/cjs/af-contact-item.cjs.entry.js +1 -1
- package/dist/cjs/af-container.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 +2 -2
- 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 +2 -2
- package/dist/cjs/af-grid.cjs.entry.js +3 -3
- package/dist/cjs/af-heading_5.cjs.entry.js +98 -21
- 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 +2 -12
- 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 +17 -2
- package/dist/cjs/af-nav-accordion.cjs.entry.js +1 -1
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +8 -7
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +2 -2
- 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-text-image.cjs.entry.js +2 -1
- package/dist/cjs/af-theme-override.cjs.entry.js +2 -2
- package/dist/cjs/af-typography-lockup.cjs.entry.js +28 -3
- 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 +27 -1
- package/dist/collection/components/af-button/af-button.css +24 -24
- package/dist/collection/components/af-button/af-button.js +9 -10
- 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.css +17 -2
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +41 -5
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
- package/dist/collection/components/af-container/af-container.css +6 -11
- package/dist/collection/components/af-divider/af-divider.js +1 -1
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.css +2 -0
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -2
- package/dist/collection/components/af-feature-card/af-feature-card.css +1 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.css +6 -4
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -1
- package/dist/collection/components/af-footer/af-footer.css +11 -4
- 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.css +5 -2
- package/dist/collection/components/af-grid/af-grid.js +2 -2
- package/dist/collection/components/af-grid-callout/af-grid-callout.css +2 -0
- package/dist/collection/components/af-heading/af-heading.css +19 -32
- 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.css +1 -0
- package/dist/collection/components/af-icon-text/af-icon-text.js +3 -3
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +3 -4
- package/dist/collection/components/af-image/af-image.css +4 -21
- package/dist/collection/components/af-image/af-image.js +1 -33
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +3 -3
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +1 -11
- package/dist/collection/components/af-inline/af-inline.js +1 -1
- package/dist/collection/components/af-logo-well/af-logo-well.css +1 -0
- 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 +19 -4
- package/dist/collection/components/af-nav-item/af-nav-item.css +5 -8
- package/dist/collection/components/af-nav-item/af-nav-item.js +31 -4
- 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.css +25 -1
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -1
- package/dist/collection/components/af-navbar/af-navbar.css +30 -14
- package/dist/collection/components/af-navbar/af-navbar.js +89 -14
- 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 +15 -15
- package/dist/collection/components/af-section/af-section.js +2 -2
- package/dist/collection/components/af-show/af-show.css +4 -4
- 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.css +1 -0
- 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.css +1 -0
- package/dist/collection/components/af-stepper/af-stepper.js +1 -1
- package/dist/collection/components/af-stepper-step/af-stepper-step.css +1 -0
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -1
- package/dist/collection/components/af-tag/af-tag.css +21 -41
- package/dist/collection/components/af-tag/af-tag.js +13 -16
- package/dist/collection/components/af-testimonial/af-testimonial.css +24 -29
- package/dist/collection/components/af-testimonial/af-testimonial.js +6 -14
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.css +8 -0
- 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/af-text-image.css +10 -0
- package/dist/collection/components/af-text-image/af-text-image.js +4 -3
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.css +1 -0
- 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 +4 -22
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +49 -3
- package/dist/collection/components/af-video-container/af-video-container.css +1 -0
- 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-container.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-heading.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-item.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-2f5xVWwF.js +1 -0
- package/dist/components/{p-DPujlxcb.js → p-B7-0t_dL.js} +1 -1
- package/dist/components/p-B7lJGMfD.js +1 -0
- package/dist/components/p-BAJW_4SY.js +1 -0
- package/dist/components/{p-9SgEr6QK.js → p-BE3eM0xx.js} +1 -1
- package/dist/components/p-BMwWkh8F.js +1 -0
- package/dist/components/p-BvLGR36l.js +1 -0
- package/dist/components/p-C5_nFNYV.js +1 -0
- package/dist/components/p-CB_hDYLo.js +1 -0
- package/dist/components/p-CRW9bpXa.js +1 -0
- package/dist/components/p-Cv9-Wbu_.js +1 -0
- package/dist/components/p-CwPFdy8d.js +1 -0
- package/dist/components/p-oawfHsaK.js +1 -0
- package/dist/components/p-wM1k9Wi7.js +1 -0
- package/dist/esm/af-accordion-item.entry.js +27 -1
- package/dist/esm/af-accordion.entry.js +1 -1
- package/dist/esm/af-button.entry.js +4 -5
- 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 +31 -3
- package/dist/esm/af-contact-item.entry.js +1 -1
- package/dist/esm/af-container.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 +2 -2
- 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 +2 -2
- package/dist/esm/af-grid.entry.js +3 -3
- package/dist/esm/af-heading_5.entry.js +98 -21
- 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 +2 -12
- 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 +17 -2
- package/dist/esm/af-nav-accordion.entry.js +1 -1
- package/dist/esm/af-nav-menu-nest.entry.js +2 -2
- 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 +2 -2
- 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 +8 -7
- package/dist/esm/af-testimonial-carousel.entry.js +2 -2
- 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-text-image.entry.js +2 -1
- package/dist/esm/af-theme-override.entry.js +2 -2
- package/dist/esm/af-typography-lockup.entry.js +29 -4
- 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 +5 -6
- package/dist/types/components/af-client-carousel/af-client-carousel.d.ts +26 -3
- 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 +2 -3
- package/dist/types/components/af-image/af-image.d.ts +0 -10
- package/dist/types/components/af-in-page-banner/af-in-page-banner.d.ts +0 -10
- package/dist/types/components/af-nav-accordion-item/af-nav-accordion-item.d.ts +9 -0
- package/dist/types/components/af-nav-item/af-nav-item.d.ts +14 -0
- package/dist/types/components/af-navbar/af-navbar.d.ts +31 -8
- package/dist/types/components/af-tag/af-tag.d.ts +7 -10
- package/dist/types/components/af-testimonial/af-testimonial.d.ts +2 -11
- package/dist/types/components/af-text-image/af-text-image.d.ts +2 -1
- package/dist/types/components/af-typography-lockup/af-typography-lockup.d.ts +26 -1
- package/dist/types/components.d.ts +180 -115
- package/package.json +1 -1
- package/dist/affinda/p-09184969.entry.js +0 -1
- package/dist/affinda/p-0c6b7f0b.entry.js +0 -1
- package/dist/affinda/p-14c85efd.entry.js +0 -1
- package/dist/affinda/p-2c0c94c5.entry.js +0 -1
- package/dist/affinda/p-2ce405df.entry.js +0 -1
- package/dist/affinda/p-2f1e0c44.entry.js +0 -1
- package/dist/affinda/p-3899a278.entry.js +0 -1
- package/dist/affinda/p-46efe4e4.entry.js +0 -1
- package/dist/affinda/p-63e86a14.entry.js +0 -1
- package/dist/affinda/p-9fea6229.entry.js +0 -1
- package/dist/affinda/p-a5f7d3d6.entry.js +0 -1
- package/dist/affinda/p-a8af25d5.entry.js +0 -1
- package/dist/affinda/p-af9e25ea.entry.js +0 -1
- package/dist/affinda/p-bd3f81fc.entry.js +0 -1
- package/dist/affinda/p-ca14e17a.entry.js +0 -1
- package/dist/affinda/p-cb889d6b.entry.js +0 -1
- package/dist/affinda/p-cbf0911b.entry.js +0 -1
- package/dist/affinda/p-d7129564.entry.js +0 -1
- package/dist/affinda/p-df7b1b09.entry.js +0 -1
- package/dist/affinda/p-e0915179.entry.js +0 -1
- package/dist/affinda/p-e3cd6671.entry.js +0 -1
- package/dist/affinda/p-e6b4761c.entry.js +0 -1
- package/dist/affinda/p-ef754e65.entry.js +0 -1
- package/dist/affinda/p-f3d5d1be.entry.js +0 -1
- package/dist/affinda/p-fc1452ba.entry.js +0 -1
- package/dist/affinda/p-ffdd2c30.entry.js +0 -1
- package/dist/components/p-B6I3yxMd.js +0 -1
- package/dist/components/p-BUFbtjxU.js +0 -1
- package/dist/components/p-BXFj61qz.js +0 -1
- package/dist/components/p-BeVM-2kH.js +0 -1
- package/dist/components/p-BlfywPKX.js +0 -1
- package/dist/components/p-BzH2LxRQ.js +0 -1
- package/dist/components/p-CHNaDIj5.js +0 -1
- package/dist/components/p-CTcar4TG.js +0 -1
- package/dist/components/p-DOJEJFNa.js +0 -1
- package/dist/components/p-UTiuvQaz.js +0 -1
- package/dist/components/p-tB2jS8S_.js +0 -1
- package/dist/components/p-tF59ipRp.js +0 -1
|
@@ -34,7 +34,7 @@ export class AfNumberBadge {
|
|
|
34
34
|
height: `${this.size}px`,
|
|
35
35
|
fontSize: `${fontSize}px`,
|
|
36
36
|
};
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '9966db4536a1ce0b5e35a65aa63ea5c0771e8a9a', role: "img", "aria-label": `Number ${this.number}${isInCircle ? ' badge' : ''}` }, h("span", { key: 'a963bb7feea690d898228a3a0d076e079994cdf4', class: {
|
|
38
38
|
'badge': true,
|
|
39
39
|
[`variant-${this.variant}`]: true,
|
|
40
40
|
}, style: badgeStyle }, this.number)));
|
|
@@ -21,10 +21,10 @@ export class AfProgressLine {
|
|
|
21
21
|
// Clamp progress between 0 and 1
|
|
22
22
|
const clampedProgress = Math.max(0, Math.min(1, this.progress));
|
|
23
23
|
const progressPercent = clampedProgress * 100;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '9a6fac61d82f79f36a4cb60e929e96449de232a8' }, h("div", { key: '1d535263ab6274466280caebcaf52052adfbb4b5', class: {
|
|
25
25
|
'progress-line': true,
|
|
26
26
|
[`progress-line--${this.orientation}`]: true,
|
|
27
|
-
}, role: "progressbar", "aria-valuenow": Math.round(progressPercent), "aria-valuemin": 0, "aria-valuemax": 100 }, h("div", { key: '
|
|
27
|
+
}, role: "progressbar", "aria-valuenow": Math.round(progressPercent), "aria-valuemin": 0, "aria-valuemax": 100 }, h("div", { key: '6f479550cd91f8c4f5a256546ed80a09498d6bba', class: "progress-line__background" }), h("div", { key: 'b0f6e719cdede111f7a15651d9f5289456dbddf4', class: "progress-line__active", style: { width: `${progressPercent}%` } }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "af-progress-line"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
75
75
|
|
|
76
76
|
/* Button - Tertiary */
|
|
77
|
-
--af-button-
|
|
78
|
-
--af-button-
|
|
79
|
-
--af-button-
|
|
77
|
+
--af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
|
|
78
|
+
--af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
|
|
79
|
+
--af-button-tertiary-stroke: var(--colour-brand-soft-clay, #B09670);
|
|
80
80
|
|
|
81
81
|
/* Input tokens */
|
|
82
82
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -148,9 +148,9 @@
|
|
|
148
148
|
--af-button-secondary-stroke: var(--colour-brand-white, #ffffff);
|
|
149
149
|
|
|
150
150
|
/* Button - Tertiary */
|
|
151
|
-
--af-button-
|
|
152
|
-
--af-button-
|
|
153
|
-
--af-button-
|
|
151
|
+
--af-button-tertiary-text: var(--colour-brand-white, #ffffff);
|
|
152
|
+
--af-button-tertiary-icon: var(--colour-brand-white, #ffffff);
|
|
153
|
+
--af-button-tertiary-stroke: var(--colour-brand-ice, #A6FFFB);
|
|
154
154
|
|
|
155
155
|
/* Input tokens */
|
|
156
156
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -222,9 +222,9 @@
|
|
|
222
222
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
223
223
|
|
|
224
224
|
/* Button - Tertiary */
|
|
225
|
-
--af-button-
|
|
226
|
-
--af-button-
|
|
227
|
-
--af-button-
|
|
225
|
+
--af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
|
|
226
|
+
--af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
|
|
227
|
+
--af-button-tertiary-stroke: var(--colour-brand-soft-clay, #B09670);
|
|
228
228
|
|
|
229
229
|
/* Input tokens */
|
|
230
230
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -296,9 +296,9 @@
|
|
|
296
296
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
297
297
|
|
|
298
298
|
/* Button - Tertiary */
|
|
299
|
-
--af-button-
|
|
300
|
-
--af-button-
|
|
301
|
-
--af-button-
|
|
299
|
+
--af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
|
|
300
|
+
--af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
|
|
301
|
+
--af-button-tertiary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
302
302
|
|
|
303
303
|
/* Input tokens */
|
|
304
304
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -370,9 +370,9 @@
|
|
|
370
370
|
--af-button-secondary-stroke: var(--colour-brand-inkwell, #14343b);
|
|
371
371
|
|
|
372
372
|
/* Button - Tertiary */
|
|
373
|
-
--af-button-
|
|
374
|
-
--af-button-
|
|
375
|
-
--af-button-
|
|
373
|
+
--af-button-tertiary-text: var(--colour-brand-inkwell, #14343b);
|
|
374
|
+
--af-button-tertiary-icon: var(--colour-brand-inkwell, #14343b);
|
|
375
|
+
--af-button-tertiary-stroke: var(--colour-brand-soft-clay, #b09670);
|
|
376
376
|
|
|
377
377
|
/* Input tokens */
|
|
378
378
|
--af-input-label: var(--af-typography-body-dark);
|
|
@@ -13,8 +13,8 @@ export class AfSection {
|
|
|
13
13
|
this.container = true;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
const content = h("slot", { key: '
|
|
17
|
-
return (h(Host, { key: '
|
|
16
|
+
const content = h("slot", { key: 'ae8f8342af2711fb23030adbd27d08ce89578ecb' });
|
|
17
|
+
return (h(Host, { key: 'bc6fba7cc81e35662dfb68621021136065b6e198' }, h("div", { key: '46d1700bb966cafb88a78ecc750d558b16942e79', class: `section padding-${this.padding} theme-${this.theme}` }, this.container ? (h("af-container", null, content)) : content)));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "af-section"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* Show above breakpoints (hidden below) */
|
|
10
|
-
/* sm:
|
|
10
|
+
/* sm: 480px (small) */
|
|
11
11
|
:host(.show-above-sm) {
|
|
12
12
|
display: none;
|
|
13
13
|
}
|
|
14
|
-
@media (min-width:
|
|
14
|
+
@media (min-width: 480px) {
|
|
15
15
|
:host(.show-above-sm) {
|
|
16
16
|
display: contents;
|
|
17
17
|
}
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Show below breakpoints (hidden at or above) */
|
|
51
|
-
/* sm:
|
|
52
|
-
@media (min-width:
|
|
51
|
+
/* sm: 480px (small) */
|
|
52
|
+
@media (min-width: 480px) {
|
|
53
53
|
:host(.show-below-sm) {
|
|
54
54
|
display: none;
|
|
55
55
|
}
|
|
@@ -18,7 +18,7 @@ export class AfShow {
|
|
|
18
18
|
[`show-above-${this.above}`]: !!this.above,
|
|
19
19
|
[`show-below-${this.below}`]: !!this.below,
|
|
20
20
|
};
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'b88e3f6dedeb0a8cc4f69b3c9915a4fb0a115df7', class: classes }, h("slot", { key: '55f89874b70bbcc636e615556f11e99baeafad73' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-show"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class AfSocialLink {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'd8875f8b62e560cd11e71f6c6b2baf219aef96d2' }, h("a", { key: 'a6e5c064945372150306b6aeb294b13659b565f4', href: this.href, target: "_blank", rel: "noopener noreferrer", class: "social-link", "aria-label": this.label }, this.renderIcon())));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "af-social-link"; }
|
|
35
35
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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: 'e3d8bff163b92ef7caf5802947556444ce2f1a48', 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: 'bc307598c8f20de642f691d1bd02269cbd34738c' });
|
|
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: 'd96957b3dc7f8daea9f3480269fde7116c587461' }, h("div", { key: 'f274ae8e50c5b1fa9f59b54a1bce3dbb5408a77b', 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: '72e0cbdd57b5f300e1957549d225f72ae4cdc2d2', style: style }, h("slot", { key: '9f71bea28b78fa1fcb414e5f3e2b9f9e68d7962d' })));
|
|
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: 'a9c2328058c0495bbec34d3a08deb0375e2f6dae', class: `stepper stepper--${this.orientation}` }, h("div", { key: '91fb9864b86a9c2b44e84db1356099ebf5d119f3', class: "stepper__connector", "aria-hidden": "true" }), h("slot", { key: '680bf938f006e4696882aa55f7ca6fa02bcf4db4' })));
|
|
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: 'b91b1f537b806fcd529fa52e67399f6be16bca5d' }, h("span", { key: '9622f4f96632b3ba69144afd82a6787e32eb7c2c', class: "stepper-step__badge" }, this.index), h("div", { key: '315447d305191d0b74116a486454c9b4b5f6dd22', class: "stepper-step__content" }, h("div", { key: 'fc838c36ffa5ca04d798faabb1c1fa6fd446ee2a', class: "stepper-step__heading" }, h("slot", { key: '24199d97434f81e1d635cdb3a06a9946d27f969b', name: "heading" })), h("div", { key: 'ad23f7a9e6459a9ac9459202901d144df44c2f03', class: "stepper-step__body" }, h("slot", { key: '66a4b92593430b057479e15b2a0d47f5a10eb229', name: "body" })))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-stepper-step"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,77 +17,54 @@
|
|
|
17
17
|
cursor: default;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/* Make links look clickable */
|
|
20
21
|
a.tag {
|
|
21
22
|
cursor: pointer;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
/* ==========================================================================
|
|
25
|
-
VARIANT:
|
|
26
|
+
VARIANT: SAND (Soft-clay/tan colored - default)
|
|
26
27
|
========================================================================== */
|
|
27
28
|
|
|
28
|
-
.tag.variant-
|
|
29
|
-
background-color: var(--af-tag-bg, var(--colour-brand-soft-clay, #b09670));
|
|
30
|
-
color: var(--af-tag-text, var(--colour-brand-inkwell, #14343b));
|
|
29
|
+
.tag.variant-sand {
|
|
30
|
+
background-color: var(--af-tag-sand-bg, var(--colour-brand-soft-clay, #b09670));
|
|
31
|
+
color: var(--af-tag-sand-text, var(--colour-brand-inkwell, #14343b));
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
.tag.variant-
|
|
34
|
-
background-color: var(--af-tag-bg-hover, var(--colour-
|
|
34
|
+
.tag.variant-sand:hover {
|
|
35
|
+
background-color: var(--af-tag-sand-bg-hover, var(--colour-softclay-400, #c0ab8d));
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
/* ==========================================================================
|
|
38
|
-
|
|
39
|
+
VARIANT: LIGHT (Mist-green/light colored)
|
|
39
40
|
========================================================================== */
|
|
40
41
|
|
|
41
|
-
.tag.variant-
|
|
42
|
-
background-color: var(--colour-
|
|
43
|
-
color: var(--colour-brand-
|
|
42
|
+
.tag.variant-light {
|
|
43
|
+
background-color: var(--af-tag-light-bg, var(--colour-background-level1, #e8eeed));
|
|
44
|
+
color: var(--af-tag-light-text, var(--colour-brand-inkwell, #14343b));
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
.tag.variant-
|
|
47
|
-
background-color: var(--colour-tints-
|
|
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);
|
|
47
|
+
.tag.variant-light:hover {
|
|
48
|
+
background-color: var(--af-tag-light-bg-hover, var(--colour-tints-mist-green-200, #d2e8e3));
|
|
75
49
|
}
|
|
76
50
|
|
|
77
51
|
/* ==========================================================================
|
|
78
52
|
SIZES
|
|
79
53
|
========================================================================== */
|
|
80
54
|
|
|
55
|
+
/* Size: X-Small */
|
|
81
56
|
.tag.size-x-small {
|
|
82
57
|
padding: 6px 10px;
|
|
83
58
|
font-size: var(--font-size-label-tag, 14px);
|
|
84
59
|
}
|
|
85
60
|
|
|
61
|
+
/* Size: Small */
|
|
86
62
|
.tag.size-small {
|
|
87
63
|
padding: 8px 12px;
|
|
88
64
|
font-size: var(--font-size-label-tag, 14px);
|
|
89
65
|
}
|
|
90
66
|
|
|
67
|
+
/* Size: Large */
|
|
91
68
|
.tag.size-large {
|
|
92
69
|
padding: 12px 16px;
|
|
93
70
|
font-size: var(--font-size-body-large, 18px);
|
|
@@ -97,16 +74,19 @@ a.tag {
|
|
|
97
74
|
FOCUS STATES
|
|
98
75
|
========================================================================== */
|
|
99
76
|
|
|
77
|
+
/* Focus state */
|
|
100
78
|
.tag:focus {
|
|
101
79
|
outline: none;
|
|
102
|
-
box-shadow:
|
|
80
|
+
box-shadow:
|
|
103
81
|
0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
|
|
104
82
|
0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
105
83
|
}
|
|
106
84
|
|
|
85
|
+
/* Focus visible for keyboard navigation */
|
|
107
86
|
.tag:focus-visible {
|
|
108
87
|
outline: none;
|
|
109
|
-
box-shadow:
|
|
88
|
+
box-shadow:
|
|
110
89
|
0 0 0 4px var(--af-background-base, var(--colour-background-white, #ffffff)),
|
|
111
90
|
0 0 0 5px var(--af-button-secondary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
112
91
|
}
|
|
92
|
+
|
|
@@ -3,15 +3,11 @@ 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
|
-
*
|
|
10
6
|
* @example
|
|
11
7
|
* ```html
|
|
12
8
|
* <af-tag>AI</af-tag>
|
|
13
|
-
* <af-tag size="small"
|
|
14
|
-
* <af-tag size="large" variant="
|
|
9
|
+
* <af-tag size="small">Machine Learning</af-tag>
|
|
10
|
+
* <af-tag size="large" variant="light">Document Processing</af-tag>
|
|
15
11
|
* ```
|
|
16
12
|
*/
|
|
17
13
|
export class AfTag {
|
|
@@ -19,24 +15,25 @@ export class AfTag {
|
|
|
19
15
|
/**
|
|
20
16
|
* The size of the tag
|
|
21
17
|
* - `x-small` - Compact tag with minimal padding
|
|
22
|
-
* - `small` - Small tag with moderate padding
|
|
18
|
+
* - `small` - Small tag with moderate padding
|
|
23
19
|
* - `large` - Large tag with generous padding
|
|
24
20
|
*/
|
|
25
21
|
this.size = 'small';
|
|
26
22
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
23
|
+
* The visual variant of the tag
|
|
24
|
+
* - `sand` - Soft-clay/tan colored background (default)
|
|
25
|
+
* - `light` - Mist-green/light colored background
|
|
29
26
|
*/
|
|
30
|
-
this.variant = '
|
|
27
|
+
this.variant = 'sand';
|
|
31
28
|
}
|
|
32
29
|
render() {
|
|
33
30
|
const TagElement = this.href ? 'a' : 'span';
|
|
34
31
|
const linkProps = this.href ? { href: this.href } : {};
|
|
35
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '0decd339f953b58f2bdc9adbe445fa2f0a2c3bf1' }, h(TagElement, { key: '9ae4d069098dd3d1caafac4918736921a76ffece', class: {
|
|
36
33
|
'tag': true,
|
|
37
34
|
[`size-${this.size}`]: true,
|
|
38
35
|
[`variant-${this.variant}`]: true,
|
|
39
|
-
}, ...linkProps }, h("slot", { key: '
|
|
36
|
+
}, ...linkProps }, h("slot", { key: '2fcbbe7cc9c3954dbca1d1bff72d5c220c4afecc' }))));
|
|
40
37
|
}
|
|
41
38
|
static get is() { return "af-tag"; }
|
|
42
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -70,7 +67,7 @@ export class AfTag {
|
|
|
70
67
|
"optional": false,
|
|
71
68
|
"docs": {
|
|
72
69
|
"tags": [],
|
|
73
|
-
"text": "The size of the tag\n- `x-small` - Compact tag with minimal padding\n- `small` - Small tag with moderate padding
|
|
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"
|
|
74
71
|
},
|
|
75
72
|
"getter": false,
|
|
76
73
|
"setter": false,
|
|
@@ -83,7 +80,7 @@ export class AfTag {
|
|
|
83
80
|
"mutable": false,
|
|
84
81
|
"complexType": {
|
|
85
82
|
"original": "TagVariant",
|
|
86
|
-
"resolved": "\"
|
|
83
|
+
"resolved": "\"light\" | \"sand\"",
|
|
87
84
|
"references": {
|
|
88
85
|
"TagVariant": {
|
|
89
86
|
"location": "local",
|
|
@@ -96,13 +93,13 @@ export class AfTag {
|
|
|
96
93
|
"optional": false,
|
|
97
94
|
"docs": {
|
|
98
95
|
"tags": [],
|
|
99
|
-
"text": "
|
|
96
|
+
"text": "The visual variant of the tag\n- `sand` - Soft-clay/tan colored background (default)\n- `light` - Mist-green/light colored background"
|
|
100
97
|
},
|
|
101
98
|
"getter": false,
|
|
102
99
|
"setter": false,
|
|
103
100
|
"reflect": false,
|
|
104
101
|
"attribute": "variant",
|
|
105
|
-
"defaultValue": "'
|
|
102
|
+
"defaultValue": "'sand'"
|
|
106
103
|
},
|
|
107
104
|
"href": {
|
|
108
105
|
"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: 40.5%;
|
|
20
20
|
min-width: 300px;
|
|
21
21
|
/* Minimum for readability */
|
|
22
22
|
max-width: 519px;
|
|
@@ -84,47 +84,42 @@
|
|
|
84
84
|
flex-shrink: 0;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
/* Quote text
|
|
88
|
-
`quote` prop (rendered as plain text) or the `quote-body` slot (rich). */
|
|
87
|
+
/* Quote text - layout only, typography comes from af-text */
|
|
89
88
|
.testimonial-text {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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;
|
|
89
|
+
max-height: 155px;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
text-overflow: ellipsis;
|
|
110
92
|
}
|
|
111
93
|
|
|
112
94
|
/* Attribution uses body-dark color for emphasis */
|
|
113
95
|
.testimonial-attribution {
|
|
114
|
-
|
|
115
|
-
font-size: 16px;
|
|
116
|
-
line-height: 24px;
|
|
117
|
-
color: var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343b));
|
|
118
|
-
margin-top: 12px;
|
|
96
|
+
--af-typography-body-default: var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343b));
|
|
119
97
|
}
|
|
120
98
|
|
|
121
99
|
.testimonial-stats {
|
|
122
|
-
display:
|
|
100
|
+
display: grid;
|
|
101
|
+
grid-template-columns: repeat(4, 1fr);
|
|
123
102
|
gap: 32px;
|
|
124
103
|
width: 100%;
|
|
125
104
|
flex-shrink: 0;
|
|
126
105
|
}
|
|
127
106
|
|
|
107
|
+
/* ≥ mobile and ≤ tablet — 2-column intermediate layout so the stats row
|
|
108
|
+
* doesn't snap straight from 4-across to 1-across on common iPad / narrow
|
|
109
|
+
* laptop widths. */
|
|
110
|
+
@media (min-width: 768px) and (max-width: 1023px) {
|
|
111
|
+
.testimonial-stats {
|
|
112
|
+
grid-template-columns: repeat(2, 1fr);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* ≤ mobile — single column stack */
|
|
117
|
+
@media (max-width: 767px) {
|
|
118
|
+
.testimonial-stats {
|
|
119
|
+
grid-template-columns: 1fr;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
128
123
|
.testimonial-footer {
|
|
129
124
|
display: flex;
|
|
130
125
|
align-items: center;
|
|
@@ -1,12 +1,4 @@
|
|
|
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
|
-
*/
|
|
10
2
|
export class AfTestimonial {
|
|
11
3
|
constructor() {
|
|
12
4
|
/**
|
|
@@ -29,11 +21,11 @@ export class AfTestimonial {
|
|
|
29
21
|
};
|
|
30
22
|
}
|
|
31
23
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '33b2a19b7f369227cdfcf6eee289fb834d5b6329' }, h("div", { key: '761a3e5c92a22b2ad88d0a76bf9ef8f6002cdbce', class: "testimonial-card" }, h("div", { key: '8d4d5287881cec18e5b1d64b2463ed2c07460d07', class: "testimonial-image" }, this.backgroundImage && (h("img", { key: 'a976c752ab87e3f5da7582f97b54d50ee5c1a1cd', src: this.backgroundImage, alt: "", class: "testimonial-bg-image" })), this.logoImage && (h("div", { key: 'f8141dc44ac5c28ab1141cc1d9d855467cdf8b09', class: "testimonial-logo" }, h("img", { key: '65ef7ab84bdae5e47ecfdda2f8336fd83fa90c7a', src: this.logoImage, alt: "Company logo" })))), h("div", { key: '6cb5e2b4832a5a65fb3ea04810dbf7f698b11ec1', class: "testimonial-content" }, h("div", { key: 'b1f58ce100b7721750f562a6e9de9e7f91ae93a5', class: "testimonial-quote-section" }, h("div", { key: 'c320c3775e11356bd5e5108b7677b7b67f4c6f89', class: "testimonial-quote-icon" }, h("slot", { key: 'c951a7d40e7e0012d89ba4393a3f1561665c9c4d', name: "quote-icon" }, h("af-icon", { key: '3a8764d0a3d34b16b722b777a20b11e6426cdb66', name: "quote", size: 48 }))), h("af-text", { key: 'd5c29a4a791304cb3b98b582e72a16d6865eb3ca', variant: "xlarge", class: "testimonial-text" }, this.quote), h("af-text", { key: 'a8839b04257e79df76d9f3ae97a4d9dcb0070a66', variant: "xlarge", class: "testimonial-attribution" }, this.attribution)), h("div", { key: '3eb72d12ba340557e26e9bbb7faaea3b06fbf711', class: "testimonial-stats" }, h("slot", { key: '2c54f1ed69a1c31ff5999804e11312460cd33ccb', name: "stats" })), h("div", { key: '160149782113f03e0e14e17d2aa200ac1773990b', class: "testimonial-footer" }, h("div", { key: '3f2efa1c37fca41827722b48b12b0e8a4c2c0528', class: "testimonial-nav" }, this.showNavigation ? (
|
|
33
25
|
// Render built-in navigation buttons
|
|
34
26
|
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 })))) : (
|
|
35
27
|
// Allow custom navigation via slot
|
|
36
|
-
h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '
|
|
28
|
+
h("slot", { name: "navigation" }))), this.readMoreLink && (h("af-button", { key: '68c099e51f01e9f715d93eab790ff87d99291a10', variant: "secondary", href: this.readMoreLink }, "Read full story", h("af-icon", { key: '549160eb2d850d2ae14eef62ff3d6cd72c9aa991', slot: "icon-right", name: "arrow-right", size: 24 }))))))));
|
|
37
29
|
}
|
|
38
30
|
static get is() { return "af-testimonial"; }
|
|
39
31
|
static get encapsulation() { return "scoped"; }
|
|
@@ -92,14 +84,14 @@ export class AfTestimonial {
|
|
|
92
84
|
"mutable": false,
|
|
93
85
|
"complexType": {
|
|
94
86
|
"original": "string",
|
|
95
|
-
"resolved": "string
|
|
87
|
+
"resolved": "string",
|
|
96
88
|
"references": {}
|
|
97
89
|
},
|
|
98
|
-
"required":
|
|
99
|
-
"optional":
|
|
90
|
+
"required": true,
|
|
91
|
+
"optional": false,
|
|
100
92
|
"docs": {
|
|
101
93
|
"tags": [],
|
|
102
|
-
"text": "Testimonial quote text
|
|
94
|
+
"text": "Testimonial quote text"
|
|
103
95
|
},
|
|
104
96
|
"getter": false,
|
|
105
97
|
"setter": false,
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/* Respect reduced motion: slides can auto-advance, so remove the
|
|
28
|
+
* 500ms cross-fade/slide transition and swap instantly. */
|
|
29
|
+
@media (prefers-reduced-motion: reduce) {
|
|
30
|
+
.testimonial-slides ::slotted(af-testimonial) {
|
|
31
|
+
transition: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
27
35
|
/* Progress indicator - wraps af-progress-line atom */
|
|
28
36
|
/* Per Figma: centered below the card with horizontal padding */
|
|
29
37
|
.testimonial-progress {
|
|
@@ -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: '7de8274c31991f104fd70d9dd7e2e368dbe2055f' }, h("div", { key: 'd5e7a36eed63757174991132277f4819152f5217', class: "testimonial-carousel" }, h("div", { key: '90a61824e9327c10a89843e5fdf74ec5556bf2c1', class: "testimonial-slides" }, h("slot", { key: '4f46cbe79169ec13e3c731130258fbb79af56be5' })), this.testimonialCount > 1 && (h("div", { key: '2b6c7ecbac70900477c4b15dbba76add9946e1c3', class: "testimonial-progress" }, h("af-progress-line", { key: '702f468f70e2a427c3716e0d65f1275cad302641', 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: '0225f1a245a5c9139887456077d99e53016c218c' }, h("div", { key: 'a9671fa7eedd144652b30bff9fdbb6c1c48835d3', class: `stat ${this.accentBorder ? 'stat--accent' : ''}` }, h("af-heading", { key: 'cbed7c520457c7ea8c572541ac6f2e9a6c93913f', level: 2, class: "stat-value" }, this.value), h("af-text", { key: '30748648e43f7113b533d6582210029b3ed62d91', 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"; }
|