@duetds/components 8.3.0 → 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 +352 -103
- 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 +7 -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 +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +5 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -5
- package/lib/cjs/duet-card.cjs.entry.js +5 -4
- 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 +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- 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 +6 -5
- 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 +3 -3
- 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 +9 -6
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -4
- 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 +6 -6
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -4
- 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 +5 -4
- 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 +14 -9
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -3
- 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 +4 -3
- 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 +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +6 -6
- 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 +4 -3
- 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 +3 -3
- 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-da780025.js → focus-utils-26803c28.js} +1 -1
- package/lib/cjs/{index-34b8e765.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/cjs/slot-utils-0b8037ab.js +51 -0
- package/lib/collection/collection-manifest.json +2 -0
- package/lib/collection/common/index.js +0 -1
- package/lib/collection/components/duet-banner/duet-banner.js +6 -5
- package/lib/collection/components/duet-button/duet-button.css +25 -0
- package/lib/collection/components/duet-callout/duet-callout.js +4 -3
- package/lib/collection/components/duet-card/duet-card.js +4 -3
- package/lib/collection/components/duet-choice/duet-choice.js +2 -1
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -1
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +4 -4
- package/lib/collection/components/duet-hero/duet-hero.js +8 -5
- package/lib/collection/components/duet-input/duet-input.js +3 -2
- package/lib/collection/components/duet-link/duet-link.js +3 -4
- 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-modal/duet-modal.js +2 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +3 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +3 -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-promo-card/duet-promo-card.css +10 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +13 -8
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -2
- package/lib/collection/components/duet-select/duet-select.js +3 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +3 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +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/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +4 -2
- package/lib/collection/utils/slot-utils.js +42 -11
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +9 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +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 +6 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +7 -6
- 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 +11 -10
- package/lib/dist-custom-elements/duet-choice.js +7 -7
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- 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 +16 -15
- 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 +17 -14
- 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 +10 -10
- package/lib/dist-custom-elements/duet-multiselect.js +13 -12
- 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 +15 -14
- 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 +16 -11
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- 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 +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +5 -5
- 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 +13 -12
- 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-363d74c3.js → p-04647f60.js} +4 -4
- package/lib/dist-custom-elements/{p-afe568e9.js → p-0b90bbc2.js} +1 -1
- package/lib/dist-custom-elements/{p-73904865.js → p-0e584f41.js} +1 -1
- package/lib/dist-custom-elements/{p-b24c3dc4.js → p-1166a31e.js} +3 -3
- package/lib/dist-custom-elements/{p-8cd82767.js → p-148fdc67.js} +1 -1
- package/lib/dist-custom-elements/{p-e3d866c6.js → p-231e248d.js} +5 -5
- package/lib/dist-custom-elements/{p-ac4ee6ea.js → p-42a1b569.js} +2 -2
- package/lib/dist-custom-elements/{p-2718851e.js → p-42f3ff36.js} +1 -1
- package/lib/dist-custom-elements/{p-cf2212cc.js → p-440669fe.js} +14 -13
- package/lib/dist-custom-elements/{p-0233383b.js → p-54a40cbc.js} +1 -1
- package/lib/dist-custom-elements/{p-10c1d640.js → p-55dc7e3a.js} +1 -1
- package/lib/dist-custom-elements/{p-34fe2adb.js → p-581c0a5a.js} +1 -1
- package/lib/dist-custom-elements/{p-2c44fafc.js → p-5b7820b5.js} +1 -1
- package/lib/dist-custom-elements/{p-5b8774b6.js → p-604f5020.js} +6 -6
- package/lib/dist-custom-elements/{p-a13cbd71.js → p-6cb11f93.js} +1 -1
- package/lib/dist-custom-elements/p-796edee6.js +48 -0
- package/lib/dist-custom-elements/{p-60dcae4f.js → p-7cf48950.js} +1 -1
- package/lib/dist-custom-elements/{p-d27e5b0d.js → p-8356d992.js} +2 -2
- package/lib/dist-custom-elements/{p-5df55152.js → p-85712a7c.js} +1 -1
- package/lib/dist-custom-elements/{p-7183d0e7.js → p-88394bab.js} +10 -10
- package/lib/dist-custom-elements/{p-c7e3638d.js → p-88ce5a27.js} +1 -1
- package/lib/dist-custom-elements/{p-98ca74e0.js → p-9448a82f.js} +1 -1
- package/lib/dist-custom-elements/{p-0d6e1f1b.js → p-9c0ce616.js} +1 -1
- package/lib/dist-custom-elements/{p-41c5df58.js → p-a3651df3.js} +2 -2
- package/lib/dist-custom-elements/{p-7c44c302.js → p-b68755bb.js} +1 -1
- package/lib/dist-custom-elements/{p-997c1c72.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-8a5c7cdf.js → p-d07c620c.js} +5 -5
- package/lib/dist-custom-elements/{p-42da65d1.js → p-d2dafb20.js} +5 -6
- package/lib/dist-custom-elements/{p-b443af91.js → p-dd175a82.js} +11 -10
- package/lib/dist-custom-elements/{p-e445c96b.js → p-de066189.js} +1 -1
- package/lib/dist-custom-elements/{p-a73804b7.js → p-e278477e.js} +1 -1
- package/lib/dist-custom-elements/{p-2bc31f8b.js → p-e47bf090.js} +1 -1
- package/lib/dist-custom-elements/{p-96a8a294.js → p-f38ed7fe.js} +4 -4
- package/lib/dist-custom-elements/{p-5ccb7f41.js → p-fc352257.js} +7 -7
- package/lib/dist-custom-elements/{p-3bcad21a.js → p-ffe65adf.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-505375e1.system.entry.js → p-05b8ae17.system.entry.js} +1 -1
- package/lib/duet/{p-dcaed1b0.entry.js → p-072607fd.entry.js} +1 -1
- package/lib/duet/{p-58a8254d.entry.js → p-077c7ac7.entry.js} +1 -1
- package/lib/duet/p-090ae709.entry.js +4 -0
- package/lib/duet/{p-19fc4ff9.system.entry.js → p-0c8ef637.system.entry.js} +1 -1
- package/lib/duet/{p-77b95466.system.entry.js → p-0c98eb74.system.entry.js} +1 -1
- package/lib/duet/p-0d452219.entry.js +4 -0
- package/lib/duet/{p-65dcf9ed.entry.js → p-0f80c628.entry.js} +1 -1
- package/lib/duet/{p-56be87c9.system.entry.js → p-1099ef42.system.entry.js} +1 -1
- package/lib/duet/{p-3ddc5b9d.entry.js → p-113ad39d.entry.js} +1 -1
- package/lib/duet/p-13bdce94.entry.js +4 -0
- package/lib/duet/{p-8a2f8d7d.entry.js → p-154f1517.entry.js} +1 -1
- package/lib/duet/{p-33771b10.system.entry.js → p-1c5a34ec.system.entry.js} +1 -1
- package/lib/duet/{p-1d91fb5d.entry.js → p-1ce475d7.entry.js} +1 -1
- package/lib/duet/{p-193fcf1c.system.entry.js → p-1d032bb3.system.entry.js} +1 -1
- package/lib/duet/{p-85e98030.entry.js → p-1e55dfa3.entry.js} +1 -1
- package/lib/duet/p-246f8836.system.entry.js +4 -0
- package/lib/duet/{p-97cf5b01.system.entry.js → p-265aaa8b.system.entry.js} +1 -1
- package/lib/duet/{p-b507f27d.system.entry.js → p-26859589.system.entry.js} +1 -1
- package/lib/duet/p-26c2008d.entry.js +4 -0
- package/lib/duet/{p-ffdb9d3f.system.entry.js → p-276fac2f.system.entry.js} +1 -1
- package/lib/duet/p-280e0b55.entry.js +4 -0
- package/lib/duet/{p-f801f2a7.entry.js → p-288ba4f9.entry.js} +1 -1
- package/lib/duet/{p-4ca1be7a.system.entry.js → p-2a29c6d5.system.entry.js} +1 -1
- package/lib/duet/{p-b9140794.entry.js → p-2b5c578e.entry.js} +1 -1
- package/lib/duet/{p-d7f9ea61.system.entry.js → p-2d4cd88c.system.entry.js} +1 -1
- package/lib/duet/{p-7083fb38.system.entry.js → p-30174f82.system.entry.js} +1 -1
- package/lib/duet/p-322b427c.system.entry.js +4 -0
- package/lib/duet/{p-9d841e0f.entry.js → p-33ba6560.entry.js} +1 -1
- package/lib/duet/p-3624bad1.js +4 -0
- package/lib/duet/{p-8c08f362.system.entry.js → p-36ca4962.system.entry.js} +1 -1
- package/lib/duet/{p-3ac0c888.system.entry.js → p-3706d57f.system.entry.js} +1 -1
- package/lib/duet/{p-573ce757.system.entry.js → p-378c88b0.system.entry.js} +1 -1
- package/lib/duet/{p-27485e15.system.entry.js → p-3790d9c6.system.entry.js} +1 -1
- package/lib/duet/{p-a3b8bb87.entry.js → p-37b390b1.entry.js} +1 -1
- package/lib/duet/p-3a2f42cc.entry.js +4 -0
- package/lib/duet/{p-5c42b7f0.system.entry.js → p-3b7af0aa.system.entry.js} +1 -1
- package/lib/duet/p-3ffede1b.entry.js +4 -0
- package/lib/duet/{p-90847ed0.system.entry.js → p-423cc443.system.entry.js} +2 -2
- package/lib/duet/{p-05cfffb1.entry.js → p-42f7208c.entry.js} +1 -1
- package/lib/duet/p-4594fdfc.system.entry.js +4 -0
- package/lib/duet/{p-c03920c0.entry.js → p-4646de9d.entry.js} +1 -1
- package/lib/duet/{p-e0db152c.system.entry.js → p-468606ef.system.entry.js} +1 -1
- package/lib/duet/{p-0296a34a.system.entry.js → p-46980318.system.entry.js} +1 -1
- package/lib/duet/{p-85c6a112.entry.js → p-46c368b6.entry.js} +1 -1
- package/lib/duet/{p-34b96e8d.system.entry.js → p-48d5fd63.system.entry.js} +1 -1
- package/lib/duet/{p-e79d2de2.system.entry.js → p-497fbe6f.system.entry.js} +1 -1
- package/lib/duet/{p-777fbef3.entry.js → p-4a69a574.entry.js} +1 -1
- package/lib/duet/p-4c2964ba.system.entry.js +4 -0
- package/lib/duet/p-4c40ab32.entry.js +4 -0
- package/lib/duet/{p-1953edbe.entry.js → p-4c99d4e4.entry.js} +1 -1
- package/lib/duet/{p-ba89aaf0.entry.js → p-4ddb4401.entry.js} +1 -1
- package/lib/duet/{p-82cd0795.entry.js → p-52aefd49.entry.js} +1 -1
- package/lib/duet/{p-25e0cbc3.entry.js → p-55f4b594.entry.js} +1 -1
- package/lib/duet/p-560b0225.system.entry.js +4 -0
- package/lib/duet/{p-fefcaeb4.entry.js → p-5969cc96.entry.js} +1 -1
- package/lib/duet/p-5a07838a.system.entry.js +4 -0
- package/lib/duet/{p-0abf8fe1.system.entry.js → p-5f6619db.system.entry.js} +1 -1
- package/lib/duet/{p-5bf6660a.entry.js → p-60cc4982.entry.js} +1 -1
- package/lib/duet/{p-d8144268.system.entry.js → p-613ca231.system.entry.js} +1 -1
- package/lib/duet/{p-2eb5153f.system.entry.js → p-62b76a24.system.entry.js} +1 -1
- package/lib/duet/{p-f43327c2.system.entry.js → p-65a1a167.system.entry.js} +1 -1
- package/lib/duet/{p-618cc2c7.system.entry.js → p-65bd8411.system.entry.js} +1 -1
- package/lib/duet/{p-cff7873f.entry.js → p-67a6cdda.entry.js} +1 -1
- package/lib/duet/{p-6626a173.entry.js → p-69d93a05.entry.js} +1 -1
- package/lib/duet/{p-e27a4bf4.system.entry.js → p-6bad4da4.system.entry.js} +1 -1
- package/lib/duet/{p-b263e985.js → p-6c4b49d5.js} +1 -1
- package/lib/duet/p-6db50eea.entry.js +4 -0
- package/lib/duet/{p-9ba3d633.entry.js → p-6ed83596.entry.js} +1 -1
- package/lib/duet/{p-fe79a10c.system.entry.js → p-7066a413.system.entry.js} +1 -1
- package/lib/duet/{p-d7175aea.entry.js → p-72bedacd.entry.js} +1 -1
- package/lib/duet/{p-87112f7c.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-e3c31f72.system.entry.js → p-75503668.system.entry.js} +1 -1
- package/lib/duet/{p-e72a7aa6.system.entry.js → p-75f81010.system.entry.js} +1 -1
- package/lib/duet/{p-769b7d3c.system.js → p-76b3dfea.system.js} +1 -1
- package/lib/duet/{p-c16515e0.entry.js → p-76f3d250.entry.js} +1 -1
- package/lib/duet/{p-fa6061c9.entry.js → p-7792b370.entry.js} +1 -1
- package/lib/duet/p-796edee6.js +4 -0
- package/lib/duet/{p-71568bfa.entry.js → p-79b1232f.entry.js} +1 -1
- package/lib/duet/p-7a0523f1.entry.js +4 -0
- package/lib/duet/p-7c6d5f9c.system.js +4 -0
- package/lib/duet/p-8678ad49.system.js +4 -0
- package/lib/duet/{p-c9221359.system.entry.js → p-8b0053b4.system.entry.js} +1 -1
- package/lib/duet/p-8b01d018.entry.js +4 -0
- package/lib/duet/p-8b310c25.system.entry.js +4 -0
- package/lib/duet/{p-53e192de.system.entry.js → p-8b621333.system.entry.js} +1 -1
- package/lib/duet/{p-310fd85a.system.entry.js → p-8c340908.system.entry.js} +1 -1
- package/lib/duet/p-8cdbf7c7.system.entry.js +4 -0
- package/lib/duet/p-8da5c103.entry.js +4 -0
- package/lib/duet/{p-11be6924.system.entry.js → p-900abeb7.system.entry.js} +1 -1
- package/lib/duet/{p-604aab16.system.entry.js → p-913b9c68.system.entry.js} +1 -1
- package/lib/duet/p-91d750ad.system.js +4 -0
- package/lib/duet/{p-b9c1d172.entry.js → p-93950a7f.entry.js} +1 -1
- package/lib/duet/{p-39730ce5.entry.js → p-94e0fba1.entry.js} +1 -1
- package/lib/duet/{p-004f5593.system.entry.js → p-96c1789d.system.entry.js} +1 -1
- package/lib/duet/{p-c8466623.system.entry.js → p-97af661b.system.entry.js} +1 -1
- package/lib/duet/p-991f9b2e.entry.js +4 -0
- package/lib/duet/{p-079710fa.system.entry.js → p-994d95e9.system.entry.js} +1 -1
- package/lib/duet/{p-f1843c31.entry.js → p-99eb5647.entry.js} +1 -1
- package/lib/duet/p-9a1f8af3.entry.js +4 -0
- package/lib/duet/{p-d3aed7d8.system.entry.js → p-9cdf78b3.system.entry.js} +1 -1
- package/lib/duet/{p-ccb58dd2.entry.js → p-9ce07f50.entry.js} +1 -1
- package/lib/duet/{p-5d74e505.entry.js → p-a09d3878.entry.js} +1 -1
- package/lib/duet/{p-690d8509.system.entry.js → p-a15bdee3.system.entry.js} +1 -1
- package/lib/duet/{p-0322bace.entry.js → p-a1db3600.entry.js} +1 -1
- package/lib/duet/{p-73f87dff.system.entry.js → p-a43ad34f.system.entry.js} +1 -1
- package/lib/duet/{p-a9a0f040.system.entry.js → p-a50e095d.system.entry.js} +1 -1
- package/lib/duet/{p-859754bb.entry.js → p-a88d7e91.entry.js} +1 -1
- package/lib/duet/{p-2054dad2.entry.js → p-a8935106.entry.js} +1 -1
- package/lib/duet/{p-8726889d.system.entry.js → p-a8c96cc0.system.entry.js} +1 -1
- package/lib/duet/{p-213dab77.entry.js → p-aa14230b.entry.js} +1 -1
- package/lib/duet/{p-2f22f4cc.system.entry.js → p-aa840586.system.entry.js} +1 -1
- package/lib/duet/p-ad6388ce.entry.js +4 -0
- 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-fbbfcc2d.system.entry.js → p-b2df2bb9.system.entry.js} +1 -1
- package/lib/duet/{p-98a822e3.entry.js → p-b3af96a8.entry.js} +1 -1
- package/lib/duet/{p-a01d2fdb.entry.js → p-b49d10f6.entry.js} +1 -1
- package/lib/duet/{p-e7b6657c.system.entry.js → p-b4e730ac.system.entry.js} +1 -1
- package/lib/duet/{p-294b9ccf.system.entry.js → p-b57e1bac.system.entry.js} +1 -1
- package/lib/duet/{p-45e26ba0.system.entry.js → p-b5f5d7ce.system.entry.js} +1 -1
- package/lib/duet/{p-5add7da0.entry.js → p-b7b4b33c.entry.js} +1 -1
- package/lib/duet/{p-7479da8d.system.entry.js → p-b85c4e9e.system.entry.js} +1 -1
- package/lib/duet/{p-52a756fe.entry.js → p-ba015d7a.entry.js} +1 -1
- package/lib/duet/p-bb640b45.entry.js +4 -0
- package/lib/duet/{p-82bef678.system.entry.js → p-bc8c2990.system.entry.js} +1 -1
- package/lib/duet/{p-4a4317af.system.entry.js → p-be8e8efc.system.entry.js} +1 -1
- package/lib/duet/{p-15c9c4cb.entry.js → p-c19ce026.entry.js} +1 -1
- package/lib/duet/{p-7fd03652.system.entry.js → p-c28e4280.system.entry.js} +1 -1
- package/lib/duet/{p-fdeb4f7d.entry.js → p-c383e8d6.entry.js} +1 -1
- package/lib/duet/{p-0d0867ae.entry.js → p-c899df04.entry.js} +1 -1
- package/lib/duet/{p-b2ccffd1.system.entry.js → p-c900f541.system.entry.js} +1 -1
- package/lib/duet/p-caa48d36.system.entry.js +4 -0
- package/lib/duet/{p-9e8772d1.entry.js → p-cd8fc9f7.entry.js} +1 -1
- package/lib/duet/{p-447943eb.entry.js → p-cd9619e3.entry.js} +1 -1
- package/lib/duet/{p-0f35fce0.system.entry.js → p-d047123e.system.entry.js} +1 -1
- package/lib/duet/{p-d864a0e3.system.entry.js → p-d257c333.system.entry.js} +1 -1
- package/lib/duet/{p-2888bff8.system.entry.js → p-d2cabbed.system.entry.js} +1 -1
- package/lib/duet/p-d2d6281b.entry.js +4 -0
- package/lib/duet/{p-0c416590.system.entry.js → p-d48ab4d3.system.entry.js} +1 -1
- package/lib/duet/p-d56b354c.entry.js +4 -0
- package/lib/duet/{p-9bba389f.entry.js → p-d9fd389c.entry.js} +1 -1
- package/lib/duet/{p-9686aa88.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-2e3254e1.system.entry.js → p-e0befaf6.system.entry.js} +1 -1
- package/lib/duet/p-e1020f12.system.entry.js +4 -0
- package/lib/duet/{p-755f5cf0.system.entry.js → p-e19a12b4.system.entry.js} +1 -1
- package/lib/duet/{p-ba92e7b1.system.entry.js → p-e1b947e9.system.entry.js} +1 -1
- package/lib/duet/{p-a3351207.entry.js → p-e5c75975.entry.js} +1 -1
- package/lib/duet/{p-d84be985.entry.js → p-e632de74.entry.js} +1 -1
- package/lib/duet/p-e650b1b7.system.entry.js +4 -0
- package/lib/duet/p-e669b52a.entry.js +4 -0
- package/lib/duet/p-e6beb82f.entry.js +4 -0
- package/lib/duet/p-ea90f7c4.entry.js +4 -0
- package/lib/duet/{p-45464aa5.entry.js → p-eaa8473a.entry.js} +1 -1
- package/lib/duet/{p-1f6ad797.system.entry.js → p-ed9d957f.system.entry.js} +2 -2
- package/lib/duet/{p-560f26a5.entry.js → p-eededb83.entry.js} +1 -1
- package/lib/duet/p-f27034be.entry.js +4 -0
- package/lib/duet/p-f36f6e98.js +4 -0
- package/lib/duet/p-f3a2cd70.entry.js +4 -0
- package/lib/duet/p-f4b9871c.system.entry.js +4 -0
- package/lib/duet/{p-ca5cd66a.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 +7 -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 +2 -2
- package/lib/esm/duet-callout.entry.js +5 -4
- package/lib/esm/duet-caption_4.entry.js +4 -5
- package/lib/esm/duet-card.entry.js +5 -4
- 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 +6 -6
- package/lib/esm/duet-collapsible.entry.js +3 -3
- 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 +6 -5
- 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 +9 -6
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +5 -4
- 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 +5 -5
- package/lib/esm/duet-multiselect.entry.js +5 -4
- 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 +5 -4
- 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 +14 -9
- package/lib/esm/duet-radio_2.entry.js +4 -3
- 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 +4 -3
- 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 +3 -3
- package/lib/esm/duet-slideout.entry.js +5 -5
- 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 +4 -3
- 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 +3 -3
- 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-a9110b59.js → focus-utils-a15379ec.js} +1 -1
- package/lib/esm/{index-ad0e5e61.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/slot-utils-3c3ab3d6.js +48 -0
- 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 +2 -2
- 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 +2 -2
- 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 +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 +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 +2 -2
- 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-a9110b59.js → focus-utils-a15379ec.js} +1 -1
- package/lib/esm-es5/{index-ad0e5e61.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/esm-es5/slot-utils-3c3ab3d6.js +4 -0
- package/lib/types/common/index.d.ts +0 -1
- package/lib/types/components/duet-card/duet-card.d.ts +3 -2
- 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-promo-card/duet-promo-card.d.ts +3 -1
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +65 -0
- package/lib/types/components.d.ts +184 -6
- package/lib/types/utils/slot-utils.d.ts +14 -2
- package/package.json +5 -5
- package/lib/cjs/slot-query-3259af5b.js +0 -10
- package/lib/cjs/slot-utils-6c81bd09.js +0 -20
- package/lib/collection/common/slot-query.js +0 -9
- package/lib/dist-custom-elements/p-11230037.js +0 -8
- package/lib/dist-custom-elements/p-bb24a019.js +0 -18
- package/lib/duet/p-0c2cf3a5.system.entry.js +0 -4
- package/lib/duet/p-11230037.js +0 -4
- package/lib/duet/p-1c7ca800.entry.js +0 -4
- package/lib/duet/p-1cb624dd.entry.js +0 -4
- package/lib/duet/p-240c3f03.system.entry.js +0 -4
- package/lib/duet/p-2de5d10d.entry.js +0 -4
- package/lib/duet/p-32f3d9e9.entry.js +0 -4
- package/lib/duet/p-38bab76d.entry.js +0 -4
- package/lib/duet/p-3f9bb231.entry.js +0 -4
- package/lib/duet/p-43ee1368.entry.js +0 -4
- package/lib/duet/p-48f4acef.entry.js +0 -4
- package/lib/duet/p-578de372.entry.js +0 -4
- package/lib/duet/p-5eb9efcf.system.js +0 -4
- package/lib/duet/p-634e8787.system.js +0 -4
- package/lib/duet/p-6a9f8b30.entry.js +0 -4
- package/lib/duet/p-6ab9f8ce.entry.js +0 -4
- package/lib/duet/p-700eb8d9.system.entry.js +0 -4
- package/lib/duet/p-74fef701.system.entry.js +0 -4
- package/lib/duet/p-753d1ca4.system.js +0 -4
- package/lib/duet/p-7cdcc3f9.system.entry.js +0 -4
- package/lib/duet/p-85b08ff2.system.entry.js +0 -4
- package/lib/duet/p-8a90810c.system.entry.js +0 -4
- package/lib/duet/p-8b25f04b.system.entry.js +0 -4
- package/lib/duet/p-91e776e5.entry.js +0 -4
- package/lib/duet/p-93037a0a.entry.js +0 -4
- package/lib/duet/p-99269e38.system.js +0 -4
- package/lib/duet/p-9bfaaf32.entry.js +0 -4
- package/lib/duet/p-a5ebbe3e.entry.js +0 -4
- package/lib/duet/p-abe6350b.system.entry.js +0 -4
- package/lib/duet/p-afa0c531.entry.js +0 -4
- package/lib/duet/p-b3e26504.entry.js +0 -4
- package/lib/duet/p-bb24a019.js +0 -4
- package/lib/duet/p-c28792a8.entry.js +0 -4
- package/lib/duet/p-c9c43026.entry.js +0 -4
- package/lib/duet/p-cea6ffda.entry.js +0 -4
- package/lib/duet/p-cfdea256.system.entry.js +0 -4
- package/lib/duet/p-d36935fa.system.entry.js +0 -4
- package/lib/duet/p-da0e04fa.entry.js +0 -4
- package/lib/duet/p-e19067f1.js +0 -4
- package/lib/duet/p-e276fee0.js +0 -4
- package/lib/duet/p-e7ffb722.entry.js +0 -4
- package/lib/duet/p-ed8efd4d.system.entry.js +0 -4
- package/lib/duet/p-f61c00e3.entry.js +0 -4
- package/lib/duet/p-f7e13990.entry.js +0 -4
- package/lib/duet/p-fcb84038.entry.js +0 -4
- package/lib/duet/p-fea9215a.entry.js +0 -4
- package/lib/esm/slot-query-022710bb.js +0 -8
- package/lib/esm/slot-utils-07ba4363.js +0 -18
- package/lib/esm-es5/slot-query-022710bb.js +0 -4
- package/lib/esm-es5/slot-utils-07ba4363.js +0 -4
- package/lib/types/common/slot-query.d.ts +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-85712a7c.js';
|
|
5
5
|
import { d as disableBodyScroll, e as enableBodyScroll } from './p-141e14d0.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
|
-
import { h as hasSlot } from './p-11230037.js';
|
|
8
7
|
import { c as createID } from './p-5e59e970.js';
|
|
9
8
|
import { f as focusElement, F as FocusGuard } from './p-eef66341.js';
|
|
10
|
-
import { b as isEscapeKey } from './p-
|
|
9
|
+
import { b as isEscapeKey } from './p-bec3a15c.js';
|
|
11
10
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
11
|
+
import { h as hasSlot } from './p-796edee6.js';
|
|
12
12
|
import { T as Teleport } from './p-ccdff614.js';
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-231e248d.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-b9f613f5.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-0e584f41.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-0b90bbc2.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-5b7820b5.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-148fdc67.js';
|
|
19
19
|
|
|
20
|
-
const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.
|
|
20
|
+
const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;background:rgba(0, 41, 77, 0.3);opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-overlay.duet-theme-turva{background:rgba(23, 28, 58, 0.3)}.duet-modal-overlay.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-overlay.duet-disable-transitions{transition:none}.duet-modal-overlay.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;border-radius:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:200;display:block;padding-bottom:12px;text-align:left;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}";
|
|
21
21
|
|
|
22
22
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
23
23
|
// iOS has otherwise problems moving the focus from modal back to the original element.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
|
-
import { b as isEscapeKey, d as isTabKey, c as isEnterKey, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-
|
|
7
|
+
import { b as isEscapeKey, d as isTabKey, c as isEnterKey, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-bec3a15c.js';
|
|
8
8
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
9
|
-
import {
|
|
9
|
+
import { c as checkNamedSlotElement } from './p-796edee6.js';
|
|
10
10
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-54a40cbc.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-7cf48950.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-0e584f41.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-581c0a5a.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-fc352257.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-1166a31e.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-04647f60.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-148fdc67.js';
|
|
19
19
|
|
|
20
20
|
const duetMultiselectCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
21
21
|
|
|
@@ -184,6 +184,7 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class DuetMultiselect
|
|
|
184
184
|
componentWillLoad() {
|
|
185
185
|
inheritGlobalTheme(this);
|
|
186
186
|
this.isCaptionVisible = !!this.caption;
|
|
187
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
187
188
|
this.refresh();
|
|
188
189
|
}
|
|
189
190
|
connectedCallback() {
|
|
@@ -221,7 +222,7 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class DuetMultiselect
|
|
|
221
222
|
"duet-theme-turva": this.theme === "turva",
|
|
222
223
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
223
224
|
"has-error": !!this.error,
|
|
224
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip"
|
|
225
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", null, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
225
226
|
"duet-multiselect-checkboxes": true,
|
|
226
227
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
227
228
|
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (h("div", { class: "duet-multiselect-all-control-buttons" }, h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
|
|
7
7
|
const duetNavCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.container{position:relative;z-index:400}slot[name=mobile]{display:inherit}slot[name=desktop]{display:none}@media (min-width: 62em){slot[name=mobile]{display:none}slot[name=desktop]{display:inherit}}";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-85712a7c.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
|
-
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-
|
|
7
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
|
|
8
8
|
import { a as getLanguage, g as getLocaleString } from './p-2e36d5bf.js';
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-8356d992.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-0e584f41.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-42f3ff36.js';
|
|
12
12
|
|
|
13
13
|
const duetNotificationDrawerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
|
|
14
14
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-
|
|
6
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
|
|
7
7
|
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-148fdc67.js';
|
|
9
9
|
|
|
10
10
|
const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(252, 243, 244)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(252, 243, 244)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
|
|
11
11
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
|
-
import { j as isArrowRightKey, e as isArrowUpKey, f as isArrowDownKey, h as isArrowLeftKey, k as isBackspaceKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-
|
|
7
|
+
import { j as isArrowRightKey, e as isArrowUpKey, f as isArrowDownKey, h as isArrowLeftKey, k as isBackspaceKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-bec3a15c.js';
|
|
8
8
|
import { a as getLanguage, b as getLocale, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
9
|
-
import {
|
|
10
|
-
import { d as defineCustomElement$b } from './p-
|
|
11
|
-
import { d as defineCustomElement$a } from './p-
|
|
12
|
-
import { d as defineCustomElement$9 } from './p-
|
|
13
|
-
import { d as defineCustomElement$8 } from './p-
|
|
14
|
-
import { d as defineCustomElement$7 } from './p-
|
|
15
|
-
import { d as defineCustomElement$6 } from './p-
|
|
16
|
-
import { d as defineCustomElement$5 } from './p-
|
|
17
|
-
import { d as defineCustomElement$4 } from './p-
|
|
18
|
-
import { d as defineCustomElement$3 } from './p-
|
|
19
|
-
import { d as defineCustomElement$2 } from './p-
|
|
9
|
+
import { c as checkNamedSlotElement } from './p-796edee6.js';
|
|
10
|
+
import { d as defineCustomElement$b } from './p-231e248d.js';
|
|
11
|
+
import { d as defineCustomElement$a } from './p-54a40cbc.js';
|
|
12
|
+
import { d as defineCustomElement$9 } from './p-0e584f41.js';
|
|
13
|
+
import { d as defineCustomElement$8 } from './p-440669fe.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './p-581c0a5a.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './p-5b7820b5.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './p-fc352257.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './p-1166a31e.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './p-04647f60.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './p-148fdc67.js';
|
|
20
20
|
|
|
21
21
|
var actionAdd={"title":"action-add","tags":"action add plus","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M12 24a.75.75 0 0 1-.75-.75v-10.5H.75a.75.75 0 0 1 0-1.5h10.5V.75a.75.75 0 0 1 1.5 0v10.5h10.5a.75.75 0 0 1 0 1.5h-10.5v10.5A.75.75 0 0 1 12 24z\"/></svg>"};
|
|
22
22
|
|
|
@@ -331,6 +331,7 @@ const DuetNumberInput$1 = /*@__PURE__*/ proxyCustomElement(class DuetNumberInput
|
|
|
331
331
|
if (this.value) {
|
|
332
332
|
this.value = this.localizeValue(SafeParseFloat(this.value, this.locale));
|
|
333
333
|
}
|
|
334
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
334
335
|
}
|
|
335
336
|
connectedCallback() {
|
|
336
337
|
connectLanguageChangeObserver(this, [
|
|
@@ -382,7 +383,7 @@ const DuetNumberInput$1 = /*@__PURE__*/ proxyCustomElement(class DuetNumberInput
|
|
|
382
383
|
"duet-theme-turva": this.theme === "turva",
|
|
383
384
|
"duet-expand": this.expand,
|
|
384
385
|
"duet-m-0": this.margin === "none",
|
|
385
|
-
} }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { name: "tooltip"
|
|
386
|
+
} }, h("div", { class: "duet-number-container" }, h("duet-input", { ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, h("slot", { name: "tooltip" }), h("div", { class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, h("duet-visually-hidden", null, this.accessibleSubtract, " ", this.step), h("duet-icon", { icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), h("button", { "aria-controls": identifier, disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, h("duet-visually-hidden", null, this.accessibleAdd, " ", this.step), h("duet-icon", { icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (h("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
386
387
|
}
|
|
387
388
|
get element() { return this; }
|
|
388
389
|
static get style() { return duetNumberInputCss; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-0e584f41.js';
|
|
7
7
|
|
|
8
8
|
const duetPageHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-page-heading{position:relative;display:block;width:100%;margin:0 auto;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(0, 41, 77)}.duet-page-heading.duet-p-0{padding:0 !important}.duet-page-heading.duet-m-0{margin:0 !important}.duet-page-heading.fluid,.duet-page-heading.narrow{padding:0 16px}@media (min-width: 36em){.duet-page-heading.fluid{padding:0 28px}}@media (min-width: 62em){.duet-page-heading.fluid{padding:0 56px}}@media (min-width: 76.25em){.duet-page-heading.fluid{max-width:1110px;padding:0}}.duet-page-heading.narrow{max-width:888px}@media (min-width: 36em){.duet-page-heading.narrow{padding:0 48px}}@media (min-width: 48em){.duet-page-heading.narrow{padding:0 72px}}.duet-page-heading .heading{max-width:744px;padding:48px 90px 16px 0}@media (min-width: 48em){.duet-page-heading .heading{padding:72px 150px 40px 0}}.duet-page-heading .background{position:absolute;top:0;right:0;left:0;width:100%;max-width:744px;height:104px;margin:0 auto;margin:0 auto}@media (min-width: 48em){.duet-page-heading .background{height:165px}}.duet-page-heading .background .background-mask{position:absolute;top:-20px;right:0;display:block;width:286px;height:331px;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzIxIiBoZWlnaHQ9IjI1NyIgdmlld0J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C40NjMgNDI4LjcyOCAxNTQuOTgyQzQzOC42MTEgMTcxLjUyOCA0NTIuNDU4IDE4NS4wODcgNDcwLjI1NCAxOTUuN0M0OTAuNzM3IDIwOC44ODEgNTEyLjE0NSAyMTcuNzIxIDUzNC40MDEgMjIyLjI0NUM1NTYuNjQ0IDIyNi43NTcgNTc5Ljg2NSAyMjYuNTA5IDYwNC4xMTUgMjIxLjU2N0M2MDkuNjQzIDIyMC42MTYgNjE1LjI2MyAyMTkuNDY4IDYyMC45MjEgMjE4LjA5OUM2MjYuNTY3IDIxNi43NTYgNjMyLjI3NyAyMTUuMTkyIDYzOC4wNTMgMjEzLjQxOUM2NTkuMDU3IDIwNy41MjUgNjc4LjU2MiAxOTkuMzkgNjk2LjU0MSAxODkuMDc3IiBmaWxsPSIjRjVGNUY3Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMjgyMF82OTk5MSI+CjxyZWN0IHdpZHRoPSI3MjEiIGhlaWdodD0iMjU2Ljg0OCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K\");background-repeat:no-repeat;background-size:contain}@media (min-width: 48em){.duet-page-heading .background .background-mask{top:-40px;width:502px;height:577px}}.duet-page-heading .background .brand-shape{position:absolute;top:-157px;right:-20px;width:185px;height:185px;background:rgb(0, 119, 179);border-radius:20%;mix-blend-mode:normal;opacity:0.2;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shape{top:-280px;right:-40px;width:325px;height:325px}}.duet-page-heading .background .brand-shape.second-shape{top:-182px;right:100px;width:207px;height:207px;background:rgb(11, 114, 136);opacity:0.1}@media (min-width: 48em){.duet-page-heading .background .brand-shape.second-shape{top:-325px;right:200px;width:365px;height:365px}}.duet-page-heading .background .brand-shaped-icon{position:absolute;top:20px;right:16px;display:flex;align-items:center;justify-content:center;width:85px;width:60px;height:85px;height:60px;background:rgba(0, 119, 179, 0.75);border-radius:25%;mix-blend-mode:normal;transform:rotate(7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon{right:36px;width:93px;height:93px}}.duet-page-heading .background .brand-shaped-icon duet-icon{width:60px;height:60px;transform:rotate(-7deg)}@media (min-width: 48em){.duet-page-heading .background .brand-shaped-icon duet-icon{width:75px;height:75px}}.duet-page-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(0, 41, 77)}.duet-page-heading.duet-theme-turva .brand-shaped-icon{background:rgba(198, 12, 48, 0.9);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-page-heading.duet-theme-turva .brand-shaped-icon duet-icon{position:relative;top:-3px}";
|
|
9
9
|
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { d as debounce } from './p-9e371678.js';
|
|
8
|
-
import { l as isArrowKey, m as isNumber, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-
|
|
8
|
+
import { l as isArrowKey, m as isNumber, h as isArrowLeftKey, e as isArrowUpKey, j as isArrowRightKey, f as isArrowDownKey } from './p-bec3a15c.js';
|
|
9
9
|
import { g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2e36d5bf.js';
|
|
10
10
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
11
11
|
import { a as breakpointTokensUpTo, b as breakpointToToken } from './p-cbac9ed5.js';
|
|
12
|
-
import { d as defineCustomElement$d } from './p-
|
|
13
|
-
import { d as defineCustomElement$c } from './p-
|
|
14
|
-
import { d as defineCustomElement$b } from './p-
|
|
15
|
-
import { d as defineCustomElement$a } from './p-
|
|
16
|
-
import { d as defineCustomElement$9 } from './p-
|
|
17
|
-
import { d as defineCustomElement$8 } from './p-
|
|
18
|
-
import { d as defineCustomElement$7 } from './p-
|
|
19
|
-
import { d as defineCustomElement$6 } from './p-
|
|
20
|
-
import { d as defineCustomElement$5 } from './p-
|
|
21
|
-
import { d as defineCustomElement$4 } from './p-
|
|
22
|
-
import { d as defineCustomElement$3 } from './p-
|
|
23
|
-
import { d as defineCustomElement$2 } from './p-
|
|
12
|
+
import { d as defineCustomElement$d } from './p-f38ed7fe.js';
|
|
13
|
+
import { d as defineCustomElement$c } from './p-e47bf090.js';
|
|
14
|
+
import { d as defineCustomElement$b } from './p-231e248d.js';
|
|
15
|
+
import { d as defineCustomElement$a } from './p-54a40cbc.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './p-0e584f41.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './p-581c0a5a.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './p-dd175a82.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './p-5b7820b5.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './p-fc352257.js';
|
|
21
|
+
import { d as defineCustomElement$4 } from './p-1166a31e.js';
|
|
22
|
+
import { d as defineCustomElement$3 } from './p-04647f60.js';
|
|
23
|
+
import { d as defineCustomElement$2 } from './p-148fdc67.js';
|
|
24
24
|
|
|
25
25
|
const shouldDisplayNavigation = (visibleItems, total, take) => {
|
|
26
26
|
if (visibleItems * 2 > total / take) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetParagraph$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetParagraph$1, d as defineCustomElement$1 } from './p-42f3ff36.js';
|
|
5
5
|
|
|
6
6
|
const DuetParagraph = DuetParagraph$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-0e584f41.js';
|
|
7
7
|
|
|
8
8
|
const duetPopupMenuItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}";
|
|
9
9
|
|
|
@@ -39,6 +39,7 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu
|
|
|
39
39
|
this.theme = "";
|
|
40
40
|
this.url = undefined;
|
|
41
41
|
this.external = false;
|
|
42
|
+
this.targetLanguage = undefined;
|
|
42
43
|
this.value = undefined;
|
|
43
44
|
this.leadingIcon = undefined;
|
|
44
45
|
this.leadingIconColor = undefined;
|
|
@@ -71,7 +72,7 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu
|
|
|
71
72
|
active: this.active,
|
|
72
73
|
"duet-theme-turva": this.theme === "turva",
|
|
73
74
|
};
|
|
74
|
-
return (h(Host,
|
|
75
|
+
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))));
|
|
75
76
|
}
|
|
76
77
|
get element() { return this; }
|
|
77
78
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -81,6 +82,7 @@ const DuetPopupMenuItem$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu
|
|
|
81
82
|
"theme": [1025],
|
|
82
83
|
"url": [1],
|
|
83
84
|
"external": [4],
|
|
85
|
+
"targetLanguage": [1, "target-language"],
|
|
84
86
|
"value": [1],
|
|
85
87
|
"leadingIcon": [1, "leading-icon"],
|
|
86
88
|
"leadingIconColor": [1, "leading-icon-color"],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-85712a7c.js';
|
|
5
5
|
import { c as computePosition, o as offset, f as flip } from './p-00c8a755.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { f as focusElement } from './p-eef66341.js';
|
|
8
|
-
import { b as isEscapeKey, f as isArrowDownKey, e as isArrowUpKey, d as isTabKey } from './p-
|
|
8
|
+
import { b as isEscapeKey, f as isArrowDownKey, e as isArrowUpKey, d as isTabKey } from './p-bec3a15c.js';
|
|
9
9
|
import { T as Teleport } from './p-ccdff614.js';
|
|
10
10
|
|
|
11
11
|
const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(0, 41, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";
|
|
@@ -16,11 +16,27 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
16
16
|
this.__registerHost();
|
|
17
17
|
this.__attachShadow();
|
|
18
18
|
this.duetToggle = createEvent(this, "duetToggle", 7);
|
|
19
|
+
this.setOpenButton = (element) => {
|
|
20
|
+
if (!element) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
try {
|
|
24
|
+
const button = element;
|
|
25
|
+
button.accessiblePopup = "true";
|
|
26
|
+
button.accessibleExpanded = false;
|
|
27
|
+
button.setAttribute("trailing-icon", "action-arrow-down-small");
|
|
28
|
+
this.openButton = button;
|
|
29
|
+
}
|
|
30
|
+
catch (_e) { }
|
|
31
|
+
};
|
|
32
|
+
this.openButtonEventListener = () => {
|
|
33
|
+
this.toggle();
|
|
34
|
+
};
|
|
19
35
|
this.updatePlacement = async () => {
|
|
20
|
-
if (!this.
|
|
36
|
+
if (!this.openButton) {
|
|
21
37
|
return;
|
|
22
38
|
}
|
|
23
|
-
const coordinates = await computePosition(this.
|
|
39
|
+
const coordinates = await computePosition(this.openButton, this.menuElement, {
|
|
24
40
|
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
25
41
|
placement: this.placement,
|
|
26
42
|
strategy: this.position,
|
|
@@ -52,6 +68,15 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
52
68
|
this.updatePlacement();
|
|
53
69
|
}
|
|
54
70
|
}
|
|
71
|
+
connectedCallback() {
|
|
72
|
+
this.handleControllerChange(this.controller, null);
|
|
73
|
+
}
|
|
74
|
+
disconnectedCallback() {
|
|
75
|
+
if (this.openButton) {
|
|
76
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
77
|
+
this.openButton.removeAttribute("trailing-icon");
|
|
78
|
+
}
|
|
79
|
+
}
|
|
55
80
|
/**
|
|
56
81
|
* Component event handling.
|
|
57
82
|
*/
|
|
@@ -59,7 +84,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
59
84
|
if (this.open) {
|
|
60
85
|
// When Esc is pressed the menu should be closed
|
|
61
86
|
if (isEscapeKey(evt)) {
|
|
62
|
-
this.
|
|
87
|
+
this.focusOpenButton();
|
|
63
88
|
this.hide();
|
|
64
89
|
}
|
|
65
90
|
}
|
|
@@ -97,7 +122,7 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
97
122
|
}
|
|
98
123
|
}
|
|
99
124
|
handleClick(evt) {
|
|
100
|
-
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.
|
|
125
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.openButton);
|
|
101
126
|
if (this.open && isClickOutside) {
|
|
102
127
|
this.hide();
|
|
103
128
|
}
|
|
@@ -113,23 +138,12 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
113
138
|
*/
|
|
114
139
|
async show() {
|
|
115
140
|
this.open = true;
|
|
116
|
-
this.teleport.go();
|
|
117
|
-
if (this.accessibleRole === "menu") {
|
|
118
|
-
this.itemElements[0].setFocus();
|
|
119
|
-
}
|
|
120
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
121
|
-
this.updatePlacement();
|
|
122
141
|
}
|
|
123
142
|
/**
|
|
124
143
|
* Hide.
|
|
125
144
|
*/
|
|
126
145
|
async hide() {
|
|
127
146
|
this.open = false;
|
|
128
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
129
|
-
if (this.accessibleRole === "menu") {
|
|
130
|
-
this.focusController();
|
|
131
|
-
}
|
|
132
|
-
this.teleport.resume(200);
|
|
133
147
|
}
|
|
134
148
|
/**
|
|
135
149
|
* Toggle.
|
|
@@ -142,9 +156,53 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
142
156
|
this.show();
|
|
143
157
|
}
|
|
144
158
|
}
|
|
145
|
-
|
|
146
|
-
if (
|
|
147
|
-
|
|
159
|
+
handleControllerChange(newValue, oldValue) {
|
|
160
|
+
if (!!newValue === !!oldValue) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (typeof this.controller === "string") {
|
|
164
|
+
this.setOpenButton(document.getElementById(this.controller));
|
|
165
|
+
if (this.openButton) {
|
|
166
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
this.setOpenButton(this.controller);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
handleOpenChange(newValue, oldValue) {
|
|
174
|
+
if (!!newValue === !!oldValue) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
if (this.open && !oldValue) {
|
|
178
|
+
if (this.openButton) {
|
|
179
|
+
this.openButton.accessibleExpanded = true;
|
|
180
|
+
}
|
|
181
|
+
this.teleport.go(true);
|
|
182
|
+
this.updatePlacement();
|
|
183
|
+
setTimeout(() => {
|
|
184
|
+
if (this.accessibleRole === "menu") {
|
|
185
|
+
this.itemElements[0].setFocus();
|
|
186
|
+
}
|
|
187
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
188
|
+
}, 200);
|
|
189
|
+
}
|
|
190
|
+
else if (!this.open && oldValue) {
|
|
191
|
+
if (this.openButton) {
|
|
192
|
+
this.openButton.accessibleExpanded = false;
|
|
193
|
+
}
|
|
194
|
+
setTimeout(() => {
|
|
195
|
+
if (this.accessibleRole === "menu") {
|
|
196
|
+
this.focusOpenButton();
|
|
197
|
+
}
|
|
198
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
199
|
+
this.teleport.resume();
|
|
200
|
+
}, 200);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
focusOpenButton() {
|
|
204
|
+
if (this.open) {
|
|
205
|
+
focusElement(this.openButton);
|
|
148
206
|
}
|
|
149
207
|
}
|
|
150
208
|
get itemElements() {
|
|
@@ -163,18 +221,23 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
163
221
|
const positionStyles = {
|
|
164
222
|
top: `${this.menuY}px`,
|
|
165
223
|
left: `${this.menuX}px`,
|
|
224
|
+
position: this.position,
|
|
166
225
|
};
|
|
167
|
-
return (h(Host,
|
|
226
|
+
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))));
|
|
168
227
|
}
|
|
169
228
|
get element() { return this; }
|
|
229
|
+
static get watchers() { return {
|
|
230
|
+
"controller": ["handleControllerChange"],
|
|
231
|
+
"open": ["handleOpenChange"]
|
|
232
|
+
}; }
|
|
170
233
|
static get style() { return duetPopupMenuCss; }
|
|
171
234
|
}, [1, "duet-popup-menu", {
|
|
172
235
|
"accessibleLabel": [1, "accessible-label"],
|
|
173
236
|
"accessibleRole": [1, "accessible-role"],
|
|
174
237
|
"theme": [1025],
|
|
175
|
-
"controller": [
|
|
238
|
+
"controller": [1],
|
|
176
239
|
"placement": [1],
|
|
177
|
-
"position": [
|
|
240
|
+
"position": [1025],
|
|
178
241
|
"mainAxisOffset": [2, "main-axis-offset"],
|
|
179
242
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
180
243
|
"open": [32],
|
|
@@ -184,7 +247,10 @@ const DuetPopupMenu$1 = /*@__PURE__*/ proxyCustomElement(class DuetPopupMenu ext
|
|
|
184
247
|
"show": [64],
|
|
185
248
|
"hide": [64],
|
|
186
249
|
"toggle": [64]
|
|
187
|
-
}, [[8, "keyup", "handleKeyUp"], [8, "keydown", "handleKeyDown"], [8, "click", "handleClick"]]
|
|
250
|
+
}, [[8, "keyup", "handleKeyUp"], [8, "keydown", "handleKeyDown"], [8, "click", "handleClick"]], {
|
|
251
|
+
"controller": ["handleControllerChange"],
|
|
252
|
+
"open": ["handleOpenChange"]
|
|
253
|
+
}]);
|
|
188
254
|
function defineCustomElement$1() {
|
|
189
255
|
if (typeof customElements === "undefined") {
|
|
190
256
|
return;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetProgress$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetProgress$1, d as defineCustomElement$1 } from './p-42a1b569.js';
|
|
5
5
|
|
|
6
6
|
const DuetProgress = DuetProgress$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|