@duetds/components 8.5.0 → 8.5.2
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 +270 -197
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +29 -6
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +20 -36
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +72 -60
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +2 -2
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +21 -22
- package/lib/cjs/duet-multiselect.cjs.entry.js +2 -2
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +2 -2
- package/lib/cjs/duet-overlay.cjs.entry.js +5 -5
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +13 -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 +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +2 -2
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +15 -7
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +2 -2
- 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 +10 -15
- package/lib/cjs/duet-tooltip.cjs.entry.js +6 -22
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- 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-d5ff73a3.js → focus-utils-0a3cc66a.js} +1 -1
- package/lib/cjs/{index-55b9eb77.js → index-16863efb.js} +1 -1
- package/lib/cjs/{keyboard-utils-66ecb5d6.js → keyboard-utils-681e11ec.js} +2 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
- package/lib/collection/collection-manifest.json +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +4 -134
- package/lib/collection/components/duet-banner/duet-banner.js +43 -9
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +2 -1
- package/lib/collection/components/duet-choice/duet-choice.css +43 -12
- package/lib/collection/components/duet-choice/duet-choice.js +18 -56
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
- package/lib/collection/components/duet-combobox/duet-combobox.js +70 -58
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -4
- package/lib/collection/components/duet-hero/duet-hero.js +1 -1
- package/lib/collection/components/duet-icon/duet-icon.css +2 -0
- 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-modal/duet-modal.css +11 -6
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
- package/lib/collection/components/duet-modal/duet-modal.js +21 -19
- package/lib/collection/components/duet-overlay/duet-overlay.css +8 -1
- package/lib/collection/components/duet-overlay/duet-overlay.js +11 -11
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +11 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -15
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
- package/lib/collection/utils/keyboard-utils.js +2 -1
- 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 +33 -9
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- 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 +4 -4
- 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 +3 -3
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +27 -50
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +73 -61
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- 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 +8 -8
- 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 +5 -5
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +28 -29
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- 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 +14 -14
- 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 +12 -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 +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- 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 +16 -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 +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- 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 +4 -4
- 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-c5cbad6a.js → p-0013bbd9.js} +5 -5
- package/lib/dist-custom-elements/{p-e041a480.js → p-0df120f7.js} +11 -11
- package/lib/dist-custom-elements/{p-872e2f85.js → p-1ff11eb0.js} +1 -1
- package/lib/dist-custom-elements/{p-a7a43cc8.js → p-227546cf.js} +2 -2
- package/lib/dist-custom-elements/{p-7e0593c4.js → p-2a3d455e.js} +1 -1
- package/lib/dist-custom-elements/{p-11e152cd.js → p-31ed51c3.js} +69 -1
- package/lib/dist-custom-elements/{p-020faef4.js → p-3e413cfd.js} +1 -1
- package/lib/dist-custom-elements/{p-1ce04b25.js → p-3fbeb75f.js} +1 -1
- package/lib/dist-custom-elements/{p-2f740f34.js → p-4021501c.js} +4 -4
- package/lib/dist-custom-elements/{p-a2e4cefc.js → p-532e0afe.js} +11 -27
- package/lib/dist-custom-elements/{p-fa57c719.js → p-53f70c5c.js} +1 -1
- package/lib/dist-custom-elements/{p-1c41e380.js → p-6783b103.js} +7 -7
- package/lib/dist-custom-elements/{p-1ab843a7.js → p-69fa1487.js} +1 -1
- package/lib/dist-custom-elements/{p-2ccce086.js → p-6f10ebc0.js} +4 -4
- package/lib/dist-custom-elements/{p-d4229a56.js → p-77552eed.js} +1 -1
- package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
- package/lib/dist-custom-elements/{p-76ce0f9b.js → p-821bb92e.js} +11 -18
- package/lib/dist-custom-elements/{p-0a49f6e7.js → p-8cb2b7fe.js} +1 -1
- package/lib/dist-custom-elements/{p-979bd60b.js → p-8e696845.js} +1 -1
- package/lib/dist-custom-elements/{p-d321d5fc.js → p-8f86417c.js} +1 -1
- package/lib/dist-custom-elements/{p-935d79ab.js → p-934d4db1.js} +2 -2
- package/lib/dist-custom-elements/{p-17d5c190.js → p-9a2b977c.js} +2 -2
- package/lib/dist-custom-elements/{p-422afb9b.js → p-9af6adea.js} +1 -1
- package/lib/dist-custom-elements/{p-ea85bdb3.js → p-a13ff0ba.js} +2 -2
- package/lib/dist-custom-elements/{p-c79fe592.js → p-ab97f5a6.js} +1 -1
- package/lib/dist-custom-elements/{p-fb5d5f01.js → p-b35f5feb.js} +2 -2
- package/lib/dist-custom-elements/{p-8b86f3bd.js → p-c3ee68d3.js} +10 -10
- package/lib/dist-custom-elements/{p-79459d6e.js → p-c7e4d8c0.js} +3 -3
- package/lib/dist-custom-elements/{p-e1dc8e10.js → p-cbc5e3c2.js} +3 -3
- package/lib/dist-custom-elements/{p-69e641c9.js → p-cc019e60.js} +6 -6
- package/lib/dist-custom-elements/{p-e4a6f691.js → p-d5e33f97.js} +6 -3
- package/lib/dist-custom-elements/{p-bec3a15c.js → p-e44c0eff.js} +2 -1
- package/lib/dist-custom-elements/{p-baf436c1.js → p-e67b79bd.js} +6 -6
- package/lib/dist-custom-elements/{p-fbdd04e4.js → p-e77cc4f8.js} +1 -1
- package/lib/dist-custom-elements/{p-efa5851d.js → p-ed283f4c.js} +1 -1
- package/lib/dist-custom-elements/{p-0fce9d94.js → p-f0eaa248.js} +1 -1
- package/lib/dist-custom-elements/{p-b8844392.js → p-f843d6ff.js} +8 -8
- package/lib/dist-custom-elements/{p-d71a2b7b.js → p-fcd3721b.js} +1 -1
- package/lib/dist-custom-elements/{p-94656301.js → p-fce4d62c.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-002e18db.system.entry.js +4 -0
- package/lib/duet/p-027e5569.entry.js +4 -0
- package/lib/duet/{p-a19429c2.system.entry.js → p-030253f2.system.entry.js} +1 -1
- package/lib/duet/{p-cd6471b4.entry.js → p-03183a0f.entry.js} +1 -1
- package/lib/duet/{p-ea115f4e.system.entry.js → p-05f294b6.system.entry.js} +2 -2
- package/lib/duet/{p-9f54fc54.system.entry.js → p-0b8849bd.system.entry.js} +1 -1
- package/lib/duet/{p-93e74683.system.entry.js → p-0d37679b.system.entry.js} +1 -1
- package/lib/duet/{p-9d1cef64.system.entry.js → p-0d8cdce3.system.entry.js} +1 -1
- package/lib/duet/{p-0456ff4d.entry.js → p-0e265cf5.entry.js} +1 -1
- package/lib/duet/{p-27e81b06.entry.js → p-0e3a5d41.entry.js} +1 -1
- package/lib/duet/{p-b5b79a9c.entry.js → p-0e56bbe4.entry.js} +1 -1
- package/lib/duet/{p-401a3854.system.entry.js → p-0e6d65b4.system.entry.js} +1 -1
- package/lib/duet/p-103be53e.system.entry.js +4 -0
- package/lib/duet/{p-b3377755.system.entry.js → p-1047951a.system.entry.js} +1 -1
- package/lib/duet/{p-604c51f9.entry.js → p-1054ebce.entry.js} +1 -1
- package/lib/duet/{p-33f698d1.entry.js → p-11076593.entry.js} +1 -1
- package/lib/duet/{p-4729bcef.entry.js → p-129045fa.entry.js} +1 -1
- package/lib/duet/p-15d65ccc.system.js +4 -0
- package/lib/duet/{p-65468b0d.system.entry.js → p-17c077ab.system.entry.js} +1 -1
- package/lib/duet/{p-efd90de0.system.entry.js → p-188a000d.system.entry.js} +1 -1
- package/lib/duet/{p-8cd0cd03.entry.js → p-189a6d7a.entry.js} +1 -1
- package/lib/duet/{p-9b21ed50.entry.js → p-19714cb0.entry.js} +1 -1
- package/lib/duet/{p-2be0df40.system.entry.js → p-1a5d2b48.system.entry.js} +1 -1
- package/lib/duet/p-1c5b9e11.entry.js +4 -0
- package/lib/duet/{p-6aa4f325.entry.js → p-1cd772fc.entry.js} +1 -1
- package/lib/duet/{p-d925ab53.entry.js → p-1d90e7f5.entry.js} +1 -1
- package/lib/duet/{p-0d3f184b.entry.js → p-20601453.entry.js} +1 -1
- package/lib/duet/p-20d8f5b3.system.entry.js +4 -0
- package/lib/duet/{p-592edf29.system.entry.js → p-220ed4df.system.entry.js} +1 -1
- package/lib/duet/{p-13cd24b7.entry.js → p-244dd96f.entry.js} +1 -1
- package/lib/duet/p-261f4be7.entry.js +4 -0
- package/lib/duet/{p-a18768aa.entry.js → p-26224b8d.entry.js} +1 -1
- package/lib/duet/{p-e6cf95c7.entry.js → p-262cad2f.entry.js} +1 -1
- package/lib/duet/{p-f5578381.entry.js → p-26e9b71a.entry.js} +1 -1
- package/lib/duet/p-28829e73.system.entry.js +4 -0
- package/lib/duet/{p-01a8bdf7.system.entry.js → p-291921b6.system.entry.js} +1 -1
- package/lib/duet/{p-6af28665.system.entry.js → p-29cf9d3a.system.entry.js} +1 -1
- package/lib/duet/{p-801471d9.system.entry.js → p-2a5a769f.system.entry.js} +1 -1
- package/lib/duet/{p-9059866a.entry.js → p-2acd082d.entry.js} +1 -1
- package/lib/duet/{p-09af7801.system.entry.js → p-2ae068ec.system.entry.js} +1 -1
- package/lib/duet/{p-c9710402.entry.js → p-2e78e388.entry.js} +1 -1
- package/lib/duet/{p-5c5cd6d1.entry.js → p-2f4b30bc.entry.js} +1 -1
- package/lib/duet/p-31ed51c3.js +4 -0
- package/lib/duet/{p-b2716337.system.js → p-34d7dd10.system.js} +1 -1
- package/lib/duet/{p-4572372a.system.entry.js → p-3653b2fb.system.entry.js} +1 -1
- package/lib/duet/{p-5117272c.entry.js → p-3c521995.entry.js} +1 -1
- package/lib/duet/{p-6bd0ede9.system.entry.js → p-3cd16df4.system.entry.js} +1 -1
- package/lib/duet/{p-5e1d1a77.entry.js → p-3d5bd0bc.entry.js} +1 -1
- package/lib/duet/{p-5c3e7e35.entry.js → p-41b41654.entry.js} +1 -1
- package/lib/duet/{p-7559791e.system.entry.js → p-41dbacca.system.entry.js} +1 -1
- package/lib/duet/{p-daea7400.entry.js → p-42c4d8eb.entry.js} +1 -1
- package/lib/duet/{p-88079356.system.entry.js → p-458a582a.system.entry.js} +1 -1
- package/lib/duet/{p-73b9f01f.system.entry.js → p-46ae8180.system.entry.js} +1 -1
- package/lib/duet/{p-70521845.system.entry.js → p-472290cf.system.entry.js} +1 -1
- package/lib/duet/{p-51443fe0.system.entry.js → p-4829dff1.system.entry.js} +1 -1
- package/lib/duet/{p-64bc51ee.entry.js → p-4960de67.entry.js} +1 -1
- package/lib/duet/{p-6bfb1097.system.entry.js → p-4cc23ad9.system.entry.js} +1 -1
- package/lib/duet/{p-f831f948.system.entry.js → p-4dc42560.system.entry.js} +1 -1
- package/lib/duet/{p-ab5e0012.js → p-4ffa264b.js} +1 -1
- package/lib/duet/p-543274cc.entry.js +4 -0
- package/lib/duet/p-546f6d45.system.entry.js +4 -0
- package/lib/duet/{p-86a1f736.entry.js → p-55d583ae.entry.js} +1 -1
- package/lib/duet/{p-66ab34e4.system.entry.js → p-5639ce0e.system.entry.js} +1 -1
- package/lib/duet/p-5bd22454.system.entry.js +4 -0
- package/lib/duet/{p-5fcfa176.system.entry.js → p-5bfe7045.system.entry.js} +1 -1
- package/lib/duet/{p-2a664c02.system.entry.js → p-5c1601ff.system.entry.js} +1 -1
- package/lib/duet/{p-2fd5aa00.entry.js → p-5d2c26b0.entry.js} +1 -1
- package/lib/duet/{p-2ad5fbae.entry.js → p-5e55c792.entry.js} +1 -1
- package/lib/duet/{p-67d81156.entry.js → p-5ea3014b.entry.js} +1 -1
- package/lib/duet/p-5ee6ee0f.entry.js +4 -0
- package/lib/duet/{p-f62e0d80.entry.js → p-62fe20b3.entry.js} +1 -1
- package/lib/duet/p-68139eec.entry.js +4 -0
- package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
- package/lib/duet/{p-256cd41d.system.entry.js → p-6b09f77a.system.entry.js} +1 -1
- package/lib/duet/{p-6d928783.system.entry.js → p-6dfd2ad4.system.entry.js} +2 -2
- package/lib/duet/{p-e8b9e8ef.entry.js → p-6f86849a.entry.js} +1 -1
- package/lib/duet/{p-ae604d66.entry.js → p-750b8092.entry.js} +1 -1
- package/lib/duet/p-7796b4bf.js +4 -0
- package/lib/duet/{p-76ae0bc6.system.entry.js → p-779cc0e2.system.entry.js} +1 -1
- package/lib/duet/{p-66584477.entry.js → p-7a4f6f61.entry.js} +1 -1
- package/lib/duet/{p-cbcbab5e.entry.js → p-7a851859.entry.js} +1 -1
- package/lib/duet/{p-151493bf.entry.js → p-7af65952.entry.js} +1 -1
- package/lib/duet/p-7c4bccd0.entry.js +4 -0
- package/lib/duet/{p-317012d4.system.entry.js → p-7ce56bbb.system.entry.js} +1 -1
- package/lib/duet/{p-14ab0d93.system.entry.js → p-7d41397d.system.entry.js} +1 -1
- package/lib/duet/{p-863e4171.system.entry.js → p-7e694c23.system.entry.js} +1 -1
- package/lib/duet/{p-a7752b9e.system.entry.js → p-7f73ca35.system.entry.js} +1 -1
- package/lib/duet/{p-b28be710.system.entry.js → p-8046702e.system.entry.js} +1 -1
- package/lib/duet/{p-8e3b762b.system.entry.js → p-811d068d.system.entry.js} +1 -1
- package/lib/duet/p-856aabfc.entry.js +4 -0
- package/lib/duet/{p-c0109cdc.entry.js → p-890d2216.entry.js} +1 -1
- package/lib/duet/{p-33a5b8d1.entry.js → p-8e6a3459.entry.js} +1 -1
- package/lib/duet/{p-6a21013d.system.entry.js → p-90945aa7.system.entry.js} +1 -1
- package/lib/duet/{p-9228a4db.system.entry.js → p-91a7213e.system.entry.js} +1 -1
- package/lib/duet/{p-658480e9.entry.js → p-924d010a.entry.js} +1 -1
- package/lib/duet/{p-8f12df73.entry.js → p-934fbd8c.entry.js} +1 -1
- package/lib/duet/{p-05e3d13d.system.entry.js → p-945299e5.system.entry.js} +1 -1
- package/lib/duet/{p-8dafd7ea.entry.js → p-94f1da1e.entry.js} +1 -1
- package/lib/duet/p-9b7e4770.entry.js +4 -0
- package/lib/duet/{p-d2b114c3.system.entry.js → p-9c29c451.system.entry.js} +1 -1
- package/lib/duet/{p-0f34e239.entry.js → p-9c8eff95.entry.js} +1 -1
- package/lib/duet/{p-3d15f7c8.system.entry.js → p-9db7f0ee.system.entry.js} +1 -1
- package/lib/duet/{p-3a954cff.system.entry.js → p-9dfddcfe.system.entry.js} +1 -1
- package/lib/duet/{p-15b98f96.entry.js → p-a0bf2426.entry.js} +1 -1
- package/lib/duet/{p-7a98b0ec.entry.js → p-a104d690.entry.js} +1 -1
- package/lib/duet/p-a1b7f2a0.js +4 -0
- package/lib/duet/{p-2d3595b0.system.entry.js → p-a2c5ed9f.system.entry.js} +1 -1
- package/lib/duet/{p-073a10d2.entry.js → p-a4d3867b.entry.js} +1 -1
- package/lib/duet/{p-86aaa7a8.entry.js → p-a4f6e7a4.entry.js} +1 -1
- package/lib/duet/{p-d6902713.system.entry.js → p-aa34aa28.system.entry.js} +1 -1
- package/lib/duet/{p-31ab2fac.system.entry.js → p-abb6b45d.system.entry.js} +2 -2
- package/lib/duet/{p-0d618124.entry.js → p-abb6c6d6.entry.js} +1 -1
- package/lib/duet/{p-988683bf.entry.js → p-ace84e21.entry.js} +1 -1
- package/lib/duet/{p-19987cc7.entry.js → p-b0092c61.entry.js} +1 -1
- package/lib/duet/{p-1622a8dc.entry.js → p-b16f7f88.entry.js} +1 -1
- package/lib/duet/{p-c168a681.entry.js → p-b188ca10.entry.js} +1 -1
- package/lib/duet/{p-c417f6e2.entry.js → p-b19584f8.entry.js} +1 -1
- package/lib/duet/{p-608649b0.system.entry.js → p-b34e1fe3.system.entry.js} +1 -1
- package/lib/duet/{p-1ff168a6.system.entry.js → p-b3ec72f4.system.entry.js} +1 -1
- package/lib/duet/{p-a5a66e00.system.entry.js → p-b501aa93.system.entry.js} +1 -1
- package/lib/duet/{p-7cf1ec7c.system.entry.js → p-b61e64ec.system.entry.js} +1 -1
- package/lib/duet/p-b641b843.entry.js +4 -0
- package/lib/duet/p-b71802e6.entry.js +4 -0
- package/lib/duet/{p-38ad9e4e.system.entry.js → p-b9235db5.system.entry.js} +1 -1
- package/lib/duet/{p-a0675b54.system.entry.js → p-b93f7135.system.entry.js} +1 -1
- package/lib/duet/{p-226f6be1.system.entry.js → p-ba472cc3.system.entry.js} +1 -1
- package/lib/duet/p-be07ec36.entry.js +4 -0
- package/lib/duet/{p-1fdaa565.system.entry.js → p-c0773d8a.system.entry.js} +1 -1
- package/lib/duet/p-c0b43b78.system.js +4 -0
- package/lib/duet/{p-8a8945a6.system.entry.js → p-c0f4fc0f.system.entry.js} +1 -1
- package/lib/duet/{p-4f4e7905.entry.js → p-c1226bac.entry.js} +1 -1
- package/lib/duet/{p-3199cd51.system.entry.js → p-c3324ec1.system.entry.js} +1 -1
- package/lib/duet/{p-9f7b6689.entry.js → p-c3dcf506.entry.js} +1 -1
- package/lib/duet/{p-1a3f475b.system.entry.js → p-c3df6a13.system.entry.js} +1 -1
- package/lib/duet/{p-23a308b4.entry.js → p-c436c489.entry.js} +1 -1
- package/lib/duet/{p-d7dc7cbe.system.entry.js → p-c6d0fa16.system.entry.js} +1 -1
- package/lib/duet/{p-a3295b50.entry.js → p-c9e60391.entry.js} +1 -1
- package/lib/duet/p-cc12db97.entry.js +4 -0
- package/lib/duet/{p-0389a394.js → p-cd0a050c.js} +1 -1
- package/lib/duet/p-cd5db171.system.entry.js +4 -0
- package/lib/duet/{p-f2c72c35.entry.js → p-cfaa9978.entry.js} +1 -1
- package/lib/duet/{p-c83596f4.entry.js → p-d0b4d585.entry.js} +1 -1
- package/lib/duet/{p-77056d41.entry.js → p-d1e721c0.entry.js} +1 -1
- package/lib/duet/{p-45e825a2.entry.js → p-d222404e.entry.js} +1 -1
- package/lib/duet/{p-ccce468e.entry.js → p-d43cb576.entry.js} +1 -1
- package/lib/duet/{p-74d3d7c2.system.entry.js → p-d723e2bf.system.entry.js} +1 -1
- package/lib/duet/{p-ca0f477d.system.entry.js → p-d72c9b61.system.entry.js} +1 -1
- package/lib/duet/{p-047c3e3b.system.entry.js → p-d8b5bb36.system.entry.js} +1 -1
- package/lib/duet/{p-354c17a2.entry.js → p-d8de1209.entry.js} +1 -1
- package/lib/duet/{p-ce0c1247.system.js → p-d98dd209.system.js} +1 -1
- package/lib/duet/p-d9b6cabf.system.js +4 -0
- package/lib/duet/{p-96731c5a.system.entry.js → p-dada7734.system.entry.js} +1 -1
- package/lib/duet/{p-9c4066c6.system.entry.js → p-db6b760d.system.entry.js} +1 -1
- package/lib/duet/p-e211e155.system.entry.js +4 -0
- package/lib/duet/{p-eb376f0d.entry.js → p-e4174ecb.entry.js} +1 -1
- package/lib/duet/{p-f45745d0.entry.js → p-e5f42099.entry.js} +1 -1
- package/lib/duet/{p-d4056106.entry.js → p-e696786c.entry.js} +1 -1
- package/lib/duet/{p-c059695b.system.entry.js → p-e6f52d21.system.entry.js} +1 -1
- package/lib/duet/{p-247f0bf4.system.entry.js → p-e82699f0.system.entry.js} +1 -1
- package/lib/duet/{p-9a8f0bb2.system.entry.js → p-ea4a51dd.system.entry.js} +1 -1
- package/lib/duet/{p-f3009df9.entry.js → p-ebcacf15.entry.js} +1 -1
- package/lib/duet/{p-fcc4a7c1.system.entry.js → p-ec31cc90.system.entry.js} +1 -1
- package/lib/duet/{p-09a780a9.entry.js → p-ecf78455.entry.js} +1 -1
- package/lib/duet/{p-6833ff0d.entry.js → p-f0ede3b6.entry.js} +1 -1
- package/lib/duet/{p-a04c76f4.system.entry.js → p-f1984238.system.entry.js} +1 -1
- package/lib/duet/{p-ebef8737.system.entry.js → p-f505766a.system.entry.js} +1 -1
- package/lib/duet/{p-8e30f9a6.system.entry.js → p-f7719d79.system.entry.js} +1 -1
- package/lib/duet/{p-c0715203.system.entry.js → p-f7e80bed.system.entry.js} +1 -1
- package/lib/duet/{p-e45e0200.system.entry.js → p-f97f62e2.system.entry.js} +2 -2
- package/lib/duet/{p-c8f68ea5.entry.js → p-fbd2a797.entry.js} +1 -1
- package/lib/duet/{p-256b1c93.entry.js → p-fd8f15ff.entry.js} +1 -1
- package/lib/duet/{p-80f53550.system.entry.js → p-fe77631b.system.entry.js} +1 -1
- package/lib/duet/{p-ae58e4dd.system.entry.js → p-ffcbc32e.system.entry.js} +2 -2
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +29 -6
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +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 +2 -2
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +2 -2
- package/lib/esm/duet-choice_2.entry.js +20 -36
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +72 -60
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +2 -2
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +21 -22
- package/lib/esm/duet-multiselect.entry.js +2 -2
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +2 -2
- package/lib/esm/duet-overlay.entry.js +5 -5
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +13 -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 +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +2 -2
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +15 -7
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +2 -2
- 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 +10 -15
- package/lib/esm/duet-tooltip.entry.js +6 -22
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +69 -1
- package/lib/esm/{focus-utils-a10adf64.js → focus-utils-aa3a68f0.js} +1 -1
- package/lib/esm/{index-64c1298f.js → index-453deef5.js} +1 -1
- package/lib/esm/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.js} +2 -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 +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +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 +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 +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-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 +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 +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-aa3a68f0.js +4 -0
- package/lib/esm-es5/{index-64c1298f.js → index-453deef5.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-0708be80.js → keyboard-utils-439bcc8b.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 +8 -3
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -1
- package/lib/types/components/duet-link/duet-link.d.ts +5 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
- package/lib/types/components/duet-overlay/duet-overlay.d.ts +2 -2
- 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 +28 -18
- package/lib/types/utils/teleport.d.ts +12 -10
- package/package.json +5 -5
- package/lib/duet/p-108e590d.entry.js +0 -4
- package/lib/duet/p-11e152cd.js +0 -4
- package/lib/duet/p-2acc7234.entry.js +0 -4
- package/lib/duet/p-314584b6.entry.js +0 -4
- package/lib/duet/p-3624bad1.js +0 -4
- package/lib/duet/p-492f593d.system.entry.js +0 -4
- package/lib/duet/p-4ce604e7.system.entry.js +0 -4
- package/lib/duet/p-5b26e3f6.entry.js +0 -4
- package/lib/duet/p-5d4415c4.entry.js +0 -4
- package/lib/duet/p-65e3c5b0.system.js +0 -4
- package/lib/duet/p-6628b910.entry.js +0 -4
- package/lib/duet/p-75ddb749.system.entry.js +0 -4
- package/lib/duet/p-8d9eed3a.entry.js +0 -4
- package/lib/duet/p-906431d6.system.entry.js +0 -4
- package/lib/duet/p-954187ca.entry.js +0 -4
- package/lib/duet/p-a8ec05ce.entry.js +0 -4
- package/lib/duet/p-ad8f72c1.entry.js +0 -4
- package/lib/duet/p-add5965e.system.entry.js +0 -4
- package/lib/duet/p-b7de6cf2.system.js +0 -4
- package/lib/duet/p-c6504e8e.system.entry.js +0 -4
- package/lib/duet/p-ccdff614.js +0 -4
- package/lib/duet/p-cda576c3.entry.js +0 -4
- package/lib/duet/p-d9e75bb3.entry.js +0 -4
- package/lib/duet/p-e639b9ee.system.js +0 -4
- package/lib/duet/p-e8320a1b.system.entry.js +0 -4
- package/lib/duet/p-e8d4440f.system.entry.js +0 -4
- package/lib/duet/p-fb543570.entry.js +0 -4
- package/lib/esm-es5/focus-utils-a10adf64.js +0 -4
|
@@ -14,6 +14,19 @@ import { getColorByName } from "../../utils/token-utils";
|
|
|
14
14
|
*/
|
|
15
15
|
export class DuetBanner {
|
|
16
16
|
constructor() {
|
|
17
|
+
this.checkBannerSize = () => {
|
|
18
|
+
const elementSize = this.element.clientWidth;
|
|
19
|
+
if (elementSize < 500 || this.size === "small") {
|
|
20
|
+
this.currentSize = "small";
|
|
21
|
+
}
|
|
22
|
+
else if (elementSize < 900 || this.size === "medium") {
|
|
23
|
+
this.currentSize = "medium";
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this.currentSize = "large";
|
|
27
|
+
}
|
|
28
|
+
this.setButtonSize();
|
|
29
|
+
};
|
|
17
30
|
/**
|
|
18
31
|
* Default to smaller button size for small and medium banners.
|
|
19
32
|
*/
|
|
@@ -21,19 +34,20 @@ export class DuetBanner {
|
|
|
21
34
|
if (this.hasActionSlot) {
|
|
22
35
|
const buttons = this.element.querySelectorAll("[slot='action'] duet-button, duet-button[slot='action']");
|
|
23
36
|
for (const button of buttons) {
|
|
24
|
-
if (button && button.getAttribute("size") === null && this.
|
|
37
|
+
if (button && button.getAttribute("size") === null && this.currentSize !== "large") {
|
|
25
38
|
button.size = "small";
|
|
26
39
|
}
|
|
27
40
|
}
|
|
28
41
|
}
|
|
29
42
|
};
|
|
43
|
+
this.currentSize = undefined;
|
|
30
44
|
this.theme = "";
|
|
31
45
|
this.margin = "auto";
|
|
32
46
|
this.backgroundColor = "primary-lighter";
|
|
33
47
|
this.iconColor = "gray-lightest";
|
|
34
48
|
this.iconBackgroundColor = "primary";
|
|
35
49
|
this.textColor = "secondary";
|
|
36
|
-
this.size = "
|
|
50
|
+
this.size = "large";
|
|
37
51
|
this.image = "";
|
|
38
52
|
this.sources = undefined;
|
|
39
53
|
this.icon = "";
|
|
@@ -49,6 +63,15 @@ export class DuetBanner {
|
|
|
49
63
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
50
64
|
checkNamedSlotElement(this.element, "heading", "span");
|
|
51
65
|
this.setButtonSize();
|
|
66
|
+
setTimeout(() => {
|
|
67
|
+
this.checkBannerSize();
|
|
68
|
+
}, 0);
|
|
69
|
+
}
|
|
70
|
+
connectedCallback() {
|
|
71
|
+
window.addEventListener("resize", this.checkBannerSize);
|
|
72
|
+
}
|
|
73
|
+
disconnectedCallback() {
|
|
74
|
+
window.removeEventListener("resize", this.checkBannerSize);
|
|
52
75
|
}
|
|
53
76
|
/**
|
|
54
77
|
* render() function
|
|
@@ -68,8 +91,8 @@ export class DuetBanner {
|
|
|
68
91
|
return (h(Host, { class: { "duet-m-0": this.margin === "none" } }, h("aside", { class: {
|
|
69
92
|
"duet-banner": true,
|
|
70
93
|
"duet-theme-turva": this.theme === "turva",
|
|
71
|
-
[this.
|
|
72
|
-
}, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.
|
|
94
|
+
[this.currentSize]: true,
|
|
95
|
+
}, style: bannerStyles }, h("div", { class: "visual" }, h("div", { class: "image-container" }, this.image && h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.currentSize === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h("div", { class: "content" }, this.hasHeadingSlot && (h("div", { class: "heading" }, h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h("div", { class: "description", style: { color } }, h("slot", { name: "description" }))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" })))))));
|
|
73
96
|
}
|
|
74
97
|
static get is() { return "duet-banner"; }
|
|
75
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -233,19 +256,25 @@ export class DuetBanner {
|
|
|
233
256
|
"type": "string",
|
|
234
257
|
"mutable": true,
|
|
235
258
|
"complexType": {
|
|
236
|
-
"original": "
|
|
237
|
-
"resolved": "\"
|
|
238
|
-
"references": {
|
|
259
|
+
"original": "bannerSize",
|
|
260
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
261
|
+
"references": {
|
|
262
|
+
"bannerSize": {
|
|
263
|
+
"location": "local",
|
|
264
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-banner/duet-banner.tsx",
|
|
265
|
+
"id": "src/components/duet-banner/duet-banner.tsx::bannerSize"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
239
268
|
},
|
|
240
269
|
"required": false,
|
|
241
270
|
"optional": false,
|
|
242
271
|
"docs": {
|
|
243
272
|
"tags": [],
|
|
244
|
-
"text": "
|
|
273
|
+
"text": "Maximum size of the banner. The banner will automatically switch to smaller sizes when space is not available.\nSizes \"large\" and \"medium\" are horizontal, \"small\" is vertical,"
|
|
245
274
|
},
|
|
246
275
|
"attribute": "size",
|
|
247
276
|
"reflect": false,
|
|
248
|
-
"defaultValue": "\"
|
|
277
|
+
"defaultValue": "\"large\""
|
|
249
278
|
},
|
|
250
279
|
"image": {
|
|
251
280
|
"type": "string",
|
|
@@ -338,5 +367,10 @@ export class DuetBanner {
|
|
|
338
367
|
}
|
|
339
368
|
};
|
|
340
369
|
}
|
|
370
|
+
static get states() {
|
|
371
|
+
return {
|
|
372
|
+
"currentSize": {}
|
|
373
|
+
};
|
|
374
|
+
}
|
|
341
375
|
static get elementRef() { return "element"; }
|
|
342
376
|
}
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
position: relative;
|
|
111
111
|
z-index: 100;
|
|
112
112
|
display: flex;
|
|
113
|
-
gap:
|
|
113
|
+
gap: 12px;
|
|
114
114
|
align-items: center;
|
|
115
115
|
justify-content: flex-start;
|
|
116
116
|
width: 100%;
|
|
@@ -157,7 +157,6 @@
|
|
|
157
157
|
}
|
|
158
158
|
.checked > .duet-choice-label {
|
|
159
159
|
padding: 1rem;
|
|
160
|
-
color: rgb(0, 119, 179) !important;
|
|
161
160
|
background: rgb(243, 249, 252);
|
|
162
161
|
border-color: rgb(0, 119, 179) !important;
|
|
163
162
|
border-width: 2px;
|
|
@@ -166,7 +165,6 @@
|
|
|
166
165
|
border-color: rgb(0, 119, 179);
|
|
167
166
|
}
|
|
168
167
|
.duet-theme-turva .checked > .duet-choice-label {
|
|
169
|
-
color: rgb(23, 28, 58) !important;
|
|
170
168
|
background: rgb(245, 245, 247);
|
|
171
169
|
border-color: rgb(23, 28, 58) !important;
|
|
172
170
|
}
|
|
@@ -174,7 +172,7 @@
|
|
|
174
172
|
border-color: rgb(198, 12, 48);
|
|
175
173
|
}
|
|
176
174
|
.checked.collapsible > .duet-choice-label, .collapsible-force-expanded.collapsible > .duet-choice-label {
|
|
177
|
-
padding-bottom: calc(1rem +
|
|
175
|
+
padding-bottom: calc(1rem + 2px) !important;
|
|
178
176
|
border-bottom: 0 !important;
|
|
179
177
|
border-bottom-right-radius: 0;
|
|
180
178
|
border-bottom-left-radius: 0;
|
|
@@ -188,7 +186,7 @@
|
|
|
188
186
|
border-color: rgb(144, 149, 153);
|
|
189
187
|
}
|
|
190
188
|
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) {
|
|
191
|
-
border-color: rgb(
|
|
189
|
+
border-color: rgb(23, 28, 58);
|
|
192
190
|
}
|
|
193
191
|
.duet-theme-turva :host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-flextainer .duet-choice-label:not(.checked) .duet-checkmark-container {
|
|
194
192
|
border-color: rgb(116, 116, 117);
|
|
@@ -227,6 +225,12 @@ input[disabled] + .duet-choice-label {
|
|
|
227
225
|
background: rgb(245, 248, 250) !important;
|
|
228
226
|
border-color: rgb(225, 227, 230) !important;
|
|
229
227
|
}
|
|
228
|
+
input[disabled] + .duet-choice-label .duet-choice-card-icon {
|
|
229
|
+
color: rgb(101, 119, 135);
|
|
230
|
+
}
|
|
231
|
+
.duet-theme-turva input[disabled] + .duet-choice-label .duet-choice-card-icon {
|
|
232
|
+
color: rgb(116, 116, 117);
|
|
233
|
+
}
|
|
230
234
|
input[disabled] + .duet-choice-label .duet-checkmark {
|
|
231
235
|
border-color: rgb(101, 119, 135) !important;
|
|
232
236
|
}
|
|
@@ -246,13 +250,11 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
246
250
|
}
|
|
247
251
|
|
|
248
252
|
.checked > input[disabled] + .duet-choice-label {
|
|
249
|
-
|
|
250
|
-
border-color: rgb(225, 227, 230) !important;
|
|
253
|
+
border-color: rgb(144, 149, 153) !important;
|
|
251
254
|
}
|
|
252
255
|
|
|
253
256
|
.duet-theme-turva .checked > input[disabled] + .duet-choice-label {
|
|
254
|
-
|
|
255
|
-
border-color: rgb(228, 228, 230) !important;
|
|
257
|
+
border-color: rgb(116, 116, 117) !important;
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
.duet-checkmark-container {
|
|
@@ -280,6 +282,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
280
282
|
border-radius: 50%;
|
|
281
283
|
}
|
|
282
284
|
[disabled] + label .duet-checkmark-container {
|
|
285
|
+
background: rgb(207, 210, 212) !important;
|
|
283
286
|
border-color: rgb(207, 210, 212) !important;
|
|
284
287
|
}
|
|
285
288
|
.duet-theme-turva [disabled] + label .duet-checkmark-container {
|
|
@@ -290,6 +293,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
290
293
|
}
|
|
291
294
|
.duet-theme-turva .checked > [disabled] + label .duet-checkmark-container {
|
|
292
295
|
background: rgb(207, 207, 209) !important;
|
|
296
|
+
border-color: rgb(207, 207, 209) !important;
|
|
293
297
|
}
|
|
294
298
|
|
|
295
299
|
.duet-checkmark {
|
|
@@ -328,6 +332,10 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
328
332
|
}
|
|
329
333
|
.duet-choice-card-icon {
|
|
330
334
|
position: relative;
|
|
335
|
+
color: rgb(0, 119, 179);
|
|
336
|
+
}
|
|
337
|
+
.duet-theme-turva .duet-choice-card-icon {
|
|
338
|
+
color: rgb(173, 11, 43);
|
|
331
339
|
}
|
|
332
340
|
.duet-choice-card-icon duet-icon {
|
|
333
341
|
display: block;
|
|
@@ -356,6 +364,7 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
356
364
|
border: 1px solid rgb(225, 227, 230);
|
|
357
365
|
border-top: 0;
|
|
358
366
|
border-radius: 0 0 8px 8px;
|
|
367
|
+
transition: border-color 300ms ease;
|
|
359
368
|
}
|
|
360
369
|
@media (min-width: 36em) {
|
|
361
370
|
.duet-choice-card-info, .duet-choice-card-collapsible {
|
|
@@ -382,9 +391,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
382
391
|
border-color: rgb(228, 228, 230);
|
|
383
392
|
}
|
|
384
393
|
.duet-choice-card-collapsible.checked {
|
|
394
|
+
padding: 19px !important;
|
|
395
|
+
padding-top: 20px !important;
|
|
385
396
|
border-color: rgb(0, 119, 179);
|
|
386
397
|
border-width: 2px;
|
|
387
398
|
}
|
|
399
|
+
@media (min-width: 36em) {
|
|
400
|
+
.duet-choice-card-collapsible.checked {
|
|
401
|
+
padding: 27px !important;
|
|
402
|
+
padding-top: 28px !important;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
388
405
|
.duet-choice-card-collapsible.checked.duet-theme-turva {
|
|
389
406
|
border-color: rgb(23, 28, 58);
|
|
390
407
|
}
|
|
@@ -412,13 +429,16 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
412
429
|
background: rgb(245, 245, 247);
|
|
413
430
|
border-color: rgb(228, 228, 230);
|
|
414
431
|
}
|
|
415
|
-
.duet-choice-card-info .duet-choice-info-container:focus {
|
|
416
|
-
outline: none;
|
|
417
|
-
}
|
|
418
432
|
.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container ::slotted(*) {
|
|
419
433
|
display: none;
|
|
420
434
|
}
|
|
421
435
|
|
|
436
|
+
:host(.user-is-tabbing) .duet-choice-info-container:focus {
|
|
437
|
+
display: block;
|
|
438
|
+
outline: none;
|
|
439
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
440
|
+
}
|
|
441
|
+
|
|
422
442
|
:host(:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
423
443
|
border-color: rgb(0, 119, 179);
|
|
424
444
|
border-width: 2px;
|
|
@@ -427,6 +447,17 @@ input[disabled] + .duet-choice-label:hover, input[disabled] + .duet-choice-label
|
|
|
427
447
|
border-color: rgb(116, 116, 117);
|
|
428
448
|
}
|
|
429
449
|
|
|
450
|
+
:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
451
|
+
padding: 19px !important;
|
|
452
|
+
padding-top: 20px !important;
|
|
453
|
+
}
|
|
454
|
+
@media (min-width: 36em) {
|
|
455
|
+
:host([collapsible-force-expanded]:not(.no-hover):not(.disabled):hover) > .duet-choice-card-collapsible:not(.checked) {
|
|
456
|
+
padding: 27px !important;
|
|
457
|
+
padding-top: 28px !important;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
430
461
|
.duet-choice-info-toggle {
|
|
431
462
|
display: flex;
|
|
432
463
|
flex-shrink: 0;
|
|
@@ -6,7 +6,6 @@ import { Build, h, Host } from "@stencil/core";
|
|
|
6
6
|
import { inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
|
-
import { FocusGuard } from "../../utils/focus-utils";
|
|
10
9
|
import { isEscapeKey, isKeyboardClick, isQuestionKey, subscribeTabbingChange, unsubscribeTabbingChange, } from "../../utils/keyboard-utils";
|
|
11
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
11
|
import { hasSlot } from "../../utils/slot-utils";
|
|
@@ -25,6 +24,9 @@ export class DuetChoice {
|
|
|
25
24
|
this.expandId = createID("DuetChoiceExpand");
|
|
26
25
|
this.headerId = createID("DuetChoiceHeader");
|
|
27
26
|
this.infoButtonId = createID("DuetChoiceInfoButton");
|
|
27
|
+
/**
|
|
28
|
+
* Component event handling.
|
|
29
|
+
*/
|
|
28
30
|
this.onMouseEnter = () => {
|
|
29
31
|
this.isHovering = true;
|
|
30
32
|
};
|
|
@@ -75,7 +77,6 @@ export class DuetChoice {
|
|
|
75
77
|
if (this.getDisabled()) {
|
|
76
78
|
return;
|
|
77
79
|
}
|
|
78
|
-
this.isInfoOpen = false;
|
|
79
80
|
// if it's a radio button, and it's already checked
|
|
80
81
|
// we shouldn't fire an event, so exit early
|
|
81
82
|
if (this.type === "radio" && this.checked) {
|
|
@@ -95,12 +96,11 @@ export class DuetChoice {
|
|
|
95
96
|
setTimeout(() => {
|
|
96
97
|
var _a;
|
|
97
98
|
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
98
|
-
});
|
|
99
|
+
}, 150);
|
|
99
100
|
}
|
|
100
101
|
};
|
|
101
102
|
this.isHovering = false;
|
|
102
103
|
this.isInfoOpen = false;
|
|
103
|
-
this.isBlurred = false;
|
|
104
104
|
this.theme = "";
|
|
105
105
|
this.label = "label";
|
|
106
106
|
this.accessibleLabelInfoButtonDefaults = DuetStringsExternalDefaults;
|
|
@@ -168,30 +168,6 @@ export class DuetChoice {
|
|
|
168
168
|
unsubscribeTabbingChange(this);
|
|
169
169
|
this.duetChoiceRemove.emit();
|
|
170
170
|
}
|
|
171
|
-
/**
|
|
172
|
-
* Component event handling.
|
|
173
|
-
*/
|
|
174
|
-
handleHostBlur(ev) {
|
|
175
|
-
/**
|
|
176
|
-
* When moving away from a choice, collapse the info bar to assist visually impared people on focusing
|
|
177
|
-
*/
|
|
178
|
-
if (this.hasInfo && this.isInfoOpen && this.isKeyDown) {
|
|
179
|
-
// @ts-ignore
|
|
180
|
-
const isTargetContainedInHost = this.element.contains(ev === null || ev === void 0 ? void 0 : ev.relatedTarget) || false;
|
|
181
|
-
if (!isTargetContainedInHost) {
|
|
182
|
-
this.toggleInfo();
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
handleHostKeyDown() {
|
|
187
|
-
this.isKeyDown = true;
|
|
188
|
-
}
|
|
189
|
-
handleHostKeyUp(ev) {
|
|
190
|
-
this.isKeyDown = false;
|
|
191
|
-
if (isEscapeKey(ev) && this.isInfoOpen) {
|
|
192
|
-
this.toggleInfo();
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
171
|
/**
|
|
196
172
|
* Sets focus on the specified `duet-choice`. Use this method instead of the global
|
|
197
173
|
* `input.focus()`.
|
|
@@ -205,6 +181,16 @@ export class DuetChoice {
|
|
|
205
181
|
async toggleInfoMethod() {
|
|
206
182
|
this.isInfoOpen = !this.isInfoOpen;
|
|
207
183
|
}
|
|
184
|
+
handleEscape(e) {
|
|
185
|
+
if (isEscapeKey(e)) {
|
|
186
|
+
if (this.isInfoOpen) {
|
|
187
|
+
this.isInfoOpen = false;
|
|
188
|
+
if (this.infoButtonEl) {
|
|
189
|
+
this.infoButtonEl.focus();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
208
194
|
/**
|
|
209
195
|
* Should the collapsible content be announced by screen readers
|
|
210
196
|
*/
|
|
@@ -272,8 +258,6 @@ export class DuetChoice {
|
|
|
272
258
|
if (Build.isServer) {
|
|
273
259
|
return;
|
|
274
260
|
}
|
|
275
|
-
const choiceGroup = this.element.closest("duet-choice-group");
|
|
276
|
-
const choiceGroupLabel = choiceGroup ? choiceGroup.label : undefined;
|
|
277
261
|
const identifier = this.identifier || this.choiceId;
|
|
278
262
|
return (h(Host, { class: {
|
|
279
263
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
@@ -295,13 +279,13 @@ export class DuetChoice {
|
|
|
295
279
|
collapsible: this.collapsible,
|
|
296
280
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
297
281
|
"duet-p-0": this.padding === "none",
|
|
298
|
-
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" },
|
|
282
|
+
} }, h("input", { class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input) }), h("label", { htmlFor: identifier, class: { "duet-choice-label": true, "has-before-text": this.hasBeforeText }, onClick: this.onClick }, this.hasBeforeText && h("slot", { name: "before-text" }), this.icon && (h("div", { class: "duet-choice-card-icon" }, h("duet-icon", { margin: "none", size: "small", name: this.icon, color: "currentColor" }))), h("div", { class: "duet-choice-card-text" }, h("div", null, this.hasLabel ? h("slot", { name: "label" }) : this.label), this.caption && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("duet-caption", { margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (h("div", null, h("duet-spacer", { size: "xx-small" }), h("slot", { name: "additional" })))), h("div", null, h("div", { class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && h("div", { class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (h("button", { ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
299
283
|
"duet-choice-info-toggle": true,
|
|
300
284
|
"duet-theme-turva": this.theme === "turva",
|
|
301
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button"
|
|
285
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (h("span", { id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
302
286
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
303
287
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
304
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container"
|
|
288
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, h("span", null, h("slot", { name: "info" })), h("slot", null))) : (h("span", { id: `${this.choiceId}-collapsible-content` }, h("slot", null)))))) : null));
|
|
305
289
|
}
|
|
306
290
|
static get is() { return "duet-choice"; }
|
|
307
291
|
static get encapsulation() { return "scoped"; }
|
|
@@ -954,8 +938,7 @@ export class DuetChoice {
|
|
|
954
938
|
static get states() {
|
|
955
939
|
return {
|
|
956
940
|
"isHovering": {},
|
|
957
|
-
"isInfoOpen": {}
|
|
958
|
-
"isBlurred": {}
|
|
941
|
+
"isInfoOpen": {}
|
|
959
942
|
};
|
|
960
943
|
}
|
|
961
944
|
static get events() {
|
|
@@ -1111,25 +1094,4 @@ export class DuetChoice {
|
|
|
1111
1094
|
};
|
|
1112
1095
|
}
|
|
1113
1096
|
static get elementRef() { return "element"; }
|
|
1114
|
-
static get listeners() {
|
|
1115
|
-
return [{
|
|
1116
|
-
"name": "blur",
|
|
1117
|
-
"method": "handleHostBlur",
|
|
1118
|
-
"target": undefined,
|
|
1119
|
-
"capture": true,
|
|
1120
|
-
"passive": false
|
|
1121
|
-
}, {
|
|
1122
|
-
"name": "keydown",
|
|
1123
|
-
"method": "handleHostKeyDown",
|
|
1124
|
-
"target": undefined,
|
|
1125
|
-
"capture": true,
|
|
1126
|
-
"passive": false
|
|
1127
|
-
}, {
|
|
1128
|
-
"name": "keyup",
|
|
1129
|
-
"method": "handleHostKeyUp",
|
|
1130
|
-
"target": undefined,
|
|
1131
|
-
"capture": true,
|
|
1132
|
-
"passive": false
|
|
1133
|
-
}];
|
|
1134
|
-
}
|
|
1135
1097
|
}
|
|
@@ -44,18 +44,14 @@
|
|
|
44
44
|
.duet-combobox-list {
|
|
45
45
|
position: absolute;
|
|
46
46
|
top: calc(100% - 12px);
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
z-index: 700;
|
|
48
|
+
display: none;
|
|
49
49
|
background: rgb(255, 255, 255);
|
|
50
50
|
border-radius: 0 4px;
|
|
51
51
|
box-shadow: 0 2px 10px 0 rgba(0, 41, 77, 0.1);
|
|
52
|
-
opacity: 0;
|
|
53
52
|
}
|
|
54
53
|
.duet-combobox-list.open {
|
|
55
|
-
z-index: 700;
|
|
56
54
|
display: block;
|
|
57
|
-
height: auto;
|
|
58
|
-
opacity: 1;
|
|
59
55
|
}
|
|
60
56
|
.duet-combobox-list .duet-combobox-listbox {
|
|
61
57
|
max-height: 200px;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host, } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { createID } from "../../utils/create-id";
|
|
6
7
|
import { debounce } from "../../utils/js-utils";
|
|
7
8
|
import { isArrowDownKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey } from "../../utils/keyboard-utils";
|
|
8
9
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
@@ -10,6 +11,7 @@ import { parsePossibleJSON } from "../../utils/string-utils";
|
|
|
10
11
|
import { DuetComboBoxSelect } from "./duet-combobox-select";
|
|
11
12
|
export class DuetCombobox {
|
|
12
13
|
constructor() {
|
|
14
|
+
this.listBoxId = createID("duet-combobox-list-element");
|
|
13
15
|
this.resizeObserver = new ResizeObserver(debounce(entries => {
|
|
14
16
|
var _a, _b;
|
|
15
17
|
// otherwise, something is wrong, expecting 1 element only
|
|
@@ -19,6 +21,52 @@ export class DuetCombobox {
|
|
|
19
21
|
// this.listElement.style.width = `${currentWidth + 1}px`
|
|
20
22
|
}
|
|
21
23
|
}, 100));
|
|
24
|
+
this.handleInputKeyDownEvent = (e) => {
|
|
25
|
+
//if selection is made, close the list and update internal and external values
|
|
26
|
+
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
27
|
+
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
28
|
+
this.input.accessibleActiveDescendant = undefined;
|
|
29
|
+
if (isEnterKey(e)) {
|
|
30
|
+
e.preventDefault();
|
|
31
|
+
this.selectActiveItem();
|
|
32
|
+
this.updateInputText(false);
|
|
33
|
+
this.listOpen = false;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
//tabbing out or escaping, restore initial state
|
|
37
|
+
if (isEscapeKey(e) || isTabKey(e)) {
|
|
38
|
+
this.updateInputText(true);
|
|
39
|
+
this.listOpen = false;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
//handle arrow up/down navigation
|
|
43
|
+
let nextActiveItem = this.activeItem;
|
|
44
|
+
if (isArrowUpKey(e)) {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
nextActiveItem = this.activeItem - 1;
|
|
47
|
+
}
|
|
48
|
+
else if (isArrowDownKey(e)) {
|
|
49
|
+
e.preventDefault();
|
|
50
|
+
nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
|
|
51
|
+
this.listOpen = true;
|
|
52
|
+
}
|
|
53
|
+
if (isArrowDownKey(e) || isArrowUpKey(e)) {
|
|
54
|
+
const listItems = this.shouldListBeFiltered() ? this.getFilteredItems() : this.processedItems;
|
|
55
|
+
if (nextActiveItem < 0 || !nextActiveItem) {
|
|
56
|
+
nextActiveItem = 0;
|
|
57
|
+
}
|
|
58
|
+
if (nextActiveItem >= listItems.length) {
|
|
59
|
+
nextActiveItem = listItems.length - 1;
|
|
60
|
+
}
|
|
61
|
+
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
62
|
+
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
63
|
+
this.input.accessibleActiveDescendant = "active_item";
|
|
64
|
+
this.activeItem = nextActiveItem;
|
|
65
|
+
this.scrollToActive();
|
|
66
|
+
}
|
|
67
|
+
this.announceActive();
|
|
68
|
+
return;
|
|
69
|
+
};
|
|
22
70
|
this.processedItems = null;
|
|
23
71
|
this.inputWidth = 0;
|
|
24
72
|
this.inputValue = "";
|
|
@@ -86,6 +134,7 @@ export class DuetCombobox {
|
|
|
86
134
|
if (this.openListOnClick) {
|
|
87
135
|
this.input.icon = this.listOpen ? "action-arrow-up" : "action-arrow-down";
|
|
88
136
|
}
|
|
137
|
+
this.input.accessibleExpanded = this.listOpen ? "true" : "false";
|
|
89
138
|
}
|
|
90
139
|
/**
|
|
91
140
|
* Component lifecycle events.
|
|
@@ -108,11 +157,13 @@ export class DuetCombobox {
|
|
|
108
157
|
this.listOpen = !this.listOpen;
|
|
109
158
|
}
|
|
110
159
|
});
|
|
111
|
-
this.element.addEventListener("keydown", this.handleInputKeyDownEvent
|
|
160
|
+
this.element.addEventListener("keydown", this.handleInputKeyDownEvent);
|
|
112
161
|
connectLanguageChangeObserver(this, { prop: "accessibleLabels", defaults: "accessibleLabelDefaults" });
|
|
113
162
|
//add correct aria attributes to the input element
|
|
163
|
+
this.input.role = "combobox";
|
|
164
|
+
this.input.accessibleExpanded = this.listOpen ? "true" : "false";
|
|
114
165
|
this.input.accessibleAutocomplete = "list";
|
|
115
|
-
this.input.accessibleControls =
|
|
166
|
+
this.input.accessibleControls = this.listBoxId;
|
|
116
167
|
this.processListOpenChange();
|
|
117
168
|
}
|
|
118
169
|
disconnectedCallback() {
|
|
@@ -121,7 +172,7 @@ export class DuetCombobox {
|
|
|
121
172
|
}
|
|
122
173
|
this.input.removeEventListener("duetChange", this.updateInputValue.bind(this));
|
|
123
174
|
this.input.removeEventListener("click", () => this.inputValue.length ? (this.listOpen = true) : (this.listOpen = false));
|
|
124
|
-
this.element.removeEventListener("keydown", this.handleInputKeyDownEvent
|
|
175
|
+
this.element.removeEventListener("keydown", this.handleInputKeyDownEvent);
|
|
125
176
|
this.listElement.removeEventListener("click", e => {
|
|
126
177
|
e.stopPropagation();
|
|
127
178
|
});
|
|
@@ -215,13 +266,20 @@ export class DuetCombobox {
|
|
|
215
266
|
this.activeItem = undefined;
|
|
216
267
|
this.value = item[0].value;
|
|
217
268
|
}
|
|
218
|
-
if (isBlurred
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
this.
|
|
222
|
-
|
|
269
|
+
if (isBlurred) {
|
|
270
|
+
if (this.selectedItems.size === 0) {
|
|
271
|
+
this.activeItem = undefined;
|
|
272
|
+
if (this.force) {
|
|
273
|
+
this.inputValue = "";
|
|
274
|
+
this.input.value = "";
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
else if (this.force) {
|
|
278
|
+
const selectedValueIndex = [...this.selectedItems][0];
|
|
279
|
+
const selectedValueLabel = await this.formatItem(this.items[selectedValueIndex]);
|
|
280
|
+
this.inputValue = selectedValueLabel;
|
|
281
|
+
this.input.value = selectedValueLabel;
|
|
223
282
|
}
|
|
224
|
-
this.activeItem = undefined;
|
|
225
283
|
}
|
|
226
284
|
this.listOpen = false;
|
|
227
285
|
}
|
|
@@ -230,52 +288,6 @@ export class DuetCombobox {
|
|
|
230
288
|
this.inputValue = e.detail.value;
|
|
231
289
|
this.listOpen = String(this.inputValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
232
290
|
}
|
|
233
|
-
handleInputKeyDownEvent(e) {
|
|
234
|
-
//if selection is made, close the list and update internal and external values
|
|
235
|
-
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
236
|
-
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
237
|
-
this.input.accessibleActiveDescendant = undefined;
|
|
238
|
-
if (isEnterKey(e)) {
|
|
239
|
-
e.preventDefault();
|
|
240
|
-
this.selectActiveItem();
|
|
241
|
-
this.updateInputText(false);
|
|
242
|
-
this.listOpen = false;
|
|
243
|
-
return;
|
|
244
|
-
}
|
|
245
|
-
//tabbing out or escaping, restore initial state
|
|
246
|
-
if (isEscapeKey(e) || isTabKey(e)) {
|
|
247
|
-
this.updateInputText(true);
|
|
248
|
-
this.listOpen = false;
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
//handle arrow up/down navigation
|
|
252
|
-
let nextActiveItem = this.activeItem;
|
|
253
|
-
if (isArrowUpKey(e)) {
|
|
254
|
-
e.preventDefault();
|
|
255
|
-
nextActiveItem = this.activeItem - 1;
|
|
256
|
-
}
|
|
257
|
-
else if (isArrowDownKey(e)) {
|
|
258
|
-
e.preventDefault();
|
|
259
|
-
nextActiveItem = this.listOpen ? this.activeItem + 1 : this.activeItem;
|
|
260
|
-
this.listOpen = true;
|
|
261
|
-
}
|
|
262
|
-
if (isArrowDownKey(e) || isArrowUpKey(e)) {
|
|
263
|
-
const listItems = this.shouldListBeFiltered() ? this.getFilteredItems() : this.processedItems;
|
|
264
|
-
if (nextActiveItem < 0 || !nextActiveItem) {
|
|
265
|
-
nextActiveItem = 0;
|
|
266
|
-
}
|
|
267
|
-
if (nextActiveItem >= listItems.length) {
|
|
268
|
-
nextActiveItem = listItems.length - 1;
|
|
269
|
-
}
|
|
270
|
-
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
271
|
-
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
272
|
-
this.input.accessibleActiveDescendant = "active_item";
|
|
273
|
-
this.activeItem = nextActiveItem;
|
|
274
|
-
this.scrollToActive();
|
|
275
|
-
}
|
|
276
|
-
this.announceActive();
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
291
|
selectActiveItem() {
|
|
280
292
|
if (this.activeItem === undefined) {
|
|
281
293
|
return;
|
|
@@ -357,7 +369,7 @@ export class DuetCombobox {
|
|
|
357
369
|
return;
|
|
358
370
|
}
|
|
359
371
|
const selectElements = this.returnFilteredOrNonFiltered();
|
|
360
|
-
return (h(Host, {
|
|
372
|
+
return (h(Host, { class: {
|
|
361
373
|
"duet-combobox": true,
|
|
362
374
|
[`duet-theme-${this.theme}`]: true,
|
|
363
375
|
} }, h("slot", null), h("div", { class: {
|
|
@@ -366,7 +378,7 @@ export class DuetCombobox {
|
|
|
366
378
|
}, ref: el => (this.listContainer = el) }, h("ul", { class: {
|
|
367
379
|
"duet-combobox-listbox-open": this.listOpen,
|
|
368
380
|
"duet-combobox-listbox": true,
|
|
369
|
-
}, role: "listbox", ref: el => (this.listElement = el), id:
|
|
381
|
+
}, role: "listbox", ref: el => (this.listElement = el), id: this.listBoxId }, selectElements.map((item, index) => {
|
|
370
382
|
return (h(DuetComboBoxSelect, { item: item, active: index === this.activeItem, selected: this.selectedItems.has(item.id), search: this.inputValue, total: selectElements.length, clickHandler: e => this.onListClick(e, item), label: this.formatLabel(item, selectElements.length, this.items.length) }));
|
|
371
383
|
})))));
|
|
372
384
|
}
|
|
@@ -471,7 +483,7 @@ export class DuetCombobox {
|
|
|
471
483
|
"optional": false,
|
|
472
484
|
"docs": {
|
|
473
485
|
"tags": [],
|
|
474
|
-
"text": "Force the user to make a selection (typing things in the input field will only be used for list search)"
|
|
486
|
+
"text": "Force the user to make a selection (typing things in the input field will only be used for list search).\nThis property also sync input value with selected value on blur."
|
|
475
487
|
},
|
|
476
488
|
"attribute": "force",
|
|
477
489
|
"reflect": false,
|