@affinda/wc 0.6.1 → 0.7.0
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-05d875bb.entry.js +1 -0
- package/dist/affinda/p-081cd3df.entry.js +1 -0
- package/dist/affinda/p-0d3d06b6.entry.js +1 -0
- package/dist/affinda/p-10b6c551.entry.js +1 -0
- package/dist/affinda/p-1564dfd4.entry.js +1 -0
- package/dist/affinda/p-18084b61.entry.js +1 -0
- package/dist/affinda/p-1d58ae25.entry.js +1 -0
- package/dist/affinda/p-2638bf29.entry.js +1 -0
- package/dist/affinda/p-28974116.entry.js +1 -0
- package/dist/affinda/p-2c901a65.entry.js +1 -0
- package/dist/affinda/p-2c9d323d.entry.js +1 -0
- package/dist/affinda/p-2ce3bf6f.entry.js +1 -0
- package/dist/affinda/p-30a0eab7.entry.js +1 -0
- package/dist/affinda/p-320ddbd6.entry.js +1 -0
- package/dist/affinda/p-328fdb1f.entry.js +1 -0
- package/dist/affinda/p-36998ce7.entry.js +1 -0
- package/dist/affinda/p-38824135.entry.js +1 -0
- package/dist/affinda/p-3d866c04.entry.js +1 -0
- package/dist/affinda/p-3e66cf51.entry.js +1 -0
- package/dist/affinda/p-40f2eeab.entry.js +1 -0
- package/dist/affinda/p-454b9537.entry.js +1 -0
- package/dist/affinda/p-46134d54.entry.js +1 -0
- package/dist/affinda/p-489a913a.entry.js +1 -0
- package/dist/affinda/p-49c814e6.entry.js +1 -0
- package/dist/affinda/p-4a71b0ba.entry.js +1 -0
- package/dist/affinda/p-4fa3183a.entry.js +1 -0
- package/dist/affinda/p-500e9086.entry.js +1 -0
- package/dist/affinda/p-51287827.entry.js +1 -0
- package/dist/affinda/p-54a3213d.entry.js +1 -0
- package/dist/affinda/p-64177b96.entry.js +1 -0
- package/dist/affinda/p-6507e36d.entry.js +1 -0
- package/dist/affinda/p-663c91e9.entry.js +1 -0
- package/dist/affinda/p-75797b4b.entry.js +1 -0
- package/dist/affinda/p-75fe2855.entry.js +1 -0
- package/dist/affinda/p-7a4f3f0a.entry.js +1 -0
- package/dist/affinda/p-7cd9fb74.entry.js +1 -0
- package/dist/affinda/p-85610cb5.entry.js +1 -0
- package/dist/affinda/p-8695a652.entry.js +1 -0
- package/dist/affinda/{p-47d2f72b.entry.js → p-8a3e9703.entry.js} +1 -2
- package/dist/affinda/p-91aafa8f.entry.js +1 -0
- package/dist/affinda/p-93605689.entry.js +1 -0
- package/dist/affinda/p-98c29d8a.entry.js +1 -0
- package/dist/affinda/p-9a7d92d1.entry.js +1 -0
- package/dist/affinda/p-9c70fd89.entry.js +1 -0
- package/dist/affinda/p-9daf664e.entry.js +1 -0
- package/dist/affinda/p-9eb99154.entry.js +1 -0
- package/dist/affinda/p-9f09f792.entry.js +1 -0
- package/dist/affinda/p-BSPfXvdg.js +1 -0
- package/dist/affinda/p-BjfY9fsk.js +2 -0
- package/dist/affinda/p-DEGKc9o3.js +1 -0
- package/dist/affinda/p-a0db87cb.entry.js +1 -0
- package/dist/affinda/p-a0f2cc59.entry.js +1 -0
- package/dist/affinda/p-a45d3a9e.entry.js +1 -0
- package/dist/affinda/p-a695894c.entry.js +1 -0
- package/dist/affinda/p-a82cfef6.entry.js +1 -0
- package/dist/affinda/p-a8e0bcfc.entry.js +1 -0
- package/dist/affinda/p-ac5fa6a0.entry.js +1 -0
- package/dist/affinda/p-ae0e7349.entry.js +1 -0
- package/dist/affinda/p-b0256538.entry.js +1 -0
- package/dist/affinda/p-b04be1ae.entry.js +1 -0
- package/dist/affinda/p-b225d686.entry.js +1 -0
- package/dist/affinda/p-b7047436.entry.js +1 -0
- package/dist/affinda/p-b82d958e.entry.js +1 -0
- package/dist/affinda/p-bb16eb85.entry.js +1 -0
- package/dist/affinda/p-c434500a.entry.js +1 -0
- package/dist/affinda/p-c511caae.entry.js +1 -0
- package/dist/affinda/p-cce0d195.entry.js +1 -0
- package/dist/affinda/p-cd28e405.entry.js +1 -0
- package/dist/affinda/p-cd592f7e.entry.js +1 -0
- package/dist/affinda/p-d5dc7de2.entry.js +1 -0
- package/dist/affinda/p-d5e5280c.entry.js +1 -0
- package/dist/affinda/p-db7b9094.entry.js +1 -0
- package/dist/affinda/p-dce64220.entry.js +1 -0
- package/dist/affinda/p-dd1e0ab5.entry.js +1 -0
- package/dist/affinda/p-de523c4d.entry.js +1 -0
- package/dist/affinda/p-def60ae7.entry.js +1 -0
- package/dist/affinda/p-e053f2ca.entry.js +1 -0
- package/dist/affinda/p-e2f7c1bf.entry.js +1 -0
- package/dist/affinda/p-e30ecdb4.entry.js +1 -0
- package/dist/affinda/p-e3e6fb93.entry.js +1 -0
- package/dist/affinda/p-e6688b1d.entry.js +1 -0
- package/dist/affinda/p-e7d68b1c.entry.js +1 -0
- package/dist/affinda/p-e897361e.entry.js +1 -0
- package/dist/affinda/p-ef57e1a7.entry.js +1 -0
- package/dist/affinda/p-f6ebe718.entry.js +1 -0
- package/dist/affinda/p-f7120b2b.entry.js +1 -0
- package/dist/affinda/{p-bc59dc0e.entry.js → p-f8ccfbf2.entry.js} +1 -2
- package/dist/affinda/p-fae810e5.entry.js +1 -0
- package/dist/affinda/p-fce3ed61.entry.js +1 -0
- package/dist/affinda/p-feb5ff84.entry.js +1 -0
- package/dist/cjs/a11y-D7P8rpD_.js +359 -0
- package/dist/cjs/af-accordion-item.cjs.entry.js +6 -5
- package/dist/cjs/af-accordion.cjs.entry.js +6 -5
- package/dist/cjs/af-action-item.cjs.entry.js +54 -0
- package/dist/cjs/af-action-list.cjs.entry.js +37 -0
- package/dist/cjs/af-area-chart.cjs.entry.js +272 -0
- package/dist/cjs/af-aspect-ratio.cjs.entry.js +3 -4
- package/dist/cjs/af-bar-chart.cjs.entry.js +345 -0
- package/dist/cjs/af-button-group.cjs.entry.js +3 -4
- package/dist/cjs/af-button.cjs.entry.js +5 -5
- package/dist/cjs/af-callout.cjs.entry.js +66 -0
- package/dist/cjs/af-card.cjs.entry.js +4 -5
- package/dist/cjs/af-center.cjs.entry.js +4 -5
- package/dist/cjs/af-chart-legend.cjs.entry.js +123 -0
- package/dist/cjs/af-chart-section.cjs.entry.js +33 -0
- package/dist/cjs/af-chart-tooltip.cjs.entry.js +81 -0
- package/dist/cjs/af-checkbox.cjs.entry.js +3 -4
- package/dist/cjs/af-client-carousel.cjs.entry.js +46 -11
- 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 +62 -8
- 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 +3 -4
- 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 +30 -20
- package/dist/cjs/af-hero.cjs.entry.js +3 -4
- 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 +30 -12
- 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 +3 -4
- package/dist/cjs/af-line-chart.cjs.entry.js +257 -0
- package/dist/cjs/af-logo-mark.cjs.entry.js +27 -0
- 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 +5 -6
- package/dist/cjs/af-nav-menu.cjs.entry.js +4 -5
- package/dist/cjs/af-next-step-item.cjs.entry.js +33 -0
- package/dist/cjs/af-next-steps.cjs.entry.js +40 -0
- package/dist/cjs/af-number-badge.cjs.entry.js +5 -6
- package/dist/cjs/af-numbered-stepper-item.cjs.entry.js +4 -5
- package/dist/cjs/af-numbered-stepper.cjs.entry.js +4 -5
- package/dist/cjs/af-paperclip-decoration.cjs.entry.js +4 -5
- package/dist/cjs/af-pie-chart.cjs.entry.js +153 -0
- package/dist/cjs/af-progress-line.cjs.entry.js +5 -6
- package/dist/cjs/af-proposal-footer.cjs.entry.js +36 -0
- package/dist/cjs/af-proposal-header.cjs.entry.js +30 -0
- package/dist/cjs/af-radio.cjs.entry.js +3 -4
- 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 +5 -6
- 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-stat.cjs.entry.js +6 -5
- package/dist/cjs/af-stats-row.cjs.entry.js +4 -5
- package/dist/cjs/af-stepper-step.cjs.entry.js +4 -5
- package/dist/cjs/af-stepper.cjs.entry.js +4 -5
- package/dist/cjs/af-switch.cjs.entry.js +3 -4
- package/dist/cjs/af-tab-bar.cjs.entry.js +3 -4
- package/dist/cjs/af-tab.cjs.entry.js +3 -4
- package/dist/cjs/af-table.cjs.entry.js +159 -0
- package/dist/cjs/af-tag.cjs.entry.js +3 -4
- package/dist/cjs/af-testimonial-carousel.cjs.entry.js +75 -22
- package/dist/cjs/af-testimonial-stat.cjs.entry.js +9 -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 +3 -4
- package/dist/cjs/af-theme-override.cjs.entry.js +4 -5
- package/dist/cjs/af-timeline-item.cjs.entry.js +72 -0
- package/dist/cjs/af-timeline.cjs.entry.js +222 -0
- package/dist/cjs/af-typography-lockup.cjs.entry.js +11 -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-BuJz1C1M.js → index-BcMwIg4j.js} +596 -378
- package/dist/cjs/index.cjs.js +21 -22
- package/dist/cjs/loader.cjs.js +2 -3
- package/dist/cjs/scales-DjlIMmiW.js +195 -0
- package/dist/collection/collection-manifest.json +21 -2
- package/dist/collection/components/af-accordion/af-accordion.js +0 -1
- package/dist/collection/components/af-accordion-item/af-accordion-item.js +0 -1
- package/dist/collection/components/af-action-item/af-action-item.css +186 -0
- package/dist/collection/components/af-action-item/af-action-item.js +183 -0
- package/dist/collection/components/af-action-list/af-action-list.css +100 -0
- package/dist/collection/components/af-action-list/af-action-list.js +97 -0
- package/dist/collection/components/af-area-chart/af-area-chart.css +191 -0
- package/dist/collection/components/af-area-chart/af-area-chart.js +631 -0
- package/dist/collection/components/af-aspect-ratio/af-aspect-ratio.js +0 -1
- package/dist/collection/components/af-bar-chart/af-bar-chart.css +245 -0
- package/dist/collection/components/af-bar-chart/af-bar-chart.js +664 -0
- package/dist/collection/components/af-button/af-button.js +2 -2
- package/dist/collection/components/af-button-group/af-button-group.css +23 -0
- package/dist/collection/components/af-button-group/af-button-group.js +0 -1
- package/dist/collection/components/af-callout/af-callout.css +290 -0
- package/dist/collection/components/af-callout/af-callout.js +188 -0
- package/dist/collection/components/af-card/af-card.js +3 -3
- package/dist/collection/components/af-center/af-center.js +1 -2
- package/dist/collection/components/af-chart-legend/af-chart-legend.css +132 -0
- package/dist/collection/components/af-chart-legend/af-chart-legend.js +332 -0
- package/dist/collection/components/af-chart-section/af-chart-section.css +113 -0
- package/dist/collection/components/af-chart-section/af-chart-section.js +150 -0
- package/dist/collection/components/af-chart-tooltip/af-chart-tooltip.css +155 -0
- package/dist/collection/components/af-chart-tooltip/af-chart-tooltip.js +286 -0
- package/dist/collection/components/af-checkbox/af-checkbox.js +0 -1
- package/dist/collection/components/af-client-carousel/af-client-carousel.css +9 -2
- package/dist/collection/components/af-client-carousel/af-client-carousel.js +54 -9
- 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.css +151 -25
- package/dist/collection/components/af-feature-accordion/af-feature-accordion.js +78 -5
- package/dist/collection/components/af-feature-card/af-feature-card.js +2 -2
- package/dist/collection/components/af-feature-grid/af-feature-grid.js +1 -2
- package/dist/collection/components/af-fieldset/af-fieldset.js +0 -1
- 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 +4 -4
- 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-hero/af-hero.js +2 -3
- package/dist/collection/components/af-icon/af-icon.js +4 -4
- package/dist/collection/components/af-icon-box/af-icon-box.js +4 -4
- package/dist/collection/components/af-icon-button/af-icon-button.js +0 -1
- package/dist/collection/components/af-icon-text/af-icon-text.js +4 -4
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.css +1 -0
- package/dist/collection/components/af-illustrated-card/af-illustrated-card.js +3 -3
- package/dist/collection/components/af-image/af-image.css +103 -10
- package/dist/collection/components/af-image/af-image.js +73 -14
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.css +10 -0
- package/dist/collection/components/af-in-page-banner/af-in-page-banner.js +3 -3
- package/dist/collection/components/af-inline/af-inline.js +3 -3
- package/dist/collection/components/af-input/af-input.js +0 -1
- package/dist/collection/components/af-line-chart/af-line-chart.css +255 -0
- package/dist/collection/components/af-line-chart/af-line-chart.js +618 -0
- package/dist/collection/components/af-logo/af-logo.js +0 -1
- package/dist/collection/components/af-logo-mark/af-logo-mark.css +9 -0
- package/dist/collection/components/af-logo-mark/af-logo-mark.js +86 -0
- 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.css +9 -10
- 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.css +19 -24
- package/dist/collection/components/af-nav-item/af-nav-item.js +0 -1
- package/dist/collection/components/af-nav-menu/af-nav-menu.css +7 -6
- 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.css +1 -1
- package/dist/collection/components/af-nav-menu-nest/af-nav-menu-nest.js +3 -4
- package/dist/collection/components/af-navbar/af-navbar.css +47 -9
- package/dist/collection/components/af-navbar/af-navbar.js +21 -10
- package/dist/collection/components/af-next-step-item/af-next-step-item.css +137 -0
- package/dist/collection/components/af-next-step-item/af-next-step-item.js +122 -0
- package/dist/collection/components/af-next-steps/af-next-steps.css +27 -0
- package/dist/collection/components/af-next-steps/af-next-steps.js +89 -0
- package/dist/collection/components/af-number-badge/af-number-badge.js +4 -5
- package/dist/collection/components/af-numbered-stepper/af-numbered-stepper.js +1 -2
- package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.css +51 -7
- package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.js +1 -2
- package/dist/collection/components/af-paperclip-decoration/af-paperclip-decoration.js +1 -2
- package/dist/collection/components/af-pie-chart/af-pie-chart.css +234 -0
- package/dist/collection/components/af-pie-chart/af-pie-chart.js +385 -0
- package/dist/collection/components/af-progress-line/af-progress-line.js +2 -3
- package/dist/collection/components/af-proposal-footer/af-proposal-footer.css +27 -0
- package/dist/collection/components/af-proposal-footer/af-proposal-footer.js +118 -0
- package/dist/collection/components/af-proposal-header/af-proposal-header.css +131 -0
- package/dist/collection/components/af-proposal-header/af-proposal-header.js +178 -0
- package/dist/collection/components/af-radio/af-radio.js +0 -1
- package/dist/collection/components/af-section/af-section.css +57 -0
- package/dist/collection/components/af-section/af-section.js +6 -5
- package/dist/collection/components/af-show/af-show.js +1 -2
- package/dist/collection/components/af-social-link/af-social-link.js +2 -3
- package/dist/collection/components/af-spacer/af-spacer.js +1 -2
- package/dist/collection/components/af-split-section/af-split-section.js +8 -6
- package/dist/collection/components/af-stack/af-stack.js +3 -3
- package/dist/collection/components/af-stat/af-stat.css +5 -4
- package/dist/collection/components/af-stat/af-stat.js +25 -2
- package/dist/collection/components/af-stats-row/af-stats-row.css +8 -22
- package/dist/collection/components/af-stats-row/af-stats-row.js +1 -2
- package/dist/collection/components/af-stepper/af-stepper.js +1 -2
- package/dist/collection/components/af-stepper-step/af-stepper-step.js +1 -2
- package/dist/collection/components/af-switch/af-switch.js +0 -1
- package/dist/collection/components/af-tab/af-tab.js +1 -2
- package/dist/collection/components/af-tab-bar/af-tab-bar.js +2 -3
- package/dist/collection/components/af-table/af-table.css +295 -0
- package/dist/collection/components/af-table/af-table.js +295 -0
- package/dist/collection/components/af-tag/af-tag.js +2 -3
- package/dist/collection/components/af-testimonial/af-testimonial.css +82 -8
- package/dist/collection/components/af-testimonial/af-testimonial.js +78 -3
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.css +40 -5
- package/dist/collection/components/af-testimonial-carousel/af-testimonial-carousel.js +72 -19
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.css +62 -3
- package/dist/collection/components/af-testimonial-stat/af-testimonial-stat.js +6 -2
- package/dist/collection/components/af-text/af-text.js +0 -1
- 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 +0 -1
- package/dist/collection/components/af-theme-override/af-theme-override.js +3 -3
- package/dist/collection/components/af-timeline/af-timeline.css +260 -0
- package/dist/collection/components/af-timeline/af-timeline.js +380 -0
- package/dist/collection/components/af-timeline-item/af-timeline-item.css +301 -0
- package/dist/collection/components/af-timeline-item/af-timeline-item.js +265 -0
- package/dist/collection/components/af-typography-lockup/af-typography-lockup.js +10 -5
- 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/collection/types.js +0 -1
- package/dist/collection/utils/charts/a11y.js +191 -0
- package/dist/collection/utils/charts/generators.js +227 -0
- package/dist/collection/utils/charts/index.js +10 -0
- package/dist/collection/utils/charts/scales.js +189 -0
- package/dist/collection/utils/charts/types.js +12 -0
- package/dist/components/af-accordion-item.js +1 -107
- package/dist/components/af-accordion.js +1 -128
- package/dist/components/af-action-item.d.ts +11 -0
- package/dist/components/af-action-item.js +1 -0
- package/dist/components/af-action-list.d.ts +11 -0
- package/dist/components/af-action-list.js +1 -0
- package/dist/components/af-area-chart.d.ts +11 -0
- package/dist/components/af-area-chart.js +1 -0
- package/dist/components/af-aspect-ratio.js +1 -9
- package/dist/components/af-bar-chart.d.ts +11 -0
- package/dist/components/af-bar-chart.js +1 -0
- package/dist/components/af-button-group.js +1 -9
- package/dist/components/af-button.js +1 -9
- package/dist/components/af-callout.d.ts +11 -0
- package/dist/components/af-callout.js +1 -0
- package/dist/components/af-card.js +1 -9
- package/dist/components/af-center.js +1 -66
- package/dist/components/af-chart-legend.d.ts +11 -0
- package/dist/components/af-chart-legend.js +1 -0
- package/dist/components/af-chart-section.d.ts +11 -0
- package/dist/components/af-chart-section.js +1 -0
- package/dist/components/af-chart-tooltip.d.ts +11 -0
- package/dist/components/af-chart-tooltip.js +1 -0
- package/dist/components/af-checkbox.js +1 -9
- package/dist/components/af-client-carousel.js +1 -96
- 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-hero.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-line-chart.d.ts +11 -0
- package/dist/components/af-line-chart.js +1 -0
- package/dist/components/af-logo-mark.d.ts +11 -0
- package/dist/components/af-logo-mark.js +1 -0
- 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 -133
- 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-next-step-item.d.ts +11 -0
- package/dist/components/af-next-step-item.js +1 -0
- package/dist/components/af-next-steps.d.ts +11 -0
- package/dist/components/af-next-steps.js +1 -0
- package/dist/components/af-number-badge.js +1 -9
- package/dist/components/af-numbered-stepper-item.js +1 -58
- package/dist/components/af-numbered-stepper.js +1 -57
- package/dist/components/af-paperclip-decoration.js +1 -68
- package/dist/components/af-pie-chart.d.ts +11 -0
- package/dist/components/af-pie-chart.js +1 -0
- package/dist/components/af-progress-line.js +1 -9
- package/dist/components/af-proposal-footer.d.ts +11 -0
- package/dist/components/af-proposal-footer.js +1 -0
- package/dist/components/af-proposal-header.d.ts +11 -0
- package/dist/components/af-proposal-header.js +1 -0
- package/dist/components/af-radio.js +1 -9
- package/dist/components/af-section.js +1 -9
- 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-stat.js +1 -53
- package/dist/components/af-stats-row.js +1 -37
- package/dist/components/af-stepper-step.js +1 -44
- package/dist/components/af-stepper.js +1 -55
- 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-table.d.ts +11 -0
- package/dist/components/af-table.js +1 -0
- 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 -88
- package/dist/components/af-text-image-nest.js +1 -51
- package/dist/components/af-text-image.js +1 -95
- 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-timeline-item.d.ts +11 -0
- package/dist/components/af-timeline-item.js +1 -0
- package/dist/components/af-timeline.d.ts +11 -0
- package/dist/components/af-timeline.js +1 -0
- 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 -28
- package/dist/components/p-B6QLLKoY.js +1 -0
- package/dist/components/p-B9kn8bdv.js +1 -0
- package/dist/components/p-BAtqI56c.js +1 -0
- package/dist/components/p-BG8SGO9l.js +1 -0
- package/dist/components/p-BLUTekMF.js +1 -0
- package/dist/components/p-BSPfXvdg.js +1 -0
- package/dist/components/p-BY0PJL6j.js +1 -0
- package/dist/components/p-Be8v3CCM.js +1 -0
- package/dist/components/p-BkjX8JFj.js +1 -0
- package/dist/components/p-BnBr2-r-.js +1 -0
- package/dist/components/p-BofEd4yd.js +1 -0
- package/dist/components/p-C-g76Z9X.js +1 -0
- package/dist/components/p-C7rwjYr_.js +1 -0
- package/dist/components/p-CDl4Zk3-.js +1 -0
- package/dist/components/p-CEtIziSr.js +1 -0
- package/dist/components/p-CIaSTJo3.js +1 -0
- package/dist/components/p-Cdi63dq-.js +1 -0
- package/dist/components/p-ClOQFY2W.js +1 -0
- package/dist/components/p-CnKT-ePd.js +1 -0
- package/dist/components/p-Co9EDn2t.js +1 -0
- package/dist/components/p-Cye028UF.js +1 -0
- package/dist/components/p-D1moXdEA.js +1 -0
- package/dist/components/p-D6fHOYRF.js +1 -0
- package/dist/components/p-DEGKc9o3.js +1 -0
- package/dist/components/p-D_G6S5Se.js +1 -0
- package/dist/components/p-DhEHGrIu.js +1 -0
- package/dist/components/p-DifZ2dRU.js +1 -0
- package/dist/components/p-Dm7U4iyS.js +1 -0
- package/dist/components/p-DoMy-66y.js +1 -0
- package/dist/components/p-Dq8b9JgN.js +1 -0
- package/dist/components/p-XmBr9yw_.js +1 -0
- package/dist/components/p-Zzc36937.js +1 -0
- package/dist/components/p-bNBu9AML.js +1 -0
- package/dist/components/p-bknhsVLn.js +1 -0
- package/dist/components/p-mmJGfmyi.js +1 -0
- package/dist/components/p-t4S1PTqg.js +1 -0
- package/dist/esm/a11y-DEGKc9o3.js +346 -0
- package/dist/esm/af-accordion-item.entry.js +6 -5
- package/dist/esm/af-accordion.entry.js +6 -5
- package/dist/esm/af-action-item.entry.js +52 -0
- package/dist/esm/af-action-list.entry.js +35 -0
- package/dist/esm/af-area-chart.entry.js +270 -0
- package/dist/esm/af-aspect-ratio.entry.js +3 -4
- package/dist/esm/af-bar-chart.entry.js +343 -0
- package/dist/esm/af-button-group.entry.js +3 -4
- package/dist/esm/af-button.entry.js +5 -5
- package/dist/esm/af-callout.entry.js +64 -0
- package/dist/esm/af-card.entry.js +4 -5
- package/dist/esm/af-center.entry.js +4 -5
- package/dist/esm/af-chart-legend.entry.js +121 -0
- package/dist/esm/af-chart-section.entry.js +31 -0
- package/dist/esm/af-chart-tooltip.entry.js +79 -0
- package/dist/esm/af-checkbox.entry.js +3 -4
- package/dist/esm/af-client-carousel.entry.js +46 -11
- 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 +62 -8
- 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 +3 -4
- 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 +30 -20
- package/dist/esm/af-hero.entry.js +3 -4
- 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 +30 -12
- 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 +3 -4
- package/dist/esm/af-line-chart.entry.js +255 -0
- package/dist/esm/af-logo-mark.entry.js +25 -0
- 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 +5 -6
- package/dist/esm/af-nav-menu.entry.js +4 -5
- package/dist/esm/af-next-step-item.entry.js +31 -0
- package/dist/esm/af-next-steps.entry.js +38 -0
- package/dist/esm/af-number-badge.entry.js +5 -6
- package/dist/esm/af-numbered-stepper-item.entry.js +4 -5
- package/dist/esm/af-numbered-stepper.entry.js +4 -5
- package/dist/esm/af-paperclip-decoration.entry.js +4 -5
- package/dist/esm/af-pie-chart.entry.js +151 -0
- package/dist/esm/af-progress-line.entry.js +5 -6
- package/dist/esm/af-proposal-footer.entry.js +34 -0
- package/dist/esm/af-proposal-header.entry.js +28 -0
- package/dist/esm/af-radio.entry.js +3 -4
- 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 +5 -6
- 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-stat.entry.js +6 -5
- package/dist/esm/af-stats-row.entry.js +4 -5
- package/dist/esm/af-stepper-step.entry.js +4 -5
- package/dist/esm/af-stepper.entry.js +4 -5
- package/dist/esm/af-switch.entry.js +3 -4
- package/dist/esm/af-tab-bar.entry.js +3 -4
- package/dist/esm/af-tab.entry.js +3 -4
- package/dist/esm/af-table.entry.js +157 -0
- package/dist/esm/af-tag.entry.js +3 -4
- package/dist/esm/af-testimonial-carousel.entry.js +75 -22
- package/dist/esm/af-testimonial-stat.entry.js +9 -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 +3 -4
- package/dist/esm/af-theme-override.entry.js +4 -5
- package/dist/esm/af-timeline-item.entry.js +70 -0
- package/dist/esm/af-timeline.entry.js +220 -0
- package/dist/esm/af-typography-lockup.entry.js +11 -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-CYq0zyKH.js → index-BjfY9fsk.js} +596 -378
- package/dist/esm/index.js +2 -3
- package/dist/esm/loader.js +3 -4
- package/dist/esm/scales-BSPfXvdg.js +188 -0
- package/dist/hydrate/index.d.ts +12 -0
- package/dist/hydrate/index.js +9919 -2463
- package/dist/hydrate/index.mjs +9918 -2464
- package/dist/types/components/af-action-item/af-action-item.d.ts +44 -0
- package/dist/types/components/af-action-list/af-action-list.d.ts +31 -0
- package/dist/types/components/af-area-chart/af-area-chart.d.ts +107 -0
- package/dist/types/components/af-bar-chart/af-bar-chart.d.ts +105 -0
- package/dist/types/components/af-callout/af-callout.d.ts +48 -0
- package/dist/types/components/af-chart-legend/af-chart-legend.d.ts +84 -0
- package/dist/types/components/af-chart-section/af-chart-section.d.ts +37 -0
- package/dist/types/components/af-chart-tooltip/af-chart-tooltip.d.ts +87 -0
- package/dist/types/components/af-client-carousel/af-client-carousel.d.ts +5 -0
- package/dist/types/components/af-feature-accordion/af-feature-accordion.d.ts +10 -0
- package/dist/types/components/af-icon/af-icon.d.ts +1 -1
- package/dist/types/components/af-icon-box/af-icon-box.d.ts +1 -1
- package/dist/types/components/af-icon-text/af-icon-text.d.ts +1 -1
- package/dist/types/components/af-image/af-image.d.ts +28 -9
- package/dist/types/components/af-line-chart/af-line-chart.d.ts +111 -0
- package/dist/types/components/af-logo-mark/af-logo-mark.d.ts +25 -0
- package/dist/types/components/af-navbar/af-navbar.d.ts +3 -1
- package/dist/types/components/af-next-step-item/af-next-step-item.d.ts +31 -0
- package/dist/types/components/af-next-steps/af-next-steps.d.ts +33 -0
- package/dist/types/components/af-pie-chart/af-pie-chart.d.ts +77 -0
- package/dist/types/components/af-proposal-footer/af-proposal-footer.d.ts +25 -0
- package/dist/types/components/af-proposal-header/af-proposal-header.d.ts +36 -0
- package/dist/types/components/af-stat/af-stat.d.ts +2 -0
- package/dist/types/components/af-table/af-table.d.ts +77 -0
- package/dist/types/components/af-testimonial/af-testimonial.d.ts +8 -0
- package/dist/types/components/af-testimonial-carousel/af-testimonial-carousel.d.ts +11 -2
- package/dist/types/components/af-timeline/af-timeline.d.ts +86 -0
- package/dist/types/components/af-timeline-item/af-timeline-item.d.ts +59 -0
- package/dist/types/components.d.ts +3464 -298
- package/dist/types/stencil-public-runtime.d.ts +110 -6
- package/dist/types/utils/charts/a11y.d.ts +43 -0
- package/dist/types/utils/charts/generators.d.ts +92 -0
- package/dist/types/utils/charts/index.d.ts +10 -0
- package/dist/types/utils/charts/scales.d.ts +80 -0
- package/dist/types/utils/charts/types.d.ts +79 -0
- package/package.json +24 -20
- 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-hero.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-numbered-stepper-item.entry.esm.js.map +0 -1
- package/dist/affinda/af-numbered-stepper.entry.esm.js.map +0 -1
- package/dist/affinda/af-paperclip-decoration.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-stat.entry.esm.js.map +0 -1
- package/dist/affinda/af-stats-row.entry.esm.js.map +0 -1
- package/dist/affinda/af-stepper-step.entry.esm.js.map +0 -1
- package/dist/affinda/af-stepper.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-01b848e9.entry.js +0 -2
- package/dist/affinda/p-01b848e9.entry.js.map +0 -1
- package/dist/affinda/p-025851ca.entry.js +0 -2
- package/dist/affinda/p-025851ca.entry.js.map +0 -1
- package/dist/affinda/p-0c7d81d0.entry.js +0 -2
- package/dist/affinda/p-0c7d81d0.entry.js.map +0 -1
- package/dist/affinda/p-0cbb1cb2.entry.js +0 -2
- package/dist/affinda/p-0cbb1cb2.entry.js.map +0 -1
- package/dist/affinda/p-11d41c9a.entry.js +0 -2
- package/dist/affinda/p-11d41c9a.entry.js.map +0 -1
- package/dist/affinda/p-1554f3d7.entry.js +0 -2
- package/dist/affinda/p-1554f3d7.entry.js.map +0 -1
- package/dist/affinda/p-160997b3.entry.js +0 -2
- package/dist/affinda/p-160997b3.entry.js.map +0 -1
- package/dist/affinda/p-1c19e94c.entry.js +0 -2
- package/dist/affinda/p-1c19e94c.entry.js.map +0 -1
- package/dist/affinda/p-1c922fff.entry.js +0 -2
- package/dist/affinda/p-1c922fff.entry.js.map +0 -1
- package/dist/affinda/p-1e59a051.entry.js +0 -2
- package/dist/affinda/p-1e59a051.entry.js.map +0 -1
- package/dist/affinda/p-20faf28d.entry.js +0 -2
- package/dist/affinda/p-20faf28d.entry.js.map +0 -1
- package/dist/affinda/p-223b2e70.entry.js +0 -2
- package/dist/affinda/p-223b2e70.entry.js.map +0 -1
- package/dist/affinda/p-2315cb6b.entry.js +0 -2
- package/dist/affinda/p-2315cb6b.entry.js.map +0 -1
- package/dist/affinda/p-2716cdc4.entry.js +0 -2
- package/dist/affinda/p-2716cdc4.entry.js.map +0 -1
- package/dist/affinda/p-296a6ece.entry.js +0 -2
- package/dist/affinda/p-296a6ece.entry.js.map +0 -1
- package/dist/affinda/p-2e67fb0d.entry.js +0 -2
- package/dist/affinda/p-2e67fb0d.entry.js.map +0 -1
- package/dist/affinda/p-319b51c7.entry.js +0 -2
- package/dist/affinda/p-319b51c7.entry.js.map +0 -1
- package/dist/affinda/p-31d96ddc.entry.js +0 -2
- package/dist/affinda/p-31d96ddc.entry.js.map +0 -1
- package/dist/affinda/p-39a40e6a.entry.js +0 -2
- package/dist/affinda/p-39a40e6a.entry.js.map +0 -1
- package/dist/affinda/p-3df90209.entry.js +0 -2
- package/dist/affinda/p-3df90209.entry.js.map +0 -1
- package/dist/affinda/p-3ed2eb32.entry.js +0 -2
- package/dist/affinda/p-3ed2eb32.entry.js.map +0 -1
- package/dist/affinda/p-3fb33478.entry.js +0 -2
- package/dist/affinda/p-3fb33478.entry.js.map +0 -1
- package/dist/affinda/p-47d2f72b.entry.js.map +0 -1
- package/dist/affinda/p-5e966aa6.entry.js +0 -2
- package/dist/affinda/p-5e966aa6.entry.js.map +0 -1
- package/dist/affinda/p-5fdb4aad.entry.js +0 -2
- package/dist/affinda/p-5fdb4aad.entry.js.map +0 -1
- package/dist/affinda/p-604399ed.entry.js +0 -2
- package/dist/affinda/p-604399ed.entry.js.map +0 -1
- package/dist/affinda/p-6525d4fe.entry.js +0 -2
- package/dist/affinda/p-6525d4fe.entry.js.map +0 -1
- package/dist/affinda/p-653bca57.entry.js +0 -2
- package/dist/affinda/p-653bca57.entry.js.map +0 -1
- package/dist/affinda/p-6c4137dc.entry.js +0 -2
- package/dist/affinda/p-6c4137dc.entry.js.map +0 -1
- package/dist/affinda/p-761f06ae.entry.js +0 -2
- package/dist/affinda/p-761f06ae.entry.js.map +0 -1
- package/dist/affinda/p-764601e6.entry.js +0 -2
- package/dist/affinda/p-764601e6.entry.js.map +0 -1
- package/dist/affinda/p-765883e7.entry.js +0 -2
- package/dist/affinda/p-765883e7.entry.js.map +0 -1
- package/dist/affinda/p-7b60b684.entry.js +0 -2
- package/dist/affinda/p-7b60b684.entry.js.map +0 -1
- package/dist/affinda/p-805148d0.entry.js +0 -2
- package/dist/affinda/p-805148d0.entry.js.map +0 -1
- package/dist/affinda/p-8eb57e35.entry.js +0 -2
- package/dist/affinda/p-8eb57e35.entry.js.map +0 -1
- package/dist/affinda/p-90e9e29c.entry.js +0 -2
- package/dist/affinda/p-90e9e29c.entry.js.map +0 -1
- package/dist/affinda/p-92c61bad.entry.js +0 -2
- package/dist/affinda/p-92c61bad.entry.js.map +0 -1
- package/dist/affinda/p-94119fa2.entry.js +0 -2
- package/dist/affinda/p-94119fa2.entry.js.map +0 -1
- package/dist/affinda/p-99b37588.entry.js +0 -2
- package/dist/affinda/p-99b37588.entry.js.map +0 -1
- package/dist/affinda/p-9c470a88.entry.js +0 -2
- package/dist/affinda/p-9c470a88.entry.js.map +0 -1
- package/dist/affinda/p-9c8d18a3.entry.js +0 -2
- package/dist/affinda/p-9c8d18a3.entry.js.map +0 -1
- package/dist/affinda/p-9d85f685.entry.js +0 -2
- package/dist/affinda/p-9d85f685.entry.js.map +0 -1
- package/dist/affinda/p-CYq0zyKH.js +0 -3
- package/dist/affinda/p-CYq0zyKH.js.map +0 -1
- package/dist/affinda/p-aa0cb70d.entry.js +0 -2
- package/dist/affinda/p-aa0cb70d.entry.js.map +0 -1
- package/dist/affinda/p-aabe4d24.entry.js +0 -2
- package/dist/affinda/p-aabe4d24.entry.js.map +0 -1
- package/dist/affinda/p-ae27e9da.entry.js +0 -2
- package/dist/affinda/p-ae27e9da.entry.js.map +0 -1
- package/dist/affinda/p-bc3d2bb4.entry.js +0 -2
- package/dist/affinda/p-bc3d2bb4.entry.js.map +0 -1
- package/dist/affinda/p-bc59dc0e.entry.js.map +0 -1
- package/dist/affinda/p-c6aa66f3.entry.js +0 -2
- package/dist/affinda/p-c6aa66f3.entry.js.map +0 -1
- package/dist/affinda/p-c87e5b29.entry.js +0 -2
- package/dist/affinda/p-c87e5b29.entry.js.map +0 -1
- package/dist/affinda/p-cd8cfa7f.entry.js +0 -2
- package/dist/affinda/p-cd8cfa7f.entry.js.map +0 -1
- package/dist/affinda/p-da247ea4.entry.js +0 -2
- package/dist/affinda/p-da247ea4.entry.js.map +0 -1
- package/dist/affinda/p-dd30a9b8.entry.js +0 -2
- package/dist/affinda/p-dd30a9b8.entry.js.map +0 -1
- package/dist/affinda/p-e10c03b6.entry.js +0 -2
- package/dist/affinda/p-e10c03b6.entry.js.map +0 -1
- package/dist/affinda/p-e2667603.entry.js +0 -2
- package/dist/affinda/p-e2667603.entry.js.map +0 -1
- package/dist/affinda/p-e678100f.entry.js +0 -2
- package/dist/affinda/p-e678100f.entry.js.map +0 -1
- package/dist/affinda/p-e8a91b15.entry.js +0 -2
- package/dist/affinda/p-e8a91b15.entry.js.map +0 -1
- package/dist/affinda/p-e9527b93.entry.js +0 -2
- package/dist/affinda/p-e9527b93.entry.js.map +0 -1
- package/dist/affinda/p-eb611fb5.entry.js +0 -2
- package/dist/affinda/p-eb611fb5.entry.js.map +0 -1
- package/dist/affinda/p-edb426e6.entry.js +0 -2
- package/dist/affinda/p-edb426e6.entry.js.map +0 -1
- package/dist/affinda/p-f38688c6.entry.js +0 -2
- package/dist/affinda/p-f38688c6.entry.js.map +0 -1
- package/dist/affinda/p-f47d0d2d.entry.js +0 -2
- package/dist/affinda/p-f47d0d2d.entry.js.map +0 -1
- package/dist/affinda/p-f49b41f9.entry.js +0 -2
- package/dist/affinda/p-f49b41f9.entry.js.map +0 -1
- package/dist/affinda/p-f5744d56.entry.js +0 -2
- package/dist/affinda/p-f5744d56.entry.js.map +0 -1
- package/dist/affinda/p-f6e1750e.entry.js +0 -2
- package/dist/affinda/p-f6e1750e.entry.js.map +0 -1
- package/dist/affinda/p-fad2d40b.entry.js +0 -2
- package/dist/affinda/p-fad2d40b.entry.js.map +0 -1
- package/dist/affinda/p-fc19f53c.entry.js +0 -2
- package/dist/affinda/p-fc19f53c.entry.js.map +0 -1
- package/dist/affinda/p-fd39a1c2.entry.js +0 -2
- package/dist/affinda/p-fd39a1c2.entry.js.map +0 -1
- package/dist/affinda/p-fe09a283.entry.js +0 -2
- package/dist/affinda/p-fe09a283.entry.js.map +0 -1
- package/dist/affinda/p-fee9359c.entry.js +0 -2
- package/dist/affinda/p-fee9359c.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-hero.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-numbered-stepper-item.entry.cjs.js.map +0 -1
- package/dist/cjs/af-numbered-stepper.entry.cjs.js.map +0 -1
- package/dist/cjs/af-paperclip-decoration.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-stat.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stats-row.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stepper-step.entry.cjs.js.map +0 -1
- package/dist/cjs/af-stepper.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-BuJz1C1M.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-hero/af-hero.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-numbered-stepper/af-numbered-stepper.js.map +0 -1
- package/dist/collection/components/af-numbered-stepper-item/af-numbered-stepper-item.js.map +0 -1
- package/dist/collection/components/af-paperclip-decoration/af-paperclip-decoration.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-stat/af-stat.js.map +0 -1
- package/dist/collection/components/af-stats-row/af-stats-row.js.map +0 -1
- package/dist/collection/components/af-stepper/af-stepper.js.map +0 -1
- package/dist/collection/components/af-stepper-step/af-stepper-step.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/collection/types.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-hero.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-numbered-stepper-item.js.map +0 -1
- package/dist/components/af-numbered-stepper.js.map +0 -1
- package/dist/components/af-paperclip-decoration.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-stat.js.map +0 -1
- package/dist/components/af-stats-row.js.map +0 -1
- package/dist/components/af-stepper-step.js.map +0 -1
- package/dist/components/af-stepper.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-B4bimVSM.js +0 -57
- package/dist/components/p-B4bimVSM.js.map +0 -1
- package/dist/components/p-B7J9U9if.js +0 -81
- package/dist/components/p-B7J9U9if.js.map +0 -1
- package/dist/components/p-BExjo6P2.js +0 -196
- package/dist/components/p-BExjo6P2.js.map +0 -1
- package/dist/components/p-B_r5b4JI.js +0 -70
- package/dist/components/p-B_r5b4JI.js.map +0 -1
- package/dist/components/p-BgQvXXuB.js +0 -108
- package/dist/components/p-BgQvXXuB.js.map +0 -1
- package/dist/components/p-BiSEOBg5.js +0 -48
- package/dist/components/p-BiSEOBg5.js.map +0 -1
- package/dist/components/p-BipyebXl.js +0 -50
- package/dist/components/p-BipyebXl.js.map +0 -1
- package/dist/components/p-Btpdr0Bi.js +0 -2416
- package/dist/components/p-Btpdr0Bi.js.map +0 -1
- package/dist/components/p-BwowgpiS.js +0 -52
- package/dist/components/p-BwowgpiS.js.map +0 -1
- package/dist/components/p-C05qWmXd.js +0 -59
- package/dist/components/p-C05qWmXd.js.map +0 -1
- package/dist/components/p-C1nX4HkM.js +0 -48
- package/dist/components/p-C1nX4HkM.js.map +0 -1
- package/dist/components/p-C8HmyE5-.js +0 -71
- package/dist/components/p-C8HmyE5-.js.map +0 -1
- package/dist/components/p-CMatO7AD.js +0 -372
- package/dist/components/p-CMatO7AD.js.map +0 -1
- package/dist/components/p-CNPKZ3ct.js +0 -55
- package/dist/components/p-CNPKZ3ct.js.map +0 -1
- package/dist/components/p-CSejCgwa.js +0 -89
- package/dist/components/p-CSejCgwa.js.map +0 -1
- package/dist/components/p-CTVS7dJ6.js +0 -62
- package/dist/components/p-CTVS7dJ6.js.map +0 -1
- package/dist/components/p-CeWN48Eq.js +0 -92
- package/dist/components/p-CeWN48Eq.js.map +0 -1
- package/dist/components/p-CixFE5Cu.js +0 -140
- package/dist/components/p-CixFE5Cu.js.map +0 -1
- package/dist/components/p-CkaL7yIW.js +0 -157
- package/dist/components/p-CkaL7yIW.js.map +0 -1
- package/dist/components/p-D5-m35gX.js +0 -44
- package/dist/components/p-D5-m35gX.js.map +0 -1
- package/dist/components/p-DMXuAjLo.js +0 -93
- package/dist/components/p-DMXuAjLo.js.map +0 -1
- package/dist/components/p-DPgWkfHr.js +0 -68
- package/dist/components/p-DPgWkfHr.js.map +0 -1
- package/dist/components/p-Dacy0GsN.js +0 -162
- package/dist/components/p-Dacy0GsN.js.map +0 -1
- package/dist/components/p-DrEl4PxE.js +0 -102
- package/dist/components/p-DrEl4PxE.js.map +0 -1
- package/dist/components/p-DrXw6vxx.js +0 -74
- package/dist/components/p-DrXw6vxx.js.map +0 -1
- package/dist/components/p-DxYqml-M.js +0 -94
- package/dist/components/p-DxYqml-M.js.map +0 -1
- package/dist/components/p-FV14KcoH.js +0 -45
- package/dist/components/p-FV14KcoH.js.map +0 -1
- package/dist/components/p-SGoxmRPn.js +0 -136
- package/dist/components/p-SGoxmRPn.js.map +0 -1
- package/dist/components/p-XmT5SQOF.js +0 -35
- package/dist/components/p-XmT5SQOF.js.map +0 -1
- package/dist/components/p-fLdNRQwR.js +0 -63
- package/dist/components/p-fLdNRQwR.js.map +0 -1
- package/dist/components/p-joRNg4Kk.js +0 -58
- package/dist/components/p-joRNg4Kk.js.map +0 -1
- package/dist/components/p-sIePTJnR.js +0 -51
- package/dist/components/p-sIePTJnR.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-hero.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-numbered-stepper-item.entry.js.map +0 -1
- package/dist/esm/af-numbered-stepper.entry.js.map +0 -1
- package/dist/esm/af-paperclip-decoration.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-stat.entry.js.map +0 -1
- package/dist/esm/af-stats-row.entry.js.map +0 -1
- package/dist/esm/af-stepper-step.entry.js.map +0 -1
- package/dist/esm/af-stepper.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-CYq0zyKH.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,H as e,h as i,c as t,t as r}from"./p-D1moXdEA.js";const o=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.shape="rounded",this.captionPosition="below",this.hasCaption=!1}componentWillLoad(){this.hasCaption=!!this.el.querySelector('[slot="caption"]')}render(){return i(t,{key:"4e201318d20091b908a257841d4d3772e9247b97"},i("figure",{key:"1eb9a29d5fec9ac6f056eeb9e40c241f129fbdb0",class:{"image-container":!0,[`image-container--${this.shape}`]:!0,"image-container--has-caption":this.hasCaption,[`image-container--caption-${this.captionPosition}`]:this.hasCaption}},i("div",{key:"6bcb912dccab5d938e53b96290b240cc9112416f",class:"image-wrapper"},i("img",{key:"b4270de0a5d3583df53e91597c6b2df7a4058d12",src:this.src,alt:this.alt,class:"image",loading:"lazy"}),i("div",{key:"005033a714297653abd7c798c7c1363e5a32ff3f",class:"image-border","aria-hidden":"true"}),this.hasCaption&&"overlay"===this.captionPosition&&i("div",{key:"281bb0e0ba6bc3833ca651968516f79820488989",class:"caption-overlay-gradient","aria-hidden":"true"})),this.hasCaption&&i("figcaption",{key:"6e53a84af8fb8f62ffc87515afa736520177d164",class:{caption:!0,[`caption--${this.captionPosition}`]:!0}},i("slot",{key:"d5bd48fcb1acf0d11946ccbaa4b3d5a5cc8b8555",name:"caption"}))))}get el(){return this}static get style(){return".sc-af-image-h{display:block;width:100%}.image-container.sc-af-image{margin:0;padding:0}.image-wrapper.sc-af-image{position:relative;overflow:hidden}.image-container--rounded.sc-af-image .image-wrapper.sc-af-image{border-radius:var(--radius-md, 12px)}.image-container--pill.sc-af-image .image-wrapper.sc-af-image{border-radius:9999px}.image-container--d-left.sc-af-image .image-wrapper.sc-af-image{border-radius:9999px 0 0 9999px}.image-container--d-right.sc-af-image .image-wrapper.sc-af-image{border-radius:0 9999px 9999px 0}.image-container--square.sc-af-image .image-wrapper.sc-af-image{border-radius:0}.image.sc-af-image{display:block;width:100%;height:auto;object-fit:cover}.image-border.sc-af-image{position:absolute;inset:0;box-shadow:inset 0 0 0 1px var(--af-background-border-subtle, rgba(0, 0, 0, 0.08));pointer-events:none;border-radius:inherit}.caption.sc-af-image{font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-size:14px;line-height:20px;color:var(--af-typography-body-subtle, #60767b)}.caption--below.sc-af-image{display:block;margin-top:var(--space-2, 8px);padding:0 var(--space-1, 4px)}.caption--overlay.sc-af-image{position:absolute;bottom:0;left:0;right:0;padding:var(--space-4, 16px) var(--space-3, 12px);color:var(--colour-brand-white, #ffffff);z-index:1}.caption-overlay-gradient.sc-af-image{position:absolute;bottom:0;left:0;right:0;height:80px;background:linear-gradient( to top, rgba(20, 52, 59, 0.7) 0%, rgba(20, 52, 59, 0.4) 50%, rgba(20, 52, 59, 0) 100% );pointer-events:none;border-radius:inherit}.image-container--caption-overlay.sc-af-image .image-wrapper.sc-af-image{position:relative}.image-container--caption-overlay.sc-af-image .caption--overlay.sc-af-image{position:absolute}@media (max-width: 480px){.caption.sc-af-image{font-size:13px;line-height:18px}.caption--overlay.sc-af-image{padding:var(--space-3, 12px) var(--space-2, 8px)}.caption-overlay-gradient.sc-af-image{height:60px}}"}},[262,"af-image",{src:[1],alt:[1],shape:[1],captionPosition:[1,"caption-position"]}]);function s(){"undefined"!=typeof customElements&&["af-image"].forEach((a=>{"af-image"===a&&(customElements.get(r(a))||customElements.define(r(a),o))}))}export{o as A,s as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,t as r,H as a,d as t,h as o,c as i}from"./p-D1moXdEA.js";const s=e(class e extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.afInput=t(this,"afInput"),this.afBlur=t(this,"afBlur"),this.afFocus=t(this,"afFocus"),this.afInfoClick=t(this,"afInfoClick"),this.value="",this.disabled=!1,this.required=!1,this.readonly=!1,this.showInfoIcon=!1,this.rows=4,this.resize="vertical",this.isFocused=!1,this.isHovered=!1,this.handleInput=e=>{this.value=e.target.value,this.afInput.emit({value:this.value})},this.handleFocus=()=>{this.isFocused=!0,this.afFocus.emit()},this.handleBlur=()=>{this.isFocused=!1,this.afBlur.emit()},this.handleMouseEnter=()=>{this.isHovered=!0},this.handleMouseLeave=()=>{this.isHovered=!1},this.handleInfoClick=e=>{e.preventDefault(),e.stopPropagation(),this.afInfoClick.emit()}}componentWillLoad(){"undefined"==typeof console||e.deprecationWarned||(e.deprecationWarned=!0,console.warn("[@affinda/wc] <af-textarea> is deprecated and will be removed in a future major release. Use <af-input multiline> instead — same props (label, description, placeholder, value, name, disabled, required, readonly, error, showInfoIcon, rows, resize, maxlength, minlength) and same rendered chrome. See @affinda/wc CHANGELOG for migration."))}render(){const e=!!this.error,r={"textarea-container":!0,disabled:this.disabled,error:e,focused:this.isFocused,hovered:this.isHovered&&!this.disabled&&!this.isFocused};return o(i,{key:"362cc1d8d9a12a1622a3a4368c1690af22242290"},o("div",{key:"2b5193878afd041a2404e05628c8a2a27f070dd4",class:{"textarea-wrapper":!0,disabled:this.disabled,error:e,focused:this.isFocused,hovered:this.isHovered&&!this.disabled&&!this.isFocused,populated:!!(this.value&&this.value.length>0)}},this.label&&o("div",{key:"a4786205092ce86aa5d2b13b2eefc068776bc73c",class:"label-row"},o("label",{key:"9f674738598a0d8cd6ff3ca12d2eef1b82c683ab",class:"label",htmlFor:"textarea"},this.label,this.required&&o("span",{key:"e65cfaf5de0806fdaee3fd69fa142dbe80092377",class:"required"},"*")),this.showInfoIcon&&o("button",{key:"b9c83365313296a885eced01f5e32d3880d0e6b6",type:"button",class:"info-icon",onClick:this.handleInfoClick,"aria-label":"More information"},o("svg",{key:"f27bd125dad6258d48b27dce04ee3c91a9e765dd",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"9bfaed8ee3d846caad4cf6841e3a9deb4a050686",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),o("path",{key:"0c733ab918ce62dac76ff223eb7a361e11b444f1",d:"M12 16V12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),o("path",{key:"9d2fd2885490c9563c48bdc40b988e6b6ed6d899",d:"M12 8H12.01",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))),o("slot",{key:"a488fc5ce906aa2c6d36e3d1c5c6dc20955dfa7e",name:"label-end"})),this.description&&o("p",{key:"2b27b3f5362d87d9eef7a2261d324b7db03dbd7c",class:"description"},this.description),o("div",{key:"f900a4a8d7231bc43c41a77c331e6c90f8772c67",class:r,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},o("textarea",{key:"f48df2967a6d72daa2b93c635882c72021af33e7",ref:e=>this.textareaEl=e??void 0,id:"textarea",class:"textarea",name:this.name,value:this.value,placeholder:this.placeholder,disabled:this.disabled,required:this.required,readonly:this.readonly,rows:this.rows,maxlength:this.maxlength,minlength:this.minlength,style:{resize:this.resize},"aria-invalid":e?"true":void 0,"aria-describedby":e?"error-message":this.description?"description":void 0,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur})),e&&o("div",{key:"8793024cd9c7dec0a19a1acd789ecd8ed57f7168",class:"error-row",id:"error-message"},o("span",{key:"dc457887b83f8c9fea7daca0bf5a0690474c4f49",class:"error-icon"},o("svg",{key:"d8c6d985c7c219419072943adab3819217fb1ae4",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o("path",{key:"75265f2e70dd27201b09033b4b5100df51d876f5",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),o("path",{key:"b4225c6f1ae0e3246ad143fe6f2157daa615fcb6",d:"M12 16V12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),o("path",{key:"48735f9ef113826e43488e0491d34a3b549924e5",d:"M12 8H12.01",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))),o("span",{key:"6a0a7e436977e6ecc37dd64db30aad7eb189e166",class:"error-text"},this.error))))}static get style(){return":host{display:block;width:100%}.textarea-wrapper{display:flex;flex-direction:column;gap:var(--sds-size-space-200, 8px);width:100%}.label-row{display:flex;align-items:center;gap:12px}.label{flex:1;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-book, 500);font-size:16px;line-height:24px;color:var(--af-input-label, var(--af-typography-body-dark, #14343b));cursor:default}.required{color:var(--af-input-error, var(--colour-error, #be292a));margin-left:2px}.info-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;background:none;cursor:pointer;color:var(--af-input-icon, var(--af-background-icon-default, #14343b));flex-shrink:0}.info-icon svg{width:20px;height:20px}.info-icon:hover{opacity:0.7}.info-icon:focus-visible{outline:2px solid var(--af-input-focus-ring, var(--af-typography-body-dark, #14343b));outline-offset:2px;border-radius:4px}.description{font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-regular, 400);font-size:16px;line-height:24px;color:var(--af-input-description, var(--af-typography-body-default, #2b484f));margin:0}.textarea-container{display:flex;background:var(--af-input-bg, #ffffff);border:1px solid var(--af-input-border, var(--af-background-border-default, #d1ddda));border-radius:var(--radii-input, 8px);transition:all 0.15s ease;box-sizing:border-box;overflow:hidden}.textarea-container.hovered{background:var(--af-input-bg-hover, var(--af-background-base-hover, #f4f7f6));border-color:var(--af-input-border-hover, var(--af-background-border-heavy, #c6d5d1))}.textarea-container.focused{background:var(--af-input-bg, #ffffff);border-color:var(--af-input-border-active, var(--af-typography-body-dark, #14343b));box-shadow:0 0 0 4px var(--af-background-base, #ffffff), 0 0 0 5px var(--af-input-focus-ring, var(--af-typography-body-dark, #14343b))}.textarea-container.error{border-color:var(--af-input-border-error, var(--colour-error, #be292a))}.textarea-container.disabled{background:var(--af-input-bg-disabled, var(--af-background-level-1, #e8eeed));border-color:var(--af-input-border, var(--af-background-border-default, #d1ddda));cursor:not-allowed}.textarea{flex:1;min-width:0;min-height:108px;padding:12px 16px;border:none;background:transparent;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-regular, 400);font-size:16px;line-height:24px;color:var(--af-input-text, var(--af-typography-body-dark, #14343b));outline:none;resize:vertical}.textarea::placeholder{color:var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b));opacity:1}.textarea:disabled{cursor:not-allowed;color:var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b));resize:none}.textarea:disabled::placeholder{color:var(--af-input-placeholder, var(--af-typography-body-subtle, #60767b))}.error-row{display:flex;align-items:center;gap:12px}.error-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:var(--af-input-error, var(--colour-error, #be292a))}.error-icon svg{width:20px;height:20px}.error-text{flex:1;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-regular, 400);font-size:16px;line-height:24px;color:var(--af-input-error, var(--colour-error, #be292a))}"}},[257,"af-textarea",{label:[1],description:[1],placeholder:[1],value:[1025],name:[1],disabled:[516],required:[4],readonly:[4],error:[1],showInfoIcon:[4,"show-info-icon"],rows:[2],maxlength:[2],minlength:[2],resize:[1],isFocused:[32],isHovered:[32]}]);function d(){"undefined"!=typeof customElements&&["af-textarea"].forEach((e=>{"af-textarea"===e&&(customElements.get(r(e))||customElements.define(r(e),s))}))}s.deprecationWarned=!1;export{s as A,d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as r,H as a,h as t,c as o,t as n}from"./p-D1moXdEA.js";const i=r(class extends a{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.variant="primary",this.size="medium",this.disabled=!1,this.type="button"}render(){const r={"icon-button":!0,[`variant-${this.variant}`]:!0,[`size-${this.size}`]:!0,disabled:this.disabled},a=t("span",{class:"icon"},t("slot",null));return t(o,null,this.href&&!this.disabled?t("a",{href:this.href,class:r,"aria-label":this.ariaLabel},a):t("button",{type:this.type,disabled:this.disabled,class:r,"aria-label":this.ariaLabel},a))}static get style(){return':host{display:inline-block}:host([variant="secondary"]){color:var(--af-button-secondary-icon, var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343B)))}:host([variant="primary"]){color:var(--af-button-primary-icon, var(--colour-brand-inkwell, #14343B))}:host([variant="tertiary"]){color:var(--af-button-ghost-icon, var(--colour-brand-inkwell, #14343B))}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;transition:background-color var(--motion-duration-base, 200ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1)), border-color var(--motion-duration-base, 200ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1)), color var(--motion-duration-base, 200ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1)), opacity var(--motion-duration-base, 200ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1)), transform var(--motion-duration-fast, 150ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1));border:1px solid transparent;box-sizing:border-box;flex-shrink:0;text-decoration:none;padding:0;will-change:transform}@media (prefers-reduced-motion: reduce){.icon-button{transition-duration:0.01ms}}.size-large{width:72px;height:72px;padding:24px}.size-large .icon{width:24px;height:24px}.size-medium{width:48px;height:48px;padding:12px}.size-medium .icon{width:24px;height:24px}.size-small{width:36px;height:36px;padding:8px}.size-small .icon{width:20px;height:20px}.icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.icon ::slotted(*){width:100%;height:100%;color:inherit}.variant-primary{background:var(--af-button-primary-bg, var(--colour-brand-ice, #A6FFFB));border-color:var(--af-button-primary-stroke, var(--colour-brand-inkwell, #14343B));color:var(--af-button-primary-text, var(--colour-brand-inkwell, #14343B))}.variant-primary:hover:not(.disabled){background:var(--af-button-primary-bg-hover, #95e6e2)}.variant-primary:active:not(.disabled){background:var(--af-button-primary-bg-hover, #95e6e2);transform:translateY(1px)}.variant-secondary{background:var(--af-button-secondary-bg, transparent);border-color:var(--af-button-secondary-stroke, currentColor);color:var(--af-button-secondary-text, var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343B)))}.variant-secondary:hover:not(.disabled){background:var(--af-button-secondary-bg-hover, rgba(128, 128, 128, 0.1))}.variant-secondary:active:not(.disabled){background:var(--af-button-secondary-bg-hover, rgba(128, 128, 128, 0.1));transform:translateY(1px)}.variant-tertiary{background:transparent;border-color:transparent;color:var(--af-button-ghost-text, var(--colour-brand-inkwell, #14343B))}.variant-tertiary:hover:not(.disabled){opacity:0.8}.variant-tertiary:active:not(.disabled){opacity:0.6}.disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}button.icon-button{background:none;border:none;padding:0;font:inherit;color:inherit;cursor:pointer}button.icon-button.variant-primary{background:var(--af-button-primary-bg, var(--colour-brand-ice, #A6FFFB));border:1px solid var(--af-button-primary-stroke, var(--colour-brand-inkwell, #14343B))}button.icon-button.variant-secondary{background:var(--af-button-secondary-bg, transparent);border:1px solid var(--af-button-secondary-stroke, currentColor);color:var(--af-button-secondary-text, var(--af-typography-body-dark, var(--colour-brand-inkwell, #14343B)))}button.icon-button.variant-tertiary{background:transparent;border:1px solid transparent}'}},[257,"af-icon-button",{variant:[513],size:[1],disabled:[4],href:[1],type:[1],ariaLabel:[1,"aria-label"]}]);function e(){"undefined"!=typeof customElements&&["af-icon-button"].forEach((r=>{"af-icon-button"===r&&(customElements.get(n(r))||customElements.define(n(r),i))}))}export{i as A,e as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as o,d as a,h as r,c as t,t as i}from"./p-D1moXdEA.js";const s=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.afChange=a(this,"afChange"),this.checked=!1,this.disabled=!1,this.handleClick=()=>{this.disabled||this.checked||(this.name&&document.querySelectorAll(`af-radio[name="${this.name}"]`).forEach((e=>{e!==this.el&&e.checked&&(e.checked=!1)})),this.checked=!0,this.afChange.emit({checked:this.checked,value:this.value,name:this.name}))}}render(){const e={control:!0,checked:this.checked,disabled:this.disabled};return r(t,{key:"ea05800b0695e8cae7caf4aeb8d031c8ac3350dd"},r("label",{key:"96eaf81e111843a237b9beca9a28e9ab9034bcd8",class:{radio:!0,disabled:this.disabled},onClick:this.handleClick},r("input",{key:"ec299f984e570e0a04c6fb97ec464e5fccd35e8d",type:"radio",class:"input",checked:this.checked,disabled:this.disabled,name:this.name,value:this.value,tabindex:this.disabled?-1:0}),r("span",{key:"0e430ede39bb2abb0868023b82173532bf5e27b1",class:e},r("span",{key:"62753bce135b02a504e0f4e1428a23571cc30c16",class:"dot"})),r("span",{key:"d7fe1ebf41d9a56e02adf1fe3f1d1e3cbfa3ecbb",class:"label"},r("slot",{key:"ceed1e2851b07a0938dc314c32454c811494af07"}))))}get el(){return this}static get style(){return":host{display:inline-block}.radio{display:inline-flex;align-items:center;gap:12px;cursor:pointer;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-size:14px;line-height:20px;color:var(--af-form-control-label, var(--colour-brand-inkwell, #14343b));user-select:none}.radio.disabled{cursor:not-allowed;opacity:0.5}.input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.control{position:relative;flex-shrink:0;width:20px;height:20px;border-radius:var(--radii-radio, 9999px);border:none;box-shadow:inset 0 0 0 1px var(--af-form-control-stroke, var(--colour-mistgreen-500, #d0d6d8));background:var(--af-form-control-bg, var(--colour-brand-white, #ffffff));transition:all 0.15s ease;box-sizing:border-box}.control.checked{background:var(--af-form-control-bg-checked, var(--colour-brand-inkwell, #14343b));box-shadow:none}.control.disabled{background:var(--af-form-control-bg-disabled, var(--colour-mistgreen-200, #e8ebeb));box-shadow:inset 0 0 0 1px var(--af-form-control-stroke-disabled, var(--colour-mistgreen-500, #d0d6d8))}.control.checked.disabled{background:var(--af-form-control-bg-checked-disabled, var(--colour-inkwell-350, #708380));box-shadow:none}.radio:not(.disabled):hover .control:not(.checked){box-shadow:inset 0 0 0 1px var(--af-form-control-stroke-hover, var(--colour-brand-inkwell, #14343b))}.input:focus-visible+.control{outline:none;box-shadow:inset 0 0 0 1px var(--af-form-control-stroke, var(--colour-mistgreen-500, #d0d6d8)), 0 0 0 4px var(--af-background-base, var(--colour-brand-white, #ffffff)), 0 0 0 5px var(--af-form-control-stroke-hover, var(--colour-brand-inkwell, #14343b))}.input:focus-visible+.control.checked{box-shadow:0 0 0 4px var(--af-background-base, var(--colour-brand-white, #ffffff)), 0 0 0 5px var(--af-form-control-stroke-hover, var(--colour-brand-inkwell, #14343b))}.dot{position:absolute;inset:0;margin:auto;width:8px;height:8px;border-radius:50%;background:var(--af-form-control-icon, var(--colour-brand-white, #ffffff));opacity:0;transition:opacity 0.15s ease}.control.checked .dot{opacity:1}.label{display:flex;align-items:center;min-height:24px}.label:empty{display:none}"}},[257,"af-radio",{checked:[1540],disabled:[516],name:[513],value:[1]}]);function n(){"undefined"!=typeof customElements&&["af-radio"].forEach((e=>{"af-radio"===e&&(customElements.get(i(e))||customElements.define(i(e),s))}))}export{s as A,n as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as o,h as a,c as r,t as i}from"./p-D1moXdEA.js";import{d as t}from"./p-BG8SGO9l.js";import{d as s}from"./p-ClOQFY2W.js";import{d as h}from"./p-D6fHOYRF.js";const n={"inkwell-photo":"inkwell","inkwell-illustration":"inkwell","inkwell-centered":"inkwell","soft-clay-illustration":"soft-clay","mist-green-illustration":"mist-green"},l=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.variant="inkwell-photo",this.heading="",this.description="",this.topPad="default",this.maxWidth=620,this.maskImage=!0}get resolvedFloatNavbar(){return"boolean"==typeof this.floatNavbar?this.floatNavbar:"inkwell-photo"===this.variant||"inkwell-illustration"===this.variant||"inkwell-centered"===this.variant}get theme(){return n[this.variant]}connectedCallback(){this.resolvedFloatNavbar&&"undefined"!=typeof document&&document.body.setAttribute("data-af-hero-float-navbar","true")}disconnectedCallback(){"undefined"==typeof document||document.querySelector("af-hero")||document.body.removeAttribute("data-af-hero-float-navbar")}renderCopy(){const e="inkwell-centered"===this.variant?"center":"left";return a("div",{class:"hero__copy"},a("div",{class:"hero__badge"},a("slot",{name:"badge"})),a("af-typography-lockup",{"heading-size":"1","text-alignment":e,"max-width":String(this.maxWidth)},this.heading?a("h1",null,this.heading):a("slot",null),this.description?a("span",{slot:"description"},this.description):a("slot",{name:"description",slot:"description"})),a("div",{class:"hero__buttons"},a("slot",{name:"buttons"})))}renderPhoto(){return a("div",{class:{hero__image:!0,"hero__image--masked":this.maskImage}},a("slot",{name:"image"}))}renderIllustration(){return a("div",{class:"hero__illustration"},a("slot",{name:"illustration"}))}render(){const e=this.variant,o="inkwell-centered"===e,i="inkwell-photo"===e,t="inkwell-illustration"===e||"soft-clay-illustration"===e||"mist-green-illustration"===e;return a(r,{key:"c40393e3a50d1beecbe83804a1407a51d46e82ce",class:{[`hero--${e}`]:!0,[`hero--pad-${this.topPad}`]:!0,[`hero--theme-${this.theme}`]:!0,"hero--float-navbar":this.resolvedFloatNavbar}},a("af-section",{key:"77ce170dadae5685fd58ccd3e9b679099ed7068f",theme:this.theme,padding:"none",container:!1,class:"hero__section"},o&&a("div",{key:"e1f70ac7c9f4f708a3ac033aaba9c61aa1c5ca58",class:"hero__paperclip","aria-hidden":"true"},a("slot",{key:"4cc7a2ca78151e4190e81af45ad9989e28c667b1",name:"paperclip"})),a("af-container",{key:"c3e00acd79776207246290a7b3d5b8bb7b776791",class:"hero__inner"},o?this.renderCopy():a("div",{class:"hero__grid"},this.renderCopy(),i&&this.renderPhoto(),t&&this.renderIllustration())),a("div",{key:"0cdd9f9071e3670a6d4b4a6082abe9252750d3b5",class:"hero__logos"},a("slot",{key:"8b53c58048c404b6d057f0e56d1ec0402ffd6e00",name:"logos-below"}))))}get el(){return this}static get style(){return".sc-af-hero-h{display:block;position:relative;width:100%;--af-hero-image-lift:-260px;--af-hero-image-min-height:360px}.hero__section.sc-af-hero{position:relative;overflow:hidden}.hero__paperclip.sc-af-hero{position:absolute;top:50%;right:0;transform:translateY(-50%);pointer-events:none;z-index:0;width:520px;height:600px}@media (max-width: 991px){.hero__paperclip.sc-af-hero{width:380px;height:437px}}@media (max-width: 767px){.hero__paperclip.sc-af-hero{display:none}}.hero__inner.sc-af-hero{position:relative;z-index:1;padding-bottom:40px}.hero--pad-default.sc-af-hero-h .hero__inner.sc-af-hero{padding-top:124px}.hero--pad-loose.sc-af-hero-h .hero__inner.sc-af-hero{padding-top:164px}.hero--inkwell-centered.hero--pad-default.sc-af-hero-h .hero__inner.sc-af-hero{padding-top:180px}.hero__grid.sc-af-hero{display:grid;grid-template-columns:5fr 7fr;gap:40px;align-items:center}.hero--soft-clay-illustration.sc-af-hero-h .hero__grid.sc-af-hero,.hero--mist-green-illustration.sc-af-hero-h .hero__grid.sc-af-hero{grid-template-columns:1fr auto;gap:48px}.hero--inkwell-illustration.sc-af-hero-h .hero__grid.sc-af-hero{grid-template-columns:1fr 1fr}.hero__copy.sc-af-hero{padding-left:16px}.hero--inkwell-photo.hero--pad-loose.sc-af-hero-h .hero__copy.sc-af-hero{padding-bottom:120px}.hero--inkwell-centered.sc-af-hero-h .hero__copy.sc-af-hero{padding-left:0;text-align:center}.hero__badge.sc-af-hero:not(:has(*)){display:none}.hero__badge.sc-af-hero:has(*){margin-bottom:16px}.hero__copy.sc-af-hero-s>[slot='badge'],.hero__copy .sc-af-hero-s>[slot='badge']{display:inline-block}.hero__buttons.sc-af-hero{margin-top:32px}.hero__buttons.sc-af-hero:empty{display:none}.hero--inkwell-centered.sc-af-hero-h .hero__buttons.sc-af-hero{display:flex;justify-content:center}.sc-af-hero-h{--af-hero-blob-mask:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3NDEgOTQwIj48cGF0aCBkPSJNMTcwLjA2MyAxODEuOTQ1QzIzNC4xNTYgMzAuOTUxNCA0MDguNTE4IC0zOS40OTU1IDU1OS41MTIgMjQuNTk3NUM3MTAuNTA2IDg4LjY5MDQgNzgwLjk1MiAyNjMuMDUzIDcxNi44NTkgNDE0LjA0Nkw1NzAuODQ3IDc1OC4wMzFDNTA2Ljc1NCA5MDkuMDI0IDMzMi4zOTIgOTc5LjQ3MSAxODEuMzk4IDkxNS4zNzhDMzAuNDA0NSA4NTEuMjg1IC00MC4wNDI0IDY3Ni45MjMgMjQuMDUwNiA1MjUuOTI5TDE3MC4wNjMgMTgxLjk0NVoiIGZpbGw9IiMwMDAiLz48L3N2Zz4=');--af-hero-blob-mask-mobile:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1024 768\"><path fill=\"%23000\" d=\"M1024 0H384A384 384 0 0 0 384 768H1024V0Z\"/></svg>')}.hero__image.sc-af-hero{min-height:var(--af-hero-image-min-height);overflow:visible;margin-top:var(--af-hero-image-lift);position:relative;z-index:1}.hero__image--masked.sc-af-hero-s>img,.hero__image--masked .sc-af-hero-s>img,.hero__image--masked.sc-af-hero-s>picture img,.hero__image--masked .sc-af-hero-s>picture img,.hero__image--masked.sc-af-hero-s>.af-hero-image,.hero__image--masked .sc-af-hero-s>.af-hero-image{display:block;width:100%;height:auto;-webkit-mask-image:var(--af-hero-blob-mask);mask-image:var(--af-hero-blob-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;mask-mode:alpha}.hero__image--masked.sc-af-hero img.sc-af-hero{-webkit-mask-image:var(--af-hero-blob-mask);mask-image:var(--af-hero-blob-mask);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;mask-mode:alpha}.hero__illustration.sc-af-hero{flex:0 0 auto;width:100%;max-width:432px;line-height:0;justify-self:end}.hero__illustration.sc-af-hero-s>svg,.hero__illustration .sc-af-hero-s>svg,.hero__illustration.sc-af-hero-s>img,.hero__illustration .sc-af-hero-s>img{width:100%;height:auto;display:block;border-radius:16px}.hero--inkwell-illustration.sc-af-hero-h .hero__illustration.sc-af-hero{max-width:540px}.hero__logos.sc-af-hero{position:relative;z-index:2}.hero__logos.sc-af-hero:not(:has(*)){display:none}.hero--inkwell-photo.sc-af-hero-h .hero__logos.sc-af-hero:has(*){margin-top:-240px;padding-top:48px;padding-bottom:48px;background:var(--af-background-base, var(--colour-brand-inkwell, #14343b));border-top:1px solid var(--af-background-border-subtle, var(--colour-inkwell-450, #203e45))}@media (max-width: 991px){.hero--pad-default.sc-af-hero-h .hero__inner.sc-af-hero,.hero--pad-loose.sc-af-hero-h .hero__inner.sc-af-hero{padding-top:112px}.hero--inkwell-centered.hero--pad-default.sc-af-hero-h .hero__inner.sc-af-hero{padding-top:144px}.hero__grid.sc-af-hero{grid-template-columns:1fr;gap:32px}.hero--soft-clay-illustration.sc-af-hero-h .hero__grid.sc-af-hero,.hero--mist-green-illustration.sc-af-hero-h .hero__grid.sc-af-hero,.hero--inkwell-illustration.sc-af-hero-h .hero__grid.sc-af-hero{grid-template-columns:1fr}.hero__copy.sc-af-hero{padding-left:0;padding-bottom:0}.hero__illustration.sc-af-hero{max-width:360px;margin-inline:auto;justify-self:center}.hero__image.sc-af-hero{margin-top:0;min-height:auto}.sc-af-hero-h.hero--inkwell-photo .hero__image--masked.sc-af-hero-s>img,.hero__image--masked .sc-af-hero-s>img,.hero--inkwell-photo.sc-af-hero-h .hero__image--masked.sc-af-hero img.sc-af-hero{-webkit-mask-image:var(--af-hero-blob-mask-mobile);mask-image:var(--af-hero-blob-mask-mobile)}.hero--inkwell-photo.sc-af-hero-h .hero__logos.sc-af-hero:has(*){margin-top:24px;padding-top:32px;padding-bottom:32px;background:transparent;border-top:none}}"}},[262,"af-hero",{variant:[513],heading:[1],description:[1],floatNavbar:[516,"float-navbar"],topPad:[1,"top-pad"],maxWidth:[2,"max-width"],maskImage:[4,"mask-image"]}]);function c(){"undefined"!=typeof customElements&&["af-hero","af-container","af-section","af-typography-lockup"].forEach((e=>{switch(e){case"af-hero":customElements.get(i(e))||customElements.define(i(e),l);break;case"af-container":customElements.get(i(e))||t();break;case"af-section":customElements.get(i(e))||s();break;case"af-typography-lockup":customElements.get(i(e))||h()}}))}export{l as A,c as d}
|
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVG path and shape generators for chart elements.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Generates a rounded rectangle path for bar charts.
|
|
6
|
+
*
|
|
7
|
+
* @param x - X position (left edge)
|
|
8
|
+
* @param y - Y position (top edge)
|
|
9
|
+
* @param width - Rectangle width
|
|
10
|
+
* @param height - Rectangle height
|
|
11
|
+
* @param radius - Corner radius (applied to top corners for vertical bars)
|
|
12
|
+
* @param orientation - 'vertical' rounds top, 'horizontal' rounds right
|
|
13
|
+
* @returns SVG path d attribute string
|
|
14
|
+
*/
|
|
15
|
+
function barPath(x, y, width, height, radius = 0, orientation = 'vertical') {
|
|
16
|
+
const r = Math.min(radius, width / 2, height / 2);
|
|
17
|
+
if (r <= 0) {
|
|
18
|
+
return `M${x},${y} h${width} v${height} h${-width} Z`;
|
|
19
|
+
}
|
|
20
|
+
if (orientation === 'vertical') {
|
|
21
|
+
// Round top corners only
|
|
22
|
+
return [
|
|
23
|
+
`M${x},${y + r}`,
|
|
24
|
+
`Q${x},${y} ${x + r},${y}`,
|
|
25
|
+
`L${x + width - r},${y}`,
|
|
26
|
+
`Q${x + width},${y} ${x + width},${y + r}`,
|
|
27
|
+
`L${x + width},${y + height}`,
|
|
28
|
+
`L${x},${y + height}`,
|
|
29
|
+
'Z',
|
|
30
|
+
].join(' ');
|
|
31
|
+
}
|
|
32
|
+
// Round right corners only (horizontal bars)
|
|
33
|
+
return [
|
|
34
|
+
`M${x},${y}`,
|
|
35
|
+
`L${x + width - r},${y}`,
|
|
36
|
+
`Q${x + width},${y} ${x + width},${y + r}`,
|
|
37
|
+
`L${x + width},${y + height - r}`,
|
|
38
|
+
`Q${x + width},${y + height} ${x + width - r},${y + height}`,
|
|
39
|
+
`L${x},${y + height}`,
|
|
40
|
+
'Z',
|
|
41
|
+
].join(' ');
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Generates a line path from an array of points.
|
|
45
|
+
*
|
|
46
|
+
* @param points - Array of {x, y} coordinates
|
|
47
|
+
* @param curve - Interpolation type ('linear' or 'smooth')
|
|
48
|
+
* @returns SVG path d attribute string
|
|
49
|
+
*/
|
|
50
|
+
function linePath(points, curve = 'linear') {
|
|
51
|
+
if (points.length === 0)
|
|
52
|
+
return '';
|
|
53
|
+
if (points.length === 1)
|
|
54
|
+
return `M${points[0].x},${points[0].y}`;
|
|
55
|
+
if (curve === 'linear') {
|
|
56
|
+
const [first, ...rest] = points;
|
|
57
|
+
return `M${first.x},${first.y} ${rest.map((p) => `L${p.x},${p.y}`).join(' ')}`;
|
|
58
|
+
}
|
|
59
|
+
// Smooth curve using cubic bezier with Catmull-Rom-like control points
|
|
60
|
+
return smoothLinePath(points);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Generates a smooth curve path using cubic bezier segments.
|
|
64
|
+
* Uses Catmull-Rom-like control point calculation for natural curves.
|
|
65
|
+
*/
|
|
66
|
+
function smoothLinePath(points) {
|
|
67
|
+
if (points.length < 2)
|
|
68
|
+
return '';
|
|
69
|
+
const tension = 0.3; // Controls curve tightness (0 = sharp, 1 = very smooth)
|
|
70
|
+
const segments = [`M${points[0].x},${points[0].y}`];
|
|
71
|
+
for (let i = 0; i < points.length - 1; i++) {
|
|
72
|
+
const p0 = points[Math.max(0, i - 1)];
|
|
73
|
+
const p1 = points[i];
|
|
74
|
+
const p2 = points[i + 1];
|
|
75
|
+
const p3 = points[Math.min(points.length - 1, i + 2)];
|
|
76
|
+
// Calculate control points
|
|
77
|
+
const cp1x = p1.x + (p2.x - p0.x) * tension;
|
|
78
|
+
const cp1y = p1.y + (p2.y - p0.y) * tension;
|
|
79
|
+
const cp2x = p2.x - (p3.x - p1.x) * tension;
|
|
80
|
+
const cp2y = p2.y - (p3.y - p1.y) * tension;
|
|
81
|
+
segments.push(`C${cp1x},${cp1y} ${cp2x},${cp2y} ${p2.x},${p2.y}`);
|
|
82
|
+
}
|
|
83
|
+
return segments.join(' ');
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Generates an area path (filled region under a line).
|
|
87
|
+
*
|
|
88
|
+
* @param points - Array of {x, y} coordinates for the top edge
|
|
89
|
+
* @param baseline - Y position of the bottom edge
|
|
90
|
+
* @param curve - Interpolation type
|
|
91
|
+
* @returns SVG path d attribute string
|
|
92
|
+
*/
|
|
93
|
+
function areaPath(points, baseline, curve = 'linear') {
|
|
94
|
+
if (points.length === 0)
|
|
95
|
+
return '';
|
|
96
|
+
const topPath = linePath(points, curve);
|
|
97
|
+
const firstPoint = points[0];
|
|
98
|
+
const lastPoint = points[points.length - 1];
|
|
99
|
+
// Close the path along the baseline
|
|
100
|
+
return `${topPath} L${lastPoint.x},${baseline} L${firstPoint.x},${baseline} Z`;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Generates stacked area paths where each series sits on top of the previous.
|
|
104
|
+
*
|
|
105
|
+
* @param seriesPoints - Array of point arrays, one per series
|
|
106
|
+
* @param baseline - Y position of the initial baseline
|
|
107
|
+
* @param curve - Interpolation type
|
|
108
|
+
* @returns Array of path strings, one per series
|
|
109
|
+
*/
|
|
110
|
+
function stackedAreaPaths(seriesPoints, baseline, curve = 'linear') {
|
|
111
|
+
if (seriesPoints.length === 0)
|
|
112
|
+
return [];
|
|
113
|
+
const paths = [];
|
|
114
|
+
let previousBottom = seriesPoints[0].map((p) => ({ x: p.x, y: baseline }));
|
|
115
|
+
for (const topPoints of seriesPoints) {
|
|
116
|
+
// Build path: top line, then bottom line in reverse
|
|
117
|
+
const topPath = linePath(topPoints, curve);
|
|
118
|
+
const bottomPath = linePath([...previousBottom].reverse(), curve).replace('M', 'L');
|
|
119
|
+
paths.push(`${topPath} ${bottomPath} Z`);
|
|
120
|
+
// This series top becomes next series bottom
|
|
121
|
+
previousBottom = topPoints;
|
|
122
|
+
}
|
|
123
|
+
return paths;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Generates an arc path for pie/donut chart segments.
|
|
127
|
+
*
|
|
128
|
+
* @param cx - Center X
|
|
129
|
+
* @param cy - Center Y
|
|
130
|
+
* @param outerRadius - Outer radius
|
|
131
|
+
* @param innerRadius - Inner radius (0 for pie, >0 for donut)
|
|
132
|
+
* @param startAngle - Start angle in radians
|
|
133
|
+
* @param endAngle - End angle in radians
|
|
134
|
+
* @returns SVG path d attribute string
|
|
135
|
+
*/
|
|
136
|
+
function arcPath(cx, cy, outerRadius, innerRadius, startAngle, endAngle) {
|
|
137
|
+
const largeArc = endAngle - startAngle > Math.PI ? 1 : 0;
|
|
138
|
+
// Outer arc points
|
|
139
|
+
const outerStartX = cx + outerRadius * Math.cos(startAngle);
|
|
140
|
+
const outerStartY = cy + outerRadius * Math.sin(startAngle);
|
|
141
|
+
const outerEndX = cx + outerRadius * Math.cos(endAngle);
|
|
142
|
+
const outerEndY = cy + outerRadius * Math.sin(endAngle);
|
|
143
|
+
{
|
|
144
|
+
// Pie slice (no hole)
|
|
145
|
+
return [
|
|
146
|
+
`M${cx},${cy}`,
|
|
147
|
+
`L${outerStartX},${outerStartY}`,
|
|
148
|
+
`A${outerRadius},${outerRadius} 0 ${largeArc} 1 ${outerEndX},${outerEndY}`,
|
|
149
|
+
'Z',
|
|
150
|
+
].join(' ');
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Computes arc segments for pie/donut chart data.
|
|
155
|
+
*
|
|
156
|
+
* @param values - Array of numeric values
|
|
157
|
+
* @param startAngle - Starting angle in radians (default: -π/2 = 12 o'clock)
|
|
158
|
+
* @returns Array of {startAngle, endAngle, value, percentage} for each segment
|
|
159
|
+
*/
|
|
160
|
+
function computeArcs(values, startAngle = -Math.PI / 2) {
|
|
161
|
+
const total = values.reduce((sum, v) => sum + Math.max(0, v), 0);
|
|
162
|
+
if (total === 0) {
|
|
163
|
+
return values.map(() => ({
|
|
164
|
+
startAngle: 0,
|
|
165
|
+
endAngle: 0,
|
|
166
|
+
value: 0,
|
|
167
|
+
percentage: 0,
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
const arcs = [];
|
|
171
|
+
let currentAngle = startAngle;
|
|
172
|
+
for (const value of values) {
|
|
173
|
+
const percentage = Math.max(0, value) / total;
|
|
174
|
+
const sweep = percentage * 2 * Math.PI;
|
|
175
|
+
arcs.push({
|
|
176
|
+
startAngle: currentAngle,
|
|
177
|
+
endAngle: currentAngle + sweep,
|
|
178
|
+
value,
|
|
179
|
+
percentage,
|
|
180
|
+
});
|
|
181
|
+
currentAngle += sweep;
|
|
182
|
+
}
|
|
183
|
+
return arcs;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Generates grid line paths for the chart background.
|
|
187
|
+
*
|
|
188
|
+
* @param ticks - Array of tick positions
|
|
189
|
+
* @param orientation - 'horizontal' for y-axis ticks, 'vertical' for x-axis
|
|
190
|
+
* @param bounds - Chart bounds {x, y, width, height}
|
|
191
|
+
* @returns Array of path strings for each grid line
|
|
192
|
+
*/
|
|
193
|
+
function gridLinePaths(ticks, orientation, bounds) {
|
|
194
|
+
if (orientation === 'horizontal') {
|
|
195
|
+
return ticks.map((y) => `M${bounds.x},${y} L${bounds.x + bounds.width},${y}`);
|
|
196
|
+
}
|
|
197
|
+
return ticks.map((x) => `M${x},${bounds.y} L${x},${bounds.y + bounds.height}`);
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Computes the centroid of an arc (for label positioning).
|
|
201
|
+
*
|
|
202
|
+
* @param cx - Center X
|
|
203
|
+
* @param cy - Center Y
|
|
204
|
+
* @param radius - Radius at which to place the centroid
|
|
205
|
+
* @param startAngle - Start angle in radians
|
|
206
|
+
* @param endAngle - End angle in radians
|
|
207
|
+
* @returns {x, y} coordinates of the centroid
|
|
208
|
+
*/
|
|
209
|
+
function arcCentroid(cx, cy, radius, startAngle, endAngle) {
|
|
210
|
+
const midAngle = (startAngle + endAngle) / 2;
|
|
211
|
+
return {
|
|
212
|
+
x: cx + radius * Math.cos(midAngle),
|
|
213
|
+
y: cy + radius * Math.sin(midAngle),
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Accessibility utilities for chart components.
|
|
219
|
+
* Generates ARIA attributes, screen reader descriptions, and hidden data tables.
|
|
220
|
+
*/
|
|
221
|
+
/**
|
|
222
|
+
* Generates an accessible description for a chart based on its type and data.
|
|
223
|
+
*
|
|
224
|
+
* @param type - Chart type (bar, line, pie, area)
|
|
225
|
+
* @param data - Chart data points
|
|
226
|
+
* @param title - Optional chart title
|
|
227
|
+
* @returns Descriptive text for screen readers
|
|
228
|
+
*/
|
|
229
|
+
function generateChartDescription(type, data, title) {
|
|
230
|
+
const chartName = `${capitalizeFirst(type)} chart`;
|
|
231
|
+
if (data.length === 0) {
|
|
232
|
+
return `${chartName} with no data.`;
|
|
233
|
+
}
|
|
234
|
+
const values = data.map((d) => d.value);
|
|
235
|
+
const min = Math.min(...values);
|
|
236
|
+
const max = Math.max(...values);
|
|
237
|
+
const sum = values.reduce((a, b) => a + b, 0);
|
|
238
|
+
const avg = sum / values.length;
|
|
239
|
+
const minItem = data.find((d) => d.value === min);
|
|
240
|
+
const maxItem = data.find((d) => d.value === max);
|
|
241
|
+
const parts = [
|
|
242
|
+
`${chartName} showing ${data.length} data points.`,
|
|
243
|
+
];
|
|
244
|
+
if (type === 'pie' || type === 'donut') {
|
|
245
|
+
parts.push(`Total value: ${formatNumber(sum)}.`);
|
|
246
|
+
parts.push(`Largest segment: ${maxItem?.label} at ${formatPercent(max / sum)}.`);
|
|
247
|
+
parts.push(`Smallest segment: ${minItem?.label} at ${formatPercent(min / sum)}.`);
|
|
248
|
+
}
|
|
249
|
+
else {
|
|
250
|
+
parts.push(`Range: ${formatNumber(min)} to ${formatNumber(max)}.`);
|
|
251
|
+
parts.push(`Average: ${formatNumber(avg)}.`);
|
|
252
|
+
if (maxItem) {
|
|
253
|
+
parts.push(`Highest: ${maxItem.label} at ${formatNumber(max)}.`);
|
|
254
|
+
}
|
|
255
|
+
if (minItem && minItem !== maxItem) {
|
|
256
|
+
parts.push(`Lowest: ${minItem.label} at ${formatNumber(min)}.`);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
return parts.join(' ');
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Generates a hidden HTML table for screen reader access to chart data.
|
|
263
|
+
* Should be rendered inside the chart component but visually hidden.
|
|
264
|
+
*
|
|
265
|
+
* @param data - Chart data points
|
|
266
|
+
* @param valueLabel - Column header for values (e.g., "Amount", "Count")
|
|
267
|
+
* @returns HTML string for a data table
|
|
268
|
+
*/
|
|
269
|
+
function generateDataTable(data, valueLabel = 'Value') {
|
|
270
|
+
if (data.length === 0) {
|
|
271
|
+
return '<p>No data available.</p>';
|
|
272
|
+
}
|
|
273
|
+
const rows = data
|
|
274
|
+
.map((d) => `<tr><td>${escapeHtml(d.label)}</td><td>${formatNumber(d.value)}</td></tr>`)
|
|
275
|
+
.join('');
|
|
276
|
+
return `
|
|
277
|
+
<table class="sr-only">
|
|
278
|
+
<caption>Chart data</caption>
|
|
279
|
+
<thead>
|
|
280
|
+
<tr>
|
|
281
|
+
<th scope="col">Category</th>
|
|
282
|
+
<th scope="col">${escapeHtml(valueLabel)}</th>
|
|
283
|
+
</tr>
|
|
284
|
+
</thead>
|
|
285
|
+
<tbody>
|
|
286
|
+
${rows}
|
|
287
|
+
</tbody>
|
|
288
|
+
</table>`.trim();
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* Generates ARIA attributes for the chart container.
|
|
292
|
+
*/
|
|
293
|
+
function getChartAriaAttrs(description, hasInteraction = false) {
|
|
294
|
+
const attrs = {
|
|
295
|
+
role: 'img',
|
|
296
|
+
'aria-label': description,
|
|
297
|
+
};
|
|
298
|
+
if (hasInteraction) {
|
|
299
|
+
attrs.role = 'application';
|
|
300
|
+
attrs['aria-roledescription'] = 'interactive chart';
|
|
301
|
+
}
|
|
302
|
+
return attrs;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* CSS for visually hidden but screen-reader accessible elements.
|
|
306
|
+
*/
|
|
307
|
+
const srOnlyStyles = `
|
|
308
|
+
.sr-only {
|
|
309
|
+
position: absolute;
|
|
310
|
+
width: 1px;
|
|
311
|
+
height: 1px;
|
|
312
|
+
padding: 0;
|
|
313
|
+
margin: -1px;
|
|
314
|
+
overflow: hidden;
|
|
315
|
+
clip: rect(0, 0, 0, 0);
|
|
316
|
+
white-space: nowrap;
|
|
317
|
+
border: 0;
|
|
318
|
+
}
|
|
319
|
+
`.trim();
|
|
320
|
+
// ============================================================================
|
|
321
|
+
// Helper functions
|
|
322
|
+
// ============================================================================
|
|
323
|
+
function capitalizeFirst(str) {
|
|
324
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
325
|
+
}
|
|
326
|
+
function formatNumber(value) {
|
|
327
|
+
return new Intl.NumberFormat('en-US', {
|
|
328
|
+
maximumFractionDigits: 2,
|
|
329
|
+
}).format(value);
|
|
330
|
+
}
|
|
331
|
+
function formatPercent(value) {
|
|
332
|
+
return new Intl.NumberFormat('en-US', {
|
|
333
|
+
style: 'percent',
|
|
334
|
+
maximumFractionDigits: 1,
|
|
335
|
+
}).format(value);
|
|
336
|
+
}
|
|
337
|
+
function escapeHtml(str) {
|
|
338
|
+
return str
|
|
339
|
+
.replace(/&/g, '&')
|
|
340
|
+
.replace(/</g, '<')
|
|
341
|
+
.replace(/>/g, '>')
|
|
342
|
+
.replace(/"/g, '"')
|
|
343
|
+
.replace(/'/g, ''');
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export { areaPath as a, generateChartDescription as b, generateDataTable as c, getChartAriaAttrs as d, srOnlyStyles as e, barPath as f, gridLinePaths as g, computeArcs as h, arcCentroid as i, arcPath as j, linePath as l, stackedAreaPaths as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BjfY9fsk.js';
|
|
2
2
|
|
|
3
|
-
const afAccordionItemCss =
|
|
3
|
+
const afAccordionItemCss = () => `:host{display:block;width:100%}.accordion-item{width:100%}.trigger{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;background:transparent;border:none;border-bottom:1px solid var(--af-background-border-subtle, #e8eeed);cursor:pointer;font:inherit;text-align:left;color:var(--af-typography-body-dark, #14343b);transition:background-color var(--motion-duration-base, 200ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1))}.trigger:hover:not(:disabled){background-color:var(--af-background-base-hover, rgba(20, 52, 59, 0.02))}.trigger:focus-visible{outline:2px solid var(--af-background-border-active, #8a7049);outline-offset:-2px}.trigger:disabled{cursor:not-allowed;opacity:0.5}.trigger-content{flex:1;min-width:0}.chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;color:var(--af-typography-body-dark, #14343b);transition:transform var(--motion-duration-slow, 300ms) var(--motion-easing-standard, cubic-bezier(0.4, 0, 0.2, 1))}.chevron.is-open{transform:rotate(180deg)}.content-wrapper{overflow:hidden;transition:max-height var(--motion-duration-slow, 300ms) var(--motion-easing-emphasized, cubic-bezier(0.2, 0, 0, 1))}@media (prefers-reduced-motion: reduce){.trigger,.chevron,.content-wrapper{transition-duration:0.01ms}}.content{padding:0}:host(.is-disabled) .trigger{cursor:not-allowed;opacity:0.5}:host(.is-disabled) .trigger:hover{background-color:transparent}:host(.is-open) .trigger{border-bottom-color:transparent}`;
|
|
4
4
|
|
|
5
5
|
const AfAccordionItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -68,10 +68,11 @@ const AfAccordionItem = class {
|
|
|
68
68
|
}
|
|
69
69
|
get el() { return getElement(this); }
|
|
70
70
|
static get watchers() { return {
|
|
71
|
-
"open": [
|
|
71
|
+
"open": [{
|
|
72
|
+
"handleOpenChange": 0
|
|
73
|
+
}]
|
|
72
74
|
}; }
|
|
73
75
|
};
|
|
74
|
-
AfAccordionItem.style = afAccordionItemCss;
|
|
76
|
+
AfAccordionItem.style = afAccordionItemCss();
|
|
75
77
|
|
|
76
78
|
export { AfAccordionItem as af_accordion_item };
|
|
77
|
-
//# sourceMappingURL=af-accordion-item.entry.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BjfY9fsk.js';
|
|
2
2
|
|
|
3
|
-
const afAccordionCss =
|
|
3
|
+
const afAccordionCss = () => `.sc-af-accordion-h{display:block;width:100%}.accordion.sc-af-accordion{display:flex;flex-direction:column;width:100%}.sc-af-accordion-s>af-accordion-item{display:block}.sc-af-accordion-s>af-accordion-item:last-child{--accordion-item-border:transparent}`;
|
|
4
4
|
|
|
5
5
|
const AfAccordion = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -91,10 +91,11 @@ const AfAccordion = class {
|
|
|
91
91
|
}
|
|
92
92
|
get el() { return getElement(this); }
|
|
93
93
|
static get watchers() { return {
|
|
94
|
-
"value": [
|
|
94
|
+
"value": [{
|
|
95
|
+
"handleValueChange": 0
|
|
96
|
+
}]
|
|
95
97
|
}; }
|
|
96
98
|
};
|
|
97
|
-
AfAccordion.style = afAccordionCss;
|
|
99
|
+
AfAccordion.style = afAccordionCss();
|
|
98
100
|
|
|
99
101
|
export { AfAccordion as af_accordion };
|
|
100
|
-
//# sourceMappingURL=af-accordion.entry.js.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BjfY9fsk.js';
|
|
2
|
+
|
|
3
|
+
const afActionItemCss = () => `.sc-af-action-item-h{display:block}.action-item__button.sc-af-action-item{display:flex;align-items:flex-start;gap:var(--space-3, 12px);width:100%;padding:var(--space-3, 12px) var(--space-4, 16px);border:none;background:transparent;text-align:left;cursor:default;border-radius:var(--radius-sm, 6px);transition:background-color var(--motion-duration-fast, 150ms) var(--motion-easing-standard);font-family:var(--typography-primaryfont, 'NeuSans', sans-serif)}.action-item--interactive.sc-af-action-item .action-item__button.sc-af-action-item{cursor:pointer}.action-item--interactive.sc-af-action-item .action-item__button.sc-af-action-item:hover{background-color:var(--af-background-level-1, #e8eeed)}.action-item--interactive.sc-af-action-item .action-item__button.sc-af-action-item:focus-visible{outline:2px solid var(--colour-brand-ice, #a6fffb);outline-offset:-2px}.action-item--blocked.sc-af-action-item .action-item__button.sc-af-action-item{cursor:not-allowed;opacity:0.7}.action-item__status.sc-af-action-item{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-top:2px}.action-item__status-empty.sc-af-action-item{width:20px;height:20px;border:2px solid var(--colour-inkwell-200, #a1aeb1);border-radius:50%}.action-item__status-progress.sc-af-action-item{width:20px;height:20px;border:2px solid var(--colour-brand-mist-green, #c6d5d1);border-radius:50%;position:relative}.action-item__status-progress.sc-af-action-item::after{content:'';position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:8px;height:8px;background-color:var(--colour-brand-mist-green, #c6d5d1);border-radius:50%}.action-item--done.sc-af-action-item .action-item__status.sc-af-action-item{color:var(--status-ok, #3e8f6e)}.action-item--blocked.sc-af-action-item .action-item__status.sc-af-action-item{color:var(--status-issue, #b94a3b)}.action-item__content.sc-af-action-item{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.action-item__title.sc-af-action-item{font-weight:var(--font-weight-regular, 400);font-size:16px;line-height:24px;color:var(--af-typography-body-default, #2b484f)}.action-item--done.sc-af-action-item .action-item__title.sc-af-action-item{text-decoration:line-through;color:var(--af-typography-body-subtle, #60767b)}.action-item__meta.sc-af-action-item{font-size:14px;line-height:20px;color:var(--af-typography-body-subtle, #60767b)}.action-item__meta.sc-af-action-item:empty{display:none}.action-item__info.sc-af-action-item{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.action-item__assignee.sc-af-action-item{font-size:14px;line-height:20px;color:var(--af-typography-body-default, #2b484f)}.action-item__due-date.sc-af-action-item{font-size:13px;line-height:18px;color:var(--af-typography-body-subtle, #60767b)}.sc-af-action-item-h+-shadowcsshost{border-top:1px solid var(--af-background-border-subtle, #e8eeed)}@media (max-width: 480px){.action-item__button.sc-af-action-item{padding:var(--space-3, 12px);gap:var(--space-3, 12px)}.action-item__title.sc-af-action-item{font-size:15px}.action-item__info.sc-af-action-item{align-items:flex-end;gap:2px}.action-item__assignee.sc-af-action-item,.action-item__due-date.sc-af-action-item{font-size:13px;line-height:18px}}`;
|
|
4
|
+
|
|
5
|
+
const AfActionItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.actionItemToggle = createEvent(this, "af-action-item-toggle");
|
|
9
|
+
/**
|
|
10
|
+
* Current status of the action item.
|
|
11
|
+
*/
|
|
12
|
+
this.status = 'pending';
|
|
13
|
+
/**
|
|
14
|
+
* Whether clicking toggles the status (cycles: pending -> in-progress -> done).
|
|
15
|
+
*/
|
|
16
|
+
this.interactive = false;
|
|
17
|
+
this.handleClick = () => {
|
|
18
|
+
if (!this.interactive || this.status === 'blocked')
|
|
19
|
+
return;
|
|
20
|
+
const nextStatus = {
|
|
21
|
+
pending: 'in-progress',
|
|
22
|
+
'in-progress': 'done',
|
|
23
|
+
done: 'pending',
|
|
24
|
+
blocked: 'blocked',
|
|
25
|
+
};
|
|
26
|
+
this.status = nextStatus[this.status];
|
|
27
|
+
this.actionItemToggle.emit({ status: this.status });
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
renderStatusIcon() {
|
|
31
|
+
switch (this.status) {
|
|
32
|
+
case 'done':
|
|
33
|
+
return h("af-icon", { name: "check-circle", size: 20 });
|
|
34
|
+
case 'in-progress':
|
|
35
|
+
return h("div", { class: "action-item__status-progress" });
|
|
36
|
+
case 'blocked':
|
|
37
|
+
return h("af-icon", { name: "close", size: 16 });
|
|
38
|
+
default:
|
|
39
|
+
return h("div", { class: "action-item__status-empty" });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (h(Host, { key: 'e9b741bbdee7c4fa48f09005d6cc4214e73ddb2f', class: {
|
|
44
|
+
'action-item': true,
|
|
45
|
+
[`action-item--${this.status}`]: true,
|
|
46
|
+
'action-item--interactive': this.interactive,
|
|
47
|
+
}, role: "listitem" }, h("button", { key: '13fe8d6b8f8ea72a38320bf55c94c688604bd2f9', type: "button", class: "action-item__button", onClick: this.handleClick, disabled: !this.interactive || this.status === 'blocked', "aria-pressed": this.status === 'done' }, h("div", { key: '9e1cfc819e9e32d0dbbcb2d875d0116e126aef22', class: "action-item__status" }, this.renderStatusIcon()), h("div", { key: '59cabab93785b56b7540231384d0b729811f91f5', class: "action-item__content" }, h("div", { key: 'f6947c82c23feac7d786c089a050189fe5cf1b48', class: "action-item__title" }, h("slot", { key: '887c551106365435b52ca260582ccd450c4cb330' })), h("div", { key: '431ddbe13c22f54a9045859676cad6651c90fbb4', class: "action-item__meta" }, h("slot", { key: 'be29c8715008c4e9ed5a369e07dd865f9e90a10c', name: "meta" }))), (this.assignee || this.dueDate) && (h("div", { key: '7cb13d2d6a50f1ad5a9aca676b26f5f2120cef30', class: "action-item__info" }, this.assignee && (h("span", { key: 'a73f3880dbe016591f99dda0bd41a78d6f3fbe2e', class: "action-item__assignee" }, this.assignee)), this.dueDate && (h("span", { key: 'a178963ffe3d50d7e0dd4bba22ca84a39190780a', class: "action-item__due-date" }, this.dueDate)))))));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
AfActionItem.style = afActionItemCss();
|
|
51
|
+
|
|
52
|
+
export { AfActionItem as af_action_item };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BjfY9fsk.js';
|
|
2
|
+
|
|
3
|
+
const afActionListCss = () => `.sc-af-action-list-h{display:block;width:100%}.action-list__header.sc-af-action-list{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4, 16px);margin-bottom:var(--space-3, 12px)}.action-list__header.sc-af-action-list:empty{display:none}.action-list__heading.sc-af-action-list{flex:1;min-width:0}.action-list__heading.sc-af-action-list:empty{display:none}.action-list__heading.sc-af-action-list-s>*,.action-list__heading .sc-af-action-list-s>*{font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-book, 500);font-size:18px;line-height:24px;color:var(--af-typography-heading-primary, #14343b);margin:0}.action-list__progress-info.sc-af-action-list{flex-shrink:0}.action-list__progress-count.sc-af-action-list{font-family:var(--typography-primaryfont, 'NeuSans', sans-serif);font-weight:var(--font-weight-regular, 400);font-size:14px;line-height:20px;color:var(--af-typography-body-subtle, #60767b)}.action-list__progress-bar.sc-af-action-list{height:4px;background-color:var(--af-background-level-1, #e8eeed);border-radius:2px;overflow:hidden;margin-bottom:var(--space-4, 16px)}.action-list__progress-fill.sc-af-action-list{height:100%;background-color:var(--af-background-contrast, #c6d5d1);border-radius:2px;transition:width var(--motion-duration-base, 200ms) var(--motion-easing-standard)}.action-list__items.sc-af-action-list{display:flex;flex-direction:column;gap:0}@media (max-width: 480px){.action-list__header.sc-af-action-list{flex-direction:column;align-items:flex-start;gap:var(--space-2, 8px)}.action-list__progress-bar.sc-af-action-list{height:6px;border-radius:3px}}`;
|
|
4
|
+
|
|
5
|
+
const AfActionList = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
/**
|
|
9
|
+
* Show a progress bar indicating completion percentage.
|
|
10
|
+
*/
|
|
11
|
+
this.showProgress = false;
|
|
12
|
+
this.progress = 0;
|
|
13
|
+
this.total = 0;
|
|
14
|
+
this.done = 0;
|
|
15
|
+
}
|
|
16
|
+
componentDidLoad() {
|
|
17
|
+
this.calculateProgress();
|
|
18
|
+
}
|
|
19
|
+
handleItemToggle() {
|
|
20
|
+
this.calculateProgress();
|
|
21
|
+
}
|
|
22
|
+
calculateProgress() {
|
|
23
|
+
const items = this.el.querySelectorAll('af-action-item');
|
|
24
|
+
this.total = items.length;
|
|
25
|
+
this.done = Array.from(items).filter((item) => item.status === 'done').length;
|
|
26
|
+
this.progress = this.total > 0 ? (this.done / this.total) * 100 : 0;
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return (h(Host, { key: '1cbb14a9500a69b20876c263dc60687e6b6d8d68', class: "action-list" }, h("div", { key: '923234c9a5e8277ad875a41d4da4fd0609317273', class: "action-list__header" }, h("div", { key: '88707036867846e5285d1346ee9180139fb2cc38', class: "action-list__heading" }, h("slot", { key: '5b48fc6fa26c8c57867b4aef0e022904667a1f36', name: "heading" })), this.showProgress && this.total > 0 && (h("div", { key: '1adcd6469d9902adcaadf62a45281dfdd11e182e', class: "action-list__progress-info" }, h("span", { key: '6c0d5436f5f8e08bd20d8cc2ab45639f35ea5ec2', class: "action-list__progress-count" }, this.done, " / ", this.total)))), this.showProgress && this.total > 0 && (h("div", { key: 'e7aeb1785c7c5b08f544bc5f99c259a669870b55', class: "action-list__progress-bar" }, h("div", { key: '3886d6ae9dc5e1808f8927de6c99eb61dcf8835f', class: "action-list__progress-fill", style: { width: `${this.progress}%` } }))), h("div", { key: '3ad9adf79c2e75f923db5dabe454e382cfc04f81', class: "action-list__items", role: "list" }, h("slot", { key: '451de70ab0056acadd5de5c4b096d233cf612672' }))));
|
|
30
|
+
}
|
|
31
|
+
get el() { return getElement(this); }
|
|
32
|
+
};
|
|
33
|
+
AfActionList.style = afActionListCss();
|
|
34
|
+
|
|
35
|
+
export { AfActionList as af_action_list };
|