@affinda/wc 0.0.15 → 0.0.17
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/af-aspect-ratio.entry.esm.js.map +1 -1
- package/dist/affinda/af-button.entry.esm.js.map +1 -1
- package/dist/affinda/af-card.entry.esm.js.map +1 -1
- package/dist/affinda/af-checkbox.entry.esm.js.map +1 -0
- package/dist/affinda/af-client-carousel.entry.esm.js.map +1 -1
- package/dist/affinda/af-feature-accordion.entry.esm.js.map +1 -1
- package/dist/affinda/af-feature-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-feature-grid.entry.esm.js.map +1 -0
- package/dist/affinda/af-fieldset.entry.esm.js.map +1 -0
- package/dist/affinda/af-grid-callout.entry.esm.js.map +1 -0
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +1 -1
- package/dist/affinda/af-hero-section.entry.esm.js.map +1 -1
- package/dist/affinda/af-icon-box.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon-button.entry.esm.js.map +1 -1
- package/dist/affinda/af-icon-text.entry.esm.js.map +1 -0
- package/dist/affinda/af-icon.entry.esm.js.map +1 -0
- package/dist/affinda/af-illustrated-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-image.entry.esm.js.map +1 -0
- package/dist/affinda/af-in-page-banner.entry.esm.js.map +1 -0
- package/dist/affinda/af-input.entry.esm.js.map +1 -0
- package/dist/affinda/af-logo-well.entry.esm.js.map +1 -1
- package/dist/affinda/af-nav-card.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-menu-nest.entry.esm.js.map +1 -0
- package/dist/affinda/af-nav-menu.entry.esm.js.map +1 -0
- package/dist/affinda/af-number-badge.entry.esm.js.map +1 -0
- package/dist/affinda/af-progress-line.entry.esm.js.map +1 -0
- package/dist/affinda/af-radio.entry.esm.js.map +1 -0
- package/dist/affinda/af-section.entry.esm.js.map +1 -1
- package/dist/affinda/af-split-section.entry.esm.js.map +1 -0
- package/dist/affinda/af-switch.entry.esm.js.map +1 -0
- package/dist/affinda/af-tab-bar.entry.esm.js.map +1 -0
- package/dist/affinda/af-tab.entry.esm.js.map +1 -0
- package/dist/affinda/af-tag.entry.esm.js.map +1 -0
- package/dist/affinda/af-testimonial-carousel.entry.esm.js.map +1 -1
- package/dist/affinda/af-testimonial-stat.entry.esm.js.map +1 -1
- package/dist/affinda/af-testimonial.entry.esm.js.map +1 -1
- package/dist/affinda/af-text-image-nest.entry.esm.js.map +1 -0
- package/dist/affinda/af-text-image.entry.esm.js.map +1 -0
- package/dist/affinda/af-textarea.entry.esm.js.map +1 -0
- package/dist/affinda/af-typography-lockup.entry.esm.js.map +1 -1
- package/dist/affinda/af-video-container.entry.esm.js.map +1 -0
- package/dist/affinda/affinda.css +1 -1
- package/dist/affinda/affinda.esm.js +1 -1
- package/dist/affinda/index.esm.js +1 -1
- package/dist/affinda/index.esm.js.map +1 -1
- package/dist/affinda/p-0cd160a4.entry.js +2 -0
- package/dist/affinda/p-0cd160a4.entry.js.map +1 -0
- package/dist/affinda/p-10801ee1.entry.js +2 -0
- package/dist/affinda/p-10801ee1.entry.js.map +1 -0
- package/dist/affinda/p-1d65fd18.entry.js +2 -0
- package/dist/affinda/p-1d65fd18.entry.js.map +1 -0
- package/dist/affinda/p-1d9e532f.entry.js +2 -0
- package/dist/affinda/p-231ba1d0.entry.js +2 -0
- package/dist/affinda/p-231ba1d0.entry.js.map +1 -0
- package/dist/affinda/p-2b4dc22c.entry.js +2 -0
- package/dist/affinda/p-2b4dc22c.entry.js.map +1 -0
- package/dist/affinda/{p-fb4e3a8d.entry.js → p-31d4c1a4.entry.js} +2 -2
- package/dist/affinda/p-3d3c9f62.entry.js +2 -0
- package/dist/affinda/p-3d3c9f62.entry.js.map +1 -0
- package/dist/affinda/p-3f691578.entry.js +2 -0
- package/dist/affinda/p-3f691578.entry.js.map +1 -0
- package/dist/affinda/p-425253ee.entry.js +2 -0
- package/dist/affinda/{p-9071c2a7.entry.js.map → p-425253ee.entry.js.map} +1 -1
- package/dist/affinda/p-44b25840.entry.js +2 -0
- package/dist/affinda/p-44b25840.entry.js.map +1 -0
- package/dist/affinda/p-45e1923c.entry.js +2 -0
- package/dist/affinda/p-45e1923c.entry.js.map +1 -0
- package/dist/affinda/p-52ab3bf0.entry.js +2 -0
- package/dist/affinda/p-52ab3bf0.entry.js.map +1 -0
- package/dist/affinda/p-53ae16fe.entry.js +2 -0
- package/dist/affinda/p-53b5149d.entry.js +2 -0
- package/dist/affinda/p-53b5149d.entry.js.map +1 -0
- package/dist/affinda/p-57713942.entry.js +2 -0
- package/dist/affinda/p-57713942.entry.js.map +1 -0
- package/dist/affinda/p-5bbf2c8c.entry.js +2 -0
- package/dist/affinda/p-5bbf2c8c.entry.js.map +1 -0
- package/dist/affinda/p-697bf0b7.entry.js +2 -0
- package/dist/affinda/p-697bf0b7.entry.js.map +1 -0
- package/dist/affinda/p-6b2d0ff4.entry.js +2 -0
- package/dist/affinda/p-6b2d0ff4.entry.js.map +1 -0
- package/dist/affinda/p-71144002.entry.js +2 -0
- package/dist/affinda/p-71144002.entry.js.map +1 -0
- package/dist/affinda/{p-ec7721cc.entry.js → p-72f02343.entry.js} +2 -2
- package/dist/affinda/p-77bf8a81.entry.js +2 -0
- package/dist/affinda/p-77bf8a81.entry.js.map +1 -0
- package/dist/affinda/p-7f20fbe0.entry.js +2 -0
- package/dist/affinda/p-7f20fbe0.entry.js.map +1 -0
- package/dist/affinda/p-81571029.entry.js +2 -0
- package/dist/affinda/p-81571029.entry.js.map +1 -0
- package/dist/affinda/p-85a78bcf.entry.js +2 -0
- package/dist/affinda/p-85a78bcf.entry.js.map +1 -0
- package/dist/affinda/p-861f4f57.entry.js +2 -0
- package/dist/affinda/p-861f4f57.entry.js.map +1 -0
- package/dist/affinda/p-864778d0.entry.js +2 -0
- package/dist/affinda/p-864778d0.entry.js.map +1 -0
- package/dist/affinda/p-8ea22b5d.entry.js +2 -0
- package/dist/affinda/p-8ea22b5d.entry.js.map +1 -0
- package/dist/affinda/{p-bd30e86a.entry.js → p-96eac3af.entry.js} +2 -2
- package/dist/affinda/p-98901734.entry.js +2 -0
- package/dist/affinda/p-98901734.entry.js.map +1 -0
- package/dist/affinda/p-9f470d8b.entry.js +2 -0
- package/dist/affinda/p-9f470d8b.entry.js.map +1 -0
- package/dist/affinda/p-BmU_CFQ4.js +3 -0
- package/dist/affinda/p-BmU_CFQ4.js.map +1 -0
- package/dist/affinda/p-a36abb83.entry.js +2 -0
- package/dist/affinda/{p-fc2cb8d1.entry.js.map → p-a36abb83.entry.js.map} +1 -1
- package/dist/affinda/p-a4e4eb4d.entry.js +2 -0
- package/dist/affinda/{p-d3b2ab0e.entry.js.map → p-a4e4eb4d.entry.js.map} +1 -1
- package/dist/affinda/p-a6365e94.entry.js +2 -0
- package/dist/affinda/p-a6365e94.entry.js.map +1 -0
- package/dist/affinda/p-aaa28806.entry.js +2 -0
- package/dist/affinda/p-aaa28806.entry.js.map +1 -0
- package/dist/affinda/{p-806d129e.entry.js → p-acbbe39a.entry.js} +2 -2
- package/dist/affinda/p-b17735c9.entry.js +2 -0
- package/dist/affinda/p-b17735c9.entry.js.map +1 -0
- package/dist/affinda/p-b3b0ed0c.entry.js +2 -0
- package/dist/affinda/p-b3b0ed0c.entry.js.map +1 -0
- package/dist/affinda/p-be049760.entry.js +2 -0
- package/dist/affinda/p-be049760.entry.js.map +1 -0
- package/dist/affinda/p-c0ee2420.entry.js +2 -0
- package/dist/affinda/p-c0ee2420.entry.js.map +1 -0
- package/dist/affinda/{p-3a9646e6.entry.js → p-c11088fa.entry.js} +2 -2
- package/dist/affinda/p-c298b370.entry.js +2 -0
- package/dist/affinda/p-c298b370.entry.js.map +1 -0
- package/dist/affinda/p-c3e31251.entry.js +2 -0
- package/dist/affinda/p-c3e31251.entry.js.map +1 -0
- package/dist/affinda/p-ce3356f1.entry.js +2 -0
- package/dist/affinda/p-ce3356f1.entry.js.map +1 -0
- package/dist/affinda/p-df148383.entry.js +2 -0
- package/dist/affinda/{p-350ac7a5.entry.js.map → p-df148383.entry.js.map} +1 -1
- package/dist/affinda/{p-f8ac0120.entry.js → p-e5af21c2.entry.js} +2 -2
- package/dist/affinda/p-e5d9913c.entry.js +2 -0
- package/dist/affinda/p-e5d9913c.entry.js.map +1 -0
- package/dist/affinda/p-ea06c83b.entry.js +2 -0
- package/dist/affinda/p-ea06c83b.entry.js.map +1 -0
- package/dist/affinda/p-f45b0060.entry.js +2 -0
- package/dist/affinda/{p-050f98cd.entry.js.map → p-f45b0060.entry.js.map} +1 -1
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +2 -2
- package/dist/cjs/af-aspect-ratio.entry.cjs.js.map +1 -1
- package/dist/cjs/af-button-group.cjs.entry.js +2 -2
- package/dist/cjs/af-button.cjs.entry.js +25 -12
- package/dist/cjs/af-button.entry.cjs.js.map +1 -1
- package/dist/cjs/af-card.cjs.entry.js +17 -7
- package/dist/cjs/af-card.entry.cjs.js.map +1 -1
- package/dist/cjs/af-checkbox.cjs.entry.js +58 -0
- package/dist/cjs/af-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/af-client-carousel.cjs.entry.js +5 -7
- package/dist/cjs/af-client-carousel.entry.cjs.js.map +1 -1
- package/dist/cjs/af-color-swatch.cjs.entry.js +1 -1
- package/dist/cjs/af-contact-item.cjs.entry.js +2 -2
- package/dist/cjs/af-container.cjs.entry.js +1 -1
- package/dist/cjs/af-feature-accordion.cjs.entry.js +4 -4
- package/dist/cjs/af-feature-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/af-feature-card.cjs.entry.js +59 -0
- package/dist/cjs/af-feature-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-feature-grid.cjs.entry.js +93 -0
- package/dist/cjs/af-feature-grid.entry.cjs.js.map +1 -0
- package/dist/cjs/af-fieldset.cjs.entry.js +37 -0
- package/dist/cjs/af-fieldset.entry.cjs.js.map +1 -0
- package/dist/cjs/af-footer-column.cjs.entry.js +2 -2
- package/dist/cjs/af-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/af-footer.cjs.entry.js +2 -2
- package/dist/cjs/af-grid-callout.cjs.entry.js +51 -0
- package/dist/cjs/af-grid-callout.entry.cjs.js.map +1 -0
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +1 -1
- package/dist/cjs/af-heading_5.cjs.entry.js +67 -27
- package/dist/cjs/af-hero-section.cjs.entry.js +11 -5
- package/dist/cjs/af-hero-section.entry.cjs.js.map +1 -1
- package/dist/cjs/af-icon-box.cjs.entry.js +30 -0
- package/dist/cjs/af-icon-box.entry.cjs.js.map +1 -0
- package/dist/cjs/af-icon-button.cjs.entry.js +6 -3
- package/dist/cjs/af-icon-button.entry.cjs.js.map +1 -1
- package/dist/cjs/af-icon-text.cjs.entry.js +36 -0
- package/dist/cjs/af-icon-text.entry.cjs.js.map +1 -0
- package/dist/cjs/af-icon.cjs.entry.js +352 -0
- package/dist/cjs/af-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/af-illustrated-card.cjs.entry.js +36 -0
- package/dist/cjs/af-illustrated-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-image.cjs.entry.js +18 -0
- package/dist/cjs/af-image.entry.cjs.js.map +1 -0
- package/dist/cjs/af-in-page-banner.cjs.entry.js +47 -0
- package/dist/cjs/af-in-page-banner.entry.cjs.js.map +1 -0
- package/dist/cjs/af-input.cjs.entry.js +104 -0
- package/dist/cjs/af-input.entry.cjs.js.map +1 -0
- package/dist/cjs/af-logo-well.cjs.entry.js +3 -3
- package/dist/cjs/af-logo-well.entry.cjs.js.map +1 -1
- package/dist/cjs/af-nav-card.cjs.entry.js +37 -0
- package/dist/cjs/af-nav-card.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +43 -0
- package/dist/cjs/af-nav-menu-nest.entry.cjs.js.map +1 -0
- package/dist/cjs/af-nav-menu.cjs.entry.js +41 -0
- package/dist/cjs/af-nav-menu.entry.cjs.js.map +1 -0
- package/dist/cjs/af-number-badge.cjs.entry.js +42 -0
- package/dist/cjs/af-number-badge.entry.cjs.js.map +1 -0
- package/dist/cjs/af-progress-line.cjs.entry.js +33 -0
- package/dist/cjs/af-progress-line.entry.cjs.js.map +1 -0
- package/dist/cjs/af-radio.cjs.entry.js +43 -0
- package/dist/cjs/af-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/af-section.cjs.entry.js +6 -6
- package/dist/cjs/af-section.entry.cjs.js.map +1 -1
- package/dist/cjs/af-social-link.cjs.entry.js +2 -2
- package/dist/cjs/af-split-section.cjs.entry.js +41 -0
- package/dist/cjs/af-split-section.entry.cjs.js.map +1 -0
- package/dist/cjs/af-switch.cjs.entry.js +48 -0
- package/dist/cjs/af-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tab-bar.cjs.entry.js +88 -0
- package/dist/cjs/af-tab-bar.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tab.cjs.entry.js +64 -0
- package/dist/cjs/af-tab.entry.cjs.js.map +1 -0
- package/dist/cjs/af-tag.cjs.entry.js +37 -0
- package/dist/cjs/af-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +27 -15
- package/dist/cjs/af-testimonial-carousel.entry.cjs.js.map +1 -1
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +3 -3
- package/dist/cjs/af-testimonial-stat.entry.cjs.js.map +1 -1
- package/dist/cjs/af-testimonial.cjs.entry.js +27 -3
- package/dist/cjs/af-testimonial.entry.cjs.js.map +1 -1
- package/dist/cjs/af-text-image-nest.cjs.entry.js +30 -0
- package/dist/cjs/af-text-image-nest.entry.cjs.js.map +1 -0
- package/dist/cjs/af-text-image.cjs.entry.js +63 -0
- package/dist/cjs/af-text-image.entry.cjs.js.map +1 -0
- package/dist/cjs/af-textarea.cjs.entry.js +93 -0
- package/dist/cjs/af-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/af-typography-lockup.cjs.entry.js +7 -7
- package/dist/cjs/af-typography-lockup.entry.cjs.js.map +1 -1
- package/dist/cjs/af-video-container.cjs.entry.js +35 -0
- package/dist/cjs/af-video-container.entry.cjs.js.map +1 -0
- package/dist/cjs/affinda.cjs.js +2 -2
- package/dist/cjs/{index-DfEVhbS6.js → index-ybEiHT0b.js} +130 -6
- package/dist/cjs/index-ybEiHT0b.js.map +1 -0
- package/dist/cjs/index.cjs.js +23 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/backgrounds/wave-overlay-inkwell.svg +3 -0
- package/dist/collection/assets/backgrounds/wave-overlay-mist-green.svg +3 -0
- package/dist/collection/assets/backgrounds/wave-overlay-soft-clay.svg +3 -0
- package/dist/collection/assets/backgrounds/wave-overlay-white-ivory.svg +3 -0
- package/dist/collection/collection-manifest.json +28 -2
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.css +2 -0
- package/dist/collection/components/af-button/af-button.css +177 -64
- package/dist/collection/components/af-button/af-button.js +50 -42
- package/dist/collection/components/af-button/af-button.js.map +1 -1
- package/dist/collection/components/af-button-group/af-button-group.js +1 -1
- package/dist/collection/components/af-card/af-card.css +96 -65
- package/dist/collection/components/af-card/af-card.js +32 -33
- package/dist/collection/components/af-card/af-card.js.map +1 -1
- package/dist/collection/components/af-checkbox/af-checkbox.css +96 -0
- package/dist/collection/components/af-checkbox/af-checkbox.js +186 -0
- package/dist/collection/components/af-checkbox/af-checkbox.js.map +1 -0
- package/dist/collection/components/af-client-carousel/af-client-carousel.css +77 -32
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +21 -33
- package/dist/collection/components/af-client-carousel/af-client-carousel.js.map +1 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -1
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.css +21 -35
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +15 -5
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js.map +1 -1
- package/dist/collection/components/af-feature-card/af-feature-card.css +219 -0
- package/dist/collection/components/af-feature-card/af-feature-card.js +199 -0
- package/dist/collection/components/af-feature-card/af-feature-card.js.map +1 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.css +119 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +156 -0
- package/dist/collection/components/af-feature-grid/af-feature-grid.js.map +1 -0
- package/dist/collection/components/af-fieldset/af-fieldset.css +61 -0
- package/dist/collection/components/af-fieldset/af-fieldset.js +109 -0
- package/dist/collection/components/af-fieldset/af-fieldset.js.map +1 -0
- 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-callout/af-grid-callout.css +191 -0
- package/dist/collection/components/af-grid-callout/af-grid-callout.js +191 -0
- package/dist/collection/components/af-grid-callout/af-grid-callout.js.map +1 -0
- package/dist/collection/components/af-heading/af-heading.css +25 -33
- package/dist/collection/components/af-heading/af-heading.js +8 -26
- package/dist/collection/components/af-heading/af-heading.js.map +1 -1
- package/dist/collection/components/af-hero-section/af-hero-section.css +118 -12
- package/dist/collection/components/af-hero-section/af-hero-section.js +102 -10
- package/dist/collection/components/af-hero-section/af-hero-section.js.map +1 -1
- package/dist/collection/components/af-icon/af-icon.css +28 -0
- package/dist/collection/components/af-icon/af-icon.js +116 -0
- package/dist/collection/components/af-icon/af-icon.js.map +1 -0
- package/dist/collection/components/af-icon-box/af-icon-box.css +36 -0
- package/dist/collection/components/af-icon-box/af-icon-box.js +97 -0
- package/dist/collection/components/af-icon-box/af-icon-box.js.map +1 -0
- package/dist/collection/components/af-icon-button/af-icon-button.css +42 -54
- package/dist/collection/components/af-icon-button/af-icon-button.js +8 -5
- package/dist/collection/components/af-icon-button/af-icon-button.js.map +1 -1
- package/dist/collection/components/af-icon-text/af-icon-text.css +43 -0
- package/dist/collection/components/af-icon-text/af-icon-text.js +150 -0
- package/dist/collection/components/af-icon-text/af-icon-text.js.map +1 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.css +99 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +115 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js.map +1 -0
- package/dist/collection/components/af-image/af-image.css +27 -0
- package/dist/collection/components/af-image/af-image.js +65 -0
- package/dist/collection/components/af-image/af-image.js.map +1 -0
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +379 -0
- package/dist/collection/components/{af-cta-section/af-cta-section.js → af-in-page-banner/af-in-page-banner.js} +78 -17
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js.map +1 -0
- package/dist/collection/components/af-input/af-input.css +246 -0
- package/dist/collection/components/af-input/af-input.js +527 -0
- package/dist/collection/components/af-input/af-input.js.map +1 -0
- package/dist/collection/components/af-logo/af-logo.css +0 -7
- package/dist/collection/components/af-logo/af-logo.js +2 -55
- package/dist/collection/components/af-logo/af-logo.js.map +1 -1
- package/dist/collection/components/af-logo-well/af-logo-well.css +15 -4
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -1
- package/dist/collection/components/af-nav-card/af-nav-card.css +70 -0
- package/dist/collection/components/af-nav-card/af-nav-card.js +138 -0
- package/dist/collection/components/af-nav-card/af-nav-card.js.map +1 -0
- package/dist/collection/components/af-nav-item/af-nav-item.css +161 -28
- package/dist/collection/components/af-nav-item/af-nav-item.js +27 -0
- package/dist/collection/components/af-nav-item/af-nav-item.js.map +1 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.css +91 -0
- package/dist/collection/components/af-nav-menu/af-nav-menu.js +131 -0
- package/dist/collection/components/af-nav-menu/af-nav-menu.js.map +1 -0
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.css +79 -0
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +129 -0
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js.map +1 -0
- package/dist/collection/components/af-navbar/af-navbar.css +91 -8
- package/dist/collection/components/af-navbar/af-navbar.js +84 -3
- package/dist/collection/components/af-navbar/af-navbar.js.map +1 -1
- package/dist/collection/components/af-number-badge/af-number-badge.css +30 -0
- package/dist/collection/components/af-number-badge/af-number-badge.js +131 -0
- package/dist/collection/components/af-number-badge/af-number-badge.js.map +1 -0
- package/dist/collection/components/af-progress-line/af-progress-line.css +44 -0
- package/dist/collection/components/af-progress-line/af-progress-line.js +86 -0
- package/dist/collection/components/af-progress-line/af-progress-line.js.map +1 -0
- package/dist/collection/components/af-radio/af-radio.css +97 -0
- package/dist/collection/components/af-radio/af-radio.js +150 -0
- package/dist/collection/components/af-radio/af-radio.js.map +1 -0
- package/dist/collection/components/af-section/af-section.css +230 -24
- package/dist/collection/components/af-section/af-section.js +11 -10
- package/dist/collection/components/af-section/af-section.js.map +1 -1
- package/dist/collection/components/af-social-link/af-social-link.js +1 -1
- package/dist/collection/components/af-split-section/af-split-section.css +46 -0
- package/dist/collection/components/af-split-section/af-split-section.js +145 -0
- package/dist/collection/components/af-split-section/af-split-section.js.map +1 -0
- package/dist/collection/components/af-switch/af-switch.css +104 -0
- package/dist/collection/components/af-switch/af-switch.js +155 -0
- package/dist/collection/components/af-switch/af-switch.js.map +1 -0
- package/dist/collection/components/af-tab/af-tab.css +182 -0
- package/dist/collection/components/af-tab/af-tab.js +251 -0
- package/dist/collection/components/af-tab/af-tab.js.map +1 -0
- package/dist/collection/components/af-tab-bar/af-tab-bar.css +87 -0
- package/dist/collection/components/af-tab-bar/af-tab-bar.js +171 -0
- package/dist/collection/components/af-tab-bar/af-tab-bar.js.map +1 -0
- package/dist/collection/components/af-tag/af-tag.css +92 -0
- package/dist/collection/components/af-tag/af-tag.js +126 -0
- package/dist/collection/components/af-tag/af-tag.js.map +1 -0
- package/dist/collection/components/af-testimonial/af-testimonial.css +30 -46
- package/dist/collection/components/af-testimonial/af-testimonial.js +118 -1
- package/dist/collection/components/af-testimonial/af-testimonial.js.map +1 -1
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.css +6 -66
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +48 -13
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js.map +1 -1
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.css +9 -16
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -1
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js.map +1 -1
- package/dist/collection/components/af-text/af-text.css +13 -36
- package/dist/collection/components/af-text/af-text.js +10 -28
- package/dist/collection/components/af-text/af-text.js.map +1 -1
- package/dist/collection/components/af-text-image/af-text-image.css +228 -0
- package/dist/collection/components/af-text-image/af-text-image.js +173 -0
- package/dist/collection/components/af-text-image/af-text-image.js.map +1 -0
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.css +110 -0
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +71 -0
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js.map +1 -0
- package/dist/collection/components/af-textarea/af-textarea.css +175 -0
- package/dist/collection/components/af-textarea/af-textarea.js +443 -0
- package/dist/collection/components/af-textarea/af-textarea.js.map +1 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +126 -40
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +5 -5
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +1 -1
- package/dist/collection/components/af-video-container/af-video-container.css +102 -0
- package/dist/collection/components/af-video-container/af-video-container.js +142 -0
- package/dist/collection/components/af-video-container/af-video-container.js.map +1 -0
- package/dist/collection/components.js +11 -0
- package/dist/collection/components.js.map +1 -1
- package/dist/components/af-aspect-ratio.js +1 -1
- package/dist/components/af-button-group.js +1 -1
- package/dist/components/af-button.js +1 -1
- package/dist/components/af-card.js +1 -39
- package/dist/components/af-card.js.map +1 -1
- package/dist/components/{af-cta-section.d.ts → af-checkbox.d.ts} +4 -4
- package/dist/components/af-checkbox.js +9 -0
- package/dist/components/af-checkbox.js.map +1 -0
- package/dist/components/af-client-carousel.js +6 -9
- package/dist/components/af-client-carousel.js.map +1 -1
- package/dist/components/af-color-swatch.js +1 -1
- package/dist/components/af-contact-item.js +2 -2
- package/dist/components/af-container.js +1 -1
- package/dist/components/af-feature-accordion.js +4 -4
- package/dist/components/af-feature-accordion.js.map +1 -1
- package/dist/components/af-feature-card.d.ts +11 -0
- package/dist/components/af-feature-card.js +9 -0
- package/dist/components/af-feature-card.js.map +1 -0
- package/dist/components/af-feature-grid.d.ts +11 -0
- package/dist/components/af-feature-grid.js +124 -0
- package/dist/components/af-feature-grid.js.map +1 -0
- package/dist/components/af-fieldset.d.ts +11 -0
- package/dist/components/af-fieldset.js +9 -0
- package/dist/components/af-fieldset.js.map +1 -0
- package/dist/components/af-footer-column.js +2 -2
- package/dist/components/af-footer-link.js +2 -2
- package/dist/components/af-footer.js +2 -2
- package/dist/components/af-grid-callout.d.ts +11 -0
- package/dist/components/af-grid-callout.js +82 -0
- package/dist/components/af-grid-callout.js.map +1 -0
- package/dist/components/af-heading.js +1 -1
- package/dist/components/af-hero-section.js +25 -9
- package/dist/components/af-hero-section.js.map +1 -1
- package/dist/components/af-icon-box.d.ts +11 -0
- package/dist/components/af-icon-box.js +9 -0
- package/dist/components/af-icon-box.js.map +1 -0
- package/dist/components/af-icon-button.js +1 -1
- package/dist/components/af-icon-text.d.ts +11 -0
- package/dist/components/af-icon-text.js +78 -0
- package/dist/components/af-icon-text.js.map +1 -0
- package/dist/components/af-icon.d.ts +11 -0
- package/dist/components/af-icon.js +9 -0
- package/dist/components/af-icon.js.map +1 -0
- package/dist/components/af-illustrated-card.d.ts +11 -0
- package/dist/components/af-illustrated-card.js +9 -0
- package/dist/components/af-illustrated-card.js.map +1 -0
- package/dist/components/af-image.d.ts +11 -0
- package/dist/components/af-image.js +9 -0
- package/dist/components/af-image.js.map +1 -0
- package/dist/components/af-in-page-banner.d.ts +11 -0
- package/dist/components/af-in-page-banner.js +82 -0
- package/dist/components/af-in-page-banner.js.map +1 -0
- package/dist/components/af-input.d.ts +11 -0
- package/dist/components/af-input.js +9 -0
- package/dist/components/af-input.js.map +1 -0
- package/dist/components/af-logo-well.js +3 -3
- package/dist/components/af-logo-well.js.map +1 -1
- package/dist/components/af-logo.js +1 -1
- package/dist/components/af-nav-card.d.ts +11 -0
- package/dist/components/af-nav-card.js +63 -0
- package/dist/components/af-nav-card.js.map +1 -0
- package/dist/components/af-nav-item.js +1 -1
- package/dist/components/af-nav-menu-nest.d.ts +11 -0
- package/dist/components/af-nav-menu-nest.js +67 -0
- package/dist/components/af-nav-menu-nest.js.map +1 -0
- package/dist/components/af-nav-menu.d.ts +11 -0
- package/dist/components/af-nav-menu.js +66 -0
- package/dist/components/af-nav-menu.js.map +1 -0
- package/dist/components/af-navbar.js +1 -1
- package/dist/components/af-number-badge.d.ts +11 -0
- package/dist/components/af-number-badge.js +66 -0
- package/dist/components/af-number-badge.js.map +1 -0
- package/dist/components/af-progress-line.d.ts +11 -0
- package/dist/components/af-progress-line.js +9 -0
- package/dist/components/af-progress-line.js.map +1 -0
- package/dist/components/af-radio.d.ts +11 -0
- package/dist/components/af-radio.js +9 -0
- package/dist/components/af-radio.js.map +1 -0
- package/dist/components/af-section.js +8 -8
- package/dist/components/af-section.js.map +1 -1
- package/dist/components/af-social-link.js +2 -2
- package/dist/components/af-split-section.d.ts +11 -0
- package/dist/components/af-split-section.js +71 -0
- package/dist/components/af-split-section.js.map +1 -0
- package/dist/components/af-switch.d.ts +11 -0
- package/dist/components/af-switch.js +9 -0
- package/dist/components/af-switch.js.map +1 -0
- package/dist/components/af-tab-bar.d.ts +11 -0
- package/dist/components/af-tab-bar.js +9 -0
- package/dist/components/af-tab-bar.js.map +1 -0
- package/dist/components/af-tab.d.ts +11 -0
- package/dist/components/af-tab.js +9 -0
- package/dist/components/af-tab.js.map +1 -0
- package/dist/components/af-tag.d.ts +11 -0
- package/dist/components/af-tag.js +9 -0
- package/dist/components/af-tag.js.map +1 -0
- package/dist/components/af-testimonial-carousel.js +35 -17
- package/dist/components/af-testimonial-carousel.js.map +1 -1
- package/dist/components/af-testimonial-stat.js +16 -4
- package/dist/components/af-testimonial-stat.js.map +1 -1
- package/dist/components/af-testimonial.js +56 -5
- package/dist/components/af-testimonial.js.map +1 -1
- package/dist/components/af-text-image-nest.d.ts +11 -0
- package/dist/components/af-text-image-nest.js +51 -0
- package/dist/components/af-text-image-nest.js.map +1 -0
- package/dist/components/af-text-image.d.ts +11 -0
- package/dist/components/af-text-image.js +94 -0
- package/dist/components/af-text-image.js.map +1 -0
- package/dist/components/af-text.js +1 -1
- package/dist/components/af-textarea.d.ts +11 -0
- package/dist/components/af-textarea.js +9 -0
- package/dist/components/af-textarea.js.map +1 -0
- package/dist/components/af-typography-lockup.js +1 -1
- package/dist/components/af-video-container.d.ts +11 -0
- package/dist/components/af-video-container.js +70 -0
- package/dist/components/af-video-container.js.map +1 -0
- package/dist/components/index.js +24 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-BBivIwbE.js → p-6uEhsUaO.js} +3 -3
- package/dist/components/{p-BBivIwbE.js.map → p-6uEhsUaO.js.map} +1 -1
- package/dist/components/{p-PLXzXWgX.js → p-BHKA-yEm.js} +4 -4
- package/dist/components/p-BHKA-yEm.js.map +1 -0
- package/dist/components/p-BMp8QbY-.js +68 -0
- package/dist/components/p-BMp8QbY-.js.map +1 -0
- package/dist/components/p-BRN73McC.js +59 -0
- package/dist/components/p-BRN73McC.js.map +1 -0
- package/dist/components/p-BRsO61_R.js +58 -0
- package/dist/components/p-BRsO61_R.js.map +1 -0
- package/dist/components/p-BXZ7aJQf.js +372 -0
- package/dist/components/p-BXZ7aJQf.js.map +1 -0
- package/dist/components/p-Bh4YP9vE.js +74 -0
- package/dist/components/p-Bh4YP9vE.js.map +1 -0
- package/dist/components/p-Br0VERLB.js +81 -0
- package/dist/components/p-Br0VERLB.js.map +1 -0
- package/dist/components/{p-DBFWSHR9.js → p-ByHIHg3l.js} +4 -4
- package/dist/components/{p-DBFWSHR9.js.map → p-ByHIHg3l.js.map} +1 -1
- package/dist/components/p-C0f6y_zg.js +94 -0
- package/dist/components/p-C0f6y_zg.js.map +1 -0
- package/dist/components/p-CCAq3Zj6.js +68 -0
- package/dist/components/p-CCAq3Zj6.js.map +1 -0
- package/dist/components/p-CZyCImor.js +127 -0
- package/dist/components/p-CZyCImor.js.map +1 -0
- package/dist/components/p-C_M8AOaj.js +65 -0
- package/dist/components/p-C_M8AOaj.js.map +1 -0
- package/dist/components/p-Cqp0DdgH.js +58 -0
- package/dist/components/p-Cqp0DdgH.js.map +1 -0
- package/dist/components/{p-Dt4Fpr3O.js → p-CxngDK-N.js} +122 -8
- package/dist/components/p-CxngDK-N.js.map +1 -0
- package/dist/components/{p-BkEmrXbw.js → p-D3UZ60qM.js} +3 -3
- package/dist/components/{p-BkEmrXbw.js.map → p-D3UZ60qM.js.map} +1 -1
- package/dist/components/p-D99aXp3U.js +35 -0
- package/dist/components/p-D99aXp3U.js.map +1 -0
- package/dist/components/p-DBnL9UHx.js +91 -0
- package/dist/components/p-DBnL9UHx.js.map +1 -0
- package/dist/components/p-DOkvrcIE.js +50 -0
- package/dist/components/p-DOkvrcIE.js.map +1 -0
- package/dist/components/p-DW5DrJlQ.js +70 -0
- package/dist/components/p-DW5DrJlQ.js.map +1 -0
- package/dist/components/p-DZ-qivXD.js +55 -0
- package/dist/components/p-DZ-qivXD.js.map +1 -0
- package/dist/components/p-DhdRcSve.js +89 -0
- package/dist/components/p-DhdRcSve.js.map +1 -0
- package/dist/components/p-Dvi1lz3x.js +53 -0
- package/dist/components/p-Dvi1lz3x.js.map +1 -0
- package/dist/components/p-DzkSL2bi.js +141 -0
- package/dist/components/p-DzkSL2bi.js.map +1 -0
- package/dist/components/p-JepBVz99.js +71 -0
- package/dist/components/p-JepBVz99.js.map +1 -0
- package/dist/components/p-_bQXTXUb.js +98 -0
- package/dist/components/p-_bQXTXUb.js.map +1 -0
- package/dist/components/p-l95vl6T1.js +108 -0
- package/dist/components/p-l95vl6T1.js.map +1 -0
- package/dist/components/p-wwnR-hlX.js +52 -0
- package/dist/components/p-wwnR-hlX.js.map +1 -0
- package/dist/components/p-xDRMXxWJ.js +37 -0
- package/dist/components/p-xDRMXxWJ.js.map +1 -0
- package/dist/esm/af-aspect-ratio.entry.js +2 -2
- package/dist/esm/af-aspect-ratio.entry.js.map +1 -1
- package/dist/esm/af-button-group.entry.js +2 -2
- package/dist/esm/af-button.entry.js +25 -12
- package/dist/esm/af-button.entry.js.map +1 -1
- package/dist/esm/af-card.entry.js +17 -7
- package/dist/esm/af-card.entry.js.map +1 -1
- package/dist/esm/af-checkbox.entry.js +56 -0
- package/dist/esm/af-checkbox.entry.js.map +1 -0
- package/dist/esm/af-client-carousel.entry.js +5 -7
- package/dist/esm/af-client-carousel.entry.js.map +1 -1
- package/dist/esm/af-color-swatch.entry.js +1 -1
- package/dist/esm/af-contact-item.entry.js +2 -2
- package/dist/esm/af-container.entry.js +1 -1
- package/dist/esm/af-feature-accordion.entry.js +4 -4
- package/dist/esm/af-feature-accordion.entry.js.map +1 -1
- package/dist/esm/af-feature-card.entry.js +57 -0
- package/dist/esm/af-feature-card.entry.js.map +1 -0
- package/dist/esm/af-feature-grid.entry.js +91 -0
- package/dist/esm/af-feature-grid.entry.js.map +1 -0
- package/dist/esm/af-fieldset.entry.js +35 -0
- package/dist/esm/af-fieldset.entry.js.map +1 -0
- package/dist/esm/af-footer-column.entry.js +2 -2
- package/dist/esm/af-footer-link.entry.js +2 -2
- package/dist/esm/af-footer.entry.js +2 -2
- package/dist/esm/af-grid-callout.entry.js +49 -0
- package/dist/esm/af-grid-callout.entry.js.map +1 -0
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +1 -1
- package/dist/esm/af-heading_5.entry.js +67 -27
- package/dist/esm/af-hero-section.entry.js +11 -5
- package/dist/esm/af-hero-section.entry.js.map +1 -1
- package/dist/esm/af-icon-box.entry.js +28 -0
- package/dist/esm/af-icon-box.entry.js.map +1 -0
- package/dist/esm/af-icon-button.entry.js +6 -3
- package/dist/esm/af-icon-button.entry.js.map +1 -1
- package/dist/esm/af-icon-text.entry.js +34 -0
- package/dist/esm/af-icon-text.entry.js.map +1 -0
- package/dist/esm/af-icon.entry.js +349 -0
- package/dist/esm/af-icon.entry.js.map +1 -0
- package/dist/esm/af-illustrated-card.entry.js +34 -0
- package/dist/esm/af-illustrated-card.entry.js.map +1 -0
- package/dist/esm/af-image.entry.js +16 -0
- package/dist/esm/af-image.entry.js.map +1 -0
- package/dist/esm/af-in-page-banner.entry.js +45 -0
- package/dist/esm/af-in-page-banner.entry.js.map +1 -0
- package/dist/esm/af-input.entry.js +102 -0
- package/dist/esm/af-input.entry.js.map +1 -0
- package/dist/esm/af-logo-well.entry.js +3 -3
- package/dist/esm/af-logo-well.entry.js.map +1 -1
- package/dist/esm/af-nav-card.entry.js +35 -0
- package/dist/esm/af-nav-card.entry.js.map +1 -0
- package/dist/esm/af-nav-menu-nest.entry.js +41 -0
- package/dist/esm/af-nav-menu-nest.entry.js.map +1 -0
- package/dist/esm/af-nav-menu.entry.js +39 -0
- package/dist/esm/af-nav-menu.entry.js.map +1 -0
- package/dist/esm/af-number-badge.entry.js +40 -0
- package/dist/esm/af-number-badge.entry.js.map +1 -0
- package/dist/esm/af-progress-line.entry.js +31 -0
- package/dist/esm/af-progress-line.entry.js.map +1 -0
- package/dist/esm/af-radio.entry.js +41 -0
- package/dist/esm/af-radio.entry.js.map +1 -0
- package/dist/esm/af-section.entry.js +6 -6
- package/dist/esm/af-section.entry.js.map +1 -1
- package/dist/esm/af-social-link.entry.js +2 -2
- package/dist/esm/af-split-section.entry.js +39 -0
- package/dist/esm/af-split-section.entry.js.map +1 -0
- package/dist/esm/af-switch.entry.js +46 -0
- package/dist/esm/af-switch.entry.js.map +1 -0
- package/dist/esm/af-tab-bar.entry.js +86 -0
- package/dist/esm/af-tab-bar.entry.js.map +1 -0
- package/dist/esm/af-tab.entry.js +62 -0
- package/dist/esm/af-tab.entry.js.map +1 -0
- package/dist/esm/af-tag.entry.js +35 -0
- package/dist/esm/af-tag.entry.js.map +1 -0
- package/dist/esm/af-testimonial-carousel.entry.js +27 -15
- package/dist/esm/af-testimonial-carousel.entry.js.map +1 -1
- package/dist/esm/af-testimonial-stat.entry.js +3 -3
- package/dist/esm/af-testimonial-stat.entry.js.map +1 -1
- package/dist/esm/af-testimonial.entry.js +27 -3
- package/dist/esm/af-testimonial.entry.js.map +1 -1
- package/dist/esm/af-text-image-nest.entry.js +28 -0
- package/dist/esm/af-text-image-nest.entry.js.map +1 -0
- package/dist/esm/af-text-image.entry.js +61 -0
- package/dist/esm/af-text-image.entry.js.map +1 -0
- package/dist/esm/af-textarea.entry.js +91 -0
- package/dist/esm/af-textarea.entry.js.map +1 -0
- package/dist/esm/af-typography-lockup.entry.js +7 -7
- package/dist/esm/af-typography-lockup.entry.js.map +1 -1
- package/dist/esm/af-video-container.entry.js +33 -0
- package/dist/esm/af-video-container.entry.js.map +1 -0
- package/dist/esm/affinda.js +3 -3
- package/dist/esm/{index-DI7b0bCy.js → index-BmU_CFQ4.js} +130 -7
- package/dist/esm/index-BmU_CFQ4.js.map +1 -0
- package/dist/esm/index.js +12 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/af-button/af-button.d.ts +22 -9
- package/dist/types/components/af-card/af-card.d.ts +15 -8
- package/dist/types/components/af-checkbox/af-checkbox.d.ts +40 -0
- package/dist/types/components/af-client-carousel/af-client-carousel.d.ts +10 -5
- package/dist/types/components/af-feature-accordion/af-feature-accordion.d.ts +13 -3
- package/dist/types/components/af-feature-card/af-feature-card.d.ts +49 -0
- package/dist/types/components/af-feature-grid/af-feature-grid.d.ts +32 -0
- package/dist/types/components/af-fieldset/af-fieldset.d.ts +23 -0
- package/dist/types/components/af-grid-callout/af-grid-callout.d.ts +57 -0
- package/dist/types/components/af-heading/af-heading.d.ts +5 -2
- package/dist/types/components/af-hero-section/af-hero-section.d.ts +18 -3
- package/dist/types/components/af-icon/af-icon.d.ts +28 -0
- package/dist/types/components/af-icon-box/af-icon-box.d.ts +27 -0
- package/dist/types/components/af-icon-button/af-icon-button.d.ts +5 -2
- package/dist/types/components/af-icon-text/af-icon-text.d.ts +44 -0
- package/dist/types/components/af-illustrated-card/af-illustrated-card.d.ts +28 -0
- package/dist/types/components/af-image/af-image.d.ts +15 -0
- package/dist/types/components/af-in-page-banner/af-in-page-banner.d.ts +56 -0
- package/dist/types/components/af-input/af-input.d.ts +110 -0
- package/dist/types/components/af-logo/af-logo.d.ts +1 -6
- package/dist/types/components/af-nav-card/af-nav-card.d.ts +34 -0
- package/dist/types/components/af-nav-item/af-nav-item.d.ts +6 -0
- package/dist/types/components/af-nav-menu/af-nav-menu.d.ts +28 -0
- package/dist/types/components/af-nav-menu-nest/af-nav-menu-nest.d.ts +42 -0
- package/dist/types/components/af-navbar/af-navbar.d.ts +26 -1
- package/dist/types/components/af-number-badge/af-number-badge.d.ts +29 -0
- package/dist/types/components/af-progress-line/af-progress-line.d.ts +18 -0
- package/dist/types/components/af-radio/af-radio.d.ts +33 -0
- package/dist/types/components/af-section/af-section.d.ts +4 -3
- package/dist/types/components/af-split-section/af-split-section.d.ts +20 -0
- package/dist/types/components/af-switch/af-switch.d.ts +32 -0
- package/dist/types/components/af-tab/af-tab.d.ts +61 -0
- package/dist/types/components/af-tab-bar/af-tab-bar.d.ts +43 -0
- package/dist/types/components/af-tag/af-tag.d.ts +33 -0
- package/dist/types/components/af-testimonial/af-testimonial.d.ts +23 -0
- package/dist/types/components/af-testimonial-carousel/af-testimonial-carousel.d.ts +17 -0
- package/dist/types/components/af-text/af-text.d.ts +6 -3
- package/dist/types/components/af-text-image/af-text-image.d.ts +30 -0
- package/dist/types/components/af-text-image-nest/af-text-image-nest.d.ts +21 -0
- package/dist/types/components/af-textarea/af-textarea.d.ts +92 -0
- package/dist/types/components/af-video-container/af-video-container.d.ts +45 -0
- package/dist/types/components.d.ts +3395 -669
- package/package.json +8 -7
- package/dist/affinda/af-cta-section.entry.esm.js.map +0 -1
- package/dist/affinda/p-050f98cd.entry.js +0 -2
- package/dist/affinda/p-0eb8173d.entry.js +0 -2
- package/dist/affinda/p-1955dbad.entry.js +0 -2
- package/dist/affinda/p-1b18ab28.entry.js +0 -2
- package/dist/affinda/p-1b18ab28.entry.js.map +0 -1
- package/dist/affinda/p-1e3d40a0.entry.js +0 -2
- package/dist/affinda/p-1e3d40a0.entry.js.map +0 -1
- package/dist/affinda/p-350ac7a5.entry.js +0 -2
- package/dist/affinda/p-71e663b3.entry.js +0 -2
- package/dist/affinda/p-71e663b3.entry.js.map +0 -1
- package/dist/affinda/p-7b8c36e0.entry.js +0 -2
- package/dist/affinda/p-7b8c36e0.entry.js.map +0 -1
- package/dist/affinda/p-83b5d5ea.entry.js +0 -2
- package/dist/affinda/p-83b5d5ea.entry.js.map +0 -1
- package/dist/affinda/p-9071c2a7.entry.js +0 -2
- package/dist/affinda/p-954963fa.entry.js +0 -2
- package/dist/affinda/p-954963fa.entry.js.map +0 -1
- package/dist/affinda/p-DI7b0bCy.js +0 -3
- package/dist/affinda/p-DI7b0bCy.js.map +0 -1
- package/dist/affinda/p-b2fb60c9.entry.js +0 -2
- package/dist/affinda/p-b2fb60c9.entry.js.map +0 -1
- package/dist/affinda/p-d3b2ab0e.entry.js +0 -2
- package/dist/affinda/p-e1198ca3.entry.js +0 -2
- package/dist/affinda/p-e1198ca3.entry.js.map +0 -1
- package/dist/affinda/p-e3efc291.entry.js +0 -2
- package/dist/affinda/p-e3efc291.entry.js.map +0 -1
- package/dist/affinda/p-f692a7bd.entry.js +0 -2
- package/dist/affinda/p-f692a7bd.entry.js.map +0 -1
- package/dist/affinda/p-fc2cb8d1.entry.js +0 -2
- package/dist/cjs/af-cta-section.cjs.entry.js +0 -34
- package/dist/cjs/af-cta-section.entry.cjs.js.map +0 -1
- package/dist/cjs/index-DfEVhbS6.js.map +0 -1
- package/dist/collection/components/af-cta-section/af-cta-section.css +0 -175
- package/dist/collection/components/af-cta-section/af-cta-section.js.map +0 -1
- package/dist/components/af-cta-section.js +0 -62
- package/dist/components/af-cta-section.js.map +0 -1
- package/dist/components/p-BKGrl8ua.js +0 -77
- package/dist/components/p-BKGrl8ua.js.map +0 -1
- package/dist/components/p-BTEblSAo.js +0 -63
- package/dist/components/p-BTEblSAo.js.map +0 -1
- package/dist/components/p-BekWfVfB.js +0 -66
- package/dist/components/p-BekWfVfB.js.map +0 -1
- package/dist/components/p-Bg7dSc4D.js +0 -54
- package/dist/components/p-Bg7dSc4D.js.map +0 -1
- package/dist/components/p-CN_K2ni-.js +0 -45
- package/dist/components/p-CN_K2ni-.js.map +0 -1
- package/dist/components/p-CgnBqOVh.js +0 -50
- package/dist/components/p-CgnBqOVh.js.map +0 -1
- package/dist/components/p-DqOwXTsH.js +0 -68
- package/dist/components/p-DqOwXTsH.js.map +0 -1
- package/dist/components/p-Dt4Fpr3O.js.map +0 -1
- package/dist/components/p-LUt2VDjp.js +0 -68
- package/dist/components/p-LUt2VDjp.js.map +0 -1
- package/dist/components/p-PLXzXWgX.js.map +0 -1
- package/dist/esm/af-cta-section.entry.js +0 -32
- package/dist/esm/af-cta-section.entry.js.map +0 -1
- package/dist/esm/index-DI7b0bCy.js.map +0 -1
- package/dist/types/components/af-cta-section/af-cta-section.d.ts +0 -23
- /package/dist/affinda/{p-0eb8173d.entry.js.map → p-1d9e532f.entry.js.map} +0 -0
- /package/dist/affinda/{p-fb4e3a8d.entry.js.map → p-31d4c1a4.entry.js.map} +0 -0
- /package/dist/affinda/{p-1955dbad.entry.js.map → p-53ae16fe.entry.js.map} +0 -0
- /package/dist/affinda/{p-ec7721cc.entry.js.map → p-72f02343.entry.js.map} +0 -0
- /package/dist/affinda/{p-bd30e86a.entry.js.map → p-96eac3af.entry.js.map} +0 -0
- /package/dist/affinda/{p-806d129e.entry.js.map → p-acbbe39a.entry.js.map} +0 -0
- /package/dist/affinda/{p-3a9646e6.entry.js.map → p-c11088fa.entry.js.map} +0 -0
- /package/dist/affinda/{p-f8ac0120.entry.js.map → p-e5af21c2.entry.js.map} +0 -0
|
@@ -5,7 +5,41 @@
|
|
|
5
5
|
.lockup {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Lockup gap variations (between copy and buttons) - matches copy internal gap */
|
|
11
|
+
/* Heading 1 desktop: 24px gap */
|
|
12
|
+
.breakpoint-desktop.heading-1.lockup {
|
|
13
|
+
gap: var(--space-6, 24px);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Heading 1 mobile: 20px gap */
|
|
17
|
+
.breakpoint-mobile.heading-1.lockup {
|
|
18
|
+
gap: var(--space-5, 20px);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* Heading 2, 3 desktop: 16px gap */
|
|
22
|
+
.breakpoint-desktop.heading-2.lockup,
|
|
23
|
+
.breakpoint-desktop.heading-3.lockup {
|
|
24
|
+
gap: var(--space-4, 16px);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Heading 2 mobile: 16px gap */
|
|
28
|
+
.breakpoint-mobile.heading-2.lockup {
|
|
29
|
+
gap: var(--space-4, 16px);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Heading 3 mobile, 4 desktop, 5 desktop: 12px gap */
|
|
33
|
+
.breakpoint-mobile.heading-3.lockup,
|
|
34
|
+
.breakpoint-desktop.heading-4.lockup,
|
|
35
|
+
.breakpoint-desktop.heading-5.lockup {
|
|
36
|
+
gap: var(--space-3, 12px);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Heading 4 mobile, 5 mobile: 8px gap */
|
|
40
|
+
.breakpoint-mobile.heading-4.lockup,
|
|
41
|
+
.breakpoint-mobile.heading-5.lockup {
|
|
42
|
+
gap: var(--space-2, 8px);
|
|
9
43
|
}
|
|
10
44
|
|
|
11
45
|
/* Text alignment */
|
|
@@ -29,89 +63,125 @@
|
|
|
29
63
|
text-align: center;
|
|
30
64
|
}
|
|
31
65
|
|
|
32
|
-
/* Copy section */
|
|
66
|
+
/* Copy section - base styles */
|
|
33
67
|
.copy {
|
|
34
68
|
display: flex;
|
|
35
69
|
flex-direction: column;
|
|
36
|
-
gap: 16px;
|
|
37
70
|
width: 100%;
|
|
71
|
+
max-width: 840px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Copy gap variations based on heading size and breakpoint */
|
|
75
|
+
/* Heading 1 desktop: 24px gap */
|
|
76
|
+
.breakpoint-desktop.heading-1 .copy {
|
|
77
|
+
gap: var(--space-6, 24px);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Heading 1 mobile: 20px gap */
|
|
81
|
+
.breakpoint-mobile.heading-1 .copy {
|
|
82
|
+
gap: var(--space-5, 20px);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Heading 2, 3 desktop: 16px gap */
|
|
86
|
+
.breakpoint-desktop.heading-2 .copy,
|
|
87
|
+
.breakpoint-desktop.heading-3 .copy {
|
|
88
|
+
gap: var(--space-4, 16px);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Heading 2 mobile: 16px gap */
|
|
92
|
+
.breakpoint-mobile.heading-2 .copy {
|
|
93
|
+
gap: var(--space-4, 16px);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Heading 3 mobile, 4 desktop, 5 desktop: 12px gap */
|
|
97
|
+
.breakpoint-mobile.heading-3 .copy,
|
|
98
|
+
.breakpoint-desktop.heading-4 .copy,
|
|
99
|
+
.breakpoint-desktop.heading-5 .copy {
|
|
100
|
+
gap: var(--space-3, 12px);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Heading 4 mobile, 5 mobile: 8px gap */
|
|
104
|
+
.breakpoint-mobile.heading-4 .copy,
|
|
105
|
+
.breakpoint-mobile.heading-5 .copy {
|
|
106
|
+
gap: var(--space-2, 8px);
|
|
38
107
|
}
|
|
39
108
|
|
|
40
109
|
/* Heading styles */
|
|
41
110
|
.heading {
|
|
42
|
-
font-family: var(--typography-
|
|
43
|
-
font-weight:
|
|
44
|
-
color: var(--typography-heading-primary, #14343B);
|
|
45
|
-
line-height: 1;
|
|
111
|
+
font-family: var(--typography-headingfont, 'NeuSans', sans-serif);
|
|
112
|
+
font-weight: var(--font-weight-book, 500);
|
|
113
|
+
color: var(--af-typography-heading-primary, var(--colour-typography-heading-primary, #14343B));
|
|
114
|
+
line-height: var(--line-height-heading-tight, 1);
|
|
115
|
+
letter-spacing: var(--letter-spacing-heading, -0.02em);
|
|
46
116
|
white-space: pre-wrap;
|
|
47
117
|
}
|
|
48
118
|
|
|
49
119
|
/* Desktop heading sizes */
|
|
50
120
|
.breakpoint-desktop.heading-1 .heading {
|
|
51
|
-
font-size: 56px;
|
|
52
|
-
letter-spacing: -1.12px;
|
|
121
|
+
font-size: var(--font-size-heading-1-desktop, 56px);
|
|
53
122
|
}
|
|
54
123
|
|
|
55
124
|
.breakpoint-desktop.heading-2 .heading {
|
|
56
|
-
font-size: 44px;
|
|
57
|
-
letter-spacing: -0.88px;
|
|
125
|
+
font-size: var(--font-size-heading-2-desktop, 44px);
|
|
58
126
|
}
|
|
59
127
|
|
|
60
128
|
.breakpoint-desktop.heading-3 .heading {
|
|
61
|
-
font-size: 34px;
|
|
62
|
-
letter-spacing: -0.68px;
|
|
129
|
+
font-size: var(--font-size-heading-3-desktop, 34px);
|
|
63
130
|
}
|
|
64
131
|
|
|
65
132
|
.breakpoint-desktop.heading-4 .heading {
|
|
66
|
-
font-size: 24px;
|
|
67
|
-
|
|
68
|
-
line-height: 1.2;
|
|
133
|
+
font-size: var(--font-size-heading-4-desktop, 24px);
|
|
134
|
+
line-height: var(--line-height-heading-relaxed, 1.2);
|
|
69
135
|
}
|
|
70
136
|
|
|
71
137
|
.breakpoint-desktop.heading-5 .heading {
|
|
72
|
-
font-size: 20px;
|
|
73
|
-
|
|
74
|
-
line-height: 1.2;
|
|
138
|
+
font-size: var(--font-size-heading-5-desktop, 20px);
|
|
139
|
+
line-height: var(--line-height-heading-relaxed, 1.2);
|
|
75
140
|
}
|
|
76
141
|
|
|
77
142
|
/* Mobile heading sizes */
|
|
78
143
|
.breakpoint-mobile.heading-1 .heading {
|
|
79
|
-
font-size: 38px;
|
|
80
|
-
letter-spacing: -0.76px;
|
|
144
|
+
font-size: var(--font-size-heading-1-mobile, 38px);
|
|
81
145
|
}
|
|
82
146
|
|
|
83
147
|
.breakpoint-mobile.heading-2 .heading {
|
|
84
|
-
font-size: 32px;
|
|
85
|
-
letter-spacing: -0.64px;
|
|
148
|
+
font-size: var(--font-size-heading-2-mobile, 32px);
|
|
86
149
|
}
|
|
87
150
|
|
|
88
151
|
.breakpoint-mobile.heading-3 .heading {
|
|
89
|
-
font-size: 25px;
|
|
90
|
-
letter-spacing: -0.5px;
|
|
152
|
+
font-size: var(--font-size-heading-3-mobile, 25px);
|
|
91
153
|
}
|
|
92
154
|
|
|
93
155
|
.breakpoint-mobile.heading-4 .heading {
|
|
94
|
-
font-size: 20px;
|
|
95
|
-
|
|
96
|
-
line-height: 1.1;
|
|
156
|
+
font-size: var(--font-size-heading-4-mobile, 20px);
|
|
157
|
+
line-height: var(--line-height-heading-normal, 1.1);
|
|
97
158
|
}
|
|
98
159
|
|
|
99
160
|
.breakpoint-mobile.heading-5 .heading {
|
|
100
|
-
font-size: 18px;
|
|
101
|
-
|
|
102
|
-
line-height: 1.1;
|
|
161
|
+
font-size: var(--font-size-heading-5-mobile, 18px);
|
|
162
|
+
line-height: var(--line-height-heading-normal, 1.1);
|
|
103
163
|
}
|
|
104
164
|
|
|
105
|
-
/* Description/body text */
|
|
165
|
+
/* Description/body text - default (body/large) */
|
|
106
166
|
.description {
|
|
107
|
-
font-family:
|
|
108
|
-
font-size: 18px;
|
|
109
|
-
font-weight: 400;
|
|
110
|
-
line-height: 26px;
|
|
111
|
-
color: var(--typography-body-default, #2B484F);
|
|
167
|
+
font-family: var(--typography-bodyfont, 'NeuSans', sans-serif);
|
|
168
|
+
font-size: var(--font-size-body-large, 18px);
|
|
169
|
+
font-weight: var(--font-weight-regular, 400);
|
|
170
|
+
line-height: var(--line-height-body-large, 26px);
|
|
171
|
+
color: var(--af-typography-body-default, var(--colour-typography-body-default, #2B484F));
|
|
112
172
|
white-space: pre-wrap;
|
|
113
173
|
}
|
|
114
174
|
|
|
175
|
+
/* Description text size variations - smaller for heading 3 mobile, 4, and 5 */
|
|
176
|
+
.breakpoint-mobile.heading-3 .description,
|
|
177
|
+
.breakpoint-desktop.heading-4 .description,
|
|
178
|
+
.breakpoint-mobile.heading-4 .description,
|
|
179
|
+
.breakpoint-desktop.heading-5 .description,
|
|
180
|
+
.breakpoint-mobile.heading-5 .description {
|
|
181
|
+
font-size: var(--font-size-body-medium, 16px);
|
|
182
|
+
line-height: var(--line-height-body-medium, 24px);
|
|
183
|
+
}
|
|
184
|
+
|
|
115
185
|
.description:empty {
|
|
116
186
|
display: none;
|
|
117
187
|
}
|
|
@@ -119,14 +189,14 @@
|
|
|
119
189
|
/* Buttons section */
|
|
120
190
|
.buttons {
|
|
121
191
|
display: flex;
|
|
122
|
-
gap: 12px;
|
|
192
|
+
gap: var(--space-3, 12px);
|
|
123
193
|
}
|
|
124
194
|
|
|
125
195
|
.buttons:empty {
|
|
126
196
|
display: none;
|
|
127
197
|
}
|
|
128
198
|
|
|
129
|
-
/* Button alignment - horizontal */
|
|
199
|
+
/* Button alignment - horizontal (desktop only) */
|
|
130
200
|
.button-horizontal .buttons {
|
|
131
201
|
flex-direction: row;
|
|
132
202
|
align-items: center;
|
|
@@ -135,7 +205,7 @@
|
|
|
135
205
|
.text-left.button-horizontal {
|
|
136
206
|
flex-direction: row;
|
|
137
207
|
align-items: center;
|
|
138
|
-
gap: 16px;
|
|
208
|
+
gap: var(--space-4, 16px);
|
|
139
209
|
}
|
|
140
210
|
|
|
141
211
|
.text-left.button-horizontal .copy {
|
|
@@ -143,6 +213,12 @@
|
|
|
143
213
|
max-width: 950px;
|
|
144
214
|
}
|
|
145
215
|
|
|
216
|
+
/* Heading 3, 4 horizontal: different max-width */
|
|
217
|
+
.text-left.button-horizontal.heading-3 .copy,
|
|
218
|
+
.text-left.button-horizontal.heading-4 .copy {
|
|
219
|
+
max-width: 840px;
|
|
220
|
+
}
|
|
221
|
+
|
|
146
222
|
.text-left.button-horizontal .buttons {
|
|
147
223
|
flex-shrink: 0;
|
|
148
224
|
}
|
|
@@ -154,6 +230,16 @@
|
|
|
154
230
|
}
|
|
155
231
|
|
|
156
232
|
.text-center.button-vertical .buttons {
|
|
233
|
+
justify-content: center;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/* Mobile button stacking - buttons stack vertically on mobile */
|
|
237
|
+
.breakpoint-mobile .buttons {
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
align-items: stretch;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.breakpoint-mobile.text-center .buttons {
|
|
157
243
|
align-items: center;
|
|
158
244
|
}
|
|
159
245
|
|
|
@@ -22,15 +22,15 @@ export class AfTypographyLockup {
|
|
|
22
22
|
const containerClasses = {
|
|
23
23
|
'lockup': true,
|
|
24
24
|
[`text-${this.textAlignment}`]: true,
|
|
25
|
-
[`button-${this.buttonAlignment}`]: true
|
|
26
|
-
};
|
|
27
|
-
const copyClasses = {
|
|
28
|
-
'copy': true,
|
|
25
|
+
[`button-${this.buttonAlignment}`]: true,
|
|
29
26
|
[`heading-${this.headingSize}`]: true,
|
|
30
27
|
[`breakpoint-${this.breakpoint}`]: true
|
|
31
28
|
};
|
|
29
|
+
const copyClasses = {
|
|
30
|
+
'copy': true
|
|
31
|
+
};
|
|
32
32
|
const copyStyle = this.maxWidth ? { maxWidth: `${this.maxWidth}px` } : {};
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '62d24f768270ca80fea5f47bbb98fcd51d1ce19f' }, h("div", { key: '7e4ce0a3702cd933d4c2cf902a9de7aa608d7f45', class: containerClasses }, h("div", { key: '2139a714f4c654343246ea9acc3a4158633fbea5', class: copyClasses, style: copyStyle }, h("div", { key: 'c912d098ef8ff24579a1798a04e636f3127b4142', class: "heading", part: "heading" }, h("slot", { key: '836fdd1778b706d239387845daa52fec6b38c8b8' })), h("div", { key: '4d1c9207a166aa4e717b655f8471de25bfb67c7a', class: "description", part: "body" }, h("slot", { key: 'f3d2f3fb15547ce230f868d92e14f0156d8a86b4', name: "description" }))), h("div", { key: '4567953f1da984155af2dce9f8eeda69201fd80a', class: "buttons", part: "buttons" }, h("slot", { key: 'ba914f51d04808f52deb6eb9dcecb40f9516057c', name: "buttons" })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "af-typography-lockup"; }
|
|
36
36
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"af-typography-lockup.js","sourceRoot":"","sources":["../../../src/components/af-typography-lockup/af-typography-lockup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,kBAAkB;IAL/B;QAME;;WAEG;QACK,gBAAW,GAAsB,CAAC,CAAC;QAE3C;;WAEG;QACK,eAAU,GAAyB,SAAS,CAAC;QAErD;;WAEG;QACK,kBAAa,GAAsB,MAAM,CAAC;QAElD;;WAEG;QACK,oBAAe,GAA8B,UAAU,CAAC;KAwCjE;IAjCC,MAAM;QACJ,MAAM,gBAAgB,GAAG;YACvB,QAAQ,EAAE,IAAI;YACd,CAAC,QAAQ,IAAI,CAAC,aAAa,EAAE,CAAC,EAAE,IAAI;YACpC,CAAC,UAAU,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"af-typography-lockup.js","sourceRoot":"","sources":["../../../src/components/af-typography-lockup/af-typography-lockup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,kBAAkB;IAL/B;QAME;;WAEG;QACK,gBAAW,GAAsB,CAAC,CAAC;QAE3C;;WAEG;QACK,eAAU,GAAyB,SAAS,CAAC;QAErD;;WAEG;QACK,kBAAa,GAAsB,MAAM,CAAC;QAElD;;WAEG;QACK,oBAAe,GAA8B,UAAU,CAAC;KAwCjE;IAjCC,MAAM;QACJ,MAAM,gBAAgB,GAAG;YACvB,QAAQ,EAAE,IAAI;YACd,CAAC,QAAQ,IAAI,CAAC,aAAa,EAAE,CAAC,EAAE,IAAI;YACpC,CAAC,UAAU,IAAI,CAAC,eAAe,EAAE,CAAC,EAAE,IAAI;YACxC,CAAC,WAAW,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI;YACrC,CAAC,cAAc,IAAI,CAAC,UAAU,EAAE,CAAC,EAAE,IAAI;SACxC,CAAC;QAEF,MAAM,WAAW,GAAG;YAClB,MAAM,EAAE,IAAI;SACb,CAAC;QAEF,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAE1E,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAE,gBAAgB;gBAC1B,4DAAK,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,SAAS;oBACvC,4DAAK,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS;wBACjC,8DAAa,CACT;oBACN,4DAAK,KAAK,EAAC,aAAa,EAAC,IAAI,EAAC,MAAM;wBAClC,6DAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B,CACF;gBACN,4DAAK,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS;oBACjC,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Prop, Host } from '@stencil/core';\n\n@Component({\n tag: 'af-typography-lockup',\n styleUrl: 'af-typography-lockup.css',\n shadow: true\n})\nexport class AfTypographyLockup {\n /**\n * The heading size (1-5, where 1 is largest)\n */\n @Prop() headingSize: 1 | 2 | 3 | 4 | 5 = 2;\n\n /**\n * The breakpoint for responsive typography\n */\n @Prop() breakpoint: 'desktop' | 'mobile' = 'desktop';\n\n /**\n * Text alignment\n */\n @Prop() textAlignment: 'left' | 'center' = 'left';\n\n /**\n * Button alignment (horizontal or vertical stacking)\n */\n @Prop() buttonAlignment: 'horizontal' | 'vertical' = 'vertical';\n\n /**\n * Maximum width for the copy section (in pixels)\n */\n @Prop() maxWidth?: number;\n\n render() {\n const containerClasses = {\n 'lockup': true,\n [`text-${this.textAlignment}`]: true,\n [`button-${this.buttonAlignment}`]: true,\n [`heading-${this.headingSize}`]: true,\n [`breakpoint-${this.breakpoint}`]: true\n };\n\n const copyClasses = {\n 'copy': true\n };\n\n const copyStyle = this.maxWidth ? { maxWidth: `${this.maxWidth}px` } : {};\n\n return (\n <Host>\n <div class={containerClasses}>\n <div class={copyClasses} style={copyStyle}>\n <div class=\"heading\" part=\"heading\">\n <slot></slot>\n </div>\n <div class=\"description\" part=\"body\">\n <slot name=\"description\"></slot>\n </div>\n </div>\n <div class=\"buttons\" part=\"buttons\">\n <slot name=\"buttons\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.video-container {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
width: 100%;
|
|
11
|
+
gap: var(--space-10, 40px);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* ==========================================================================
|
|
15
|
+
Top/Bottom Slots
|
|
16
|
+
These inherit theme colors from their position in the split-section
|
|
17
|
+
========================================================================== */
|
|
18
|
+
|
|
19
|
+
.video-container__top,
|
|
20
|
+
.video-container__bottom {
|
|
21
|
+
width: 100%;
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Hide empty slots */
|
|
28
|
+
.video-container__top:empty,
|
|
29
|
+
.video-container__bottom:empty {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ==========================================================================
|
|
34
|
+
Video Thumbnail Section
|
|
35
|
+
========================================================================== */
|
|
36
|
+
|
|
37
|
+
.video-container__video {
|
|
38
|
+
width: 100%;
|
|
39
|
+
max-width: 1024px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.video-container__thumbnail-wrapper {
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: 0;
|
|
45
|
+
border-radius: var(--radii-video-crop, 16px);
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
background-color: var(--colour-inkwell-400, #2b484f);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.video-container__thumbnail {
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
object-fit: cover;
|
|
54
|
+
display: block;
|
|
55
|
+
position: absolute;
|
|
56
|
+
inset: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ==========================================================================
|
|
60
|
+
Play Button Overlay
|
|
61
|
+
========================================================================== */
|
|
62
|
+
|
|
63
|
+
.video-container__play-button {
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 50%;
|
|
66
|
+
left: 50%;
|
|
67
|
+
transform: translate(-50%, -50%);
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
padding: 24px;
|
|
72
|
+
border-radius: var(--radii-button, 9999px);
|
|
73
|
+
background-color: var(--af-button-primary-bg, var(--colour-brand-ice, #a6fffb));
|
|
74
|
+
border: 1px solid var(--af-button-primary-stroke, var(--colour-brand-inkwell, #14343b));
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
transition: background-color 0.2s ease;
|
|
77
|
+
color: var(--af-button-primary-icon, var(--colour-brand-inkwell, #14343b));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.video-container__play-button:hover {
|
|
81
|
+
background-color: var(--af-button-primary-bg-hover, var(--colour-ice-600, #95e6e2));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.video-container__play-button:focus-visible {
|
|
85
|
+
outline: 2px solid var(--colour-brand-ice, #a6fffb);
|
|
86
|
+
outline-offset: 2px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* ==========================================================================
|
|
90
|
+
Mobile Responsive Styles
|
|
91
|
+
========================================================================== */
|
|
92
|
+
|
|
93
|
+
@media (max-width: 768px) {
|
|
94
|
+
.video-container {
|
|
95
|
+
gap: var(--space-8, 32px);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Smaller play button on mobile */
|
|
99
|
+
.video-container__play-button {
|
|
100
|
+
padding: 12px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Video Container molecule component for showcasing video content.
|
|
4
|
+
*
|
|
5
|
+
* Uses slots for typography lockups above and below the video.
|
|
6
|
+
* When used inside af-split-section, the top slot inherits the top theme
|
|
7
|
+
* and the bottom slot inherits the bottom theme for correct colors.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```html
|
|
11
|
+
* <af-split-section top-theme="mist-green" bottom-theme="white">
|
|
12
|
+
* <af-video-container video-thumbnail-url="/path/to/thumbnail.jpg">
|
|
13
|
+
* <af-typography-lockup slot="top" text-alignment="center" heading-size="2">
|
|
14
|
+
* <af-heading level="2">Watch our product demo</af-heading>
|
|
15
|
+
* <af-text slot="description">See how Affinda transforms your workflow</af-text>
|
|
16
|
+
* <af-button slot="buttons" variant="primary">Get Started</af-button>
|
|
17
|
+
* </af-typography-lockup>
|
|
18
|
+
* </af-video-container>
|
|
19
|
+
* </af-split-section>
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @slot top - Content above the video (typically af-typography-lockup). Inherits top theme.
|
|
23
|
+
* @slot bottom - Content below the video (typically af-typography-lockup). Inherits bottom theme.
|
|
24
|
+
*/
|
|
25
|
+
export class AfVideoContainer {
|
|
26
|
+
constructor() {
|
|
27
|
+
/** Video thumbnail image URL */
|
|
28
|
+
this.videoThumbnailUrl = '';
|
|
29
|
+
/** Video alt text for accessibility */
|
|
30
|
+
this.videoAlt = 'Video thumbnail';
|
|
31
|
+
/** Optional video URL for play button link */
|
|
32
|
+
this.videoUrl = '';
|
|
33
|
+
/**
|
|
34
|
+
* Handles play button click - emits event and optionally opens URL
|
|
35
|
+
*/
|
|
36
|
+
this.handlePlayClick = () => {
|
|
37
|
+
const event = this.playClick.emit({ videoUrl: this.videoUrl });
|
|
38
|
+
// Only open URL if event wasn't prevented and URL exists
|
|
39
|
+
if (!event.defaultPrevented && this.videoUrl) {
|
|
40
|
+
window.open(this.videoUrl, '_blank');
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
render() {
|
|
45
|
+
return (h(Host, { key: 'b31355a1ccf3cc4f9655f9c78d16f70fb104a671' }, h("div", { key: 'ebd03ff2668174d400d3d09488030d38d1a25fe8', class: "video-container" }, h("div", { key: 'af32cf3f6fec012e95d35d4224daebdfd64917b5', class: "video-container__top" }, h("slot", { key: '0258f4b6a027b09ecefd4ff6c7f2a62db6075847', name: "top" })), h("div", { key: 'fb74dae0250cfdf22b8c5503cd993ac67894276e', class: "video-container__video" }, h("af-aspect-ratio", { key: '88445a4ae1125882d3dc8fffc83fb1f880857fae', ratio: "16:9" }, h("div", { key: 'd87f8d15036026b04330e23395f95ad8363d72a3', class: "video-container__thumbnail-wrapper" }, this.videoThumbnailUrl && (h("img", { key: 'e1327574236c73cc6c5b5a7a820c3905d2307047', src: this.videoThumbnailUrl, alt: this.videoAlt, class: "video-container__thumbnail", loading: "lazy" })), h("button", { key: 'c278f6944c5d69fec242a8291655985a20a7896f', class: "video-container__play-button", onClick: this.handlePlayClick, "aria-label": "Play video", type: "button" }, h("af-icon", { key: 'df9ca50c0938d8539c7a79fb6f5bceb6326ed96c', name: "play", size: 24 }))))), h("div", { key: '3e2ba7be65431315fd3996fdadfbc45acb1be76b', class: "video-container__bottom" }, h("slot", { key: '10d64457339942b3bde412a740a66bf9665e8033', name: "bottom" })))));
|
|
46
|
+
}
|
|
47
|
+
static get is() { return "af-video-container"; }
|
|
48
|
+
static get encapsulation() { return "scoped"; }
|
|
49
|
+
static get originalStyleUrls() {
|
|
50
|
+
return {
|
|
51
|
+
"$": ["af-video-container.css"]
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
static get styleUrls() {
|
|
55
|
+
return {
|
|
56
|
+
"$": ["af-video-container.css"]
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
static get properties() {
|
|
60
|
+
return {
|
|
61
|
+
"videoThumbnailUrl": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"mutable": false,
|
|
64
|
+
"complexType": {
|
|
65
|
+
"original": "string",
|
|
66
|
+
"resolved": "string",
|
|
67
|
+
"references": {}
|
|
68
|
+
},
|
|
69
|
+
"required": false,
|
|
70
|
+
"optional": false,
|
|
71
|
+
"docs": {
|
|
72
|
+
"tags": [],
|
|
73
|
+
"text": "Video thumbnail image URL"
|
|
74
|
+
},
|
|
75
|
+
"getter": false,
|
|
76
|
+
"setter": false,
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"attribute": "video-thumbnail-url",
|
|
79
|
+
"defaultValue": "''"
|
|
80
|
+
},
|
|
81
|
+
"videoAlt": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "string",
|
|
86
|
+
"resolved": "string",
|
|
87
|
+
"references": {}
|
|
88
|
+
},
|
|
89
|
+
"required": false,
|
|
90
|
+
"optional": false,
|
|
91
|
+
"docs": {
|
|
92
|
+
"tags": [],
|
|
93
|
+
"text": "Video alt text for accessibility"
|
|
94
|
+
},
|
|
95
|
+
"getter": false,
|
|
96
|
+
"setter": false,
|
|
97
|
+
"reflect": false,
|
|
98
|
+
"attribute": "video-alt",
|
|
99
|
+
"defaultValue": "'Video thumbnail'"
|
|
100
|
+
},
|
|
101
|
+
"videoUrl": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "Optional video URL for play button link"
|
|
114
|
+
},
|
|
115
|
+
"getter": false,
|
|
116
|
+
"setter": false,
|
|
117
|
+
"reflect": false,
|
|
118
|
+
"attribute": "video-url",
|
|
119
|
+
"defaultValue": "''"
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
static get events() {
|
|
124
|
+
return [{
|
|
125
|
+
"method": "playClick",
|
|
126
|
+
"name": "playClick",
|
|
127
|
+
"bubbles": true,
|
|
128
|
+
"cancelable": true,
|
|
129
|
+
"composed": true,
|
|
130
|
+
"docs": {
|
|
131
|
+
"tags": [],
|
|
132
|
+
"text": "Emitted when the play button is clicked.\nUse this to handle video playback (e.g., open modal, embed player).\nIf videoUrl is set and no handler prevents default, opens URL in new tab."
|
|
133
|
+
},
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "{ videoUrl: string }",
|
|
136
|
+
"resolved": "{ videoUrl: string; }",
|
|
137
|
+
"references": {}
|
|
138
|
+
}
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=af-video-container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"af-video-container.js","sourceRoot":"","sources":["../../../src/components/af-video-container/af-video-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAOH,MAAM,OAAO,gBAAgB;IAN7B;QAOE,gCAAgC;QACxB,sBAAiB,GAAW,EAAE,CAAC;QAEvC,uCAAuC;QAC/B,aAAQ,GAAW,iBAAiB,CAAC;QAE7C,8CAA8C;QACtC,aAAQ,GAAW,EAAE,CAAC;QAS9B;;WAEG;QACK,oBAAe,GAAG,GAAG,EAAE;YAC7B,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;YAE/D,yDAAyD;YACzD,IAAI,CAAC,KAAK,CAAC,gBAAgB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAC7C,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YACvC,CAAC;QACH,CAAC,CAAC;KA4CH;IA1CC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAC,iBAAiB;gBAE1B,4DAAK,KAAK,EAAC,sBAAsB;oBAC/B,6DAAM,IAAI,EAAC,KAAK,GAAQ,CACpB;gBAGN,4DAAK,KAAK,EAAC,wBAAwB;oBACjC,wEAAiB,KAAK,EAAC,MAAM;wBAC3B,4DAAK,KAAK,EAAC,oCAAoC;4BAC5C,IAAI,CAAC,iBAAiB,IAAI,CACzB,4DACE,GAAG,EAAE,IAAI,CAAC,iBAAiB,EAC3B,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,MAAM,GACd,CACH;4BAED,+DACE,KAAK,EAAC,8BAA8B,EACpC,OAAO,EAAE,IAAI,CAAC,eAAe,gBAClB,YAAY,EACvB,IAAI,EAAC,QAAQ;gCAEb,gEAAS,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,EAAE,GAAY,CAClC,CACL,CACU,CACd;gBAGN,4DAAK,KAAK,EAAC,yBAAyB;oBAClC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, h, Host, Prop, Event, EventEmitter } from '@stencil/core';\n\n/**\n * Video Container molecule component for showcasing video content.\n * \n * Uses slots for typography lockups above and below the video.\n * When used inside af-split-section, the top slot inherits the top theme\n * and the bottom slot inherits the bottom theme for correct colors.\n * \n * @example\n * ```html\n * <af-split-section top-theme=\"mist-green\" bottom-theme=\"white\">\n * <af-video-container video-thumbnail-url=\"/path/to/thumbnail.jpg\">\n * <af-typography-lockup slot=\"top\" text-alignment=\"center\" heading-size=\"2\">\n * <af-heading level=\"2\">Watch our product demo</af-heading>\n * <af-text slot=\"description\">See how Affinda transforms your workflow</af-text>\n * <af-button slot=\"buttons\" variant=\"primary\">Get Started</af-button>\n * </af-typography-lockup>\n * </af-video-container>\n * </af-split-section>\n * ```\n * \n * @slot top - Content above the video (typically af-typography-lockup). Inherits top theme.\n * @slot bottom - Content below the video (typically af-typography-lockup). Inherits bottom theme.\n */\n@Component({\n tag: 'af-video-container',\n styleUrl: 'af-video-container.css',\n shadow: false,\n scoped: true,\n})\nexport class AfVideoContainer {\n /** Video thumbnail image URL */\n @Prop() videoThumbnailUrl: string = '';\n\n /** Video alt text for accessibility */\n @Prop() videoAlt: string = 'Video thumbnail';\n\n /** Optional video URL for play button link */\n @Prop() videoUrl: string = '';\n\n /** \n * Emitted when the play button is clicked.\n * Use this to handle video playback (e.g., open modal, embed player).\n * If videoUrl is set and no handler prevents default, opens URL in new tab.\n */\n @Event() playClick!: EventEmitter<{ videoUrl: string }>;\n\n /**\n * Handles play button click - emits event and optionally opens URL\n */\n private handlePlayClick = () => {\n const event = this.playClick.emit({ videoUrl: this.videoUrl });\n \n // Only open URL if event wasn't prevented and URL exists\n if (!event.defaultPrevented && this.videoUrl) {\n window.open(this.videoUrl, '_blank');\n }\n };\n\n render() {\n return (\n <Host>\n <div class=\"video-container\">\n {/* Top slot - for typography lockup above video (inherits top theme) */}\n <div class=\"video-container__top\">\n <slot name=\"top\"></slot>\n </div>\n\n {/* Video thumbnail section */}\n <div class=\"video-container__video\">\n <af-aspect-ratio ratio=\"16:9\">\n <div class=\"video-container__thumbnail-wrapper\">\n {this.videoThumbnailUrl && (\n <img \n src={this.videoThumbnailUrl} \n alt={this.videoAlt}\n class=\"video-container__thumbnail\"\n loading=\"lazy\"\n />\n )}\n {/* Play button overlay */}\n <button \n class=\"video-container__play-button\"\n onClick={this.handlePlayClick}\n aria-label=\"Play video\"\n type=\"button\"\n >\n <af-icon name=\"play\" size={24}></af-icon>\n </button>\n </div>\n </af-aspect-ratio>\n </div>\n\n {/* Bottom slot - for typography lockup below video (inherits bottom theme) */}\n <div class=\"video-container__bottom\">\n <slot name=\"bottom\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n\n"]}
|
|
@@ -10,4 +10,15 @@ export { AfButton } from './components/af-button/af-button';
|
|
|
10
10
|
export { AfIconButton } from './components/af-icon-button/af-icon-button';
|
|
11
11
|
export { AfButtonGroup } from './components/af-button-group/af-button-group';
|
|
12
12
|
export { AfTypographyLockup } from './components/af-typography-lockup/af-typography-lockup';
|
|
13
|
+
export { AfCheckbox } from './components/af-checkbox/af-checkbox';
|
|
14
|
+
export { AfRadio } from './components/af-radio/af-radio';
|
|
15
|
+
export { AfSwitch } from './components/af-switch/af-switch';
|
|
16
|
+
export { AfFieldset } from './components/af-fieldset/af-fieldset';
|
|
17
|
+
export { AfInput } from './components/af-input/af-input';
|
|
18
|
+
export { AfTextarea } from './components/af-textarea/af-textarea';
|
|
19
|
+
export { AfTag } from './components/af-tag/af-tag';
|
|
20
|
+
export { AfTab } from './components/af-tab/af-tab';
|
|
21
|
+
export { AfTabBar } from './components/af-tab-bar/af-tab-bar';
|
|
22
|
+
export { AfFeatureCard } from './components/af-feature-card/af-feature-card';
|
|
23
|
+
export { AfIllustratedCard } from './components/af-illustrated-card/af-illustrated-card';
|
|
13
24
|
//# sourceMappingURL=components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC","sourcesContent":["export { AfHeading } from './components/af-heading/af-heading';\nexport { AfText } from './components/af-text/af-text';\nexport { AfColorSwatch } from './components/af-color-swatch/af-color-swatch';\nexport { AfContainer } from './components/af-container/af-container';\nexport { AfAspectRatio } from './components/af-aspect-ratio/af-aspect-ratio';\nexport { AfNavItem } from './components/af-nav-item/af-nav-item';\nexport { AfNavbar } from './components/af-navbar/af-navbar';\nexport { AfLogo } from './components/af-logo/af-logo';\nexport { AfButton } from './components/af-button/af-button';\nexport { AfIconButton } from './components/af-icon-button/af-icon-button';\nexport { AfButtonGroup } from './components/af-button-group/af-button-group';\nexport { AfTypographyLockup } from './components/af-typography-lockup/af-typography-lockup';\n"]}
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wDAAwD,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,sDAAsD,CAAC","sourcesContent":["export { AfHeading } from './components/af-heading/af-heading';\nexport { AfText } from './components/af-text/af-text';\nexport { AfColorSwatch } from './components/af-color-swatch/af-color-swatch';\nexport { AfContainer } from './components/af-container/af-container';\nexport { AfAspectRatio } from './components/af-aspect-ratio/af-aspect-ratio';\nexport { AfNavItem } from './components/af-nav-item/af-nav-item';\nexport { AfNavbar } from './components/af-navbar/af-navbar';\nexport { AfLogo } from './components/af-logo/af-logo';\nexport { AfButton } from './components/af-button/af-button';\nexport { AfIconButton } from './components/af-icon-button/af-icon-button';\nexport { AfButtonGroup } from './components/af-button-group/af-button-group';\nexport { AfTypographyLockup } from './components/af-typography-lockup/af-typography-lockup';\nexport { AfCheckbox } from './components/af-checkbox/af-checkbox';\nexport { AfRadio } from './components/af-radio/af-radio';\nexport { AfSwitch } from './components/af-switch/af-switch';\nexport { AfFieldset } from './components/af-fieldset/af-fieldset';\nexport { AfInput } from './components/af-input/af-input';\nexport { AfTextarea } from './components/af-textarea/af-textarea';\nexport { AfTag } from './components/af-tag/af-tag';\nexport { AfTab } from './components/af-tab/af-tab';\nexport { AfTabBar } from './components/af-tab-bar/af-tab-bar';\nexport { AfFeatureCard } from './components/af-feature-card/af-feature-card';\nexport { AfIllustratedCard } from './components/af-illustrated-card/af-illustrated-card';\n"]}
|
|
@@ -1,42 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const afCardCss = ".sc-af-card-h{display:flex;flex-direction:column;width:100%;min-height:400px}.card.sc-af-card{background:var(--colour-background-level-1, #e8eeed);border-radius:var(--border-radius-card-level-1, 32px);overflow:hidden;position:relative;display:flex;flex-direction:column;min-height:400px;height:100%;box-sizing:border-box}.card--with-image.sc-af-card{background:var(--colour-brand-inkwell, #14343b);min-height:480px}.card__background.sc-af-card{position:absolute;inset:0;pointer-events:none;z-index:0}.card__background-image.sc-af-card{width:100%;height:100%;object-fit:cover;object-position:center}.card__content.sc-af-card{position:relative;padding:40px;display:flex;flex-direction:column;gap:24px;flex:1;box-sizing:border-box;z-index:1}.card__content.sc-af-card-s>img,.card__content .sc-af-card-s>img{width:100%;height:auto;min-height:200px;margin-top:auto;object-fit:cover;object-position:top center}.card__content.sc-af-card-s>af-heading,.card__content .sc-af-card-s>af-heading{margin-bottom:0}.card__content.sc-af-card-s>af-text,.card__content .sc-af-card-s>af-text{line-height:1.44}.card__content--overlay.sc-af-card{backdrop-filter:blur(2px);background:linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);padding:32px;padding-top:200px;justify-content:flex-end;--colour-typography-heading-primary:#ffffff;--colour-typography-heading-secondary:#ffffff;--colour-typography-body-default:#ffffff;--colour-typography-body-dark:#ffffff;color:#ffffff}.card__content--overlay.sc-af-card *.sc-af-card{color:#ffffff !important}.card.sc-af-card:not(.card--with-image):not(.card--dark-overlay) af-heading.sc-af-card,.card.sc-af-card:not(.card--with-image):not(.card--dark-overlay) af-text.sc-af-card{--colour-typography-heading-primary:var(--colour-brand-inkwell, #14343B);--colour-typography-body-default:#2B484F}.card--custom-bg.sc-af-card:not(.card--dark-overlay) af-heading.sc-af-card,.card--custom-bg.sc-af-card:not(.card--dark-overlay) af-text.sc-af-card{--colour-typography-heading-primary:var(--colour-brand-inkwell, #14343B);--colour-typography-body-default:#2B484F}";
|
|
4
|
-
|
|
5
|
-
const AfCard$1 = /*@__PURE__*/ proxyCustomElement(class AfCard extends H {
|
|
6
|
-
constructor(registerHost) {
|
|
7
|
-
super();
|
|
8
|
-
if (registerHost !== false) {
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Whether to apply a dark gradient overlay (for cards with background images)
|
|
13
|
-
*/
|
|
14
|
-
this.darkOverlay = false;
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
const hasBackgroundImage = !!this.backgroundImage;
|
|
18
|
-
const cardStyle = this.backgroundColor ? { backgroundColor: this.backgroundColor } : undefined;
|
|
19
|
-
return (h(Host, { key: '026a3f9e10d281558913cd6eb69db800da37deb4' }, h("div", { key: 'd6b43e724d5611e75ec096dad88c5373ef5c5adc', class: `card ${hasBackgroundImage ? 'card--with-image' : ''} ${this.darkOverlay ? 'card--dark-overlay' : ''} ${this.backgroundColor ? 'card--custom-bg' : ''}`, style: cardStyle }, hasBackgroundImage && (h("div", { key: 'f71753ba962411320c45f06c7c9a5c98b89883a9', class: "card__background" }, h("img", { key: '2d3b19e350ddf5a1efa1c1a9a343851e423cc275', src: this.backgroundImage, alt: "", class: "card__background-image" }))), h("div", { key: '459e00230ef7a470ee808d0d674412b18822d473', class: `card__content ${hasBackgroundImage ? 'card__content--overlay' : ''}` }, h("slot", { key: 'd2f4f261f0b2a766c912504d17f0caec96ae02c4' })))));
|
|
20
|
-
}
|
|
21
|
-
static get style() { return afCardCss; }
|
|
22
|
-
}, [262, "af-card", {
|
|
23
|
-
"backgroundImage": [1, "background-image"],
|
|
24
|
-
"backgroundColor": [1, "background-color"],
|
|
25
|
-
"darkOverlay": [4, "dark-overlay"]
|
|
26
|
-
}]);
|
|
27
|
-
function defineCustomElement$1() {
|
|
28
|
-
if (typeof customElements === "undefined") {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const components = ["af-card"];
|
|
32
|
-
components.forEach(tagName => { switch (tagName) {
|
|
33
|
-
case "af-card":
|
|
34
|
-
if (!customElements.get(tagName)) {
|
|
35
|
-
customElements.define(tagName, AfCard$1);
|
|
36
|
-
}
|
|
37
|
-
break;
|
|
38
|
-
} });
|
|
39
|
-
}
|
|
1
|
+
import { A as AfCard$1, d as defineCustomElement$1 } from './p-Dvi1lz3x.js';
|
|
40
2
|
|
|
41
3
|
const AfCard = AfCard$1;
|
|
42
4
|
const defineCustomElement = defineCustomElement$1;
|