@duetds/components 8.0.2 → 8.0.4
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/hydrate/index.js +80 -38
- package/lib/cjs/{common-strings-17770d7a.js → common-strings-86913e94.js} +6 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +15 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +31 -9
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +5 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +7 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +4 -3
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-b3f9c253.js → focus-utils-a28bdf44.js} +1 -1
- package/lib/cjs/{index-6daa7c8e.js → index-57fc0388.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common-strings.js +5 -0
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +34 -0
- package/lib/collection/components/duet-banner/duet-banner.js +31 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +2 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +48 -0
- package/lib/collection/components/duet-button/duet-button.js +83 -13
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +29 -0
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -4
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +25 -0
- package/lib/collection/components/duet-chip/duet-chip.js +4 -4
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +79 -0
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +24 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-combobox/duet-combobox.js +4 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +16 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +5 -5
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +202 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +15 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +42 -0
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +70 -0
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +33 -0
- package/lib/collection/components/duet-input/duet-input.js +9 -9
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +39 -0
- package/lib/collection/components/duet-link/duet-link.js +1 -1
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +30 -0
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +27 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +49 -0
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -6
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +28 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +5 -5
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +15 -0
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +27 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-progress/duet-progress.js +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +43 -0
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-radio/duet-radio.js +4 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +36 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +14 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +17 -0
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +18 -0
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +45 -0
- package/lib/collection/components/duet-select/duet-select.js +6 -6
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +47 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +26 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +21 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +2 -1
- package/lib/collection/components/duet-tab/duet-tab.js +20 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +20 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +6 -6
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +35 -0
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +28 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +5 -5
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +13 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +31 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +34 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +22 -0
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +15 -0
- package/lib/collection/utils/axe-core-utils.js +37 -0
- package/lib/collection/utils/picture-utils.js +8 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +21 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +5 -5
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +16 -11
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +5 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-c9499905.js → p-0334f215.js} +1 -1
- package/lib/dist-custom-elements/{p-5c15155e.js → p-0cba10c6.js} +1 -1
- package/lib/dist-custom-elements/{p-569556c9.js → p-137115be.js} +1 -1
- package/lib/dist-custom-elements/{p-d940a49d.js → p-1fb7e30c.js} +1 -1
- package/lib/{esm/common-strings-71f2aabd.js → dist-custom-elements/p-274d11e3.js} +6 -1
- package/lib/dist-custom-elements/{p-e43d5ffc.js → p-276540d0.js} +1 -1
- package/lib/dist-custom-elements/{p-11805f8e.js → p-3f1f0ff0.js} +1 -1
- package/lib/dist-custom-elements/{p-1cd6ccc0.js → p-48e60a4a.js} +1 -1
- package/lib/dist-custom-elements/{p-66bc5722.js → p-5c0e51bf.js} +36 -12
- package/lib/dist-custom-elements/{p-1db9b4e0.js → p-64c4e84f.js} +1 -1
- package/lib/dist-custom-elements/{p-8c89e5bb.js → p-69cee0e0.js} +1 -1
- package/lib/dist-custom-elements/{p-5f426542.js → p-6aed45b9.js} +1 -1
- package/lib/dist-custom-elements/{p-c24dd06b.js → p-6fdb2793.js} +7 -4
- package/lib/dist-custom-elements/{p-67166d85.js → p-734ca485.js} +1 -1
- package/lib/dist-custom-elements/{p-22ec1739.js → p-76f4318f.js} +5 -5
- package/lib/dist-custom-elements/{p-fb79c0df.js → p-81cee4bb.js} +3 -3
- package/lib/dist-custom-elements/{p-82be1f91.js → p-82950e93.js} +2 -2
- package/lib/dist-custom-elements/{p-0059a17c.js → p-8647adfe.js} +3 -3
- package/lib/dist-custom-elements/{p-f9547527.js → p-8b29f15f.js} +1 -1
- package/lib/dist-custom-elements/{p-c0d5adf0.js → p-9227ff28.js} +8 -8
- package/lib/dist-custom-elements/{p-e93f5581.js → p-93c0ff25.js} +2 -2
- package/lib/dist-custom-elements/{p-3cff1466.js → p-96f8add2.js} +2 -2
- package/lib/dist-custom-elements/{p-9fb89b86.js → p-9b75b285.js} +10 -10
- package/lib/dist-custom-elements/{p-c0a4a783.js → p-b1f13be3.js} +1 -1
- package/lib/dist-custom-elements/{p-2ffde01d.js → p-b379e9c3.js} +1 -1
- package/lib/dist-custom-elements/{p-2729945f.js → p-c35effa1.js} +5 -5
- package/lib/dist-custom-elements/{p-8bfad3e0.js → p-c5f155c9.js} +1 -1
- package/lib/dist-custom-elements/{p-31f2b544.js → p-cb1795bd.js} +10 -10
- package/lib/dist-custom-elements/{p-cc0415a6.js → p-cc7ea20a.js} +3 -3
- package/lib/dist-custom-elements/{p-dcbe235f.js → p-d77fa9d7.js} +1 -1
- package/lib/dist-custom-elements/{p-95a50166.js → p-d8d221c7.js} +1 -1
- package/lib/dist-custom-elements/{p-aa9b5c36.js → p-dcf1150f.js} +1 -1
- package/lib/dist-custom-elements/{p-fcfc2821.js → p-e936af1e.js} +5 -5
- package/lib/dist-custom-elements/{p-e698b935.js → p-ead2c47b.js} +2 -2
- package/lib/dist-custom-elements/{p-69ce95bd.js → p-fcf213ba.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-f6c715f8.entry.js → p-0254c1a5.entry.js} +1 -1
- package/lib/duet/{p-4f5556f2.entry.js → p-0446445a.entry.js} +1 -1
- package/lib/duet/{p-3ff41d7f.system.entry.js → p-05f24fea.system.entry.js} +1 -1
- package/lib/duet/{p-37b3373f.system.entry.js → p-06c1de15.system.entry.js} +1 -1
- package/lib/duet/{p-9ad4c219.system.js → p-0aa6b9f7.system.js} +1 -1
- package/lib/duet/{p-b672aa2d.system.entry.js → p-0b61acdf.system.entry.js} +1 -1
- package/lib/duet/{p-d2735e6f.entry.js → p-0c721d4d.entry.js} +1 -1
- package/lib/duet/{p-7614d35e.system.entry.js → p-0d76f82f.system.entry.js} +1 -1
- package/lib/duet/{p-a757e8de.entry.js → p-0e0070ff.entry.js} +1 -1
- package/lib/duet/{p-dc9a63fe.system.entry.js → p-1328279f.system.entry.js} +1 -1
- package/lib/duet/{p-daf1c188.system.entry.js → p-1814b271.system.entry.js} +1 -1
- package/lib/duet/{p-c48612d3.entry.js → p-18e338f6.entry.js} +1 -1
- package/lib/duet/{p-77462571.system.entry.js → p-1b1c46cf.system.entry.js} +1 -1
- package/lib/duet/{p-65273068.system.entry.js → p-1d91a923.system.entry.js} +1 -1
- package/lib/duet/p-20e5ed91.system.js +4 -0
- package/lib/duet/{p-f479fc15.system.entry.js → p-2150d543.system.entry.js} +1 -1
- package/lib/duet/{p-4f419ad9.system.entry.js → p-2333a06b.system.entry.js} +1 -1
- package/lib/duet/{p-7eca4788.entry.js → p-24f8d463.entry.js} +1 -1
- package/lib/duet/{p-1ef0d77b.entry.js → p-256a8389.entry.js} +1 -1
- package/lib/duet/{p-75fb4f1c.entry.js → p-256f0351.entry.js} +1 -1
- package/lib/duet/{p-3c334925.system.entry.js → p-26f6f02d.system.entry.js} +1 -1
- package/lib/duet/{p-009fba8e.system.entry.js → p-26ff9a18.system.entry.js} +2 -2
- package/lib/duet/{p-dade978b.js → p-274d11e3.js} +1 -1
- package/lib/duet/{p-a313db30.js → p-2767a583.js} +1 -1
- package/lib/duet/{p-b8c0ac2b.entry.js → p-2a9fce4e.entry.js} +1 -1
- package/lib/duet/{p-52d86f7b.entry.js → p-2b5698b2.entry.js} +1 -1
- package/lib/duet/{p-7229c899.system.entry.js → p-2ba34457.system.entry.js} +1 -1
- package/lib/duet/{p-fdb743cd.entry.js → p-2c0dfbb2.entry.js} +1 -1
- package/lib/duet/p-2cc98d49.entry.js +4 -0
- package/lib/duet/{p-d42a8f2d.entry.js → p-2ea63f14.entry.js} +1 -1
- package/lib/duet/{p-276afe9f.system.entry.js → p-2f9a3b9e.system.entry.js} +1 -1
- package/lib/duet/{p-cfebfeaa.entry.js → p-306af74b.entry.js} +1 -1
- package/lib/duet/{p-8885bcbe.system.entry.js → p-30a68306.system.entry.js} +1 -1
- package/lib/duet/p-34131c07.system.entry.js +4 -0
- package/lib/duet/{p-fc93dae3.system.entry.js → p-35167ee7.system.entry.js} +1 -1
- package/lib/duet/{p-700f811b.system.entry.js → p-39cf9807.system.entry.js} +1 -1
- package/lib/duet/{p-61ab82cd.system.entry.js → p-3a31c3e2.system.entry.js} +1 -1
- package/lib/duet/{p-521e45af.system.entry.js → p-3abfcdbe.system.entry.js} +1 -1
- package/lib/duet/{p-24617c6d.entry.js → p-3ba7eaaf.entry.js} +1 -1
- package/lib/duet/{p-28a91d37.entry.js → p-3beb1f99.entry.js} +1 -1
- package/lib/duet/{p-a1582631.entry.js → p-3d266d41.entry.js} +1 -1
- package/lib/duet/{p-d0dd892b.system.entry.js → p-3d36d27f.system.entry.js} +1 -1
- package/lib/duet/{p-96a6a8f4.system.entry.js → p-3d417d4e.system.entry.js} +1 -1
- package/lib/duet/{p-45b44159.system.entry.js → p-4069a88e.system.entry.js} +2 -2
- package/lib/duet/{p-48897c78.system.entry.js → p-42ccf40b.system.entry.js} +1 -1
- package/lib/duet/{p-51912824.system.entry.js → p-445d390a.system.entry.js} +1 -1
- package/lib/duet/{p-6a696095.entry.js → p-448a0c6a.entry.js} +1 -1
- package/lib/duet/{p-d70156aa.entry.js → p-4940d6de.entry.js} +1 -1
- package/lib/duet/{p-337fd9bc.entry.js → p-49a7f87a.entry.js} +1 -1
- package/lib/duet/{p-f353af2c.system.entry.js → p-4a9f918b.system.entry.js} +1 -1
- package/lib/duet/{p-a79f55dd.entry.js → p-4cd5933d.entry.js} +1 -1
- package/lib/duet/{p-bbab3ec2.entry.js → p-53eeaaac.entry.js} +1 -1
- package/lib/duet/{p-4d22780e.system.entry.js → p-5525dfa0.system.entry.js} +1 -1
- package/lib/duet/{p-fed2032f.entry.js → p-555b61e6.entry.js} +1 -1
- package/lib/duet/{p-954180c5.system.entry.js → p-56a8a682.system.entry.js} +1 -1
- package/lib/duet/{p-f5f9d249.entry.js → p-57524647.entry.js} +1 -1
- package/lib/duet/{p-43a1bc71.entry.js → p-575d7354.entry.js} +1 -1
- package/lib/duet/{p-bdb92ce7.system.entry.js → p-58739e1a.system.entry.js} +1 -1
- package/lib/duet/{p-5435c3b4.system.entry.js → p-5924fcb5.system.entry.js} +1 -1
- package/lib/duet/{p-83e0a9ad.system.entry.js → p-5a324349.system.entry.js} +1 -1
- package/lib/duet/{p-7a1192d3.system.entry.js → p-5ad5719f.system.entry.js} +1 -1
- package/lib/duet/{p-8c6ffecd.entry.js → p-5e27be5d.entry.js} +1 -1
- package/lib/duet/{p-cf633362.entry.js → p-6096a38e.entry.js} +1 -1
- package/lib/duet/{p-e876de11.system.entry.js → p-61b7f6cd.system.entry.js} +1 -1
- package/lib/duet/{p-fa55105b.system.entry.js → p-6319a467.system.entry.js} +1 -1
- package/lib/duet/{p-fcf0a09b.system.entry.js → p-63e14d3c.system.entry.js} +1 -1
- package/lib/duet/{p-9e700d1c.entry.js → p-65221daf.entry.js} +1 -1
- package/lib/duet/{p-133f98ce.system.entry.js → p-66c1ab03.system.entry.js} +1 -1
- package/lib/duet/{p-44f25642.entry.js → p-671c230c.entry.js} +1 -1
- package/lib/duet/{p-070ec8bb.entry.js → p-687259d0.entry.js} +1 -1
- package/lib/duet/{p-5b16cb2f.system.entry.js → p-6b46d423.system.entry.js} +1 -1
- package/lib/duet/{p-d525fe08.entry.js → p-6c1ed503.entry.js} +1 -1
- package/lib/duet/{p-02660cf2.system.entry.js → p-6f89f959.system.entry.js} +1 -1
- package/lib/duet/{p-de9fd52c.system.entry.js → p-708f2afd.system.entry.js} +1 -1
- package/lib/duet/p-70cdba82.system.entry.js +4 -0
- package/lib/duet/{p-6233ba02.entry.js → p-716ed1fb.entry.js} +1 -1
- package/lib/duet/{p-b14e2cef.entry.js → p-71a262a9.entry.js} +1 -1
- package/lib/duet/{p-52a0423d.system.entry.js → p-71a97d82.system.entry.js} +1 -1
- package/lib/duet/{p-caeda12e.system.entry.js → p-74fe1ae1.system.entry.js} +1 -1
- package/lib/duet/{p-2d59e4c7.entry.js → p-7553e277.entry.js} +1 -1
- package/lib/duet/{p-dabc2694.entry.js → p-76ff9b32.entry.js} +1 -1
- package/lib/duet/{p-e4643be5.entry.js → p-77a84a9c.entry.js} +1 -1
- package/lib/duet/{p-1c85d5b3.system.entry.js → p-7a181a7b.system.entry.js} +1 -1
- package/lib/duet/p-7b365ce3.entry.js +4 -0
- package/lib/duet/{p-e467f932.entry.js → p-7c78790a.entry.js} +1 -1
- package/lib/duet/p-7ee6dd1b.entry.js +4 -0
- package/lib/duet/p-7fda4849.system.entry.js +4 -0
- package/lib/duet/{p-32b04990.system.entry.js → p-8219fb4a.system.entry.js} +1 -1
- package/lib/duet/{p-6a69b1af.system.entry.js → p-8230fa0e.system.entry.js} +1 -1
- package/lib/duet/{p-c8acef00.system.entry.js → p-845f5d4d.system.entry.js} +1 -1
- package/lib/duet/{p-2525f10f.entry.js → p-84b1d1a5.entry.js} +1 -1
- package/lib/duet/p-862b5eb0.entry.js +4 -0
- package/lib/duet/{p-38c8826f.entry.js → p-875e6e77.entry.js} +1 -1
- package/lib/duet/p-88a50491.system.js +4 -0
- package/lib/duet/{p-4cb86860.entry.js → p-89750d2b.entry.js} +1 -1
- package/lib/duet/{p-19ea7a51.entry.js → p-89a87c49.entry.js} +1 -1
- package/lib/duet/{p-b9095610.system.js → p-8a6a6d43.system.js} +1 -1
- package/lib/duet/{p-944101a8.entry.js → p-8ba312dd.entry.js} +1 -1
- package/lib/duet/{p-8418063c.entry.js → p-8bd29255.entry.js} +1 -1
- package/lib/duet/{p-c4b6a0ac.entry.js → p-8d335fb8.entry.js} +1 -1
- package/lib/duet/{p-fea258a3.system.entry.js → p-8e270309.system.entry.js} +1 -1
- package/lib/duet/{p-1eb49427.system.entry.js → p-8fc84bdf.system.entry.js} +1 -1
- package/lib/duet/{p-186337f1.system.entry.js → p-91213415.system.entry.js} +1 -1
- package/lib/duet/{p-2fd27387.system.entry.js → p-93edbad9.system.entry.js} +1 -1
- package/lib/duet/{p-3f09ae37.entry.js → p-94d7bf9d.entry.js} +1 -1
- package/lib/duet/{p-46750b7e.system.entry.js → p-9a9fe22d.system.entry.js} +1 -1
- package/lib/duet/{p-e1593168.system.entry.js → p-9daa8586.system.entry.js} +1 -1
- package/lib/duet/p-9dc73fd7.system.entry.js +4 -0
- package/lib/duet/{p-2dbc77bb.entry.js → p-9dd3343d.entry.js} +1 -1
- package/lib/duet/{p-5f7c6c4b.system.entry.js → p-9e152149.system.entry.js} +1 -1
- package/lib/duet/{p-9fd48fe0.entry.js → p-9e8e022b.entry.js} +1 -1
- package/lib/duet/{p-fd2cc5ae.js → p-9ecfc096.js} +1 -1
- package/lib/duet/{p-b384dd4d.entry.js → p-a4c579be.entry.js} +1 -1
- package/lib/duet/{p-b2418385.system.entry.js → p-a70211c7.system.entry.js} +1 -1
- package/lib/duet/{p-cb345a69.system.entry.js → p-a9b41cc7.system.entry.js} +1 -1
- package/lib/duet/{p-3f7a1de2.entry.js → p-b1372e52.entry.js} +1 -1
- package/lib/duet/{p-1dc41676.system.entry.js → p-b2be09aa.system.entry.js} +1 -1
- package/lib/duet/{p-0a85de9e.entry.js → p-b3be4fd3.entry.js} +1 -1
- package/lib/duet/{p-381ac995.system.entry.js → p-b3ceb67c.system.entry.js} +1 -1
- package/lib/duet/{p-29bc9659.entry.js → p-b467d535.entry.js} +1 -1
- package/lib/duet/{p-dace5770.system.entry.js → p-bbc0d12a.system.entry.js} +1 -1
- package/lib/duet/{p-ba11b37a.entry.js → p-be34743f.entry.js} +1 -1
- package/lib/duet/{p-d94decde.system.entry.js → p-bee90745.system.entry.js} +1 -1
- package/lib/duet/{p-bcbc90ea.entry.js → p-c024e088.entry.js} +1 -1
- package/lib/duet/{p-f7c420fd.entry.js → p-c06884be.entry.js} +1 -1
- package/lib/duet/{p-e8614366.system.entry.js → p-c24e66b3.system.entry.js} +1 -1
- package/lib/duet/{p-d8c1605f.system.entry.js → p-c270e77f.system.entry.js} +1 -1
- package/lib/duet/{p-77e47450.system.entry.js → p-c2a1741c.system.entry.js} +1 -1
- package/lib/duet/{p-fc5b6b9d.system.entry.js → p-c2cc8f98.system.entry.js} +1 -1
- package/lib/duet/{p-f04ed25e.entry.js → p-c454af4b.entry.js} +1 -1
- package/lib/duet/{p-607aaab1.entry.js → p-c74b30b6.entry.js} +1 -1
- package/lib/duet/{p-99311d82.system.entry.js → p-c7e8c703.system.entry.js} +1 -1
- package/lib/duet/p-c9454668.entry.js +4 -0
- package/lib/duet/{p-61cd81d5.system.entry.js → p-cc1be8d9.system.entry.js} +1 -1
- package/lib/duet/{p-549587ba.entry.js → p-ceb4e7ee.entry.js} +1 -1
- package/lib/duet/p-d0396200.system.entry.js +4 -0
- package/lib/duet/{p-a2502dab.entry.js → p-d160d0af.entry.js} +1 -1
- package/lib/duet/{p-5b71a670.entry.js → p-d49c1007.entry.js} +1 -1
- package/lib/duet/{p-d827cdf2.system.entry.js → p-d4f7537a.system.entry.js} +1 -1
- package/lib/duet/{p-c832a424.entry.js → p-d66e2714.entry.js} +1 -1
- package/lib/duet/p-dc293752.entry.js +4 -0
- package/lib/duet/{p-f7c41718.system.entry.js → p-dd3aeef8.system.entry.js} +2 -2
- package/lib/duet/{p-b39afb39.system.entry.js → p-defa1f51.system.entry.js} +1 -1
- package/lib/duet/{p-5e5e2608.entry.js → p-df0758e4.entry.js} +1 -1
- package/lib/duet/{p-94795921.system.entry.js → p-e0ececb1.system.entry.js} +1 -1
- package/lib/duet/p-e2714451.entry.js +4 -0
- package/lib/duet/{p-25a2a3f4.system.entry.js → p-e46fd2cc.system.entry.js} +1 -1
- package/lib/duet/{p-b98d7858.entry.js → p-e4908b98.entry.js} +1 -1
- package/lib/duet/{p-ebe7e977.system.entry.js → p-e79a421c.system.entry.js} +1 -1
- package/lib/duet/{p-60c18c57.system.entry.js → p-ee962bfc.system.entry.js} +1 -1
- package/lib/duet/{p-c4f604fd.entry.js → p-ef1d01d1.entry.js} +1 -1
- package/lib/duet/p-f1c9f773.entry.js +4 -0
- package/lib/duet/{p-1294e538.entry.js → p-f1f7c096.entry.js} +1 -1
- package/lib/duet/{p-939b757e.entry.js → p-f34a7fbc.entry.js} +1 -1
- package/lib/duet/{p-1b93d773.entry.js → p-fb3fd2e1.entry.js} +1 -1
- package/lib/duet/{p-fc9a7037.entry.js → p-fb67a5dd.entry.js} +1 -1
- package/lib/duet/{p-ee45535e.system.entry.js → p-fb6f8886.system.entry.js} +1 -1
- package/lib/duet/{p-05525f40.entry.js → p-fc8e65cc.entry.js} +1 -1
- package/lib/duet/{p-5360a081.entry.js → p-fdbef6b6.entry.js} +1 -1
- package/lib/{dist-custom-elements/p-dade978b.js → esm/common-strings-c0ac5a0b.js} +6 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +15 -2
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +31 -9
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +5 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +7 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +4 -3
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-b5ee5205.js → focus-utils-616b6903.js} +1 -1
- package/lib/esm/{index-bc4e29df.js → index-6b66b5c3.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/common-strings-c0ac5a0b.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-616b6903.js +4 -0
- package/lib/esm-es5/{index-bc4e29df.js → index-6b66b5c3.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
- package/lib/types/components/duet-button/duet-button.d.ts +12 -0
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -1
- package/lib/types/components/duet-input/duet-input.d.ts +1 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -1
- package/lib/types/components/duet-radio/duet-radio.d.ts +1 -1
- package/lib/types/components/duet-select/duet-select.d.ts +1 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +4 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -1
- package/lib/types/components.d.ts +54 -16
- package/lib/types/stencil-public-runtime.d.ts +2 -2
- package/lib/types/utils/axe-core-utils.d.ts +9 -0
- package/lib/types/utils/picture-utils.d.ts +18 -0
- package/package.json +6 -5
- package/lib/duet/p-11eb90f6.entry.js +0 -4
- package/lib/duet/p-2b1e39d0.entry.js +0 -4
- package/lib/duet/p-2e6fb207.entry.js +0 -4
- package/lib/duet/p-32f094f1.system.entry.js +0 -4
- package/lib/duet/p-365e7732.system.entry.js +0 -4
- package/lib/duet/p-36b36a8e.system.js +0 -4
- package/lib/duet/p-36e94f5b.entry.js +0 -4
- package/lib/duet/p-3f654f99.entry.js +0 -4
- package/lib/duet/p-6d05c93e.entry.js +0 -4
- package/lib/duet/p-89d82d24.system.entry.js +0 -4
- package/lib/duet/p-9dfdcbb2.entry.js +0 -4
- package/lib/duet/p-a6078084.system.entry.js +0 -4
- package/lib/duet/p-c0c4fa47.entry.js +0 -4
- package/lib/duet/p-ccf99f79.system.entry.js +0 -4
- package/lib/duet/p-e6af2ec8.system.js +0 -4
- package/lib/esm-es5/common-strings-71f2aabd.js +0 -4
- package/lib/esm-es5/focus-utils-b5ee5205.js +0 -4
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-menu-bar", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-menu-bar>
|
|
9
|
+
<div slot="center">
|
|
10
|
+
<duet-menu-bar-link active>Vakuutukset</duet-menu-bar-link>
|
|
11
|
+
<duet-menu-bar-link>Sijoittaminen</duet-menu-bar-link>
|
|
12
|
+
</div>
|
|
13
|
+
<div slot="right">
|
|
14
|
+
<duet-menu-bar-link icon="navigation-user">Omat sivut</duet-menu-bar-link>
|
|
15
|
+
<duet-menu-bar-dropdown icon="navigation-user">
|
|
16
|
+
<span slot="label">Etunimi</span>
|
|
17
|
+
<duet-menu-bar-dropdown-link>Omat tiedot</duet-menu-bar-dropdown-link>
|
|
18
|
+
<duet-divider margin="none"></duet-divider>
|
|
19
|
+
<duet-menu-bar-dropdown-button icon="messaging-logout">Kirjaudu ulos</duet-menu-bar-dropdown-button>
|
|
20
|
+
</duet-menu-bar-dropdown>
|
|
21
|
+
</div>
|
|
22
|
+
</duet-menu-bar>
|
|
23
|
+
`, axeRunOptions);
|
|
24
|
+
expect(result).not.toBeNull();
|
|
25
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
@@ -264,7 +264,7 @@ export class DuetMenuBar {
|
|
|
264
264
|
"references": {
|
|
265
265
|
"DuetMenuBarChangeEvent": {
|
|
266
266
|
"location": "local",
|
|
267
|
-
"path": "/Users/
|
|
267
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-menu-bar/duet-menu-bar.tsx",
|
|
268
268
|
"id": "src/components/duet-menu-bar/duet-menu-bar.tsx::DuetMenuBarChangeEvent"
|
|
269
269
|
}
|
|
270
270
|
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-modal", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-modal
|
|
9
|
+
size="small"
|
|
10
|
+
heading="Onko matkapuhelimesi tai tablettisi rikkoutunut?"
|
|
11
|
+
icon="damage-breakage"
|
|
12
|
+
class="duet-text-center"
|
|
13
|
+
active
|
|
14
|
+
>
|
|
15
|
+
<duet-paragraph>
|
|
16
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
|
|
17
|
+
aliqua. Ut enim ad minim veniam quis nostrud.
|
|
18
|
+
</duet-paragraph>
|
|
19
|
+
<duet-paragraph>
|
|
20
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
|
|
21
|
+
</duet-paragraph>
|
|
22
|
+
<duet-button variation="primary" onclick="modal.hide()"> Jatka </duet-button>
|
|
23
|
+
</duet-modal>
|
|
24
|
+
|
|
25
|
+
`, axeRunOptions);
|
|
26
|
+
expect(result).not.toBeNull();
|
|
27
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
28
|
+
});
|
|
29
|
+
it("should render an accessible component in confirmation variant", async () => {
|
|
30
|
+
const result = await testWithAxe(`
|
|
31
|
+
<duet-modal
|
|
32
|
+
heading="Oletko varma, että haluat poistua tältä sivulta?"
|
|
33
|
+
icon="messaging-alert"
|
|
34
|
+
color="warning"
|
|
35
|
+
size="small"
|
|
36
|
+
variation="dialog"
|
|
37
|
+
class="duet-text-center"
|
|
38
|
+
active
|
|
39
|
+
>
|
|
40
|
+
<duet-paragraph> Kaikki täyttämäsi tiedot poistetaan. </duet-paragraph>
|
|
41
|
+
<duet-button variation="primary" onclick="modal.hide()"> Kyllä </duet-button>
|
|
42
|
+
<duet-button onclick="modal.hide()"> Ei </duet-button>
|
|
43
|
+
</duet-modal>
|
|
44
|
+
|
|
45
|
+
`, axeRunOptions);
|
|
46
|
+
expect(result).not.toBeNull();
|
|
47
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
48
|
+
});
|
|
49
|
+
});
|
|
@@ -299,7 +299,7 @@ export class DuetModal {
|
|
|
299
299
|
"references": {
|
|
300
300
|
"DuetModalSize": {
|
|
301
301
|
"location": "local",
|
|
302
|
-
"path": "/Users/
|
|
302
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
303
303
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalSize"
|
|
304
304
|
}
|
|
305
305
|
}
|
|
@@ -410,7 +410,7 @@ export class DuetModal {
|
|
|
410
410
|
"references": {
|
|
411
411
|
"DuetModalSize": {
|
|
412
412
|
"location": "local",
|
|
413
|
-
"path": "/Users/
|
|
413
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
414
414
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalSize"
|
|
415
415
|
}
|
|
416
416
|
}
|
|
@@ -652,7 +652,7 @@ export class DuetModal {
|
|
|
652
652
|
"references": {
|
|
653
653
|
"DuetModalCloseEvent": {
|
|
654
654
|
"location": "local",
|
|
655
|
-
"path": "/Users/
|
|
655
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
656
656
|
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalCloseEvent"
|
|
657
657
|
}
|
|
658
658
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-multiselect", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-multiselect
|
|
9
|
+
id="zip"
|
|
10
|
+
label="Chooce zip"
|
|
11
|
+
label-hidden
|
|
12
|
+
placeholder="Zip"
|
|
13
|
+
items='[
|
|
14
|
+
{"label": "11100", "value": "11100"},
|
|
15
|
+
{"label": "22200", "value": "22200"}
|
|
16
|
+
]'
|
|
17
|
+
></duet-multiselect>
|
|
18
|
+
`, axeRunOptions);
|
|
19
|
+
expect(result).not.toBeNull();
|
|
20
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -33,6 +33,11 @@ export class DuetMultiselect {
|
|
|
33
33
|
fi: "Tyhjennä kaikki",
|
|
34
34
|
sv: "Rensa alla",
|
|
35
35
|
};
|
|
36
|
+
this.placeholderLabel = {
|
|
37
|
+
en: "Hint",
|
|
38
|
+
fi: "Vihje",
|
|
39
|
+
sv: "Tips",
|
|
40
|
+
};
|
|
36
41
|
/**
|
|
37
42
|
* Component event handling.
|
|
38
43
|
*/
|
|
@@ -196,7 +201,7 @@ export class DuetMultiselect {
|
|
|
196
201
|
"duet-theme-turva": this.theme === "turva",
|
|
197
202
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
198
203
|
"has-error": !!this.error,
|
|
199
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes
|
|
204
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language] }, this.placeholder), this.value && this.value.length > 0 && (h("duet-badge", { class: "duet-multiselect-badge", margin: "none", theme: this.theme }, this.value.length, " ", this.selectedLangObject[this.language], h("duet-visually-hidden", null, ", ", this.value.map(item => item.label).join(", ")))), h("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
200
205
|
"duet-multiselect-checkboxes": true,
|
|
201
206
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
202
207
|
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (h("div", { class: "duet-multiselect-all-control-buttons" }, h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
@@ -306,7 +311,7 @@ export class DuetMultiselect {
|
|
|
306
311
|
"references": {
|
|
307
312
|
"DuetMultiselectItem": {
|
|
308
313
|
"location": "local",
|
|
309
|
-
"path": "/Users/
|
|
314
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
310
315
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectItem"
|
|
311
316
|
}
|
|
312
317
|
}
|
|
@@ -441,7 +446,7 @@ export class DuetMultiselect {
|
|
|
441
446
|
"references": {
|
|
442
447
|
"DuetMultiselectItem": {
|
|
443
448
|
"location": "local",
|
|
444
|
-
"path": "/Users/
|
|
449
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
445
450
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectItem"
|
|
446
451
|
}
|
|
447
452
|
}
|
|
@@ -577,7 +582,7 @@ export class DuetMultiselect {
|
|
|
577
582
|
"references": {
|
|
578
583
|
"DuetMultiselectEvent": {
|
|
579
584
|
"location": "local",
|
|
580
|
-
"path": "/Users/
|
|
585
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
581
586
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
582
587
|
}
|
|
583
588
|
}
|
|
@@ -598,7 +603,7 @@ export class DuetMultiselect {
|
|
|
598
603
|
"references": {
|
|
599
604
|
"DuetMultiselectEvent": {
|
|
600
605
|
"location": "local",
|
|
601
|
-
"path": "/Users/
|
|
606
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
602
607
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
603
608
|
}
|
|
604
609
|
}
|
|
@@ -619,7 +624,7 @@ export class DuetMultiselect {
|
|
|
619
624
|
"references": {
|
|
620
625
|
"DuetMultiselectEvent": {
|
|
621
626
|
"location": "local",
|
|
622
|
-
"path": "/Users/
|
|
627
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx",
|
|
623
628
|
"id": "src/components/duet-multiselect/duet-multiselect.tsx::DuetMultiselectEvent"
|
|
624
629
|
}
|
|
625
630
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-notification", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<div role="list">
|
|
9
|
+
<duet-notification highlight url="https://www.duetds.com" date="23.11.2020">
|
|
10
|
+
<duet-heading level="h2" visual-level="h6"> Uusi vakuutus </duet-heading>
|
|
11
|
+
<duet-paragraph size="small" margin="none">
|
|
12
|
+
Uuden kotivakuutuksesi tiedot ja asiakirjat löydät klikkaamalla tästä.
|
|
13
|
+
</duet-paragraph>
|
|
14
|
+
</duet-notification>
|
|
15
|
+
</div>
|
|
16
|
+
`, axeRunOptions);
|
|
17
|
+
expect(result).not.toBeNull();
|
|
18
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
19
|
+
});
|
|
20
|
+
});
|
package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-notification-drawer", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-notification-drawer direction="right" label="Ilmoitukset (1)" icon="messaging-notification" badge>
|
|
9
|
+
<duet-notification highlight url="https://www.duetds.com" date="23.11.2020">
|
|
10
|
+
<duet-heading level="h2" visual-level="h6"> Uusi vakuutus </duet-heading>
|
|
11
|
+
<duet-paragraph size="small" margin="none">
|
|
12
|
+
Uuden kotivakuutuksesi tiedot ja asiakirjat löydät klikkaamalla tästä.
|
|
13
|
+
</duet-paragraph>
|
|
14
|
+
</duet-notification>
|
|
15
|
+
</duet-notification-drawer>
|
|
16
|
+
`, axeRunOptions);
|
|
17
|
+
expect(result).not.toBeNull();
|
|
18
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
19
|
+
});
|
|
20
|
+
it("should render an accessible component in an empty state", async () => {
|
|
21
|
+
const result = await testWithAxe(`
|
|
22
|
+
<duet-notification-drawer direction="right" label="Ilmoitukset" icon="messaging-notification">
|
|
23
|
+
</duet-notification-drawer>
|
|
24
|
+
`, axeRunOptions);
|
|
25
|
+
expect(result).not.toBeNull();
|
|
26
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
@@ -282,7 +282,7 @@ export class DuetNotificationDrawer {
|
|
|
282
282
|
"references": {
|
|
283
283
|
"DuetNotificationDrawerDirection": {
|
|
284
284
|
"location": "local",
|
|
285
|
-
"path": "/Users/
|
|
285
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-notification-drawer/duet-notification-drawer.tsx",
|
|
286
286
|
"id": "src/components/duet-notification-drawer/duet-notification-drawer.tsx::DuetNotificationDrawerDirection"
|
|
287
287
|
}
|
|
288
288
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-number-input", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-number-input label="Sijoitettava pääoma" value="100000" min="50000" max="500000" step="5000" unit="€">
|
|
9
|
+
</duet-number-input>
|
|
10
|
+
`, axeRunOptions);
|
|
11
|
+
expect(result).not.toBeNull();
|
|
12
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
13
|
+
});
|
|
14
|
+
});
|
|
@@ -932,7 +932,7 @@ export class DuetNumberInput {
|
|
|
932
932
|
"type": "string",
|
|
933
933
|
"mutable": false,
|
|
934
934
|
"complexType": {
|
|
935
|
-
"original": "string",
|
|
935
|
+
"original": "string | null",
|
|
936
936
|
"resolved": "string",
|
|
937
937
|
"references": {}
|
|
938
938
|
},
|
|
@@ -1022,7 +1022,7 @@ export class DuetNumberInput {
|
|
|
1022
1022
|
"references": {
|
|
1023
1023
|
"DuetNumberInputEvent": {
|
|
1024
1024
|
"location": "local",
|
|
1025
|
-
"path": "/Users/
|
|
1025
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1026
1026
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
@@ -1043,7 +1043,7 @@ export class DuetNumberInput {
|
|
|
1043
1043
|
"references": {
|
|
1044
1044
|
"DuetNumberInputEvent": {
|
|
1045
1045
|
"location": "local",
|
|
1046
|
-
"path": "/Users/
|
|
1046
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1047
1047
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
@@ -1064,7 +1064,7 @@ export class DuetNumberInput {
|
|
|
1064
1064
|
"references": {
|
|
1065
1065
|
"DuetNumberInputEvent": {
|
|
1066
1066
|
"location": "local",
|
|
1067
|
-
"path": "/Users/
|
|
1067
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1068
1068
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
@@ -1085,7 +1085,7 @@ export class DuetNumberInput {
|
|
|
1085
1085
|
"references": {
|
|
1086
1086
|
"DuetNumberInputEvent": {
|
|
1087
1087
|
"location": "local",
|
|
1088
|
-
"path": "/Users/
|
|
1088
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx",
|
|
1089
1089
|
"id": "src/components/duet-number-input/duet-number-input.tsx::DuetNumberInputEvent"
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-page-heading", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-page-heading layout="narrow" icon="category-car">
|
|
9
|
+
<duet-heading slot="heading" level="h1" margin="none">Lorem ipsum dolor sit</duet-heading>
|
|
10
|
+
</duet-page-heading>
|
|
11
|
+
`, axeRunOptions);
|
|
12
|
+
expect(result).not.toBeNull();
|
|
13
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-pagination", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-pagination></duet-pagination>
|
|
9
|
+
`, axeRunOptions);
|
|
10
|
+
expect(result).not.toBeNull();
|
|
11
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
12
|
+
});
|
|
13
|
+
it("should render an accessible component with links", async () => {
|
|
14
|
+
const result = await testWithAxe(`
|
|
15
|
+
<duet-pagination
|
|
16
|
+
total="10"
|
|
17
|
+
take="1"
|
|
18
|
+
current="1"
|
|
19
|
+
page-links='[
|
|
20
|
+
"/test-1",
|
|
21
|
+
"/test-2",
|
|
22
|
+
"/test-3",
|
|
23
|
+
"/test-4",
|
|
24
|
+
"/test-5",
|
|
25
|
+
"/test-6",
|
|
26
|
+
"/test-7",
|
|
27
|
+
"/test-8",
|
|
28
|
+
"/test-9",
|
|
29
|
+
"/test-10"
|
|
30
|
+
]'
|
|
31
|
+
></duet-pagination>
|
|
32
|
+
`, axeRunOptions);
|
|
33
|
+
expect(result).not.toBeNull();
|
|
34
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
35
|
+
});
|
|
36
|
+
});
|
|
@@ -409,7 +409,7 @@ export class DuetPagination {
|
|
|
409
409
|
"references": {
|
|
410
410
|
"DuetPaginationVariation": {
|
|
411
411
|
"location": "local",
|
|
412
|
-
"path": "/Users/
|
|
412
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx",
|
|
413
413
|
"id": "src/components/duet-pagination/duet-pagination.tsx::DuetPaginationVariation"
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -698,7 +698,7 @@ export class DuetPagination {
|
|
|
698
698
|
"references": {
|
|
699
699
|
"DuetPaginationPageEvent": {
|
|
700
700
|
"location": "local",
|
|
701
|
-
"path": "/Users/
|
|
701
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx",
|
|
702
702
|
"id": "src/components/duet-pagination/duet-pagination.tsx::DuetPaginationPageEvent"
|
|
703
703
|
}
|
|
704
704
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-paragraph", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-paragraph>
|
|
9
|
+
Majasalmi muistaa tarkalleen, koska hän otti ensiaskeleensa kohti
|
|
10
|
+
taloudellista riippumattomuutta. Tämä tapahtui 31.3.1998, kun hän avasi asuntosäästötilin ja talletti sille tuhat
|
|
11
|
+
markkaa. Tänä päivänä Majasalmi nauttii vakaasta taloudellisesta tilanteesta ja jakaa valmentajana osaamistaan myös
|
|
12
|
+
muille.
|
|
13
|
+
</duet-paragraph>
|
|
14
|
+
`, axeRunOptions);
|
|
15
|
+
expect(result).not.toBeNull();
|
|
16
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
17
|
+
});
|
|
18
|
+
});
|
|
@@ -109,7 +109,7 @@ export class DuetParagraph {
|
|
|
109
109
|
"references": {
|
|
110
110
|
"DuetParagraphSize": {
|
|
111
111
|
"location": "local",
|
|
112
|
-
"path": "/Users/
|
|
112
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
113
113
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphSize"
|
|
114
114
|
}
|
|
115
115
|
}
|
|
@@ -133,7 +133,7 @@ export class DuetParagraph {
|
|
|
133
133
|
"references": {
|
|
134
134
|
"DuetParagraphWeight": {
|
|
135
135
|
"location": "local",
|
|
136
|
-
"path": "/Users/
|
|
136
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
137
137
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphWeight"
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -157,7 +157,7 @@ export class DuetParagraph {
|
|
|
157
157
|
"references": {
|
|
158
158
|
"DuetParagraphVariation": {
|
|
159
159
|
"location": "local",
|
|
160
|
-
"path": "/Users/
|
|
160
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx",
|
|
161
161
|
"id": "src/components/duet-paragraph/duet-paragraph.tsx::DuetParagraphVariation"
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-popup-menu", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-button size="small" id="menu-toggle">toggle menu</duet-button>
|
|
9
|
+
<duet-popup-menu accessibleLabel="Sample action menu" id="sample-menu">
|
|
10
|
+
<duet-popup-menu-item leading-icon="category-pet">Some Action</duet-popup-menu-item>
|
|
11
|
+
<duet-popup-menu-item>Another Action With a Much Longer Label</duet-popup-menu-item>
|
|
12
|
+
<duet-popup-menu-item active trailing-icon="messaging-success">Active Action</duet-popup-menu-item>
|
|
13
|
+
<duet-popup-menu-item url="#" trailing-text="⌘ A">Actually a link</duet-popup-menu-item>
|
|
14
|
+
</duet-popup-menu>
|
|
15
|
+
|
|
16
|
+
<script>
|
|
17
|
+
document.getElementById('menu-toggle').addEventListener('click', function(evt) {
|
|
18
|
+
const menu = document.getElementById('sample-menu');
|
|
19
|
+
menu.controller = evt.target;
|
|
20
|
+
menu.toggle();
|
|
21
|
+
});
|
|
22
|
+
</script>
|
|
23
|
+
`, axeRunOptions);
|
|
24
|
+
expect(result).not.toBeNull();
|
|
25
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
@@ -331,7 +331,7 @@ export class DuetPopupMenu {
|
|
|
331
331
|
"references": {
|
|
332
332
|
"DuetPopupMenuEvent": {
|
|
333
333
|
"location": "local",
|
|
334
|
-
"path": "/Users/
|
|
334
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-popup-menu/duet-popup-menu.tsx",
|
|
335
335
|
"id": "src/components/duet-popup-menu/duet-popup-menu.tsx::DuetPopupMenuEvent"
|
|
336
336
|
}
|
|
337
337
|
}
|
|
@@ -278,7 +278,7 @@ export class DuetPopupMenuItem {
|
|
|
278
278
|
"references": {
|
|
279
279
|
"DuetPopupMenuItemEvent": {
|
|
280
280
|
"location": "local",
|
|
281
|
-
"path": "/Users/
|
|
281
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-popup-menu-item/duet-popup-menu-item.tsx",
|
|
282
282
|
"id": "src/components/duet-popup-menu-item/duet-popup-menu-item.tsx::DuetPopupMenuItemEvent"
|
|
283
283
|
}
|
|
284
284
|
}
|
|
@@ -299,7 +299,7 @@ export class DuetPopupMenuItem {
|
|
|
299
299
|
"references": {
|
|
300
300
|
"DuetPopupMenuItemEvent": {
|
|
301
301
|
"location": "local",
|
|
302
|
-
"path": "/Users/
|
|
302
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-popup-menu-item/duet-popup-menu-item.tsx",
|
|
303
303
|
"id": "src/components/duet-popup-menu-item/duet-popup-menu-item.tsx::DuetPopupMenuItemEvent"
|
|
304
304
|
}
|
|
305
305
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, mergeRules, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
const disabledRules = {
|
|
6
|
+
// Axe doesn't recognize the label element which provides a name for the component
|
|
7
|
+
"aria-progressbar-name": { enabled: false },
|
|
8
|
+
};
|
|
9
|
+
describe("[a11y] duet-progress", () => {
|
|
10
|
+
it("should render an accessible component", async () => {
|
|
11
|
+
const result = await testWithAxe(`
|
|
12
|
+
<duet-progress height="5px" progress="20" id="testprogress" accessible-label="someFile.png"></duet-progress>
|
|
13
|
+
`, mergeRules(axeRunOptions, disabledRules));
|
|
14
|
+
expect(result).not.toBeNull();
|
|
15
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
@@ -53,7 +53,7 @@ export class DuetProgress {
|
|
|
53
53
|
"duet-progress-start": this.progress === 0,
|
|
54
54
|
"duet-progress-inprogress": this.progress < 99 && this.progress !== 0,
|
|
55
55
|
"duet-theme-turva": this.theme === "turva",
|
|
56
|
-
} }, h("duet-visually-hidden", null, h("label", { htmlFor: this.progressLabelId },
|
|
56
|
+
} }, h("duet-visually-hidden", null, h("label", { htmlFor: this.progressLabelId }, h("span", null, this.accessibleLabel, this.progress !== 0 && `, ${this.accessibleLabelUpload[this.progress < 99 ? 1 : 0]}`))), this.caption && (h("div", { class: "duet-progress-caption" }, h("span", null, this.caption))), h("progress", { id: this.progressLabelId, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, role: "progressbar", value: this.progress, max: "100", "aria-valuemin": "0", "aria-valuemax": "100" }, h("div", { class: "progress-bar" }, h("span", { style: { width: `${this.progress}%;` } }, "Progress: ", this.progress, "%"))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "duet-progress"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-promo-card", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-promo-card
|
|
9
|
+
size="auto"
|
|
10
|
+
image="https://www.duetds.com/assets/img/example-banner1.jpg"
|
|
11
|
+
icon="category-apartment"
|
|
12
|
+
margin="none"
|
|
13
|
+
>
|
|
14
|
+
<span slot="pre-heading" class="meta">
|
|
15
|
+
Etunimi Sukunimi
|
|
16
|
+
<span class="separator"></span>
|
|
17
|
+
Teema
|
|
18
|
+
<span class="separator"></span>
|
|
19
|
+
21.3.2023
|
|
20
|
+
</span>
|
|
21
|
+
<span slot="heading">
|
|
22
|
+
Card heading
|
|
23
|
+
</span>
|
|
24
|
+
<span slot="description">
|
|
25
|
+
Card content lorem ipsum dolor sit amet
|
|
26
|
+
consectetuer adipiscing elit no nummy laoreet lorem ipsum.
|
|
27
|
+
</span>
|
|
28
|
+
<duet-button
|
|
29
|
+
slot="action"
|
|
30
|
+
margin="none"
|
|
31
|
+
variation="primary"
|
|
32
|
+
size="small"
|
|
33
|
+
icon="navigation-arrow-right"
|
|
34
|
+
icon-right
|
|
35
|
+
>
|
|
36
|
+
Call to action
|
|
37
|
+
</duet-button>
|
|
38
|
+
</duet-promo-card>
|
|
39
|
+
`, axeRunOptions);
|
|
40
|
+
expect(result).not.toBeNull();
|
|
41
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
42
|
+
});
|
|
43
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { formatViolations, options as axeRunOptions, testWithAxe } from "../../utils/axe-core-utils";
|
|
5
|
+
describe("[a11y] duet-radio", () => {
|
|
6
|
+
it("should render an accessible component", async () => {
|
|
7
|
+
const result = await testWithAxe(`
|
|
8
|
+
<duet-radio checked label="Checked" value="test"></duet-radio>
|
|
9
|
+
`, axeRunOptions);
|
|
10
|
+
expect(result).not.toBeNull();
|
|
11
|
+
expect(formatViolations(result.violations)).toEqual([]);
|
|
12
|
+
});
|
|
13
|
+
});
|