@duetds/components 8.5.1 → 8.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +167 -248
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +23 -11
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +20 -8
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -36
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +18 -17
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +12 -7
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +14 -7
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -36
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -15
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -21
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{floating-ui.dom.esm-91f66430.js → floating-ui.dom.esm-806e7c53.js} +69 -0
- package/lib/cjs/{focus-utils-e1cd19ee.js → focus-utils-1da87e8d.js} +1 -1
- package/lib/cjs/{index-549a7702.js → index-819a454b.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
- package/lib/collection/components/duet-combobox/duet-combobox.js +22 -10
- package/lib/collection/components/duet-icon/duet-icon.css +149 -135
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -5
- package/lib/collection/components/duet-icon/duet-icon.js +32 -10
- package/lib/collection/components/duet-link/duet-link.css +4 -0
- package/lib/collection/components/duet-link/duet-link.js +26 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +16 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +3 -39
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
- package/lib/collection/components/duet-modal/duet-modal.js +20 -16
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +11 -4
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +16 -0
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +3 -39
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
- package/lib/collection/utils/teleport.js +37 -29
- 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 +6 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +24 -12
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- 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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -38
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +25 -24
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +11 -6
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +15 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +6 -38
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-f111aa04.js → p-0324c76b.js} +1 -1
- package/lib/dist-custom-elements/{p-b1c54404.js → p-0bca2094.js} +2 -2
- package/lib/dist-custom-elements/{p-e61e745f.js → p-17cca138.js} +1 -1
- package/lib/dist-custom-elements/{p-e4eeb350.js → p-1ec7b44f.js} +10 -18
- package/lib/dist-custom-elements/{p-e44089a7.js → p-22557cb2.js} +2 -2
- package/lib/dist-custom-elements/{p-7f8b3939.js → p-2a03d339.js} +1 -1
- package/lib/{esm/floating-ui.dom.esm-34e0a5fa.js → dist-custom-elements/p-31ed51c3.js} +69 -1
- package/lib/dist-custom-elements/{p-c622edcc.js → p-4c8393bf.js} +6 -6
- package/lib/dist-custom-elements/{p-95c051bc.js → p-5171abf7.js} +1 -1
- package/lib/dist-custom-elements/{p-95c03966.js → p-588a9396.js} +1 -1
- package/lib/dist-custom-elements/{p-13bfc699.js → p-58f151c4.js} +1 -1
- package/lib/dist-custom-elements/{p-9a81bb97.js → p-5c203542.js} +1 -1
- package/lib/dist-custom-elements/{p-309d40ca.js → p-5d3d7f6a.js} +2 -2
- package/lib/dist-custom-elements/{p-967a8f13.js → p-6451129b.js} +2 -2
- package/lib/dist-custom-elements/{p-1156248d.js → p-72098dd1.js} +1 -1
- package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
- package/lib/dist-custom-elements/{p-1d0794c9.js → p-77b6f913.js} +2 -2
- package/lib/dist-custom-elements/{p-4c9ec608.js → p-77e0f32d.js} +1 -1
- package/lib/dist-custom-elements/{p-771e2eca.js → p-7f57ba5d.js} +1 -1
- package/lib/dist-custom-elements/{p-efd41b98.js → p-849b7d71.js} +5 -5
- package/lib/dist-custom-elements/{p-b7523459.js → p-8921151e.js} +10 -10
- package/lib/dist-custom-elements/{p-a33222ce.js → p-8bfe29b8.js} +4 -4
- package/lib/dist-custom-elements/{p-204592de.js → p-8d55b737.js} +1 -1
- package/lib/dist-custom-elements/{p-a6ab22be.js → p-92b9e48c.js} +1 -1
- package/lib/dist-custom-elements/{p-a8fcb246.js → p-97bc000a.js} +8 -8
- package/lib/dist-custom-elements/{p-2a725cd8.js → p-9d84642c.js} +1 -1
- package/lib/dist-custom-elements/{p-b5ab75f4.js → p-ae8ebd75.js} +1 -1
- package/lib/dist-custom-elements/{p-0cb122bf.js → p-b0c3a9fe.js} +2 -2
- package/lib/dist-custom-elements/p-b6978bc4.js +217 -0
- package/lib/dist-custom-elements/{p-05cfef82.js → p-b9d8e51d.js} +1 -1
- package/lib/dist-custom-elements/{p-cfc01f01.js → p-c279897e.js} +5 -5
- package/lib/dist-custom-elements/{p-66a72b57.js → p-c51dab55.js} +1 -1
- package/lib/dist-custom-elements/{p-ce8ea46e.js → p-cc32aec2.js} +3 -3
- package/lib/dist-custom-elements/{p-6d835c97.js → p-d84c990e.js} +10 -10
- package/lib/dist-custom-elements/{p-47534dc7.js → p-e20d474e.js} +1 -1
- package/lib/dist-custom-elements/{p-2fa3041f.js → p-e4ab2ca9.js} +6 -3
- package/lib/dist-custom-elements/{p-1b6c466c.js → p-e71332b0.js} +10 -26
- package/lib/dist-custom-elements/{p-18f2ebcd.js → p-f35c9559.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-f789f606.entry.js → p-0547bd78.entry.js} +1 -1
- package/lib/duet/{p-446d5ba7.system.entry.js → p-0684ecec.system.entry.js} +1 -1
- package/lib/duet/{p-42139e5a.system.entry.js → p-08a24cb5.system.entry.js} +1 -1
- package/lib/duet/{p-620cedba.entry.js → p-0bab798b.entry.js} +1 -1
- package/lib/duet/{p-1e75d2c2.entry.js → p-0bf0b59f.entry.js} +1 -1
- package/lib/duet/{p-ac5eb233.entry.js → p-0c45a4f4.entry.js} +1 -1
- package/lib/duet/{p-e14bba59.entry.js → p-0f64f352.entry.js} +1 -1
- package/lib/duet/{p-79aa2820.system.entry.js → p-1168ee85.system.entry.js} +1 -1
- package/lib/duet/{p-db25d820.system.entry.js → p-12c6d666.system.entry.js} +1 -1
- package/lib/duet/{p-bb65547e.system.entry.js → p-14518f0b.system.entry.js} +1 -1
- package/lib/duet/p-15d65ccc.system.js +4 -0
- package/lib/duet/p-17168f52.entry.js +4 -0
- package/lib/duet/{p-86b4751c.system.entry.js → p-175ddea1.system.entry.js} +1 -1
- package/lib/duet/{p-e4eeac5d.entry.js → p-179e43b4.entry.js} +1 -1
- package/lib/duet/p-18bd3ba5.system.js +4 -0
- package/lib/duet/{p-37ae40e9.system.entry.js → p-18f400c1.system.entry.js} +1 -1
- package/lib/duet/{p-bdb89a57.entry.js → p-19d63d71.entry.js} +1 -1
- package/lib/duet/{p-3f86b484.system.entry.js → p-1ac8b8be.system.entry.js} +1 -1
- package/lib/duet/{p-f447dc6b.system.entry.js → p-1bba69c2.system.entry.js} +1 -1
- package/lib/duet/p-1c3f4b12.entry.js +4 -0
- package/lib/duet/{p-ebdf6136.system.entry.js → p-1e9b8854.system.entry.js} +1 -1
- package/lib/duet/{p-1de381e2.system.entry.js → p-2050de53.system.entry.js} +1 -1
- package/lib/duet/{p-31fe1d1a.system.entry.js → p-20aeb938.system.entry.js} +1 -1
- package/lib/duet/{p-8c088f60.entry.js → p-221d1a74.entry.js} +1 -1
- package/lib/duet/{p-803acead.system.entry.js → p-22985302.system.entry.js} +1 -1
- package/lib/duet/{p-a2becf94.entry.js → p-23cdd84f.entry.js} +1 -1
- package/lib/duet/p-24037755.entry.js +4 -0
- package/lib/duet/{p-3b859909.system.entry.js → p-2931db50.system.entry.js} +1 -1
- package/lib/duet/{p-fae3a8e7.entry.js → p-29e95017.entry.js} +1 -1
- package/lib/duet/{p-5241ef6c.system.entry.js → p-2cc794d6.system.entry.js} +1 -1
- package/lib/duet/{p-986e6e20.system.entry.js → p-2dc8d5a6.system.entry.js} +1 -1
- package/lib/duet/p-2e39a453.entry.js +4 -0
- package/lib/duet/{p-3a5a9947.entry.js → p-2f68f3c2.entry.js} +1 -1
- package/lib/duet/{p-45f3e361.system.entry.js → p-30409ba9.system.entry.js} +1 -1
- package/lib/duet/p-313ef505.entry.js +4 -0
- package/lib/duet/p-31ed51c3.js +4 -0
- package/lib/duet/p-32f6613e.entry.js +4 -0
- package/lib/duet/{p-2d1aa4bb.entry.js → p-3378ac3d.entry.js} +1 -1
- package/lib/duet/{p-afd9fa1e.entry.js → p-343e2f83.entry.js} +1 -1
- package/lib/duet/{p-c61b7a67.entry.js → p-367dc390.entry.js} +1 -1
- package/lib/duet/{p-bd3e6f66.entry.js → p-36dc5351.entry.js} +1 -1
- package/lib/duet/{p-5781142a.system.entry.js → p-37aabf2c.system.entry.js} +1 -1
- package/lib/duet/{p-50c4e263.system.entry.js → p-3a1aca3a.system.entry.js} +1 -1
- package/lib/duet/{p-ccb310bf.entry.js → p-3b2cdc3b.entry.js} +1 -1
- package/lib/duet/{p-d5c7c1a6.entry.js → p-3e5e7ce2.entry.js} +1 -1
- package/lib/duet/{p-be289587.entry.js → p-3feb745e.entry.js} +1 -1
- package/lib/duet/{p-d620395a.entry.js → p-40a4d7b9.entry.js} +1 -1
- package/lib/duet/{p-20533062.system.entry.js → p-42a5047a.system.entry.js} +1 -1
- package/lib/duet/{p-dfb38e8b.entry.js → p-4686978c.entry.js} +1 -1
- package/lib/duet/p-482d2236.system.entry.js +4 -0
- package/lib/duet/{p-4a2dc59a.system.entry.js → p-4926ce78.system.entry.js} +1 -1
- package/lib/duet/{p-87e3f51e.entry.js → p-4c2eb04c.entry.js} +1 -1
- package/lib/duet/{p-76928c65.system.entry.js → p-4d4f1b20.system.entry.js} +1 -1
- package/lib/duet/{p-c9ecaf47.system.entry.js → p-4e108d92.system.entry.js} +1 -1
- package/lib/duet/p-4e1cee72.entry.js +4 -0
- package/lib/duet/{p-69b543fa.system.entry.js → p-4e240957.system.entry.js} +1 -1
- package/lib/duet/{p-31cc0bd5.entry.js → p-4e8f8ac1.entry.js} +1 -1
- package/lib/duet/{p-8c8dbb29.entry.js → p-4fff59f2.entry.js} +1 -1
- package/lib/duet/p-5040a3ed.js +4 -0
- package/lib/duet/{p-db42dba7.entry.js → p-51b36ffa.entry.js} +1 -1
- package/lib/duet/{p-87d6d6d1.entry.js → p-51c0483b.entry.js} +1 -1
- package/lib/duet/{p-cf17a64c.entry.js → p-546747ec.entry.js} +1 -1
- package/lib/duet/{p-254e32d9.entry.js → p-55af8257.entry.js} +1 -1
- package/lib/duet/{p-84dd785f.system.entry.js → p-5cc0339f.system.entry.js} +1 -1
- package/lib/duet/{p-38a1721f.system.entry.js → p-5e92613d.system.entry.js} +1 -1
- package/lib/duet/{p-eb8322af.system.entry.js → p-5f10e1ea.system.entry.js} +1 -1
- package/lib/duet/{p-02a4fab4.system.entry.js → p-5fa53f8a.system.entry.js} +1 -1
- package/lib/duet/p-6014ede1.system.entry.js +4 -0
- package/lib/duet/{p-5807d4a1.entry.js → p-60259162.entry.js} +1 -1
- package/lib/duet/{p-dc79932a.system.entry.js → p-6099f3fb.system.entry.js} +1 -1
- package/lib/duet/{p-e1b17390.entry.js → p-62f7041d.entry.js} +1 -1
- package/lib/duet/p-65eff254.system.entry.js +4 -0
- package/lib/duet/{p-8aa594cc.system.entry.js → p-68d84306.system.entry.js} +1 -1
- package/lib/duet/{p-3087775d.system.entry.js → p-6a8742f2.system.entry.js} +1 -1
- package/lib/duet/{p-7a96b8b3.system.entry.js → p-6a9ca61c.system.entry.js} +1 -1
- package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
- package/lib/duet/{p-23be59a9.system.entry.js → p-71515256.system.entry.js} +1 -1
- package/lib/duet/{p-00490c2d.system.entry.js → p-72778a90.system.entry.js} +1 -1
- package/lib/duet/{p-975eda35.system.entry.js → p-738c0ff2.system.entry.js} +1 -1
- package/lib/duet/{p-c7b0caee.entry.js → p-73a3d0d5.entry.js} +1 -1
- package/lib/duet/{p-8f46fcdc.system.entry.js → p-73fd201d.system.entry.js} +1 -1
- package/lib/duet/{p-10b6ecba.system.entry.js → p-75952117.system.entry.js} +1 -1
- package/lib/duet/{p-81b997f3.system.entry.js → p-777b84f1.system.entry.js} +1 -1
- package/lib/duet/p-7796b4bf.js +4 -0
- package/lib/duet/{p-74700e22.entry.js → p-785f9e07.entry.js} +1 -1
- package/lib/duet/{p-8db70218.system.js → p-786d4382.system.js} +1 -1
- package/lib/duet/{p-059954c5.entry.js → p-78cbf5d2.entry.js} +1 -1
- package/lib/duet/{p-ed752627.system.entry.js → p-7a7696ac.system.entry.js} +1 -1
- package/lib/duet/{p-24455de3.entry.js → p-7ba7b47f.entry.js} +1 -1
- package/lib/duet/{p-3a7d5532.entry.js → p-7df1b866.entry.js} +1 -1
- package/lib/duet/{p-e852decc.js → p-7fa02974.js} +1 -1
- package/lib/duet/{p-aaa21d34.system.entry.js → p-805eb8e3.system.entry.js} +1 -1
- package/lib/duet/{p-0aaa7c52.system.entry.js → p-81734a3a.system.entry.js} +1 -1
- package/lib/duet/{p-0c4706df.entry.js → p-8562b36b.entry.js} +1 -1
- package/lib/duet/{p-fa6b4be4.entry.js → p-85ea2570.entry.js} +1 -1
- package/lib/duet/{p-190d47de.entry.js → p-8620878b.entry.js} +1 -1
- package/lib/duet/{p-c109f676.entry.js → p-8866afd0.entry.js} +1 -1
- package/lib/duet/p-89acf338.system.entry.js +4 -0
- package/lib/duet/{p-46ce246d.entry.js → p-89bac079.entry.js} +1 -1
- package/lib/duet/{p-b60245fb.entry.js → p-8a036cbf.entry.js} +1 -1
- package/lib/duet/{p-ee5d6418.entry.js → p-8bdd6890.entry.js} +1 -1
- package/lib/duet/{p-ab7e3bc7.system.entry.js → p-8d889c82.system.entry.js} +1 -1
- package/lib/duet/p-8dd01035.entry.js +4 -0
- package/lib/duet/{p-e9a9c2ac.entry.js → p-8e8c6ab2.entry.js} +1 -1
- package/lib/duet/{p-148bc528.entry.js → p-915b6e8d.entry.js} +1 -1
- package/lib/duet/{p-cad03252.system.entry.js → p-94575af6.system.entry.js} +1 -1
- package/lib/duet/p-96a84cdb.system.entry.js +4 -0
- package/lib/duet/{p-49229ba1.system.entry.js → p-9710e8fa.system.entry.js} +1 -1
- package/lib/duet/{p-730aecdb.entry.js → p-97aeacd6.entry.js} +1 -1
- package/lib/duet/{p-f12a21c8.entry.js → p-984f1d97.entry.js} +1 -1
- package/lib/duet/{p-327e2019.system.entry.js → p-98b54241.system.entry.js} +1 -1
- package/lib/duet/{p-2b44092c.entry.js → p-a043b3a8.entry.js} +1 -1
- package/lib/duet/{p-106ce428.system.entry.js → p-a251d44e.system.entry.js} +1 -1
- package/lib/duet/{p-4112aa71.system.entry.js → p-a3ef882e.system.entry.js} +1 -1
- package/lib/duet/{p-969d0963.system.entry.js → p-a5485451.system.entry.js} +1 -1
- package/lib/duet/{p-9ca4671a.entry.js → p-a6551519.entry.js} +1 -1
- package/lib/duet/{p-6217ecbb.entry.js → p-a6bc69cd.entry.js} +1 -1
- package/lib/duet/{p-e638b5f1.system.entry.js → p-a994665b.system.entry.js} +1 -1
- package/lib/duet/{p-b82a3bc9.entry.js → p-aa6d31e1.entry.js} +1 -1
- package/lib/duet/{p-117a0b29.system.entry.js → p-ac11612f.system.entry.js} +1 -1
- package/lib/duet/{p-9dc68857.entry.js → p-ac743b44.entry.js} +1 -1
- package/lib/duet/p-ad44b276.entry.js +4 -0
- package/lib/duet/p-ad85b36c.entry.js +4 -0
- package/lib/duet/{p-181d6ed0.entry.js → p-af24effe.entry.js} +1 -1
- package/lib/duet/{p-22a8fb2e.system.entry.js → p-b79f22c6.system.entry.js} +1 -1
- package/lib/duet/p-bad97405.entry.js +4 -0
- package/lib/duet/p-bb7aa33d.entry.js +4 -0
- package/lib/duet/{p-b13ac0d6.system.entry.js → p-bbe54df5.system.entry.js} +1 -1
- package/lib/duet/p-be261fa6.entry.js +4 -0
- package/lib/duet/{p-f63a6bb7.system.entry.js → p-be9a003f.system.entry.js} +1 -1
- package/lib/duet/{p-f7462af1.system.entry.js → p-bee52277.system.entry.js} +1 -1
- package/lib/duet/{p-7a4fa93b.entry.js → p-bf2c1a2a.entry.js} +1 -1
- package/lib/duet/{p-41e58471.system.entry.js → p-bfd2e046.system.entry.js} +1 -1
- package/lib/duet/{p-88bddd9b.entry.js → p-c18c9caf.entry.js} +1 -1
- package/lib/duet/{p-cfbd8dea.system.entry.js → p-c2379aa7.system.entry.js} +1 -1
- package/lib/duet/{p-a6111d86.system.entry.js → p-c324d834.system.entry.js} +1 -1
- package/lib/duet/{p-bc437348.system.entry.js → p-c670bacb.system.entry.js} +1 -1
- package/lib/duet/{p-cd536e94.system.js → p-c6765203.system.js} +1 -1
- package/lib/duet/{p-d826cf0f.entry.js → p-c6bbf588.entry.js} +1 -1
- package/lib/duet/{p-a9227434.entry.js → p-c8b0833a.entry.js} +1 -1
- package/lib/duet/{p-520a3a42.entry.js → p-cbc9fc97.entry.js} +1 -1
- package/lib/duet/{p-bc4503a0.system.entry.js → p-cea43c89.system.entry.js} +1 -1
- package/lib/duet/p-cf5dd1d0.system.entry.js +4 -0
- package/lib/duet/p-d5304064.system.entry.js +4 -0
- package/lib/duet/{p-87b0ef7e.system.entry.js → p-d663f27c.system.entry.js} +1 -1
- package/lib/duet/{p-062800e3.entry.js → p-d746661d.entry.js} +1 -1
- package/lib/duet/{p-cee77d01.system.entry.js → p-d8eb6ee0.system.entry.js} +1 -1
- package/lib/duet/{p-5edba964.system.entry.js → p-e23c8158.system.entry.js} +1 -1
- package/lib/duet/{p-936f98fb.system.entry.js → p-e95183b6.system.entry.js} +1 -1
- package/lib/duet/{p-6e7b84a3.entry.js → p-e9810475.entry.js} +1 -1
- package/lib/duet/{p-1fba8c78.system.entry.js → p-ec7b1642.system.entry.js} +1 -1
- package/lib/duet/p-ee1ca75a.system.entry.js +4 -0
- package/lib/duet/{p-a026f0ad.system.entry.js → p-ee7055aa.system.entry.js} +1 -1
- package/lib/duet/p-ef8aa016.entry.js +4 -0
- package/lib/duet/{p-e4063faf.entry.js → p-f22b4c2f.entry.js} +1 -1
- package/lib/duet/{p-c9bc93f6.entry.js → p-f2bd127b.entry.js} +1 -1
- package/lib/duet/{p-abc309a5.entry.js → p-f37fe74f.entry.js} +1 -1
- package/lib/duet/{p-2be9b17b.system.entry.js → p-f39a78c8.system.entry.js} +1 -1
- package/lib/duet/{p-1ccbd436.system.entry.js → p-f3c4461a.system.entry.js} +1 -1
- package/lib/duet/{p-500206c3.system.entry.js → p-f44eecac.system.entry.js} +1 -1
- package/lib/duet/{p-03b3896d.system.entry.js → p-f4545a2e.system.entry.js} +1 -1
- package/lib/duet/{p-f69d61e7.system.entry.js → p-f48dd49d.system.entry.js} +1 -1
- package/lib/duet/{p-2c13773e.system.entry.js → p-f4ad07a4.system.entry.js} +1 -1
- package/lib/duet/{p-2528b528.entry.js → p-f4c1a602.entry.js} +1 -1
- package/lib/duet/{p-3093fa09.entry.js → p-f6c42700.entry.js} +1 -1
- package/lib/duet/{p-9bdb09d1.entry.js → p-f7af5b34.entry.js} +1 -1
- package/lib/duet/{p-f554c8ae.entry.js → p-f7d903c7.entry.js} +1 -1
- package/lib/duet/p-f8e4c60e.entry.js +4 -0
- package/lib/duet/{p-8f36d670.system.entry.js → p-fdca03c7.system.entry.js} +1 -1
- package/lib/duet/{p-55b8f2fc.system.entry.js → p-ff82bea9.system.entry.js} +1 -1
- package/lib/duet/p-ff86187d.entry.js +4 -0
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +1 -1
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +23 -11
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +20 -8
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +5 -36
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +18 -17
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +12 -7
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +14 -7
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -36
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -15
- package/lib/esm/duet-tooltip.entry.js +5 -21
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/{dist-custom-elements/p-11e152cd.js → esm/floating-ui.dom.esm-01fcd83a.js} +69 -1
- package/lib/esm/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
- package/lib/esm/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{teleport-d66d62e4.js → teleport-13402d94.js} +37 -29
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +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 +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +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 +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-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 +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +1 -1
- package/lib/esm-es5/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
- package/lib/esm-es5/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{teleport-d66d62e4.js → teleport-13402d94.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-icon/duet-icon.d.ts +3 -3
- package/lib/types/components/duet-link/duet-link.d.ts +5 -1
- package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +1 -7
- package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
- package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +1 -7
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -7
- package/lib/types/components.d.ts +12 -4
- package/lib/types/utils/teleport.d.ts +12 -10
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-e8ab4056.js +0 -205
- package/lib/duet/p-03ba1f65.entry.js +0 -4
- package/lib/duet/p-095aba6c.entry.js +0 -4
- package/lib/duet/p-11e152cd.js +0 -4
- package/lib/duet/p-220bb407.system.entry.js +0 -4
- package/lib/duet/p-28669c27.entry.js +0 -4
- package/lib/duet/p-2c75274e.system.entry.js +0 -4
- package/lib/duet/p-2cf0931d.system.entry.js +0 -4
- package/lib/duet/p-2d7c2ce7.entry.js +0 -4
- package/lib/duet/p-2e2b6a95.system.entry.js +0 -4
- package/lib/duet/p-2eae6a4e.entry.js +0 -4
- package/lib/duet/p-421adcc5.entry.js +0 -4
- package/lib/duet/p-46333231.js +0 -4
- package/lib/duet/p-4fc5b308.entry.js +0 -4
- package/lib/duet/p-63c6795c.entry.js +0 -4
- package/lib/duet/p-76fec604.system.entry.js +0 -4
- package/lib/duet/p-79c1afbf.entry.js +0 -4
- package/lib/duet/p-82fc84ad.entry.js +0 -4
- package/lib/duet/p-9a467121.system.entry.js +0 -4
- package/lib/duet/p-9b0c7d54.entry.js +0 -4
- package/lib/duet/p-a6276e85.entry.js +0 -4
- package/lib/duet/p-ab7e7315.entry.js +0 -4
- package/lib/duet/p-ac6596bc.entry.js +0 -4
- package/lib/duet/p-bb1242c4.system.entry.js +0 -4
- package/lib/duet/p-ccdff614.js +0 -4
- package/lib/duet/p-de4fdfa7.entry.js +0 -4
- package/lib/duet/p-e639b9ee.system.js +0 -4
- package/lib/duet/p-e8d08921.system.entry.js +0 -4
- package/lib/duet/p-ee5aa36b.entry.js +0 -4
- package/lib/duet/p-eef2351f.system.js +0 -4
|
@@ -5,8 +5,7 @@ import { Build, h } from "@stencil/core";
|
|
|
5
5
|
import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { DuetStringsPleaseWaitDefaults } from "../../common-strings";
|
|
8
|
-
import {
|
|
9
|
-
import { focusElement, FocusGuard } from "../../utils/focus-utils";
|
|
8
|
+
import { focusElement } from "../../utils/focus-utils";
|
|
10
9
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
11
|
import { hasSlot } from "../../utils/slot-utils";
|
|
@@ -22,11 +21,6 @@ const TRANSITION_MS = 600;
|
|
|
22
21
|
export class DuetModal {
|
|
23
22
|
constructor() {
|
|
24
23
|
var _a, _b;
|
|
25
|
-
/**
|
|
26
|
-
* Own Properties.
|
|
27
|
-
*/
|
|
28
|
-
this.modalId = createID("DuetModal");
|
|
29
|
-
this.slotDefaultId = createID("DuetModal-default-slot");
|
|
30
24
|
this.hasStickyHeader = false;
|
|
31
25
|
this.isAndroidDevice = ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.indexOf("android")) > -1 || null;
|
|
32
26
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
@@ -78,7 +72,7 @@ export class DuetModal {
|
|
|
78
72
|
}
|
|
79
73
|
this.focusedElBeforeOpen = document.activeElement;
|
|
80
74
|
disableBodyScroll(this.modalEl, { reserveScrollBarGap: true });
|
|
81
|
-
this.teleport.
|
|
75
|
+
this.teleport.makeSiblingsInert();
|
|
82
76
|
this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach(el => el.remove());
|
|
83
77
|
setTimeout(() => {
|
|
84
78
|
if (this.variation === "loader") {
|
|
@@ -102,7 +96,7 @@ export class DuetModal {
|
|
|
102
96
|
this.modalEl.classList.remove("duet-disable-transitions");
|
|
103
97
|
enableBodyScroll(this.modalEl);
|
|
104
98
|
this.duetClose.emit();
|
|
105
|
-
this.teleport.
|
|
99
|
+
this.teleport.removeInertFromSiblings(TRANSITION_MS);
|
|
106
100
|
setTimeout(() => {
|
|
107
101
|
focusElement(this.focusedElBeforeOpen);
|
|
108
102
|
}, TRANSITION_MS);
|
|
@@ -125,7 +119,6 @@ export class DuetModal {
|
|
|
125
119
|
if (Build.isServer) {
|
|
126
120
|
return;
|
|
127
121
|
}
|
|
128
|
-
this.teleport = new Teleport(this.element);
|
|
129
122
|
if (this.active) {
|
|
130
123
|
// This specific line below can’t be moved to componentWillLoad()
|
|
131
124
|
// as it breaks body scroll enabling.
|
|
@@ -134,6 +127,15 @@ export class DuetModal {
|
|
|
134
127
|
}
|
|
135
128
|
}
|
|
136
129
|
connectedCallback() {
|
|
130
|
+
if (Build.isServer) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (!this.teleport) {
|
|
134
|
+
this.teleport = new Teleport(this.element);
|
|
135
|
+
}
|
|
136
|
+
if (this.teleport) {
|
|
137
|
+
this.teleport.activate();
|
|
138
|
+
}
|
|
137
139
|
connectLanguageChangeObserver(this, [
|
|
138
140
|
{ prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefaults" },
|
|
139
141
|
{ prop: "accessibleLoaderAnnouncement", defaults: "accessibleLoaderAnnouncementDefaults" },
|
|
@@ -141,7 +143,9 @@ export class DuetModal {
|
|
|
141
143
|
}
|
|
142
144
|
disconnectedCallback() {
|
|
143
145
|
disconnectLanguageChangeObserver(this);
|
|
144
|
-
|
|
146
|
+
if (this.modalEl) {
|
|
147
|
+
enableBodyScroll(this.modalEl);
|
|
148
|
+
}
|
|
145
149
|
}
|
|
146
150
|
/**
|
|
147
151
|
* Component event handling.
|
|
@@ -208,7 +212,7 @@ export class DuetModal {
|
|
|
208
212
|
* Always the last one in the class.
|
|
209
213
|
*/
|
|
210
214
|
render() {
|
|
211
|
-
var _a;
|
|
215
|
+
var _a, _b;
|
|
212
216
|
let iconColor = "primary";
|
|
213
217
|
let closeColor = "secondary";
|
|
214
218
|
const closingButton = (h("div", { class: "duet-modal-close" }, h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
@@ -216,13 +220,13 @@ export class DuetModal {
|
|
|
216
220
|
iconColor = "primary-turva";
|
|
217
221
|
closeColor = "secondary-turva";
|
|
218
222
|
}
|
|
219
|
-
return (h("div", { ref: modal => (this.modalEl = modal), "aria-label": this.accessibleLabel
|
|
223
|
+
return (h("div", { ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
220
224
|
"duet-modal-container": true,
|
|
221
225
|
"duet-theme-turva": this.theme === "turva",
|
|
222
226
|
"duet-modal-active": this.open,
|
|
223
227
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
224
228
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
225
|
-
} }, h(
|
|
229
|
+
} }, h("duet-overlay", { "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
226
230
|
"duet-modal-inner": true,
|
|
227
231
|
[this.size]: true,
|
|
228
232
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -244,7 +248,7 @@ export class DuetModal {
|
|
|
244
248
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
245
249
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
246
250
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
247
|
-
} }, h("div", { class: "duet-modal-header" }, h("span", { class: "duet-modal-inner-slot-top" }, h("slot", { name: "top" })), this.icon && h("duet-icon", { name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { "visual-level": (
|
|
251
|
+
} }, h("div", { class: "duet-modal-header" }, h("span", { class: "duet-modal-inner-slot-top" }, h("slot", { name: "top" })), this.icon && h("duet-icon", { name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { class: "duet-modal-spinner" }, h("duet-spinner", { size: "large", color: "primary" }))), h("div", { class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", null)))))));
|
|
248
252
|
}
|
|
249
253
|
static get is() { return "duet-modal"; }
|
|
250
254
|
static get encapsulation() { return "shadow"; }
|
|
@@ -402,7 +406,7 @@ export class DuetModal {
|
|
|
402
406
|
"optional": false,
|
|
403
407
|
"docs": {
|
|
404
408
|
"tags": [],
|
|
405
|
-
"text": "By default the heading is used
|
|
409
|
+
"text": "By default the heading is used aria-label for the modal.\nIf you wish to use something else then you must set this label."
|
|
406
410
|
},
|
|
407
411
|
"attribute": "accessible-label",
|
|
408
412
|
"reflect": false
|
|
@@ -35,7 +35,7 @@ export class DuetOverlay {
|
|
|
35
35
|
* Always the last one in the class.
|
|
36
36
|
*/
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host,
|
|
38
|
+
return (h(Host, { "aria-hidden": "true" }, h("div", { style: { zIndex: this.zIndex }, class: {
|
|
39
39
|
"duet-overlay": true,
|
|
40
40
|
"duet-theme-turva": this.theme === "turva",
|
|
41
41
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -59,7 +59,6 @@ export class DuetPopupMenu {
|
|
|
59
59
|
*/
|
|
60
60
|
componentWillLoad() {
|
|
61
61
|
inheritGlobalTheme(this);
|
|
62
|
-
this.teleport = new Teleport(this.element);
|
|
63
62
|
}
|
|
64
63
|
componentDidLoad() {
|
|
65
64
|
if (!Build.isServer) {
|
|
@@ -68,6 +67,15 @@ export class DuetPopupMenu {
|
|
|
68
67
|
}
|
|
69
68
|
connectedCallback() {
|
|
70
69
|
this.handleControllerChange(this.controller, null);
|
|
70
|
+
if (Build.isServer) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
if (!this.teleport) {
|
|
74
|
+
this.teleport = new Teleport(this.element);
|
|
75
|
+
}
|
|
76
|
+
if (this.teleport) {
|
|
77
|
+
this.teleport.activate();
|
|
78
|
+
}
|
|
71
79
|
}
|
|
72
80
|
disconnectedCallback() {
|
|
73
81
|
if (this.openButton) {
|
|
@@ -176,7 +184,7 @@ export class DuetPopupMenu {
|
|
|
176
184
|
if (this.openButton) {
|
|
177
185
|
this.openButton.accessibleExpanded = true;
|
|
178
186
|
}
|
|
179
|
-
this.teleport.
|
|
187
|
+
this.teleport.makeSiblingsInert();
|
|
180
188
|
this.updatePlacement();
|
|
181
189
|
setTimeout(() => {
|
|
182
190
|
if (this.accessibleRole === "menu") {
|
|
@@ -194,7 +202,7 @@ export class DuetPopupMenu {
|
|
|
194
202
|
this.focusOpenButton();
|
|
195
203
|
}
|
|
196
204
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
197
|
-
this.teleport.
|
|
205
|
+
this.teleport.removeInertFromSiblings();
|
|
198
206
|
}, 200);
|
|
199
207
|
}
|
|
200
208
|
}
|
|
@@ -85,13 +85,18 @@ export class DuetSlideout {
|
|
|
85
85
|
componentWillLoad() {
|
|
86
86
|
inheritGlobalTheme(this);
|
|
87
87
|
this.hasStickyHeaderSlot = hasSlot(this.element, "sticky-header");
|
|
88
|
-
this.teleport = new Teleport(this.element);
|
|
89
88
|
}
|
|
90
89
|
connectedCallback() {
|
|
91
90
|
connectLanguageChangeObserver(this);
|
|
92
91
|
if (Build.isServer) {
|
|
93
92
|
return;
|
|
94
93
|
}
|
|
94
|
+
if (!this.teleport) {
|
|
95
|
+
this.teleport = new Teleport(this.element);
|
|
96
|
+
}
|
|
97
|
+
if (this.teleport) {
|
|
98
|
+
this.teleport.activate();
|
|
99
|
+
}
|
|
95
100
|
if (this.opener) {
|
|
96
101
|
this.setOpenButton(document.getElementById(this.opener));
|
|
97
102
|
if (this.openButton) {
|
|
@@ -106,7 +111,9 @@ export class DuetSlideout {
|
|
|
106
111
|
}
|
|
107
112
|
disconnectedCallback() {
|
|
108
113
|
disconnectLanguageChangeObserver(this);
|
|
109
|
-
|
|
114
|
+
if (this.dialog) {
|
|
115
|
+
enableBodyScroll(this.dialog);
|
|
116
|
+
}
|
|
110
117
|
if (this.mutationObserver) {
|
|
111
118
|
this.mutationObserver.disconnect();
|
|
112
119
|
}
|
|
@@ -124,7 +131,7 @@ export class DuetSlideout {
|
|
|
124
131
|
this.openButton.accessibleExpanded = true;
|
|
125
132
|
}
|
|
126
133
|
const openPanel = this.getOpenPanel();
|
|
127
|
-
this.teleport.
|
|
134
|
+
this.teleport.makeSiblingsInert();
|
|
128
135
|
disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
|
|
129
136
|
if (openPanel) {
|
|
130
137
|
openPanel.setFocus();
|
|
@@ -142,7 +149,7 @@ export class DuetSlideout {
|
|
|
142
149
|
setTimeout(() => {
|
|
143
150
|
focusElement(this.openButton);
|
|
144
151
|
enableBodyScroll(this.dialog);
|
|
145
|
-
this.teleport.
|
|
152
|
+
this.teleport.removeInertFromSiblings();
|
|
146
153
|
}, 200);
|
|
147
154
|
}
|
|
148
155
|
}
|
|
@@ -61,6 +61,22 @@
|
|
|
61
61
|
align-items: center;
|
|
62
62
|
justify-content: center;
|
|
63
63
|
}
|
|
64
|
+
.duet-submenu-bar-item .leading-icon,
|
|
65
|
+
.duet-submenu-bar-item .trailing-icon {
|
|
66
|
+
width: 20px;
|
|
67
|
+
height: 20px;
|
|
68
|
+
}
|
|
69
|
+
@media (min-width: 62em) {
|
|
70
|
+
.duet-submenu-bar-item .leading-icon,
|
|
71
|
+
.duet-submenu-bar-item .trailing-icon {
|
|
72
|
+
width: 16px;
|
|
73
|
+
height: 16px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.duet-submenu-bar-item .trailing-icon.trailing-icon-arrow {
|
|
77
|
+
width: 7px;
|
|
78
|
+
height: 7px;
|
|
79
|
+
}
|
|
64
80
|
.duet-submenu-bar-item .trailing-icon {
|
|
65
81
|
position: absolute;
|
|
66
82
|
right: 12px;
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
4
|
import { h, Host } from "@stencil/core";
|
|
6
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
6
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
8
7
|
export class DuetSubmenuBarItem {
|
|
9
8
|
constructor() {
|
|
10
|
-
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
11
|
-
this.boundMqlFunctions = [];
|
|
12
|
-
this.changeIconSize = () => {
|
|
13
|
-
if (this.mql[0].matches) {
|
|
14
|
-
this.iconSize = "x-small";
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
this.iconSize = "small";
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
this.iconSize = "small";
|
|
21
9
|
this.theme = "";
|
|
22
10
|
this.active = false;
|
|
23
11
|
this.url = undefined;
|
|
@@ -33,26 +21,6 @@ export class DuetSubmenuBarItem {
|
|
|
33
21
|
componentWillLoad() {
|
|
34
22
|
inheritGlobalTheme(this);
|
|
35
23
|
}
|
|
36
|
-
connectedCallback() {
|
|
37
|
-
this.changeIconSize();
|
|
38
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
39
|
-
// addEventListener is not available in Stencil hydrate
|
|
40
|
-
if (this.mql[i].addEventListener) {
|
|
41
|
-
const bound = this.changeIconSize.bind(this);
|
|
42
|
-
this.mql[i].addEventListener("change", bound);
|
|
43
|
-
this.boundMqlFunctions[i] = bound;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
disconnectedCallback() {
|
|
48
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
49
|
-
// removeEventListener is not available in Stencil hydrate
|
|
50
|
-
if (this.mql[i].removeEventListener) {
|
|
51
|
-
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
this.boundMqlFunctions = [];
|
|
55
|
-
}
|
|
56
24
|
handleEscape(e) {
|
|
57
25
|
if (isEscapeKey(e)) {
|
|
58
26
|
const dropdown = this.element.closest("duet-submenu-bar");
|
|
@@ -72,10 +40,11 @@ export class DuetSubmenuBarItem {
|
|
|
72
40
|
*/
|
|
73
41
|
render() {
|
|
74
42
|
const TagName = this.url ? "a" : "button";
|
|
75
|
-
return (h(Host, null, h(TagName, { 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", { theme: this.theme, name: this.leadingIcon, size:
|
|
43
|
+
return (h(Host, null, h(TagName, { 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", { class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("span", { class: "label-text" }, h("slot", null)), this.trailingIcon && (h("duet-icon", { class: {
|
|
76
44
|
"trailing-icon": true,
|
|
45
|
+
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
77
46
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
78
|
-
}, theme: this.theme, name: this.trailingIcon, margin: "none", size:
|
|
47
|
+
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: "auto", color: "currentColor" }))))));
|
|
79
48
|
}
|
|
80
49
|
static get is() { return "duet-submenu-bar-item"; }
|
|
81
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -252,11 +221,6 @@ export class DuetSubmenuBarItem {
|
|
|
252
221
|
}
|
|
253
222
|
};
|
|
254
223
|
}
|
|
255
|
-
static get states() {
|
|
256
|
-
return {
|
|
257
|
-
"iconSize": {}
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
224
|
static get methods() {
|
|
261
225
|
return {
|
|
262
226
|
"setFocus": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { h, Host } from "@stencil/core";
|
|
4
|
+
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
7
7
|
import { subscribeTabbingChange, unsubscribeTabbingChange } from "../../utils/keyboard-utils";
|
|
@@ -22,23 +22,23 @@ export class DuetTooltipPopup {
|
|
|
22
22
|
this.placement = undefined;
|
|
23
23
|
this.accessibleCloseLabel = undefined;
|
|
24
24
|
}
|
|
25
|
-
handleActiveChange() {
|
|
26
|
-
if (this.active) {
|
|
27
|
-
this.teleport.go();
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this.teleport.resume(200);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
25
|
/**
|
|
34
26
|
* Component lifecycle events.
|
|
35
27
|
*/
|
|
36
28
|
componentWillLoad() {
|
|
37
29
|
inheritGlobalTheme(this);
|
|
38
|
-
this.teleport = new Teleport(this.element);
|
|
39
30
|
}
|
|
40
31
|
connectedCallback() {
|
|
41
32
|
subscribeTabbingChange(this);
|
|
33
|
+
if (Build.isServer) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
if (!this.teleport) {
|
|
37
|
+
this.teleport = new Teleport(this.element);
|
|
38
|
+
}
|
|
39
|
+
if (this.teleport) {
|
|
40
|
+
this.teleport.activate();
|
|
41
|
+
}
|
|
42
42
|
}
|
|
43
43
|
disconnectedCallback() {
|
|
44
44
|
unsubscribeTabbingChange(this);
|
|
@@ -269,10 +269,4 @@ export class DuetTooltipPopup {
|
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
271
|
static get elementRef() { return "element"; }
|
|
272
|
-
static get watchers() {
|
|
273
|
-
return [{
|
|
274
|
-
"propName": "active",
|
|
275
|
-
"methodName": "handleActiveChange"
|
|
276
|
-
}];
|
|
277
|
-
}
|
|
278
272
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { media_query_large, media_query_medium } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
-
import { arrow, computePosition, flip, shift } from "@floating-ui/dom";
|
|
5
|
+
import { arrow, autoUpdate, computePosition, flip, shift } from "@floating-ui/dom";
|
|
6
6
|
import { Build, h, Host } from "@stencil/core";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
@@ -121,6 +121,7 @@ export class DuetTooltip {
|
|
|
121
121
|
this.updatePlacement();
|
|
122
122
|
if (this.active) {
|
|
123
123
|
this.openTooltip();
|
|
124
|
+
await this.handleActiveChange(this.active);
|
|
124
125
|
}
|
|
125
126
|
this.intersectionObserver = new IntersectionObserver(this.updatePlacement, { root: document.body });
|
|
126
127
|
this.intersectionObserver.observe(this.element);
|
|
@@ -134,23 +135,6 @@ export class DuetTooltip {
|
|
|
134
135
|
disconnectedCallback() {
|
|
135
136
|
disconnectLanguageChangeObserver(this);
|
|
136
137
|
}
|
|
137
|
-
/**
|
|
138
|
-
* Component event handling.
|
|
139
|
-
*/
|
|
140
|
-
onScroll() {
|
|
141
|
-
clearTimeout(this.scrollTimer);
|
|
142
|
-
this.scrollTimer = setTimeout(() => {
|
|
143
|
-
if (this.active) {
|
|
144
|
-
this.updatePlacement();
|
|
145
|
-
}
|
|
146
|
-
}, 100);
|
|
147
|
-
}
|
|
148
|
-
handleWindowResize() {
|
|
149
|
-
clearTimeout(this.resizeTimer);
|
|
150
|
-
this.resizeTimer = setTimeout(() => {
|
|
151
|
-
this.updatePlacement();
|
|
152
|
-
}, 100);
|
|
153
|
-
}
|
|
154
138
|
handleDocumentClick(e) {
|
|
155
139
|
if (!this.active) {
|
|
156
140
|
return;
|
|
@@ -173,10 +157,10 @@ export class DuetTooltip {
|
|
|
173
157
|
}
|
|
174
158
|
async handleActiveChange(newActiveValue) {
|
|
175
159
|
if (newActiveValue) {
|
|
176
|
-
|
|
160
|
+
this.autoUpdateCleanup = autoUpdate(this.buttonEl, this.popupElement, this.updatePlacement);
|
|
177
161
|
}
|
|
178
162
|
else {
|
|
179
|
-
|
|
163
|
+
this.autoUpdateCleanup();
|
|
180
164
|
}
|
|
181
165
|
}
|
|
182
166
|
/**
|
|
@@ -554,18 +538,6 @@ export class DuetTooltip {
|
|
|
554
538
|
}
|
|
555
539
|
static get listeners() {
|
|
556
540
|
return [{
|
|
557
|
-
"name": "scroll",
|
|
558
|
-
"method": "onScroll",
|
|
559
|
-
"target": "window",
|
|
560
|
-
"capture": false,
|
|
561
|
-
"passive": true
|
|
562
|
-
}, {
|
|
563
|
-
"name": "resize",
|
|
564
|
-
"method": "handleWindowResize",
|
|
565
|
-
"target": "window",
|
|
566
|
-
"capture": false,
|
|
567
|
-
"passive": true
|
|
568
|
-
}, {
|
|
569
541
|
"name": "click",
|
|
570
542
|
"method": "handleDocumentClick",
|
|
571
543
|
"target": "document",
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Teleport helps resolving z-index issues of overlapping popup elements.
|
|
6
|
-
* Initiate it in your component's
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Initiate it in your component's connectedCallback.
|
|
7
|
+
* Call activate() to teleport the object.
|
|
8
|
+
* Call deactivate() to resume the object to its original place.
|
|
9
|
+
* Call makeSiblingsInert() to add inert attribute to sibling elements.
|
|
10
|
+
* Call removeInertFromSiblings() to remove inert attribute from sibling elements.
|
|
10
11
|
*/
|
|
11
12
|
export class Teleport {
|
|
12
13
|
constructor(element, target) {
|
|
@@ -15,44 +16,51 @@ export class Teleport {
|
|
|
15
16
|
this.target = target || document.body;
|
|
16
17
|
this.teleportId = `${Math.random()}-${Date.now()}`.substring(2);
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
21
|
-
go(makeSiblingsInert = false) {
|
|
22
|
-
const skipTeleport = this.element.getAttribute("skip-teleport");
|
|
23
|
-
if (skipTeleport !== null && skipTeleport !== "false") {
|
|
19
|
+
activate() {
|
|
20
|
+
if (this._isTeleportSkipped() || this.isActive) {
|
|
24
21
|
return;
|
|
25
22
|
}
|
|
26
|
-
// React handles teleporting itself with portals
|
|
27
|
-
if (!this.element.dataset.reactPortal) {
|
|
28
|
-
this.stub = document.createElement("template");
|
|
29
|
-
this.element.insertAdjacentElement("afterend", this.stub);
|
|
30
|
-
this.target.appendChild(this.element);
|
|
31
|
-
}
|
|
32
|
-
if (makeSiblingsInert) {
|
|
33
|
-
this._makeSiblingsInert();
|
|
34
|
-
}
|
|
35
|
-
this.deletionObserver = new MutationObserver(this._deletionObserverCallback.bind(this));
|
|
36
|
-
this.deletionObserver.observe(document.documentElement, { childList: true, subtree: true });
|
|
37
23
|
this.isActive = true;
|
|
24
|
+
this._activate();
|
|
38
25
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
26
|
+
deactivate() {
|
|
27
|
+
if (this._isTeleportSkipped() || !this.isActive) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
this.isActive = false;
|
|
31
|
+
this._deactivate();
|
|
32
|
+
}
|
|
33
|
+
makeSiblingsInert() {
|
|
34
|
+
if (this._isTeleportSkipped() || !this.isActive) {
|
|
42
35
|
return;
|
|
43
36
|
}
|
|
44
|
-
|
|
37
|
+
this._makeSiblingsInert();
|
|
38
|
+
}
|
|
39
|
+
removeInertFromSiblings(delay = 0) {
|
|
40
|
+
if (this._isTeleportSkipped() || !this.isActive) {
|
|
45
41
|
return;
|
|
46
42
|
}
|
|
47
|
-
this.isActive = false;
|
|
48
43
|
if (delay) {
|
|
49
|
-
setTimeout(this.
|
|
44
|
+
setTimeout(this._removeInertFromSiblings.bind(this), delay);
|
|
50
45
|
}
|
|
51
46
|
else {
|
|
52
|
-
this.
|
|
47
|
+
this._removeInertFromSiblings();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
_isTeleportSkipped() {
|
|
51
|
+
const skipTeleport = this.element.getAttribute("skip-teleport");
|
|
52
|
+
return skipTeleport !== null && skipTeleport !== "false";
|
|
53
|
+
}
|
|
54
|
+
_activate() {
|
|
55
|
+
if (!this.element.dataset.reactPortal) {
|
|
56
|
+
this.stub = document.createElement("template");
|
|
57
|
+
this.element.insertAdjacentElement("afterend", this.stub);
|
|
58
|
+
this.target.appendChild(this.element);
|
|
53
59
|
}
|
|
60
|
+
this.deletionObserver = new MutationObserver(this._deletionObserverCallback.bind(this));
|
|
61
|
+
this.deletionObserver.observe(document.documentElement, { childList: true, subtree: true });
|
|
54
62
|
}
|
|
55
|
-
|
|
63
|
+
_deactivate() {
|
|
56
64
|
if (!this.element.dataset.reactPortal) {
|
|
57
65
|
this.stub.insertAdjacentElement("beforebegin", this.element);
|
|
58
66
|
this.stub.remove();
|
|
@@ -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-cc32aec2.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-4c8393bf.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-e20d474e.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-17cca138.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { h } from './p-33937fd7.js';
|
|
7
7
|
import { h as hasSlot, c as checkNamedSlotElement } from './p-d87f6dd5.js';
|
|
8
8
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
9
9
|
import { g as getColorByName } from './p-25c80cdb.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-9d84642c.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-b6978bc4.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -73,9 +73,6 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
73
73
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
74
74
|
checkNamedSlotElement(this.element, "heading", "span");
|
|
75
75
|
this.setButtonSize();
|
|
76
|
-
setTimeout(() => {
|
|
77
|
-
this.checkBannerSize();
|
|
78
|
-
}, 0);
|
|
79
76
|
}
|
|
80
77
|
connectedCallback() {
|
|
81
78
|
window.addEventListener("resize", this.checkBannerSize);
|
|
@@ -83,6 +80,9 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
83
80
|
disconnectedCallback() {
|
|
84
81
|
window.removeEventListener("resize", this.checkBannerSize);
|
|
85
82
|
}
|
|
83
|
+
componentDidRender() {
|
|
84
|
+
this.checkBannerSize();
|
|
85
|
+
}
|
|
86
86
|
/**
|
|
87
87
|
* render() function
|
|
88
88
|
* Always the last one of the class.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-17cca138.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-e44c0eff.js';
|
|
7
7
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-2e36d5bf.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-b6978bc4.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-f35c9559.js';
|
|
10
10
|
|
|
11
11
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-17cca138.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { g as getLocaleString } from './p-2e36d5bf.js';
|
|
7
7
|
import { g as getColorByName } from './p-25c80cdb.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-8bfe29b8.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|