@duetds/components 8.6.8 → 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 +33069 -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 +44 -23
- 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-f04d6c12.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 +1 -1
- package/lib/collection/components/duet-alert/duet-alert.js +5 -5
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +2 -2
- 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 +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- 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 +10 -8
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- 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 +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- 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 +1 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +39 -9
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +29 -11
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- 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 +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- 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 +5 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- 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-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- 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 +3 -3
- 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-5d1b1309.js → p-00eccbc8.js} +5 -4
- package/lib/dist-custom-elements/{p-dcbd3217.js → p-0231ea20.js} +5 -4
- package/lib/dist-custom-elements/{p-2f74a80b.js → p-02911244.js} +3 -3
- package/lib/dist-custom-elements/{p-f010dbb0.js → p-03c64124.js} +5 -4
- package/lib/dist-custom-elements/{p-184196bf.js → p-12a09bbc.js} +5 -4
- package/lib/dist-custom-elements/{p-8806e54e.js → p-151934ce.js} +8 -7
- package/lib/dist-custom-elements/{p-8b931125.js → p-1c341405.js} +11 -10
- package/lib/dist-custom-elements/{p-0301d789.js → p-21e0af47.js} +38 -19
- package/lib/dist-custom-elements/{p-2e4d752a.js → p-26d4d49e.js} +3 -2
- package/lib/dist-custom-elements/{p-a1b81dbc.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-3a3e990d.js → p-330bf2a1.js} +4 -3
- package/lib/dist-custom-elements/{p-ecb49066.js → p-37e44d89.js} +5 -4
- package/lib/dist-custom-elements/{p-aaf04b7b.js → p-384f880b.js} +6 -5
- package/lib/dist-custom-elements/{p-164f1743.js → p-3e74515a.js} +10 -9
- package/lib/dist-custom-elements/{p-a5b07a4c.js → p-401b6b1f.js} +5 -4
- package/lib/dist-custom-elements/{p-e4489c9c.js → p-45dd5240.js} +7 -6
- package/lib/dist-custom-elements/p-47c44289.js +178 -0
- package/lib/dist-custom-elements/{p-d4cc9e7f.js → p-48a3af88.js} +3 -2
- package/lib/dist-custom-elements/{p-b691a561.js → p-5ad5934d.js} +4 -3
- package/lib/dist-custom-elements/{p-188198bb.js → p-61ffea9e.js} +6 -5
- package/lib/dist-custom-elements/{p-f3fed1d1.js → p-6bd18890.js} +15 -14
- package/lib/dist-custom-elements/{p-9d2943a1.js → p-706daff4.js} +14 -13
- package/lib/dist-custom-elements/{p-fe0978ef.js → p-7666f1bc.js} +5 -4
- package/lib/dist-custom-elements/{p-e4f40301.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/dist-custom-elements/{p-06e608ae.js → p-895db398.js} +2 -0
- package/lib/dist-custom-elements/{p-45ce252d.js → p-8fb1d873.js} +15 -14
- package/lib/dist-custom-elements/{p-2933d260.js → p-955053f9.js} +7 -5
- package/lib/dist-custom-elements/p-955746f9.js +1848 -0
- package/lib/dist-custom-elements/{p-d1f8f9d9.js → p-9bda0343.js} +5 -4
- package/lib/dist-custom-elements/{p-674040a2.js → p-9d348a4b.js} +4 -3
- package/lib/dist-custom-elements/{p-f390637a.js → p-9dc74a9b.js} +8 -7
- package/lib/dist-custom-elements/{p-9a63d9a1.js → p-ad23e869.js} +6 -5
- package/lib/dist-custom-elements/{p-2a29afc3.js → p-b8bb3910.js} +5 -4
- package/lib/dist-custom-elements/{p-c6788c34.js → p-bb20326f.js} +4 -3
- package/lib/dist-custom-elements/{p-ee310f8e.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-3ee1ee19.js → p-d7ff39b6.js} +5 -4
- package/lib/dist-custom-elements/{p-1a167655.js → p-e091bb48.js} +3 -2
- package/lib/dist-custom-elements/{p-2d44ce95.js → p-f1938f1a.js} +3 -2
- package/lib/dist-custom-elements/{p-b59388e4.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-06472b8c.entry.js +4 -0
- package/lib/duet/p-064b908b.entry.js +4 -0
- package/lib/duet/p-069aaf78.entry.js +4 -0
- package/lib/duet/{p-00638431.system.entry.js → p-077b9a06.system.entry.js} +1 -1
- package/lib/duet/p-08866b96.system.entry.js +4 -0
- package/lib/duet/{p-09f2162b.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-f0a8edfa.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-bc99f838.system.entry.js → p-115a50f2.system.entry.js} +1 -1
- package/lib/duet/{p-c9c57249.system.entry.js → p-12b4df90.system.entry.js} +1 -1
- package/lib/duet/p-13ea970e.system.entry.js +4 -0
- package/lib/duet/{p-d537a47b.entry.js → p-155b7733.entry.js} +1 -1
- package/lib/duet/p-16be8ba9.entry.js +4 -0
- package/lib/duet/{p-b0d67f51.entry.js → p-16e63390.entry.js} +1 -1
- package/lib/duet/p-1784b1d2.js +1 -1
- package/lib/duet/{p-48e4b33e.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-a87c1819.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-322273ee.system.entry.js → p-2928c320.system.entry.js} +1 -1
- package/lib/duet/{p-1af39d2d.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-b3f5fea3.entry.js → p-32be247b.entry.js} +1 -1
- package/lib/duet/p-32d698f2.system.entry.js +4 -0
- package/lib/duet/{p-d9800a64.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-15a018c2.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-d2082904.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-4083bda5.entry.js → p-4a8d2af0.entry.js} +1 -1
- package/lib/duet/{p-0204b3b0.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-e36d3c27.entry.js → p-60d43265.entry.js} +1 -1
- package/lib/duet/{p-4a65e996.system.entry.js → p-61a24bce.system.entry.js} +1 -1
- package/lib/duet/{p-f370f3c5.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
- package/lib/duet/p-6892b798.system.entry.js +4 -0
- package/lib/duet/{p-36eb52a8.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-e67c546c.system.entry.js → p-6a496c70.system.entry.js} +1 -1
- package/lib/duet/{p-e1fb0446.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-a909fac2.system.entry.js → p-6d157e53.system.entry.js} +2 -2
- package/lib/duet/p-6d75cdf6.system.js +4 -0
- package/lib/duet/p-6db296a5.entry.js +4 -0
- package/lib/duet/{p-95d3a1c1.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
- package/lib/duet/{p-d54716cb.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-55ce0916.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-22b1cabe.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-71b71fae.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
- package/lib/duet/{p-e240a248.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-49492752.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-2ebe1ac5.system.entry.js → p-95778aca.system.entry.js} +2 -2
- package/lib/duet/{p-fd736af1.entry.js → p-97f74160.entry.js} +1 -1
- package/lib/duet/p-98ac1721.system.entry.js +4 -0
- package/lib/duet/{p-b0c801cc.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
- package/lib/duet/{p-56c629ed.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-847bf63e.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-ec9dbf7d.system.entry.js → p-a7768425.system.entry.js} +2 -2
- package/lib/duet/p-a7c62459.system.entry.js +4 -0
- package/lib/duet/{p-7fcbb429.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
- package/lib/duet/{p-dd9e6250.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-87e7e6d8.entry.js → p-ae714885.entry.js} +1 -1
- package/lib/duet/p-aeaa9698.entry.js +4 -0
- package/lib/duet/{p-1dc415a6.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-6f74db7d.system.entry.js → p-b5e50220.system.entry.js} +2 -2
- package/lib/duet/{p-ec7dd416.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-9ef3bc8d.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
- package/lib/duet/p-bd936407.js +4 -0
- package/lib/duet/{p-24046fe3.system.entry.js → p-bddc227d.system.entry.js} +1 -1
- package/lib/duet/{p-b3c24039.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-81e718f5.system.entry.js → p-c45a4823.system.entry.js} +1 -1
- package/lib/duet/p-c45c1cc8.entry.js +4 -0
- package/lib/duet/{p-29ef8ffc.system.entry.js → p-c5759522.system.entry.js} +1 -1
- package/lib/duet/p-c62ed778.entry.js +4 -0
- package/lib/duet/{p-81681caf.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-bdd90cdd.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-8a9f7476.entry.js → p-e824a614.entry.js} +1 -1
- package/lib/duet/p-ec143606.entry.js +4 -0
- package/lib/duet/{p-aad5c506.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
- package/lib/duet/p-ee8bcb1f.entry.js +4 -0
- package/lib/duet/{p-bc2af760.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
- package/lib/duet/{p-ed7d1160.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-b5bbe11d.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
- package/lib/duet/{p-2936ccf3.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-47fa3bf9.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 +44 -23
- 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-f0e6853d.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/esm/{slot-utils-b50aaef5.js → 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-c3716ea8.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-d160ca6a.js +0 -2333
- package/lib/duet/p-021968b7.system.entry.js +0 -4
- package/lib/duet/p-039f1ee1.system.entry.js +0 -4
- package/lib/duet/p-06e608ae.js +0 -4
- package/lib/duet/p-09fdd234.entry.js +0 -4
- package/lib/duet/p-0b515d0c.system.entry.js +0 -4
- package/lib/duet/p-0b7e7cdd.entry.js +0 -4
- package/lib/duet/p-12e97d2c.entry.js +0 -4
- package/lib/duet/p-17abbe45.system.entry.js +0 -4
- package/lib/duet/p-1a815d69.entry.js +0 -4
- package/lib/duet/p-1c90a161.system.entry.js +0 -4
- package/lib/duet/p-1f0c6aa9.entry.js +0 -4
- package/lib/duet/p-224f6c46.system.js +0 -4
- package/lib/duet/p-252c61f9.entry.js +0 -4
- package/lib/duet/p-259a297a.system.js +0 -4
- package/lib/duet/p-2757e1be.entry.js +0 -4
- package/lib/duet/p-286cbd79.system.entry.js +0 -4
- package/lib/duet/p-2a3b428e.entry.js +0 -4
- package/lib/duet/p-2e36d5bf.js +0 -4
- package/lib/duet/p-2e615f90.entry.js +0 -4
- package/lib/duet/p-2f1b5c7d.js +0 -5
- package/lib/duet/p-354e8617.entry.js +0 -4
- package/lib/duet/p-36340a70.entry.js +0 -4
- package/lib/duet/p-36a4e269.system.entry.js +0 -4
- package/lib/duet/p-37aab3fc.entry.js +0 -4
- package/lib/duet/p-3aca8b0e.entry.js +0 -4
- package/lib/duet/p-3eb18ea9.system.entry.js +0 -4
- package/lib/duet/p-45ec9edc.entry.js +0 -4
- package/lib/duet/p-47ba309d.system.entry.js +0 -4
- package/lib/duet/p-48de6532.entry.js +0 -4
- package/lib/duet/p-4918a89e.entry.js +0 -4
- package/lib/duet/p-4bbe62cc.system.entry.js +0 -4
- package/lib/duet/p-4c41c996.system.entry.js +0 -4
- package/lib/duet/p-4db9c3d9.entry.js +0 -4
- package/lib/duet/p-52899472.entry.js +0 -4
- package/lib/duet/p-5318851f.system.entry.js +0 -4
- package/lib/duet/p-57346eff.system.entry.js +0 -4
- package/lib/duet/p-5747dc4a.entry.js +0 -4
- package/lib/duet/p-5852bc10.system.entry.js +0 -4
- package/lib/duet/p-59923821.system.entry.js +0 -4
- package/lib/duet/p-5c1c9204.system.entry.js +0 -4
- package/lib/duet/p-5f07590d.entry.js +0 -4
- package/lib/duet/p-61a1045e.entry.js +0 -4
- package/lib/duet/p-647e7930.entry.js +0 -4
- package/lib/duet/p-68ff07cc.entry.js +0 -4
- package/lib/duet/p-694dc2b2.entry.js +0 -4
- package/lib/duet/p-69b8ad83.system.entry.js +0 -4
- package/lib/duet/p-6ae750db.system.entry.js +0 -4
- package/lib/duet/p-6d7602d0.system.entry.js +0 -4
- package/lib/duet/p-6d839458.js +0 -4
- package/lib/duet/p-6dd2833f.entry.js +0 -4
- package/lib/duet/p-6e788570.entry.js +0 -4
- package/lib/duet/p-7187fcdb.entry.js +0 -4
- package/lib/duet/p-72a9c332.entry.js +0 -4
- package/lib/duet/p-7bba0a5f.entry.js +0 -4
- package/lib/duet/p-8030ac7d.entry.js +0 -4
- package/lib/duet/p-808390ff.entry.js +0 -4
- package/lib/duet/p-80c37175.system.entry.js +0 -4
- package/lib/duet/p-81488a05.system.js +0 -4
- package/lib/duet/p-820439f1.system.entry.js +0 -4
- package/lib/duet/p-848fd377.system.entry.js +0 -4
- package/lib/duet/p-86bb5185.entry.js +0 -4
- package/lib/duet/p-8868aefd.system.entry.js +0 -4
- package/lib/duet/p-8aa74f9c.system.entry.js +0 -4
- package/lib/duet/p-8c610e96.system.entry.js +0 -4
- package/lib/duet/p-916d8f4e.system.entry.js +0 -4
- package/lib/duet/p-92dd9326.entry.js +0 -4
- package/lib/duet/p-93abcf6f.system.entry.js +0 -4
- package/lib/duet/p-95ba5b53.system.entry.js +0 -4
- package/lib/duet/p-95bba705.entry.js +0 -4
- package/lib/duet/p-9c102070.system.entry.js +0 -4
- package/lib/duet/p-9c5e5c04.entry.js +0 -4
- package/lib/duet/p-9cbcb120.entry.js +0 -4
- package/lib/duet/p-a072af11.entry.js +0 -4
- package/lib/duet/p-a0be10bb.entry.js +0 -4
- package/lib/duet/p-a2ebc336.entry.js +0 -4
- package/lib/duet/p-a3def4ae.entry.js +0 -4
- package/lib/duet/p-a42bd424.system.entry.js +0 -4
- package/lib/duet/p-a52cfc5a.entry.js +0 -4
- package/lib/duet/p-a532d984.entry.js +0 -4
- package/lib/duet/p-a58f39e3.entry.js +0 -4
- package/lib/duet/p-a74d3389.system.entry.js +0 -4
- package/lib/duet/p-a787f19b.system.entry.js +0 -4
- package/lib/duet/p-a7b5f7e2.system.entry.js +0 -4
- package/lib/duet/p-aab7c415.system.js +0 -5
- package/lib/duet/p-ac32b610.entry.js +0 -4
- package/lib/duet/p-adcab9d7.system.entry.js +0 -4
- package/lib/duet/p-ae21ad57.system.js +0 -4
- package/lib/duet/p-b3bb7acb.entry.js +0 -4
- package/lib/duet/p-b86e538f.system.entry.js +0 -4
- package/lib/duet/p-bbe8cb06.system.entry.js +0 -4
- package/lib/duet/p-bbf58838.entry.js +0 -4
- package/lib/duet/p-bda99d9b.entry.js +0 -4
- package/lib/duet/p-be1dc5c4.entry.js +0 -4
- package/lib/duet/p-c1cc3eeb.entry.js +0 -4
- package/lib/duet/p-c75f879a.entry.js +0 -4
- package/lib/duet/p-c7626b56.entry.js +0 -4
- package/lib/duet/p-c7d7a477.system.entry.js +0 -4
- package/lib/duet/p-c7e75e4b.entry.js +0 -4
- package/lib/duet/p-d3964acf.entry.js +0 -4
- package/lib/duet/p-d43d061f.entry.js +0 -4
- package/lib/duet/p-d4c16da7.system.entry.js +0 -4
- package/lib/duet/p-d5eff7a7.system.js +0 -4
- package/lib/duet/p-d778d2ac.entry.js +0 -4
- package/lib/duet/p-dade1b81.entry.js +0 -4
- package/lib/duet/p-de217be7.entry.js +0 -4
- package/lib/duet/p-dfdc8492.system.entry.js +0 -4
- package/lib/duet/p-e11847f2.entry.js +0 -4
- package/lib/duet/p-e2760c6f.system.entry.js +0 -4
- package/lib/duet/p-e5f76223.entry.js +0 -4
- package/lib/duet/p-e81fdc04.entry.js +0 -4
- package/lib/duet/p-ec29ee80.system.entry.js +0 -4
- package/lib/duet/p-f04ed9cd.entry.js +0 -4
- package/lib/duet/p-f2da4d8f.entry.js +0 -4
- package/lib/duet/p-f6d62e5a.system.entry.js +0 -4
- package/lib/duet/p-ff45b962.entry.js +0 -4
- package/lib/duet/p-ff7efd44.entry.js +0 -4
- package/lib/esm/index-0f5e92a8.js +0 -2802
- package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
- package/lib/esm-es5/focus-utils-f0e6853d.js +0 -4
- package/lib/esm-es5/index-0f5e92a8.js +0 -5
- package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
- package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-hero", () => {
|
|
6
|
-
it("should render a hero area", async () => {
|
|
7
|
-
const page = await createPage(`<duet-hero></duet-hero>`);
|
|
8
|
-
const component = await page.find("duet-hero");
|
|
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-hero theme="turva"></duet-hero>`);
|
|
14
|
-
const element = await page.find("duet-hero >>> .duet-hero");
|
|
15
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that sets pre-heading", async () => {
|
|
18
|
-
const page = await createPage(`<duet-hero pre-heading="test"></duet-hero>`);
|
|
19
|
-
const element = await page.find("duet-hero >>> .duet-hero-pre");
|
|
20
|
-
expect(element.textContent).toEqual("test");
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that sets the heading", async () => {
|
|
23
|
-
const page = await createPage(`<duet-hero heading="test #473895ur8oiojoP!"></duet-hero>`);
|
|
24
|
-
const element = await page.find("duet-hero >>> duet-heading");
|
|
25
|
-
expect(element.textContent).toEqual("test #473895ur8oiojoP!");
|
|
26
|
-
});
|
|
27
|
-
it("should provide a property that changes the heading level", async () => {
|
|
28
|
-
const page = await createPage(`<duet-hero heading="test #473895ur8oiojoP!" level="h5"></duet-hero>`);
|
|
29
|
-
const element = await page.find("duet-hero >>> duet-heading");
|
|
30
|
-
expect(element.getAttribute("level")).toEqual("h5");
|
|
31
|
-
});
|
|
32
|
-
it("should provide a property that sets the description", async () => {
|
|
33
|
-
const page = await createPage(`<duet-hero description="test #473895ur8oiojoP!"></duet-hero>`);
|
|
34
|
-
const element = await page.find("duet-hero >>> duet-paragraph >>> .duet-paragraph");
|
|
35
|
-
expect(element.textContent).toEqual("test #473895ur8oiojoP!");
|
|
36
|
-
});
|
|
37
|
-
it("should provide a property that sets an icon for the action button", async () => {
|
|
38
|
-
const page = await createPage(`<duet-hero button-label="test #473895ur8oiojoP!" button-id="test"></duet-hero>`);
|
|
39
|
-
const element = await page.find("duet-hero >>> duet-button >>> .duet-button-icon");
|
|
40
|
-
expect(element).not.toBeNull();
|
|
41
|
-
});
|
|
42
|
-
it("should provide a property that sets an ID for the action button", async () => {
|
|
43
|
-
const page = await createPage(`<duet-hero button-label="test #473895ur8oiojoP!" button-id="test"></duet-hero>`);
|
|
44
|
-
const element = await page.find("duet-hero >>> duet-button >>> #test");
|
|
45
|
-
expect(element).not.toBeNull();
|
|
46
|
-
});
|
|
47
|
-
it("should provide a property that sets the icon size", async () => {
|
|
48
|
-
const page = await createPage(`<duet-hero button-label="test #473895ur8oiojoP!" icon="action-add" icon-size="large"></duet-hero>`);
|
|
49
|
-
await page.waitForChanges();
|
|
50
|
-
const element = await page.find("duet-hero >>> duet-button >>> .large");
|
|
51
|
-
expect(element).not.toBeNull();
|
|
52
|
-
});
|
|
53
|
-
it("should provide a property that sets the image for hero area", async () => {
|
|
54
|
-
const page = await createPage(`<duet-hero image="/icons/lib/assets/action-add-circle.svg"></duet-hero>`);
|
|
55
|
-
const element = await page.find("duet-hero >>> .duet-hero-image");
|
|
56
|
-
expect(element).not.toBeNull();
|
|
57
|
-
});
|
|
58
|
-
it("should provide a property that changes the style variation to light", async () => {
|
|
59
|
-
const page = await createPage(`<duet-hero variation="light"></duet-hero>`);
|
|
60
|
-
const element = await page.find("duet-hero >>> .duet-hero-light");
|
|
61
|
-
expect(element).not.toBeNull();
|
|
62
|
-
});
|
|
63
|
-
it("should not render image if the image property isn’t used", async () => {
|
|
64
|
-
const page = await createPage(`<duet-hero title="test"></duet-hero>`);
|
|
65
|
-
const element = await page.find("duet-hero >>> .duet-hero-image");
|
|
66
|
-
expect(element).toBeNull();
|
|
67
|
-
});
|
|
68
|
-
it("should not render button if the buttonLabel property isn’t used", async () => {
|
|
69
|
-
const page = await createPage(`<duet-hero title="test"></duet-hero>`);
|
|
70
|
-
const element = await page.find("duet-hero >>> duet-button");
|
|
71
|
-
expect(element).toBeNull();
|
|
72
|
-
});
|
|
73
|
-
it("should not render intro text if the description property isn’t used", async () => {
|
|
74
|
-
const page = await createPage(`<duet-hero title="test"></duet-hero>`);
|
|
75
|
-
const element = await page.find("duet-hero >>> .duet-hero-paragraph");
|
|
76
|
-
expect(element).toBeNull();
|
|
77
|
-
});
|
|
78
|
-
it("should provide a property that sets action items", async () => {
|
|
79
|
-
const page = await createPage(`<duet-hero></duet-hero>`);
|
|
80
|
-
await page.$eval("duet-hero", (el) => {
|
|
81
|
-
el.variation = "gray";
|
|
82
|
-
el.actions = [
|
|
83
|
-
{ label: "Ilmoita vahingosta", href: "/foo", icon: "navigation-make-claim" },
|
|
84
|
-
{ label: "Päivitä vakuutusta", href: "#", icon: "action-edit-2" },
|
|
85
|
-
{ label: "Tee rekisteröintimuutos", href: "#", icon: "messaging-terms", external: true },
|
|
86
|
-
];
|
|
87
|
-
});
|
|
88
|
-
await page.waitForChanges();
|
|
89
|
-
const element = await page.find("duet-hero >>> .duet-hero-links .duet-hero-link:first-child");
|
|
90
|
-
expect(element.getAttribute("href")).toEqual("/foo");
|
|
91
|
-
});
|
|
92
|
-
it("should provide a property that sets list items", async () => {
|
|
93
|
-
const page = await createPage(`<duet-hero></duet-hero>`);
|
|
94
|
-
await page.$eval("duet-hero", (el) => {
|
|
95
|
-
el.variation = "gray";
|
|
96
|
-
el.listItems = [
|
|
97
|
-
{ label: "Ilmoita vahingosta", value: "test" },
|
|
98
|
-
{ label: "Päivitä vakuutusta", value: "test" },
|
|
99
|
-
{ label: "Tee rekisteröintimuutos", value: "test" },
|
|
100
|
-
];
|
|
101
|
-
});
|
|
102
|
-
await page.waitForChanges();
|
|
103
|
-
const element = await page.find("duet-hero >>> duet-list");
|
|
104
|
-
expect(element).not.toBeNull();
|
|
105
|
-
});
|
|
106
|
-
it("should provide a property that sets the back link", async () => {
|
|
107
|
-
const page = await createPage(`<duet-hero></duet-hero>`);
|
|
108
|
-
await page.$eval("duet-hero", (el) => {
|
|
109
|
-
el.variation = "gray";
|
|
110
|
-
el.back = { label: "Takaisin", href: "#" };
|
|
111
|
-
});
|
|
112
|
-
await page.waitForChanges();
|
|
113
|
-
const element = await page.find("duet-hero >>> .duet-hero-back");
|
|
114
|
-
expect(element).not.toBeNull();
|
|
115
|
-
});
|
|
116
|
-
it("should provide a property that sets language", async () => {
|
|
117
|
-
const page = await createPage(`<duet-hero language="en"></duet-hero>`);
|
|
118
|
-
await page.$eval("duet-hero", (el) => {
|
|
119
|
-
el.variation = "gray";
|
|
120
|
-
el.actions = [
|
|
121
|
-
{ label: "Ilmoita vahingosta", href: "#", icon: "navigation-make-claim" },
|
|
122
|
-
{ label: "Päivitä vakuutusta", href: "#", icon: "action-edit-2" },
|
|
123
|
-
{ label: "Tee rekisteröintimuutos", href: "#", icon: "messaging-terms", external: true },
|
|
124
|
-
];
|
|
125
|
-
});
|
|
126
|
-
const element = await page.find("duet-hero >>> duet-visually-hidden");
|
|
127
|
-
expect(element.textContent).toEqual(", Avautuu uuteen ikkunaan");
|
|
128
|
-
});
|
|
129
|
-
it("should automatically refresh itself when content changes", async () => {
|
|
130
|
-
const page = await createPage(`<duet-hero language="en"></duet-hero>`);
|
|
131
|
-
await page.$eval("duet-hero", (el) => {
|
|
132
|
-
el.variation = "gray";
|
|
133
|
-
el.actions = [{ label: "Ilmoita vahingosta", href: "#", icon: "navigation-make-claim" }];
|
|
134
|
-
});
|
|
135
|
-
const element = await page.find("duet-hero");
|
|
136
|
-
// should be updated when setting the *attribute*
|
|
137
|
-
element.setAttribute("actions", '[{ "label": "test", "href": "#", "icon": "navigation-make-claim" }]');
|
|
138
|
-
await page.waitForChanges();
|
|
139
|
-
const test = await page.find("duet-hero >>> .duet-hero-links .duet-hero-link:first-child");
|
|
140
|
-
expect(test).toEqualText("test");
|
|
141
|
-
// should also be updated when setting the label *property*
|
|
142
|
-
element.setProperty("actions", [{ label: "test 2", href: "#", icon: "navigation-make-claim" }]);
|
|
143
|
-
await page.waitForChanges();
|
|
144
|
-
expect(test).toEqualText("test 2");
|
|
145
|
-
});
|
|
146
|
-
describe("analytics", () => {
|
|
147
|
-
let page;
|
|
148
|
-
const ANALYTICS_EVENT_NAME = "some test event";
|
|
149
|
-
beforeEach(async () => {
|
|
150
|
-
page = await createPage(`<duet-hero heading="Laskut" button-label="Vaihda e-laskutukseen" button-url="#"></duet-hero>`);
|
|
151
|
-
await page.$eval("duet-hero", (hero, analyticsId) => {
|
|
152
|
-
hero.buttonData = { analytics: analyticsId };
|
|
153
|
-
}, ANALYTICS_EVENT_NAME);
|
|
154
|
-
});
|
|
155
|
-
it("allows analytics to be set for the hero button", async () => {
|
|
156
|
-
const button = await page.find("duet-hero >>> duet-button");
|
|
157
|
-
const analyticsSpy = await page.spyOnEvent("duetAnalytics");
|
|
158
|
-
await button.click();
|
|
159
|
-
expect(analyticsSpy).toHaveReceivedEventTimes(1);
|
|
160
|
-
expect(analyticsSpy).toHaveReceivedEventDetail({
|
|
161
|
-
analyticsId: ANALYTICS_EVENT_NAME,
|
|
162
|
-
component: "duet-hero",
|
|
163
|
-
});
|
|
164
|
-
});
|
|
165
|
-
it("doesn't add analytics attributes when elements other than button clicked", async () => {
|
|
166
|
-
const heading = await page.find("duet-hero >>> duet-heading");
|
|
167
|
-
const analyticsSpy = await page.spyOnEvent("duetAnalytics");
|
|
168
|
-
await heading.click();
|
|
169
|
-
expect(analyticsSpy).toHaveReceivedEventTimes(0);
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
});
|
|
@@ -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-icon", () => {
|
|
6
|
-
it("should render an accessible component", async () => {
|
|
7
|
-
const result = await testWithAxe(`
|
|
8
|
-
<duet-icon size="x-large" background="category-family" name="category-personal"></duet-icon>
|
|
9
|
-
`, axeRunOptions);
|
|
10
|
-
expect(result).not.toBeNull();
|
|
11
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
12
|
-
});
|
|
13
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-icon", () => {
|
|
6
|
-
it("should render an icon", async () => {
|
|
7
|
-
const page = await createPage(`<duet-icon></duet-icon>`);
|
|
8
|
-
const component = await page.find("duet-icon");
|
|
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-icon theme="turva"></duet-icon>`);
|
|
14
|
-
const element = await page.find("duet-icon >>> .duet-icon");
|
|
15
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that changes the icon", async () => {
|
|
18
|
-
const page = await createPage(`<duet-icon name="action-arrow-right"></duet-icon>`);
|
|
19
|
-
const element = await page.find("duet-icon >>> svg");
|
|
20
|
-
expect(element).not.toBeNull();
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that changes the icon background", async () => {
|
|
23
|
-
const page = await createPage(`<duet-icon background="color-primary"></duet-icon>`);
|
|
24
|
-
const element = await page.find("duet-icon >>> .duet-icon-has-background");
|
|
25
|
-
expect(element).not.toBeNull();
|
|
26
|
-
});
|
|
27
|
-
});
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { fetchIconByUrl } from "./icon-utils";
|
|
5
|
-
describe("duet-icon/icon-utils", () => {
|
|
6
|
-
afterEach(() => {
|
|
7
|
-
jest.restoreAllMocks();
|
|
8
|
-
});
|
|
9
|
-
describe("fetchIconByUrl", () => {
|
|
10
|
-
const stubFetchResponse = (response) => {
|
|
11
|
-
jest.spyOn(global, "fetch").mockImplementation(() => Promise.resolve({
|
|
12
|
-
ok: response.ok,
|
|
13
|
-
text: () => Promise.resolve(response.text),
|
|
14
|
-
}));
|
|
15
|
-
};
|
|
16
|
-
it("should return svg text when validation passes", async () => {
|
|
17
|
-
expect.assertions(1);
|
|
18
|
-
stubFetchResponse({
|
|
19
|
-
ok: true,
|
|
20
|
-
text: "<svg></svg>",
|
|
21
|
-
});
|
|
22
|
-
const result = await fetchIconByUrl("valid.svg");
|
|
23
|
-
expect(result).toEqual("<svg></svg>");
|
|
24
|
-
});
|
|
25
|
-
it("should not request the same SVG twice", async () => {
|
|
26
|
-
expect.assertions(3);
|
|
27
|
-
stubFetchResponse({
|
|
28
|
-
ok: true,
|
|
29
|
-
text: "<svg></svg>",
|
|
30
|
-
});
|
|
31
|
-
const result1 = await fetchIconByUrl("double-request.svg");
|
|
32
|
-
const result2 = await fetchIconByUrl("double-request.svg");
|
|
33
|
-
expect(global.fetch).toHaveBeenCalledTimes(1);
|
|
34
|
-
expect(result1).toBe("<svg></svg>");
|
|
35
|
-
expect(result1).toBe(result2);
|
|
36
|
-
});
|
|
37
|
-
it("should strip any non-SVG tags", async () => {
|
|
38
|
-
expect.assertions(1);
|
|
39
|
-
stubFetchResponse({
|
|
40
|
-
ok: true,
|
|
41
|
-
text: `<div></div><svg></svg>`,
|
|
42
|
-
});
|
|
43
|
-
const result = await fetchIconByUrl("strip-non-svg-tags.svg");
|
|
44
|
-
expect(result).toEqual(`<svg></svg>`);
|
|
45
|
-
});
|
|
46
|
-
it("should return only the first child element", async () => {
|
|
47
|
-
expect.assertions(1);
|
|
48
|
-
stubFetchResponse({
|
|
49
|
-
ok: true,
|
|
50
|
-
text: `<svg id="first"></svg><svg id="second"></svg>`,
|
|
51
|
-
});
|
|
52
|
-
const result = await fetchIconByUrl("returns-first-element.svg");
|
|
53
|
-
expect(result).toEqual(`<svg id="first"></svg>`);
|
|
54
|
-
});
|
|
55
|
-
it("should throw an error if request failed", async () => {
|
|
56
|
-
expect.assertions(1);
|
|
57
|
-
stubFetchResponse({
|
|
58
|
-
ok: false,
|
|
59
|
-
text: "",
|
|
60
|
-
});
|
|
61
|
-
await expect(fetchIconByUrl("failed-request.svg")).rejects.toBeInstanceOf(Error);
|
|
62
|
-
});
|
|
63
|
-
it("should fail validation for SVGs with inline event handlers", async () => {
|
|
64
|
-
expect.assertions(1);
|
|
65
|
-
stubFetchResponse({
|
|
66
|
-
ok: true,
|
|
67
|
-
text: `<svg><path onclick="alert('pwned')" d="" /></svg>`,
|
|
68
|
-
});
|
|
69
|
-
await expect(fetchIconByUrl("inline-event-handler.svg")).rejects.toMatchObject({
|
|
70
|
-
message: "SVG validation failed",
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
it("should fail validation for SVGs with script tags", async () => {
|
|
74
|
-
expect.assertions(1);
|
|
75
|
-
stubFetchResponse({
|
|
76
|
-
ok: true,
|
|
77
|
-
text: `<svg><script>alert("pwned")</script><path d="" /></svg>`,
|
|
78
|
-
});
|
|
79
|
-
await expect(fetchIconByUrl("script-tag.svg")).rejects.toMatchObject({
|
|
80
|
-
message: "SVG validation failed",
|
|
81
|
-
});
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
});
|
|
@@ -1,33 +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-input", () => {
|
|
6
|
-
it("should render an accessible component", async () => {
|
|
7
|
-
const result = await testWithAxe(`
|
|
8
|
-
<duet-input type="text" required label="Text input" placeholder="Placeholder text" debounce="500"></duet-input>
|
|
9
|
-
`, axeRunOptions);
|
|
10
|
-
expect(result).not.toBeNull();
|
|
11
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
12
|
-
});
|
|
13
|
-
it("should render an accessible component of type email", async () => {
|
|
14
|
-
const result = await testWithAxe(`
|
|
15
|
-
<duet-input type="email" required label="Email input" placeholder="example@example.com"></duet-input> `, axeRunOptions);
|
|
16
|
-
expect(result).not.toBeNull();
|
|
17
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
18
|
-
});
|
|
19
|
-
it("should render an accessible component of type search", async () => {
|
|
20
|
-
const result = await testWithAxe(`
|
|
21
|
-
<duet-input clear="true" type="search" label="Search input" label-hidden placeholder="Type to search"></duet-input>
|
|
22
|
-
`, axeRunOptions);
|
|
23
|
-
expect(result).not.toBeNull();
|
|
24
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
25
|
-
});
|
|
26
|
-
it("should render an accessible component of type password", async () => {
|
|
27
|
-
const result = await testWithAxe(`
|
|
28
|
-
<duet-input type="password" variation="revealable" label="Password" placeholder="Password"></duet-input>
|
|
29
|
-
`, axeRunOptions);
|
|
30
|
-
expect(result).not.toBeNull();
|
|
31
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
32
|
-
});
|
|
33
|
-
});
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-input", () => {
|
|
6
|
-
it("should render an input", async () => {
|
|
7
|
-
const page = await createPage(`<duet-input></duet-input>`);
|
|
8
|
-
const component = await page.find("duet-input");
|
|
9
|
-
expect(component).not.toBeNull();
|
|
10
|
-
expect(component).toHaveClass("hydrated");
|
|
11
|
-
});
|
|
12
|
-
it("should provide a property that renders label", async () => {
|
|
13
|
-
const page = await createPage(`<duet-input label="test"></duet-input>`);
|
|
14
|
-
const element = await page.find("duet-input duet-label label");
|
|
15
|
-
expect(element.innerText).toEqual("test");
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that removes the margin of the component", async () => {
|
|
18
|
-
const page = await createPage(`<duet-input margin="none"></duet-input>`);
|
|
19
|
-
const element = await page.find(".duet-m-0");
|
|
20
|
-
expect(element).not.toBeNull();
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that renders aria-controls", async () => {
|
|
23
|
-
const page = await createPage(`<duet-input accessible-controls="test"></duet-input>`);
|
|
24
|
-
const element = await page.find("duet-input .duet-input");
|
|
25
|
-
expect(element.getAttribute("aria-controls")).toEqual("test");
|
|
26
|
-
});
|
|
27
|
-
it("should associate the tooltip with the label", async () => {
|
|
28
|
-
const page = await createPage(`<duet-input tooltip="tooltip" />`);
|
|
29
|
-
const label = await page.find("duet-input label");
|
|
30
|
-
const tooltip = await page.find("duet-tooltip");
|
|
31
|
-
const tooltipInputLabel = await tooltip.getProperty("accessibleInputLabel");
|
|
32
|
-
expect(tooltipInputLabel).not.toBeNull();
|
|
33
|
-
expect(label.textContent).toBe(tooltipInputLabel);
|
|
34
|
-
});
|
|
35
|
-
it("should provide a property that renders aria-activedescendant", async () => {
|
|
36
|
-
const page = await createPage(`<duet-input accessible-active-descendant="test"></duet-input>`);
|
|
37
|
-
const element = await page.find("duet-input .duet-input");
|
|
38
|
-
expect(element.getAttribute("aria-activedescendant")).not.toBeNull();
|
|
39
|
-
});
|
|
40
|
-
it("should provide a property that renders aria-autocomplete", async () => {
|
|
41
|
-
const page = await createPage(`<duet-input accessible-autocomplete="test"></duet-input>`);
|
|
42
|
-
const element = await page.find("duet-input .duet-input");
|
|
43
|
-
expect(element.getAttribute("aria-autocomplete")).not.toBeNull();
|
|
44
|
-
});
|
|
45
|
-
it("should provide a property that renders aria-owns", async () => {
|
|
46
|
-
const page = await createPage(`<duet-input accessible-owns="test"></duet-input>`);
|
|
47
|
-
const element = await page.find("duet-input .duet-input");
|
|
48
|
-
expect(element.getAttribute("aria-owns")).not.toBeNull();
|
|
49
|
-
});
|
|
50
|
-
it("should provide a property that renders input in different types", async () => {
|
|
51
|
-
const page = await createPage(`<duet-input type="email"></duet-input>`);
|
|
52
|
-
const element = await page.find("duet-input .duet-input");
|
|
53
|
-
expect(element.getAttribute("type")).toEqual("email");
|
|
54
|
-
});
|
|
55
|
-
it("should provide a property that switches the theme", async () => {
|
|
56
|
-
const page = await createPage(`<duet-input theme="turva"></duet-input>`);
|
|
57
|
-
const element = await page.find("duet-input .duet-input-container");
|
|
58
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
59
|
-
});
|
|
60
|
-
it("should provide a property that expands the input to fill 100% width", async () => {
|
|
61
|
-
const page = await createPage(`<duet-input expand></duet-input>`);
|
|
62
|
-
const element = await page.find("duet-input");
|
|
63
|
-
expect(element).toHaveClass("duet-expand");
|
|
64
|
-
});
|
|
65
|
-
it("should provide a property that makes the input disabled", async () => {
|
|
66
|
-
const page = await createPage(`<duet-input disabled></duet-input>`);
|
|
67
|
-
const element = await page.find("duet-input .duet-input");
|
|
68
|
-
expect(element.getAttribute("disabled")).not.toBeNull();
|
|
69
|
-
});
|
|
70
|
-
it("should provide a property that adds an ID for the input", async () => {
|
|
71
|
-
const page = await createPage(`<duet-input identifier="test"></duet-input>`);
|
|
72
|
-
const element = await page.find("duet-input .duet-input");
|
|
73
|
-
expect(element.getAttribute("id")).toEqual("test");
|
|
74
|
-
});
|
|
75
|
-
it("should provide a property that makes input required", async () => {
|
|
76
|
-
const page = await createPage(`<duet-input required></duet-input>`);
|
|
77
|
-
const element = await page.find("duet-input .duet-input");
|
|
78
|
-
expect(element.getAttribute("required")).not.toBeNull();
|
|
79
|
-
});
|
|
80
|
-
it("should provide a property that makes the label hidden", async () => {
|
|
81
|
-
const page = await createPage(`<duet-input label-hidden></duet-input>`);
|
|
82
|
-
const element = await page.find("duet-input .duet-input-container");
|
|
83
|
-
expect(element).toHaveClass("duet-label-hidden");
|
|
84
|
-
});
|
|
85
|
-
it("should provide a property that adds name for the input", async () => {
|
|
86
|
-
const page = await createPage(`<duet-input name="test"></duet-input>`);
|
|
87
|
-
const element = await page.find("duet-input .duet-input");
|
|
88
|
-
expect(element.getAttribute("name")).not.toBeNull();
|
|
89
|
-
});
|
|
90
|
-
it("should provide a property that adds pattern regex for the input", async () => {
|
|
91
|
-
const page = await createPage(`<duet-input pattern="test"></duet-input>`);
|
|
92
|
-
const element = await page.find("duet-input .duet-input");
|
|
93
|
-
expect(element.getAttribute("pattern")).not.toBeNull();
|
|
94
|
-
});
|
|
95
|
-
it("should provide a property that adds placeholder for the input", async () => {
|
|
96
|
-
const page = await createPage(`<duet-input placeholder="test"></duet-input>`);
|
|
97
|
-
const element = await page.find("duet-input .duet-input");
|
|
98
|
-
expect(element.getAttribute("placeholder")).not.toBeNull();
|
|
99
|
-
});
|
|
100
|
-
it("should provide a property that adds role for the input", async () => {
|
|
101
|
-
const page = await createPage(`<duet-input role="test"></duet-input>`);
|
|
102
|
-
const element = await page.find("duet-input .duet-input");
|
|
103
|
-
expect(element.getAttribute("role")).not.toBeNull();
|
|
104
|
-
});
|
|
105
|
-
it("should provide a property that modifies autocomplete attribute", async () => {
|
|
106
|
-
const page = await createPage(`<duet-input auto-complete="test"></duet-input>`);
|
|
107
|
-
const element = await page.find("duet-input .duet-input");
|
|
108
|
-
expect(element.getAttribute("autocomplete")).toEqual("test");
|
|
109
|
-
});
|
|
110
|
-
it("should provide a property that adds an error", async () => {
|
|
111
|
-
const page = await createPage(`<duet-input error="test"></duet-input>`);
|
|
112
|
-
const element = await page.find("duet-input .duet-input-help");
|
|
113
|
-
expect(element).not.toBeNull();
|
|
114
|
-
});
|
|
115
|
-
it("should provide a property that sets tooltip", async () => {
|
|
116
|
-
const page = await createPage(`<duet-input tooltip="test"></duet-input>`);
|
|
117
|
-
const element = await page.find("duet-input duet-tooltip");
|
|
118
|
-
expect(element).not.toBeNull();
|
|
119
|
-
});
|
|
120
|
-
it("should not render tooltip if the property isn’t used", async () => {
|
|
121
|
-
const page = await createPage(`<duet-input id="test"></duet-input>`);
|
|
122
|
-
const element = await page.find("duet-input duet-tooltip");
|
|
123
|
-
expect(element).toBeNull();
|
|
124
|
-
});
|
|
125
|
-
it("should provide a property that sets custom icon", async () => {
|
|
126
|
-
const page = await createPage(`<duet-input icon="form-location"></duet-input>`);
|
|
127
|
-
const element = await page.find("duet-input .duet-input-icon");
|
|
128
|
-
expect(element).not.toBeNull();
|
|
129
|
-
});
|
|
130
|
-
it("should not render custom icon if the option is not used", async () => {
|
|
131
|
-
const page = await createPage(`<duet-input label="test"></duet-input>`);
|
|
132
|
-
const element = await page.find("duet-input .duet-input-icon");
|
|
133
|
-
expect(element).toBeNull();
|
|
134
|
-
});
|
|
135
|
-
it("raises duetChange event when value has changed", async () => {
|
|
136
|
-
const page = await createPage(`<duet-input></duet-input>`);
|
|
137
|
-
const element = await page.find("duet-input");
|
|
138
|
-
const changeSpy = await element.spyOnEvent("duetChange");
|
|
139
|
-
await page.keyboard.press("Tab");
|
|
140
|
-
await page.keyboard.type("hello");
|
|
141
|
-
await page.waitForChanges();
|
|
142
|
-
expect(changeSpy.lastEvent.detail).toMatchObject({
|
|
143
|
-
value: "hello",
|
|
144
|
-
component: "duet-input",
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
it("raises a duetInput even on input", async () => {
|
|
148
|
-
const page = await createPage(`<duet-input></duet-input>`);
|
|
149
|
-
const element = await page.find("duet-input");
|
|
150
|
-
const inputSpy = await element.spyOnEvent("duetInput");
|
|
151
|
-
await page.keyboard.press("Tab");
|
|
152
|
-
await page.keyboard.type("hello");
|
|
153
|
-
await page.waitForChanges();
|
|
154
|
-
expect(inputSpy.lastEvent.detail).toMatchObject({
|
|
155
|
-
value: "hello",
|
|
156
|
-
component: "duet-input",
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
it("raises duetFocus event when input is focused", async () => {
|
|
160
|
-
const page = await createPage(`<duet-input></duet-input>`);
|
|
161
|
-
const element = await page.find("duet-input");
|
|
162
|
-
const focusSpy = await element.spyOnEvent("duetFocus");
|
|
163
|
-
await page.keyboard.press("Tab");
|
|
164
|
-
await page.waitForChanges();
|
|
165
|
-
expect(focusSpy).toHaveReceivedEvent();
|
|
166
|
-
});
|
|
167
|
-
it("raises a duetBlur event when input is blurred", async () => {
|
|
168
|
-
const page = await createPage(`<duet-input></duet-input>`);
|
|
169
|
-
const element = await page.find("duet-input");
|
|
170
|
-
const focusSpy = await element.spyOnEvent("duetBlur");
|
|
171
|
-
// tab in...
|
|
172
|
-
await page.keyboard.press("Tab");
|
|
173
|
-
await page.waitForChanges();
|
|
174
|
-
// tab out...
|
|
175
|
-
await page.keyboard.press("Tab");
|
|
176
|
-
await page.waitForChanges();
|
|
177
|
-
expect(focusSpy).toHaveReceivedEvent();
|
|
178
|
-
});
|
|
179
|
-
it("allows characters to be disallowed", async () => {
|
|
180
|
-
const page = await createPage(`<duet-input label="numbers only" disallow-pattern="[^0-9]"></duet-input>`);
|
|
181
|
-
const element = await page.find("duet-input");
|
|
182
|
-
const input = await page.find("duet-input .duet-input");
|
|
183
|
-
// tab to input
|
|
184
|
-
await page.keyboard.press("Tab");
|
|
185
|
-
// type some _allowed_ chars
|
|
186
|
-
await page.keyboard.type("123", { delay: 50 });
|
|
187
|
-
// move cursor so we can test maintaining position
|
|
188
|
-
await page.keyboard.press("ArrowLeft");
|
|
189
|
-
// store cursor position
|
|
190
|
-
const cursorBefore = await input.getProperty("selectionStart");
|
|
191
|
-
expect(cursorBefore).toBe(2);
|
|
192
|
-
// attempt to enter _disallowed_ character
|
|
193
|
-
await page.keyboard.press("a");
|
|
194
|
-
const cursorAfter = await input.getProperty("selectionStart");
|
|
195
|
-
const value = await element.getProperty("value");
|
|
196
|
-
// we should see cursor hasn't changed
|
|
197
|
-
expect(cursorAfter).toBe(cursorBefore);
|
|
198
|
-
// and value contains no disallowed chars
|
|
199
|
-
expect(value).toBe("123");
|
|
200
|
-
});
|
|
201
|
-
});
|
|
@@ -1,14 +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-label", () => {
|
|
6
|
-
it("should render an accessible component", async () => {
|
|
7
|
-
const result = await testWithAxe(`
|
|
8
|
-
<duet-label for="identifier">Label text</duet-label>
|
|
9
|
-
<input id="identifier" type="text" />
|
|
10
|
-
`, axeRunOptions);
|
|
11
|
-
expect(result).not.toBeNull();
|
|
12
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
13
|
-
});
|
|
14
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-label", () => {
|
|
6
|
-
it("should render a label", async () => {
|
|
7
|
-
const page = await createPage(`<duet-label></duet-label>`);
|
|
8
|
-
const component = await page.find("duet-label");
|
|
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-label theme="turva"></duet-label>`);
|
|
14
|
-
const element = await page.find("duet-label");
|
|
15
|
-
expect(element).toHaveClass("duet-theme-turva");
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that adds an html for for the label", async () => {
|
|
18
|
-
const page = await createPage(`<duet-label for="test"></duet-label>`);
|
|
19
|
-
const element = await page.find("duet-label label");
|
|
20
|
-
expect(element.getAttribute("for")).toEqual("test");
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that removes the margin of the component", async () => {
|
|
23
|
-
const page = await createPage(`<duet-label margin="none"></duet-label>`);
|
|
24
|
-
const element = await page.find(".duet-m-0");
|
|
25
|
-
expect(element).not.toBeNull();
|
|
26
|
-
});
|
|
27
|
-
it("should provide a property that changes the spacing of label", async () => {
|
|
28
|
-
const page = await createPage(`<duet-label margin="none"></duet-label>`);
|
|
29
|
-
const element = await page.find("duet-label");
|
|
30
|
-
expect(element).toHaveClass("duet-m-0");
|
|
31
|
-
});
|
|
32
|
-
});
|
|
@@ -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-layout", () => {
|
|
6
|
-
it("should render an accessible component", async () => {
|
|
7
|
-
const result = await testWithAxe(`
|
|
8
|
-
<duet-layout margin="none">
|
|
9
|
-
<div slot="main">
|
|
10
|
-
<duet-card heading="Main">Main content</duet-card>
|
|
11
|
-
<duet-card heading="More main content">Main content</duet-card>
|
|
12
|
-
</div>
|
|
13
|
-
</duet-layout>
|
|
14
|
-
`, axeRunOptions);
|
|
15
|
-
expect(result).not.toBeNull();
|
|
16
|
-
expect(formatViolations(result.violations)).toEqual([]);
|
|
17
|
-
});
|
|
18
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import { createPage } from "../../utils/test-utils";
|
|
5
|
-
describe("duet-layout", () => {
|
|
6
|
-
it("should render a layout", async () => {
|
|
7
|
-
const page = await createPage(`<duet-layout><div slot="main"></div></duet-layout>`);
|
|
8
|
-
const component = await page.find("duet-layout");
|
|
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-layout margin="none"><div slot="main"></div></duet-layout>`);
|
|
14
|
-
const element = await page.find("duet-layout >>> .duet-m-0");
|
|
15
|
-
expect(element).not.toBeNull();
|
|
16
|
-
});
|
|
17
|
-
it("should provide a property that center aligns the layout", async () => {
|
|
18
|
-
const page = await createPage(`<duet-layout center><div slot="main"></div></duet-layout>`);
|
|
19
|
-
const element = await page.find("duet-layout >>> .duet-layout");
|
|
20
|
-
expect(element).toHaveClass("duet-center");
|
|
21
|
-
});
|
|
22
|
-
it("should provide a property that adjusts the sidebar when tabs are used", async () => {
|
|
23
|
-
const page = await createPage(`<duet-layout tabs>><div slot="main"></div><div slot="sidebar">test</div></duet-layout>`);
|
|
24
|
-
const element = await page.find("duet-layout >>> .duet-sidebar-container");
|
|
25
|
-
expect(element).toHaveClass("has-tabs");
|
|
26
|
-
});
|
|
27
|
-
it("should provide a property that middle aligns the layout", async () => {
|
|
28
|
-
const page = await createPage(`<duet-layout middle><div slot="main"></div></duet-layout>`);
|
|
29
|
-
const element = await page.find("duet-layout");
|
|
30
|
-
expect(element).toHaveClass("duet-middle");
|
|
31
|
-
});
|
|
32
|
-
});
|