@duetds/components 8.5.1 → 8.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +167 -248
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -2
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +23 -11
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +20 -8
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -36
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +18 -17
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +12 -7
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +14 -7
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -36
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -15
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -21
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{floating-ui.dom.esm-91f66430.js → floating-ui.dom.esm-806e7c53.js} +69 -0
- package/lib/cjs/{focus-utils-e1cd19ee.js → focus-utils-1da87e8d.js} +1 -1
- package/lib/cjs/{index-549a7702.js → index-819a454b.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{teleport-6a1f83a1.js → teleport-a2fa9434.js} +37 -29
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -6
- package/lib/collection/components/duet-combobox/duet-combobox.js +22 -10
- package/lib/collection/components/duet-icon/duet-icon.css +149 -135
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -5
- package/lib/collection/components/duet-icon/duet-icon.js +32 -10
- package/lib/collection/components/duet-link/duet-link.css +4 -0
- package/lib/collection/components/duet-link/duet-link.js +26 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +16 -0
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +3 -39
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +1 -34
- package/lib/collection/components/duet-modal/duet-modal.js +20 -16
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +11 -4
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +16 -0
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +3 -39
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +10 -16
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +4 -32
- package/lib/collection/utils/teleport.js +37 -29
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +6 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +24 -12
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +4 -4
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -38
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +25 -24
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +11 -6
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +15 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +6 -38
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +19 -19
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-f111aa04.js → p-0324c76b.js} +1 -1
- package/lib/dist-custom-elements/{p-b1c54404.js → p-0bca2094.js} +2 -2
- package/lib/dist-custom-elements/{p-e61e745f.js → p-17cca138.js} +1 -1
- package/lib/dist-custom-elements/{p-e4eeb350.js → p-1ec7b44f.js} +10 -18
- package/lib/dist-custom-elements/{p-e44089a7.js → p-22557cb2.js} +2 -2
- package/lib/dist-custom-elements/{p-7f8b3939.js → p-2a03d339.js} +1 -1
- package/lib/{esm/floating-ui.dom.esm-34e0a5fa.js → dist-custom-elements/p-31ed51c3.js} +69 -1
- package/lib/dist-custom-elements/{p-c622edcc.js → p-4c8393bf.js} +6 -6
- package/lib/dist-custom-elements/{p-95c051bc.js → p-5171abf7.js} +1 -1
- package/lib/dist-custom-elements/{p-95c03966.js → p-588a9396.js} +1 -1
- package/lib/dist-custom-elements/{p-13bfc699.js → p-58f151c4.js} +1 -1
- package/lib/dist-custom-elements/{p-9a81bb97.js → p-5c203542.js} +1 -1
- package/lib/dist-custom-elements/{p-309d40ca.js → p-5d3d7f6a.js} +2 -2
- package/lib/dist-custom-elements/{p-967a8f13.js → p-6451129b.js} +2 -2
- package/lib/dist-custom-elements/{p-1156248d.js → p-72098dd1.js} +1 -1
- package/lib/dist-custom-elements/{p-ccdff614.js → p-7796b4bf.js} +37 -29
- package/lib/dist-custom-elements/{p-1d0794c9.js → p-77b6f913.js} +2 -2
- package/lib/dist-custom-elements/{p-4c9ec608.js → p-77e0f32d.js} +1 -1
- package/lib/dist-custom-elements/{p-771e2eca.js → p-7f57ba5d.js} +1 -1
- package/lib/dist-custom-elements/{p-efd41b98.js → p-849b7d71.js} +5 -5
- package/lib/dist-custom-elements/{p-b7523459.js → p-8921151e.js} +10 -10
- package/lib/dist-custom-elements/{p-a33222ce.js → p-8bfe29b8.js} +4 -4
- package/lib/dist-custom-elements/{p-204592de.js → p-8d55b737.js} +1 -1
- package/lib/dist-custom-elements/{p-a6ab22be.js → p-92b9e48c.js} +1 -1
- package/lib/dist-custom-elements/{p-a8fcb246.js → p-97bc000a.js} +8 -8
- package/lib/dist-custom-elements/{p-2a725cd8.js → p-9d84642c.js} +1 -1
- package/lib/dist-custom-elements/{p-b5ab75f4.js → p-ae8ebd75.js} +1 -1
- package/lib/dist-custom-elements/{p-0cb122bf.js → p-b0c3a9fe.js} +2 -2
- package/lib/dist-custom-elements/p-b6978bc4.js +217 -0
- package/lib/dist-custom-elements/{p-05cfef82.js → p-b9d8e51d.js} +1 -1
- package/lib/dist-custom-elements/{p-cfc01f01.js → p-c279897e.js} +5 -5
- package/lib/dist-custom-elements/{p-66a72b57.js → p-c51dab55.js} +1 -1
- package/lib/dist-custom-elements/{p-ce8ea46e.js → p-cc32aec2.js} +3 -3
- package/lib/dist-custom-elements/{p-6d835c97.js → p-d84c990e.js} +10 -10
- package/lib/dist-custom-elements/{p-47534dc7.js → p-e20d474e.js} +1 -1
- package/lib/dist-custom-elements/{p-2fa3041f.js → p-e4ab2ca9.js} +6 -3
- package/lib/dist-custom-elements/{p-1b6c466c.js → p-e71332b0.js} +10 -26
- package/lib/dist-custom-elements/{p-18f2ebcd.js → p-f35c9559.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-f789f606.entry.js → p-0547bd78.entry.js} +1 -1
- package/lib/duet/{p-446d5ba7.system.entry.js → p-0684ecec.system.entry.js} +1 -1
- package/lib/duet/{p-42139e5a.system.entry.js → p-08a24cb5.system.entry.js} +1 -1
- package/lib/duet/{p-620cedba.entry.js → p-0bab798b.entry.js} +1 -1
- package/lib/duet/{p-1e75d2c2.entry.js → p-0bf0b59f.entry.js} +1 -1
- package/lib/duet/{p-ac5eb233.entry.js → p-0c45a4f4.entry.js} +1 -1
- package/lib/duet/{p-e14bba59.entry.js → p-0f64f352.entry.js} +1 -1
- package/lib/duet/{p-79aa2820.system.entry.js → p-1168ee85.system.entry.js} +1 -1
- package/lib/duet/{p-db25d820.system.entry.js → p-12c6d666.system.entry.js} +1 -1
- package/lib/duet/{p-bb65547e.system.entry.js → p-14518f0b.system.entry.js} +1 -1
- package/lib/duet/p-15d65ccc.system.js +4 -0
- package/lib/duet/p-17168f52.entry.js +4 -0
- package/lib/duet/{p-86b4751c.system.entry.js → p-175ddea1.system.entry.js} +1 -1
- package/lib/duet/{p-e4eeac5d.entry.js → p-179e43b4.entry.js} +1 -1
- package/lib/duet/p-18bd3ba5.system.js +4 -0
- package/lib/duet/{p-37ae40e9.system.entry.js → p-18f400c1.system.entry.js} +1 -1
- package/lib/duet/{p-bdb89a57.entry.js → p-19d63d71.entry.js} +1 -1
- package/lib/duet/{p-3f86b484.system.entry.js → p-1ac8b8be.system.entry.js} +1 -1
- package/lib/duet/{p-f447dc6b.system.entry.js → p-1bba69c2.system.entry.js} +1 -1
- package/lib/duet/p-1c3f4b12.entry.js +4 -0
- package/lib/duet/{p-ebdf6136.system.entry.js → p-1e9b8854.system.entry.js} +1 -1
- package/lib/duet/{p-1de381e2.system.entry.js → p-2050de53.system.entry.js} +1 -1
- package/lib/duet/{p-31fe1d1a.system.entry.js → p-20aeb938.system.entry.js} +1 -1
- package/lib/duet/{p-8c088f60.entry.js → p-221d1a74.entry.js} +1 -1
- package/lib/duet/{p-803acead.system.entry.js → p-22985302.system.entry.js} +1 -1
- package/lib/duet/{p-a2becf94.entry.js → p-23cdd84f.entry.js} +1 -1
- package/lib/duet/p-24037755.entry.js +4 -0
- package/lib/duet/{p-3b859909.system.entry.js → p-2931db50.system.entry.js} +1 -1
- package/lib/duet/{p-fae3a8e7.entry.js → p-29e95017.entry.js} +1 -1
- package/lib/duet/{p-5241ef6c.system.entry.js → p-2cc794d6.system.entry.js} +1 -1
- package/lib/duet/{p-986e6e20.system.entry.js → p-2dc8d5a6.system.entry.js} +1 -1
- package/lib/duet/p-2e39a453.entry.js +4 -0
- package/lib/duet/{p-3a5a9947.entry.js → p-2f68f3c2.entry.js} +1 -1
- package/lib/duet/{p-45f3e361.system.entry.js → p-30409ba9.system.entry.js} +1 -1
- package/lib/duet/p-313ef505.entry.js +4 -0
- package/lib/duet/p-31ed51c3.js +4 -0
- package/lib/duet/p-32f6613e.entry.js +4 -0
- package/lib/duet/{p-2d1aa4bb.entry.js → p-3378ac3d.entry.js} +1 -1
- package/lib/duet/{p-afd9fa1e.entry.js → p-343e2f83.entry.js} +1 -1
- package/lib/duet/{p-c61b7a67.entry.js → p-367dc390.entry.js} +1 -1
- package/lib/duet/{p-bd3e6f66.entry.js → p-36dc5351.entry.js} +1 -1
- package/lib/duet/{p-5781142a.system.entry.js → p-37aabf2c.system.entry.js} +1 -1
- package/lib/duet/{p-50c4e263.system.entry.js → p-3a1aca3a.system.entry.js} +1 -1
- package/lib/duet/{p-ccb310bf.entry.js → p-3b2cdc3b.entry.js} +1 -1
- package/lib/duet/{p-d5c7c1a6.entry.js → p-3e5e7ce2.entry.js} +1 -1
- package/lib/duet/{p-be289587.entry.js → p-3feb745e.entry.js} +1 -1
- package/lib/duet/{p-d620395a.entry.js → p-40a4d7b9.entry.js} +1 -1
- package/lib/duet/{p-20533062.system.entry.js → p-42a5047a.system.entry.js} +1 -1
- package/lib/duet/{p-dfb38e8b.entry.js → p-4686978c.entry.js} +1 -1
- package/lib/duet/p-482d2236.system.entry.js +4 -0
- package/lib/duet/{p-4a2dc59a.system.entry.js → p-4926ce78.system.entry.js} +1 -1
- package/lib/duet/{p-87e3f51e.entry.js → p-4c2eb04c.entry.js} +1 -1
- package/lib/duet/{p-76928c65.system.entry.js → p-4d4f1b20.system.entry.js} +1 -1
- package/lib/duet/{p-c9ecaf47.system.entry.js → p-4e108d92.system.entry.js} +1 -1
- package/lib/duet/p-4e1cee72.entry.js +4 -0
- package/lib/duet/{p-69b543fa.system.entry.js → p-4e240957.system.entry.js} +1 -1
- package/lib/duet/{p-31cc0bd5.entry.js → p-4e8f8ac1.entry.js} +1 -1
- package/lib/duet/{p-8c8dbb29.entry.js → p-4fff59f2.entry.js} +1 -1
- package/lib/duet/p-5040a3ed.js +4 -0
- package/lib/duet/{p-db42dba7.entry.js → p-51b36ffa.entry.js} +1 -1
- package/lib/duet/{p-87d6d6d1.entry.js → p-51c0483b.entry.js} +1 -1
- package/lib/duet/{p-cf17a64c.entry.js → p-546747ec.entry.js} +1 -1
- package/lib/duet/{p-254e32d9.entry.js → p-55af8257.entry.js} +1 -1
- package/lib/duet/{p-84dd785f.system.entry.js → p-5cc0339f.system.entry.js} +1 -1
- package/lib/duet/{p-38a1721f.system.entry.js → p-5e92613d.system.entry.js} +1 -1
- package/lib/duet/{p-eb8322af.system.entry.js → p-5f10e1ea.system.entry.js} +1 -1
- package/lib/duet/{p-02a4fab4.system.entry.js → p-5fa53f8a.system.entry.js} +1 -1
- package/lib/duet/p-6014ede1.system.entry.js +4 -0
- package/lib/duet/{p-5807d4a1.entry.js → p-60259162.entry.js} +1 -1
- package/lib/duet/{p-dc79932a.system.entry.js → p-6099f3fb.system.entry.js} +1 -1
- package/lib/duet/{p-e1b17390.entry.js → p-62f7041d.entry.js} +1 -1
- package/lib/duet/p-65eff254.system.entry.js +4 -0
- package/lib/duet/{p-8aa594cc.system.entry.js → p-68d84306.system.entry.js} +1 -1
- package/lib/duet/{p-3087775d.system.entry.js → p-6a8742f2.system.entry.js} +1 -1
- package/lib/duet/{p-7a96b8b3.system.entry.js → p-6a9ca61c.system.entry.js} +1 -1
- package/lib/duet/{p-f42c2d6e.system.js → p-6ad43e56.system.js} +1 -1
- package/lib/duet/{p-23be59a9.system.entry.js → p-71515256.system.entry.js} +1 -1
- package/lib/duet/{p-00490c2d.system.entry.js → p-72778a90.system.entry.js} +1 -1
- package/lib/duet/{p-975eda35.system.entry.js → p-738c0ff2.system.entry.js} +1 -1
- package/lib/duet/{p-c7b0caee.entry.js → p-73a3d0d5.entry.js} +1 -1
- package/lib/duet/{p-8f46fcdc.system.entry.js → p-73fd201d.system.entry.js} +1 -1
- package/lib/duet/{p-10b6ecba.system.entry.js → p-75952117.system.entry.js} +1 -1
- package/lib/duet/{p-81b997f3.system.entry.js → p-777b84f1.system.entry.js} +1 -1
- package/lib/duet/p-7796b4bf.js +4 -0
- package/lib/duet/{p-74700e22.entry.js → p-785f9e07.entry.js} +1 -1
- package/lib/duet/{p-8db70218.system.js → p-786d4382.system.js} +1 -1
- package/lib/duet/{p-059954c5.entry.js → p-78cbf5d2.entry.js} +1 -1
- package/lib/duet/{p-ed752627.system.entry.js → p-7a7696ac.system.entry.js} +1 -1
- package/lib/duet/{p-24455de3.entry.js → p-7ba7b47f.entry.js} +1 -1
- package/lib/duet/{p-3a7d5532.entry.js → p-7df1b866.entry.js} +1 -1
- package/lib/duet/{p-e852decc.js → p-7fa02974.js} +1 -1
- package/lib/duet/{p-aaa21d34.system.entry.js → p-805eb8e3.system.entry.js} +1 -1
- package/lib/duet/{p-0aaa7c52.system.entry.js → p-81734a3a.system.entry.js} +1 -1
- package/lib/duet/{p-0c4706df.entry.js → p-8562b36b.entry.js} +1 -1
- package/lib/duet/{p-fa6b4be4.entry.js → p-85ea2570.entry.js} +1 -1
- package/lib/duet/{p-190d47de.entry.js → p-8620878b.entry.js} +1 -1
- package/lib/duet/{p-c109f676.entry.js → p-8866afd0.entry.js} +1 -1
- package/lib/duet/p-89acf338.system.entry.js +4 -0
- package/lib/duet/{p-46ce246d.entry.js → p-89bac079.entry.js} +1 -1
- package/lib/duet/{p-b60245fb.entry.js → p-8a036cbf.entry.js} +1 -1
- package/lib/duet/{p-ee5d6418.entry.js → p-8bdd6890.entry.js} +1 -1
- package/lib/duet/{p-ab7e3bc7.system.entry.js → p-8d889c82.system.entry.js} +1 -1
- package/lib/duet/p-8dd01035.entry.js +4 -0
- package/lib/duet/{p-e9a9c2ac.entry.js → p-8e8c6ab2.entry.js} +1 -1
- package/lib/duet/{p-148bc528.entry.js → p-915b6e8d.entry.js} +1 -1
- package/lib/duet/{p-cad03252.system.entry.js → p-94575af6.system.entry.js} +1 -1
- package/lib/duet/p-96a84cdb.system.entry.js +4 -0
- package/lib/duet/{p-49229ba1.system.entry.js → p-9710e8fa.system.entry.js} +1 -1
- package/lib/duet/{p-730aecdb.entry.js → p-97aeacd6.entry.js} +1 -1
- package/lib/duet/{p-f12a21c8.entry.js → p-984f1d97.entry.js} +1 -1
- package/lib/duet/{p-327e2019.system.entry.js → p-98b54241.system.entry.js} +1 -1
- package/lib/duet/{p-2b44092c.entry.js → p-a043b3a8.entry.js} +1 -1
- package/lib/duet/{p-106ce428.system.entry.js → p-a251d44e.system.entry.js} +1 -1
- package/lib/duet/{p-4112aa71.system.entry.js → p-a3ef882e.system.entry.js} +1 -1
- package/lib/duet/{p-969d0963.system.entry.js → p-a5485451.system.entry.js} +1 -1
- package/lib/duet/{p-9ca4671a.entry.js → p-a6551519.entry.js} +1 -1
- package/lib/duet/{p-6217ecbb.entry.js → p-a6bc69cd.entry.js} +1 -1
- package/lib/duet/{p-e638b5f1.system.entry.js → p-a994665b.system.entry.js} +1 -1
- package/lib/duet/{p-b82a3bc9.entry.js → p-aa6d31e1.entry.js} +1 -1
- package/lib/duet/{p-117a0b29.system.entry.js → p-ac11612f.system.entry.js} +1 -1
- package/lib/duet/{p-9dc68857.entry.js → p-ac743b44.entry.js} +1 -1
- package/lib/duet/p-ad44b276.entry.js +4 -0
- package/lib/duet/p-ad85b36c.entry.js +4 -0
- package/lib/duet/{p-181d6ed0.entry.js → p-af24effe.entry.js} +1 -1
- package/lib/duet/{p-22a8fb2e.system.entry.js → p-b79f22c6.system.entry.js} +1 -1
- package/lib/duet/p-bad97405.entry.js +4 -0
- package/lib/duet/p-bb7aa33d.entry.js +4 -0
- package/lib/duet/{p-b13ac0d6.system.entry.js → p-bbe54df5.system.entry.js} +1 -1
- package/lib/duet/p-be261fa6.entry.js +4 -0
- package/lib/duet/{p-f63a6bb7.system.entry.js → p-be9a003f.system.entry.js} +1 -1
- package/lib/duet/{p-f7462af1.system.entry.js → p-bee52277.system.entry.js} +1 -1
- package/lib/duet/{p-7a4fa93b.entry.js → p-bf2c1a2a.entry.js} +1 -1
- package/lib/duet/{p-41e58471.system.entry.js → p-bfd2e046.system.entry.js} +1 -1
- package/lib/duet/{p-88bddd9b.entry.js → p-c18c9caf.entry.js} +1 -1
- package/lib/duet/{p-cfbd8dea.system.entry.js → p-c2379aa7.system.entry.js} +1 -1
- package/lib/duet/{p-a6111d86.system.entry.js → p-c324d834.system.entry.js} +1 -1
- package/lib/duet/{p-bc437348.system.entry.js → p-c670bacb.system.entry.js} +1 -1
- package/lib/duet/{p-cd536e94.system.js → p-c6765203.system.js} +1 -1
- package/lib/duet/{p-d826cf0f.entry.js → p-c6bbf588.entry.js} +1 -1
- package/lib/duet/{p-a9227434.entry.js → p-c8b0833a.entry.js} +1 -1
- package/lib/duet/{p-520a3a42.entry.js → p-cbc9fc97.entry.js} +1 -1
- package/lib/duet/{p-bc4503a0.system.entry.js → p-cea43c89.system.entry.js} +1 -1
- package/lib/duet/p-cf5dd1d0.system.entry.js +4 -0
- package/lib/duet/p-d5304064.system.entry.js +4 -0
- package/lib/duet/{p-87b0ef7e.system.entry.js → p-d663f27c.system.entry.js} +1 -1
- package/lib/duet/{p-062800e3.entry.js → p-d746661d.entry.js} +1 -1
- package/lib/duet/{p-cee77d01.system.entry.js → p-d8eb6ee0.system.entry.js} +1 -1
- package/lib/duet/{p-5edba964.system.entry.js → p-e23c8158.system.entry.js} +1 -1
- package/lib/duet/{p-936f98fb.system.entry.js → p-e95183b6.system.entry.js} +1 -1
- package/lib/duet/{p-6e7b84a3.entry.js → p-e9810475.entry.js} +1 -1
- package/lib/duet/{p-1fba8c78.system.entry.js → p-ec7b1642.system.entry.js} +1 -1
- package/lib/duet/p-ee1ca75a.system.entry.js +4 -0
- package/lib/duet/{p-a026f0ad.system.entry.js → p-ee7055aa.system.entry.js} +1 -1
- package/lib/duet/p-ef8aa016.entry.js +4 -0
- package/lib/duet/{p-e4063faf.entry.js → p-f22b4c2f.entry.js} +1 -1
- package/lib/duet/{p-c9bc93f6.entry.js → p-f2bd127b.entry.js} +1 -1
- package/lib/duet/{p-abc309a5.entry.js → p-f37fe74f.entry.js} +1 -1
- package/lib/duet/{p-2be9b17b.system.entry.js → p-f39a78c8.system.entry.js} +1 -1
- package/lib/duet/{p-1ccbd436.system.entry.js → p-f3c4461a.system.entry.js} +1 -1
- package/lib/duet/{p-500206c3.system.entry.js → p-f44eecac.system.entry.js} +1 -1
- package/lib/duet/{p-03b3896d.system.entry.js → p-f4545a2e.system.entry.js} +1 -1
- package/lib/duet/{p-f69d61e7.system.entry.js → p-f48dd49d.system.entry.js} +1 -1
- package/lib/duet/{p-2c13773e.system.entry.js → p-f4ad07a4.system.entry.js} +1 -1
- package/lib/duet/{p-2528b528.entry.js → p-f4c1a602.entry.js} +1 -1
- package/lib/duet/{p-3093fa09.entry.js → p-f6c42700.entry.js} +1 -1
- package/lib/duet/{p-9bdb09d1.entry.js → p-f7af5b34.entry.js} +1 -1
- package/lib/duet/{p-f554c8ae.entry.js → p-f7d903c7.entry.js} +1 -1
- package/lib/duet/p-f8e4c60e.entry.js +4 -0
- package/lib/duet/{p-8f36d670.system.entry.js → p-fdca03c7.system.entry.js} +1 -1
- package/lib/duet/{p-55b8f2fc.system.entry.js → p-ff82bea9.system.entry.js} +1 -1
- package/lib/duet/p-ff86187d.entry.js +4 -0
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +4 -2
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +1 -1
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +23 -11
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +20 -8
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +5 -36
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +18 -17
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +12 -7
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +14 -7
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -36
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -15
- package/lib/esm/duet-tooltip.entry.js +5 -21
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/{dist-custom-elements/p-11e152cd.js → esm/floating-ui.dom.esm-01fcd83a.js} +69 -1
- package/lib/esm/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
- package/lib/esm/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{teleport-d66d62e4.js → teleport-13402d94.js} +37 -29
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +2 -2
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{floating-ui.dom.esm-34e0a5fa.js → floating-ui.dom.esm-01fcd83a.js} +1 -1
- package/lib/esm-es5/{focus-utils-2ec819ab.js → focus-utils-ab3ed36c.js} +1 -1
- package/lib/esm-es5/{index-70bb0f65.js → index-32b4aaf9.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{teleport-d66d62e4.js → teleport-13402d94.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-icon/duet-icon.d.ts +3 -3
- package/lib/types/components/duet-link/duet-link.d.ts +5 -1
- package/lib/types/components/duet-menu-bar-item/duet-menu-bar-item.d.ts +1 -7
- package/lib/types/components/duet-modal/duet-modal.d.ts +2 -4
- package/lib/types/components/duet-submenu-bar-item/duet-submenu-bar-item.d.ts +1 -7
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -7
- package/lib/types/components.d.ts +12 -4
- package/lib/types/utils/teleport.d.ts +12 -10
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-e8ab4056.js +0 -205
- package/lib/duet/p-03ba1f65.entry.js +0 -4
- package/lib/duet/p-095aba6c.entry.js +0 -4
- package/lib/duet/p-11e152cd.js +0 -4
- package/lib/duet/p-220bb407.system.entry.js +0 -4
- package/lib/duet/p-28669c27.entry.js +0 -4
- package/lib/duet/p-2c75274e.system.entry.js +0 -4
- package/lib/duet/p-2cf0931d.system.entry.js +0 -4
- package/lib/duet/p-2d7c2ce7.entry.js +0 -4
- package/lib/duet/p-2e2b6a95.system.entry.js +0 -4
- package/lib/duet/p-2eae6a4e.entry.js +0 -4
- package/lib/duet/p-421adcc5.entry.js +0 -4
- package/lib/duet/p-46333231.js +0 -4
- package/lib/duet/p-4fc5b308.entry.js +0 -4
- package/lib/duet/p-63c6795c.entry.js +0 -4
- package/lib/duet/p-76fec604.system.entry.js +0 -4
- package/lib/duet/p-79c1afbf.entry.js +0 -4
- package/lib/duet/p-82fc84ad.entry.js +0 -4
- package/lib/duet/p-9a467121.system.entry.js +0 -4
- package/lib/duet/p-9b0c7d54.entry.js +0 -4
- package/lib/duet/p-a6276e85.entry.js +0 -4
- package/lib/duet/p-ab7e7315.entry.js +0 -4
- package/lib/duet/p-ac6596bc.entry.js +0 -4
- package/lib/duet/p-bb1242c4.system.entry.js +0 -4
- package/lib/duet/p-ccdff614.js +0 -4
- package/lib/duet/p-de4fdfa7.entry.js +0 -4
- package/lib/duet/p-e639b9ee.system.js +0 -4
- package/lib/duet/p-e8d08921.system.entry.js +0 -4
- package/lib/duet/p-ee5aa36b.entry.js +0 -4
- package/lib/duet/p-eef2351f.system.js +0 -4
|
@@ -87,14 +87,6 @@
|
|
|
87
87
|
.duet-icon.duet-icon-shape-brand {
|
|
88
88
|
border-radius: 25%;
|
|
89
89
|
}
|
|
90
|
-
.duet-icon.duet-icon-has-background.xxx-small .duet-icon-svg, .duet-icon.duet-icon-has-outline.xxx-small .duet-icon-svg {
|
|
91
|
-
width: 10px;
|
|
92
|
-
height: 10px;
|
|
93
|
-
}
|
|
94
|
-
.duet-icon.duet-icon-has-background.xx-small .duet-icon-svg, .duet-icon.duet-icon-has-outline.xx-small .duet-icon-svg {
|
|
95
|
-
width: 16px;
|
|
96
|
-
height: 16px;
|
|
97
|
-
}
|
|
98
90
|
@media (max-width: 35.9375em) {
|
|
99
91
|
.duet-icon.duet-icon-not-responsive {
|
|
100
92
|
transform: scale(1) !important;
|
|
@@ -106,69 +98,6 @@
|
|
|
106
98
|
.duet-icon.duet-theme-turva {
|
|
107
99
|
color: rgb(198, 12, 48);
|
|
108
100
|
}
|
|
109
|
-
.duet-icon.auto .duet-icon-svg {
|
|
110
|
-
width: 100%;
|
|
111
|
-
height: 100%;
|
|
112
|
-
}
|
|
113
|
-
.duet-icon.xxx-small .duet-icon-svg {
|
|
114
|
-
width: 7px;
|
|
115
|
-
height: 7px;
|
|
116
|
-
}
|
|
117
|
-
.duet-icon.duet-icon-has-background.xxx-small {
|
|
118
|
-
padding: 6px;
|
|
119
|
-
}
|
|
120
|
-
.duet-icon.duet-icon-has-outline.xxx-small {
|
|
121
|
-
padding: 4px;
|
|
122
|
-
}
|
|
123
|
-
.duet-icon.xx-small .duet-icon-svg {
|
|
124
|
-
width: 10px;
|
|
125
|
-
height: 10px;
|
|
126
|
-
}
|
|
127
|
-
.duet-icon.duet-icon-has-background.xx-small {
|
|
128
|
-
padding: 8px;
|
|
129
|
-
}
|
|
130
|
-
.duet-icon.duet-icon-has-outline.xx-small {
|
|
131
|
-
padding: 7px;
|
|
132
|
-
}
|
|
133
|
-
.duet-icon.x-small .duet-icon-svg {
|
|
134
|
-
width: 16px;
|
|
135
|
-
height: 16px;
|
|
136
|
-
}
|
|
137
|
-
.duet-icon.duet-icon-has-outline.x-small {
|
|
138
|
-
padding: 10px;
|
|
139
|
-
}
|
|
140
|
-
.duet-icon.duet-icon-has-background.x-small {
|
|
141
|
-
padding: 12px;
|
|
142
|
-
}
|
|
143
|
-
.duet-icon.small .duet-icon-svg {
|
|
144
|
-
width: 20px;
|
|
145
|
-
height: 20px;
|
|
146
|
-
}
|
|
147
|
-
.duet-icon.duet-icon-has-background.small {
|
|
148
|
-
padding: 14px;
|
|
149
|
-
}
|
|
150
|
-
.duet-icon.large .duet-icon-svg {
|
|
151
|
-
width: 30px;
|
|
152
|
-
height: 30px;
|
|
153
|
-
}
|
|
154
|
-
.duet-icon.x-large .duet-icon-svg {
|
|
155
|
-
width: 36px;
|
|
156
|
-
height: 36px;
|
|
157
|
-
}
|
|
158
|
-
.duet-icon.xx-large .duet-icon-svg {
|
|
159
|
-
width: 48px;
|
|
160
|
-
height: 48px;
|
|
161
|
-
}
|
|
162
|
-
.duet-icon.xxx-large .duet-icon-svg {
|
|
163
|
-
width: 48px;
|
|
164
|
-
height: 48px;
|
|
165
|
-
}
|
|
166
|
-
@media (min-width: 48em) {
|
|
167
|
-
.duet-icon.xxx-large .duet-icon-svg {
|
|
168
|
-
width: 72px;
|
|
169
|
-
height: 72px;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
101
|
.duet-icon.duet-icon-shape-brand.rotated {
|
|
173
102
|
transform: rotate(20deg) scale(0.875);
|
|
174
103
|
transform-origin: center;
|
|
@@ -185,121 +114,206 @@
|
|
|
185
114
|
.duet-icon.duet-icon-shape-brand.duet-theme-turva .duet-icon-svg {
|
|
186
115
|
min-width: auto;
|
|
187
116
|
}
|
|
188
|
-
.duet-icon.duet-icon-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
117
|
+
.duet-icon .duet-icon-svg {
|
|
118
|
+
display: block;
|
|
119
|
+
width: 24px;
|
|
120
|
+
min-width: 100%;
|
|
121
|
+
height: 24px;
|
|
122
|
+
font-size: 0;
|
|
192
123
|
}
|
|
193
|
-
.duet-icon.duet-icon-
|
|
194
|
-
|
|
195
|
-
height: 30px;
|
|
196
|
-
padding: 0;
|
|
124
|
+
.duet-icon .duet-icon-svg.rotated {
|
|
125
|
+
transform: rotate(-20deg) scale(1.14);
|
|
197
126
|
}
|
|
198
|
-
.duet-icon
|
|
199
|
-
width:
|
|
200
|
-
|
|
201
|
-
|
|
127
|
+
.duet-icon svg {
|
|
128
|
+
width: 100%;
|
|
129
|
+
min-width: 100%;
|
|
130
|
+
overflow: clip;
|
|
131
|
+
fill: currentColor;
|
|
132
|
+
overflow-clip-margin: 1px;
|
|
202
133
|
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
134
|
+
|
|
135
|
+
:host([size=auto]) .duet-icon-svg {
|
|
136
|
+
width: 100%;
|
|
137
|
+
height: 100%;
|
|
207
138
|
}
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
139
|
+
|
|
140
|
+
:host([size=xxx-small]) .duet-icon-svg {
|
|
141
|
+
width: 7px;
|
|
142
|
+
height: 7px;
|
|
212
143
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
height: 68px;
|
|
216
|
-
padding: 0;
|
|
144
|
+
:host([size=xxx-small]) .duet-icon-has-background {
|
|
145
|
+
padding: 6px;
|
|
217
146
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
height: 86px;
|
|
221
|
-
padding: 0;
|
|
147
|
+
:host([size=xxx-small]) .duet-icon-has-outline {
|
|
148
|
+
padding: 4px;
|
|
222
149
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
150
|
+
:host([size=xxx-small]) .duet-icon-has-background .duet-icon-svg,
|
|
151
|
+
:host([size=xxx-small]) .duet-icon-has-outline .duet-icon-svg {
|
|
152
|
+
width: 10px;
|
|
153
|
+
height: 10px;
|
|
227
154
|
}
|
|
228
|
-
|
|
155
|
+
:host([size=xxx-small]) .duet-icon-shape-brand {
|
|
229
156
|
padding: 0;
|
|
230
157
|
}
|
|
231
|
-
|
|
158
|
+
:host([size=xxx-small]) .duet-icon-shape-brand .duet-icon-svg {
|
|
232
159
|
width: 0;
|
|
233
160
|
height: 0;
|
|
234
161
|
}
|
|
235
|
-
|
|
162
|
+
|
|
163
|
+
:host([size=xx-small]) .duet-icon-svg {
|
|
164
|
+
width: 10px;
|
|
165
|
+
height: 10px;
|
|
166
|
+
}
|
|
167
|
+
:host([size=xx-small]) .duet-icon-has-background {
|
|
168
|
+
padding: 8px;
|
|
169
|
+
}
|
|
170
|
+
:host([size=xx-small]) .duet-icon-has-outline {
|
|
171
|
+
padding: 7px;
|
|
172
|
+
}
|
|
173
|
+
:host([size=xx-small]) .duet-icon-has-background .duet-icon-svg,
|
|
174
|
+
:host([size=xx-small]) .duet-icon-has-outline .duet-icon-svg {
|
|
175
|
+
width: 16px;
|
|
176
|
+
height: 16px;
|
|
177
|
+
}
|
|
178
|
+
:host([size=xx-small]) .duet-icon-shape-brand {
|
|
236
179
|
padding: 4px;
|
|
237
180
|
}
|
|
238
|
-
|
|
181
|
+
:host([size=xx-small]) .duet-icon-shape-brand .duet-icon-svg {
|
|
239
182
|
width: 10px;
|
|
240
183
|
height: 10px;
|
|
241
184
|
}
|
|
242
|
-
.duet-
|
|
185
|
+
:host([size=xx-small]) .duet-theme-turva .duet-icon-shape-brand {
|
|
186
|
+
width: 18px;
|
|
187
|
+
height: 15px;
|
|
188
|
+
padding: 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
:host([size=x-small]) .duet-icon-svg {
|
|
192
|
+
width: 16px;
|
|
193
|
+
height: 16px;
|
|
194
|
+
}
|
|
195
|
+
:host([size=x-small]) .duet-icon-has-outline {
|
|
196
|
+
padding: 10px;
|
|
197
|
+
}
|
|
198
|
+
:host([size=x-small]) .duet-icon-has-background {
|
|
199
|
+
padding: 12px;
|
|
200
|
+
}
|
|
201
|
+
:host([size=x-small]) .duet-icon-shape-brand {
|
|
243
202
|
padding: 8px;
|
|
244
203
|
}
|
|
245
|
-
|
|
204
|
+
:host([size=x-small]) .duet-icon-shape-brand .duet-icon-svg {
|
|
246
205
|
width: 16px;
|
|
247
206
|
height: 16px;
|
|
248
207
|
}
|
|
249
|
-
.duet-
|
|
208
|
+
:host([size=x-small]) .duet-theme-turva .duet-icon-shape-brand {
|
|
209
|
+
width: 32px;
|
|
210
|
+
height: 30px;
|
|
211
|
+
padding: 0;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:host([size=small]) .duet-icon-svg {
|
|
215
|
+
width: 20px;
|
|
216
|
+
height: 20px;
|
|
217
|
+
}
|
|
218
|
+
:host([size=small]) .duet-icon-has-background {
|
|
219
|
+
padding: 14px;
|
|
220
|
+
}
|
|
221
|
+
:host([size=small]) .duet-icon-shape-brand {
|
|
250
222
|
padding: 8px;
|
|
251
223
|
}
|
|
252
|
-
.duet-icon
|
|
224
|
+
:host([size=small]) .duet-icon-shape-brand .duet-icon-svg {
|
|
253
225
|
width: 20px;
|
|
254
226
|
height: 20px;
|
|
255
227
|
}
|
|
256
|
-
.duet-
|
|
228
|
+
:host([size=small]) .duet-theme-turva .duet-icon-shape-brand {
|
|
229
|
+
width: 36px;
|
|
230
|
+
height: 34px;
|
|
231
|
+
padding: 0;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
:host([size=medium]) .duet-icon-shape-brand {
|
|
257
235
|
padding: 12px;
|
|
258
236
|
}
|
|
259
|
-
.duet-icon
|
|
237
|
+
:host([size=medium]) .duet-icon-shape-brand .duet-icon-svg {
|
|
260
238
|
width: 24px;
|
|
261
239
|
height: 24px;
|
|
262
240
|
}
|
|
263
|
-
.duet-
|
|
241
|
+
:host([size=medium]) .duet-theme-turva .duet-icon-shape-brand {
|
|
242
|
+
width: 48px;
|
|
243
|
+
height: 44px;
|
|
244
|
+
padding: 0;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
:host([size=large]) .duet-icon-svg {
|
|
248
|
+
width: 30px;
|
|
249
|
+
height: 30px;
|
|
250
|
+
}
|
|
251
|
+
:host([size=large]) .duet-icon-shape-brand {
|
|
264
252
|
padding: 16px;
|
|
265
253
|
}
|
|
266
|
-
.duet-icon
|
|
254
|
+
:host([size=large]) .duet-icon-shape-brand .duet-icon-svg {
|
|
267
255
|
width: 30px;
|
|
268
256
|
height: 30px;
|
|
269
257
|
}
|
|
270
|
-
.duet-
|
|
258
|
+
:host([size=large]) .duet-theme-turva .duet-icon-shape-brand {
|
|
259
|
+
width: 62px;
|
|
260
|
+
height: 56px;
|
|
261
|
+
padding: 0;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
:host([size=x-large]) .duet-icon-svg {
|
|
265
|
+
width: 36px;
|
|
266
|
+
height: 36px;
|
|
267
|
+
}
|
|
268
|
+
:host([size=x-large]) .duet-icon-shape-brand {
|
|
271
269
|
padding: 20px;
|
|
272
270
|
}
|
|
273
|
-
|
|
271
|
+
:host([size=x-large]) .duet-icon-shape-brand .duet-icon-svg {
|
|
274
272
|
width: 36px;
|
|
275
273
|
height: 36px;
|
|
276
274
|
}
|
|
277
|
-
.duet-
|
|
275
|
+
:host([size=x-large]) .duet-theme-turva .duet-icon-shape-brand {
|
|
276
|
+
width: 76px;
|
|
277
|
+
height: 68px;
|
|
278
|
+
padding: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
:host([size=xx-large]) .duet-icon-svg {
|
|
282
|
+
width: 48px;
|
|
283
|
+
height: 48px;
|
|
284
|
+
}
|
|
285
|
+
:host([size=xx-large]) .duet-icon-shape-brand {
|
|
278
286
|
padding: 24px;
|
|
279
287
|
}
|
|
280
|
-
|
|
288
|
+
:host([size=xx-large]) .duet-icon-shape-brand .duet-icon-svg {
|
|
281
289
|
width: 48px;
|
|
282
290
|
height: 48px;
|
|
283
291
|
}
|
|
284
|
-
.duet-
|
|
292
|
+
:host([size=xx-large]) .duet-theme-turva .duet-icon-shape-brand {
|
|
293
|
+
width: 95px;
|
|
294
|
+
height: 86px;
|
|
295
|
+
padding: 0;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
:host([size=xxx-large]) .duet-icon-svg {
|
|
299
|
+
width: 48px;
|
|
300
|
+
height: 48px;
|
|
301
|
+
}
|
|
302
|
+
@media (min-width: 48em) {
|
|
303
|
+
:host([size=xxx-large]) .duet-icon-svg {
|
|
304
|
+
width: 72px;
|
|
305
|
+
height: 72px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
:host([size=xxx-large]) .duet-icon-shape-brand {
|
|
285
309
|
padding: 36px;
|
|
286
310
|
}
|
|
287
|
-
|
|
311
|
+
:host([size=xxx-large]) .duet-icon-shape-brand .duet-icon-svg {
|
|
288
312
|
width: 72px;
|
|
289
313
|
height: 72px;
|
|
290
314
|
}
|
|
291
|
-
.duet-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
height: 24px;
|
|
296
|
-
font-size: 0;
|
|
297
|
-
}
|
|
298
|
-
.duet-icon .duet-icon-svg.rotated {
|
|
299
|
-
transform: rotate(-20deg) scale(1.14);
|
|
300
|
-
}
|
|
301
|
-
.duet-icon svg {
|
|
302
|
-
width: 100%;
|
|
303
|
-
min-width: 100%;
|
|
304
|
-
fill: currentColor;
|
|
315
|
+
:host([size=xxx-large]) .duet-theme-turva .duet-icon-shape-brand {
|
|
316
|
+
width: 144px;
|
|
317
|
+
height: 130px;
|
|
318
|
+
padding: 0;
|
|
305
319
|
}
|
|
@@ -24,9 +24,4 @@ describe("duet-icon", () => {
|
|
|
24
24
|
const element = await page.find("duet-icon >>> .duet-icon-has-background");
|
|
25
25
|
expect(element).not.toBeNull();
|
|
26
26
|
});
|
|
27
|
-
it("should provide a property that changes the icon size", async () => {
|
|
28
|
-
const page = await createPage(`<duet-icon size="xx-large"></duet-icon>`);
|
|
29
|
-
const element = await page.find("duet-icon >>> .xx-large");
|
|
30
|
-
expect(element).not.toBeNull();
|
|
31
|
-
});
|
|
32
27
|
});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
|
-
import { inheritGlobalTheme } from "../../common
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { getColorByName, rgbaColorFromRgb } from "../../utils/token-utils";
|
|
7
7
|
import { buildIconUrl, fetchIconByUrl } from "./icon-utils";
|
|
8
8
|
export class DuetIcon {
|
|
@@ -25,24 +25,47 @@ export class DuetIcon {
|
|
|
25
25
|
/**
|
|
26
26
|
* Component lifecycle events.
|
|
27
27
|
*/
|
|
28
|
-
componentWillLoad() {
|
|
28
|
+
async componentWillLoad() {
|
|
29
29
|
inheritGlobalTheme(this);
|
|
30
30
|
if (this.src && this.icon) {
|
|
31
31
|
console.warn("[DUET COMPONENTS]: <duet-icon> should have either have src or icon attributes, but not both. icon attribute will take precedence", "icon:", this.icon, "src:", this.src);
|
|
32
32
|
}
|
|
33
|
-
this.loadIcon();
|
|
33
|
+
await this.loadIcon(null, null);
|
|
34
34
|
}
|
|
35
|
-
async loadIcon() {
|
|
35
|
+
async loadIcon(newValue, oldValue) {
|
|
36
36
|
// static icon known at build-time, so we can set it synchronously
|
|
37
37
|
if (this.icon) {
|
|
38
38
|
this.svgContent = this.icon;
|
|
39
39
|
return;
|
|
40
40
|
}
|
|
41
|
-
// on server
|
|
41
|
+
// on server import icon from icons lib
|
|
42
42
|
if (!Build.isBrowser) {
|
|
43
|
+
if (this.name) {
|
|
44
|
+
const iconPath = `@duetds/icons/lib/assets/${this.name}`;
|
|
45
|
+
try {
|
|
46
|
+
const icon = await import(iconPath);
|
|
47
|
+
this.svgContent = icon.svg;
|
|
48
|
+
}
|
|
49
|
+
catch (e) {
|
|
50
|
+
console.warn(`[DUET COMPONENTS]: <duet-icon> could not load SVG ${iconPath} from local dependency.`, e);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
43
53
|
return;
|
|
44
54
|
}
|
|
45
|
-
//
|
|
55
|
+
// svgContent being empty and svg being found indicates server side rendered icon
|
|
56
|
+
if (this.element.shadowRoot.querySelector("svg") && !this.svgContent) {
|
|
57
|
+
if (oldValue === null && newValue === null) {
|
|
58
|
+
// when coming from componentWillLoad don't let go further
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
else if (this.element.shadowRoot.querySelector(`.duet-icon-svg[data-name="${newValue}"]`)) {
|
|
62
|
+
// When duet-icon is used inside another component the name attribute is first the default "action-add"
|
|
63
|
+
// when the parent component initializes it changes this to the correct name and triggers this
|
|
64
|
+
// loadIcon(newValue, oldValue) function. This else if is here to notice this and compares the
|
|
65
|
+
// newValue to the one we have set on server, if its the same we don't let this function go further.
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
46
69
|
const src = this.src ? this.src : buildIconUrl(this.name);
|
|
47
70
|
try {
|
|
48
71
|
this.svgContent = await fetchIconByUrl(src);
|
|
@@ -80,7 +103,6 @@ export class DuetIcon {
|
|
|
80
103
|
"duet-icon-has-background": !!this.background,
|
|
81
104
|
} }, h("span", { "aria-hidden": "true", style: styles, class: {
|
|
82
105
|
"duet-icon": true,
|
|
83
|
-
[this.size]: true,
|
|
84
106
|
"duet-theme-turva": this.theme === "turva",
|
|
85
107
|
"duet-theme-default": this.theme === "default",
|
|
86
108
|
"duet-icon-has-outline": !!this.outline,
|
|
@@ -88,7 +110,7 @@ export class DuetIcon {
|
|
|
88
110
|
[shapeStyle]: true,
|
|
89
111
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
90
112
|
"duet-icon-not-responsive": !this.responsive,
|
|
91
|
-
} }, h("span", { "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, innerHTML: this.svgContent, style: iconStyles }))));
|
|
113
|
+
} }, h("span", { "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
92
114
|
}
|
|
93
115
|
static get is() { return "duet-icon"; }
|
|
94
116
|
static get encapsulation() { return "shadow"; }
|
|
@@ -143,7 +165,7 @@ export class DuetIcon {
|
|
|
143
165
|
"text": "A raw SVG string."
|
|
144
166
|
},
|
|
145
167
|
"attribute": "icon",
|
|
146
|
-
"reflect":
|
|
168
|
+
"reflect": true
|
|
147
169
|
},
|
|
148
170
|
"src": {
|
|
149
171
|
"type": "string",
|
|
@@ -339,7 +361,7 @@ export class DuetIcon {
|
|
|
339
361
|
"text": "Icon size. Entered as one of the icon size design tokens."
|
|
340
362
|
},
|
|
341
363
|
"attribute": "size",
|
|
342
|
-
"reflect":
|
|
364
|
+
"reflect": true,
|
|
343
365
|
"defaultValue": "\"medium\""
|
|
344
366
|
},
|
|
345
367
|
"outline": {
|
|
@@ -37,6 +37,10 @@
|
|
|
37
37
|
margin-right: 0 !important;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
:host(.duet-m-0) {
|
|
41
|
+
margin: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
.duet-link {
|
|
41
45
|
display: inline;
|
|
42
46
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -34,6 +34,7 @@ export class DuetLink {
|
|
|
34
34
|
this.iconColor = "currentColor";
|
|
35
35
|
this.iconBackground = null;
|
|
36
36
|
this.iconResponsive = false;
|
|
37
|
+
this.margin = "auto";
|
|
37
38
|
this.padding = "auto";
|
|
38
39
|
this.isSmallScreen = false;
|
|
39
40
|
this.isMediumScreen = false;
|
|
@@ -142,6 +143,7 @@ export class DuetLink {
|
|
|
142
143
|
const Tag = !this.url ? "button" : "a";
|
|
143
144
|
return (h(Host, { class: {
|
|
144
145
|
[`duet-link-${this.variation}`]: true,
|
|
146
|
+
"duet-m-0": this.margin === "none",
|
|
145
147
|
} }, h(Tag, { href: this.url, class: {
|
|
146
148
|
"duet-link": true,
|
|
147
149
|
"duet-link-is-external": this.external,
|
|
@@ -539,6 +541,30 @@ export class DuetLink {
|
|
|
539
541
|
"reflect": false,
|
|
540
542
|
"defaultValue": "false"
|
|
541
543
|
},
|
|
544
|
+
"margin": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"mutable": false,
|
|
547
|
+
"complexType": {
|
|
548
|
+
"original": "DuetMargin",
|
|
549
|
+
"resolved": "\"auto\" | \"none\"",
|
|
550
|
+
"references": {
|
|
551
|
+
"DuetMargin": {
|
|
552
|
+
"location": "import",
|
|
553
|
+
"path": "../../common-types",
|
|
554
|
+
"id": "src/common-types.d.ts::DuetMargin"
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"required": false,
|
|
559
|
+
"optional": false,
|
|
560
|
+
"docs": {
|
|
561
|
+
"tags": [],
|
|
562
|
+
"text": "Controls the margin of the component (only with \"button\" variation)"
|
|
563
|
+
},
|
|
564
|
+
"attribute": "margin",
|
|
565
|
+
"reflect": false,
|
|
566
|
+
"defaultValue": "\"auto\""
|
|
567
|
+
},
|
|
542
568
|
"padding": {
|
|
543
569
|
"type": "string",
|
|
544
570
|
"mutable": false,
|
|
@@ -48,6 +48,22 @@
|
|
|
48
48
|
.duet-theme-turva .duet-menu-bar-item:focus, .duet-menu-bar-item:focus.duet-theme-turva {
|
|
49
49
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
50
50
|
}
|
|
51
|
+
.duet-menu-bar-item .leading-icon,
|
|
52
|
+
.duet-menu-bar-item .trailing-icon {
|
|
53
|
+
width: 20px;
|
|
54
|
+
height: 20px;
|
|
55
|
+
}
|
|
56
|
+
@media (min-width: 62em) {
|
|
57
|
+
.duet-menu-bar-item .leading-icon,
|
|
58
|
+
.duet-menu-bar-item .trailing-icon {
|
|
59
|
+
width: 16px;
|
|
60
|
+
height: 16px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.duet-menu-bar-item .trailing-icon.trailing-icon-arrow {
|
|
64
|
+
width: 7px;
|
|
65
|
+
height: 7px;
|
|
66
|
+
}
|
|
51
67
|
.duet-menu-bar-item[aria-expanded=true] {
|
|
52
68
|
color: rgb(0, 119, 179);
|
|
53
69
|
}
|
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
4
|
import { h, Host } from "@stencil/core";
|
|
6
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
6
|
export class DuetMenuBarItem {
|
|
8
7
|
constructor() {
|
|
9
|
-
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
10
|
-
this.boundMqlFunctions = [];
|
|
11
|
-
this.changeIconSize = () => {
|
|
12
|
-
if (this.mql[0].matches) {
|
|
13
|
-
this.iconSize = "x-small";
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
this.iconSize = "small";
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
this.iconSize = "x-small";
|
|
20
8
|
this.theme = "";
|
|
21
9
|
this.active = false;
|
|
22
10
|
this.url = undefined;
|
|
@@ -32,26 +20,6 @@ export class DuetMenuBarItem {
|
|
|
32
20
|
componentWillLoad() {
|
|
33
21
|
inheritGlobalTheme(this);
|
|
34
22
|
}
|
|
35
|
-
connectedCallback() {
|
|
36
|
-
this.changeIconSize();
|
|
37
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
38
|
-
// addEventListener is not available in Stencil hydrate
|
|
39
|
-
if (this.mql[i].addEventListener) {
|
|
40
|
-
const bound = this.changeIconSize.bind(this);
|
|
41
|
-
this.mql[i].addEventListener("change", bound);
|
|
42
|
-
this.boundMqlFunctions[i] = bound;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
disconnectedCallback() {
|
|
47
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
48
|
-
// removeEventListener is not available in Stencil hydrate
|
|
49
|
-
if (this.mql[i].removeEventListener) {
|
|
50
|
-
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
this.boundMqlFunctions = [];
|
|
54
|
-
}
|
|
55
23
|
/**
|
|
56
24
|
* Sets focus. Use this method instead of the global focus().
|
|
57
25
|
*/
|
|
@@ -68,10 +36,11 @@ export class DuetMenuBarItem {
|
|
|
68
36
|
"duet-menu-bar-item": true,
|
|
69
37
|
"duet-theme-turva": this.theme === "turva",
|
|
70
38
|
active: this.active,
|
|
71
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { size:
|
|
39
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", null), this.trailingIcon && (h("duet-icon", { class: {
|
|
72
40
|
"trailing-icon": true,
|
|
41
|
+
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
73
42
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
74
|
-
}, theme: this.theme, name: this.trailingIcon, margin: "none", size:
|
|
43
|
+
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: "auto", color: "currentColor" })))));
|
|
75
44
|
}
|
|
76
45
|
static get is() { return "duet-menu-bar-item"; }
|
|
77
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -248,11 +217,6 @@ export class DuetMenuBarItem {
|
|
|
248
217
|
}
|
|
249
218
|
};
|
|
250
219
|
}
|
|
251
|
-
static get states() {
|
|
252
|
-
return {
|
|
253
|
-
"iconSize": {}
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
220
|
static get methods() {
|
|
257
221
|
return {
|
|
258
222
|
"setFocus": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { createPage
|
|
4
|
+
import { createPage } from "../../utils/test-utils";
|
|
5
5
|
describe("duet-modal", () => {
|
|
6
6
|
// we want to wait for modal to be focused to ensure close button
|
|
7
7
|
// automatically receives focus when `active` prop is `true`
|
|
@@ -59,39 +59,6 @@ describe("duet-modal", () => {
|
|
|
59
59
|
const element = await page.find("duet-modal >>> .duet-modal-container");
|
|
60
60
|
expect(element).toHaveClass("duet-modal-active");
|
|
61
61
|
});
|
|
62
|
-
it("traps focus", async () => {
|
|
63
|
-
const page = await createPage(`
|
|
64
|
-
<duet-modal
|
|
65
|
-
size="small"
|
|
66
|
-
heading="Modal test"
|
|
67
|
-
icon="damage-breakage"
|
|
68
|
-
class="duet-text-center"
|
|
69
|
-
active
|
|
70
|
-
>
|
|
71
|
-
<duet-paragraph>
|
|
72
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore
|
|
73
|
-
magna aliqua. Ut enim ad minim veniam quis nostrud.
|
|
74
|
-
</duet-paragraph>
|
|
75
|
-
<duet-paragraph>
|
|
76
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.
|
|
77
|
-
</duet-paragraph>
|
|
78
|
-
<duet-collapsible heading="Click to open details">
|
|
79
|
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit.
|
|
80
|
-
Aperiam impedit, possimus minima repudiandae.
|
|
81
|
-
</duet-collapsible>
|
|
82
|
-
</duet-modal>
|
|
83
|
-
`);
|
|
84
|
-
await page.find("duet-modal");
|
|
85
|
-
await page.waitForFunction(isModalFocused);
|
|
86
|
-
// tab to link in light dom
|
|
87
|
-
await page.keyboard.press("Tab");
|
|
88
|
-
const collapsible = await page.find("duet-collapsible >>> button");
|
|
89
|
-
expect(await isFocused(collapsible)).toBe(true);
|
|
90
|
-
// focus should now go back to close button
|
|
91
|
-
await page.keyboard.press("Tab");
|
|
92
|
-
const closeButton = await page.find("duet-modal >>> duet-button");
|
|
93
|
-
expect(await isFocused(closeButton)).toBe(true);
|
|
94
|
-
});
|
|
95
62
|
it.skip("closes on blur", async () => {
|
|
96
63
|
const page = await createPage(`
|
|
97
64
|
<duet-modal
|