@duetds/components 8.3.1 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +268 -63
- 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 +1 -1
- 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 +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- 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 +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +88 -0
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -15
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- 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-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 +3 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +85 -22
- 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 +4 -4
- 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-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- 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 +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +59 -0
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -15
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- 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/{focus-utils-2d403f5e.js → focus-utils-26803c28.js} +1 -1
- package/lib/cjs/{index-a515d5ff.js → index-4e1fe95e.js} +1 -1
- package/lib/cjs/{keyboard-utils-66010749.js → keyboard-utils-66ecb5d6.js} +4 -2
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/components/duet-button/duet-button.css +3 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +45 -9
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +1 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -13
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +1 -1
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +103 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +286 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +95 -25
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +20 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +65 -14
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +1 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +0 -13
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +1 -1
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +122 -0
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +270 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +4 -2
- 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 +3 -3
- 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 +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- 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 +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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-menu-bar-item.js +119 -0
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -16
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- 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-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 +5 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +90 -24
- 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 +6 -6
- 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 +4 -4
- 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-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 +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-item.d.ts +11 -0
- package/lib/dist-custom-elements/duet-toolbar-item.js +90 -0
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +2 -15
- 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 +18 -18
- 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-7f8daa04.js → p-04647f60.js} +4 -4
- package/lib/dist-custom-elements/{p-8500f1f3.js → p-0b90bbc2.js} +1 -1
- package/lib/dist-custom-elements/{p-eb30f749.js → p-0e584f41.js} +1 -1
- package/lib/dist-custom-elements/{p-ba9d785a.js → p-1166a31e.js} +3 -3
- package/lib/dist-custom-elements/{p-99bfa47d.js → p-148fdc67.js} +1 -1
- package/lib/dist-custom-elements/{p-f1a37b7f.js → p-231e248d.js} +5 -5
- package/lib/dist-custom-elements/{p-7385cfae.js → p-42a1b569.js} +2 -2
- package/lib/dist-custom-elements/{p-d84624d1.js → p-42f3ff36.js} +1 -1
- package/lib/dist-custom-elements/{p-eb03dc27.js → p-440669fe.js} +11 -11
- package/lib/dist-custom-elements/{p-89fa2387.js → p-54a40cbc.js} +1 -1
- package/lib/dist-custom-elements/{p-022cc9de.js → p-55dc7e3a.js} +1 -1
- package/lib/dist-custom-elements/{p-57e61a09.js → p-581c0a5a.js} +1 -1
- package/lib/dist-custom-elements/{p-da0965a5.js → p-5b7820b5.js} +1 -1
- package/lib/dist-custom-elements/{p-33c43f27.js → p-604f5020.js} +6 -6
- package/lib/dist-custom-elements/{p-70fb72b8.js → p-6cb11f93.js} +1 -1
- package/lib/dist-custom-elements/{p-dd3202f3.js → p-7cf48950.js} +1 -1
- package/lib/dist-custom-elements/{p-de5298ac.js → p-8356d992.js} +2 -2
- package/lib/dist-custom-elements/{p-3380c780.js → p-85712a7c.js} +1 -1
- package/lib/dist-custom-elements/{p-83c687c4.js → p-88394bab.js} +10 -10
- package/lib/dist-custom-elements/{p-fdafc7af.js → p-88ce5a27.js} +1 -1
- package/lib/dist-custom-elements/{p-82a9c4cc.js → p-9448a82f.js} +1 -1
- package/lib/dist-custom-elements/{p-033ffb95.js → p-9c0ce616.js} +1 -1
- package/lib/dist-custom-elements/{p-15b43530.js → p-a3651df3.js} +2 -2
- package/lib/dist-custom-elements/{p-a8d729e4.js → p-b68755bb.js} +1 -1
- package/lib/dist-custom-elements/{p-13cbfdc6.js → p-b9f613f5.js} +1 -1
- package/lib/dist-custom-elements/{p-55634a0b.js → p-bec3a15c.js} +4 -2
- package/lib/dist-custom-elements/{p-99c2c6f3.js → p-d07c620c.js} +5 -5
- package/lib/dist-custom-elements/{p-97144a49.js → p-d2dafb20.js} +2 -2
- package/lib/dist-custom-elements/{p-e8d8a5f1.js → p-dd175a82.js} +8 -8
- package/lib/dist-custom-elements/{p-6c8a44ea.js → p-de066189.js} +1 -1
- package/lib/dist-custom-elements/{p-8aacf8f2.js → p-e278477e.js} +1 -1
- package/lib/dist-custom-elements/{p-92e8fec4.js → p-e47bf090.js} +1 -1
- package/lib/dist-custom-elements/{p-85c51c36.js → p-f38ed7fe.js} +4 -4
- package/lib/dist-custom-elements/{p-89c8eef0.js → p-fc352257.js} +6 -6
- package/lib/dist-custom-elements/{p-57d9241f.js → p-ffe65adf.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-92e54702.system.entry.js → p-05b8ae17.system.entry.js} +2 -2
- package/lib/duet/{p-4bd54c36.entry.js → p-072607fd.entry.js} +1 -1
- package/lib/duet/{p-1001ec0f.entry.js → p-077c7ac7.entry.js} +1 -1
- package/lib/duet/{p-5581d26e.entry.js → p-090ae709.entry.js} +1 -1
- package/lib/duet/{p-1612a6c7.system.entry.js → p-0c8ef637.system.entry.js} +1 -1
- package/lib/duet/{p-e69813f3.system.entry.js → p-0c98eb74.system.entry.js} +1 -1
- package/lib/duet/{p-e0d1257a.entry.js → p-0d452219.entry.js} +1 -1
- package/lib/duet/{p-dc3e35c7.entry.js → p-0f80c628.entry.js} +1 -1
- package/lib/duet/{p-43ebba16.system.entry.js → p-1099ef42.system.entry.js} +1 -1
- package/lib/duet/{p-dcd8af75.entry.js → p-113ad39d.entry.js} +1 -1
- package/lib/duet/p-13bdce94.entry.js +4 -0
- package/lib/duet/{p-9f355c50.entry.js → p-154f1517.entry.js} +1 -1
- package/lib/duet/{p-d0500cf2.system.entry.js → p-1c5a34ec.system.entry.js} +1 -1
- package/lib/duet/{p-ae0382ff.entry.js → p-1ce475d7.entry.js} +1 -1
- package/lib/duet/{p-39ea1b09.system.entry.js → p-1d032bb3.system.entry.js} +1 -1
- package/lib/duet/{p-d328f8cc.entry.js → p-1e55dfa3.entry.js} +1 -1
- package/lib/duet/p-246f8836.system.entry.js +4 -0
- package/lib/duet/{p-aab945c6.system.entry.js → p-265aaa8b.system.entry.js} +1 -1
- package/lib/duet/{p-d44d74d3.system.entry.js → p-26859589.system.entry.js} +1 -1
- package/lib/duet/{p-1f0dc968.entry.js → p-26c2008d.entry.js} +1 -1
- package/lib/duet/{p-e00c9499.system.entry.js → p-276fac2f.system.entry.js} +1 -1
- package/lib/duet/p-280e0b55.entry.js +4 -0
- package/lib/duet/{p-169aab07.entry.js → p-288ba4f9.entry.js} +1 -1
- package/lib/duet/{p-d6c18967.system.entry.js → p-2a29c6d5.system.entry.js} +1 -1
- package/lib/duet/{p-b9568179.entry.js → p-2b5c578e.entry.js} +1 -1
- package/lib/duet/{p-9e1d8b6f.system.entry.js → p-2d4cd88c.system.entry.js} +1 -1
- package/lib/duet/{p-49ba8156.system.entry.js → p-30174f82.system.entry.js} +1 -1
- package/lib/duet/p-322b427c.system.entry.js +4 -0
- package/lib/duet/{p-3f56cdd6.entry.js → p-33ba6560.entry.js} +1 -1
- package/lib/duet/p-3624bad1.js +4 -0
- package/lib/duet/{p-0cdc8487.system.entry.js → p-36ca4962.system.entry.js} +1 -1
- package/lib/duet/{p-aa08b72e.system.entry.js → p-3706d57f.system.entry.js} +1 -1
- package/lib/duet/{p-0600d0e8.system.entry.js → p-378c88b0.system.entry.js} +1 -1
- package/lib/duet/{p-d5d63283.system.entry.js → p-3790d9c6.system.entry.js} +1 -1
- package/lib/duet/{p-a0f179db.entry.js → p-37b390b1.entry.js} +1 -1
- package/lib/duet/p-3a2f42cc.entry.js +4 -0
- package/lib/duet/{p-c2973a4e.system.entry.js → p-3b7af0aa.system.entry.js} +1 -1
- package/lib/duet/{p-dbedcced.entry.js → p-3ffede1b.entry.js} +1 -1
- package/lib/duet/{p-bc522875.system.entry.js → p-423cc443.system.entry.js} +2 -2
- package/lib/duet/{p-aac0b756.entry.js → p-42f7208c.entry.js} +1 -1
- package/lib/duet/p-4594fdfc.system.entry.js +4 -0
- package/lib/duet/{p-a89e81b7.entry.js → p-4646de9d.entry.js} +1 -1
- package/lib/duet/{p-21f1bd62.system.entry.js → p-468606ef.system.entry.js} +1 -1
- package/lib/duet/{p-1d195c3a.system.entry.js → p-46980318.system.entry.js} +1 -1
- package/lib/duet/{p-05728995.entry.js → p-46c368b6.entry.js} +1 -1
- package/lib/duet/{p-e538a8a2.system.entry.js → p-48d5fd63.system.entry.js} +1 -1
- package/lib/duet/{p-5b3275f8.system.entry.js → p-497fbe6f.system.entry.js} +2 -2
- package/lib/duet/{p-43adcd6a.entry.js → p-4a69a574.entry.js} +1 -1
- package/lib/duet/p-4c2964ba.system.entry.js +4 -0
- package/lib/duet/{p-d9400840.entry.js → p-4c40ab32.entry.js} +1 -1
- package/lib/duet/{p-1e6bd5da.entry.js → p-4c99d4e4.entry.js} +1 -1
- package/lib/duet/{p-2c79b6d8.entry.js → p-4ddb4401.entry.js} +1 -1
- package/lib/duet/{p-f0419f45.entry.js → p-52aefd49.entry.js} +1 -1
- package/lib/duet/{p-5c810c8e.entry.js → p-55f4b594.entry.js} +1 -1
- package/lib/duet/p-560b0225.system.entry.js +4 -0
- package/lib/duet/{p-2ddd9719.entry.js → p-5969cc96.entry.js} +1 -1
- package/lib/duet/p-5a07838a.system.entry.js +4 -0
- package/lib/duet/{p-2171907b.system.entry.js → p-5f6619db.system.entry.js} +1 -1
- package/lib/duet/{p-6c34c6d4.entry.js → p-60cc4982.entry.js} +1 -1
- package/lib/duet/{p-eedadd50.system.entry.js → p-613ca231.system.entry.js} +1 -1
- package/lib/duet/{p-03237a62.system.entry.js → p-62b76a24.system.entry.js} +2 -2
- package/lib/duet/{p-a53d7d39.system.entry.js → p-65a1a167.system.entry.js} +1 -1
- package/lib/duet/{p-ec2eb98f.system.entry.js → p-65bd8411.system.entry.js} +1 -1
- package/lib/duet/{p-0a28d72d.entry.js → p-67a6cdda.entry.js} +1 -1
- package/lib/duet/{p-20ed91ba.entry.js → p-69d93a05.entry.js} +1 -1
- package/lib/duet/{p-d9887cdb.system.entry.js → p-6bad4da4.system.entry.js} +1 -1
- package/lib/duet/{p-dccd9c7c.js → p-6c4b49d5.js} +1 -1
- package/lib/duet/p-6db50eea.entry.js +4 -0
- package/lib/duet/{p-ee7738c2.entry.js → p-6ed83596.entry.js} +1 -1
- package/lib/duet/{p-f630e363.system.entry.js → p-7066a413.system.entry.js} +1 -1
- package/lib/duet/{p-9ed3ab30.entry.js → p-72bedacd.entry.js} +1 -1
- package/lib/duet/{p-81a79874.system.entry.js → p-7436bd48.system.entry.js} +1 -1
- package/lib/duet/p-74f8da81.entry.js +4 -0
- package/lib/duet/p-75350b07.entry.js +4 -0
- package/lib/duet/{p-16c13a11.system.entry.js → p-75503668.system.entry.js} +1 -1
- package/lib/duet/{p-f7167337.system.entry.js → p-75f81010.system.entry.js} +1 -1
- package/lib/duet/{p-aabf89fa.system.js → p-76b3dfea.system.js} +1 -1
- package/lib/duet/p-76f3d250.entry.js +4 -0
- package/lib/duet/{p-69f280e3.entry.js → p-7792b370.entry.js} +1 -1
- package/lib/duet/{p-77be9214.entry.js → p-79b1232f.entry.js} +1 -1
- package/lib/duet/{p-71d1dbcb.entry.js → p-7a0523f1.entry.js} +1 -1
- package/lib/duet/p-8678ad49.system.js +4 -0
- package/lib/duet/{p-a424f7b8.system.entry.js → p-8b0053b4.system.entry.js} +1 -1
- package/lib/duet/p-8b01d018.entry.js +4 -0
- package/lib/duet/{p-875ba244.system.entry.js → p-8b310c25.system.entry.js} +1 -1
- package/lib/duet/{p-1db3932f.system.entry.js → p-8b621333.system.entry.js} +1 -1
- package/lib/duet/{p-99cc01cb.system.entry.js → p-8c340908.system.entry.js} +1 -1
- package/lib/duet/p-8cdbf7c7.system.entry.js +4 -0
- package/lib/duet/{p-d5b79ee4.entry.js → p-8da5c103.entry.js} +1 -1
- package/lib/duet/{p-e2eb1521.system.entry.js → p-900abeb7.system.entry.js} +1 -1
- package/lib/duet/{p-db688714.system.entry.js → p-913b9c68.system.entry.js} +1 -1
- package/lib/duet/p-91d750ad.system.js +4 -0
- package/lib/duet/{p-28b22d09.entry.js → p-93950a7f.entry.js} +1 -1
- package/lib/duet/{p-79abaaad.entry.js → p-94e0fba1.entry.js} +1 -1
- package/lib/duet/{p-7b445598.system.entry.js → p-96c1789d.system.entry.js} +1 -1
- package/lib/duet/{p-3733ebe1.system.entry.js → p-97af661b.system.entry.js} +1 -1
- package/lib/duet/{p-bfe237fe.entry.js → p-991f9b2e.entry.js} +1 -1
- package/lib/duet/{p-969152f0.system.entry.js → p-994d95e9.system.entry.js} +1 -1
- package/lib/duet/{p-80aa59cb.entry.js → p-99eb5647.entry.js} +1 -1
- package/lib/duet/{p-03c217ae.entry.js → p-9a1f8af3.entry.js} +1 -1
- package/lib/duet/{p-3730d6bd.system.entry.js → p-9cdf78b3.system.entry.js} +1 -1
- package/lib/duet/{p-6b5fc33f.entry.js → p-9ce07f50.entry.js} +1 -1
- package/lib/duet/{p-63b8a5d9.entry.js → p-a09d3878.entry.js} +1 -1
- package/lib/duet/{p-7d4d3bee.system.entry.js → p-a15bdee3.system.entry.js} +1 -1
- package/lib/duet/{p-70af7daf.entry.js → p-a1db3600.entry.js} +1 -1
- package/lib/duet/{p-4c416890.system.entry.js → p-a43ad34f.system.entry.js} +1 -1
- package/lib/duet/{p-eced32c1.system.entry.js → p-a50e095d.system.entry.js} +1 -1
- package/lib/duet/p-a88d7e91.entry.js +4 -0
- package/lib/duet/{p-5729c070.entry.js → p-a8935106.entry.js} +1 -1
- package/lib/duet/{p-e03b6928.system.entry.js → p-a8c96cc0.system.entry.js} +1 -1
- package/lib/duet/{p-9e95e6eb.entry.js → p-aa14230b.entry.js} +1 -1
- package/lib/duet/{p-d143df18.system.entry.js → p-aa840586.system.entry.js} +1 -1
- package/lib/duet/{p-31730560.entry.js → p-ad6388ce.entry.js} +1 -1
- package/lib/duet/p-b01e1f6c.system.entry.js +4 -0
- package/lib/duet/{p-09c54c8e.system.js → p-b2716337.system.js} +1 -1
- package/lib/duet/{p-1020c84c.system.entry.js → p-b2df2bb9.system.entry.js} +1 -1
- package/lib/duet/{p-26be2678.entry.js → p-b3af96a8.entry.js} +1 -1
- package/lib/duet/{p-38cdaf08.entry.js → p-b49d10f6.entry.js} +1 -1
- package/lib/duet/{p-e956cd9b.system.entry.js → p-b4e730ac.system.entry.js} +1 -1
- package/lib/duet/{p-f15a1679.system.entry.js → p-b57e1bac.system.entry.js} +2 -2
- package/lib/duet/{p-d4285ed0.system.entry.js → p-b5f5d7ce.system.entry.js} +1 -1
- package/lib/duet/{p-e0931ac9.entry.js → p-b7b4b33c.entry.js} +1 -1
- package/lib/duet/{p-3f4713a3.system.entry.js → p-b85c4e9e.system.entry.js} +1 -1
- package/lib/duet/{p-0ef53ae6.entry.js → p-ba015d7a.entry.js} +1 -1
- package/lib/duet/p-bb640b45.entry.js +4 -0
- package/lib/duet/{p-f3c91c9e.system.entry.js → p-bc8c2990.system.entry.js} +1 -1
- package/lib/duet/{p-976ed5a5.system.entry.js → p-be8e8efc.system.entry.js} +1 -1
- package/lib/duet/{p-b8cd8aa9.entry.js → p-c19ce026.entry.js} +1 -1
- package/lib/duet/{p-3ecc2d1e.system.entry.js → p-c28e4280.system.entry.js} +1 -1
- package/lib/duet/{p-c327db77.entry.js → p-c383e8d6.entry.js} +1 -1
- package/lib/duet/{p-947af010.entry.js → p-c899df04.entry.js} +1 -1
- package/lib/duet/{p-45199b0c.system.entry.js → p-c900f541.system.entry.js} +1 -1
- package/lib/duet/{p-47f7fd31.system.entry.js → p-caa48d36.system.entry.js} +1 -1
- package/lib/duet/{p-e24a3978.entry.js → p-cd8fc9f7.entry.js} +1 -1
- package/lib/duet/{p-e21cc133.entry.js → p-cd9619e3.entry.js} +1 -1
- package/lib/duet/{p-a917c2ae.system.entry.js → p-d047123e.system.entry.js} +1 -1
- package/lib/duet/{p-825dac25.system.entry.js → p-d257c333.system.entry.js} +1 -1
- package/lib/duet/{p-f1397f55.system.entry.js → p-d2cabbed.system.entry.js} +1 -1
- package/lib/duet/p-d2d6281b.entry.js +4 -0
- package/lib/duet/{p-65c5d605.system.entry.js → p-d48ab4d3.system.entry.js} +1 -1
- package/lib/duet/p-d56b354c.entry.js +4 -0
- package/lib/duet/{p-3cf8a878.entry.js → p-d9fd389c.entry.js} +1 -1
- package/lib/duet/{p-bda222d2.system.entry.js → p-db29100b.system.entry.js} +1 -1
- package/lib/duet/p-dc45b241.entry.js +4 -0
- package/lib/duet/p-de46b522.entry.js +4 -0
- package/lib/duet/p-de958fe7.system.entry.js +4 -0
- package/lib/duet/{p-0b4b179c.system.entry.js → p-e0befaf6.system.entry.js} +1 -1
- package/lib/duet/{p-827fece7.system.entry.js → p-e1020f12.system.entry.js} +1 -1
- package/lib/duet/{p-6b5f5f20.system.entry.js → p-e19a12b4.system.entry.js} +1 -1
- package/lib/duet/{p-ab005633.system.entry.js → p-e1b947e9.system.entry.js} +1 -1
- package/lib/duet/{p-72179a41.entry.js → p-e5c75975.entry.js} +1 -1
- package/lib/duet/{p-3760418d.entry.js → p-e632de74.entry.js} +1 -1
- package/lib/duet/{p-43091aa7.system.entry.js → p-e650b1b7.system.entry.js} +1 -1
- package/lib/duet/{p-03c3cf91.entry.js → p-e669b52a.entry.js} +1 -1
- package/lib/duet/{p-c8ff85f8.entry.js → p-e6beb82f.entry.js} +1 -1
- package/lib/duet/{p-4cd1b2dc.entry.js → p-ea90f7c4.entry.js} +1 -1
- package/lib/duet/{p-4e002d37.entry.js → p-eaa8473a.entry.js} +1 -1
- package/lib/duet/{p-a319471c.system.entry.js → p-ed9d957f.system.entry.js} +1 -1
- package/lib/duet/{p-41d61870.entry.js → p-eededb83.entry.js} +1 -1
- package/lib/duet/{p-8d260eac.entry.js → p-f27034be.entry.js} +1 -1
- package/lib/duet/p-f36f6e98.js +4 -0
- package/lib/duet/{p-6689cf76.entry.js → p-f3a2cd70.entry.js} +1 -1
- package/lib/duet/{p-20ff95cd.system.entry.js → p-f4b9871c.system.entry.js} +1 -1
- package/lib/duet/{p-de2da9fd.system.entry.js → p-fbede069.system.entry.js} +1 -1
- package/lib/duet/p-fd6421e9.entry.js +4 -0
- 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 +1 -1
- 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 +2 -2
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- 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 +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-menu-bar-item.entry.js +84 -0
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -15
- package/lib/esm/duet-modal.entry.js +4 -4
- 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-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 +3 -2
- package/lib/esm/duet-popup-menu.entry.js +85 -22
- 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 +4 -4
- 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-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-item.entry.js +55 -0
- package/lib/esm/duet-toolbar-link.entry.js +2 -2
- package/lib/esm/duet-toolbar.entry.js +2 -15
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +2 -2
- 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/{focus-utils-5adec865.js → focus-utils-a15379ec.js} +1 -1
- package/lib/esm/{index-88bb0f20.js → index-2fcdad1e.js} +1 -1
- package/lib/esm/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +4 -2
- package/lib/esm/loader.js +3 -3
- 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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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 +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +4 -0
- 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 +1 -1
- 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-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 +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +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-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +4 -0
- 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/focus-utils-a15379ec.js +4 -0
- package/lib/esm-es5/{index-88bb0f20.js → index-2fcdad1e.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-c472d19d.js → keyboard-utils-0708be80.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-list/duet-list.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +67 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +9 -2
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +4 -0
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
- package/lib/types/components.d.ts +182 -4
- package/package.json +5 -5
- package/lib/duet/p-07adc606.system.entry.js +0 -4
- package/lib/duet/p-0857e91c.entry.js +0 -4
- package/lib/duet/p-1c9ee2ea.entry.js +0 -4
- package/lib/duet/p-29186e16.entry.js +0 -4
- package/lib/duet/p-31657213.entry.js +0 -4
- package/lib/duet/p-357307f7.entry.js +0 -4
- package/lib/duet/p-4648c2cf.system.entry.js +0 -4
- package/lib/duet/p-5263bc35.js +0 -4
- package/lib/duet/p-575e4de7.system.js +0 -4
- package/lib/duet/p-671a9905.entry.js +0 -4
- package/lib/duet/p-67bd1eae.entry.js +0 -4
- package/lib/duet/p-756e625e.entry.js +0 -4
- package/lib/duet/p-7c8c5534.entry.js +0 -4
- package/lib/duet/p-92861390.entry.js +0 -4
- package/lib/duet/p-9d9cab9d.system.entry.js +0 -4
- package/lib/duet/p-bfd50a6a.entry.js +0 -4
- package/lib/duet/p-c9cb8ffa.system.entry.js +0 -4
- package/lib/duet/p-ce746fbf.entry.js +0 -4
- package/lib/duet/p-e276fee0.js +0 -4
- package/lib/duet/p-ead2a738.system.js +0 -4
- package/lib/duet/p-ef83d9da.system.entry.js +0 -4
- package/lib/duet/p-f121b583.entry.js +0 -4
- package/lib/duet/p-f273c4de.system.entry.js +0 -4
- package/lib/duet/p-f5c69659.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-5adec865.js +0 -4
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
|
+
import { h, Host } from "@stencil/core";
|
|
6
|
+
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
export class DuetMenuBarItem {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
10
|
+
this.boundMqlFunctions = [];
|
|
11
|
+
this.changeIconSize = () => {
|
|
12
|
+
if (this.mql[0].matches) {
|
|
13
|
+
this.iconSize = "x-small";
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
this.iconSize = "small";
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
this.iconSize = "x-small";
|
|
20
|
+
this.theme = "";
|
|
21
|
+
this.active = false;
|
|
22
|
+
this.url = undefined;
|
|
23
|
+
this.leadingIcon = undefined;
|
|
24
|
+
this.trailingIcon = undefined;
|
|
25
|
+
this.accessibleLabel = undefined;
|
|
26
|
+
this.accessibleExpanded = undefined;
|
|
27
|
+
this.accessiblePopup = "false";
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Component lifecycle events.
|
|
31
|
+
*/
|
|
32
|
+
componentWillLoad() {
|
|
33
|
+
inheritGlobalTheme(this);
|
|
34
|
+
}
|
|
35
|
+
connectedCallback() {
|
|
36
|
+
this.changeIconSize();
|
|
37
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
38
|
+
// addEventListener is not available in Stencil hydrate
|
|
39
|
+
if (this.mql[i].addEventListener) {
|
|
40
|
+
const bound = this.changeIconSize.bind(this);
|
|
41
|
+
this.mql[i].addEventListener("change", bound);
|
|
42
|
+
this.boundMqlFunctions[i] = bound;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
disconnectedCallback() {
|
|
47
|
+
for (let i = 0; i < this.mql.length; i++) {
|
|
48
|
+
// removeEventListener is not available in Stencil hydrate
|
|
49
|
+
if (this.mql[i].removeEventListener) {
|
|
50
|
+
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
this.boundMqlFunctions = [];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Sets focus. Use this method instead of the global focus().
|
|
57
|
+
*/
|
|
58
|
+
async setFocus(options) {
|
|
59
|
+
setTimeout(() => this.itemElement.focus(options), 200);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* render() function
|
|
63
|
+
* Always the last one in the class.
|
|
64
|
+
*/
|
|
65
|
+
render() {
|
|
66
|
+
const TagName = this.url ? "a" : "button";
|
|
67
|
+
return (h(Host, { role: "listitem" }, h(TagName, { ref: element => (this.itemElement = element), class: {
|
|
68
|
+
"duet-menu-bar-item": true,
|
|
69
|
+
"duet-theme-turva": this.theme === "turva",
|
|
70
|
+
active: this.active,
|
|
71
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { size: this.iconSize, name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", null), this.trailingIcon && (h("duet-icon", { class: {
|
|
72
|
+
"trailing-icon": true,
|
|
73
|
+
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
74
|
+
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: this.trailingIcon === "action-arrow-down-small" ? "xxx-small" : this.iconSize, color: "currentColor" })))));
|
|
75
|
+
}
|
|
76
|
+
static get is() { return "duet-menu-bar-item"; }
|
|
77
|
+
static get encapsulation() { return "shadow"; }
|
|
78
|
+
static get originalStyleUrls() {
|
|
79
|
+
return {
|
|
80
|
+
"$": ["duet-menu-bar-item.scss"]
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
static get styleUrls() {
|
|
84
|
+
return {
|
|
85
|
+
"$": ["duet-menu-bar-item.css"]
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
static get properties() {
|
|
89
|
+
return {
|
|
90
|
+
"theme": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": true,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "DuetTheme",
|
|
95
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
96
|
+
"references": {
|
|
97
|
+
"DuetTheme": {
|
|
98
|
+
"location": "import",
|
|
99
|
+
"path": "../../common-types",
|
|
100
|
+
"id": "src/common-types.d.ts::DuetTheme"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": false,
|
|
105
|
+
"optional": false,
|
|
106
|
+
"docs": {
|
|
107
|
+
"tags": [],
|
|
108
|
+
"text": "Theme."
|
|
109
|
+
},
|
|
110
|
+
"attribute": "theme",
|
|
111
|
+
"reflect": false,
|
|
112
|
+
"defaultValue": "\"\""
|
|
113
|
+
},
|
|
114
|
+
"active": {
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"mutable": true,
|
|
117
|
+
"complexType": {
|
|
118
|
+
"original": "boolean",
|
|
119
|
+
"resolved": "boolean",
|
|
120
|
+
"references": {}
|
|
121
|
+
},
|
|
122
|
+
"required": false,
|
|
123
|
+
"optional": false,
|
|
124
|
+
"docs": {
|
|
125
|
+
"tags": [],
|
|
126
|
+
"text": "Active"
|
|
127
|
+
},
|
|
128
|
+
"attribute": "active",
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"defaultValue": "false"
|
|
131
|
+
},
|
|
132
|
+
"url": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "Url"
|
|
145
|
+
},
|
|
146
|
+
"attribute": "url",
|
|
147
|
+
"reflect": false
|
|
148
|
+
},
|
|
149
|
+
"leadingIcon": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"mutable": false,
|
|
152
|
+
"complexType": {
|
|
153
|
+
"original": "DuetIconName",
|
|
154
|
+
"resolved": "string",
|
|
155
|
+
"references": {
|
|
156
|
+
"DuetIconName": {
|
|
157
|
+
"location": "import",
|
|
158
|
+
"path": "../../common-types",
|
|
159
|
+
"id": "src/common-types.d.ts::DuetIconName"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": false,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Left icon."
|
|
168
|
+
},
|
|
169
|
+
"attribute": "leading-icon",
|
|
170
|
+
"reflect": false,
|
|
171
|
+
"defaultValue": "undefined"
|
|
172
|
+
},
|
|
173
|
+
"trailingIcon": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"mutable": false,
|
|
176
|
+
"complexType": {
|
|
177
|
+
"original": "DuetIconName",
|
|
178
|
+
"resolved": "string",
|
|
179
|
+
"references": {
|
|
180
|
+
"DuetIconName": {
|
|
181
|
+
"location": "import",
|
|
182
|
+
"path": "../../common-types",
|
|
183
|
+
"id": "src/common-types.d.ts::DuetIconName"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": "Right icon."
|
|
192
|
+
},
|
|
193
|
+
"attribute": "trailing-icon",
|
|
194
|
+
"reflect": false,
|
|
195
|
+
"defaultValue": "undefined"
|
|
196
|
+
},
|
|
197
|
+
"accessibleLabel": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"mutable": false,
|
|
200
|
+
"complexType": {
|
|
201
|
+
"original": "string",
|
|
202
|
+
"resolved": "string",
|
|
203
|
+
"references": {}
|
|
204
|
+
},
|
|
205
|
+
"required": false,
|
|
206
|
+
"optional": false,
|
|
207
|
+
"docs": {
|
|
208
|
+
"tags": [],
|
|
209
|
+
"text": "Adds accessible label for the link that is only shown for screen readers.\nTypically, this label text replaces the visible text on the link for users\nwho use assistive technology."
|
|
210
|
+
},
|
|
211
|
+
"attribute": "accessible-label",
|
|
212
|
+
"reflect": false
|
|
213
|
+
},
|
|
214
|
+
"accessibleExpanded": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"mutable": true,
|
|
217
|
+
"complexType": {
|
|
218
|
+
"original": "boolean",
|
|
219
|
+
"resolved": "boolean",
|
|
220
|
+
"references": {}
|
|
221
|
+
},
|
|
222
|
+
"required": false,
|
|
223
|
+
"optional": false,
|
|
224
|
+
"docs": {
|
|
225
|
+
"tags": [],
|
|
226
|
+
"text": "If a button expands or collapses adjacent content, then use the ariaExpanded\nprop to add the aria-expanded attribute to the button. Set the value to convey\nthe current expanded (true) or collapsed (false) state of the content."
|
|
227
|
+
},
|
|
228
|
+
"attribute": "accessible-expanded",
|
|
229
|
+
"reflect": true
|
|
230
|
+
},
|
|
231
|
+
"accessiblePopup": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"mutable": true,
|
|
234
|
+
"complexType": {
|
|
235
|
+
"original": "string",
|
|
236
|
+
"resolved": "string",
|
|
237
|
+
"references": {}
|
|
238
|
+
},
|
|
239
|
+
"required": false,
|
|
240
|
+
"optional": false,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Use this property to add an aria-haspopup attribute to a button."
|
|
244
|
+
},
|
|
245
|
+
"attribute": "accessible-popup",
|
|
246
|
+
"reflect": true,
|
|
247
|
+
"defaultValue": "\"false\""
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
static get states() {
|
|
252
|
+
return {
|
|
253
|
+
"iconSize": {}
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
static get methods() {
|
|
257
|
+
return {
|
|
258
|
+
"setFocus": {
|
|
259
|
+
"complexType": {
|
|
260
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
261
|
+
"parameters": [{
|
|
262
|
+
"name": "options",
|
|
263
|
+
"type": "FocusOptions",
|
|
264
|
+
"docs": ""
|
|
265
|
+
}],
|
|
266
|
+
"references": {
|
|
267
|
+
"Promise": {
|
|
268
|
+
"location": "global",
|
|
269
|
+
"id": "global::Promise"
|
|
270
|
+
},
|
|
271
|
+
"FocusOptions": {
|
|
272
|
+
"location": "global",
|
|
273
|
+
"id": "global::FocusOptions"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"return": "Promise<void>"
|
|
277
|
+
},
|
|
278
|
+
"docs": {
|
|
279
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
280
|
+
"tags": []
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
static get elementRef() { return "element"; }
|
|
286
|
+
}
|
|
@@ -57,7 +57,7 @@ export class DuetMenuBarLink {
|
|
|
57
57
|
* Always the last one in the class.
|
|
58
58
|
*/
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host,
|
|
60
|
+
return (h(Host, { role: "listitem" }, h("a", { class: {
|
|
61
61
|
"duet-menu-bar-link": true,
|
|
62
62
|
"duet-theme-turva": this.theme === "turva",
|
|
63
63
|
active: this.active,
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
max-height: 100vh;
|
|
33
33
|
overflow-y: auto;
|
|
34
34
|
visibility: hidden;
|
|
35
|
-
background: rgba(0, 41, 77, 0.
|
|
35
|
+
background: rgba(0, 41, 77, 0.3);
|
|
36
36
|
opacity: 0;
|
|
37
37
|
transition: 300ms ease;
|
|
38
38
|
transition-delay: 200ms;
|
|
39
39
|
}
|
|
40
40
|
.duet-modal-overlay.duet-theme-turva {
|
|
41
|
-
background: rgba(23, 28, 58, 0.
|
|
41
|
+
background: rgba(23, 28, 58, 0.3);
|
|
42
42
|
}
|
|
43
43
|
.duet-modal-overlay.duet-modal-active {
|
|
44
44
|
visibility: visible;
|
|
@@ -2,18 +2,34 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { computePosition, flip, offset } from "@floating-ui/dom";
|
|
5
|
-
import { Build, h, Host } from "@stencil/core";
|
|
5
|
+
import { Build, h, Host, } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { focusElement } from "../../utils/focus-utils";
|
|
8
8
|
import { isArrowDownKey, isArrowUpKey, isEscapeKey, isTabKey } from "../../utils/keyboard-utils";
|
|
9
9
|
import { Teleport } from "../../utils/teleport";
|
|
10
10
|
export class DuetPopupMenu {
|
|
11
11
|
constructor() {
|
|
12
|
+
this.setOpenButton = (element) => {
|
|
13
|
+
if (!element) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
try {
|
|
17
|
+
const button = element;
|
|
18
|
+
button.accessiblePopup = "true";
|
|
19
|
+
button.accessibleExpanded = false;
|
|
20
|
+
button.setAttribute("trailing-icon", "action-arrow-down-small");
|
|
21
|
+
this.openButton = button;
|
|
22
|
+
}
|
|
23
|
+
catch (_e) { }
|
|
24
|
+
};
|
|
25
|
+
this.openButtonEventListener = () => {
|
|
26
|
+
this.toggle();
|
|
27
|
+
};
|
|
12
28
|
this.updatePlacement = async () => {
|
|
13
|
-
if (!this.
|
|
29
|
+
if (!this.openButton) {
|
|
14
30
|
return;
|
|
15
31
|
}
|
|
16
|
-
const coordinates = await computePosition(this.
|
|
32
|
+
const coordinates = await computePosition(this.openButton, this.menuElement, {
|
|
17
33
|
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
18
34
|
placement: this.placement,
|
|
19
35
|
strategy: this.position,
|
|
@@ -45,6 +61,15 @@ export class DuetPopupMenu {
|
|
|
45
61
|
this.updatePlacement();
|
|
46
62
|
}
|
|
47
63
|
}
|
|
64
|
+
connectedCallback() {
|
|
65
|
+
this.handleControllerChange(this.controller, null);
|
|
66
|
+
}
|
|
67
|
+
disconnectedCallback() {
|
|
68
|
+
if (this.openButton) {
|
|
69
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
70
|
+
this.openButton.removeAttribute("trailing-icon");
|
|
71
|
+
}
|
|
72
|
+
}
|
|
48
73
|
/**
|
|
49
74
|
* Component event handling.
|
|
50
75
|
*/
|
|
@@ -52,7 +77,7 @@ export class DuetPopupMenu {
|
|
|
52
77
|
if (this.open) {
|
|
53
78
|
// When Esc is pressed the menu should be closed
|
|
54
79
|
if (isEscapeKey(evt)) {
|
|
55
|
-
this.
|
|
80
|
+
this.focusOpenButton();
|
|
56
81
|
this.hide();
|
|
57
82
|
}
|
|
58
83
|
}
|
|
@@ -90,7 +115,7 @@ export class DuetPopupMenu {
|
|
|
90
115
|
}
|
|
91
116
|
}
|
|
92
117
|
handleClick(evt) {
|
|
93
|
-
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.
|
|
118
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.openButton);
|
|
94
119
|
if (this.open && isClickOutside) {
|
|
95
120
|
this.hide();
|
|
96
121
|
}
|
|
@@ -106,23 +131,12 @@ export class DuetPopupMenu {
|
|
|
106
131
|
*/
|
|
107
132
|
async show() {
|
|
108
133
|
this.open = true;
|
|
109
|
-
this.teleport.go();
|
|
110
|
-
if (this.accessibleRole === "menu") {
|
|
111
|
-
this.itemElements[0].setFocus();
|
|
112
|
-
}
|
|
113
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
114
|
-
this.updatePlacement();
|
|
115
134
|
}
|
|
116
135
|
/**
|
|
117
136
|
* Hide.
|
|
118
137
|
*/
|
|
119
138
|
async hide() {
|
|
120
139
|
this.open = false;
|
|
121
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
122
|
-
if (this.accessibleRole === "menu") {
|
|
123
|
-
this.focusController();
|
|
124
|
-
}
|
|
125
|
-
this.teleport.resume(200);
|
|
126
140
|
}
|
|
127
141
|
/**
|
|
128
142
|
* Toggle.
|
|
@@ -135,9 +149,53 @@ export class DuetPopupMenu {
|
|
|
135
149
|
this.show();
|
|
136
150
|
}
|
|
137
151
|
}
|
|
138
|
-
|
|
139
|
-
if (
|
|
140
|
-
|
|
152
|
+
handleControllerChange(newValue, oldValue) {
|
|
153
|
+
if (!!newValue === !!oldValue) {
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (typeof this.controller === "string") {
|
|
157
|
+
this.setOpenButton(document.getElementById(this.controller));
|
|
158
|
+
if (this.openButton) {
|
|
159
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
this.setOpenButton(this.controller);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
handleOpenChange(newValue, oldValue) {
|
|
167
|
+
if (!!newValue === !!oldValue) {
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
if (this.open && !oldValue) {
|
|
171
|
+
if (this.openButton) {
|
|
172
|
+
this.openButton.accessibleExpanded = true;
|
|
173
|
+
}
|
|
174
|
+
this.teleport.go(true);
|
|
175
|
+
this.updatePlacement();
|
|
176
|
+
setTimeout(() => {
|
|
177
|
+
if (this.accessibleRole === "menu") {
|
|
178
|
+
this.itemElements[0].setFocus();
|
|
179
|
+
}
|
|
180
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
181
|
+
}, 200);
|
|
182
|
+
}
|
|
183
|
+
else if (!this.open && oldValue) {
|
|
184
|
+
if (this.openButton) {
|
|
185
|
+
this.openButton.accessibleExpanded = false;
|
|
186
|
+
}
|
|
187
|
+
setTimeout(() => {
|
|
188
|
+
if (this.accessibleRole === "menu") {
|
|
189
|
+
this.focusOpenButton();
|
|
190
|
+
}
|
|
191
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
192
|
+
this.teleport.resume();
|
|
193
|
+
}, 200);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
focusOpenButton() {
|
|
197
|
+
if (this.open) {
|
|
198
|
+
focusElement(this.openButton);
|
|
141
199
|
}
|
|
142
200
|
}
|
|
143
201
|
get itemElements() {
|
|
@@ -156,8 +214,9 @@ export class DuetPopupMenu {
|
|
|
156
214
|
const positionStyles = {
|
|
157
215
|
top: `${this.menuY}px`,
|
|
158
216
|
left: `${this.menuX}px`,
|
|
217
|
+
position: this.position,
|
|
159
218
|
};
|
|
160
|
-
return (h(Host,
|
|
219
|
+
return (h(Host, null, h("div", { ref: element => (this.menuElement = element), style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", null))));
|
|
161
220
|
}
|
|
162
221
|
static get is() { return "duet-popup-menu"; }
|
|
163
222
|
static get encapsulation() { return "shadow"; }
|
|
@@ -233,11 +292,11 @@ export class DuetPopupMenu {
|
|
|
233
292
|
"defaultValue": "\"\""
|
|
234
293
|
},
|
|
235
294
|
"controller": {
|
|
236
|
-
"type": "
|
|
295
|
+
"type": "string",
|
|
237
296
|
"mutable": false,
|
|
238
297
|
"complexType": {
|
|
239
|
-
"original": "HTMLElement & FocusableComponent & OpenerComponent",
|
|
240
|
-
"resolved": "HTMLElement & FocusableComponent & OpenerComponent",
|
|
298
|
+
"original": "string | (HTMLElement & FocusableComponent & OpenerComponent)",
|
|
299
|
+
"resolved": "HTMLElement & FocusableComponent & OpenerComponent | string",
|
|
241
300
|
"references": {
|
|
242
301
|
"HTMLElement": {
|
|
243
302
|
"location": "global",
|
|
@@ -260,7 +319,9 @@ export class DuetPopupMenu {
|
|
|
260
319
|
"docs": {
|
|
261
320
|
"tags": [],
|
|
262
321
|
"text": "Element controlling the opening and closing of the popup menu."
|
|
263
|
-
}
|
|
322
|
+
},
|
|
323
|
+
"attribute": "controller",
|
|
324
|
+
"reflect": false
|
|
264
325
|
},
|
|
265
326
|
"placement": {
|
|
266
327
|
"type": "string",
|
|
@@ -282,7 +343,7 @@ export class DuetPopupMenu {
|
|
|
282
343
|
},
|
|
283
344
|
"position": {
|
|
284
345
|
"type": "string",
|
|
285
|
-
"mutable":
|
|
346
|
+
"mutable": true,
|
|
286
347
|
"complexType": {
|
|
287
348
|
"original": "\"absolute\" | \"fixed\"",
|
|
288
349
|
"resolved": "\"absolute\" | \"fixed\"",
|
|
@@ -440,6 +501,15 @@ export class DuetPopupMenu {
|
|
|
440
501
|
};
|
|
441
502
|
}
|
|
442
503
|
static get elementRef() { return "element"; }
|
|
504
|
+
static get watchers() {
|
|
505
|
+
return [{
|
|
506
|
+
"propName": "controller",
|
|
507
|
+
"methodName": "handleControllerChange"
|
|
508
|
+
}, {
|
|
509
|
+
"propName": "open",
|
|
510
|
+
"methodName": "handleOpenChange"
|
|
511
|
+
}];
|
|
512
|
+
}
|
|
443
513
|
static get listeners() {
|
|
444
514
|
return [{
|
|
445
515
|
"name": "keyup",
|
|
@@ -30,6 +30,7 @@ export class DuetPopupMenuItem {
|
|
|
30
30
|
this.theme = "";
|
|
31
31
|
this.url = undefined;
|
|
32
32
|
this.external = false;
|
|
33
|
+
this.targetLanguage = undefined;
|
|
33
34
|
this.value = undefined;
|
|
34
35
|
this.leadingIcon = undefined;
|
|
35
36
|
this.leadingIconColor = undefined;
|
|
@@ -62,7 +63,7 @@ export class DuetPopupMenuItem {
|
|
|
62
63
|
active: this.active,
|
|
63
64
|
"duet-theme-turva": this.theme === "turva",
|
|
64
65
|
};
|
|
65
|
-
return (h(Host,
|
|
66
|
+
return (h(Host, { role: this.accessibleRole }, h(TagName, { ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (h("duet-icon", { name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { class: "duet-popup-menu-item-label" }, h("slot", null)), (this.trailingIcon || this.active) && (h("duet-icon", { name: this.active ? "messaging-checked-small" : this.trailingIcon, size: this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
66
67
|
}
|
|
67
68
|
static get is() { return "duet-popup-menu-item"; }
|
|
68
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -172,6 +173,24 @@ export class DuetPopupMenuItem {
|
|
|
172
173
|
"reflect": false,
|
|
173
174
|
"defaultValue": "false"
|
|
174
175
|
},
|
|
176
|
+
"targetLanguage": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "\"en\" | \"fi\" | \"sv\"",
|
|
181
|
+
"resolved": "\"en\" | \"fi\" | \"sv\"",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": false,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": "Language of the link. Use this only for language selection links."
|
|
189
|
+
},
|
|
190
|
+
"attribute": "target-language",
|
|
191
|
+
"reflect": false,
|
|
192
|
+
"defaultValue": "undefined"
|
|
193
|
+
},
|
|
175
194
|
"value": {
|
|
176
195
|
"type": "string",
|
|
177
196
|
"mutable": false,
|
|
@@ -67,19 +67,19 @@
|
|
|
67
67
|
width: 100%;
|
|
68
68
|
height: 100%;
|
|
69
69
|
visibility: hidden;
|
|
70
|
-
background:
|
|
70
|
+
background: rgb(0, 41, 77);
|
|
71
71
|
opacity: 0;
|
|
72
72
|
transition: 600ms ease;
|
|
73
73
|
}
|
|
74
74
|
.duet-slideout .desktop-bg:not(.hidden) {
|
|
75
75
|
visibility: visible;
|
|
76
|
-
opacity:
|
|
76
|
+
opacity: 0.3;
|
|
77
77
|
transition: 600ms ease;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
@media (min-width: 62em) {
|
|
81
81
|
.duet-slideout.duet-theme-turva .desktop-bg {
|
|
82
|
-
background:
|
|
82
|
+
background: rgb(23, 28, 58);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
.duet-slideout .dialog {
|
|
@@ -141,7 +141,8 @@
|
|
|
141
141
|
position: absolute;
|
|
142
142
|
width: 100%;
|
|
143
143
|
height: 100%;
|
|
144
|
-
background:
|
|
144
|
+
background: rgb(0, 41, 77);
|
|
145
|
+
opacity: 0.3;
|
|
145
146
|
}
|
|
146
147
|
@media (min-width: 62em) {
|
|
147
148
|
.duet-submenu-bar .mobile-background {
|
|
@@ -159,7 +160,7 @@
|
|
|
159
160
|
background: rgb(245, 245, 247);
|
|
160
161
|
}
|
|
161
162
|
.duet-submenu-bar.duet-theme-turva .mobile-background {
|
|
162
|
-
background:
|
|
163
|
+
background: rgb(23, 28, 58);
|
|
163
164
|
}
|
|
164
165
|
.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow {
|
|
165
166
|
box-shadow: 0 2px 6px 0 rgba(23, 28, 58, 0.07);
|