@duetds/components 8.6.9 → 8.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/hydrate/index.d.ts +30 -12
- package/hydrate/index.js +33051 -23517
- package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-alert.cjs.entry.js +10 -9
- package/lib/cjs/duet-badge.cjs.entry.js +5 -4
- package/lib/cjs/duet-banner.cjs.entry.js +6 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
- package/lib/cjs/duet-callout.cjs.entry.js +6 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
- package/lib/cjs/duet-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
- package/lib/cjs/duet-footer.cjs.entry.js +9 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-hero.cjs.entry.js +10 -9
- package/lib/cjs/duet-icon.cjs.entry.js +6 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-layout.cjs.entry.js +8 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
- package/lib/cjs/duet-modal.cjs.entry.js +17 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
- package/lib/cjs/duet-nav.cjs.entry.js +4 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
- package/lib/cjs/duet-progress.cjs.entry.js +4 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +24 -21
- package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
- package/lib/cjs/duet-select.cjs.entry.js +4 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
- package/lib/cjs/duet-tray.cjs.entry.js +6 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
- package/lib/cjs/duet.cjs.js +15 -15
- package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
- package/lib/cjs/{focus-utils-70eaf22e.js → focus-utils-2de8d5de.js} +1 -1
- package/lib/cjs/index-7efe7e19.js +1996 -0
- package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
- package/lib/cjs/loader.cjs.js +4 -4
- package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +3 -3
- package/lib/collection/components/duet-alert/duet-alert.js +6 -6
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +10 -10
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +3 -3
- package/lib/collection/components/duet-card/duet-card.js +6 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +7 -7
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
- package/lib/collection/components/duet-footer/duet-footer.js +11 -11
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +3 -3
- package/lib/collection/components/duet-hero/duet-hero.js +10 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +6 -6
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +6 -0
- package/lib/collection/components/duet-modal/duet-modal.js +14 -12
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +12 -12
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +3 -3
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +16 -16
- package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -5
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/axe-core-utils.js +12 -4
- package/lib/collection/utils/test-utils.js +82 -32
- 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 +9 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
- package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +7 -6
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +8 -7
- 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 +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +11 -10
- package/lib/dist-custom-elements/duet-choice.js +8 -7
- package/lib/dist-custom-elements/duet-collapsible.js +7 -6
- package/lib/dist-custom-elements/duet-combobox.js +17 -16
- package/lib/dist-custom-elements/duet-contact-card.js +13 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
- package/lib/dist-custom-elements/duet-date-picker.js +19 -18
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +11 -10
- 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-file-chooser.js +5 -4
- package/lib/dist-custom-elements/duet-footer.js +15 -14
- 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 +12 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +18 -17
- 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 +8 -7
- 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 +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
- package/lib/dist-custom-elements/duet-modal.js +24 -21
- package/lib/dist-custom-elements/duet-multiselect.js +19 -18
- package/lib/dist-custom-elements/duet-nav.js +4 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
- package/lib/dist-custom-elements/duet-notification.js +7 -6
- package/lib/dist-custom-elements/duet-number-input.js +15 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +6 -5
- package/lib/dist-custom-elements/duet-pagination.js +27 -26
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +8 -7
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +3 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +6 -5
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
- package/lib/dist-custom-elements/duet-slideout.js +12 -11
- 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 +6 -5
- package/lib/dist-custom-elements/duet-stepper.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -20
- package/lib/dist-custom-elements/duet-tab.js +4 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +13 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -3
- 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 +8 -7
- 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 +25 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +2 -1
- package/lib/dist-custom-elements/{p-b5a6f5f9.js → p-00eccbc8.js} +5 -4
- package/lib/dist-custom-elements/{p-b87843f5.js → p-0231ea20.js} +5 -4
- package/lib/dist-custom-elements/{p-c99bddba.js → p-02911244.js} +3 -3
- package/lib/dist-custom-elements/{p-78209aab.js → p-03c64124.js} +5 -4
- package/lib/dist-custom-elements/{p-e6d523be.js → p-12a09bbc.js} +5 -4
- package/lib/dist-custom-elements/{p-1957643a.js → p-151934ce.js} +8 -7
- package/lib/dist-custom-elements/{p-1ea56cf4.js → p-1c341405.js} +11 -10
- package/lib/dist-custom-elements/{p-f1028141.js → p-21e0af47.js} +18 -17
- package/lib/dist-custom-elements/{p-74d01f33.js → p-26d4d49e.js} +3 -2
- package/lib/dist-custom-elements/{p-3cf82739.js → p-2a041992.js} +7 -6
- package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
- package/lib/dist-custom-elements/{p-f3728487.js → p-330bf2a1.js} +4 -3
- package/lib/dist-custom-elements/{p-66c352ec.js → p-37e44d89.js} +5 -4
- package/lib/dist-custom-elements/{p-f88a470f.js → p-384f880b.js} +6 -5
- package/lib/dist-custom-elements/{p-b40ce3f5.js → p-3e74515a.js} +10 -9
- package/lib/dist-custom-elements/{p-08fe569b.js → p-401b6b1f.js} +5 -4
- package/lib/dist-custom-elements/{p-2329d234.js → p-45dd5240.js} +7 -6
- package/lib/dist-custom-elements/p-47c44289.js +178 -0
- package/lib/dist-custom-elements/{p-b4c1ec48.js → p-48a3af88.js} +3 -2
- package/lib/dist-custom-elements/{p-30e63ae6.js → p-5ad5934d.js} +4 -3
- package/lib/dist-custom-elements/{p-5eecfef8.js → p-61ffea9e.js} +6 -5
- package/lib/dist-custom-elements/{p-2af5e0df.js → p-6bd18890.js} +15 -14
- package/lib/dist-custom-elements/{p-9dec9a4f.js → p-706daff4.js} +14 -13
- package/lib/dist-custom-elements/{p-8cb65ba1.js → p-7666f1bc.js} +5 -4
- package/lib/dist-custom-elements/{p-813731c9.js → p-7eef087e.js} +12 -11
- package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
- package/lib/{esm/slot-utils-b50aaef5.js → dist-custom-elements/p-895db398.js} +2 -0
- package/lib/dist-custom-elements/{p-c5e0f02e.js → p-8fb1d873.js} +15 -14
- package/lib/dist-custom-elements/{p-493f8393.js → p-955053f9.js} +7 -5
- package/lib/dist-custom-elements/p-955746f9.js +1848 -0
- package/lib/dist-custom-elements/{p-fca7381f.js → p-9bda0343.js} +5 -4
- package/lib/dist-custom-elements/{p-a8e03f99.js → p-9d348a4b.js} +4 -3
- package/lib/dist-custom-elements/{p-ff1270a4.js → p-9dc74a9b.js} +8 -7
- package/lib/dist-custom-elements/{p-db050a49.js → p-ad23e869.js} +6 -5
- package/lib/dist-custom-elements/{p-4d30ade6.js → p-b8bb3910.js} +5 -4
- package/lib/dist-custom-elements/{p-3669efe2.js → p-bb20326f.js} +4 -3
- package/lib/dist-custom-elements/{p-01cf2a68.js → p-c7a796da.js} +4 -3
- package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
- package/lib/dist-custom-elements/{p-098dceeb.js → p-d7ff39b6.js} +5 -4
- package/lib/dist-custom-elements/{p-fb63363c.js → p-e091bb48.js} +3 -2
- package/lib/dist-custom-elements/{p-8812cc2d.js → p-f1938f1a.js} +3 -2
- package/lib/dist-custom-elements/{p-d37c28c4.js → p-fd601808.js} +9 -8
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-01e99b47.system.entry.js +4 -0
- package/lib/duet/p-032d42d4.entry.js +4 -0
- package/lib/duet/{p-479356b0.system.entry.js → p-06472b8c.entry.js} +1 -1
- package/lib/duet/p-064b908b.entry.js +4 -0
- package/lib/duet/p-069aaf78.entry.js +4 -0
- package/lib/duet/{p-6b262dd3.system.entry.js → p-077b9a06.system.entry.js} +1 -1
- package/lib/duet/p-08866b96.system.entry.js +4 -0
- package/lib/duet/{p-7f2d5f51.system.entry.js → p-08daf525.system.entry.js} +1 -1
- package/lib/duet/p-0a042569.entry.js +4 -0
- package/lib/duet/p-0c3a491b.system.entry.js +4 -0
- package/lib/duet/{p-655f4a55.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
- package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
- package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
- package/lib/duet/{p-417beb9a.system.entry.js → p-115a50f2.system.entry.js} +1 -1
- package/lib/duet/{p-cb19e302.system.entry.js → p-12b4df90.system.entry.js} +1 -1
- package/lib/duet/p-13ea970e.system.entry.js +4 -0
- package/lib/duet/{p-a348c54b.entry.js → p-155b7733.entry.js} +1 -1
- package/lib/duet/p-16be8ba9.entry.js +4 -0
- package/lib/duet/{p-ffe56186.entry.js → p-16e63390.entry.js} +1 -1
- package/lib/duet/p-1784b1d2.js +1 -1
- package/lib/duet/{p-704c0f0d.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
- package/lib/duet/p-1801e2be.entry.js +4 -0
- package/lib/duet/p-18d8207e.entry.js +4 -0
- package/lib/duet/{p-8ca5bf9e.entry.js → p-198b0f16.entry.js} +1 -1
- package/lib/duet/p-1a6ea3db.entry.js +4 -0
- package/lib/duet/p-1d1f8607.entry.js +4 -0
- package/lib/duet/p-23805ac9.entry.js +4 -0
- package/lib/duet/p-2383fbeb.entry.js +4 -0
- package/lib/duet/p-2504c504.entry.js +4 -0
- package/lib/duet/p-28106a87.system.entry.js +4 -0
- package/lib/duet/{p-8d1b8830.system.entry.js → p-2928c320.system.entry.js} +1 -1
- package/lib/duet/{p-47f78f59.entry.js → p-29665476.entry.js} +1 -1
- package/lib/duet/p-2aa796b7.js +4 -0
- package/lib/duet/p-2b9defde.system.entry.js +4 -0
- package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
- package/lib/duet/p-300c8dd9.entry.js +4 -0
- package/lib/duet/{p-a7f18b4b.entry.js → p-32be247b.entry.js} +1 -1
- package/lib/duet/p-32d698f2.system.entry.js +4 -0
- package/lib/duet/{p-0f729e7b.entry.js → p-364d7058.entry.js} +1 -1
- package/lib/duet/p-3e1a0cb7.entry.js +4 -0
- package/lib/duet/p-41b6d132.entry.js +4 -0
- package/lib/duet/{p-6686effb.entry.js → p-41d5039a.entry.js} +1 -1
- package/lib/duet/p-428f66d6.system.entry.js +4 -0
- package/lib/duet/p-42e31c87.entry.js +4 -0
- package/lib/duet/p-43417c63.entry.js +4 -0
- package/lib/duet/{p-d4ff7def.system.entry.js → p-4487736b.system.entry.js} +1 -1
- package/lib/duet/p-4520f63d.system.entry.js +4 -0
- package/lib/duet/p-46079f71.entry.js +4 -0
- package/lib/duet/p-48879a51.entry.js +4 -0
- package/lib/duet/{p-1cdd5c02.entry.js → p-4a8d2af0.entry.js} +1 -1
- package/lib/duet/{p-60b05f1a.js → p-4bc401c3.js} +1 -1
- package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
- package/lib/duet/p-54351362.entry.js +4 -0
- package/lib/duet/p-54c28fa4.system.entry.js +4 -0
- package/lib/duet/p-55327462.entry.js +4 -0
- package/lib/duet/p-5672308b.entry.js +4 -0
- package/lib/duet/p-56d35ccf.system.entry.js +4 -0
- package/lib/duet/p-5776972c.entry.js +4 -0
- package/lib/duet/p-585ad67b.entry.js +4 -0
- package/lib/duet/p-5866eaea.entry.js +4 -0
- package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
- package/lib/duet/p-5abdc5ab.entry.js +4 -0
- package/lib/duet/p-5cb08833.system.entry.js +4 -0
- package/lib/duet/p-5f3de870.system.entry.js +4 -0
- package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
- package/lib/duet/{p-a7142da1.entry.js → p-60d43265.entry.js} +1 -1
- package/lib/duet/{p-476dc053.system.entry.js → p-61a24bce.system.entry.js} +1 -1
- package/lib/duet/{p-9babc342.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
- package/lib/duet/p-6892b798.system.entry.js +4 -0
- package/lib/duet/{p-606b73ad.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
- package/lib/duet/p-68f52c23.system.entry.js +4 -0
- package/lib/duet/p-693ad8aa.entry.js +4 -0
- package/lib/duet/{p-a5701d13.system.entry.js → p-6a496c70.system.entry.js} +1 -1
- package/lib/duet/{p-7ab2768e.entry.js → p-6a84bf93.entry.js} +1 -1
- package/lib/duet/p-6bb927f9.system.entry.js +4 -0
- package/lib/duet/p-6c76d396.entry.js +4 -0
- package/lib/duet/p-6cdd3596.entry.js +4 -0
- package/lib/duet/{p-a2721f76.system.entry.js → p-6d157e53.system.entry.js} +1 -1
- package/lib/duet/p-6d75cdf6.system.js +4 -0
- package/lib/duet/p-6db296a5.entry.js +4 -0
- package/lib/duet/{p-7f1f146d.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
- package/lib/duet/{p-cd06b10d.system.entry.js → p-70ba1823.system.entry.js} +1 -1
- package/lib/duet/p-72affe21.system.entry.js +4 -0
- package/lib/duet/p-7340e2e2.entry.js +4 -0
- package/lib/duet/p-7344d97c.system.js +4 -0
- package/lib/duet/p-7a5dd34d.entry.js +4 -0
- package/lib/duet/p-7b0e681f.system.entry.js +4 -0
- package/lib/duet/{p-91397e6b.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
- package/lib/duet/p-7c3649ba.js +5 -0
- package/lib/duet/p-7c533802.entry.js +4 -0
- package/lib/duet/p-7d473104.system.entry.js +4 -0
- package/lib/duet/{p-50245e90.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
- package/lib/duet/p-7f8fc279.entry.js +4 -0
- package/lib/duet/p-7ff17c05.system.entry.js +4 -0
- package/lib/duet/p-80d722bc.entry.js +4 -0
- package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
- package/lib/duet/p-813c2271.entry.js +4 -0
- package/lib/duet/{p-f04d6b0b.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
- package/lib/duet/{p-8a10dc98.system.entry.js → p-84c50c75.system.entry.js} +1 -1
- package/lib/duet/p-8589c504.system.entry.js +4 -0
- package/lib/duet/p-86361d66.system.entry.js +4 -0
- package/lib/duet/p-8aefdb36.entry.js +4 -0
- package/lib/duet/p-8d4fde72.entry.js +4 -0
- package/lib/duet/{p-3d4de145.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
- package/lib/duet/p-933895d6.system.entry.js +4 -0
- package/lib/duet/p-93d9f454.system.js +4 -0
- package/lib/duet/{p-93db9152.system.entry.js → p-95778aca.system.entry.js} +2 -2
- package/lib/duet/{p-8030b82b.entry.js → p-97f74160.entry.js} +1 -1
- package/lib/duet/p-98ac1721.system.entry.js +4 -0
- package/lib/duet/{p-2eb2da03.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
- package/lib/duet/{p-518dea6c.entry.js → p-9bdec5df.entry.js} +1 -1
- package/lib/duet/p-9d4cd103.system.entry.js +4 -0
- package/lib/duet/p-9d5823eb.entry.js +4 -0
- package/lib/duet/{p-a17fa7ec.entry.js → p-9e60a58d.entry.js} +1 -1
- package/lib/duet/p-9ef799f8.js +4 -0
- package/lib/duet/p-9f850d18.system.entry.js +4 -0
- package/lib/duet/p-9f9e290a.system.entry.js +4 -0
- package/lib/duet/p-a168b3f5.system.js +4 -0
- package/lib/duet/p-a32dad7f.system.entry.js +4 -0
- package/lib/duet/p-a4d9c151.system.entry.js +4 -0
- package/lib/duet/p-a5d65d5f.entry.js +4 -0
- package/lib/duet/{p-b4ac803f.system.entry.js → p-a7768425.system.entry.js} +2 -2
- package/lib/duet/p-a7c62459.system.entry.js +4 -0
- package/lib/duet/{p-7cbd0a49.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
- package/lib/duet/{p-0d0f1937.system.entry.js → p-a9891098.system.entry.js} +1 -1
- package/lib/duet/p-aa1f6b55.entry.js +4 -0
- package/lib/duet/p-ac596f9f.entry.js +4 -0
- package/lib/duet/p-acd65ed7.entry.js +4 -0
- package/lib/duet/p-ad433963.system.entry.js +4 -0
- package/lib/duet/{p-366c4344.entry.js → p-ae714885.entry.js} +1 -1
- package/lib/duet/p-aeaa9698.entry.js +4 -0
- package/lib/duet/{p-2dfd9b5a.system.entry.js → p-aface64d.system.entry.js} +1 -1
- package/lib/duet/p-afadf391.entry.js +4 -0
- package/lib/duet/p-b0be53ba.entry.js +4 -0
- package/lib/duet/p-b25d69bf.system.entry.js +4 -0
- package/lib/duet/p-b2b49d1a.entry.js +4 -0
- package/lib/duet/p-b3bff87d.entry.js +4 -0
- package/lib/duet/{p-940923be.system.entry.js → p-b5e50220.system.entry.js} +2 -2
- package/lib/duet/{p-dab3f2c1.system.entry.js → p-b70dd317.system.entry.js} +1 -1
- package/lib/duet/p-b8fc9725.system.entry.js +4 -0
- package/lib/duet/p-b9772bdf.entry.js +4 -0
- package/lib/duet/p-b9e27ff4.entry.js +4 -0
- package/lib/duet/{p-c13130e0.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
- package/lib/duet/p-bd936407.js +4 -0
- package/lib/duet/{p-46411634.system.entry.js → p-bddc227d.system.entry.js} +1 -1
- package/lib/duet/{p-419155c3.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
- package/lib/duet/p-bfecf35c.entry.js +4 -0
- package/lib/duet/p-c1445714.system.js +1 -1
- package/lib/duet/p-c3de57c1.system.entry.js +4 -0
- package/lib/duet/{p-0570cfe8.system.entry.js → p-c45a4823.system.entry.js} +1 -1
- package/lib/duet/p-c45c1cc8.entry.js +4 -0
- package/lib/duet/p-c5759522.system.entry.js +4 -0
- package/lib/duet/p-c62ed778.entry.js +4 -0
- package/lib/duet/{p-b43d1482.entry.js → p-cb4e6c86.entry.js} +1 -1
- package/lib/duet/p-cf83f662.entry.js +4 -0
- package/lib/duet/p-d0f3224e.entry.js +4 -0
- package/lib/duet/{p-7d7195fa.system.entry.js → p-d52fa492.system.entry.js} +1 -1
- package/lib/duet/p-d6c95c73.system.entry.js +4 -0
- package/lib/duet/p-d920063d.entry.js +4 -0
- package/lib/duet/p-dde61943.system.js +4 -0
- package/lib/duet/p-e0db32fc.system.entry.js +4 -0
- package/lib/duet/p-e38064d5.entry.js +4 -0
- package/lib/duet/p-e4674cda.entry.js +4 -0
- package/lib/duet/p-e7d7928e.system.js +5 -0
- package/lib/duet/{p-e10fb0a3.entry.js → p-e824a614.entry.js} +1 -1
- package/lib/duet/p-ec143606.entry.js +4 -0
- package/lib/duet/{p-d02d3b69.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
- package/lib/duet/p-ee8bcb1f.entry.js +4 -0
- package/lib/duet/{p-38d89cee.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
- package/lib/duet/{p-4b7aa601.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
- package/lib/duet/p-f0eeebb5.entry.js +4 -0
- package/lib/duet/p-f1a726c9.entry.js +4 -0
- package/lib/duet/{p-1654f122.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
- package/lib/duet/{p-2de06e83.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
- package/lib/duet/p-f6fc4754.system.entry.js +4 -0
- package/lib/duet/p-f9069050.system.entry.js +4 -0
- package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
- package/lib/duet/{p-b3042ddc.entry.js → p-fc76bb60.entry.js} +1 -1
- package/lib/duet/p-fd1cbfc8.entry.js +4 -0
- package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
- package/lib/esm/duet-action-button.entry.js +5 -4
- package/lib/esm/duet-alert.entry.js +10 -9
- package/lib/esm/duet-badge.entry.js +5 -4
- package/lib/esm/duet-banner.entry.js +6 -5
- package/lib/esm/duet-breadcrumb.entry.js +8 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -5
- package/lib/esm/duet-button_2.entry.js +13 -11
- package/lib/esm/duet-callout.entry.js +6 -5
- package/lib/esm/duet-caption_4.entry.js +18 -14
- package/lib/esm/duet-card.entry.js +6 -5
- package/lib/esm/duet-checkbox.entry.js +3 -2
- package/lib/esm/duet-checkmark.entry.js +5 -4
- package/lib/esm/duet-chip.entry.js +4 -3
- package/lib/esm/duet-choice_2.entry.js +7 -5
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +5 -4
- package/lib/esm/duet-contact-card.entry.js +6 -5
- package/lib/esm/duet-cookie-consent.entry.js +4 -3
- package/lib/esm/duet-date-picker.entry.js +6 -5
- package/lib/esm/duet-divider_2.entry.js +7 -5
- package/lib/esm/duet-editable-table_3.entry.js +13 -10
- package/lib/esm/duet-empty-state.entry.js +5 -4
- package/lib/esm/duet-fieldset.entry.js +7 -6
- package/lib/esm/duet-file-chooser.entry.js +4 -3
- package/lib/esm/duet-footer.entry.js +9 -8
- package/lib/esm/duet-grid_2.entry.js +5 -3
- package/lib/esm/duet-header_2.entry.js +7 -5
- package/lib/esm/duet-hero.entry.js +10 -9
- package/lib/esm/duet-icon.entry.js +6 -5
- package/lib/esm/duet-input_2.entry.js +7 -5
- package/lib/esm/duet-layout.entry.js +8 -7
- package/lib/esm/duet-list_2.entry.js +8 -6
- package/lib/esm/duet-menu-bar-button.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-menu-bar-item.entry.js +5 -4
- package/lib/esm/duet-menu-bar-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar.entry.js +5 -4
- package/lib/esm/duet-modal.entry.js +17 -14
- package/lib/esm/duet-multiselect.entry.js +11 -10
- package/lib/esm/duet-nav.entry.js +4 -3
- package/lib/esm/duet-notification_2.entry.js +10 -8
- package/lib/esm/duet-number-input.entry.js +5 -4
- package/lib/esm/duet-overlay.entry.js +4 -3
- package/lib/esm/duet-page-heading.entry.js +5 -4
- package/lib/esm/duet-pagination_2.entry.js +19 -17
- package/lib/esm/duet-popup-menu-item.entry.js +4 -3
- package/lib/esm/duet-popup-menu.entry.js +6 -5
- package/lib/esm/duet-progress.entry.js +4 -3
- package/lib/esm/duet-promo-card.entry.js +6 -5
- package/lib/esm/duet-radio_2.entry.js +6 -4
- package/lib/esm/duet-range-slider.entry.js +3 -2
- package/lib/esm/duet-scrollable_3.entry.js +24 -21
- package/lib/esm/duet-section-layout.entry.js +6 -5
- package/lib/esm/duet-select.entry.js +4 -3
- package/lib/esm/duet-shaped-image.entry.js +5 -4
- package/lib/esm/duet-show-more.entry.js +6 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -4
- package/lib/esm/duet-slideout-link.entry.js +5 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -11
- package/lib/esm/duet-slideout.entry.js +10 -9
- package/lib/esm/duet-step_2.entry.js +6 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -6
- package/lib/esm/duet-textarea.entry.js +4 -3
- package/lib/esm/duet-toggle.entry.js +3 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
- package/lib/esm/duet-toolbar-item.entry.js +5 -4
- package/lib/esm/duet-toolbar-link.entry.js +5 -4
- package/lib/esm/duet-toolbar.entry.js +4 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
- package/lib/esm/duet-tooltip.entry.js +5 -4
- package/lib/esm/duet-tray.entry.js +6 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +7 -6
- package/lib/esm/duet-visually-hidden.entry.js +4 -3
- package/lib/esm/duet.js +16 -16
- package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm/{focus-utils-be6b1c62.js → focus-utils-f583d4fb.js} +1 -1
- package/lib/esm/index-640026f0.js +1962 -0
- package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
- package/lib/esm/loader.js +5 -5
- package/lib/{dist-custom-elements/p-06e608ae.js → esm/slot-utils-00899492.js} +2 -0
- package/lib/esm/token-utils-1f843fb9.js +1 -1
- package/lib/esm-es5/app-globals-21820dd0.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- 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 +2 -2
- 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-file-chooser.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- 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-item.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- 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-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +2 -2
- package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
- package/lib/esm-es5/index-640026f0.js +5 -0
- package/lib/esm-es5/language-utils-eda57343.js +4 -0
- package/lib/esm-es5/loader.js +2 -2
- package/lib/esm-es5/slot-utils-00899492.js +4 -0
- package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
- package/lib/loader/cdn.js +1 -1
- package/lib/loader/index.cjs.js +1 -1
- package/lib/loader/index.d.ts +3 -0
- package/lib/loader/index.es2017.js +1 -1
- package/lib/loader/index.js +1 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
- package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +3 -10
- package/lib/types/utils/axe-core-utils.d.ts +2 -1
- package/lib/types/utils/test-utils.d.ts +22 -10
- package/lib/types/utils/watch-options.d.ts +2 -2
- package/package.json +17 -16
- package/lib/cjs/index-1d154c3d.js +0 -2836
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
- package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
- package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
- package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
- package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
- package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
- package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
- package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
- package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
- package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
- package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
- package/lib/collection/utils/create-id.spec.js +0 -12
- package/lib/collection/utils/js-utils.spec.js +0 -22
- package/lib/collection/utils/language-utils.spec.js +0 -159
- package/lib/collection/utils/math.utils.spec.js +0 -140
- package/lib/collection/utils/string-utils.spec.js +0 -39
- package/lib/collection/utils/template-utils.spec.js +0 -39
- package/lib/collection/utils/token-utils.spec.js +0 -178
- package/lib/dist-custom-elements/p-33937fd7.js +0 -183
- package/lib/dist-custom-elements/p-7b0b6925.js +0 -2333
- package/lib/duet/p-01044e64.entry.js +0 -4
- package/lib/duet/p-01635f49.js +0 -5
- package/lib/duet/p-028596d1.entry.js +0 -4
- package/lib/duet/p-05167460.entry.js +0 -4
- package/lib/duet/p-06e608ae.js +0 -4
- package/lib/duet/p-095f9c72.system.entry.js +0 -4
- package/lib/duet/p-0c821ea2.system.js +0 -4
- package/lib/duet/p-0cdcb955.entry.js +0 -4
- package/lib/duet/p-0ef5dade.entry.js +0 -4
- package/lib/duet/p-12f0dcca.entry.js +0 -4
- package/lib/duet/p-136c0687.entry.js +0 -4
- package/lib/duet/p-1477d402.system.entry.js +0 -4
- package/lib/duet/p-14e5c935.system.entry.js +0 -4
- package/lib/duet/p-15d5ff60.entry.js +0 -4
- package/lib/duet/p-1b4e3fcf.system.entry.js +0 -4
- package/lib/duet/p-1dad75e9.entry.js +0 -4
- package/lib/duet/p-1fa00f4f.system.entry.js +0 -4
- package/lib/duet/p-224f6c46.system.js +0 -4
- package/lib/duet/p-259a297a.system.js +0 -4
- package/lib/duet/p-2792c1b4.entry.js +0 -4
- package/lib/duet/p-28513260.entry.js +0 -4
- package/lib/duet/p-2a05757d.entry.js +0 -4
- package/lib/duet/p-2aabb878.entry.js +0 -4
- package/lib/duet/p-2aca6483.system.js +0 -4
- package/lib/duet/p-2d73e78b.entry.js +0 -4
- package/lib/duet/p-2e36d5bf.js +0 -4
- package/lib/duet/p-2f0daa09.system.entry.js +0 -4
- package/lib/duet/p-2fadd817.entry.js +0 -4
- package/lib/duet/p-31b71b99.system.entry.js +0 -4
- package/lib/duet/p-34c19a8a.entry.js +0 -4
- package/lib/duet/p-37afd249.entry.js +0 -4
- package/lib/duet/p-37b48e0b.system.entry.js +0 -4
- package/lib/duet/p-37f42a8d.system.entry.js +0 -4
- package/lib/duet/p-3a087db3.system.entry.js +0 -4
- package/lib/duet/p-3badecf6.system.entry.js +0 -4
- package/lib/duet/p-3c3ab066.system.entry.js +0 -4
- package/lib/duet/p-3f77a3e2.system.entry.js +0 -4
- package/lib/duet/p-4035c9f1.system.entry.js +0 -4
- package/lib/duet/p-418733c5.entry.js +0 -4
- package/lib/duet/p-441f4aa8.entry.js +0 -4
- package/lib/duet/p-4b451109.entry.js +0 -4
- package/lib/duet/p-5635eccc.entry.js +0 -4
- package/lib/duet/p-5859c6b7.system.entry.js +0 -4
- package/lib/duet/p-5bbb20a0.system.entry.js +0 -4
- package/lib/duet/p-5c7e904f.entry.js +0 -4
- package/lib/duet/p-605072dd.entry.js +0 -4
- package/lib/duet/p-633278cf.entry.js +0 -4
- package/lib/duet/p-6495c102.entry.js +0 -4
- package/lib/duet/p-6613499b.entry.js +0 -4
- package/lib/duet/p-674ce221.entry.js +0 -4
- package/lib/duet/p-687afd1a.entry.js +0 -4
- package/lib/duet/p-696cc1d4.entry.js +0 -4
- package/lib/duet/p-69c43646.system.entry.js +0 -4
- package/lib/duet/p-6d839458.js +0 -4
- package/lib/duet/p-73223e72.entry.js +0 -4
- package/lib/duet/p-7328bb6a.entry.js +0 -4
- package/lib/duet/p-739682b8.system.entry.js +0 -4
- package/lib/duet/p-751d5193.entry.js +0 -4
- package/lib/duet/p-76fd2f68.entry.js +0 -4
- package/lib/duet/p-79e725f1.entry.js +0 -4
- package/lib/duet/p-7a9415d0.entry.js +0 -4
- package/lib/duet/p-7d12dd5c.entry.js +0 -4
- package/lib/duet/p-8626151c.system.entry.js +0 -4
- package/lib/duet/p-89e82f95.system.js +0 -5
- package/lib/duet/p-8a826104.entry.js +0 -4
- package/lib/duet/p-8aa8d5ab.entry.js +0 -4
- package/lib/duet/p-8ab298d2.entry.js +0 -4
- package/lib/duet/p-8b198447.system.entry.js +0 -4
- package/lib/duet/p-8c0d68e6.entry.js +0 -4
- package/lib/duet/p-8d6d2de5.system.entry.js +0 -4
- package/lib/duet/p-8f3ef195.entry.js +0 -4
- package/lib/duet/p-93d2b3ab.system.entry.js +0 -4
- package/lib/duet/p-9a0e63fb.system.entry.js +0 -4
- package/lib/duet/p-9c036196.entry.js +0 -4
- package/lib/duet/p-9d9ceaaf.system.entry.js +0 -4
- package/lib/duet/p-9dd1d807.entry.js +0 -4
- package/lib/duet/p-9de36028.system.entry.js +0 -4
- package/lib/duet/p-9ffa100f.entry.js +0 -4
- package/lib/duet/p-a0c7c62c.entry.js +0 -4
- package/lib/duet/p-a239acf9.entry.js +0 -4
- package/lib/duet/p-a6bc06b4.entry.js +0 -4
- package/lib/duet/p-ac06a312.system.entry.js +0 -4
- package/lib/duet/p-ae21ad57.system.js +0 -4
- package/lib/duet/p-b2506d63.system.entry.js +0 -4
- package/lib/duet/p-b27a6bc2.entry.js +0 -4
- package/lib/duet/p-b4f0266c.entry.js +0 -4
- package/lib/duet/p-b67ec86e.system.entry.js +0 -4
- package/lib/duet/p-b6984bba.entry.js +0 -4
- package/lib/duet/p-b80bd99f.system.entry.js +0 -4
- package/lib/duet/p-bb33573f.entry.js +0 -4
- package/lib/duet/p-bf12b56f.system.entry.js +0 -4
- package/lib/duet/p-bf6bd4ca.entry.js +0 -4
- package/lib/duet/p-c1d09d6c.entry.js +0 -4
- package/lib/duet/p-c628251d.system.entry.js +0 -4
- package/lib/duet/p-c7327d56.system.entry.js +0 -4
- package/lib/duet/p-c7586b98.entry.js +0 -4
- package/lib/duet/p-c9e51b5f.system.entry.js +0 -4
- package/lib/duet/p-caff3d21.entry.js +0 -4
- package/lib/duet/p-cc490e76.system.entry.js +0 -4
- package/lib/duet/p-cd30e4e5.entry.js +0 -4
- package/lib/duet/p-ce9faaa3.system.entry.js +0 -4
- package/lib/duet/p-ceed90a3.entry.js +0 -4
- package/lib/duet/p-cef5a078.entry.js +0 -4
- package/lib/duet/p-d94b6e0c.system.entry.js +0 -4
- package/lib/duet/p-da1ac417.entry.js +0 -4
- package/lib/duet/p-db29616f.system.entry.js +0 -4
- package/lib/duet/p-de3b2dc1.entry.js +0 -4
- package/lib/duet/p-ec42ab2e.entry.js +0 -4
- package/lib/duet/p-ef30751b.system.entry.js +0 -4
- package/lib/duet/p-ef8726ff.entry.js +0 -4
- package/lib/duet/p-f1655a1f.entry.js +0 -4
- package/lib/duet/p-f3078952.entry.js +0 -4
- package/lib/duet/p-f73f352a.system.entry.js +0 -4
- package/lib/duet/p-f8827f00.system.entry.js +0 -4
- package/lib/duet/p-fe305a4f.system.entry.js +0 -4
- package/lib/duet/p-ffc6061c.system.entry.js +0 -4
- package/lib/esm/index-a23f641e.js +0 -2802
- package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
- package/lib/esm-es5/focus-utils-be6b1c62.js +0 -4
- package/lib/esm-es5/index-a23f641e.js +0 -5
- package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
- package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
export function createComponent(props = {}) {
|
|
6
|
-
function camelToKebab(str) {
|
|
7
|
-
return str.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase();
|
|
8
|
-
}
|
|
9
|
-
const attrs = Object.entries(props)
|
|
10
|
-
.map(([attr, value]) => `${camelToKebab(attr)}="${value}"`)
|
|
11
|
-
.join(" ");
|
|
12
|
-
return createPage(`<duet-number-input ${attrs}></duet-number-input>`);
|
|
13
|
-
}
|
|
14
|
-
describe("duet-number-input", () => {
|
|
15
|
-
it("should render a number-input", async () => {
|
|
16
|
-
const page = await createComponent();
|
|
17
|
-
const component = await page.find("duet-number-input");
|
|
18
|
-
expect(component).not.toBeNull();
|
|
19
|
-
expect(component).toHaveClass("hydrated");
|
|
20
|
-
});
|
|
21
|
-
it("should provide a property that switches the theme", async () => {
|
|
22
|
-
const page = await createComponent({ theme: "turva" });
|
|
23
|
-
const element = await page.find("duet-number-input");
|
|
24
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
25
|
-
});
|
|
26
|
-
it("should provide a property that expands the input to fill 100% width", async () => {
|
|
27
|
-
const page = await createComponent({ expand: true });
|
|
28
|
-
const element = await page.find("duet-number-input");
|
|
29
|
-
expect(element).toHaveClass("duet-expand");
|
|
30
|
-
});
|
|
31
|
-
it("should provide a property that sets the max amount", async () => {
|
|
32
|
-
const page = await createComponent({ max: 10 });
|
|
33
|
-
const element = await page.find("duet-number-input duet-input");
|
|
34
|
-
expect(element.getAttribute("aria-valuemax")).toEqual("10");
|
|
35
|
-
});
|
|
36
|
-
it("should provide a property that sets the min amount", async () => {
|
|
37
|
-
const page = await createComponent({ min: 1 });
|
|
38
|
-
const element = await page.find("duet-number-input duet-input");
|
|
39
|
-
expect(element.getAttribute("aria-valuemin")).toEqual("1");
|
|
40
|
-
});
|
|
41
|
-
it("supports not setting an initial value", async () => {
|
|
42
|
-
const MIN_VALUE = 100;
|
|
43
|
-
const page = await createComponent({ min: MIN_VALUE, step: 50 });
|
|
44
|
-
const numberInput = await page.find("duet-number-input");
|
|
45
|
-
const spy = await numberInput.spyOnEvent("duetChange");
|
|
46
|
-
// input should initially be empty
|
|
47
|
-
const input = await numberInput.find("duet-input");
|
|
48
|
-
expect(await input.getProperty("value")).toBe("");
|
|
49
|
-
// subtract button should be disabled
|
|
50
|
-
const subtractButton = await numberInput.find(".duet-number-button-subtract");
|
|
51
|
-
expect(subtractButton.getAttribute("aria-disabled")).toBe("true");
|
|
52
|
-
// add button should be enabled
|
|
53
|
-
const addButton = await numberInput.find(".duet-number-button-add");
|
|
54
|
-
expect(addButton.getAttribute("aria-disabled")).toBe("false");
|
|
55
|
-
await addButton.click();
|
|
56
|
-
await page.waitForChanges();
|
|
57
|
-
// input value should now be set to min + unit
|
|
58
|
-
expect(await input.getProperty("value")).toBe(`${MIN_VALUE} €`);
|
|
59
|
-
// and should have received a single input event
|
|
60
|
-
expect(spy).toHaveReceivedEventTimes(1);
|
|
61
|
-
expect(spy.lastEvent.detail).toEqual(expect.objectContaining({
|
|
62
|
-
value: MIN_VALUE.toString(),
|
|
63
|
-
valueAsNumber: MIN_VALUE,
|
|
64
|
-
component: "duet-number-input",
|
|
65
|
-
}));
|
|
66
|
-
});
|
|
67
|
-
it("support clearing the input with backspace key", async () => {
|
|
68
|
-
const page = await createComponent({ value: "50", step: 50 });
|
|
69
|
-
const numberInput = await page.find("duet-number-input");
|
|
70
|
-
const input = await numberInput.find("duet-input");
|
|
71
|
-
const spyInput = await numberInput.spyOnEvent("duetInput");
|
|
72
|
-
const spyChange = await numberInput.spyOnEvent("duetChange");
|
|
73
|
-
// focus and clear input
|
|
74
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
75
|
-
await page.keyboard.press("Backspace");
|
|
76
|
-
await page.waitForChanges();
|
|
77
|
-
// input's value should be empty
|
|
78
|
-
// and should have received a single input event
|
|
79
|
-
expect(await input.getProperty("value")).toBe("");
|
|
80
|
-
expect(spyInput).toHaveReceivedEventTimes(1);
|
|
81
|
-
expect(spyInput.lastEvent.detail).toEqual(expect.objectContaining({
|
|
82
|
-
value: null,
|
|
83
|
-
valueAsNumber: null,
|
|
84
|
-
component: "duet-number-input",
|
|
85
|
-
}));
|
|
86
|
-
// when blurring input, we should get a single change event
|
|
87
|
-
await page.keyboard.press("Tab");
|
|
88
|
-
expect(spyChange).toHaveReceivedEventTimes(1);
|
|
89
|
-
expect(spyChange.lastEvent.detail).toEqual(expect.objectContaining({
|
|
90
|
-
value: null,
|
|
91
|
-
valueAsNumber: null,
|
|
92
|
-
component: "duet-number-input",
|
|
93
|
-
}));
|
|
94
|
-
});
|
|
95
|
-
it("supports stepping of the value", async () => {
|
|
96
|
-
const page = await createComponent({ value: "50", step: 50 });
|
|
97
|
-
const numberInput = await page.find("duet-number-input");
|
|
98
|
-
const input = await numberInput.find("duet-input");
|
|
99
|
-
const subtract = await numberInput.find(".duet-number-button-subtract");
|
|
100
|
-
const add = await numberInput.find(".duet-number-button-add");
|
|
101
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
102
|
-
// increment via up arrow
|
|
103
|
-
await page.keyboard.press("ArrowUp");
|
|
104
|
-
await page.waitForChanges();
|
|
105
|
-
expect(await input.getProperty("value")).toEqualText("100 €");
|
|
106
|
-
// increment via right arrow
|
|
107
|
-
await page.keyboard.press("ArrowRight");
|
|
108
|
-
await page.waitForChanges();
|
|
109
|
-
expect(await input.getProperty("value")).toEqualText("150 €");
|
|
110
|
-
// increment via + button
|
|
111
|
-
await add.click();
|
|
112
|
-
await page.waitForChanges();
|
|
113
|
-
expect(await input.getProperty("value")).toEqualText("200 €");
|
|
114
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
115
|
-
// decrement via down arrow
|
|
116
|
-
await page.keyboard.press("ArrowDown");
|
|
117
|
-
await page.waitForChanges();
|
|
118
|
-
expect(await input.getProperty("value")).toEqualText("150 €");
|
|
119
|
-
// decrement via left arrow
|
|
120
|
-
await page.keyboard.press("ArrowLeft");
|
|
121
|
-
await page.waitForChanges();
|
|
122
|
-
expect(await input.getProperty("value")).toEqualText("100 €");
|
|
123
|
-
// decrement via - button
|
|
124
|
-
await subtract.click();
|
|
125
|
-
await page.waitForChanges();
|
|
126
|
-
expect(await input.getProperty("value")).toEqualText("50 €");
|
|
127
|
-
});
|
|
128
|
-
it("supports min and max values", async () => {
|
|
129
|
-
const page = await createComponent({ value: "2", step: 1, min: 1, max: 3 });
|
|
130
|
-
const numberInput = await page.find("duet-number-input");
|
|
131
|
-
const input = await numberInput.find("duet-input");
|
|
132
|
-
const subtract = await numberInput.find(".duet-number-button-subtract");
|
|
133
|
-
const add = await numberInput.find(".duet-number-button-add");
|
|
134
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
135
|
-
await add.click();
|
|
136
|
-
await page.waitForChanges();
|
|
137
|
-
expect(await input.getProperty("value")).toEqualText("3 €");
|
|
138
|
-
// we've hit the max, so should still be 3
|
|
139
|
-
await add.click();
|
|
140
|
-
await page.waitForChanges();
|
|
141
|
-
expect(await input.getProperty("value")).toEqualText("3 €");
|
|
142
|
-
await subtract.click();
|
|
143
|
-
await page.waitForChanges();
|
|
144
|
-
expect(await input.getProperty("value")).toEqualText("2 €");
|
|
145
|
-
await subtract.click();
|
|
146
|
-
await page.waitForChanges();
|
|
147
|
-
expect(await input.getProperty("value")).toEqualText("1 €");
|
|
148
|
-
// we've hit the min, so should be still be 1
|
|
149
|
-
await subtract.click();
|
|
150
|
-
await page.waitForChanges();
|
|
151
|
-
expect(await input.getProperty("value")).toEqualText("1 €");
|
|
152
|
-
});
|
|
153
|
-
it("rounds value to nearest step on blur in constrained mode", async () => {
|
|
154
|
-
const page = await createComponent({ value: "50", step: 50 });
|
|
155
|
-
const numberInput = await page.find("duet-number-input");
|
|
156
|
-
const input = await numberInput.find("duet-input");
|
|
157
|
-
// focus and clear input
|
|
158
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
159
|
-
await page.keyboard.press("Backspace");
|
|
160
|
-
await page.waitForChanges();
|
|
161
|
-
// enter value that is not a multiple of step
|
|
162
|
-
await page.keyboard.type("75", { delay: 100 });
|
|
163
|
-
await page.keyboard.press("Tab");
|
|
164
|
-
await page.waitForChanges();
|
|
165
|
-
expect(await input.getProperty("value")).toEqualText("100 €");
|
|
166
|
-
});
|
|
167
|
-
it("does not round values on blur when rounding disabled", async () => {
|
|
168
|
-
const page = await createComponent({ value: "50", step: 50, rounding: false });
|
|
169
|
-
const numberInput = await page.find("duet-number-input");
|
|
170
|
-
const input = await numberInput.find("duet-input");
|
|
171
|
-
// focus and clear input
|
|
172
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
173
|
-
await page.keyboard.press("Backspace");
|
|
174
|
-
await page.waitForChanges();
|
|
175
|
-
// enter value that is not a multiple of step
|
|
176
|
-
await page.keyboard.type("73", { delay: 100 });
|
|
177
|
-
await page.keyboard.press("Tab");
|
|
178
|
-
await page.waitForChanges();
|
|
179
|
-
expect(await input.getProperty("value")).toEqualText("73 €");
|
|
180
|
-
});
|
|
181
|
-
it("increments to nearest multiple of step when rounding disabled", async () => {
|
|
182
|
-
const page = await createComponent({ value: "100", step: 100, rounding: false });
|
|
183
|
-
const numberInput = await page.find("duet-number-input");
|
|
184
|
-
const input = await numberInput.find("duet-input");
|
|
185
|
-
// focus and clear input
|
|
186
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
187
|
-
await page.keyboard.press("Backspace");
|
|
188
|
-
await page.waitForChanges();
|
|
189
|
-
// enter value that is not a multiple of step
|
|
190
|
-
await page.keyboard.type("199", { delay: 100 });
|
|
191
|
-
await page.keyboard.press("ArrowUp");
|
|
192
|
-
await page.waitForChanges();
|
|
193
|
-
expect(await input.getProperty("value")).toEqualText("200 €");
|
|
194
|
-
// enter value that is not a multiple of step
|
|
195
|
-
await page.keyboard.press("Backspace");
|
|
196
|
-
await page.keyboard.type("101", { delay: 100 });
|
|
197
|
-
await page.keyboard.press("ArrowUp");
|
|
198
|
-
await page.waitForChanges();
|
|
199
|
-
expect(await input.getProperty("value")).toEqualText("200 €");
|
|
200
|
-
});
|
|
201
|
-
it("decrements to nearest multiple of step when rounding disabled", async () => {
|
|
202
|
-
const page = await createComponent({ value: "100", step: 100, rounding: false });
|
|
203
|
-
const numberInput = await page.find("duet-number-input");
|
|
204
|
-
const input = await numberInput.find("duet-input");
|
|
205
|
-
// focus and clear input
|
|
206
|
-
await page.$eval("duet-number-input", (el) => el.setFocus());
|
|
207
|
-
await page.keyboard.press("Backspace");
|
|
208
|
-
await page.waitForChanges();
|
|
209
|
-
// enter value that is not a multiple of step
|
|
210
|
-
await page.keyboard.type("101", { delay: 100 });
|
|
211
|
-
await page.keyboard.press("ArrowDown");
|
|
212
|
-
await page.waitForChanges();
|
|
213
|
-
expect(await input.getProperty("value")).toEqualText("100 €");
|
|
214
|
-
// enter value that is not a multiple of step
|
|
215
|
-
await page.keyboard.press("Backspace");
|
|
216
|
-
await page.keyboard.type("199", { delay: 100 });
|
|
217
|
-
await page.keyboard.press("ArrowDown");
|
|
218
|
-
await page.waitForChanges();
|
|
219
|
-
expect(await input.getProperty("value")).toEqualText("100 €");
|
|
220
|
-
});
|
|
221
|
-
it("should provide a method to get the initial numeric value of the input", async () => {
|
|
222
|
-
const page = await createComponent({ value: "50" });
|
|
223
|
-
const initialNumericValue = await page.evaluate(() => {
|
|
224
|
-
const element = document.querySelector("duet-number-input");
|
|
225
|
-
return element.getValueAsNumber();
|
|
226
|
-
});
|
|
227
|
-
expect(typeof initialNumericValue).toBe("number");
|
|
228
|
-
expect(initialNumericValue).toBe(50);
|
|
229
|
-
});
|
|
230
|
-
it("should provide a method to get the current numeric value of the input", async () => {
|
|
231
|
-
const page = await createComponent({ value: "50", step: 50 });
|
|
232
|
-
const add = await page.find(".duet-number-button-add");
|
|
233
|
-
await add.click();
|
|
234
|
-
await page.waitForChanges();
|
|
235
|
-
const currentNumericValue = await page.evaluate(() => {
|
|
236
|
-
const element = document.querySelector("duet-number-input");
|
|
237
|
-
return element.getValueAsNumber();
|
|
238
|
-
});
|
|
239
|
-
expect(typeof currentNumericValue).toBe("number");
|
|
240
|
-
expect(currentNumericValue).toBe(100);
|
|
241
|
-
});
|
|
242
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
import { shouldDisplayNavigation } from "./duet-pagination-utils";
|
|
6
|
-
describe("duet-pagination", () => {
|
|
7
|
-
describe("shouldDisplayNavigation", () => {
|
|
8
|
-
it("return false when visibleItems are low compared to totalItems", async () => {
|
|
9
|
-
const shouldDisplayNavigationResult = shouldDisplayNavigation(10, 100, 10);
|
|
10
|
-
expect(shouldDisplayNavigationResult).toBe(false);
|
|
11
|
-
});
|
|
12
|
-
it("return true when visibleItems are high compared to totalItems", async () => {
|
|
13
|
-
const shouldDisplayNavigationResult = shouldDisplayNavigation(10, 1000, 10);
|
|
14
|
-
expect(shouldDisplayNavigationResult).toBe(true);
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
|
-
describe("Edge conditions should appear correctly", () => {
|
|
18
|
-
/**
|
|
19
|
-
* The component should handle situation where take / totals is not an equal number
|
|
20
|
-
* eg 1000 / 30 = 33,3333333
|
|
21
|
-
* and should display 34 page with a fraction of the visible-items viewable
|
|
22
|
-
*/
|
|
23
|
-
it("The characters should look correctly when setting un-divisible fractions", async () => {
|
|
24
|
-
const page = await createPage(`
|
|
25
|
-
<div>
|
|
26
|
-
<duet-pagination take="30" visible-items="5" total="1000"></duet-pagination>
|
|
27
|
-
</div>`);
|
|
28
|
-
const pager = await page.find("duet-pagination");
|
|
29
|
-
const paginationLinks = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
30
|
-
expect(paginationLinks.length).toBe(7); // ( 1 2 3 4 5 … 34 )
|
|
31
|
-
const fwdButton = await page.find("duet-pagination >>> .duet-pagination-link-dots-forward");
|
|
32
|
-
expect(pager).not.toBeNull();
|
|
33
|
-
expect(pager).toHaveClass("hydrated");
|
|
34
|
-
expect(fwdButton.textContent).toBe("…");
|
|
35
|
-
expect(paginationLinks[6].textContent).toBe("34");
|
|
36
|
-
await fwdButton.click();
|
|
37
|
-
const paginationLinksPost = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
38
|
-
expect(paginationLinksPost.length).toBe(9); // ( 1 … 6 7 8 9 10 … 34 )
|
|
39
|
-
expect(paginationLinksPost[6].textContent).toBe("10");
|
|
40
|
-
expect(paginationLinksPost[7].textContent).toBe("…");
|
|
41
|
-
expect(paginationLinksPost[8].textContent).toBe("34");
|
|
42
|
-
// now that the pager is on second "page" it will have changed the dom elements and re-rendered, we need tog et the bn again
|
|
43
|
-
const newFwdButton = await page.find("duet-pagination >>> .duet-pagination-link-dots-forward");
|
|
44
|
-
await newFwdButton.click();
|
|
45
|
-
const paginationLinksPost2ndClick = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
46
|
-
expect(paginationLinksPost2ndClick.length).toBe(9); // ( 1 … 11 12 13 14 15 … 34 )
|
|
47
|
-
expect(paginationLinksPost[6].textContent).not.toBe("5.666666666666666");
|
|
48
|
-
expect(paginationLinksPost[6].textContent).toBe("15");
|
|
49
|
-
expect(paginationLinksPost[7].textContent).toBe("…");
|
|
50
|
-
expect(paginationLinksPost[8].textContent).toBe("34");
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
describe("fixes", () => {
|
|
54
|
-
it("DUET-765: should not display upper ellipsis in the last take", async () => {
|
|
55
|
-
const page = await createPage(`
|
|
56
|
-
<div>
|
|
57
|
-
<duet-pagination take="5" visible-items="5" total="1000"></duet-pagination>
|
|
58
|
-
</div>`);
|
|
59
|
-
const lastPageButton = await page.find("duet-pagination >>> .duet-pagination-link-jump-forward");
|
|
60
|
-
await lastPageButton.click();
|
|
61
|
-
const paginationLinksPost = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
62
|
-
expect(paginationLinksPost.map(item => item.textContent)).toEqual(["1", "…", "196", "197", "198", "199", "200"]);
|
|
63
|
-
});
|
|
64
|
-
it("DUET-765: should display upper ellipsis and total buttons except the last take", async () => {
|
|
65
|
-
const page = await createPage(`
|
|
66
|
-
<div>
|
|
67
|
-
<duet-pagination take="5" visible-items="5" total="1000"></duet-pagination>
|
|
68
|
-
</div>`);
|
|
69
|
-
const lastPageButton = await page.find("duet-pagination >>> .duet-pagination-link-jump-forward");
|
|
70
|
-
await lastPageButton.click();
|
|
71
|
-
const jumpBackButton = await page.find("duet-pagination >>> .duet-pagination-link-dots-back");
|
|
72
|
-
await jumpBackButton.click();
|
|
73
|
-
const paginationLinksPost = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
74
|
-
expect(paginationLinksPost.map(item => item.textContent)).toEqual([
|
|
75
|
-
"1",
|
|
76
|
-
"…",
|
|
77
|
-
"191",
|
|
78
|
-
"192",
|
|
79
|
-
"193",
|
|
80
|
-
"194",
|
|
81
|
-
"195",
|
|
82
|
-
"…",
|
|
83
|
-
"200",
|
|
84
|
-
]);
|
|
85
|
-
});
|
|
86
|
-
it("DUET-766: should not allow navigation beyond the last page", async () => {
|
|
87
|
-
const page = await createPage(`
|
|
88
|
-
<div>
|
|
89
|
-
<duet-pagination take="5" visible-items="5" total="1000"></duet-pagination>
|
|
90
|
-
</div>`);
|
|
91
|
-
const lastPageButton = await page.find("duet-pagination >>> .duet-pagination-link-jump-forward");
|
|
92
|
-
await lastPageButton.click();
|
|
93
|
-
const jumpBackButton = await page.find("duet-pagination >>> .duet-pagination-link-dots-back");
|
|
94
|
-
await jumpBackButton.click();
|
|
95
|
-
const fwdArrowButton = await page.find("duet-pagination >>> .duet-date-dialog-next");
|
|
96
|
-
await fwdArrowButton.click();
|
|
97
|
-
const paginationLinksPost = await page.findAll("duet-pagination >>> li.duet-pagination-item duet-button");
|
|
98
|
-
expect(paginationLinksPost.map(item => item.textContent)).toEqual(["1", "…", "196", "197", "198", "199", "200"]);
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-paragraph", () => {
|
|
6
|
-
it("should render a paragraph", async () => {
|
|
7
|
-
const page = await createPage(`<duet-paragraph></duet-paragraph>`);
|
|
8
|
-
const component = await page.find("duet-paragraph");
|
|
9
|
-
expect(component).not.toBeNull();
|
|
10
|
-
expect(component).toHaveClass("hydrated");
|
|
11
|
-
});
|
|
12
|
-
it("should provide a property that switches the theme", async () => {
|
|
13
|
-
const page = await createPage(`<duet-paragraph theme="turva"></duet-paragraph>`);
|
|
14
|
-
const element = await page.find("duet-paragraph >>> .duet-paragraph");
|
|
15
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that removes the margin of the component", async () => {
|
|
18
|
-
const page = await createPage(`<duet-paragraph margin="none"></duet-paragraph>`);
|
|
19
|
-
const element = await page.find("duet-paragraph >>> .duet-m-0");
|
|
20
|
-
expect(element).not.toBeNull();
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that switches the variant", async () => {
|
|
23
|
-
const page = await createPage(`<duet-paragraph variation="intro"></duet-paragraph>`);
|
|
24
|
-
const element = await page.find("duet-paragraph >>> .duet-paragraph");
|
|
25
|
-
expect(element).toHaveClass("intro");
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-progress", () => {
|
|
6
|
-
it("should render an progressbar", async () => {
|
|
7
|
-
const page = await createPage(`<duet-progress progress="50"></duet-progress>`);
|
|
8
|
-
const component = await page.find("duet-progress");
|
|
9
|
-
expect(component).not.toBeNull();
|
|
10
|
-
expect(component).toHaveClass("hydrated");
|
|
11
|
-
});
|
|
12
|
-
});
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("promo-card", () => {
|
|
6
|
-
it("should render a promo-card", async () => {
|
|
7
|
-
const page = await createPage(`<duet-promo-card>Test</duet-promo-card>`);
|
|
8
|
-
const component = await page.find("duet-promo-card");
|
|
9
|
-
expect(component).not.toBeNull();
|
|
10
|
-
expect(component).toHaveClass("hydrated");
|
|
11
|
-
});
|
|
12
|
-
it("should provide a property that removes the margin of the component", async () => {
|
|
13
|
-
const page = await createPage(`<duet-promo-card margin="none">
|
|
14
|
-
</duet-promo-card>`);
|
|
15
|
-
const element = await page.find("duet-promo-card");
|
|
16
|
-
expect(element).toHaveClass("duet-m-0");
|
|
17
|
-
});
|
|
18
|
-
it("should provide a property that switches the theme", async () => {
|
|
19
|
-
const page = await createPage(`<duet-promo-card theme="turva">Test</duet-promo-card>`);
|
|
20
|
-
const element = await page.find("duet-promo-card >>> .duet-promo-card");
|
|
21
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
});
|