@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
|
@@ -96,18 +96,18 @@ export class DuetSubmenuBarDropdown {
|
|
|
96
96
|
* Always the last one in the class.
|
|
97
97
|
*/
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host,
|
|
99
|
+
return (h(Host, { key: '6274bd7a43f80db2274aa70401a0979067b14241' }, h("div", { key: 'a95830e26ac5c8582f6ee246f8b6aff6b584eab8', class: {
|
|
100
100
|
"duet-submenu-bar-dropdown": true,
|
|
101
101
|
"duet-theme-turva": this.theme === "turva",
|
|
102
102
|
open: this.open,
|
|
103
103
|
active: this.active,
|
|
104
|
-
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
104
|
+
} }, h("button", { key: '46b70084564934de7aa1ebd31450d3d8d801f58d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
105
105
|
open: this.open,
|
|
106
106
|
active: this.active,
|
|
107
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("span", { class: "label-text" }, h("slot", { name: "label" })), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
107
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '93a04cbdf0406484e6f0ef74b091c2a81a5d79dc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'da16606583842ba541aaf2635d86d3c144505822', class: "label" }, h("span", { key: 'b19e1dc0a7c08dbac4ba7934d7a963f97ff94a32', class: "label-text" }, h("slot", { key: 'f4e2bd0d75166f51371bd798c1fbf823f67b4e1c', name: "label" })), h("duet-icon", { key: 'a2ef8e75498bbfa0c0386c14a9c85d756f8ba7a8', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '6a8277495e4af7f750246f736ea4c6873a038bf8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
108
108
|
items: true,
|
|
109
109
|
hidden: !this.open,
|
|
110
|
-
} }, h("slot",
|
|
110
|
+
} }, h("slot", { key: '645c0c44b00a3a1ab2e78dcdc24b1369bb972251' })))));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "duet-submenu-bar-dropdown"; }
|
|
113
113
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js
CHANGED
|
@@ -31,12 +31,12 @@ export class DuetSubmenuBarDropdownLink {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host,
|
|
34
|
+
return (h(Host, { key: '8a0279e899342bbb7cc78247029e3da1e26999aa' }, h("a", { key: 'dfb0b766d70ed1587460ca994f7d28fa589db2ba', class: {
|
|
35
35
|
"duet-submenu-bar-dropdown-link": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
highlight: this.highlight,
|
|
38
38
|
active: this.active,
|
|
39
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { class: "label-container" }, h("span", { class: "label" }, h("slot",
|
|
39
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: 'e613bd775722dd99bfa920d878fadc7646894db6', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("span", { key: 'a5dfde043611ce5a4d476034060128f2d66780a9', class: "label-container" }, h("span", { key: '270a140045cb7dcb5ee905637d02911176a406bd', class: "label" }, h("slot", { key: '800e324290857b3cbaccb445b8448bf78c22b953' })), this.caret && h("duet-icon", { key: '11aa7d0d718eb54806fd3449ea16eb215a2c8541', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (h("duet-icon", { key: '9256bee51ada54db092568c6c9bf3571b809b66f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "duet-submenu-bar-dropdown-link"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,7 +40,7 @@ export class DuetSubmenuBarItem {
|
|
|
40
40
|
*/
|
|
41
41
|
render() {
|
|
42
42
|
const TagName = this.url ? "a" : "button";
|
|
43
|
-
return (h(Host,
|
|
43
|
+
return (h(Host, { key: 'abe5b5537a889effe530e1f9deac5c5ffb7db97e' }, h(TagName, { key: 'dff0dcda980df21651e61f17bdbaf3ff043f74d9', ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { key: 'e11c2d8c80c483df7b879b509d830a795ae394c8', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '21349526758d043bef848e13088afd921562d7ab', class: "label" }, h("span", { key: 'c4d410336df73a2d7e604015f4d914ac48095341', class: "label-text" }, h("slot", { key: 'a33084f99de5cc4cbe1bda98368802c7de6c8108' })), this.trailingIcon && (h("duet-icon", { key: '65d46ca91857c91355a419ab5d2229df633b5f6f', class: {
|
|
44
44
|
"trailing-icon": true,
|
|
45
45
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
46
46
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
@@ -29,7 +29,7 @@ export class DuetSubmenuBarLink {
|
|
|
29
29
|
* Always the last one in the class.
|
|
30
30
|
*/
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host,
|
|
32
|
+
return (h(Host, { key: 'fdb4bda5a30e6c5018bc3636e2381a56ee01e4e3' }, h("a", { key: 'd9f4e02a83f4f6878c7cb31d2201e3fd4150d580', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (h("duet-icon", { key: '59193a693a585ccd29d06c85088e9fdc67bca422', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("span", { key: 'f0cd7c856a0f000e8d7e205d1a414454a0683d17', class: "label" }, h("slot", { key: '4ad4ae7537067cc17a906b7c2ddcabe9a278aeaa' })))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-submenu-bar-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -203,27 +203,27 @@ export class DuetTabGroup {
|
|
|
203
203
|
render() {
|
|
204
204
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
205
205
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
206
|
-
return (h("div", { class: {
|
|
206
|
+
return (h("div", { key: 'b25c23e9c7e9a3e5a6b522e1c200b651fb35225f', class: {
|
|
207
207
|
"duet-tab-group": true,
|
|
208
208
|
"duet-theme-turva": this.theme === "turva",
|
|
209
209
|
[variationClass]: true,
|
|
210
210
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
211
211
|
"duet-tab-group-scrolls": this.scrolls,
|
|
212
212
|
"duet-tab-group-collapses": this.collapses,
|
|
213
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (h("duet-select", { value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
213
|
+
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (h("duet-select", { key: '8c1717c42f63f55fd0e66c2c981076fb7ebb822b', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
214
214
|
return { label: tab.label, value: index.toString() };
|
|
215
|
-
}) })), h("div", { role: "tablist", class: {
|
|
215
|
+
}) })), h("div", { key: 'e269e1dc5913d6d656634c19dfea91594c17a635', role: "tablist", class: {
|
|
216
216
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
217
217
|
"duet-tab-group-tabs": true,
|
|
218
218
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
219
219
|
"duet-tab-group-collapses": this.collapses,
|
|
220
220
|
}, ref: el => {
|
|
221
221
|
this.tabsContainer = el;
|
|
222
|
-
} }, this.renderTab()), h("div", { class: {
|
|
222
|
+
} }, this.renderTab()), h("div", { key: '331c2d4ec2fdb88caa5f3c0057e81292d86028d5', class: {
|
|
223
223
|
"duet-tab-group-content": true,
|
|
224
224
|
"duet-m-0": this.margin === "none",
|
|
225
225
|
"checked-group-content": this.variation === "checked",
|
|
226
|
-
} }, h("slot",
|
|
226
|
+
} }, h("slot", { key: 'a78e9aa86f7c03563db3d43eeb30e20845b0a043' }))));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "duet-tab-group"; }
|
|
229
229
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,7 +113,7 @@ export class DuetTable {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h(Host, { class: {
|
|
116
|
+
return (h(Host, { key: 'ab8dd44a4ed7d49de8ad2f11150455407c8d3a80', class: {
|
|
117
117
|
[`duet-table-${this.variation}`]: true,
|
|
118
118
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
119
119
|
// sticky only valid when in regular table layout
|
|
@@ -122,7 +122,7 @@ export class DuetTable {
|
|
|
122
122
|
"duet-m-0": this.margin === "none",
|
|
123
123
|
"duet-theme-turva": this.theme === "turva",
|
|
124
124
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
125
|
-
} }, h("slot",
|
|
125
|
+
} }, h("slot", { key: 'fe9ea56f8b1567513f3efdf1be6dbd5723e56f6e' })));
|
|
126
126
|
}
|
|
127
127
|
static get is() { return "duet-table"; }
|
|
128
128
|
static get originalStyleUrls() {
|
|
@@ -25,7 +25,7 @@ export class DuetToolbar {
|
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
27
|
const variation = this.variation === "negative" ? "negative" : "default";
|
|
28
|
-
return (h(Host,
|
|
28
|
+
return (h(Host, { key: 'ca4c2dd159af6a75a64fd4559da9c58fa889abab' }, h("nav", { key: 'b895cd71a3eb9c5c5b1e6057b81571e64d5059dc', class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva", [variation]: true }, "aria-label": this.accessibleLabel }, h("div", { key: 'ac696254f9a32fd837a9e3484d08e70648880ca2', class: "container" }, h("div", { key: 'a37926ca410b7d7cc8c78418511d8c5d05338d8d', class: "list", role: "list" }, h("slot", { key: '37bef6b5d253fe695bcf4bcfa9d277b616b7b98d', name: "left" })), h("div", { key: '3b42c69dc892c874ab6a2d737a50bc8fff4c730c', class: "list", role: "list" }, h("slot", { key: 'a1b11f4b740034718086be5efecf2353ca2389a5', name: "right" }))))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "duet-toolbar"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,18 +50,18 @@ export class DuetToolbarDropdown {
|
|
|
50
50
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
51
51
|
}
|
|
52
52
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
53
|
-
return (h(Host, { role: "listitem" }, h("div", { class: {
|
|
53
|
+
return (h(Host, { key: 'b1ab90e367e74581bb2bbbbab3efca4befdb65af', role: "listitem" }, h("div", { key: '8f911bb057a0b128bca7d7fe7d9c864fe0123f6a', class: {
|
|
54
54
|
"duet-toolbar-dropdown": true,
|
|
55
55
|
"duet-theme-turva": this.theme === "turva",
|
|
56
56
|
[itemsAlign]: true,
|
|
57
57
|
[variation]: true,
|
|
58
|
-
} }, h("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
58
|
+
} }, h("button", { key: '250463f2bc27b86116406c9cc94ac3a0b2ad3dad', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
59
59
|
active: this.active,
|
|
60
60
|
open: this.open,
|
|
61
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
61
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '79bc60e4e8e87082abce55cb552bf6ec5653bf13', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("span", { key: '58325e1fe660100b8e5bfb0406b039dbe6dd12a2', class: "label" }, h("slot", { key: '0e268220c2af6cbe5336502e28f4b1bd2231fda4', name: "label" }), h("duet-icon", { key: '29849c94518deae5dd1be0f1e16aff39f380aad1', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'e3b7ce6dbf6f1c38a9859f90b91ec3036a458b8a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
62
62
|
items: true,
|
|
63
63
|
hidden: !this.open,
|
|
64
|
-
} }, h("slot",
|
|
64
|
+
} }, h("slot", { key: 'c864869cbf3ac102fc2f72966bec15e294e68fd6' })))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "duet-toolbar-dropdown"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,11 +31,11 @@ export class DuetToolbarDropdownLink {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host,
|
|
34
|
+
return (h(Host, { key: 'c348732450775e0dcf44a89feb7cdb439517a1a1' }, h("a", { key: 'e4e1d391e62fdcf6a9174a44a43a60eae30424b5', class: {
|
|
35
35
|
"duet-toolbar-dropdown-link": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
active: this.active,
|
|
38
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("span", { class: "label" }, h("slot",
|
|
38
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { key: '518f648837a592671dcb151d34fddd9fe1d1bddf', name: this.icon, size: "x-small", margin: "none" }), h("span", { key: 'ec4f57aad2690c2f393b10be6b97f3dc51923c49', class: "label" }, h("slot", { key: '606e746c11057f4b6fe522c72fb46ef812f09cbc' })), this.active && (h("duet-icon", { key: '06b05bda87ec401f58c37ebb227bf5d79dfce23b', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-toolbar-dropdown-link"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,12 +34,12 @@ export class DuetToolbarItem {
|
|
|
34
34
|
render() {
|
|
35
35
|
const TagName = this.url ? "a" : "button";
|
|
36
36
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
37
|
-
return (h(Host, { role: "listitem" }, h(TagName, { ref: element => (this.itemElement = element), class: {
|
|
37
|
+
return (h(Host, { key: '3e9682df2c32801eb6fe762073f655878533b2e9', role: "listitem" }, h(TagName, { key: 'bdc5ace05432994caa73e7262221cd8090b6f635', ref: element => (this.itemElement = element), class: {
|
|
38
38
|
"duet-toolbar-item": true,
|
|
39
39
|
"duet-theme-turva": this.theme === "turva",
|
|
40
40
|
active: this.active,
|
|
41
41
|
[variation]: true,
|
|
42
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot",
|
|
42
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { key: '8c263b1162d7042f9e0a128d7bc301ce3642bd22', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '4e3476e70043cf9f4abe7e317f2d59ade87e40e5' }), this.trailingIcon && (h("duet-icon", { key: '0d0effa4d7022a1737bf0cc9f7ec5c6931f11cc5', class: {
|
|
43
43
|
"trailing-icon": true,
|
|
44
44
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
45
45
|
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: this.trailingIcon === "action-arrow-down-small" ? "xxx-small" : "x-small", color: "currentColor" })))));
|
|
@@ -24,12 +24,12 @@ export class DuetToolbarLink {
|
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
26
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27
|
-
return (h(Host, { role: "listitem" }, h("a", { class: {
|
|
27
|
+
return (h(Host, { key: '0b1b75540b0e76392ccc42744e179a500cd3d7ad', role: "listitem" }, h("a", { key: 'f010c63eaddd157e787951cea81ced2d0ab61957', class: {
|
|
28
28
|
"duet-toolbar-link": true,
|
|
29
29
|
"duet-theme-turva": this.theme === "turva",
|
|
30
30
|
active: this.active,
|
|
31
31
|
[variation]: true,
|
|
32
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot",
|
|
32
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'f6a372c0c34607f1a8e87dd710c371e61e356e2e', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '341984fa0638ea8b79c0ff55a679d673a34b6376' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-toolbar-link"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,11 +38,11 @@ export class DuetTooltipButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host,
|
|
41
|
+
return (h(Host, { key: '5c2bf987bfba5d4b7277cf6680df0901d66b557f' }, h("button", { key: '123177d53f166dab9aafb3afe6ef7f8d6fd83bfb', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
42
42
|
"duet-tooltip-button": true,
|
|
43
43
|
"duet-tooltip-button-has-label": !!this.label,
|
|
44
44
|
"duet-theme-turva": this.theme === "turva",
|
|
45
|
-
} }, h("svg", { "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
45
|
+
} }, h("svg", { key: '0b04ba67bc365f18ead61cebb4b50e779e8779d1', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '912d6476f67026dda8ad23093d3e4db76afe5b60', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { key: '7d8dfe057c870df330dbd26cfdc5c1f6c3e3c632', cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { key: 'cff746a9eb12f439da3fe2469a716631939bd69a', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "duet-tooltip-button"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class DuetTooltipPopup {
|
|
|
53
53
|
this.contentEl.focus();
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host,
|
|
56
|
+
return (h(Host, { key: 'dc3ca4ba9ef2e919f83aca37e6341ff34395ffaa' }, h("div", { key: 'efb0386ce9c7b976bf65aaf785540fcb5f0b719e', class: {
|
|
57
57
|
"duet-tooltip": true,
|
|
58
58
|
"duet-theme-turva": this.theme === "turva",
|
|
59
59
|
"duet-tooltip-active": this.active === true,
|
|
60
|
-
} }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot",
|
|
60
|
+
} }, h(FocusGuard, { key: 'd8932d7ddac08d3429c7972bfbebb070cb083f71', moveFocusTo: this.buttonEl }), h("div", { key: '3d89efd0dfe21334173ae7141616a955439eb2c6', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", { key: 'ae21e55ab3bfb1a25eb167c1a598a264a3568121' })), h("div", { key: '88166e6bc68a62d6df21ed962d0a5a192fe27aef', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { key: '27ec390ca052f884a69fd761d9196d29832c9160', class: { "arrow-container": true, [this.placement]: true } })), h("button", { key: '21e54548f177faa13933fe6617e1ace266255d9e', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { key: '9f1ac2403232e6aca7d25bf48b8b63632bd7ca2c', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", { key: '429898e8fa996f763fd5baf735a9b0b5301582a3' }, this.accessibleCloseLabel)), h(FocusGuard, { key: 'd42579384165f3d801045c761412e5d620103489', moveFocusTo: this.contentEl }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "duet-tooltip-popup"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,14 +87,14 @@ export class DuetTray {
|
|
|
87
87
|
* Always the last one in the class.
|
|
88
88
|
*/
|
|
89
89
|
render() {
|
|
90
|
-
return (h("div", { class: {
|
|
90
|
+
return (h("div", { key: 'd886cb2bdb30f527fc0cbcdc7dfdc037b7957445', class: {
|
|
91
91
|
"duet-tray": true,
|
|
92
92
|
"duet-tray-is-active": this.active,
|
|
93
93
|
"duet-tray-is-hidden": this.hiddenState,
|
|
94
94
|
"duet-tray-is-responsive": this.responsive,
|
|
95
95
|
"duet-theme-turva": this.theme === "turva",
|
|
96
96
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
97
|
-
} }, h("div", { class: "duet-tray-default-content", role: "status" }, h("slot",
|
|
97
|
+
} }, h("div", { key: '4dd01b50a8b2a1193f482ff2d6ac8faad8844598', class: "duet-tray-default-content", role: "status" }, h("slot", { key: '3b394a2c46dd52ace13372c021386695537e45a2' })), this.hasAdditionalContent && (h(Fragment, { key: 'e1ae4eb82fddc625d018fc625050095693a0cb39' }, h("button", { key: '64946a1df75ff28b45edaeb6989365b78fa18a01', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, h("duet-icon", { key: '15a329f00635b0a11dbcbfaab77c075006b4368d', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), h("duet-visually-hidden", { key: 'b8a54bd169d936630907459d979f5f3d812e234f' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), h("div", { key: 'b70a810a085e145d87d016daf31481e720cff3be', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, h("div", { key: '06a8e71c2b515c185e842f8d98c1bbb7a8d77248', class: "duet-tray-expandable-content" }, h("slot", { key: 'a4110b6fc431f61dafec49fddcefa9802b28bcc8', name: "additional" })))))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "duet-tray"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -753,10 +753,10 @@ export class DuetUpload {
|
|
|
753
753
|
this.externalUploadButton.accessibleLabel = caption;
|
|
754
754
|
}
|
|
755
755
|
// @ts-ignore
|
|
756
|
-
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { name: "header" }), !this.files.size && (h("duet-empty-state", { id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { name: "filefooter" }), h("slot", { name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { margin: "none", size: "small" }, h("div", { class: "upload-bottom-caption" }, caption))), h("slot", { name: "afterfooter" }), !this.hideButton && (h(Fragment,
|
|
756
|
+
return (h(Host, { key: 'fbb23e4c7dafe25f609164ab839dfe2b773e4656', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '06b9887702d76107263650313313f1a9d0da18e1', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label, caption: !this.captionOnBottom ? caption : undefined }, h("slot", { key: '09d08704944030cfcf9577d1e9ff5743530cb087', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '9455c1f4ec1c6f23ec1d005aa6aa1f0c902ea6d5', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: '33c49028d666ce29fd441817062f5fce1d5d87df', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'ec41dfe1c379d717f4514d819118e8484feadc61', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: 'ba56e1700f6254c05f0aeebded23eb071c2712a8', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'c751122858e240739f4a439b89f9ff7f7603ee65', name: "filefooter" }), h("slot", { key: '44add8b2fd77cb942db72bd83cad90cab6e3b83a', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'b788d8ba602fe61da7ff8c06509ea0521027082f', margin: "none", size: "small" }, h("div", { key: '905be51cf09c625bd19737b9fa28c85f7911a2a4', class: "upload-bottom-caption" }, caption))), h("slot", { key: '2da304d7094152a7c38607af3d74d5d8b076c711', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '74cc919f60e229c4fa1f7f8f4472c2d5cd731a6c' }, h("duet-spacer", { key: 'f60c7893de953a3551e5f0b826bc34510e205d42', size: "large" }), h("duet-button", { key: '20792f561a4a6b35ea120d6f24d5e6e49e366c7a', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
757
757
|
this.bytesMaxReached ||
|
|
758
758
|
this.filesToUploadExceedsLimit ||
|
|
759
|
-
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment,
|
|
759
|
+
this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: 'dd237b355a77db2eb3c3a6bea07eae884ffce4ca' }, h("duet-spacer", { key: '0ecfd226ae4a1b30e1a3598848327c9e7d1d6cce', size: "medium" }), h("duet-alert", { key: '45e1d585869c782cd624d6c6c8bf93e819944980', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: '3783514ca6994a7cabf2f2027c7a61f8147e633a', "aria-hidden": "true" }, h("input", { key: '6e79027a037da18e89b2dbebdb6ce3d750d11c3b', ref: input => {
|
|
760
760
|
this.nativeInput = input;
|
|
761
761
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
762
762
|
"duet-upload": true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import errorCodes from "./errorcodes.json"
|
|
4
|
+
//import errorCodes from "./errorcodes.json"
|
|
5
5
|
/** list of mock File elements to pass the duet-upload component */
|
|
6
|
-
import { getI18nError } from "./errorcodes.utils"
|
|
6
|
+
//import { getI18nError } from "./errorcodes.utils"
|
|
7
7
|
//mock functions to show uploaded file state
|
|
8
8
|
export function getBrowsedFiles() {
|
|
9
9
|
return fileListFromArray([
|
|
@@ -88,8 +88,10 @@ function fileListFromArray(files) {
|
|
|
88
88
|
? undefined
|
|
89
89
|
: {
|
|
90
90
|
type: obj.error,
|
|
91
|
-
message: isValid ? undefined : getI18nError(obj.error, errorCodes),
|
|
92
|
-
|
|
91
|
+
// todo: commented because test run failed message: isValid ? undefined : getI18nError(obj.error, errorCodes),
|
|
92
|
+
message: isValid ? undefined : "error",
|
|
93
|
+
// todo: commented because test run failed system_message: isValid ? undefined : getI18nError(obj.error, errorCodes),
|
|
94
|
+
system_message: isValid ? undefined : "error",
|
|
93
95
|
},
|
|
94
96
|
progress: 100,
|
|
95
97
|
deleted: false,
|
|
@@ -64,7 +64,7 @@ export class DuetUploadAriaStatus {
|
|
|
64
64
|
* Always the last one in the class.
|
|
65
65
|
*/
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden",
|
|
67
|
+
return (h(Host, { key: 'f107e96e1a039ff07fa07dc6d45a85240bf183d0', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, h("duet-visually-hidden", { key: 'ea0da6ca5f4f40aae2f60f49249bbdacbc41f0aa' }, this.statusMessage)));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-upload-aria-status"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -80,9 +80,9 @@ export class DuetUploadItem {
|
|
|
80
80
|
const { uid, meta, item } = this.data;
|
|
81
81
|
const Badges = meta && meta.badges ? (h("span", null, meta.badges.map(badgeText => (h("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
82
82
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
83
|
-
return (h("div", { class: {
|
|
83
|
+
return (h("div", { key: '07ddbef4ef21f02175a48736e7983a83f4b190c7', class: {
|
|
84
84
|
"upload-item-row": true,
|
|
85
|
-
} }, this.showCategory && (h("div", { class: "item-categories" }, h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { class: "item-actions" }, this.actions.map(actionItem => {
|
|
85
|
+
} }, this.showCategory && (h("div", { key: 'e93b519ef05ae75e0a86921fb6c56cb88407adb0', class: "item-categories" }, h("duet-heading", { key: '909a63e46f15c131d51e4809d19532a05aba87c3', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), h("div", { key: '10abceff20a434e7283dac07783f7de001b191f9', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (h("duet-heading", { key: '719f0550088c559e3361a0895c3613f6a6782379', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), h("div", { key: '1e69b28960cba2a5fed18fe09d2ea3be1925dfeb', class: "item-actions" }, this.actions.map(actionItem => {
|
|
86
86
|
return (h("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
87
87
|
}))));
|
|
88
88
|
}
|
|
@@ -312,7 +312,7 @@ export class DuetUploadItem {
|
|
|
312
312
|
"EventEmitter": {
|
|
313
313
|
"location": "import",
|
|
314
314
|
"path": "@stencil/core",
|
|
315
|
-
"id": "
|
|
315
|
+
"id": "node_modules::EventEmitter"
|
|
316
316
|
},
|
|
317
317
|
"DuetUploadEvent": {
|
|
318
318
|
"location": "import",
|
|
@@ -8,7 +8,7 @@ export class DuetVisuallyHidden {
|
|
|
8
8
|
* Always the last one in the class.
|
|
9
9
|
*/
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { class: "duet-visually-hidden" }, h("slot",
|
|
11
|
+
return (h(Host, { key: 'f52a0f31eb6101aee09189a09309b91db035a564', class: "duet-visually-hidden" }, h("slot", { key: '49647fc127fd4b69e0a7f668d7ff87337ba33d9e' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "duet-visually-hidden"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { e2eTest } from "./test-utils";
|
|
5
5
|
const axeCorePath = require.resolve("axe-core");
|
|
6
6
|
export const options = {
|
|
7
7
|
rules: {
|
|
@@ -26,12 +26,20 @@ export function mergeRules(axeRunOptions = {}, rules) {
|
|
|
26
26
|
}
|
|
27
27
|
: axeRunOptions;
|
|
28
28
|
}
|
|
29
|
-
export async function testWithAxe(
|
|
30
|
-
|
|
29
|
+
export async function testWithAxe(html, axeRunOptions = {}) {
|
|
30
|
+
await e2eTest(html);
|
|
31
31
|
await page.addScriptTag({ path: axeCorePath });
|
|
32
32
|
await new Promise(process.nextTick);
|
|
33
33
|
return page.evaluate(async (options) => {
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
return await axe.run(options);
|
|
36
|
-
}, axeRunOptions);
|
|
36
|
+
}, JSON.parse(JSON.stringify(axeRunOptions)));
|
|
37
|
+
}
|
|
38
|
+
export async function axeTest(axeRunOptions = {}) {
|
|
39
|
+
await page.addScriptTag({ path: axeCorePath });
|
|
40
|
+
await new Promise(process.nextTick);
|
|
41
|
+
return page.evaluate(async (options) => {
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
return await axe.run(options);
|
|
44
|
+
}, JSON.parse(JSON.stringify(axeRunOptions)));
|
|
37
45
|
}
|
|
@@ -1,39 +1,89 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
await page.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
page.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const htmlElement = await page.$("html");
|
|
20
|
-
const { width, height } = await htmlElement.boundingBox();
|
|
21
|
-
await page.setViewport({ width: page.viewport().width, height: Math.round(height) });
|
|
22
|
-
return screenshot.call(page, {
|
|
23
|
-
clip: {
|
|
24
|
-
x: 0,
|
|
25
|
-
y: 0,
|
|
26
|
-
width: Math.round(width),
|
|
27
|
-
height: Math.round(height),
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
return page;
|
|
4
|
+
const e2eEvents = new Map();
|
|
5
|
+
let e2eEventIds = 0;
|
|
6
|
+
export async function e2eTest(html) {
|
|
7
|
+
await page.exposeFunction("sendEventToNode", (id, ev) => {
|
|
8
|
+
const e2eEvent = e2eEvents.get(id);
|
|
9
|
+
if (e2eEvent) {
|
|
10
|
+
e2eEvent.callback(ev);
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
await page.addStyleTag({ url: "http://localhost:3334/fonts/lib/localtapiola.css" });
|
|
14
|
+
await page.addStyleTag({ url: "http://localhost:3334/tokens/lib/tokens.custom-properties.css" });
|
|
15
|
+
await page.addStyleTag({ url: "http://localhost:3334/css/lib/duet.min.css" });
|
|
16
|
+
await page.setContent(html);
|
|
17
|
+
await page.addScriptTag({ url: "http://localhost:3334/build/duet.js" });
|
|
18
|
+
await page.waitForSelector("html.hydrated");
|
|
32
19
|
}
|
|
33
|
-
export function isFocused(element) {
|
|
34
|
-
|
|
35
|
-
const handle = element["_elmHandle"];
|
|
36
|
-
return handle.evaluate(el => {
|
|
20
|
+
export async function isFocused(element) {
|
|
21
|
+
return element.evaluate(el => {
|
|
37
22
|
return el.getRootNode().activeElement === el;
|
|
38
23
|
});
|
|
39
24
|
}
|
|
25
|
+
export const getAttribute = async (element, attribute) => {
|
|
26
|
+
return await element.evaluate((e, attribute) => {
|
|
27
|
+
return e.getAttribute(attribute);
|
|
28
|
+
}, attribute);
|
|
29
|
+
};
|
|
30
|
+
export const getProperty = async (element, property) => {
|
|
31
|
+
return await element.evaluate((e, property) => {
|
|
32
|
+
return e[property.toString()];
|
|
33
|
+
}, property);
|
|
34
|
+
};
|
|
35
|
+
export class EventSpy {
|
|
36
|
+
constructor(eventName) {
|
|
37
|
+
this.eventName = eventName;
|
|
38
|
+
this.events = [];
|
|
39
|
+
this.cursor = 0;
|
|
40
|
+
this.queuedHandler = [];
|
|
41
|
+
}
|
|
42
|
+
get length() {
|
|
43
|
+
return this.events.length;
|
|
44
|
+
}
|
|
45
|
+
get firstEvent() {
|
|
46
|
+
return this.events[0] || null;
|
|
47
|
+
}
|
|
48
|
+
get lastEvent() {
|
|
49
|
+
return this.events[this.events.length - 1] || null;
|
|
50
|
+
}
|
|
51
|
+
next() {
|
|
52
|
+
const cursor = this.cursor;
|
|
53
|
+
this.cursor++;
|
|
54
|
+
const next = this.events[cursor];
|
|
55
|
+
if (next) {
|
|
56
|
+
return Promise.resolve({ done: false, value: next });
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
let resolve;
|
|
60
|
+
const promise = new Promise(r => (resolve = r));
|
|
61
|
+
this.queuedHandler.push(resolve);
|
|
62
|
+
return promise.then(() => ({ done: false, value: this.events[cursor] }));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
push(ev) {
|
|
66
|
+
this.events.push(ev);
|
|
67
|
+
const next = this.queuedHandler.shift();
|
|
68
|
+
if (next) {
|
|
69
|
+
next();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
export async function addE2EListener(elementHandle, eventName, callback) {
|
|
74
|
+
const id = e2eEventIds++;
|
|
75
|
+
e2eEvents.set(id, { eventName, callback });
|
|
76
|
+
await elementHandle.evaluate((elm, id, eventName) => {
|
|
77
|
+
elm.addEventListener(eventName, (ev) => {
|
|
78
|
+
;
|
|
79
|
+
window.sendEventToNode(id, { detail: ev.detail });
|
|
80
|
+
});
|
|
81
|
+
}, id, eventName);
|
|
82
|
+
}
|
|
83
|
+
export async function spyOnEvent(elementHandle, eventName) {
|
|
84
|
+
const eventSpy = new EventSpy(eventName);
|
|
85
|
+
await addE2EListener(elementHandle, eventName, (ev) => {
|
|
86
|
+
eventSpy.push(ev);
|
|
87
|
+
});
|
|
88
|
+
return eventSpy;
|
|
89
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-45dd5240.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-8fb1d873.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-03c64124.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|