@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
|
@@ -99,4 +99,14 @@
|
|
|
99
99
|
}
|
|
100
100
|
.duet-promo-card.duet-theme-turva .content-wrapper:focus {
|
|
101
101
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.duet-promo-card-link {
|
|
105
|
+
transition: box-shadow 300ms ease;
|
|
106
|
+
}
|
|
107
|
+
.duet-promo-card-link:hover {
|
|
108
|
+
box-shadow: 0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1);
|
|
109
|
+
}
|
|
110
|
+
.duet-promo-card-link:hover.duet-theme-turva {
|
|
111
|
+
box-shadow: 0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15);
|
|
102
112
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
-
import {
|
|
6
|
+
import { checkNamedSlotElement, hasSlot } from "../../utils/slot-utils";
|
|
7
7
|
import { getColorByName } from "../../utils/token-utils";
|
|
8
8
|
/**
|
|
9
9
|
* @slot pre-heading - Slot for pre-heading content.
|
|
@@ -26,13 +26,17 @@ export class DuetPromoCard {
|
|
|
26
26
|
*/
|
|
27
27
|
componentWillLoad() {
|
|
28
28
|
inheritGlobalTheme(this);
|
|
29
|
-
this.hasPreHeadingSlot =
|
|
30
|
-
this.hasHeadingSlot =
|
|
31
|
-
this.hasDescriptionSlot =
|
|
32
|
-
this.hasActionSlot =
|
|
29
|
+
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
30
|
+
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
31
|
+
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
32
|
+
this.hasActionSlot = hasSlot(this.element, "action");
|
|
33
|
+
checkNamedSlotElement(this.element, "heading", "span");
|
|
34
|
+
checkNamedSlotElement(this.element, "description", "span");
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
|
-
* Sets focus on underlying a element
|
|
37
|
+
* Sets focus on underlying a element.
|
|
38
|
+
* Available only when url attribute is used.
|
|
39
|
+
* Use this method instead of the native `focus()`.
|
|
36
40
|
*/
|
|
37
41
|
async setFocus(options) {
|
|
38
42
|
if (this.url && this.aOrDivElement) {
|
|
@@ -53,7 +57,8 @@ export class DuetPromoCard {
|
|
|
53
57
|
"duet-promo-card": true,
|
|
54
58
|
"duet-theme-turva": this.theme === "turva",
|
|
55
59
|
"no-bg-color": !this.backgroundColor,
|
|
56
|
-
|
|
60
|
+
"duet-promo-card-link": !!this.url,
|
|
61
|
+
}, style: bannerStyles }, h(TagName, { href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, h("img", { class: "image", src: this.image, alt: "", role: "presentation" }), h("div", { class: "content" }, this.hasPreHeadingSlot && (h("div", { class: "pre-heading" }, h("slot", { name: "pre-heading" }))), this.hasHeadingSlot && (h("div", { class: "heading" }, h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (h("div", { class: "description" }, h("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "description" }))))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" }))))))));
|
|
57
62
|
}
|
|
58
63
|
static get is() { return "duet-promo-card"; }
|
|
59
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -249,7 +254,7 @@ export class DuetPromoCard {
|
|
|
249
254
|
"return": "Promise<void>"
|
|
250
255
|
},
|
|
251
256
|
"docs": {
|
|
252
|
-
"text": "Sets focus on underlying a element when url attribute is used
|
|
257
|
+
"text": "Sets focus on underlying a element.\nAvailable only when url attribute is used.\nUse this method instead of the native `focus()`.",
|
|
253
258
|
"tags": []
|
|
254
259
|
}
|
|
255
260
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
-
import {
|
|
6
|
+
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
7
7
|
import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
|
|
8
8
|
/**
|
|
9
9
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
@@ -72,6 +72,7 @@ export class DuetRadioGroup {
|
|
|
72
72
|
}
|
|
73
73
|
componentWillLoad() {
|
|
74
74
|
inheritGlobalTheme(this);
|
|
75
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
75
76
|
}
|
|
76
77
|
/**
|
|
77
78
|
* Local methods.
|
|
@@ -115,7 +116,7 @@ export class DuetRadioGroup {
|
|
|
115
116
|
if (Build.isServer) {
|
|
116
117
|
return;
|
|
117
118
|
}
|
|
118
|
-
return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip"
|
|
119
|
+
return (h(Host, { onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, h("duet-fieldset", { label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (h("duet-tooltip", { slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), h("div", { class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, h("slot", null)))));
|
|
119
120
|
}
|
|
120
121
|
static get is() { return "duet-radio-group"; }
|
|
121
122
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
|
-
import {
|
|
7
|
+
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
8
8
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
9
9
|
function isOptionGroup(item) {
|
|
10
10
|
return "options" in item;
|
|
@@ -113,6 +113,7 @@ export class DuetSelect {
|
|
|
113
113
|
componentWillLoad() {
|
|
114
114
|
inheritGlobalTheme(this);
|
|
115
115
|
this.isCaptionVisible = !!this.caption;
|
|
116
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
116
117
|
this.refresh();
|
|
117
118
|
}
|
|
118
119
|
/**
|
|
@@ -163,7 +164,7 @@ export class DuetSelect {
|
|
|
163
164
|
[`duet-select-variation-${this.variation}`]: true,
|
|
164
165
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
165
166
|
"has-error": !!this.error,
|
|
166
|
-
} }, 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: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip"
|
|
167
|
+
} }, 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: identifier }, this.label), this.tooltip && (h("duet-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-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
167
168
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
168
169
|
}))), h("div", { class: {
|
|
169
170
|
"duet-select": true,
|
|
@@ -67,19 +67,19 @@
|
|
|
67
67
|
width: 100%;
|
|
68
68
|
height: 100%;
|
|
69
69
|
visibility: hidden;
|
|
70
|
-
background:
|
|
70
|
+
background: rgb(0, 41, 77);
|
|
71
71
|
opacity: 0;
|
|
72
72
|
transition: 600ms ease;
|
|
73
73
|
}
|
|
74
74
|
.duet-slideout .desktop-bg:not(.hidden) {
|
|
75
75
|
visibility: visible;
|
|
76
|
-
opacity:
|
|
76
|
+
opacity: 0.3;
|
|
77
77
|
transition: 600ms ease;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
@media (min-width: 62em) {
|
|
81
81
|
.duet-slideout.duet-theme-turva .desktop-bg {
|
|
82
|
-
background:
|
|
82
|
+
background: rgb(23, 28, 58);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
.duet-slideout .dialog {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host, } from "@stencil/core";
|
|
5
5
|
import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
|
|
6
|
-
import { hasSlot } from "../../common";
|
|
7
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
7
|
import { focusElement, FocusGuard } from "../../utils/focus-utils";
|
|
9
8
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
10
9
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
10
|
+
import { hasSlot } from "../../utils/slot-utils";
|
|
11
11
|
import { Teleport } from "../../utils/teleport";
|
|
12
12
|
import { getColorByName } from "../../utils/token-utils";
|
|
13
13
|
/**
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
|
-
import { hasSlot } from "../../common";
|
|
6
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
6
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
8
7
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
8
|
+
import { hasSlot } from "../../utils/slot-utils";
|
|
9
9
|
import { getColorByName } from "../../utils/token-utils";
|
|
10
10
|
/**
|
|
11
11
|
* @slot sticky-header - Content will be fixed to the top of the modal when scrolling.
|
|
@@ -141,7 +141,8 @@
|
|
|
141
141
|
position: absolute;
|
|
142
142
|
width: 100%;
|
|
143
143
|
height: 100%;
|
|
144
|
-
background:
|
|
144
|
+
background: rgb(0, 41, 77);
|
|
145
|
+
opacity: 0.3;
|
|
145
146
|
}
|
|
146
147
|
@media (min-width: 62em) {
|
|
147
148
|
.duet-submenu-bar .mobile-background {
|
|
@@ -159,7 +160,7 @@
|
|
|
159
160
|
background: rgb(245, 245, 247);
|
|
160
161
|
}
|
|
161
162
|
.duet-submenu-bar.duet-theme-turva .mobile-background {
|
|
162
|
-
background:
|
|
163
|
+
background: rgb(23, 28, 58);
|
|
163
164
|
}
|
|
164
165
|
.duet-submenu-bar.duet-theme-turva .shadow-container .top-shadow {
|
|
165
166
|
box-shadow: 0 2px 6px 0 rgba(23, 28, 58, 0.07);
|
|
@@ -5,7 +5,7 @@ import { Build, h, Host, } from "@stencil/core";
|
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { cleanValue } from "../../utils/input-utils";
|
|
8
|
-
import {
|
|
8
|
+
import { checkNamedSlotElement } from "../../utils/slot-utils";
|
|
9
9
|
const CharacterCount = ({ value, maxlength, label, theme }) => {
|
|
10
10
|
if (maxlength == null) {
|
|
11
11
|
return;
|
|
@@ -130,6 +130,7 @@ export class DuetTextarea {
|
|
|
130
130
|
inheritGlobalTheme(this);
|
|
131
131
|
this.disallowedPatternChange();
|
|
132
132
|
this.isCaptionVisible = !!this.caption;
|
|
133
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
133
134
|
if (this.counter && this.maxlength == null) {
|
|
134
135
|
console.warn("[DUET WARNING]: counter will only take effect if maxlength is set");
|
|
135
136
|
}
|
|
@@ -166,7 +167,7 @@ export class DuetTextarea {
|
|
|
166
167
|
"duet-label-hidden": this.labelHidden,
|
|
167
168
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
168
169
|
"has-error": !!this.error,
|
|
169
|
-
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip"
|
|
170
|
+
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
170
171
|
this.hiddenCounterLabel = el;
|
|
171
172
|
} })))));
|
|
172
173
|
}
|
|
@@ -5,23 +5,74 @@ import { formatViolations, options as axeRunOptions, testWithAxe } from "../../u
|
|
|
5
5
|
describe("[a11y] duet-toolbar", () => {
|
|
6
6
|
it("should render an accessible component", async () => {
|
|
7
7
|
const result = await testWithAxe(`
|
|
8
|
-
<duet-toolbar>
|
|
8
|
+
<duet-toolbar accessible-label="Secondary">
|
|
9
9
|
<div slot="left">
|
|
10
|
-
<duet-toolbar-
|
|
11
|
-
<duet-toolbar-
|
|
12
|
-
<duet-toolbar-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<duet-
|
|
16
|
-
|
|
10
|
+
<duet-toolbar-item url="#henkiloasiakkaat" active>Henkilöasiakkaat</duet-toolbar-item>
|
|
11
|
+
<duet-toolbar-item url="#yritysasiakkaat">Yritysasiakkaat</duet-toolbar-item>
|
|
12
|
+
<duet-toolbar-item url="#maatila-asiakkaat">Maatila-asiakkaat</duet-toolbar-item>
|
|
13
|
+
<duet-toolbar-item leading-icon="navigation-language" id="toolbar-item-yhtioryhma">Yhtiöryhmä</duet-toolbar-item>
|
|
14
|
+
<duet-popup-menu controller="toolbar-item-yhtioryhma" accessible-role="list" skip-teleport>
|
|
15
|
+
<duet-popup-menu-item accessible-role="listitem">Valinta</duet-popup-menu-item>
|
|
16
|
+
<duet-popup-menu-item accessible-role="listitem">Valinta</duet-popup-menu-item>
|
|
17
|
+
<duet-popup-menu-item accessible-role="listitem">Valinta</duet-popup-menu-item>
|
|
18
|
+
</duet-popup-menu>
|
|
17
19
|
</div>
|
|
18
20
|
<div slot="right">
|
|
19
|
-
<duet-toolbar-
|
|
20
|
-
<duet-
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
<duet-toolbar-item id="desktop-search-opener" url="#search" icon="form-search">Hae</duet-toolbar-item>
|
|
22
|
+
<duet-slideout opener="desktop-search-opener" accessible-role="generic">
|
|
23
|
+
<div slot="sticky-header">
|
|
24
|
+
<duet-grid alignment="center" style="gap: var(--space-small)">
|
|
25
|
+
<duet-icon name="form-search" size="medium" margin="none"></duet-icon>
|
|
26
|
+
<duet-heading visual-level="h3" fixed-size margin="none">Haku</duet-heading>
|
|
27
|
+
</duet-grid>
|
|
28
|
+
<duet-spacer></duet-spacer>
|
|
29
|
+
<duet-input type="text" expand label="Haku" label-hidden clear="true"></duet-input>
|
|
30
|
+
</div>
|
|
31
|
+
<duet-spacer size="x-small"></duet-spacer>
|
|
32
|
+
<div>
|
|
33
|
+
<duet-heading level="h3" visual-level="h6">Usein haettua</duet-heading>
|
|
34
|
+
<div role="list">
|
|
35
|
+
<duet-popup-menu-item leading-icon="navigation-arrow-right" leading-icon-color="primary" url="#" accessible-role="listitem">Autovakuutus</duet-popup-menu-item>
|
|
36
|
+
<duet-popup-menu-item leading-icon="navigation-arrow-right" leading-icon-color="primary" url="#" accessible-role="listitem">Lapsiturva</duet-popup-menu-item>
|
|
37
|
+
<duet-popup-menu-item leading-icon="navigation-arrow-right" leading-icon-color="primary" url="#" accessible-role="listitem">Rahastosäästäminen</duet-popup-menu-item>
|
|
38
|
+
<duet-popup-menu-item leading-icon="navigation-arrow-right" leading-icon-color="primary" url="#" accessible-role="listitem">Henkivakuutus</duet-popup-menu-item>
|
|
39
|
+
<duet-popup-menu-item leading-icon="navigation-arrow-right" leading-icon-color="primary" url="#" accessible-role="listitem">Varainhoito</duet-popup-menu-item>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<duet-divider></duet-divider>
|
|
43
|
+
<div>
|
|
44
|
+
<duet-heading level="h3" visual-level="h6" color="gray-darker">Ehdotetut haut</duet-heading>
|
|
45
|
+
<div role="list">
|
|
46
|
+
<duet-popup-menu-item leading-icon="form-search" leading-icon-color="primary" accessible-role="listitem"><b>auto</b>vakuutus</duet-popup-menu-item>
|
|
47
|
+
<duet-popup-menu-item leading-icon="form-search" leading-icon-color="primary" accessible-role="listitem">sähkö<b>auto</b>n vakuutus</duet-popup-menu-item>
|
|
48
|
+
<duet-popup-menu-item leading-icon="form-search" leading-icon-color="primary" accessible-role="listitem"><b>auto</b>maattinen korvauskäsittely</duet-popup-menu-item>
|
|
49
|
+
<duet-popup-menu-item leading-icon="form-search" leading-icon-color="primary" accessible-role="listitem"><b>auto</b>tie</duet-popup-menu-item>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<duet-spacer size="large"></duet-spacer>
|
|
53
|
+
<div>
|
|
54
|
+
<duet-heading level="h3" visual-level="h6" color="gray-darker">Hakutulokset termillä 'auto' (93)</duet-heading>
|
|
55
|
+
<ul style="list-style: none; padding: 0;">
|
|
56
|
+
<li style="padding: var(--space-medium) 0;">
|
|
57
|
+
<duet-button url="#" variation="plain" margin="none" padding="none" fixed>Autovakuutus</duet-button>
|
|
58
|
+
<duet-paragraph margin="none">Halvin autovakuutus ei aina ole järkevin vaihtoehto. Suosittelemme vakuutusten sisällön vertailua ja huomioimaan erityisesti...</duet-paragraph>
|
|
59
|
+
<duet-spacer size="xx-small"></duet-spacer>
|
|
60
|
+
<duet-breadcrumbs variation="plain" color="gray-darker">
|
|
61
|
+
<span><duet-breadcrumb icon="">Henkilöasiakas</duet-breadcrumb></span>
|
|
62
|
+
<span><duet-breadcrumb >Vakuutukset</duet-breadcrumb></span>
|
|
63
|
+
<span><duet-breadcrumb>Ajoneuvot</duet-breadcrumb></span>
|
|
64
|
+
<span><duet-breadcrumb>Autovakuutus</duet-breadcrumb></span>
|
|
65
|
+
</duet-breadcrumbs>
|
|
66
|
+
</li>
|
|
67
|
+
</ul>
|
|
68
|
+
</div>
|
|
69
|
+
</duet-slideout>
|
|
70
|
+
<duet-toolbar-item accessible-label="Valitse kieli" leading-icon="navigation-language" id="toolbar-item-language">FI</duet-toolbar-item>
|
|
71
|
+
<duet-popup-menu controller="toolbar-item-language" accessible-role="list" skip-teleport>
|
|
72
|
+
<duet-popup-menu-item accessible-role="listitem" accessible-label="Vaihda kieli suomeksi" active>Suomeksi</duet-popup-menu-item>
|
|
73
|
+
<duet-popup-menu-item accessible-role="listitem" accessible-label="Byt språk till svenska" target-language="sv">På Svenska</duet-popup-menu-item>
|
|
74
|
+
<duet-popup-menu-item accessible-role="listitem" accessible-label="Change language to English" target-language="en">In English</duet-popup-menu-item>
|
|
75
|
+
</duet-popup-menu>
|
|
25
76
|
</div>
|
|
26
77
|
</duet-toolbar>
|
|
27
78
|
`, axeRunOptions);
|
|
@@ -18,19 +18,6 @@ export class DuetToolbar {
|
|
|
18
18
|
*/
|
|
19
19
|
componentWillLoad() {
|
|
20
20
|
inheritGlobalTheme(this);
|
|
21
|
-
const children = Array.from(this.element.children);
|
|
22
|
-
for (const child of children) {
|
|
23
|
-
if (child.getAttribute("slot") === "left") {
|
|
24
|
-
for (const slotChild of Array.from(child.children)) {
|
|
25
|
-
slotChild.setAttribute("role", "listitem");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
else if (child.getAttribute("slot") === "right") {
|
|
29
|
-
for (const slotChild of Array.from(child.children)) {
|
|
30
|
-
slotChild.setAttribute("role", "listitem");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
21
|
}
|
|
35
22
|
/**
|
|
36
23
|
* render() function
|
|
@@ -50,7 +50,7 @@ export class DuetToolbarDropdown {
|
|
|
50
50
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
51
51
|
}
|
|
52
52
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
53
|
-
return (h(Host,
|
|
53
|
+
return (h(Host, { role: "listitem" }, h("div", { class: {
|
|
54
54
|
"duet-toolbar-dropdown": true,
|
|
55
55
|
"duet-theme-turva": this.theme === "turva",
|
|
56
56
|
[itemsAlign]: true,
|
|
@@ -35,7 +35,7 @@ export class DuetToolbarDropdownLink {
|
|
|
35
35
|
"duet-toolbar-dropdown-link": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
active: this.active,
|
|
38
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("span", { class: "label" }, h("slot", null)), this.active && (h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
38
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && h("duet-icon", { name: this.icon, size: "x-small", margin: "none" }), h("span", { class: "label" }, h("slot", null)), this.active && (h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "duet-toolbar-dropdown-link"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.duet-toolbar-item {
|
|
27
|
+
position: relative;
|
|
28
|
+
display: flex;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
height: 100%;
|
|
33
|
+
padding: 0 16px;
|
|
34
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
35
|
+
font-size: 0.875rem;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
line-height: 1.25;
|
|
38
|
+
color: rgb(0, 77, 128);
|
|
39
|
+
text-align: center;
|
|
40
|
+
text-decoration: none;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
.duet-toolbar-item:focus {
|
|
45
|
+
outline: 0;
|
|
46
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3;
|
|
47
|
+
}
|
|
48
|
+
.duet-theme-turva .duet-toolbar-item:focus, .duet-toolbar-item:focus.duet-theme-turva {
|
|
49
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
50
|
+
}
|
|
51
|
+
.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate {
|
|
52
|
+
transform: rotate(180deg);
|
|
53
|
+
}
|
|
54
|
+
.duet-toolbar-item.negative {
|
|
55
|
+
color: rgb(255, 255, 255);
|
|
56
|
+
}
|
|
57
|
+
.duet-toolbar-item.negative duet-icon {
|
|
58
|
+
color: rgb(205, 229, 241);
|
|
59
|
+
}
|
|
60
|
+
.duet-toolbar-item.duet-theme-turva {
|
|
61
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
62
|
+
color: rgb(23, 28, 58);
|
|
63
|
+
}
|
|
64
|
+
.duet-toolbar-item.duet-theme-turva.negative {
|
|
65
|
+
color: rgb(255, 255, 255);
|
|
66
|
+
}
|
|
67
|
+
.duet-toolbar-item.duet-theme-turva.negative duet-icon {
|
|
68
|
+
color: rgb(244, 207, 214);
|
|
69
|
+
}
|
|
70
|
+
.duet-toolbar-item:hover {
|
|
71
|
+
color: rgb(0, 41, 77);
|
|
72
|
+
background: rgb(243, 249, 252);
|
|
73
|
+
}
|
|
74
|
+
.duet-toolbar-item:hover.negative {
|
|
75
|
+
color: rgb(255, 255, 255);
|
|
76
|
+
background: rgba(0, 41, 77, 0.2);
|
|
77
|
+
}
|
|
78
|
+
.duet-toolbar-item:hover.duet-theme-turva {
|
|
79
|
+
color: rgb(23, 28, 58);
|
|
80
|
+
background: rgb(245, 245, 247);
|
|
81
|
+
}
|
|
82
|
+
.duet-toolbar-item:hover.duet-theme-turva.negative {
|
|
83
|
+
color: rgb(255, 255, 255);
|
|
84
|
+
background: rgba(23, 28, 58, 0.2);
|
|
85
|
+
}
|
|
86
|
+
.duet-toolbar-item.active {
|
|
87
|
+
color: rgb(0, 41, 77);
|
|
88
|
+
}
|
|
89
|
+
.duet-toolbar-item.active.negative {
|
|
90
|
+
font-weight: 600;
|
|
91
|
+
color: rgb(255, 255, 255);
|
|
92
|
+
background: rgba(23, 28, 58, 0.2);
|
|
93
|
+
}
|
|
94
|
+
.duet-toolbar-item.active.negative::after {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
.duet-toolbar-item.active::after {
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: auto;
|
|
100
|
+
bottom: 1px;
|
|
101
|
+
left: 0;
|
|
102
|
+
display: block;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 1px;
|
|
105
|
+
content: "";
|
|
106
|
+
background: rgb(0, 119, 179);
|
|
107
|
+
transition: 300ms ease;
|
|
108
|
+
transform: translateY(1px);
|
|
109
|
+
}
|
|
110
|
+
.duet-toolbar-item.active::after.duet-theme-turva {
|
|
111
|
+
background: rgb(198, 12, 48);
|
|
112
|
+
}
|
|
113
|
+
.duet-toolbar-item.active.duet-theme-turva {
|
|
114
|
+
color: rgb(23, 28, 58);
|
|
115
|
+
}
|
|
116
|
+
.duet-toolbar-item.active.duet-theme-turva::after {
|
|
117
|
+
background: rgb(198, 12, 48);
|
|
118
|
+
}
|
|
119
|
+
.duet-toolbar-item.active.duet-theme-turva.negative {
|
|
120
|
+
color: rgb(255, 255, 255);
|
|
121
|
+
background: rgba(23, 28, 58, 0.2);
|
|
122
|
+
}
|