@affinda/wc 0.0.20 → 0.0.22
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.css +1 -1
- package/dist/affinda/affinda.esm.js +1 -2
- package/dist/affinda/index.esm.js +1 -2
- package/dist/affinda/p-00a226ba.entry.js +1 -0
- package/dist/affinda/p-020bd9db.entry.js +1 -0
- package/dist/affinda/p-0264279f.entry.js +1 -0
- package/dist/affinda/p-08dc48a4.entry.js +1 -0
- package/dist/affinda/p-09184969.entry.js +1 -0
- package/dist/affinda/p-0ae3495c.entry.js +1 -0
- package/dist/affinda/p-0c6b7f0b.entry.js +1 -0
- package/dist/affinda/p-14c85efd.entry.js +1 -0
- package/dist/affinda/p-20fe557e.entry.js +1 -0
- package/dist/affinda/p-26a60b00.entry.js +1 -0
- package/dist/affinda/p-289cb56f.entry.js +1 -0
- package/dist/affinda/p-29d0a985.entry.js +1 -0
- package/dist/affinda/p-2c0c94c5.entry.js +1 -0
- package/dist/affinda/p-2ce405df.entry.js +1 -0
- package/dist/affinda/p-2d4c1202.entry.js +1 -0
- package/dist/affinda/p-2f1e0c44.entry.js +1 -0
- package/dist/affinda/p-3899a278.entry.js +1 -0
- package/dist/affinda/p-404f2cea.entry.js +1 -0
- package/dist/affinda/p-468d16b1.entry.js +1 -0
- package/dist/affinda/p-46efe4e4.entry.js +1 -0
- package/dist/affinda/p-5136a894.entry.js +1 -0
- package/dist/affinda/{p-6af1634a.entry.js → p-54d85947.entry.js} +1 -2
- package/dist/affinda/p-589a860a.entry.js +1 -0
- package/dist/affinda/p-63e86a14.entry.js +1 -0
- package/dist/affinda/p-6c99b2bb.entry.js +1 -0
- package/dist/affinda/p-7ed6ee6a.entry.js +1 -0
- package/dist/affinda/p-81de8fbd.entry.js +1 -0
- package/dist/affinda/p-81eb85ec.entry.js +1 -0
- package/dist/affinda/p-854f6a9e.entry.js +1 -0
- package/dist/affinda/p-8742f8fe.entry.js +1 -0
- package/dist/affinda/p-8c394de2.entry.js +1 -0
- package/dist/affinda/p-9018ddec.entry.js +1 -0
- package/dist/affinda/p-90edefa8.entry.js +1 -0
- package/dist/affinda/p-9fea6229.entry.js +1 -0
- package/dist/affinda/p-CPfAC9fk.js +2 -0
- package/dist/affinda/p-a5179afb.entry.js +1 -0
- package/dist/affinda/p-a5f7d3d6.entry.js +1 -0
- package/dist/affinda/p-a8af25d5.entry.js +1 -0
- package/dist/affinda/p-ace3c850.entry.js +1 -0
- package/dist/affinda/p-ae43f07b.entry.js +1 -0
- package/dist/affinda/p-aec05709.entry.js +1 -0
- package/dist/affinda/p-af9e25ea.entry.js +1 -0
- package/dist/affinda/p-b477c08a.entry.js +1 -0
- package/dist/affinda/p-b9f58a18.entry.js +1 -0
- package/dist/affinda/p-bd3f81fc.entry.js +1 -0
- package/dist/affinda/p-ca14e17a.entry.js +1 -0
- package/dist/affinda/p-cb889d6b.entry.js +1 -0
- package/dist/affinda/p-cbf0911b.entry.js +1 -0
- package/dist/affinda/{p-2e750d43.entry.js → p-cf4d0d8e.entry.js} +1 -2
- package/dist/affinda/p-cfb90374.entry.js +1 -0
- package/dist/affinda/p-d7129564.entry.js +1 -0
- package/dist/affinda/p-d9cfea73.entry.js +1 -0
- package/dist/affinda/p-df7b1b09.entry.js +1 -0
- package/dist/affinda/p-e0915179.entry.js +1 -0
- package/dist/affinda/p-e3cd6671.entry.js +1 -0
- package/dist/affinda/p-e61dfb97.entry.js +1 -0
- package/dist/affinda/p-e6b4761c.entry.js +1 -0
- package/dist/affinda/p-ecab0884.entry.js +1 -0
- package/dist/affinda/p-ef754e65.entry.js +1 -0
- package/dist/affinda/p-f3d5d1be.entry.js +1 -0
- package/dist/affinda/p-f79781ff.entry.js +1 -0
- package/dist/affinda/p-f825b81f.entry.js +1 -0
- package/dist/affinda/p-fc1452ba.entry.js +1 -0
- package/dist/affinda/p-ffdd2c30.entry.js +1 -0
- package/dist/cjs/af-accordion-item.cjs.entry.js +7 -32
- package/dist/cjs/af-accordion.cjs.entry.js +7 -6
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +3 -4
- package/dist/cjs/af-button-group.cjs.entry.js +4 -5
- package/dist/cjs/af-button.cjs.entry.js +7 -7
- package/dist/cjs/af-card.cjs.entry.js +4 -5
- package/dist/cjs/af-center.cjs.entry.js +4 -5
- package/dist/cjs/af-checkbox.cjs.entry.js +4 -5
- package/dist/cjs/af-client-carousel.cjs.entry.js +14 -5
- package/dist/cjs/af-color-swatch.cjs.entry.js +3 -4
- package/dist/cjs/af-contact-item.cjs.entry.js +4 -5
- package/dist/cjs/af-container.cjs.entry.js +3 -4
- package/dist/cjs/af-divider.cjs.entry.js +4 -5
- package/dist/cjs/af-feature-accordion.cjs.entry.js +8 -7
- package/dist/cjs/af-feature-card.cjs.entry.js +3 -4
- package/dist/cjs/af-feature-grid.cjs.entry.js +7 -6
- package/dist/cjs/af-fieldset.cjs.entry.js +4 -5
- package/dist/cjs/af-footer-column.cjs.entry.js +4 -5
- package/dist/cjs/af-footer-link.cjs.entry.js +4 -5
- package/dist/cjs/af-footer.cjs.entry.js +4 -5
- package/dist/cjs/af-grid-callout.cjs.entry.js +3 -4
- package/dist/cjs/af-grid.cjs.entry.js +5 -6
- package/dist/cjs/af-heading_5.cjs.entry.js +49 -14
- package/dist/cjs/af-icon-box.cjs.entry.js +4 -5
- package/dist/cjs/af-icon-button.cjs.entry.js +3 -4
- package/dist/cjs/af-icon-text.cjs.entry.js +4 -5
- package/dist/cjs/af-icon.cjs.entry.js +3 -4
- package/dist/cjs/af-illustrated-card.cjs.entry.js +4 -5
- package/dist/cjs/af-image.cjs.entry.js +14 -5
- package/dist/cjs/af-in-page-banner.cjs.entry.js +4 -5
- package/dist/cjs/af-inline.cjs.entry.js +4 -5
- package/dist/cjs/af-input.cjs.entry.js +4 -5
- package/dist/cjs/af-logo-well.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-accordion-item.cjs.entry.js +8 -7
- package/dist/cjs/af-nav-accordion.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-card.cjs.entry.js +3 -4
- package/dist/cjs/af-nav-menu-nest.cjs.entry.js +4 -5
- package/dist/cjs/af-nav-menu.cjs.entry.js +4 -5
- package/dist/cjs/af-number-badge.cjs.entry.js +4 -5
- package/dist/cjs/af-progress-line.cjs.entry.js +5 -6
- package/dist/cjs/af-radio.cjs.entry.js +4 -5
- package/dist/cjs/af-section.cjs.entry.js +5 -6
- package/dist/cjs/af-show.cjs.entry.js +4 -5
- package/dist/cjs/af-social-link.cjs.entry.js +4 -5
- package/dist/cjs/af-spacer.cjs.entry.js +4 -5
- package/dist/cjs/af-split-section.cjs.entry.js +5 -6
- package/dist/cjs/af-stack.cjs.entry.js +4 -5
- package/dist/cjs/af-stepper-step.cjs.entry.js +22 -0
- package/dist/cjs/af-stepper.cjs.entry.js +33 -0
- package/dist/cjs/af-switch.cjs.entry.js +4 -5
- package/dist/cjs/af-tab-bar.cjs.entry.js +4 -5
- package/dist/cjs/af-tab.cjs.entry.js +4 -5
- package/dist/cjs/af-tag.cjs.entry.js +9 -11
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +4 -5
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +4 -5
- package/dist/cjs/af-testimonial.cjs.entry.js +5 -6
- package/dist/cjs/af-text-image-nest.cjs.entry.js +4 -5
- package/dist/cjs/af-text-image.cjs.entry.js +3 -4
- package/dist/cjs/af-textarea.cjs.entry.js +4 -5
- package/dist/cjs/af-theme-override.cjs.entry.js +4 -5
- package/dist/cjs/af-typography-lockup.cjs.entry.js +23 -7
- package/dist/cjs/af-video-container.cjs.entry.js +4 -5
- package/dist/cjs/af-visually-hidden.cjs.entry.js +4 -5
- package/dist/cjs/affinda.cjs.js +3 -4
- package/dist/cjs/{index-n-fnurTP.js → index-C1ry3YPK.js} +462 -260
- package/dist/cjs/index.cjs.js +20 -21
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/af-accordion/af-accordion.js +1 -2
- package/dist/collection/components/af-accordion-item/af-accordion-item.js +1 -28
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js +0 -1
- package/dist/collection/components/af-button/af-button.css +24 -24
- package/dist/collection/components/af-button/af-button.js +10 -10
- package/dist/collection/components/af-button-group/af-button-group.js +1 -2
- package/dist/collection/components/af-card/af-card.css +2 -2
- package/dist/collection/components/af-card/af-card.js +1 -2
- package/dist/collection/components/af-center/af-center.js +1 -2
- package/dist/collection/components/af-checkbox/af-checkbox.js +1 -2
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +33 -3
- package/dist/collection/components/af-color-swatch/af-color-swatch.js +0 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js +1 -2
- package/dist/collection/components/af-container/af-container.js +0 -1
- package/dist/collection/components/af-divider/af-divider.js +1 -2
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +2 -3
- package/dist/collection/components/af-feature-card/af-feature-card.js +0 -1
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -2
- package/dist/collection/components/af-fieldset/af-fieldset.js +1 -2
- package/dist/collection/components/af-footer/af-footer.js +1 -2
- package/dist/collection/components/af-footer-column/af-footer-column.js +1 -2
- package/dist/collection/components/af-footer-link/af-footer-link.js +1 -2
- package/dist/collection/components/af-grid/af-grid.js +2 -3
- package/dist/collection/components/af-grid-callout/af-grid-callout.js +0 -1
- package/dist/collection/components/af-heading/af-heading.js +0 -1
- package/dist/collection/components/af-icon/af-icon.js +3 -3
- package/dist/collection/components/af-icon-box/af-icon-box.js +4 -4
- package/dist/collection/components/af-icon-button/af-icon-button.css +2 -2
- package/dist/collection/components/af-icon-button/af-icon-button.js +0 -1
- package/dist/collection/components/af-icon-text/af-icon-text.js +6 -6
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +4 -4
- package/dist/collection/components/af-image/af-image.css +21 -4
- package/dist/collection/components/af-image/af-image.js +33 -2
- 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 +11 -2
- package/dist/collection/components/af-inline/af-inline.js +1 -2
- package/dist/collection/components/af-input/af-input.js +1 -2
- package/dist/collection/components/af-logo/af-logo.js +1 -2
- package/dist/collection/components/af-logo-well/af-logo-well.js +1 -2
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js +1 -2
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js +2 -3
- package/dist/collection/components/af-nav-card/af-nav-card.js +0 -1
- package/dist/collection/components/af-nav-item/af-nav-item.js +0 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.js +1 -2
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +1 -2
- package/dist/collection/components/af-navbar/af-navbar.js +47 -6
- package/dist/collection/components/af-number-badge/af-number-badge.js +3 -4
- package/dist/collection/components/af-progress-line/af-progress-line.js +2 -3
- package/dist/collection/components/af-radio/af-radio.js +1 -2
- package/dist/collection/components/af-section/af-section.css +15 -15
- package/dist/collection/components/af-section/af-section.js +2 -3
- package/dist/collection/components/af-show/af-show.js +1 -2
- package/dist/collection/components/af-social-link/af-social-link.js +1 -2
- package/dist/collection/components/af-spacer/af-spacer.js +1 -2
- package/dist/collection/components/af-split-section/af-split-section.js +2 -3
- package/dist/collection/components/af-stack/af-stack.js +1 -2
- package/dist/collection/components/af-stepper/af-stepper.css +54 -0
- package/dist/collection/components/af-stepper/af-stepper.js +82 -0
- package/dist/collection/components/af-stepper-step/af-stepper-step.css +85 -0
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +59 -0
- package/dist/collection/components/af-switch/af-switch.js +1 -2
- package/dist/collection/components/af-tab/af-tab.js +2 -3
- package/dist/collection/components/af-tab-bar/af-tab-bar.js +3 -4
- package/dist/collection/components/af-tag/af-tag.css +41 -21
- package/dist/collection/components/af-tag/af-tag.js +18 -16
- package/dist/collection/components/af-testimonial/af-testimonial.css +28 -6
- package/dist/collection/components/af-testimonial/af-testimonial.js +14 -7
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +1 -2
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +1 -2
- package/dist/collection/components/af-text/af-text.js +0 -1
- package/dist/collection/components/af-text-image/af-text-image.css +5 -3
- package/dist/collection/components/af-text-image/af-text-image.js +0 -1
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js +1 -2
- package/dist/collection/components/af-textarea/af-textarea.js +1 -2
- 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 -2
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.css +22 -4
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +60 -4
- package/dist/collection/components/af-video-container/af-video-container.js +1 -2
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js +1 -2
- package/dist/collection/components.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/components/af-accordion-item.js +1 -133
- package/dist/components/af-accordion.js +1 -128
- package/dist/components/af-aspect-ratio.js +1 -9
- package/dist/components/af-button-group.js +1 -9
- package/dist/components/af-button.js +1 -9
- package/dist/components/af-card.js +1 -9
- package/dist/components/af-center.js +1 -66
- package/dist/components/af-checkbox.js +1 -9
- package/dist/components/af-client-carousel.js +1 -42
- package/dist/components/af-color-swatch.js +1 -9
- package/dist/components/af-contact-item.js +1 -44
- package/dist/components/af-container.js +1 -9
- package/dist/components/af-divider.js +1 -66
- package/dist/components/af-feature-accordion.js +1 -136
- package/dist/components/af-feature-card.js +1 -9
- package/dist/components/af-feature-grid.js +1 -124
- package/dist/components/af-fieldset.js +1 -9
- package/dist/components/af-footer-column.js +1 -41
- package/dist/components/af-footer-link.js +1 -44
- package/dist/components/af-footer.js +1 -53
- package/dist/components/af-grid-callout.js +1 -82
- package/dist/components/af-grid.js +1 -71
- package/dist/components/af-heading.js +1 -9
- package/dist/components/af-icon-box.js +1 -9
- package/dist/components/af-icon-button.js +1 -9
- package/dist/components/af-icon-text.js +1 -78
- package/dist/components/af-icon.js +1 -9
- package/dist/components/af-illustrated-card.js +1 -9
- package/dist/components/af-image.js +1 -9
- package/dist/components/af-in-page-banner.js +1 -82
- package/dist/components/af-inline.js +1 -83
- package/dist/components/af-input.js +1 -9
- package/dist/components/af-logo-well.js +1 -38
- package/dist/components/af-logo.js +1 -9
- package/dist/components/af-nav-accordion-item.js +1 -117
- package/dist/components/af-nav-accordion.js +1 -106
- package/dist/components/af-nav-card.js +1 -62
- package/dist/components/af-nav-item.js +1 -9
- package/dist/components/af-nav-menu-nest.js +1 -67
- package/dist/components/af-nav-menu.js +1 -65
- package/dist/components/af-navbar.js +1 -9
- package/dist/components/af-number-badge.js +1 -66
- package/dist/components/af-progress-line.js +1 -9
- package/dist/components/af-radio.js +1 -9
- package/dist/components/af-section.js +1 -54
- package/dist/components/af-show.js +1 -46
- package/dist/components/af-social-link.js +1 -63
- package/dist/components/af-spacer.js +1 -69
- package/dist/components/af-split-section.js +1 -71
- package/dist/components/af-stack.js +1 -90
- package/dist/components/af-stepper-step.d.ts +11 -0
- package/dist/components/af-stepper-step.js +1 -0
- package/dist/components/af-stepper.d.ts +11 -0
- package/dist/components/af-stepper.js +1 -0
- package/dist/components/af-switch.js +1 -9
- package/dist/components/af-tab-bar.js +1 -9
- package/dist/components/af-tab.js +1 -9
- package/dist/components/af-tag.js +1 -9
- package/dist/components/af-testimonial-carousel.js +1 -131
- package/dist/components/af-testimonial-stat.js +1 -57
- package/dist/components/af-testimonial.js +1 -94
- package/dist/components/af-text-image-nest.js +1 -51
- package/dist/components/af-text-image.js +1 -94
- package/dist/components/af-text.js +1 -9
- package/dist/components/af-textarea.js +1 -9
- package/dist/components/af-theme-override.js +1 -44
- package/dist/components/af-typography-lockup.js +1 -9
- package/dist/components/af-video-container.js +1 -70
- package/dist/components/af-visually-hidden.js +1 -45
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -27
- package/dist/components/p--UJ_xE9Z.js +1 -0
- package/dist/components/p-0KrQFK77.js +1 -0
- package/dist/components/p-9SgEr6QK.js +1 -0
- package/dist/components/p-B6I3yxMd.js +1 -0
- package/dist/components/p-BCCbAFc1.js +1 -0
- package/dist/components/p-BLzlyxBT.js +1 -0
- package/dist/components/p-BUFbtjxU.js +1 -0
- package/dist/components/p-BXFj61qz.js +1 -0
- package/dist/components/p-BeVM-2kH.js +1 -0
- package/dist/components/p-BeX5VmwL.js +1 -0
- package/dist/components/p-BlfywPKX.js +1 -0
- package/dist/components/p-BqUK0ZTO.js +1 -0
- package/dist/components/p-BzH2LxRQ.js +1 -0
- package/dist/components/p-CDCZfKNt.js +1 -0
- package/dist/components/p-CHNaDIj5.js +1 -0
- package/dist/components/p-CTFMTG3E.js +1 -0
- package/dist/components/p-CTcar4TG.js +1 -0
- package/dist/components/p-CVQiSujq.js +1 -0
- package/dist/components/p-C_BrhG1Q.js +1 -0
- package/dist/components/p-DOJEJFNa.js +1 -0
- package/dist/components/p-DPujlxcb.js +1 -0
- package/dist/components/p-DRm58pvc.js +1 -0
- package/dist/components/p-DX19jO3u.js +1 -0
- package/dist/components/p-DsNqeD3z.js +1 -0
- package/dist/components/p-Dx31qPzk.js +1 -0
- package/dist/components/p-HhMv1A3-.js +1 -0
- package/dist/components/p-UTiuvQaz.js +1 -0
- package/dist/components/p-tB2jS8S_.js +1 -0
- package/dist/components/p-tF59ipRp.js +1 -0
- package/dist/esm/af-accordion-item.entry.js +7 -32
- package/dist/esm/af-accordion.entry.js +7 -6
- package/dist/esm/af-aspect-ratio.entry.js +3 -4
- package/dist/esm/af-button-group.entry.js +4 -5
- package/dist/esm/af-button.entry.js +7 -7
- package/dist/esm/af-card.entry.js +4 -5
- package/dist/esm/af-center.entry.js +4 -5
- package/dist/esm/af-checkbox.entry.js +4 -5
- package/dist/esm/af-client-carousel.entry.js +14 -5
- package/dist/esm/af-color-swatch.entry.js +3 -4
- package/dist/esm/af-contact-item.entry.js +4 -5
- package/dist/esm/af-container.entry.js +3 -4
- package/dist/esm/af-divider.entry.js +4 -5
- package/dist/esm/af-feature-accordion.entry.js +8 -7
- package/dist/esm/af-feature-card.entry.js +3 -4
- package/dist/esm/af-feature-grid.entry.js +7 -6
- package/dist/esm/af-fieldset.entry.js +4 -5
- package/dist/esm/af-footer-column.entry.js +4 -5
- package/dist/esm/af-footer-link.entry.js +4 -5
- package/dist/esm/af-footer.entry.js +4 -5
- package/dist/esm/af-grid-callout.entry.js +3 -4
- package/dist/esm/af-grid.entry.js +5 -6
- package/dist/esm/af-heading_5.entry.js +49 -14
- package/dist/esm/af-icon-box.entry.js +4 -5
- package/dist/esm/af-icon-button.entry.js +3 -4
- package/dist/esm/af-icon-text.entry.js +4 -5
- package/dist/esm/af-icon.entry.js +3 -4
- package/dist/esm/af-illustrated-card.entry.js +4 -5
- package/dist/esm/af-image.entry.js +14 -5
- package/dist/esm/af-in-page-banner.entry.js +4 -5
- package/dist/esm/af-inline.entry.js +4 -5
- package/dist/esm/af-input.entry.js +4 -5
- package/dist/esm/af-logo-well.entry.js +4 -5
- package/dist/esm/af-nav-accordion-item.entry.js +8 -7
- package/dist/esm/af-nav-accordion.entry.js +4 -5
- package/dist/esm/af-nav-card.entry.js +3 -4
- package/dist/esm/af-nav-menu-nest.entry.js +4 -5
- package/dist/esm/af-nav-menu.entry.js +4 -5
- package/dist/esm/af-number-badge.entry.js +4 -5
- package/dist/esm/af-progress-line.entry.js +5 -6
- package/dist/esm/af-radio.entry.js +4 -5
- package/dist/esm/af-section.entry.js +5 -6
- package/dist/esm/af-show.entry.js +4 -5
- package/dist/esm/af-social-link.entry.js +4 -5
- package/dist/esm/af-spacer.entry.js +4 -5
- package/dist/esm/af-split-section.entry.js +5 -6
- package/dist/esm/af-stack.entry.js +4 -5
- package/dist/esm/af-stepper-step.entry.js +20 -0
- package/dist/esm/af-stepper.entry.js +31 -0
- package/dist/esm/af-switch.entry.js +4 -5
- package/dist/esm/af-tab-bar.entry.js +4 -5
- package/dist/esm/af-tab.entry.js +4 -5
- package/dist/esm/af-tag.entry.js +9 -11
- package/dist/esm/af-testimonial-carousel.entry.js +4 -5
- package/dist/esm/af-testimonial-stat.entry.js +4 -5
- package/dist/esm/af-testimonial.entry.js +5 -6
- package/dist/esm/af-text-image-nest.entry.js +4 -5
- package/dist/esm/af-text-image.entry.js +3 -4
- package/dist/esm/af-textarea.entry.js +4 -5
- package/dist/esm/af-theme-override.entry.js +4 -5
- package/dist/esm/af-typography-lockup.entry.js +23 -7
- package/dist/esm/af-video-container.entry.js +4 -5
- package/dist/esm/af-visually-hidden.entry.js +4 -5
- package/dist/esm/affinda.js +4 -5
- package/dist/esm/{index-B0LVveHp.js → index-CPfAC9fk.js} +462 -260
- package/dist/esm/index.js +2 -3
- package/dist/esm/loader.js +3 -4
- package/dist/types/components/af-button/af-button.d.ts +6 -5
- package/dist/types/components/af-client-carousel/af-client-carousel.d.ts +11 -1
- package/dist/types/components/af-icon-text/af-icon-text.d.ts +2 -2
- package/dist/types/components/af-illustrated-card/af-illustrated-card.d.ts +3 -2
- package/dist/types/components/af-image/af-image.d.ts +10 -0
- package/dist/types/components/af-in-page-banner/af-in-page-banner.d.ts +10 -0
- package/dist/types/components/af-navbar/af-navbar.d.ts +18 -4
- package/dist/types/components/af-stepper/af-stepper.d.ts +30 -0
- package/dist/types/components/af-stepper-step/af-stepper-step.d.ts +18 -0
- package/dist/types/components/af-tag/af-tag.d.ts +10 -7
- package/dist/types/components/af-testimonial/af-testimonial.d.ts +11 -2
- package/dist/types/components/af-typography-lockup/af-typography-lockup.d.ts +15 -0
- package/dist/types/components.d.ts +788 -181
- package/dist/types/stencil-public-runtime.d.ts +110 -6
- package/package.json +4 -4
- package/dist/affinda/af-accordion-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-aspect-ratio.entry.esm.js.map +0 -1
- package/dist/affinda/af-button-group.entry.esm.js.map +0 -1
- package/dist/affinda/af-button.entry.esm.js.map +0 -1
- package/dist/affinda/af-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-center.entry.esm.js.map +0 -1
- package/dist/affinda/af-checkbox.entry.esm.js.map +0 -1
- package/dist/affinda/af-client-carousel.entry.esm.js.map +0 -1
- package/dist/affinda/af-color-swatch.entry.esm.js.map +0 -1
- package/dist/affinda/af-contact-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-container.entry.esm.js.map +0 -1
- package/dist/affinda/af-divider.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-feature-grid.entry.esm.js.map +0 -1
- package/dist/affinda/af-fieldset.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer-column.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer-link.entry.esm.js.map +0 -1
- package/dist/affinda/af-footer.entry.esm.js.map +0 -1
- package/dist/affinda/af-grid-callout.entry.esm.js.map +0 -1
- package/dist/affinda/af-grid.entry.esm.js.map +0 -1
- package/dist/affinda/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-box.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-button.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon-text.entry.esm.js.map +0 -1
- package/dist/affinda/af-icon.entry.esm.js.map +0 -1
- package/dist/affinda/af-illustrated-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-image.entry.esm.js.map +0 -1
- package/dist/affinda/af-in-page-banner.entry.esm.js.map +0 -1
- package/dist/affinda/af-inline.entry.esm.js.map +0 -1
- package/dist/affinda/af-input.entry.esm.js.map +0 -1
- package/dist/affinda/af-logo-well.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-accordion-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-accordion.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-card.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-menu-nest.entry.esm.js.map +0 -1
- package/dist/affinda/af-nav-menu.entry.esm.js.map +0 -1
- package/dist/affinda/af-number-badge.entry.esm.js.map +0 -1
- package/dist/affinda/af-progress-line.entry.esm.js.map +0 -1
- package/dist/affinda/af-radio.entry.esm.js.map +0 -1
- package/dist/affinda/af-section.entry.esm.js.map +0 -1
- package/dist/affinda/af-show.entry.esm.js.map +0 -1
- package/dist/affinda/af-social-link.entry.esm.js.map +0 -1
- package/dist/affinda/af-spacer.entry.esm.js.map +0 -1
- package/dist/affinda/af-split-section.entry.esm.js.map +0 -1
- package/dist/affinda/af-stack.entry.esm.js.map +0 -1
- package/dist/affinda/af-switch.entry.esm.js.map +0 -1
- package/dist/affinda/af-tab-bar.entry.esm.js.map +0 -1
- package/dist/affinda/af-tab.entry.esm.js.map +0 -1
- package/dist/affinda/af-tag.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial-carousel.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial-stat.entry.esm.js.map +0 -1
- package/dist/affinda/af-testimonial.entry.esm.js.map +0 -1
- package/dist/affinda/af-text-image-nest.entry.esm.js.map +0 -1
- package/dist/affinda/af-text-image.entry.esm.js.map +0 -1
- package/dist/affinda/af-textarea.entry.esm.js.map +0 -1
- package/dist/affinda/af-theme-override.entry.esm.js.map +0 -1
- package/dist/affinda/af-typography-lockup.entry.esm.js.map +0 -1
- package/dist/affinda/af-video-container.entry.esm.js.map +0 -1
- package/dist/affinda/af-visually-hidden.entry.esm.js.map +0 -1
- package/dist/affinda/affinda.esm.js.map +0 -1
- package/dist/affinda/index.esm.js.map +0 -1
- package/dist/affinda/loader.esm.js.map +0 -1
- package/dist/affinda/p-01993cc8.entry.js +0 -2
- package/dist/affinda/p-01993cc8.entry.js.map +0 -1
- package/dist/affinda/p-02830771.entry.js +0 -2
- package/dist/affinda/p-02830771.entry.js.map +0 -1
- package/dist/affinda/p-04de9a0a.entry.js +0 -2
- package/dist/affinda/p-04de9a0a.entry.js.map +0 -1
- package/dist/affinda/p-080cf84f.entry.js +0 -2
- package/dist/affinda/p-080cf84f.entry.js.map +0 -1
- package/dist/affinda/p-0b5bc045.entry.js +0 -2
- package/dist/affinda/p-0b5bc045.entry.js.map +0 -1
- package/dist/affinda/p-0fcce1e4.entry.js +0 -2
- package/dist/affinda/p-0fcce1e4.entry.js.map +0 -1
- package/dist/affinda/p-16f808d5.entry.js +0 -2
- package/dist/affinda/p-16f808d5.entry.js.map +0 -1
- package/dist/affinda/p-19eb7cb9.entry.js +0 -2
- package/dist/affinda/p-19eb7cb9.entry.js.map +0 -1
- package/dist/affinda/p-1c32cfcb.entry.js +0 -2
- package/dist/affinda/p-1c32cfcb.entry.js.map +0 -1
- package/dist/affinda/p-266af3e1.entry.js +0 -2
- package/dist/affinda/p-266af3e1.entry.js.map +0 -1
- package/dist/affinda/p-288c2656.entry.js +0 -2
- package/dist/affinda/p-288c2656.entry.js.map +0 -1
- package/dist/affinda/p-2e5e4960.entry.js +0 -2
- package/dist/affinda/p-2e5e4960.entry.js.map +0 -1
- package/dist/affinda/p-2e750d43.entry.js.map +0 -1
- package/dist/affinda/p-302d0cf7.entry.js +0 -2
- package/dist/affinda/p-302d0cf7.entry.js.map +0 -1
- package/dist/affinda/p-331f9627.entry.js +0 -2
- package/dist/affinda/p-331f9627.entry.js.map +0 -1
- package/dist/affinda/p-389a6246.entry.js +0 -2
- package/dist/affinda/p-389a6246.entry.js.map +0 -1
- package/dist/affinda/p-3d2fb635.entry.js +0 -2
- package/dist/affinda/p-3d2fb635.entry.js.map +0 -1
- package/dist/affinda/p-3e16bb11.entry.js +0 -2
- package/dist/affinda/p-3e16bb11.entry.js.map +0 -1
- package/dist/affinda/p-4c5f92a9.entry.js +0 -2
- package/dist/affinda/p-4c5f92a9.entry.js.map +0 -1
- package/dist/affinda/p-57eae3cd.entry.js +0 -2
- package/dist/affinda/p-57eae3cd.entry.js.map +0 -1
- package/dist/affinda/p-6294b6d1.entry.js +0 -2
- package/dist/affinda/p-6294b6d1.entry.js.map +0 -1
- package/dist/affinda/p-63314e14.entry.js +0 -2
- package/dist/affinda/p-63314e14.entry.js.map +0 -1
- package/dist/affinda/p-68f1f661.entry.js +0 -2
- package/dist/affinda/p-68f1f661.entry.js.map +0 -1
- package/dist/affinda/p-6af1634a.entry.js.map +0 -1
- package/dist/affinda/p-6b92463e.entry.js +0 -2
- package/dist/affinda/p-6b92463e.entry.js.map +0 -1
- package/dist/affinda/p-6bbc1e24.entry.js +0 -2
- package/dist/affinda/p-6bbc1e24.entry.js.map +0 -1
- package/dist/affinda/p-709271d1.entry.js +0 -2
- package/dist/affinda/p-709271d1.entry.js.map +0 -1
- package/dist/affinda/p-7792cd53.entry.js +0 -2
- package/dist/affinda/p-7792cd53.entry.js.map +0 -1
- package/dist/affinda/p-8f24dfe3.entry.js +0 -2
- package/dist/affinda/p-8f24dfe3.entry.js.map +0 -1
- package/dist/affinda/p-8f528f9d.entry.js +0 -2
- package/dist/affinda/p-8f528f9d.entry.js.map +0 -1
- package/dist/affinda/p-920e6d30.entry.js +0 -2
- package/dist/affinda/p-920e6d30.entry.js.map +0 -1
- package/dist/affinda/p-96df0106.entry.js +0 -2
- package/dist/affinda/p-96df0106.entry.js.map +0 -1
- package/dist/affinda/p-9de05d1d.entry.js +0 -2
- package/dist/affinda/p-9de05d1d.entry.js.map +0 -1
- package/dist/affinda/p-9e21b6c1.entry.js +0 -2
- package/dist/affinda/p-9e21b6c1.entry.js.map +0 -1
- package/dist/affinda/p-B0LVveHp.js +0 -3
- package/dist/affinda/p-B0LVveHp.js.map +0 -1
- package/dist/affinda/p-a2c71cad.entry.js +0 -2
- package/dist/affinda/p-a2c71cad.entry.js.map +0 -1
- package/dist/affinda/p-a6402689.entry.js +0 -2
- package/dist/affinda/p-a6402689.entry.js.map +0 -1
- package/dist/affinda/p-a7574570.entry.js +0 -2
- package/dist/affinda/p-a7574570.entry.js.map +0 -1
- package/dist/affinda/p-a942522f.entry.js +0 -2
- package/dist/affinda/p-a942522f.entry.js.map +0 -1
- package/dist/affinda/p-adacb8c4.entry.js +0 -2
- package/dist/affinda/p-adacb8c4.entry.js.map +0 -1
- package/dist/affinda/p-af25dad7.entry.js +0 -2
- package/dist/affinda/p-af25dad7.entry.js.map +0 -1
- package/dist/affinda/p-b0d668d0.entry.js +0 -2
- package/dist/affinda/p-b0d668d0.entry.js.map +0 -1
- package/dist/affinda/p-b10103f4.entry.js +0 -2
- package/dist/affinda/p-b10103f4.entry.js.map +0 -1
- package/dist/affinda/p-b2338fab.entry.js +0 -2
- package/dist/affinda/p-b2338fab.entry.js.map +0 -1
- package/dist/affinda/p-b56e9e2d.entry.js +0 -2
- package/dist/affinda/p-b56e9e2d.entry.js.map +0 -1
- package/dist/affinda/p-bd7170d7.entry.js +0 -2
- package/dist/affinda/p-bd7170d7.entry.js.map +0 -1
- package/dist/affinda/p-c72cfcbd.entry.js +0 -2
- package/dist/affinda/p-c72cfcbd.entry.js.map +0 -1
- package/dist/affinda/p-c74481bd.entry.js +0 -2
- package/dist/affinda/p-c74481bd.entry.js.map +0 -1
- package/dist/affinda/p-cc4e73dc.entry.js +0 -2
- package/dist/affinda/p-cc4e73dc.entry.js.map +0 -1
- package/dist/affinda/p-d47a77e2.entry.js +0 -2
- package/dist/affinda/p-d47a77e2.entry.js.map +0 -1
- package/dist/affinda/p-d51c4b1b.entry.js +0 -2
- package/dist/affinda/p-d51c4b1b.entry.js.map +0 -1
- package/dist/affinda/p-d6e55455.entry.js +0 -2
- package/dist/affinda/p-d6e55455.entry.js.map +0 -1
- package/dist/affinda/p-d90366f6.entry.js +0 -2
- package/dist/affinda/p-d90366f6.entry.js.map +0 -1
- package/dist/affinda/p-db9249e4.entry.js +0 -2
- package/dist/affinda/p-db9249e4.entry.js.map +0 -1
- package/dist/affinda/p-e156a8bb.entry.js +0 -2
- package/dist/affinda/p-e156a8bb.entry.js.map +0 -1
- package/dist/affinda/p-e305c2b7.entry.js +0 -2
- package/dist/affinda/p-e305c2b7.entry.js.map +0 -1
- package/dist/affinda/p-e7d8d909.entry.js +0 -2
- package/dist/affinda/p-e7d8d909.entry.js.map +0 -1
- package/dist/affinda/p-e9bc1739.entry.js +0 -2
- package/dist/affinda/p-e9bc1739.entry.js.map +0 -1
- package/dist/affinda/p-f7a13cd3.entry.js +0 -2
- package/dist/affinda/p-f7a13cd3.entry.js.map +0 -1
- package/dist/affinda/p-f9e7cf8f.entry.js +0 -2
- package/dist/affinda/p-f9e7cf8f.entry.js.map +0 -1
- package/dist/affinda/p-fd772813.entry.js +0 -2
- package/dist/affinda/p-fd772813.entry.js.map +0 -1
- package/dist/affinda/p-fefe9597.entry.js +0 -2
- package/dist/affinda/p-fefe9597.entry.js.map +0 -1
- package/dist/cjs/af-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-aspect-ratio.entry.cjs.js.map +0 -1
- package/dist/cjs/af-button-group.entry.cjs.js.map +0 -1
- package/dist/cjs/af-button.entry.cjs.js.map +0 -1
- package/dist/cjs/af-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-center.entry.cjs.js.map +0 -1
- package/dist/cjs/af-checkbox.entry.cjs.js.map +0 -1
- package/dist/cjs/af-client-carousel.entry.cjs.js.map +0 -1
- package/dist/cjs/af-color-swatch.entry.cjs.js.map +0 -1
- package/dist/cjs/af-contact-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-container.entry.cjs.js.map +0 -1
- package/dist/cjs/af-divider.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-feature-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/af-fieldset.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer-column.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer-link.entry.cjs.js.map +0 -1
- package/dist/cjs/af-footer.entry.cjs.js.map +0 -1
- package/dist/cjs/af-grid-callout.entry.cjs.js.map +0 -1
- package/dist/cjs/af-grid.entry.cjs.js.map +0 -1
- package/dist/cjs/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-box.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-button.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon-text.entry.cjs.js.map +0 -1
- package/dist/cjs/af-icon.entry.cjs.js.map +0 -1
- package/dist/cjs/af-illustrated-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-image.entry.cjs.js.map +0 -1
- package/dist/cjs/af-in-page-banner.entry.cjs.js.map +0 -1
- package/dist/cjs/af-inline.entry.cjs.js.map +0 -1
- package/dist/cjs/af-input.entry.cjs.js.map +0 -1
- package/dist/cjs/af-logo-well.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-accordion-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-accordion.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-card.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-menu-nest.entry.cjs.js.map +0 -1
- package/dist/cjs/af-nav-menu.entry.cjs.js.map +0 -1
- package/dist/cjs/af-number-badge.entry.cjs.js.map +0 -1
- package/dist/cjs/af-progress-line.entry.cjs.js.map +0 -1
- package/dist/cjs/af-radio.entry.cjs.js.map +0 -1
- package/dist/cjs/af-section.entry.cjs.js.map +0 -1
- package/dist/cjs/af-show.entry.cjs.js.map +0 -1
- package/dist/cjs/af-social-link.entry.cjs.js.map +0 -1
- package/dist/cjs/af-spacer.entry.cjs.js.map +0 -1
- package/dist/cjs/af-split-section.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stack.entry.cjs.js.map +0 -1
- package/dist/cjs/af-switch.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tab-bar.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tab.entry.cjs.js.map +0 -1
- package/dist/cjs/af-tag.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial-carousel.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial-stat.entry.cjs.js.map +0 -1
- package/dist/cjs/af-testimonial.entry.cjs.js.map +0 -1
- package/dist/cjs/af-text-image-nest.entry.cjs.js.map +0 -1
- package/dist/cjs/af-text-image.entry.cjs.js.map +0 -1
- package/dist/cjs/af-textarea.entry.cjs.js.map +0 -1
- package/dist/cjs/af-theme-override.entry.cjs.js.map +0 -1
- package/dist/cjs/af-typography-lockup.entry.cjs.js.map +0 -1
- package/dist/cjs/af-video-container.entry.cjs.js.map +0 -1
- package/dist/cjs/af-visually-hidden.entry.cjs.js.map +0 -1
- package/dist/cjs/affinda.cjs.js.map +0 -1
- package/dist/cjs/index-n-fnurTP.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/components/af-accordion/af-accordion.js.map +0 -1
- package/dist/collection/components/af-accordion-item/af-accordion-item.js.map +0 -1
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js.map +0 -1
- package/dist/collection/components/af-button/af-button.js.map +0 -1
- package/dist/collection/components/af-button-group/af-button-group.js.map +0 -1
- package/dist/collection/components/af-card/af-card.js.map +0 -1
- package/dist/collection/components/af-center/af-center.js.map +0 -1
- package/dist/collection/components/af-checkbox/af-checkbox.js.map +0 -1
- package/dist/collection/components/af-client-carousel/af-client-carousel.js.map +0 -1
- package/dist/collection/components/af-color-swatch/af-color-swatch.js.map +0 -1
- package/dist/collection/components/af-contact-item/af-contact-item.js.map +0 -1
- package/dist/collection/components/af-container/af-container.js.map +0 -1
- package/dist/collection/components/af-divider/af-divider.js.map +0 -1
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js.map +0 -1
- package/dist/collection/components/af-feature-card/af-feature-card.js.map +0 -1
- package/dist/collection/components/af-feature-grid/af-feature-grid.js.map +0 -1
- package/dist/collection/components/af-fieldset/af-fieldset.js.map +0 -1
- package/dist/collection/components/af-footer/af-footer.js.map +0 -1
- package/dist/collection/components/af-footer-column/af-footer-column.js.map +0 -1
- package/dist/collection/components/af-footer-link/af-footer-link.js.map +0 -1
- package/dist/collection/components/af-grid/af-grid.js.map +0 -1
- package/dist/collection/components/af-grid-callout/af-grid-callout.js.map +0 -1
- package/dist/collection/components/af-heading/af-heading.js.map +0 -1
- package/dist/collection/components/af-icon/af-icon.js.map +0 -1
- package/dist/collection/components/af-icon-box/af-icon-box.js.map +0 -1
- package/dist/collection/components/af-icon-button/af-icon-button.js.map +0 -1
- package/dist/collection/components/af-icon-text/af-icon-text.js.map +0 -1
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js.map +0 -1
- package/dist/collection/components/af-image/af-image.js.map +0 -1
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js.map +0 -1
- package/dist/collection/components/af-inline/af-inline.js.map +0 -1
- package/dist/collection/components/af-input/af-input.js.map +0 -1
- package/dist/collection/components/af-logo/af-logo.js.map +0 -1
- package/dist/collection/components/af-logo-well/af-logo-well.js.map +0 -1
- package/dist/collection/components/af-nav-accordion/af-nav-accordion.js.map +0 -1
- package/dist/collection/components/af-nav-accordion-item/af-nav-accordion-item.js.map +0 -1
- package/dist/collection/components/af-nav-card/af-nav-card.js.map +0 -1
- package/dist/collection/components/af-nav-item/af-nav-item.js.map +0 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.js.map +0 -1
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js.map +0 -1
- package/dist/collection/components/af-navbar/af-navbar.js.map +0 -1
- package/dist/collection/components/af-number-badge/af-number-badge.js.map +0 -1
- package/dist/collection/components/af-progress-line/af-progress-line.js.map +0 -1
- package/dist/collection/components/af-radio/af-radio.js.map +0 -1
- package/dist/collection/components/af-section/af-section.js.map +0 -1
- package/dist/collection/components/af-show/af-show.js.map +0 -1
- package/dist/collection/components/af-social-link/af-social-link.js.map +0 -1
- package/dist/collection/components/af-spacer/af-spacer.js.map +0 -1
- package/dist/collection/components/af-split-section/af-split-section.js.map +0 -1
- package/dist/collection/components/af-stack/af-stack.js.map +0 -1
- package/dist/collection/components/af-switch/af-switch.js.map +0 -1
- package/dist/collection/components/af-tab/af-tab.js.map +0 -1
- package/dist/collection/components/af-tab-bar/af-tab-bar.js.map +0 -1
- package/dist/collection/components/af-tag/af-tag.js.map +0 -1
- package/dist/collection/components/af-testimonial/af-testimonial.js.map +0 -1
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js.map +0 -1
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js.map +0 -1
- package/dist/collection/components/af-text/af-text.js.map +0 -1
- package/dist/collection/components/af-text-image/af-text-image.js.map +0 -1
- package/dist/collection/components/af-text-image-nest/af-text-image-nest.js.map +0 -1
- package/dist/collection/components/af-textarea/af-textarea.js.map +0 -1
- package/dist/collection/components/af-theme-override/af-theme-override.js.map +0 -1
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js.map +0 -1
- package/dist/collection/components/af-video-container/af-video-container.js.map +0 -1
- package/dist/collection/components/af-visually-hidden/af-visually-hidden.js.map +0 -1
- package/dist/collection/components.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/components/af-accordion-item.js.map +0 -1
- package/dist/components/af-accordion.js.map +0 -1
- package/dist/components/af-aspect-ratio.js.map +0 -1
- package/dist/components/af-button-group.js.map +0 -1
- package/dist/components/af-button.js.map +0 -1
- package/dist/components/af-card.js.map +0 -1
- package/dist/components/af-center.js.map +0 -1
- package/dist/components/af-checkbox.js.map +0 -1
- package/dist/components/af-client-carousel.js.map +0 -1
- package/dist/components/af-color-swatch.js.map +0 -1
- package/dist/components/af-contact-item.js.map +0 -1
- package/dist/components/af-container.js.map +0 -1
- package/dist/components/af-divider.js.map +0 -1
- package/dist/components/af-feature-accordion.js.map +0 -1
- package/dist/components/af-feature-card.js.map +0 -1
- package/dist/components/af-feature-grid.js.map +0 -1
- package/dist/components/af-fieldset.js.map +0 -1
- package/dist/components/af-footer-column.js.map +0 -1
- package/dist/components/af-footer-link.js.map +0 -1
- package/dist/components/af-footer.js.map +0 -1
- package/dist/components/af-grid-callout.js.map +0 -1
- package/dist/components/af-grid.js.map +0 -1
- package/dist/components/af-heading.js.map +0 -1
- package/dist/components/af-icon-box.js.map +0 -1
- package/dist/components/af-icon-button.js.map +0 -1
- package/dist/components/af-icon-text.js.map +0 -1
- package/dist/components/af-icon.js.map +0 -1
- package/dist/components/af-illustrated-card.js.map +0 -1
- package/dist/components/af-image.js.map +0 -1
- package/dist/components/af-in-page-banner.js.map +0 -1
- package/dist/components/af-inline.js.map +0 -1
- package/dist/components/af-input.js.map +0 -1
- package/dist/components/af-logo-well.js.map +0 -1
- package/dist/components/af-logo.js.map +0 -1
- package/dist/components/af-nav-accordion-item.js.map +0 -1
- package/dist/components/af-nav-accordion.js.map +0 -1
- package/dist/components/af-nav-card.js.map +0 -1
- package/dist/components/af-nav-item.js.map +0 -1
- package/dist/components/af-nav-menu-nest.js.map +0 -1
- package/dist/components/af-nav-menu.js.map +0 -1
- package/dist/components/af-navbar.js.map +0 -1
- package/dist/components/af-number-badge.js.map +0 -1
- package/dist/components/af-progress-line.js.map +0 -1
- package/dist/components/af-radio.js.map +0 -1
- package/dist/components/af-section.js.map +0 -1
- package/dist/components/af-show.js.map +0 -1
- package/dist/components/af-social-link.js.map +0 -1
- package/dist/components/af-spacer.js.map +0 -1
- package/dist/components/af-split-section.js.map +0 -1
- package/dist/components/af-stack.js.map +0 -1
- package/dist/components/af-switch.js.map +0 -1
- package/dist/components/af-tab-bar.js.map +0 -1
- package/dist/components/af-tab.js.map +0 -1
- package/dist/components/af-tag.js.map +0 -1
- package/dist/components/af-testimonial-carousel.js.map +0 -1
- package/dist/components/af-testimonial-stat.js.map +0 -1
- package/dist/components/af-testimonial.js.map +0 -1
- package/dist/components/af-text-image-nest.js.map +0 -1
- package/dist/components/af-text-image.js.map +0 -1
- package/dist/components/af-text.js.map +0 -1
- package/dist/components/af-textarea.js.map +0 -1
- package/dist/components/af-theme-override.js.map +0 -1
- package/dist/components/af-typography-lockup.js.map +0 -1
- package/dist/components/af-video-container.js.map +0 -1
- package/dist/components/af-visually-hidden.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/p-6uEhsUaO.js +0 -44
- package/dist/components/p-6uEhsUaO.js.map +0 -1
- package/dist/components/p-BBVslKpK.js +0 -59
- package/dist/components/p-BBVslKpK.js.map +0 -1
- package/dist/components/p-BHKA-yEm.js +0 -102
- package/dist/components/p-BHKA-yEm.js.map +0 -1
- package/dist/components/p-BUoRUEpQ.js +0 -55
- package/dist/components/p-BUoRUEpQ.js.map +0 -1
- package/dist/components/p-BXZ7aJQf.js +0 -372
- package/dist/components/p-BXZ7aJQf.js.map +0 -1
- package/dist/components/p-Bi5ytUXg.js +0 -58
- package/dist/components/p-Bi5ytUXg.js.map +0 -1
- package/dist/components/p-BvIMp8pz.js +0 -37
- package/dist/components/p-BvIMp8pz.js.map +0 -1
- package/dist/components/p-C8_mFdv5.js +0 -53
- package/dist/components/p-C8_mFdv5.js.map +0 -1
- package/dist/components/p-CAYG3IzP.js +0 -50
- package/dist/components/p-CAYG3IzP.js.map +0 -1
- package/dist/components/p-CLmCtN_R.js +0 -35
- package/dist/components/p-CLmCtN_R.js.map +0 -1
- package/dist/components/p-CUSad8vm.js +0 -74
- package/dist/components/p-CUSad8vm.js.map +0 -1
- package/dist/components/p-CnNV1GZE.js +0 -68
- package/dist/components/p-CnNV1GZE.js.map +0 -1
- package/dist/components/p-CxngDK-N.js +0 -1781
- package/dist/components/p-CxngDK-N.js.map +0 -1
- package/dist/components/p-D3UZ60qM.js +0 -45
- package/dist/components/p-D3UZ60qM.js.map +0 -1
- package/dist/components/p-D66k2SSB.js +0 -52
- package/dist/components/p-D66k2SSB.js.map +0 -1
- package/dist/components/p-DBnL9UHx.js +0 -91
- package/dist/components/p-DBnL9UHx.js.map +0 -1
- package/dist/components/p-DReSTue0.js +0 -48
- package/dist/components/p-DReSTue0.js.map +0 -1
- package/dist/components/p-DUQu3N38.js +0 -70
- package/dist/components/p-DUQu3N38.js.map +0 -1
- package/dist/components/p-DZ6UMG8G.js +0 -89
- package/dist/components/p-DZ6UMG8G.js.map +0 -1
- package/dist/components/p-Dd7Lt2QL.js +0 -81
- package/dist/components/p-Dd7Lt2QL.js.map +0 -1
- package/dist/components/p-DkvJiyn0.js +0 -73
- package/dist/components/p-DkvJiyn0.js.map +0 -1
- package/dist/components/p-Dvo_cxk-.js +0 -141
- package/dist/components/p-Dvo_cxk-.js.map +0 -1
- package/dist/components/p-Dwhi37rN.js +0 -127
- package/dist/components/p-Dwhi37rN.js.map +0 -1
- package/dist/components/p-JepBVz99.js +0 -71
- package/dist/components/p-JepBVz99.js.map +0 -1
- package/dist/components/p-WmKa3rDn.js +0 -94
- package/dist/components/p-WmKa3rDn.js.map +0 -1
- package/dist/components/p-Ws-qvw9w.js +0 -108
- package/dist/components/p-Ws-qvw9w.js.map +0 -1
- package/dist/components/p-hOnulRmz.js +0 -84
- package/dist/components/p-hOnulRmz.js.map +0 -1
- package/dist/components/p-nwZ2iAi9.js +0 -100
- package/dist/components/p-nwZ2iAi9.js.map +0 -1
- package/dist/components/p-zDoPXonz.js +0 -58
- package/dist/components/p-zDoPXonz.js.map +0 -1
- package/dist/esm/af-accordion-item.entry.js.map +0 -1
- package/dist/esm/af-accordion.entry.js.map +0 -1
- package/dist/esm/af-aspect-ratio.entry.js.map +0 -1
- package/dist/esm/af-button-group.entry.js.map +0 -1
- package/dist/esm/af-button.entry.js.map +0 -1
- package/dist/esm/af-card.entry.js.map +0 -1
- package/dist/esm/af-center.entry.js.map +0 -1
- package/dist/esm/af-checkbox.entry.js.map +0 -1
- package/dist/esm/af-client-carousel.entry.js.map +0 -1
- package/dist/esm/af-color-swatch.entry.js.map +0 -1
- package/dist/esm/af-contact-item.entry.js.map +0 -1
- package/dist/esm/af-container.entry.js.map +0 -1
- package/dist/esm/af-divider.entry.js.map +0 -1
- package/dist/esm/af-feature-accordion.entry.js.map +0 -1
- package/dist/esm/af-feature-card.entry.js.map +0 -1
- package/dist/esm/af-feature-grid.entry.js.map +0 -1
- package/dist/esm/af-fieldset.entry.js.map +0 -1
- package/dist/esm/af-footer-column.entry.js.map +0 -1
- package/dist/esm/af-footer-link.entry.js.map +0 -1
- package/dist/esm/af-footer.entry.js.map +0 -1
- package/dist/esm/af-grid-callout.entry.js.map +0 -1
- package/dist/esm/af-grid.entry.js.map +0 -1
- package/dist/esm/af-heading.af-logo.af-nav-item.af-navbar.af-text.entry.js.map +0 -1
- package/dist/esm/af-icon-box.entry.js.map +0 -1
- package/dist/esm/af-icon-button.entry.js.map +0 -1
- package/dist/esm/af-icon-text.entry.js.map +0 -1
- package/dist/esm/af-icon.entry.js.map +0 -1
- package/dist/esm/af-illustrated-card.entry.js.map +0 -1
- package/dist/esm/af-image.entry.js.map +0 -1
- package/dist/esm/af-in-page-banner.entry.js.map +0 -1
- package/dist/esm/af-inline.entry.js.map +0 -1
- package/dist/esm/af-input.entry.js.map +0 -1
- package/dist/esm/af-logo-well.entry.js.map +0 -1
- package/dist/esm/af-nav-accordion-item.entry.js.map +0 -1
- package/dist/esm/af-nav-accordion.entry.js.map +0 -1
- package/dist/esm/af-nav-card.entry.js.map +0 -1
- package/dist/esm/af-nav-menu-nest.entry.js.map +0 -1
- package/dist/esm/af-nav-menu.entry.js.map +0 -1
- package/dist/esm/af-number-badge.entry.js.map +0 -1
- package/dist/esm/af-progress-line.entry.js.map +0 -1
- package/dist/esm/af-radio.entry.js.map +0 -1
- package/dist/esm/af-section.entry.js.map +0 -1
- package/dist/esm/af-show.entry.js.map +0 -1
- package/dist/esm/af-social-link.entry.js.map +0 -1
- package/dist/esm/af-spacer.entry.js.map +0 -1
- package/dist/esm/af-split-section.entry.js.map +0 -1
- package/dist/esm/af-stack.entry.js.map +0 -1
- package/dist/esm/af-switch.entry.js.map +0 -1
- package/dist/esm/af-tab-bar.entry.js.map +0 -1
- package/dist/esm/af-tab.entry.js.map +0 -1
- package/dist/esm/af-tag.entry.js.map +0 -1
- package/dist/esm/af-testimonial-carousel.entry.js.map +0 -1
- package/dist/esm/af-testimonial-stat.entry.js.map +0 -1
- package/dist/esm/af-testimonial.entry.js.map +0 -1
- package/dist/esm/af-text-image-nest.entry.js.map +0 -1
- package/dist/esm/af-text-image.entry.js.map +0 -1
- package/dist/esm/af-textarea.entry.js.map +0 -1
- package/dist/esm/af-theme-override.entry.js.map +0 -1
- package/dist/esm/af-typography-lockup.entry.js.map +0 -1
- package/dist/esm/af-video-container.entry.js.map +0 -1
- package/dist/esm/af-visually-hidden.entry.js.map +0 -1
- package/dist/esm/affinda.js.map +0 -1
- package/dist/esm/index-B0LVveHp.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class AfLogoWell {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '5af92f4b7a36ef209a7b93541590dfd210fba093' }, h("div", { key: 'd3cbe389d4f5007c819a27fe54763de73053d5c3', class: "logo-well" }, h("slot", { key: '37044ab145a5be26ac15ac69840f3dc792fe2f15' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "af-logo-well"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -19,4 +19,3 @@ export class AfLogoWell {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
//# sourceMappingURL=af-logo-well.js.map
|
|
@@ -71,7 +71,7 @@ export class AfNavAccordion {
|
|
|
71
71
|
this.syncItems();
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'ffb96d7b9f49689a0d35cb54beaead039ca286f7', class: { [`breakpoint-${this.breakpoint}`]: true, [`mode-${this.mode}`]: true } }, h("div", { key: 'fd20f9141c3cef43992756234531998900562e22', class: "nav-accordion" }, h("slot", { key: 'ea11fb80a9700b8ce5c661e31251add479692011' }))));
|
|
75
75
|
}
|
|
76
76
|
static get is() { return "af-nav-accordion"; }
|
|
77
77
|
static get encapsulation() { return "scoped"; }
|
|
@@ -182,4 +182,3 @@ export class AfNavAccordion {
|
|
|
182
182
|
}];
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
//# sourceMappingURL=af-nav-accordion.js.map
|
|
@@ -70,11 +70,11 @@ export class AfNavAccordionItem {
|
|
|
70
70
|
maxHeight: this.open ? `${this.contentHeight}px` : '0px'
|
|
71
71
|
};
|
|
72
72
|
const hasDropdownContent = true; // Assume content is always present for accordion items
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'd0d5a77a9cf697837b850c72e4d6a59d2b9ec7cd', class: {
|
|
74
74
|
'is-open': this.open,
|
|
75
75
|
'is-disabled': this.disabled,
|
|
76
76
|
[`breakpoint-${this.breakpoint}`]: true
|
|
77
|
-
} }, h("div", { key: '
|
|
77
|
+
} }, h("div", { key: '42289d70de54e228b73cb45b8ca0e15510fd917d', class: "nav-accordion-item" }, this.href ? (h("a", { href: this.href, class: "trigger", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}` }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), hasDropdownContent && (h("button", { class: "chevron-button", onClick: (e) => { e.preventDefault(); e.stopPropagation(); this.toggle(); }, "aria-label": this.open ? 'Collapse' : 'Expand', type: "button" }, h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))) : (h("button", { class: "trigger", onClick: this.handleTriggerClick, onKeyDown: this.handleKeyDown, "aria-expanded": this.open ? 'true' : 'false', "aria-controls": `content-${this.itemId}`, disabled: this.disabled, type: "button" }, h("div", { class: "trigger-content" }, h("slot", { name: "trigger", onSlotchange: this.handleSlotChange }, h("span", { class: "label" }, this.label))), h("div", { class: { 'chevron': true, 'is-open': this.open } }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M6 9l6 6 6-6", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("div", { key: '20489f3802a9d702e06779ffd047a6adcb0eb880', id: `content-${this.itemId}`, class: "content-wrapper", style: contentStyle, "aria-hidden": !this.open ? 'true' : 'false' }, h("div", { key: '39d7e3a3f3f544db582a91510bb5c721660861c8', class: "content", ref: (el) => (this.contentRef = el) }, h("slot", { key: 'b8f7e2c89facfe9a65225b6f16b1188ab979f4b8' }))))));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "af-nav-accordion-item"; }
|
|
80
80
|
static get encapsulation() { return "scoped"; }
|
|
@@ -262,4 +262,3 @@ export class AfNavAccordionItem {
|
|
|
262
262
|
}];
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
|
-
//# sourceMappingURL=af-nav-accordion-item.js.map
|
|
@@ -30,7 +30,7 @@ export class AfNavMenu {
|
|
|
30
30
|
'has-border': this.showBorder,
|
|
31
31
|
'card-style': this.cardStyle
|
|
32
32
|
};
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '6f7e20f1aa44b4b624411a4eb035a25d864632e6' }, h("div", { key: 'd3ac164858b0b6330e659baf660fc1d5de15f6da', class: classes }, this.heading && (h("div", { key: 'eb44abd861273745f894c2ccd16108458bb30837', class: "menu-header" }, h("h3", { key: 'c903ebe2ab7fa5aebf6a83b9559ab6ccae32a396', class: "menu-heading" }, this.heading))), h("div", { key: '606abd19e501a5962cd907da1afcbf697e0aad6c', class: "menu-items" }, h("slot", { key: 'a9399b33983fb425bad9ed5ae4a534c9aadd8884' })))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "af-nav-menu"; }
|
|
36
36
|
static get encapsulation() { return "scoped"; }
|
|
@@ -128,4 +128,3 @@ export class AfNavMenu {
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
//# sourceMappingURL=af-nav-menu.js.map
|
|
@@ -48,7 +48,7 @@ export class AfNavMenuNest {
|
|
|
48
48
|
[`type-${this.type}`]: true,
|
|
49
49
|
[`breakpoint-${this.breakpoint}`]: true
|
|
50
50
|
};
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '3d7ca814a3fbd4c435d6bb998303b4d1c8efbe24' }, h("div", { key: 'df70f98501743e2b6965add93d5ae864172ebab8', class: classes }, h("div", { key: '62cca1b06b0526c697724aa03337045e80e9f496', class: "menu-columns" }, h("slot", { key: 'febdb583fd0bd016a00dadf37a2e694a36ab2c83' })), h("div", { key: 'e70fb1c00cfe2cd6bc346c9b88eaffe360c5aee6', class: "menu-sidebar" }, h("slot", { key: '2f5425aeaf2be2ea14f880288472f7a88a8ac8b7', name: "sidebar" })))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "af-nav-menu-nest"; }
|
|
54
54
|
static get encapsulation() { return "scoped"; }
|
|
@@ -127,4 +127,3 @@ export class AfNavMenuNest {
|
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
//# sourceMappingURL=af-nav-menu-nest.js.map
|
|
@@ -12,10 +12,10 @@ import { h, Host } from "@stencil/core";
|
|
|
12
12
|
* - `start` - Primary navigation links (left side, desktop)
|
|
13
13
|
* - `end` - Secondary/utility links (right side)
|
|
14
14
|
* - `button` - Call-to-action button
|
|
15
|
-
* - `
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* - `dropdowns` - One or more dropdown panels, each a `<div data-for="id">`
|
|
16
|
+
* where `id` matches the `data-dropdown="id"` attribute on the trigger.
|
|
17
|
+
* Clicking a trigger toggles the matching panel; only one is visible at
|
|
18
|
+
* a time.
|
|
19
19
|
* - `mobile-menu` - Mobile menu content (use af-nav-accordion for accordion menus)
|
|
20
20
|
* - `mobile-button` - CTA button for mobile menu (appears at top)
|
|
21
21
|
*/
|
|
@@ -57,6 +57,23 @@ export class AfNavbar {
|
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Open the dropdown matching the clicked `[data-dropdown]` trigger.
|
|
62
|
+
* Runs on capture so we intercept the click before nav-item's own
|
|
63
|
+
* navigation behaviour.
|
|
64
|
+
*/
|
|
65
|
+
handleTriggerClick(event) {
|
|
66
|
+
const target = event.target;
|
|
67
|
+
const trigger = target?.closest?.('[data-dropdown]');
|
|
68
|
+
if (!trigger || !this.el.contains(trigger))
|
|
69
|
+
return;
|
|
70
|
+
const id = trigger.getAttribute('data-dropdown');
|
|
71
|
+
if (!id)
|
|
72
|
+
return;
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
event.stopPropagation();
|
|
75
|
+
this.toggleDropdown(id);
|
|
76
|
+
}
|
|
60
77
|
/**
|
|
61
78
|
* Handle clicks outside the navbar to close dropdowns
|
|
62
79
|
*/
|
|
@@ -66,6 +83,25 @@ export class AfNavbar {
|
|
|
66
83
|
this.closeDropdown();
|
|
67
84
|
}
|
|
68
85
|
}
|
|
86
|
+
/**
|
|
87
|
+
* Keep the visibility of slotted dropdown panels in sync with the
|
|
88
|
+
* currently active dropdown. Each panel lives in the `dropdowns` slot
|
|
89
|
+
* and carries a `data-for` attribute that matches its trigger's id.
|
|
90
|
+
*/
|
|
91
|
+
componentDidLoad() {
|
|
92
|
+
this.syncDropdownPanels();
|
|
93
|
+
}
|
|
94
|
+
componentDidUpdate() {
|
|
95
|
+
this.syncDropdownPanels();
|
|
96
|
+
}
|
|
97
|
+
syncDropdownPanels() {
|
|
98
|
+
const panels = this.el.querySelectorAll('[slot="dropdowns"] [data-for], [data-for]');
|
|
99
|
+
panels.forEach((panel) => {
|
|
100
|
+
if (!this.el.contains(panel))
|
|
101
|
+
return;
|
|
102
|
+
panel.hidden = panel.getAttribute('data-for') !== this.activeDropdown;
|
|
103
|
+
});
|
|
104
|
+
}
|
|
69
105
|
/**
|
|
70
106
|
* Handle escape key to close dropdowns
|
|
71
107
|
*/
|
|
@@ -76,7 +112,7 @@ export class AfNavbar {
|
|
|
76
112
|
}
|
|
77
113
|
render() {
|
|
78
114
|
const hasDropdown = this.activeDropdown !== null;
|
|
79
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '9bd335da2d3dbae95c22d28a82747ca9a7473e1b', class: { 'has-dropdown-open': hasDropdown } }, h("div", { key: 'ce19c383cc51490b460dd10c43598f1dedf912ed', class: `navbar-spacer${this.theme ? ` theme-${this.theme}` : ''}` }), h("nav", { key: '2efdf324378327710d4cb40b8b8acfa820746a05', class: "navbar-container" }, h("div", { key: '0af404d555c0c69b4d88ac24d9a37ab845f66927', class: "navbar theme-white" }, h("div", { key: '20cd6e5215e9e326e9cb128a1f6442584580130a', class: "navbar-left" }, h("div", { key: '6f54915c28bd36a41a402e94d69484d9515ab9ae', class: "logo" }, h("slot", { key: '27a2a236703414dcd341a86e826bcf956e078896', name: "logo" }, this.showDefaultLogo && h("af-logo", { key: '3fcf375f8c2ad79cea3cf47b6cda1215f9509f6e' }))), h("button", { key: '4f4ad8f1954bac594ca120c6c2ef636491a644a5', class: "mobile-menu-toggle", onClick: this.toggleMobileMenu, "aria-label": "Toggle navigation menu", "aria-expanded": this.mobileMenuOpen ? 'true' : 'false' }, this.mobileMenuOpen ? (h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M18 6L6 18M6 6l12 12", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))) : (h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor" }, h("path", { d: "M3 12h18M3 6h18M3 18h18", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'bb541ead48855a7ef125afb10463b3ef39b215bf', class: `nav-links ${this.mobileMenuOpen ? 'mobile-open' : ''}` }, h("slot", { key: '64760e34dbdc8e8b11840c4705639a971318414b', name: "start" }))), h("div", { key: '0b42ee972bf9325e9080374662c4b01cee912065', class: `navbar-right ${this.mobileMenuOpen ? 'mobile-open' : ''}` }, h("div", { key: '0236e0072f2cd65937afd2c1d1b98f9c9122005d', class: "nav-actions" }, h("slot", { key: '410e7bc54406db754f3478e92614f0835b3f3432', name: "end" })), h("div", { key: '6366c0e743fad848e768b4ec50a3cac4f9e1d89a', class: "nav-button" }, h("slot", { key: '62774a0c921181ebfe7c14037aaa3eb3c0bf0de1', name: "button" })))), h("div", { key: '7251669348de83743ecfa899575a7a7ca49a69a4', class: `dropdown-container ${hasDropdown ? 'is-open' : ''}` }, h("div", { key: 'f1a6cfd8624a45e7027842382ed2281455a6d224', class: "dropdown-panel theme-white" }, h("slot", { key: 'ba6317a597aded558de5a63c447dce037817def2', name: "dropdowns" })))), h("div", { key: '7eace5d5cce7939a076390b585d1b1fcc0d8e754', class: `mobile-menu-panel theme-white ${this.mobileMenuOpen ? 'is-open' : ''}` }, h("div", { key: 'c5ba7214853db2dce96cf35d4270a1e096eb9ff9', class: "mobile-button-container" }, h("slot", { key: 'c2f0f8109794c79e6af81682c5bf55b58bf6780e', name: "mobile-button" }, h("slot", { key: '3812764b1c9757d734b16b83f78242bdc3e394e2', name: "button" }))), h("div", { key: '3b9403ca3e9de2435d3d5cfa87393886639a9223', class: "mobile-menu-content" }, h("slot", { key: '3e85515b1ffdbad63ec8afe3caddab62121f789a', name: "mobile-menu" })))));
|
|
80
116
|
}
|
|
81
117
|
static get is() { return "af-navbar"; }
|
|
82
118
|
static get encapsulation() { return "scoped"; }
|
|
@@ -162,6 +198,12 @@ export class AfNavbar {
|
|
|
162
198
|
static get elementRef() { return "el"; }
|
|
163
199
|
static get listeners() {
|
|
164
200
|
return [{
|
|
201
|
+
"name": "click",
|
|
202
|
+
"method": "handleTriggerClick",
|
|
203
|
+
"target": undefined,
|
|
204
|
+
"capture": false,
|
|
205
|
+
"passive": false
|
|
206
|
+
}, {
|
|
165
207
|
"name": "click",
|
|
166
208
|
"method": "handleDocumentClick",
|
|
167
209
|
"target": "document",
|
|
@@ -176,4 +218,3 @@ export class AfNavbar {
|
|
|
176
218
|
}];
|
|
177
219
|
}
|
|
178
220
|
}
|
|
179
|
-
//# sourceMappingURL=af-navbar.js.map
|
|
@@ -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: '7ab56ba9abbba16278f5bf0b59649bc7011d4778', role: "img", "aria-label": `Number ${this.number}${isInCircle ? ' badge' : ''}` }, h("span", { key: '402e3fea84e76f66d631a79bc789134cc7fae8c2', class: {
|
|
38
38
|
'badge': true,
|
|
39
39
|
[`variant-${this.variant}`]: true,
|
|
40
40
|
}, style: badgeStyle }, this.number)));
|
|
@@ -62,7 +62,7 @@ export class AfNumberBadge {
|
|
|
62
62
|
"references": {
|
|
63
63
|
"NumberBadgeNumber": {
|
|
64
64
|
"location": "local",
|
|
65
|
-
"path": "/home/
|
|
65
|
+
"path": "/home/andrew/affinda-ui/packages/wc/src/components/af-number-badge/af-number-badge.tsx",
|
|
66
66
|
"id": "src/components/af-number-badge/af-number-badge.tsx::NumberBadgeNumber"
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -88,7 +88,7 @@ export class AfNumberBadge {
|
|
|
88
88
|
"references": {
|
|
89
89
|
"NumberBadgeVariant": {
|
|
90
90
|
"location": "local",
|
|
91
|
-
"path": "/home/
|
|
91
|
+
"path": "/home/andrew/affinda-ui/packages/wc/src/components/af-number-badge/af-number-badge.tsx",
|
|
92
92
|
"id": "src/components/af-number-badge/af-number-badge.tsx::NumberBadgeVariant"
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -128,4 +128,3 @@ export class AfNumberBadge {
|
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
//# sourceMappingURL=af-number-badge.js.map
|
|
@@ -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: 'e831de02f8d1263448cf0441085cee677230374e' }, h("div", { key: '57eec77244c1f0c2a1a763d04b22751651069dbc', 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: '9b3229746fef82f644953a189959c109104be511', class: "progress-line__background" }), h("div", { key: '0f5ec3a4a51b350b3b9cb26ea446167a40ce4ae4', 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"; }
|
|
@@ -83,4 +83,3 @@ export class AfProgressLine {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
//# sourceMappingURL=af-progress-line.js.map
|
|
@@ -41,7 +41,7 @@ export class AfRadio {
|
|
|
41
41
|
'checked': this.checked,
|
|
42
42
|
'disabled': this.disabled
|
|
43
43
|
};
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'c14ec6c7bb198a672322642d6d1871137efa1162' }, h("label", { key: 'e1b1d0b8fd4baa6d21a5bba6e5ed7e076d934bb1', class: radioClasses, onClick: this.handleClick }, h("input", { key: '5069d766a6a22e0597ab4d9121c5c3f4c64bb15b', type: "radio", class: "input", checked: this.checked, disabled: this.disabled, name: this.name, value: this.value, tabindex: this.disabled ? -1 : 0 }), h("span", { key: 'bebf784c260126ae0bd37d74b0a9497d5ef893e2', class: controlClasses }, h("span", { key: 'c6c83eb516b1dbb215de7e857a94e08a07c33b22', class: "dot" })), h("span", { key: '047473f2a575284bb8321e54593cba900855fed3', class: "label" }, h("slot", { key: '534b3082f8731e7d8e744a39d2adfec44d577d5b' })))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "af-radio"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -157,4 +157,3 @@ export class AfRadio {
|
|
|
157
157
|
}
|
|
158
158
|
static get elementRef() { return "el"; }
|
|
159
159
|
}
|
|
160
|
-
//# sourceMappingURL=af-radio.js.map
|
|
@@ -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-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
78
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
79
|
+
--af-button-ghost-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-ghost-text: var(--colour-brand-white, #ffffff);
|
|
152
|
+
--af-button-ghost-icon: var(--colour-brand-white, #ffffff);
|
|
153
|
+
--af-button-ghost-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-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
226
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
227
|
+
--af-button-ghost-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-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
300
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
301
|
+
--af-button-ghost-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-ghost-text: var(--colour-brand-inkwell, #14343b);
|
|
374
|
+
--af-button-ghost-icon: var(--colour-brand-inkwell, #14343b);
|
|
375
|
+
--af-button-ghost-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: 'a67ae3c0d94b8b4024ae3cb7c5c0e4f916e1f309' });
|
|
17
|
+
return (h(Host, { key: 'dcdea86aa5b6ce4e3cfe951a90fb441f8a16f7e4' }, h("div", { key: '478836c1570fe89c73405651e03828104a6c069f', 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"; }
|
|
@@ -93,4 +93,3 @@ export class AfSection {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
//# sourceMappingURL=af-section.js.map
|
|
@@ -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: 'f1325c8342cdd48103996664aa410ba6da9c6566', class: classes }, h("slot", { key: '0ce4cacaa80ef10104549af9fa9068ea7d28a406' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "af-show"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,4 +85,3 @@ export class AfShow {
|
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
//# sourceMappingURL=af-show.js.map
|
|
@@ -29,7 +29,7 @@ export class AfSocialLink {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '1637b2b00bf3808ad48979fde1248a6baae16d50' }, h("a", { key: '57cec6aa80ee7cedccdd03ac40f4931c6012bb48', 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"; }
|
|
@@ -108,4 +108,3 @@ export class AfSocialLink {
|
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
//# sourceMappingURL=af-social-link.js.map
|
|
@@ -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: '17bd07b1aeb2346f614d3cf5c663f545622a82af', style: style, "aria-hidden": "true" });
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "af-spacer"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -117,4 +117,3 @@ export class AfSpacer {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
//# sourceMappingURL=af-spacer.js.map
|
|
@@ -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: 'bb153079c8b48a5f2a8bb093f3344f1ed58448f0' });
|
|
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: 'ec4824dfd25f5e9122d7cfd4ad4df8768b949028' }, h("div", { key: '4de289849c8cb6cb7b70446fe6c4b8ca0f5ae648', 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"; }
|
|
@@ -142,4 +142,3 @@ export class AfSplitSection {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
//# sourceMappingURL=af-split-section.js.map
|
|
@@ -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: '8762617789ee74b277ccc75e01a11e0722d46d71', style: style }, h("slot", { key: '81cacfb758661b513d8e16db5d23a9a14c1d5c16' })));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "af-stack"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -194,4 +194,3 @@ export class AfStack {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
//# sourceMappingURL=af-stack.js.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
max-width: 1120px;
|
|
6
|
+
margin: 0 auto;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
gap: 24px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host(.stepper--vertical) {
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
max-width: 680px;
|
|
15
|
+
gap: 40px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Horizontal connector — thin line running across the row of badges. */
|
|
19
|
+
.stepper--horizontal .stepper__connector {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 23px; /* aligned to badge centre (badge height 48px / 2 = 24, minus 1px for line) */
|
|
22
|
+
left: 8%;
|
|
23
|
+
right: 8%;
|
|
24
|
+
height: 2px;
|
|
25
|
+
background: var(--colour-brand-inkwell, #14343b);
|
|
26
|
+
opacity: 0.25;
|
|
27
|
+
z-index: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.stepper--vertical .stepper__connector {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 24px;
|
|
33
|
+
bottom: 24px;
|
|
34
|
+
left: 23px;
|
|
35
|
+
width: 2px;
|
|
36
|
+
background: var(--colour-brand-inkwell, #14343b);
|
|
37
|
+
opacity: 0.25;
|
|
38
|
+
z-index: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media (max-width: 767px) {
|
|
42
|
+
.stepper--horizontal {
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
gap: 32px;
|
|
45
|
+
}
|
|
46
|
+
.stepper--horizontal .stepper__connector {
|
|
47
|
+
top: 24px;
|
|
48
|
+
bottom: 24px;
|
|
49
|
+
left: 23px;
|
|
50
|
+
right: auto;
|
|
51
|
+
width: 2px;
|
|
52
|
+
height: auto;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Stepper composite for "Sign up / Upload / See results"-style marketing
|
|
4
|
+
* flows. Renders children `af-stepper-step` elements in a horizontal row
|
|
5
|
+
* (desktop) or vertical stack (mobile), with a connector line between badges.
|
|
6
|
+
*
|
|
7
|
+
* Matches Webflow's `.stepper` pattern — numbered circled badges, a spine
|
|
8
|
+
* connector, and centered step text.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```html
|
|
12
|
+
* <af-stepper>
|
|
13
|
+
* <af-stepper-step>
|
|
14
|
+
* <h3 slot="heading">Sign up for free</h3>
|
|
15
|
+
* <p slot="body">No sales calls, no credit cards.</p>
|
|
16
|
+
* </af-stepper-step>
|
|
17
|
+
* <af-stepper-step>...</af-stepper-step>
|
|
18
|
+
* <af-stepper-step>...</af-stepper-step>
|
|
19
|
+
* </af-stepper>
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @slot - `af-stepper-step` elements.
|
|
23
|
+
*/
|
|
24
|
+
export class AfStepper {
|
|
25
|
+
constructor() {
|
|
26
|
+
/** Layout orientation. Horizontal on desktop, auto-stacks on mobile. */
|
|
27
|
+
this.orientation = 'horizontal';
|
|
28
|
+
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
this.assignIndices();
|
|
31
|
+
}
|
|
32
|
+
assignIndices() {
|
|
33
|
+
const steps = Array.from(this.el.querySelectorAll('af-stepper-step'));
|
|
34
|
+
steps.forEach((step, i) => {
|
|
35
|
+
// Set via property so Stencil reactively re-renders the badge.
|
|
36
|
+
// Only overwrite when the consumer hasn't explicitly set one.
|
|
37
|
+
if (step.index == null || step.index === 1) {
|
|
38
|
+
step.index = i + 1;
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h(Host, { key: '857011a248f8c9adc46c3a1c69b55cd33f0f7b36', class: `stepper stepper--${this.orientation}` }, h("div", { key: '5654c1431e991475429e1594832509236dc1a3ba', class: "stepper__connector", "aria-hidden": "true" }), h("slot", { key: '23293d2c3cc463a714f1acdfad2a3fb6e1d3cf0a' })));
|
|
44
|
+
}
|
|
45
|
+
static get is() { return "af-stepper"; }
|
|
46
|
+
static get encapsulation() { return "scoped"; }
|
|
47
|
+
static get originalStyleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["af-stepper.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get styleUrls() {
|
|
53
|
+
return {
|
|
54
|
+
"$": ["af-stepper.css"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
static get properties() {
|
|
58
|
+
return {
|
|
59
|
+
"orientation": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "'horizontal' | 'vertical'",
|
|
64
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": "Layout orientation. Horizontal on desktop, auto-stacks on mobile."
|
|
72
|
+
},
|
|
73
|
+
"getter": false,
|
|
74
|
+
"setter": false,
|
|
75
|
+
"reflect": false,
|
|
76
|
+
"attribute": "orientation",
|
|
77
|
+
"defaultValue": "'horizontal'"
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
static get elementRef() { return "el"; }
|
|
82
|
+
}
|