@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,270 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BjfY9fsk.js';
|
|
2
|
+
import { d as defaultMargins, b as bandScale, g as generateTickMarks, l as linearScale, f as formatAxisValue, c as computeDomain } from './scales-BSPfXvdg.js';
|
|
3
|
+
import { a as areaPath, l as linePath, g as gridLinePaths, s as stackedAreaPaths, b as generateChartDescription, c as generateDataTable, d as getChartAriaAttrs, e as srOnlyStyles } from './a11y-DEGKc9o3.js';
|
|
4
|
+
|
|
5
|
+
const afAreaChartCss = () => `:host{display:block;position:relative;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif)}.area-chart__svg{display:block;width:100%;height:auto;overflow:visible}.area-chart__grid-line{fill:none;stroke:var(--af-chart-grid, #e8ebeb);stroke-width:1;stroke-dasharray:4 2}.area-chart__area{fill:var(--af-chart-1, #c6d5d1);transition:opacity 0.2s ease}.area-chart__area--series-0{fill:var(--af-chart-1, #c6d5d1)}.area-chart__area--series-1{fill:var(--af-chart-2, #dde6e3)}.area-chart__area--series-2{fill:var(--af-chart-3, #c0ab8d)}.area-chart__area--series-3{fill:var(--af-chart-4, #dfd5c6)}.area-chart__area--series-4{fill:var(--af-chart-5, #14343b)}:host(.area-chart--interactive) .area-chart__series{cursor:pointer}.area-chart__series--hovered .area-chart__area{filter:brightness(1.05)}.area-chart__area--animated{opacity:0;animation:area-reveal 1.2s ease-out forwards}@keyframes area-reveal{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:0.6;clip-path:inset(0 0 0 0)}}.area-chart__stroke{fill:none;stroke:var(--af-chart-line, var(--af-chart-1, #c6d5d1));stroke-linecap:round;stroke-linejoin:round}.area-chart__stroke--series-0{stroke:var(--af-chart-line, var(--af-chart-1, #c6d5d1))}.area-chart__stroke--series-1{stroke:var(--af-chart-2, #dde6e3)}.area-chart__stroke--series-2{stroke:var(--af-chart-3, #c0ab8d)}.area-chart__stroke--series-3{stroke:var(--af-chart-4, #dfd5c6)}.area-chart__stroke--series-4{stroke:var(--af-chart-5, #14343b)}.area-chart__stroke--animated{stroke-dasharray:1000;stroke-dashoffset:1000;animation:stroke-draw 1.5s ease-out 0.5s forwards}@keyframes stroke-draw{to{stroke-dashoffset:0}}.area-chart__axis-line{stroke:var(--af-chart-grid, #e8ebeb);stroke-width:1}.area-chart__tick-label{fill:var(--af-chart-text, #2b484f);font-size:11px;font-family:inherit}.area-chart__tick-label--y{text-anchor:end;dominant-baseline:middle}.area-chart__tick-label--x{text-anchor:middle;dominant-baseline:hanging}.area-chart__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:16px;padding:0 8px}.area-chart__legend-item{display:flex;align-items:center;gap:6px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color 0.15s ease}.area-chart__legend-item:hover,.area-chart__legend-item--hovered{background-color:var(--af-background-level-1, #f4f7f6)}.area-chart__legend-swatch{width:12px;height:12px;border-radius:2px;flex-shrink:0}.area-chart__legend-swatch--series-0{background-color:var(--af-chart-1, #c6d5d1)}.area-chart__legend-swatch--series-1{background-color:var(--af-chart-2, #dde6e3)}.area-chart__legend-swatch--series-2{background-color:var(--af-chart-3, #c0ab8d)}.area-chart__legend-swatch--series-3{background-color:var(--af-chart-4, #dfd5c6)}.area-chart__legend-swatch--series-4{background-color:var(--af-chart-5, #14343b)}.area-chart__legend-label{font-size:13px;color:var(--af-chart-text, #2b484f)}.area-chart--empty{display:flex;align-items:center;justify-content:center;min-height:200px}.area-chart__empty-message{font-size:14px;color:var(--af-chart-text-muted, #6b8085)}`;
|
|
6
|
+
|
|
7
|
+
const AfAreaChart = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
/**
|
|
11
|
+
* Chart data as JSON string.
|
|
12
|
+
*/
|
|
13
|
+
this.data = '[]';
|
|
14
|
+
/**
|
|
15
|
+
* Theme for colors.
|
|
16
|
+
*/
|
|
17
|
+
this.theme = 'white';
|
|
18
|
+
/**
|
|
19
|
+
* Stack multiple series on top of each other.
|
|
20
|
+
*/
|
|
21
|
+
this.stacked = false;
|
|
22
|
+
/**
|
|
23
|
+
* Curve interpolation.
|
|
24
|
+
*/
|
|
25
|
+
this.curve = 'smooth';
|
|
26
|
+
/**
|
|
27
|
+
* Area fill opacity (0-1).
|
|
28
|
+
*/
|
|
29
|
+
this.opacity = 0.6;
|
|
30
|
+
/**
|
|
31
|
+
* Show outline stroke on areas.
|
|
32
|
+
*/
|
|
33
|
+
this.showStroke = true;
|
|
34
|
+
/**
|
|
35
|
+
* Interactivity level.
|
|
36
|
+
*/
|
|
37
|
+
this.interactive = 'none';
|
|
38
|
+
/**
|
|
39
|
+
* Enable CSS entry animations.
|
|
40
|
+
*/
|
|
41
|
+
this.animated = false;
|
|
42
|
+
/**
|
|
43
|
+
* Show legend below chart.
|
|
44
|
+
*/
|
|
45
|
+
this.showLegend = false;
|
|
46
|
+
/**
|
|
47
|
+
* Show grid lines.
|
|
48
|
+
*/
|
|
49
|
+
this.showGrid = true;
|
|
50
|
+
/**
|
|
51
|
+
* Show axis labels.
|
|
52
|
+
*/
|
|
53
|
+
this.showAxis = true;
|
|
54
|
+
/**
|
|
55
|
+
* Stroke width for area outlines.
|
|
56
|
+
*/
|
|
57
|
+
this.strokeWidth = 2;
|
|
58
|
+
/**
|
|
59
|
+
* Chart width (SVG viewBox).
|
|
60
|
+
*/
|
|
61
|
+
this.width = 400;
|
|
62
|
+
/**
|
|
63
|
+
* Aspect ratio as width/height.
|
|
64
|
+
*/
|
|
65
|
+
this.aspectRatio = 16 / 9;
|
|
66
|
+
this.parsedData = null;
|
|
67
|
+
this.hoveredSeries = null;
|
|
68
|
+
this.tooltipData = null;
|
|
69
|
+
this.handleSeriesEnter = (seriesIndex) => {
|
|
70
|
+
if (this.interactive === 'none')
|
|
71
|
+
return;
|
|
72
|
+
this.hoveredSeries = seriesIndex;
|
|
73
|
+
};
|
|
74
|
+
this.handleSeriesLeave = () => {
|
|
75
|
+
this.hoveredSeries = null;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
parseData() {
|
|
79
|
+
try {
|
|
80
|
+
const parsed = JSON.parse(this.data);
|
|
81
|
+
if (Array.isArray(parsed)) {
|
|
82
|
+
this.parsedData = parsed;
|
|
83
|
+
}
|
|
84
|
+
else if (parsed.series && parsed.labels) {
|
|
85
|
+
this.parsedData = parsed;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.parsedData = null;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
catch {
|
|
92
|
+
this.parsedData = null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
componentWillLoad() {
|
|
96
|
+
this.parseData();
|
|
97
|
+
}
|
|
98
|
+
get height() {
|
|
99
|
+
return this.width / this.aspectRatio;
|
|
100
|
+
}
|
|
101
|
+
get margins() {
|
|
102
|
+
return {
|
|
103
|
+
...defaultMargins,
|
|
104
|
+
left: this.showAxis ? 40 : 8,
|
|
105
|
+
bottom: this.showAxis ? 40 : 10,
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
get chartBounds() {
|
|
109
|
+
const { width, height, margins } = this;
|
|
110
|
+
return {
|
|
111
|
+
x: margins.left,
|
|
112
|
+
y: margins.top,
|
|
113
|
+
width: width - margins.left - margins.right,
|
|
114
|
+
height: height - margins.top - margins.bottom,
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
isMultiSeries(data) {
|
|
118
|
+
return !Array.isArray(data) && 'series' in data;
|
|
119
|
+
}
|
|
120
|
+
renderSingleSeries(data) {
|
|
121
|
+
const { chartBounds, curve, showStroke, showGrid, showAxis, animated, strokeWidth, opacity } = this;
|
|
122
|
+
const labels = data.map((d) => d.label);
|
|
123
|
+
const values = data.map((d) => d.value);
|
|
124
|
+
const domain = computeDomain(values, 0.1, true);
|
|
125
|
+
const xScale = bandScale(labels, [chartBounds.x, chartBounds.x + chartBounds.width]);
|
|
126
|
+
const yScale = linearScale(domain, [chartBounds.y + chartBounds.height, chartBounds.y]);
|
|
127
|
+
const ticks = generateTickMarks(domain, [chartBounds.y + chartBounds.height, chartBounds.y], 5, formatAxisValue);
|
|
128
|
+
const points = data.map((d) => ({
|
|
129
|
+
x: xScale.scale(d.label) + xScale.bandwidth / 2,
|
|
130
|
+
y: yScale(d.value),
|
|
131
|
+
}));
|
|
132
|
+
const baseline = chartBounds.y + chartBounds.height;
|
|
133
|
+
const areaD = areaPath(points, baseline, curve);
|
|
134
|
+
const lineD = linePath(points, curve);
|
|
135
|
+
return (h("g", { class: "area-chart__content" }, showGrid && (h("g", { class: "area-chart__grid" }, gridLinePaths(ticks.map((t) => t.position), 'horizontal', chartBounds).map((d, i) => (h("path", { key: i, d: d, class: "area-chart__grid-line" }))))), h("path", { d: areaD, class: {
|
|
136
|
+
'area-chart__area': true,
|
|
137
|
+
'area-chart__area--animated': animated,
|
|
138
|
+
}, style: { opacity: String(opacity) } }), showStroke && (h("path", { d: lineD, class: {
|
|
139
|
+
'area-chart__stroke': true,
|
|
140
|
+
'area-chart__stroke--animated': animated,
|
|
141
|
+
}, style: { strokeWidth: `${strokeWidth}px` } })), showAxis && this.renderAxes(xScale, ticks, labels)));
|
|
142
|
+
}
|
|
143
|
+
renderMultiSeries(data) {
|
|
144
|
+
const { chartBounds, curve, stacked, showStroke, showGrid, showAxis, animated, strokeWidth, opacity} = this;
|
|
145
|
+
const labels = data.labels;
|
|
146
|
+
const seriesCount = data.series.length;
|
|
147
|
+
const xScale = bandScale(labels, [chartBounds.x, chartBounds.x + chartBounds.width]);
|
|
148
|
+
const baseline = chartBounds.y + chartBounds.height;
|
|
149
|
+
// Compute domain based on stacking mode
|
|
150
|
+
let domain;
|
|
151
|
+
if (stacked) {
|
|
152
|
+
const stackedTotals = labels.map((_, i) => data.series.reduce((sum, s) => sum + Math.max(0, s.values[i] ?? 0), 0));
|
|
153
|
+
domain = computeDomain(stackedTotals, 0.1, true);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
const allValues = data.series.flatMap((s) => s.values);
|
|
157
|
+
domain = computeDomain(allValues, 0.1, true);
|
|
158
|
+
}
|
|
159
|
+
const yScale = linearScale(domain, [chartBounds.y + chartBounds.height, chartBounds.y]);
|
|
160
|
+
const ticks = generateTickMarks(domain, [chartBounds.y + chartBounds.height, chartBounds.y], 5, formatAxisValue);
|
|
161
|
+
// Generate points for each series
|
|
162
|
+
const seriesPoints = data.series.map((series) => labels.map((label, i) => ({
|
|
163
|
+
x: xScale.scale(label) + xScale.bandwidth / 2,
|
|
164
|
+
y: yScale(series.values[i] ?? 0),
|
|
165
|
+
})));
|
|
166
|
+
// Generate stacked or overlapping areas
|
|
167
|
+
let areaPaths;
|
|
168
|
+
if (stacked) {
|
|
169
|
+
// For stacked, accumulate Y values
|
|
170
|
+
const stackedSeriesPoints = [];
|
|
171
|
+
let cumulative = labels.map(() => 0);
|
|
172
|
+
for (let sIdx = 0; sIdx < seriesCount; sIdx++) {
|
|
173
|
+
const series = data.series[sIdx];
|
|
174
|
+
const points = labels.map((label, i) => {
|
|
175
|
+
cumulative[i] += Math.max(0, series.values[i] ?? 0);
|
|
176
|
+
return {
|
|
177
|
+
x: xScale.scale(label) + xScale.bandwidth / 2,
|
|
178
|
+
y: yScale(cumulative[i]),
|
|
179
|
+
};
|
|
180
|
+
});
|
|
181
|
+
stackedSeriesPoints.push(points);
|
|
182
|
+
}
|
|
183
|
+
areaPaths = stackedAreaPaths(stackedSeriesPoints, baseline, curve);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
// Non-stacked: each series gets its own area from baseline
|
|
187
|
+
areaPaths = seriesPoints.map((points) => areaPath(points, baseline, curve));
|
|
188
|
+
}
|
|
189
|
+
return (h("g", { class: "area-chart__content" }, showGrid && (h("g", { class: "area-chart__grid" }, gridLinePaths(ticks.map((t) => t.position), 'horizontal', chartBounds).map((d, i) => (h("path", { key: i, d: d, class: "area-chart__grid-line" }))))), (stacked ? areaPaths : [...areaPaths].reverse()).map((pathD, i) => {
|
|
190
|
+
const seriesIndex = stacked ? i : seriesCount - 1 - i;
|
|
191
|
+
const series = data.series[seriesIndex];
|
|
192
|
+
const isHovered = this.hoveredSeries === seriesIndex;
|
|
193
|
+
return (h("g", { key: seriesIndex, class: {
|
|
194
|
+
'area-chart__series': true,
|
|
195
|
+
'area-chart__series--hovered': isHovered,
|
|
196
|
+
}, onMouseEnter: () => this.handleSeriesEnter(seriesIndex), onMouseLeave: this.handleSeriesLeave }, h("path", { d: pathD, class: {
|
|
197
|
+
'area-chart__area': true,
|
|
198
|
+
'area-chart__area--animated': animated,
|
|
199
|
+
[`area-chart__area--series-${seriesIndex}`]: true,
|
|
200
|
+
}, style: {
|
|
201
|
+
opacity: String(isHovered ? Math.min(opacity + 0.2, 1) : opacity),
|
|
202
|
+
...(series.color ? { fill: series.color } : {}),
|
|
203
|
+
} }), showStroke && (h("path", { d: linePath(stacked ? this.getStackedPoints(data, seriesIndex, xScale, yScale, labels) : seriesPoints[seriesIndex], curve), class: {
|
|
204
|
+
'area-chart__stroke': true,
|
|
205
|
+
'area-chart__stroke--animated': animated,
|
|
206
|
+
[`area-chart__stroke--series-${seriesIndex}`]: true,
|
|
207
|
+
}, style: {
|
|
208
|
+
strokeWidth: `${strokeWidth}px`,
|
|
209
|
+
...(series.color ? { stroke: series.color } : {}),
|
|
210
|
+
} }))));
|
|
211
|
+
}), showAxis && this.renderAxes(xScale, ticks, labels)));
|
|
212
|
+
}
|
|
213
|
+
getStackedPoints(data, upToSeriesIndex, xScale, yScale, labels) {
|
|
214
|
+
return labels.map((label, i) => {
|
|
215
|
+
let cumulative = 0;
|
|
216
|
+
for (let sIdx = 0; sIdx <= upToSeriesIndex; sIdx++) {
|
|
217
|
+
cumulative += Math.max(0, data.series[sIdx].values[i] ?? 0);
|
|
218
|
+
}
|
|
219
|
+
return {
|
|
220
|
+
x: xScale.scale(label) + xScale.bandwidth / 2,
|
|
221
|
+
y: yScale(cumulative),
|
|
222
|
+
};
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
renderAxes(xScale, yTicks, labels) {
|
|
226
|
+
const { chartBounds } = this;
|
|
227
|
+
// Filter out ticks too close to the bottom to avoid overlap with x-axis labels
|
|
228
|
+
const filteredYTicks = yTicks.filter((tick) => {
|
|
229
|
+
const distanceFromBottom = (chartBounds.y + chartBounds.height) - tick.position;
|
|
230
|
+
return distanceFromBottom > 15;
|
|
231
|
+
});
|
|
232
|
+
return (h("g", { class: "area-chart__axes" }, h("g", { class: "area-chart__axis area-chart__axis--y" }, h("line", { x1: chartBounds.x, y1: chartBounds.y, x2: chartBounds.x, y2: chartBounds.y + chartBounds.height, class: "area-chart__axis-line" }), filteredYTicks.map((tick, i) => (h("g", { key: i, class: "area-chart__tick" }, h("text", { x: chartBounds.x - 10, y: tick.position, class: "area-chart__tick-label area-chart__tick-label--y" }, tick.label))))), h("g", { class: "area-chart__axis area-chart__axis--x" }, h("line", { x1: chartBounds.x, y1: chartBounds.y + chartBounds.height, x2: chartBounds.x + chartBounds.width, y2: chartBounds.y + chartBounds.height, class: "area-chart__axis-line" }), labels.map((label, i) => {
|
|
233
|
+
const x = xScale.scale(label) + xScale.bandwidth / 2;
|
|
234
|
+
return (h("text", { key: i, x: x, y: chartBounds.y + chartBounds.height + 16, class: "area-chart__tick-label area-chart__tick-label--x" }, label));
|
|
235
|
+
}))));
|
|
236
|
+
}
|
|
237
|
+
renderLegend(data) {
|
|
238
|
+
return (h("div", { class: "area-chart__legend" }, data.series.map((series, i) => (h("div", { key: i, class: {
|
|
239
|
+
'area-chart__legend-item': true,
|
|
240
|
+
'area-chart__legend-item--hovered': this.hoveredSeries === i,
|
|
241
|
+
}, onMouseEnter: () => this.handleSeriesEnter(i), onMouseLeave: this.handleSeriesLeave }, h("span", { class: `area-chart__legend-swatch area-chart__legend-swatch--series-${i}`, style: series.color ? { backgroundColor: series.color } : {} }), h("span", { class: "area-chart__legend-label" }, series.name))))));
|
|
242
|
+
}
|
|
243
|
+
render() {
|
|
244
|
+
const { parsedData, width, height, showLegend, interactive, chartLabel } = this;
|
|
245
|
+
if (!parsedData) {
|
|
246
|
+
return (h(Host, { class: "area-chart area-chart--empty" }, h("p", { class: "area-chart__empty-message" }, "No data available")));
|
|
247
|
+
}
|
|
248
|
+
const isMulti = this.isMultiSeries(parsedData);
|
|
249
|
+
const singleData = isMulti ? null : parsedData;
|
|
250
|
+
const multiData = isMulti ? parsedData : null;
|
|
251
|
+
const description = chartLabel ||
|
|
252
|
+
(singleData
|
|
253
|
+
? generateChartDescription('area', singleData)
|
|
254
|
+
: `Area chart with ${multiData.series.length} series`);
|
|
255
|
+
const chartAriaAttrs = getChartAriaAttrs(description, interactive !== 'none');
|
|
256
|
+
return (h(Host, { class: {
|
|
257
|
+
'area-chart': true,
|
|
258
|
+
'area-chart--interactive': interactive !== 'none',
|
|
259
|
+
} }, h("style", null, srOnlyStyles), h("svg", { viewBox: `0 0 ${width} ${height}`, class: "area-chart__svg", ...chartAriaAttrs }, singleData && this.renderSingleSeries(singleData), multiData && this.renderMultiSeries(multiData)), singleData && (h("div", { innerHTML: generateDataTable(singleData) })), showLegend && multiData && this.renderLegend(multiData), h("slot", null)));
|
|
260
|
+
}
|
|
261
|
+
get el() { return getElement(this); }
|
|
262
|
+
static get watchers() { return {
|
|
263
|
+
"data": [{
|
|
264
|
+
"parseData": 0
|
|
265
|
+
}]
|
|
266
|
+
}; }
|
|
267
|
+
};
|
|
268
|
+
AfAreaChart.style = afAreaChartCss();
|
|
269
|
+
|
|
270
|
+
export { AfAreaChart as af_area_chart };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BjfY9fsk.js';
|
|
2
2
|
|
|
3
|
-
const afAspectRatioCss =
|
|
3
|
+
const afAspectRatioCss = () => `:host{display:block;width:100%}.aspect-ratio-container{width:100%;position:relative;overflow:hidden}.aspect-ratio-container ::slotted(*){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}`;
|
|
4
4
|
|
|
5
5
|
const AfAspectRatio = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -75,7 +75,6 @@ const AfAspectRatio = class {
|
|
|
75
75
|
return (h("div", { key: '02bfa5463911ecd25903521e90a0570bb3bca0ad', class: "aspect-ratio-container", style: { aspectRatio: ratioValue } }, h("slot", { key: '9575c859052e8f1b1b362d9395fdfdf43d46b0b4' })));
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
AfAspectRatio.style = afAspectRatioCss;
|
|
78
|
+
AfAspectRatio.style = afAspectRatioCss();
|
|
79
79
|
|
|
80
80
|
export { AfAspectRatio as af_aspect_ratio };
|
|
81
|
-
//# sourceMappingURL=af-aspect-ratio.entry.js.map
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, a as getElement } from './index-BjfY9fsk.js';
|
|
2
|
+
import { d as defaultMargins, b as bandScale, g as generateTickMarks, l as linearScale, f as formatAxisValue, c as computeDomain } from './scales-BSPfXvdg.js';
|
|
3
|
+
import { f as barPath, g as gridLinePaths, b as generateChartDescription, c as generateDataTable, d as getChartAriaAttrs, e as srOnlyStyles } from './a11y-DEGKc9o3.js';
|
|
4
|
+
|
|
5
|
+
const afBarChartCss = () => `:host{display:block;position:relative;font-family:var(--typography-primaryfont, 'NeuSans', sans-serif)}.bar-chart__chart-wrapper{position:relative}.bar-chart__svg{display:block;width:100%;height:auto;overflow:visible}.bar-chart__grid-line{fill:none;stroke:var(--af-chart-grid, #e8ebeb);stroke-width:1;stroke-dasharray:4 2}.bar-chart__bar{fill:var(--af-chart-1, #c6d5d1);transition:opacity 0.15s ease, transform 0.15s ease}.bar-chart__bar--series-0{fill:var(--af-chart-1, #c6d5d1)}.bar-chart__bar--series-1{fill:var(--af-chart-2, #dde6e3)}.bar-chart__bar--series-2{fill:var(--af-chart-3, #c0ab8d)}.bar-chart__bar--series-3{fill:var(--af-chart-4, #dfd5c6)}.bar-chart__bar--series-4{fill:var(--af-chart-5, #14343b)}.bar-chart__bar-group--highlighted .bar-chart__bar{fill:var(--af-chart-highlight, #a6fff8)}:host(.bar-chart--interactive) .bar-chart__bar-group{cursor:pointer}:host(.bar-chart--interactive) .bar-chart__bar-group:hover .bar-chart__bar,.bar-chart__bar-group--hovered .bar-chart__bar{opacity:0.85;filter:brightness(1.05)}.bar-chart__bar--animated{animation:bar-grow 1s ease-out backwards}:host(.bar-chart--vertical) .bar-chart__bar--animated{transform-origin:center bottom}:host(.bar-chart--horizontal) .bar-chart__bar--animated{transform-origin:left center}@keyframes bar-grow{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}:host(.bar-chart--horizontal) .bar-chart__bar--animated{animation-name:bar-grow-horizontal}@keyframes bar-grow-horizontal{from{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.bar-chart__bar-group:nth-child(1) .bar-chart__bar--animated{animation-delay:0ms}.bar-chart__bar-group:nth-child(2) .bar-chart__bar--animated{animation-delay:80ms}.bar-chart__bar-group:nth-child(3) .bar-chart__bar--animated{animation-delay:160ms}.bar-chart__bar-group:nth-child(4) .bar-chart__bar--animated{animation-delay:240ms}.bar-chart__bar-group:nth-child(5) .bar-chart__bar--animated{animation-delay:320ms}.bar-chart__bar-group:nth-child(6) .bar-chart__bar--animated{animation-delay:400ms}.bar-chart__bar-group:nth-child(7) .bar-chart__bar--animated{animation-delay:480ms}.bar-chart__bar-group:nth-child(8) .bar-chart__bar--animated{animation-delay:560ms}.bar-chart__bar-group:nth-child(9) .bar-chart__bar--animated{animation-delay:640ms}.bar-chart__bar-group:nth-child(10) .bar-chart__bar--animated{animation-delay:720ms}.bar-chart__bar-group:nth-child(11) .bar-chart__bar--animated{animation-delay:800ms}.bar-chart__bar-group:nth-child(12) .bar-chart__bar--animated{animation-delay:880ms}.bar-chart__axis-line{stroke:var(--af-chart-grid, #e8ebeb);stroke-width:1}.bar-chart__tick-label{fill:var(--af-chart-text, #2b484f);font-size:11px;font-family:inherit}.bar-chart__tick-label--value{text-anchor:end;dominant-baseline:middle}.bar-chart__tick-label--category{text-anchor:middle;dominant-baseline:hanging}:host(.bar-chart--horizontal) .bar-chart__tick-label--value{text-anchor:middle;dominant-baseline:hanging}:host(.bar-chart--horizontal) .bar-chart__tick-label--category{text-anchor:end;dominant-baseline:middle}.bar-chart__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:16px;padding:0 8px}.bar-chart__legend-item{display:flex;align-items:center;gap:6px}.bar-chart__legend-swatch{width:12px;height:12px;border-radius:2px;flex-shrink:0}.bar-chart__legend-swatch--series-0{background-color:var(--af-chart-1, #c6d5d1)}.bar-chart__legend-swatch--series-1{background-color:var(--af-chart-2, #dde6e3)}.bar-chart__legend-swatch--series-2{background-color:var(--af-chart-3, #c0ab8d)}.bar-chart__legend-swatch--series-3{background-color:var(--af-chart-4, #dfd5c6)}.bar-chart__legend-swatch--series-4{background-color:var(--af-chart-5, #14343b)}.bar-chart__legend-label{font-size:13px;color:var(--af-chart-text, #2b484f)}.bar-chart__tooltip{position:absolute;transform:translate(-50%, -100%);margin-top:-8px;padding:8px 12px;background:var(--af-chart-tooltip-bg, #ffffff);border:1px solid var(--af-chart-tooltip-border, #e8ebeb);border-radius:6px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);pointer-events:none;z-index:10;white-space:nowrap}.bar-chart__tooltip-label{font-size:12px;color:var(--af-chart-text-muted, #6b8085);margin-bottom:2px}.bar-chart__tooltip-value{font-size:14px;font-weight:600;color:var(--af-chart-tooltip-text, #2b484f)}.bar-chart--empty{display:flex;align-items:center;justify-content:center;min-height:200px}.bar-chart__empty-message{font-size:14px;color:var(--af-chart-text-muted, #6b8085)}`;
|
|
6
|
+
|
|
7
|
+
const AfBarChart = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
/**
|
|
11
|
+
* Chart data as JSON string.
|
|
12
|
+
* Single series: `[{"label":"Jan","value":100}, ...]`
|
|
13
|
+
* Multi-series: `{"labels":["Jan","Feb"],"series":[{"name":"A","values":[100,200]}]}`
|
|
14
|
+
*/
|
|
15
|
+
this.data = '[]';
|
|
16
|
+
/**
|
|
17
|
+
* Theme for colors. Inherits from parent af-chart-section if nested.
|
|
18
|
+
*/
|
|
19
|
+
this.theme = 'white';
|
|
20
|
+
/**
|
|
21
|
+
* Bar orientation.
|
|
22
|
+
*/
|
|
23
|
+
this.orientation = 'vertical';
|
|
24
|
+
/**
|
|
25
|
+
* Stack multiple series on top of each other.
|
|
26
|
+
*/
|
|
27
|
+
this.stacked = false;
|
|
28
|
+
/**
|
|
29
|
+
* Interactivity level.
|
|
30
|
+
* - `none`: Static SVG, optimal for SSR
|
|
31
|
+
* - `hover`: CSS hover states with native tooltips
|
|
32
|
+
* - `tooltip`: JS-powered rich tooltips
|
|
33
|
+
*/
|
|
34
|
+
this.interactive = 'none';
|
|
35
|
+
/**
|
|
36
|
+
* Enable CSS entry animations.
|
|
37
|
+
*/
|
|
38
|
+
this.animated = false;
|
|
39
|
+
/**
|
|
40
|
+
* Show legend below chart.
|
|
41
|
+
*/
|
|
42
|
+
this.showLegend = false;
|
|
43
|
+
/**
|
|
44
|
+
* Show grid lines.
|
|
45
|
+
*/
|
|
46
|
+
this.showGrid = true;
|
|
47
|
+
/**
|
|
48
|
+
* Show axis labels.
|
|
49
|
+
*/
|
|
50
|
+
this.showAxis = true;
|
|
51
|
+
/**
|
|
52
|
+
* Corner radius for bars.
|
|
53
|
+
*/
|
|
54
|
+
this.barRadius = 4;
|
|
55
|
+
/**
|
|
56
|
+
* Chart width (SVG viewBox). Height is calculated from aspect ratio.
|
|
57
|
+
*/
|
|
58
|
+
this.width = 400;
|
|
59
|
+
/**
|
|
60
|
+
* Aspect ratio as width/height (e.g., 16/9 = 1.78).
|
|
61
|
+
*/
|
|
62
|
+
this.aspectRatio = 16 / 9;
|
|
63
|
+
this.parsedData = null;
|
|
64
|
+
this.hoveredIndex = null;
|
|
65
|
+
this.tooltipData = null;
|
|
66
|
+
this.handleMouseEnter = (index, x, y, label, value) => {
|
|
67
|
+
if (this.interactive === 'none')
|
|
68
|
+
return;
|
|
69
|
+
this.hoveredIndex = index;
|
|
70
|
+
if (this.interactive === 'tooltip') {
|
|
71
|
+
this.tooltipData = { x, y, label, value };
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
this.handleMouseLeave = () => {
|
|
75
|
+
this.hoveredIndex = null;
|
|
76
|
+
this.tooltipData = null;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
parseData() {
|
|
80
|
+
try {
|
|
81
|
+
const parsed = JSON.parse(this.data);
|
|
82
|
+
if (Array.isArray(parsed)) {
|
|
83
|
+
this.parsedData = parsed;
|
|
84
|
+
}
|
|
85
|
+
else if (parsed.series && parsed.labels) {
|
|
86
|
+
this.parsedData = parsed;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
this.parsedData = null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
catch {
|
|
93
|
+
this.parsedData = null;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
componentWillLoad() {
|
|
97
|
+
this.parseData();
|
|
98
|
+
}
|
|
99
|
+
get height() {
|
|
100
|
+
return this.width / this.aspectRatio;
|
|
101
|
+
}
|
|
102
|
+
get margins() {
|
|
103
|
+
return {
|
|
104
|
+
...defaultMargins,
|
|
105
|
+
left: this.showAxis ? 40 : 8,
|
|
106
|
+
bottom: this.showAxis ? 40 : 10,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
get chartBounds() {
|
|
110
|
+
const { width, height, margins } = this;
|
|
111
|
+
return {
|
|
112
|
+
x: margins.left,
|
|
113
|
+
y: margins.top,
|
|
114
|
+
width: width - margins.left - margins.right,
|
|
115
|
+
height: height - margins.top - margins.bottom,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
isMultiSeries(data) {
|
|
119
|
+
return !Array.isArray(data) && 'series' in data;
|
|
120
|
+
}
|
|
121
|
+
renderSingleSeries(data) {
|
|
122
|
+
const { chartBounds, orientation, barRadius, showGrid, showAxis, animated} = this;
|
|
123
|
+
const isVertical = orientation === 'vertical';
|
|
124
|
+
const labels = data.map((d) => d.label);
|
|
125
|
+
const values = data.map((d) => d.value);
|
|
126
|
+
const domain = computeDomain(values, 0.05);
|
|
127
|
+
const categoryScale = isVertical
|
|
128
|
+
? bandScale(labels, [chartBounds.x, chartBounds.x + chartBounds.width])
|
|
129
|
+
: bandScale(labels, [chartBounds.y, chartBounds.y + chartBounds.height]);
|
|
130
|
+
const valueScale = isVertical
|
|
131
|
+
? linearScale(domain, [chartBounds.y + chartBounds.height, chartBounds.y])
|
|
132
|
+
: linearScale(domain, [chartBounds.x, chartBounds.x + chartBounds.width]);
|
|
133
|
+
const ticks = generateTickMarks(domain, isVertical
|
|
134
|
+
? [chartBounds.y + chartBounds.height, chartBounds.y]
|
|
135
|
+
: [chartBounds.x, chartBounds.x + chartBounds.width], 5, formatAxisValue);
|
|
136
|
+
const zeroPos = valueScale(0);
|
|
137
|
+
return (h("g", { class: "bar-chart__content" }, showGrid && (h("g", { class: "bar-chart__grid" }, gridLinePaths(ticks.map((t) => t.position), isVertical ? 'horizontal' : 'vertical', chartBounds).map((d, i) => (h("path", { key: i, d: d, class: "bar-chart__grid-line" }))))), h("g", { class: "bar-chart__bars" }, data.map((point, i) => {
|
|
138
|
+
const categoryPos = categoryScale.scale(point.label);
|
|
139
|
+
const valuePos = valueScale(point.value);
|
|
140
|
+
const isPositive = point.value >= 0;
|
|
141
|
+
let x, y, width, height;
|
|
142
|
+
if (isVertical) {
|
|
143
|
+
x = categoryPos;
|
|
144
|
+
width = categoryScale.bandwidth;
|
|
145
|
+
y = isPositive ? valuePos : zeroPos;
|
|
146
|
+
height = Math.abs(valuePos - zeroPos);
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
y = categoryPos;
|
|
150
|
+
height = categoryScale.bandwidth;
|
|
151
|
+
x = isPositive ? zeroPos : valuePos;
|
|
152
|
+
width = Math.abs(valuePos - zeroPos);
|
|
153
|
+
}
|
|
154
|
+
const isHovered = this.hoveredIndex === i;
|
|
155
|
+
const path = barPath(x, y, width, height, barRadius, orientation);
|
|
156
|
+
return (h("g", { key: i, class: {
|
|
157
|
+
'bar-chart__bar-group': true,
|
|
158
|
+
'bar-chart__bar-group--hovered': isHovered,
|
|
159
|
+
'bar-chart__bar-group--highlighted': point.highlight ?? false,
|
|
160
|
+
}, onMouseEnter: () => this.handleMouseEnter(i, x + width / 2, y, point.label, point.value), onMouseLeave: this.handleMouseLeave }, h("path", { d: path, class: {
|
|
161
|
+
'bar-chart__bar': true,
|
|
162
|
+
'bar-chart__bar--animated': animated,
|
|
163
|
+
}, style: point.color ? { fill: point.color } : {}, "data-index": i })));
|
|
164
|
+
})), showAxis && this.renderAxes(categoryScale, ticks, isVertical, zeroPos)));
|
|
165
|
+
}
|
|
166
|
+
renderStackedSeries(data) {
|
|
167
|
+
const { chartBounds, orientation, barRadius, showGrid, showAxis, animated} = this;
|
|
168
|
+
const isVertical = orientation === 'vertical';
|
|
169
|
+
const labels = data.labels;
|
|
170
|
+
const seriesCount = data.series.length;
|
|
171
|
+
// Compute stacked totals for domain
|
|
172
|
+
const stackedTotals = labels.map((_, i) => data.series.reduce((sum, s) => sum + Math.max(0, s.values[i] ?? 0), 0));
|
|
173
|
+
const domain = computeDomain(stackedTotals, 0.05);
|
|
174
|
+
const categoryScale = isVertical
|
|
175
|
+
? bandScale(labels, [chartBounds.x, chartBounds.x + chartBounds.width])
|
|
176
|
+
: bandScale(labels, [chartBounds.y, chartBounds.y + chartBounds.height]);
|
|
177
|
+
const valueScale = isVertical
|
|
178
|
+
? linearScale(domain, [chartBounds.y + chartBounds.height, chartBounds.y])
|
|
179
|
+
: linearScale(domain, [chartBounds.x, chartBounds.x + chartBounds.width]);
|
|
180
|
+
const ticks = generateTickMarks(domain, isVertical
|
|
181
|
+
? [chartBounds.y + chartBounds.height, chartBounds.y]
|
|
182
|
+
: [chartBounds.x, chartBounds.x + chartBounds.width], 5, formatAxisValue);
|
|
183
|
+
const zeroPos = valueScale(0);
|
|
184
|
+
// Build stacked bar segments
|
|
185
|
+
const stackedBars = labels.map((label, labelIndex) => {
|
|
186
|
+
let cumulative = 0;
|
|
187
|
+
const categoryPos = categoryScale.scale(label);
|
|
188
|
+
return data.series.map((series, seriesIndex) => {
|
|
189
|
+
const value = series.values[labelIndex] ?? 0;
|
|
190
|
+
const startValue = cumulative;
|
|
191
|
+
cumulative += Math.max(0, value);
|
|
192
|
+
const startPos = valueScale(startValue);
|
|
193
|
+
const endPos = valueScale(cumulative);
|
|
194
|
+
let x, y, width, height;
|
|
195
|
+
if (isVertical) {
|
|
196
|
+
x = categoryPos;
|
|
197
|
+
width = categoryScale.bandwidth;
|
|
198
|
+
y = endPos;
|
|
199
|
+
height = Math.abs(startPos - endPos);
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
y = categoryPos;
|
|
203
|
+
height = categoryScale.bandwidth;
|
|
204
|
+
x = startPos;
|
|
205
|
+
width = Math.abs(endPos - startPos);
|
|
206
|
+
}
|
|
207
|
+
// Only round the top segment
|
|
208
|
+
const isTopSegment = seriesIndex === seriesCount - 1;
|
|
209
|
+
const radius = isTopSegment ? barRadius : 0;
|
|
210
|
+
return {
|
|
211
|
+
x,
|
|
212
|
+
y,
|
|
213
|
+
width,
|
|
214
|
+
height,
|
|
215
|
+
value,
|
|
216
|
+
label,
|
|
217
|
+
seriesName: series.name,
|
|
218
|
+
seriesIndex,
|
|
219
|
+
labelIndex,
|
|
220
|
+
color: series.color,
|
|
221
|
+
path: barPath(x, y, width, height, radius, orientation),
|
|
222
|
+
};
|
|
223
|
+
});
|
|
224
|
+
});
|
|
225
|
+
return (h("g", { class: "bar-chart__content" }, showGrid && (h("g", { class: "bar-chart__grid" }, gridLinePaths(ticks.map((t) => t.position), isVertical ? 'horizontal' : 'vertical', chartBounds).map((d, i) => (h("path", { key: i, d: d, class: "bar-chart__grid-line" }))))), h("g", { class: "bar-chart__bars" }, stackedBars.flat().map((bar, i) => (h("g", { key: i, class: "bar-chart__bar-group", onMouseEnter: () => this.handleMouseEnter(i, bar.x + bar.width / 2, bar.y, `${bar.label} - ${bar.seriesName}`, bar.value), onMouseLeave: this.handleMouseLeave }, h("path", { d: bar.path, class: {
|
|
226
|
+
'bar-chart__bar': true,
|
|
227
|
+
'bar-chart__bar--animated': animated,
|
|
228
|
+
[`bar-chart__bar--series-${bar.seriesIndex}`]: true,
|
|
229
|
+
}, style: bar.color ? { fill: bar.color } : {} }))))), showAxis && this.renderAxes(categoryScale, ticks, isVertical, zeroPos)));
|
|
230
|
+
}
|
|
231
|
+
renderGroupedSeries(data) {
|
|
232
|
+
const { chartBounds, orientation, barRadius, showGrid, showAxis, animated} = this;
|
|
233
|
+
const isVertical = orientation === 'vertical';
|
|
234
|
+
const labels = data.labels;
|
|
235
|
+
const seriesCount = data.series.length;
|
|
236
|
+
// Compute domain from all values
|
|
237
|
+
const allValues = data.series.flatMap((s) => s.values);
|
|
238
|
+
const domain = computeDomain(allValues, 0.05);
|
|
239
|
+
const categoryScale = isVertical
|
|
240
|
+
? bandScale(labels, [chartBounds.x, chartBounds.x + chartBounds.width], 0.2)
|
|
241
|
+
: bandScale(labels, [chartBounds.y, chartBounds.y + chartBounds.height], 0.2);
|
|
242
|
+
const valueScale = isVertical
|
|
243
|
+
? linearScale(domain, [chartBounds.y + chartBounds.height, chartBounds.y])
|
|
244
|
+
: linearScale(domain, [chartBounds.x, chartBounds.x + chartBounds.width]);
|
|
245
|
+
const ticks = generateTickMarks(domain, isVertical
|
|
246
|
+
? [chartBounds.y + chartBounds.height, chartBounds.y]
|
|
247
|
+
: [chartBounds.x, chartBounds.x + chartBounds.width], 5, formatAxisValue);
|
|
248
|
+
const zeroPos = valueScale(0);
|
|
249
|
+
const groupWidth = categoryScale.bandwidth;
|
|
250
|
+
const barWidth = groupWidth / seriesCount;
|
|
251
|
+
return (h("g", { class: "bar-chart__content" }, showGrid && (h("g", { class: "bar-chart__grid" }, gridLinePaths(ticks.map((t) => t.position), isVertical ? 'horizontal' : 'vertical', chartBounds).map((d, i) => (h("path", { key: i, d: d, class: "bar-chart__grid-line" }))))), h("g", { class: "bar-chart__bars" }, labels.map((label, labelIndex) => {
|
|
252
|
+
const categoryPos = categoryScale.scale(label);
|
|
253
|
+
return data.series.map((series, seriesIndex) => {
|
|
254
|
+
const value = series.values[labelIndex] ?? 0;
|
|
255
|
+
const valuePos = valueScale(value);
|
|
256
|
+
const isPositive = value >= 0;
|
|
257
|
+
let x, y, width, height;
|
|
258
|
+
if (isVertical) {
|
|
259
|
+
x = categoryPos + seriesIndex * barWidth;
|
|
260
|
+
width = barWidth * 0.9;
|
|
261
|
+
y = isPositive ? valuePos : zeroPos;
|
|
262
|
+
height = Math.abs(valuePos - zeroPos);
|
|
263
|
+
}
|
|
264
|
+
else {
|
|
265
|
+
y = categoryPos + seriesIndex * barWidth;
|
|
266
|
+
height = barWidth * 0.9;
|
|
267
|
+
x = isPositive ? zeroPos : valuePos;
|
|
268
|
+
width = Math.abs(valuePos - zeroPos);
|
|
269
|
+
}
|
|
270
|
+
const path = barPath(x, y, width, height, barRadius, orientation);
|
|
271
|
+
return (h("g", { key: `${labelIndex}-${seriesIndex}`, class: "bar-chart__bar-group", onMouseEnter: () => this.handleMouseEnter(labelIndex * seriesCount + seriesIndex, x + width / 2, y, `${label} - ${series.name}`, value), onMouseLeave: this.handleMouseLeave }, h("path", { d: path, class: {
|
|
272
|
+
'bar-chart__bar': true,
|
|
273
|
+
'bar-chart__bar--animated': animated,
|
|
274
|
+
[`bar-chart__bar--series-${seriesIndex}`]: true,
|
|
275
|
+
}, style: series.color ? { fill: series.color } : {} })));
|
|
276
|
+
});
|
|
277
|
+
})), showAxis && this.renderAxes(categoryScale, ticks, isVertical, zeroPos)));
|
|
278
|
+
}
|
|
279
|
+
renderAxes(categoryScale, valueTicks, isVertical, zeroPos) {
|
|
280
|
+
const { chartBounds, parsedData } = this;
|
|
281
|
+
const labels = this.isMultiSeries(parsedData)
|
|
282
|
+
? parsedData.labels
|
|
283
|
+
: parsedData.map((d) => d.label);
|
|
284
|
+
// Filter out ticks that would overlap with category axis labels
|
|
285
|
+
const filteredValueTicks = valueTicks.filter((tick) => {
|
|
286
|
+
if (isVertical) {
|
|
287
|
+
// Skip tick if it's too close to the bottom (where x-axis labels are)
|
|
288
|
+
const distanceFromBottom = (chartBounds.y + chartBounds.height) - tick.position;
|
|
289
|
+
return distanceFromBottom > 15;
|
|
290
|
+
}
|
|
291
|
+
// For horizontal, skip tick if too close to left edge
|
|
292
|
+
const distanceFromLeft = tick.position - chartBounds.x;
|
|
293
|
+
return distanceFromLeft > 15;
|
|
294
|
+
});
|
|
295
|
+
return (h("g", { class: "bar-chart__axes" }, h("g", { class: "bar-chart__axis bar-chart__axis--value" }, h("line", { x1: isVertical ? chartBounds.x : zeroPos, y1: isVertical ? chartBounds.y : chartBounds.y, x2: isVertical ? chartBounds.x : zeroPos, y2: isVertical ? chartBounds.y + chartBounds.height : chartBounds.y + chartBounds.height, class: "bar-chart__axis-line" }), filteredValueTicks.map((tick, i) => (h("g", { key: i, class: "bar-chart__tick" }, isVertical ? (h("text", { x: chartBounds.x - 10, y: tick.position, class: "bar-chart__tick-label bar-chart__tick-label--value" }, tick.label)) : (h("text", { x: tick.position, y: chartBounds.y + chartBounds.height + 24, class: "bar-chart__tick-label bar-chart__tick-label--value" }, tick.label)))))), h("g", { class: "bar-chart__axis bar-chart__axis--category" }, h("line", { x1: isVertical ? chartBounds.x : chartBounds.x, y1: isVertical ? chartBounds.y + chartBounds.height : chartBounds.y, x2: isVertical ? chartBounds.x + chartBounds.width : chartBounds.x, y2: isVertical ? chartBounds.y + chartBounds.height : chartBounds.y + chartBounds.height, class: "bar-chart__axis-line" }), labels.map((label, i) => {
|
|
296
|
+
const pos = categoryScale.scale(label) + categoryScale.bandwidth / 2;
|
|
297
|
+
return (h("text", { key: i, x: isVertical ? pos : chartBounds.x - 10, y: isVertical ? chartBounds.y + chartBounds.height + 16 : pos, class: "bar-chart__tick-label bar-chart__tick-label--category" }, label));
|
|
298
|
+
}))));
|
|
299
|
+
}
|
|
300
|
+
renderLegend(data) {
|
|
301
|
+
return (h("div", { class: "bar-chart__legend" }, data.series.map((series, i) => (h("div", { key: i, class: "bar-chart__legend-item" }, h("span", { class: `bar-chart__legend-swatch bar-chart__legend-swatch--series-${i}`, style: series.color ? { backgroundColor: series.color } : {} }), h("span", { class: "bar-chart__legend-label" }, series.name))))));
|
|
302
|
+
}
|
|
303
|
+
renderTooltip() {
|
|
304
|
+
const { tooltipData, width, height } = this;
|
|
305
|
+
if (!tooltipData)
|
|
306
|
+
return null;
|
|
307
|
+
// Convert SVG coordinates to percentages for proper positioning
|
|
308
|
+
const leftPct = (tooltipData.x / width) * 100;
|
|
309
|
+
const topPct = (tooltipData.y / height) * 100;
|
|
310
|
+
return (h("div", { class: "bar-chart__tooltip", style: {
|
|
311
|
+
left: `${leftPct}%`,
|
|
312
|
+
top: `${topPct}%`,
|
|
313
|
+
} }, h("div", { class: "bar-chart__tooltip-label" }, tooltipData.label), h("div", { class: "bar-chart__tooltip-value" }, tooltipData.value)));
|
|
314
|
+
}
|
|
315
|
+
render() {
|
|
316
|
+
const { parsedData, width, height, showLegend, interactive, chartLabel } = this;
|
|
317
|
+
if (!parsedData) {
|
|
318
|
+
return (h(Host, { class: "bar-chart bar-chart--empty" }, h("p", { class: "bar-chart__empty-message" }, "No data available")));
|
|
319
|
+
}
|
|
320
|
+
const isMulti = this.isMultiSeries(parsedData);
|
|
321
|
+
const singleData = isMulti ? null : parsedData;
|
|
322
|
+
const multiData = isMulti ? parsedData : null;
|
|
323
|
+
const description = chartLabel ||
|
|
324
|
+
(singleData
|
|
325
|
+
? generateChartDescription('bar', singleData)
|
|
326
|
+
: `Bar chart with ${multiData.series.length} series`);
|
|
327
|
+
const chartAriaAttrs = getChartAriaAttrs(description, interactive !== 'none');
|
|
328
|
+
return (h(Host, { class: {
|
|
329
|
+
'bar-chart': true,
|
|
330
|
+
[`bar-chart--${this.orientation}`]: true,
|
|
331
|
+
'bar-chart--interactive': interactive !== 'none',
|
|
332
|
+
} }, h("style", null, srOnlyStyles), h("div", { class: "bar-chart__chart-wrapper" }, h("svg", { viewBox: `0 0 ${width} ${height}`, class: "bar-chart__svg", ...chartAriaAttrs }, singleData && this.renderSingleSeries(singleData), multiData && this.stacked && this.renderStackedSeries(multiData), multiData && !this.stacked && this.renderGroupedSeries(multiData)), interactive === 'tooltip' && this.renderTooltip()), singleData && (h("div", { innerHTML: generateDataTable(singleData) })), showLegend && multiData && this.renderLegend(multiData), h("slot", null)));
|
|
333
|
+
}
|
|
334
|
+
get el() { return getElement(this); }
|
|
335
|
+
static get watchers() { return {
|
|
336
|
+
"data": [{
|
|
337
|
+
"parseData": 0
|
|
338
|
+
}]
|
|
339
|
+
}; }
|
|
340
|
+
};
|
|
341
|
+
AfBarChart.style = afBarChartCss();
|
|
342
|
+
|
|
343
|
+
export { AfBarChart as af_bar_chart };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-BjfY9fsk.js';
|
|
2
2
|
|
|
3
|
-
const afButtonGroupCss =
|
|
3
|
+
const afButtonGroupCss = () => `:host{display:inline-block}:host(.stack-mobile){max-width:100%}.button-group{display:inline-flex;align-items:center;box-sizing:border-box}.direction-horizontal{flex-direction:row}.direction-vertical{flex-direction:column}::slotted(*){flex-shrink:0}@media (max-width: 767px){:host(.stack-mobile){display:block;width:min(100%, 342px)}:host(.stack-mobile) .button-group{display:flex;flex-direction:column;width:100%;gap:var(--af-button-group-mobile-gap, 12px) !important}:host(.stack-mobile) ::slotted(af-button){width:100%;--af-button-width:100%}}`;
|
|
4
4
|
|
|
5
5
|
const AfButtonGroup = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -22,7 +22,6 @@ const AfButtonGroup = class {
|
|
|
22
22
|
return (h(Host, { key: '28faa5610144730bd66361b304167a0fb64be5d5' }, h("div", { key: 'a4bcc27d77f421dff083f5cccfe261be34a9b8f1', class: classes, style: { gap: this.gap } }, h("slot", { key: '365862ea727b18cfa0a96f0b99d9fb338c0be91a' }))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
-
AfButtonGroup.style = afButtonGroupCss;
|
|
25
|
+
AfButtonGroup.style = afButtonGroupCss();
|
|
26
26
|
|
|
27
27
|
export { AfButtonGroup as af_button_group };
|
|
28
|
-
//# sourceMappingURL=af-button-group.entry.js.map
|