@duetds/components 8.1.5 → 8.2.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 +114 -76
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +7 -5
- 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 +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +4 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- 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 +22 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- 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 +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +3 -2
- package/lib/cjs/duet-icon.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- 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 +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +3 -3
- 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-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +14 -13
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +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 +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +32 -51
- 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 +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +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-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 +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-ec077a62.js → focus-utils-1780ee53.js} +1 -1
- package/lib/cjs/{index-00f527af.js → index-8595e0c1.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/slot-utils-6c81bd09.js +20 -0
- package/lib/cjs/{token-utils-a5356b00.js → token-utils-c672402d.js} +1 -1
- package/lib/cjs/{tokens-51cfbe11.js → tokens-c3eecae6.js} +1 -1
- package/lib/cjs/{tokens.module-ce5f9579.js → tokens.module-bc323a09.js} +1 -1
- package/lib/collection/components/duet-badge/duet-badge.css +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +3 -0
- package/lib/collection/components/duet-banner/duet-banner.js +8 -1
- package/lib/collection/components/duet-button/duet-button.css +1 -0
- package/lib/collection/components/duet-button/duet-button.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.css +18 -1
- package/lib/collection/components/duet-callout/duet-callout.js +3 -2
- package/lib/collection/components/duet-chip/duet-chip.css +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +55 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -4
- package/lib/collection/components/duet-icon/duet-icon.css +1 -0
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.css +1 -1
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +43 -14
- 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.js +8 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +32 -51
- package/lib/collection/utils/slot-utils.js +16 -0
- 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 +10 -14
- 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 +6 -11
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +25 -4
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- 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 +12 -12
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar.js +3 -3
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- 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-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 +15 -13
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +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 +5 -5
- 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 +35 -52
- 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 +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 +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-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +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-d517fc9a.js → p-0297efef.js} +10 -10
- package/lib/dist-custom-elements/{p-975a4689.js → p-0aef3ad3.js} +2 -2
- package/lib/dist-custom-elements/{p-583e21a8.js → p-13916d96.js} +2 -2
- package/lib/dist-custom-elements/p-15d5aa46.js +60 -0
- package/lib/dist-custom-elements/p-188d76d4.js +205 -0
- package/lib/dist-custom-elements/{p-3cc835d7.js → p-1b55b8aa.js} +1 -1
- package/lib/dist-custom-elements/{p-7bcdcf71.js → p-27efc5ff.js} +3 -3
- package/lib/dist-custom-elements/{p-7d7291bf.js → p-30fe9f1c.js} +8 -8
- package/lib/dist-custom-elements/{p-7bb90fcc.js → p-3bb00966.js} +10 -10
- package/lib/dist-custom-elements/{p-9b174e03.js → p-4086f5d7.js} +2 -2
- package/lib/dist-custom-elements/{p-6d0197c3.js → p-5c8435c6.js} +5 -5
- package/lib/dist-custom-elements/{p-a4605d27.js → p-63997028.js} +6 -6
- package/lib/dist-custom-elements/{p-d10e4492.js → p-679f9f84.js} +1 -1
- package/lib/dist-custom-elements/{p-1e82d8a1.js → p-6a6a112e.js} +2 -2
- package/lib/dist-custom-elements/{p-3d6047c0.js → p-7b59279f.js} +2 -2
- package/lib/dist-custom-elements/{p-9c2d3a9d.js → p-80cc1a6e.js} +2 -2
- package/lib/dist-custom-elements/{p-475baac7.js → p-811f6b14.js} +1 -1
- package/lib/dist-custom-elements/{p-bb1ac896.js → p-8313084c.js} +1 -1
- package/lib/dist-custom-elements/{p-4d3e1b52.js → p-8371f4c9.js} +4 -4
- package/lib/dist-custom-elements/{p-8735b4db.js → p-8aeece22.js} +2 -2
- package/lib/dist-custom-elements/{p-254a95d4.js → p-8f9c9ce8.js} +2 -2
- package/lib/dist-custom-elements/{p-0156b860.js → p-929cc9d5.js} +1 -1
- package/lib/dist-custom-elements/{p-3158e24f.js → p-98aea896.js} +1 -1
- package/lib/dist-custom-elements/{p-471a62cc.js → p-9e103db0.js} +1 -1
- package/lib/dist-custom-elements/{p-9a9a04bd.js → p-9f454015.js} +3 -3
- package/lib/dist-custom-elements/{p-66f15eba.js → p-a5057e42.js} +2 -2
- package/lib/dist-custom-elements/p-bb24a019.js +18 -0
- package/lib/dist-custom-elements/{p-6b977095.js → p-d072d3f7.js} +8 -8
- package/lib/dist-custom-elements/{p-4c5751cd.js → p-d07f9fcc.js} +1 -1
- package/lib/dist-custom-elements/{p-2b56c0d7.js → p-d37a3cec.js} +1 -1
- package/lib/{esm/tokens-04106a43.js → dist-custom-elements/p-d81ec707.js} +1 -1
- package/lib/dist-custom-elements/{p-b590a133.js → p-d87fd2f0.js} +3 -3
- package/lib/dist-custom-elements/{p-4a55dff3.js → p-dbaac77a.js} +5 -5
- package/lib/dist-custom-elements/{p-f3d25b08.js → p-e5e0a9d5.js} +2 -2
- package/lib/dist-custom-elements/{p-da8acaf1.js → p-e93fe17b.js} +2 -2
- package/lib/dist-custom-elements/{p-cab60e87.js → p-ee518783.js} +1 -1
- package/lib/dist-custom-elements/{p-e078836c.js → p-ef9c200e.js} +1 -1
- package/lib/dist-custom-elements/{p-fc6bb9ab.js → p-f992d96f.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-de41a03b.entry.js → p-00af1839.entry.js} +1 -1
- package/lib/duet/{p-6216e282.entry.js → p-03504efc.entry.js} +1 -1
- package/lib/duet/{p-8b1b9953.system.entry.js → p-07639744.system.entry.js} +1 -1
- package/lib/duet/{p-d852ae7e.system.entry.js → p-0b1e9389.system.entry.js} +1 -1
- package/lib/duet/p-0b2e2097.system.entry.js +4 -0
- package/lib/duet/{p-ceb5b489.system.entry.js → p-0c4251d2.system.entry.js} +1 -1
- package/lib/duet/{p-757b1ab3.entry.js → p-0d546b56.entry.js} +1 -1
- package/lib/duet/{p-b012ba6c.entry.js → p-0ee8f124.entry.js} +1 -1
- package/lib/duet/p-0f6f152d.entry.js +4 -0
- package/lib/duet/{p-fdb9f8df.system.entry.js → p-0fb3d28c.system.entry.js} +1 -1
- package/lib/duet/{p-bac92652.entry.js → p-1069a865.entry.js} +1 -1
- package/lib/duet/{p-abbd8ae3.entry.js → p-10e05065.entry.js} +1 -1
- package/lib/duet/p-13241469.system.entry.js +4 -0
- package/lib/duet/{p-f6803f4c.entry.js → p-145de3e0.entry.js} +1 -1
- package/lib/duet/{p-e12b3d60.system.js → p-15fde8cc.system.js} +1 -1
- package/lib/duet/{p-0ec40046.entry.js → p-189f31b8.entry.js} +1 -1
- package/lib/duet/{p-8cfac25d.entry.js → p-1d3f4925.entry.js} +1 -1
- package/lib/duet/p-1ebb5d23.entry.js +4 -0
- package/lib/duet/{p-330db26d.entry.js → p-1fcccba8.entry.js} +1 -1
- package/lib/duet/{p-10f289cb.entry.js → p-204a1ab8.entry.js} +1 -1
- package/lib/duet/{p-c8c9fc58.system.entry.js → p-2073966b.system.entry.js} +1 -1
- package/lib/duet/{p-c0483523.system.entry.js → p-22df3386.system.entry.js} +1 -1
- package/lib/duet/{p-b2996b8c.system.entry.js → p-23043e9e.system.entry.js} +1 -1
- package/lib/duet/{p-9bd338fd.system.js → p-23354cf7.system.js} +1 -1
- package/lib/duet/{p-932be5dd.system.entry.js → p-26a30f41.system.entry.js} +1 -1
- package/lib/duet/{p-5d023790.system.entry.js → p-26e6c296.system.entry.js} +1 -1
- package/lib/duet/{p-15a4a165.system.entry.js → p-2975e980.system.entry.js} +1 -1
- package/lib/duet/{p-7dcdefb0.system.entry.js → p-2f2a6fbf.system.entry.js} +1 -1
- package/lib/duet/{p-9514ee57.system.entry.js → p-3120a193.system.entry.js} +1 -1
- package/lib/duet/{p-e4efc7ea.system.entry.js → p-31215119.system.entry.js} +1 -1
- package/lib/duet/{p-0440798d.entry.js → p-342a250d.entry.js} +1 -1
- package/lib/duet/{p-28a033de.system.entry.js → p-3809955c.system.entry.js} +1 -1
- package/lib/duet/{p-4adb4139.entry.js → p-39aac14c.entry.js} +1 -1
- package/lib/duet/{p-d92ad0d1.system.entry.js → p-3e7d63ff.system.entry.js} +1 -1
- package/lib/duet/{p-79f01df6.entry.js → p-414cc15d.entry.js} +1 -1
- package/lib/duet/{p-7d9cffe7.system.entry.js → p-4350eaaa.system.entry.js} +1 -1
- package/lib/duet/{p-b2a54e37.entry.js → p-462326bc.entry.js} +1 -1
- package/lib/duet/{p-65007ed4.system.entry.js → p-46bc086c.system.entry.js} +1 -1
- package/lib/duet/p-485f3748.system.entry.js +4 -0
- package/lib/duet/{p-c481631f.system.entry.js → p-508c6401.system.entry.js} +1 -1
- package/lib/duet/p-50ebc951.system.entry.js +4 -0
- package/lib/duet/{p-3bda5078.system.entry.js → p-51b802fe.system.entry.js} +1 -1
- package/lib/duet/{p-0198349d.entry.js → p-5224b8e7.entry.js} +1 -1
- package/lib/duet/{p-cea2cb32.entry.js → p-52811ee4.entry.js} +1 -1
- package/lib/duet/{p-0777ebba.entry.js → p-529b0ef8.entry.js} +1 -1
- package/lib/duet/{p-662da762.js → p-52bcdf36.js} +1 -1
- package/lib/duet/{p-67d8175e.system.entry.js → p-530dc869.system.entry.js} +1 -1
- package/lib/duet/{p-049d43f7.entry.js → p-531c259f.entry.js} +1 -1
- package/lib/duet/{p-17373631.entry.js → p-57a29655.entry.js} +1 -1
- package/lib/duet/{p-aab21f91.entry.js → p-57b54fc2.entry.js} +1 -1
- package/lib/duet/{p-930f8fe7.system.entry.js → p-5983c4c1.system.entry.js} +1 -1
- package/lib/duet/{p-1fbb9af9.entry.js → p-59d78e4a.entry.js} +1 -1
- package/lib/duet/p-5a5fb62b.system.entry.js +4 -0
- package/lib/duet/{p-cf1e1237.system.entry.js → p-5a8c6db7.system.entry.js} +1 -1
- package/lib/duet/{p-1e67f010.system.entry.js → p-5b2d1616.system.entry.js} +1 -1
- package/lib/duet/p-5b8477c2.system.js +4 -0
- package/lib/duet/{p-75eb9381.system.entry.js → p-5bd11cd6.system.entry.js} +1 -1
- package/lib/duet/{p-2f98c466.system.entry.js → p-5ed4cad9.system.entry.js} +1 -1
- package/lib/duet/{p-f1f7ee14.entry.js → p-600af4ae.entry.js} +1 -1
- package/lib/duet/{p-54cf9288.system.entry.js → p-6073f3e6.system.entry.js} +1 -1
- package/lib/duet/p-61a76b2b.system.js +4 -0
- package/lib/duet/p-61ab4c50.system.entry.js +4 -0
- package/lib/duet/{p-55e1e8e8.system.entry.js → p-62a1697f.system.entry.js} +1 -1
- package/lib/duet/{p-55f3f985.entry.js → p-62cd7e30.entry.js} +1 -1
- package/lib/duet/{p-e36f923b.entry.js → p-62d30a58.entry.js} +1 -1
- package/lib/duet/{p-eb790693.entry.js → p-6374b7ea.entry.js} +1 -1
- package/lib/duet/{p-a22130db.entry.js → p-641be297.entry.js} +1 -1
- package/lib/duet/{p-154ca6bb.entry.js → p-64737ee3.entry.js} +1 -1
- package/lib/duet/{p-9b62ef83.entry.js → p-6484d791.entry.js} +1 -1
- package/lib/duet/{p-4347cce6.system.entry.js → p-692d016e.system.entry.js} +1 -1
- package/lib/duet/{p-18b36a30.entry.js → p-697addd1.entry.js} +1 -1
- package/lib/duet/p-6e53e390.system.entry.js +4 -0
- package/lib/duet/{p-ddc7c96e.system.entry.js → p-73ec169a.system.entry.js} +1 -1
- package/lib/duet/{p-0081d434.system.entry.js → p-7576d859.system.entry.js} +1 -1
- package/lib/duet/{p-d350968c.system.entry.js → p-7694b9fa.system.entry.js} +2 -2
- package/lib/duet/{p-7ac648a3.system.entry.js → p-7b57105a.system.entry.js} +1 -1
- package/lib/duet/{p-dd7d3b2b.entry.js → p-7bced88e.entry.js} +1 -1
- package/lib/duet/{p-44ac28ab.entry.js → p-7ceb2a64.entry.js} +1 -1
- package/lib/duet/{p-afea9845.entry.js → p-7d4f3ee9.entry.js} +1 -1
- package/lib/duet/{p-576cd780.entry.js → p-7f06df0d.entry.js} +1 -1
- package/lib/duet/{p-174f2859.entry.js → p-7fed706e.entry.js} +1 -1
- package/lib/duet/{p-673fdacb.system.entry.js → p-7ff65dc0.system.entry.js} +1 -1
- package/lib/duet/{p-5f877026.system.entry.js → p-802d6f86.system.entry.js} +1 -1
- package/lib/duet/{p-16b80d3b.js → p-81c39b69.js} +1 -1
- package/lib/duet/{p-eac79871.entry.js → p-8214bafd.entry.js} +1 -1
- package/lib/duet/p-876456fd.entry.js +4 -0
- package/lib/duet/{p-d585ac25.entry.js → p-87653f71.entry.js} +1 -1
- package/lib/duet/{p-2c917cc6.entry.js → p-877c5c97.entry.js} +1 -1
- package/lib/duet/{p-b0fd435f.system.entry.js → p-89aa11c5.system.entry.js} +1 -1
- package/lib/duet/p-8a08dc1c.system.entry.js +4 -0
- package/lib/duet/{p-e2a0e33f.system.entry.js → p-8b7288e6.system.entry.js} +1 -1
- package/lib/duet/{p-ebd1b7ae.system.entry.js → p-8c8752c1.system.entry.js} +1 -1
- package/lib/duet/{p-71bd1c3c.entry.js → p-8c9f4ffd.entry.js} +1 -1
- package/lib/duet/{p-965f292c.system.entry.js → p-8ca7b2fa.system.entry.js} +1 -1
- package/lib/duet/{p-2e037205.system.entry.js → p-8dbc03c1.system.entry.js} +1 -1
- package/lib/duet/{p-ca21be58.entry.js → p-90f13f5e.entry.js} +1 -1
- package/lib/duet/p-9333f3f2.entry.js +4 -0
- package/lib/duet/{p-610b364b.system.js → p-95eca09b.system.js} +1 -1
- package/lib/duet/{p-73c27f4f.entry.js → p-97c30079.entry.js} +1 -1
- package/lib/duet/p-99269e38.system.js +4 -0
- package/lib/duet/p-9a43d193.entry.js +4 -0
- package/lib/duet/{p-65b45177.system.entry.js → p-9a5fd97c.system.entry.js} +1 -1
- package/lib/duet/p-9a7c25f2.entry.js +4 -0
- package/lib/duet/{p-196afde9.system.entry.js → p-9ad8c8d4.system.entry.js} +1 -1
- package/lib/duet/{p-e49e8a54.system.entry.js → p-9d328100.system.entry.js} +1 -1
- package/lib/duet/{p-d832433b.system.entry.js → p-9de27a8f.system.entry.js} +1 -1
- package/lib/duet/{p-e5c0b71a.js → p-9dff8650.js} +1 -1
- package/lib/duet/{p-8be10d34.entry.js → p-9f939b40.entry.js} +1 -1
- package/lib/duet/{p-563dfb63.system.entry.js → p-9fd8cf3b.system.entry.js} +1 -1
- package/lib/duet/{p-70dd63d2.entry.js → p-9fffb1b4.entry.js} +1 -1
- package/lib/duet/{p-9f29048f.entry.js → p-a13bb243.entry.js} +1 -1
- package/lib/duet/{p-780dd22d.entry.js → p-a37947f2.entry.js} +1 -1
- package/lib/duet/{p-e9928179.system.entry.js → p-a658fd46.system.entry.js} +1 -1
- package/lib/duet/{p-23548d24.entry.js → p-a6a7278c.entry.js} +1 -1
- package/lib/duet/{p-39a3beb3.entry.js → p-a71dfbc3.entry.js} +1 -1
- package/lib/duet/{p-a34e7225.entry.js → p-a7788ac6.entry.js} +1 -1
- package/lib/duet/{p-1fec3835.system.entry.js → p-a871d5b1.system.entry.js} +1 -1
- package/lib/duet/{p-7aff0f7c.entry.js → p-a904b928.entry.js} +1 -1
- package/lib/duet/{p-ae30e4ce.entry.js → p-a9fb2dad.entry.js} +1 -1
- package/lib/duet/{p-33666f2e.entry.js → p-a9fee462.entry.js} +1 -1
- package/lib/duet/{p-f5fee877.entry.js → p-aad8ab06.entry.js} +1 -1
- package/lib/duet/{p-5b528cd1.system.entry.js → p-ac10c490.system.entry.js} +1 -1
- package/lib/duet/{p-5908bf36.entry.js → p-ac607868.entry.js} +1 -1
- package/lib/duet/{p-dd5b17d0.system.entry.js → p-acad0f72.system.entry.js} +1 -1
- package/lib/duet/p-aefc858d.entry.js +4 -0
- package/lib/duet/{p-0c5ed102.entry.js → p-af1bc725.entry.js} +1 -1
- package/lib/duet/{p-f9b3965d.system.entry.js → p-af4af7bb.system.entry.js} +1 -1
- package/lib/duet/p-b099522e.system.entry.js +4 -0
- package/lib/duet/{p-4218b915.system.entry.js → p-b1afb239.system.entry.js} +1 -1
- package/lib/duet/{p-074fcd6b.system.entry.js → p-b1e84ea2.system.entry.js} +1 -1
- package/lib/duet/p-b2608fe2.system.entry.js +4 -0
- package/lib/duet/p-b2744aa5.entry.js +4 -0
- package/lib/duet/{p-b710add2.system.entry.js → p-b3a4cb83.system.entry.js} +1 -1
- package/lib/duet/{p-2abdfdf5.entry.js → p-b4ebdbc3.entry.js} +1 -1
- package/lib/duet/{p-753f2b28.entry.js → p-b61c49de.entry.js} +1 -1
- package/lib/duet/p-bb24a019.js +4 -0
- package/lib/duet/{p-bb35b92e.system.entry.js → p-bb507da0.system.entry.js} +1 -1
- package/lib/duet/{p-5339aeea.entry.js → p-c233d99d.entry.js} +1 -1
- package/lib/duet/{p-b9cb8ccb.system.entry.js → p-c2552968.system.entry.js} +1 -1
- package/lib/duet/{p-b9ea34d3.system.entry.js → p-c521eae3.system.entry.js} +1 -1
- package/lib/duet/{p-3f23694f.entry.js → p-d20b8b82.entry.js} +1 -1
- package/lib/duet/{p-d57d7d49.system.entry.js → p-d241457a.system.entry.js} +1 -1
- package/lib/duet/{p-b2b02430.entry.js → p-d577a8d9.entry.js} +1 -1
- package/lib/duet/{p-1498e92a.system.entry.js → p-d6b7c83c.system.entry.js} +1 -1
- package/lib/duet/{p-5e849463.js → p-d81ec707.js} +1 -1
- package/lib/duet/{p-639fd377.system.entry.js → p-d9af65c8.system.entry.js} +1 -1
- package/lib/duet/{p-3bfdf5dc.system.entry.js → p-db73a673.system.entry.js} +1 -1
- package/lib/duet/{p-94147b17.system.entry.js → p-def2db15.system.entry.js} +1 -1
- package/lib/duet/{p-b89fe252.entry.js → p-e006f206.entry.js} +1 -1
- package/lib/duet/{p-37b3c823.entry.js → p-e108f77f.entry.js} +1 -1
- package/lib/duet/{p-21774475.system.js → p-e1868c94.system.js} +1 -1
- package/lib/duet/{p-7fb66081.system.entry.js → p-e4cec0cd.system.entry.js} +1 -1
- package/lib/duet/{p-61b870ac.entry.js → p-e55b0091.entry.js} +1 -1
- package/lib/duet/{p-ca0f9f08.system.entry.js → p-e634de62.system.entry.js} +1 -1
- package/lib/duet/{p-762c0edb.system.entry.js → p-e87e976f.system.entry.js} +1 -1
- package/lib/duet/{p-ce88ecc6.entry.js → p-e9dc6d6c.entry.js} +1 -1
- package/lib/duet/{p-c7fdc7dc.system.entry.js → p-ebc55747.system.entry.js} +1 -1
- package/lib/duet/p-ecb2cbbf.entry.js +4 -0
- package/lib/duet/{p-f7f16a52.entry.js → p-efa1441d.entry.js} +1 -1
- package/lib/duet/p-f041d166.entry.js +4 -0
- package/lib/duet/{p-b9157c7e.js → p-f2aa1623.js} +1 -1
- package/lib/duet/{p-b8c89970.entry.js → p-f4551b33.entry.js} +1 -1
- package/lib/duet/{p-a70815fa.system.entry.js → p-f52a6fc5.system.entry.js} +1 -1
- package/lib/duet/p-f5909e7f.entry.js +4 -0
- package/lib/duet/{p-bf2fd03b.entry.js → p-f603773e.entry.js} +1 -1
- package/lib/duet/{p-a75b2646.system.entry.js → p-fd8935c8.system.entry.js} +1 -1
- package/lib/duet/{p-42b9b16c.system.entry.js → p-fef7a17b.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +7 -5
- 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 +6 -6
- package/lib/esm/duet-callout.entry.js +4 -3
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- 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 +22 -3
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- 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 +2 -2
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +3 -2
- package/lib/esm/duet-icon.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +3 -3
- 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 +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +3 -3
- 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-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-popup-menu-item.entry.js +3 -2
- package/lib/esm/duet-popup-menu.entry.js +14 -13
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +5 -4
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +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 +4 -4
- package/lib/esm/duet-slideout.entry.js +33 -52
- 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 +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +2 -2
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +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-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-2a29f64e.js → focus-utils-d168d36c.js} +1 -1
- package/lib/esm/{index-909a963e.js → index-5c989c52.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/slot-utils-07ba4363.js +18 -0
- package/lib/esm/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
- package/lib/{dist-custom-elements/p-5e849463.js → esm/tokens-30d01e1d.js} +1 -1
- package/lib/esm/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- 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-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 +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 +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +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-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-d168d36c.js +4 -0
- package/lib/esm-es5/{index-909a963e.js → index-5c989c52.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-utils-07ba4363.js +4 -0
- package/lib/esm-es5/{token-utils-ece867a8.js → token-utils-d09165bc.js} +1 -1
- package/lib/esm-es5/{tokens-04106a43.js → tokens-30d01e1d.js} +1 -1
- package/lib/esm-es5/{tokens.module-7a2f9c49.js → tokens.module-c9866649.js} +1 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +5 -0
- package/lib/types/components/duet-callout/duet-callout.d.ts +1 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +13 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +3 -3
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -3
- 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 +6 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -3
- package/lib/types/components.d.ts +36 -2
- package/lib/types/utils/slot-utils.d.ts +2 -0
- package/package.json +7 -7
- package/lib/dist-custom-elements/p-1c7bd169.js +0 -60
- package/lib/dist-custom-elements/p-c493eecb.js +0 -205
- package/lib/duet/p-031b59ba.system.entry.js +0 -4
- package/lib/duet/p-05f62501.entry.js +0 -4
- package/lib/duet/p-12f3d121.system.entry.js +0 -4
- package/lib/duet/p-207544a2.entry.js +0 -4
- package/lib/duet/p-25109b90.system.entry.js +0 -4
- package/lib/duet/p-3fb7b966.entry.js +0 -4
- package/lib/duet/p-50a679f4.entry.js +0 -4
- package/lib/duet/p-50dbbb82.system.entry.js +0 -4
- package/lib/duet/p-6f806923.system.js +0 -4
- package/lib/duet/p-7bdbb023.entry.js +0 -4
- package/lib/duet/p-844e7c4c.entry.js +0 -4
- package/lib/duet/p-8a264125.system.entry.js +0 -4
- package/lib/duet/p-acfdeb70.entry.js +0 -4
- package/lib/duet/p-b0dfe576.system.entry.js +0 -4
- package/lib/duet/p-b0fa4550.system.js +0 -4
- package/lib/duet/p-cca98ade.entry.js +0 -4
- package/lib/duet/p-ce879ecd.system.entry.js +0 -4
- package/lib/duet/p-d038c90c.system.entry.js +0 -4
- package/lib/duet/p-d3141c64.entry.js +0 -4
- package/lib/duet/p-d54396be.system.entry.js +0 -4
- package/lib/duet/p-e91cced0.entry.js +0 -4
- package/lib/duet/p-ee815760.system.entry.js +0 -4
- package/lib/duet/p-f715214a.entry.js +0 -4
- package/lib/esm-es5/focus-utils-2a29f64e.js +0 -4
|
@@ -6,6 +6,7 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
import { slotElementCheck } from "../../utils/slot-utils";
|
|
9
10
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
10
11
|
/**
|
|
11
12
|
* @part duet-hero - piercing selector for styling the hero container
|
|
@@ -13,9 +14,9 @@ import { parsePossibleJSON } from "../../utils/string-utils";
|
|
|
13
14
|
* @slot default - This is an unamed slot for a text or extra button that is placed after any buttons (or list item)
|
|
14
15
|
* @slot badge - This is a slot for a status badge that sits next to pre-heading inside the hero component.
|
|
15
16
|
* @slot bottom - This is a slot for content under the main hero content.
|
|
16
|
-
* @slot pre-heading - This is a slot for pre-heading content inside the hero component.
|
|
17
|
-
* @slot heading - This is a slot for heading content inside the hero component.
|
|
18
|
-
* @slot subheading - This is a slot for heading content inside the hero component. Only usable with campaign, section variations.
|
|
17
|
+
* @slot pre-heading - This is a slot for pre-heading content inside the hero component. Only usable with gray variation. Only span should be used in this slot.
|
|
18
|
+
* @slot heading - This is a slot for heading content inside the hero component. Only span should be used in this slot.
|
|
19
|
+
* @slot subheading - This is a slot for heading content inside the hero component. Only usable with campaign, section variations. Only span should be used in this slot.
|
|
19
20
|
*/
|
|
20
21
|
export class DuetHero {
|
|
21
22
|
constructor() {
|
|
@@ -178,7 +179,7 @@ export class DuetHero {
|
|
|
178
179
|
href: this.processedBack.href,
|
|
179
180
|
id: this.processedBack.id,
|
|
180
181
|
analyticsId: this.processedBack.analyticsId,
|
|
181
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (h("
|
|
182
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (h("duet-icon", { class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), h("div", { class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (h("duet-paragraph", { margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (h("span", null, h("slot", { name: "pre-heading", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), h("slot", { name: "badge" }), (this.heading || this.hasHeadingSlot) && (h("duet-heading", { theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (h("span", null, h("slot", { name: "heading", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), campaignOrSection && this.hasSubHeadingSlot && (h("duet-heading", { theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, h("span", null, h("slot", { name: "subheading", onSlotchange: ev => slotElementCheck(ev, this, "span") })))), this.description && (h("duet-paragraph", { theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (h("duet-list", { theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (h("duet-list-item", null, h("span", { slot: "label" }, item.label), h("span", { slot: "value" }, item.value)))))), this.buttonLabel && (h("duet-button", { url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), h("span", { class: "duet-hero-slot-unnamed" }, h("slot", null))), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (h("div", { class: "duet-hero-links" }, this.processedActions.map(item => (h("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, h("div", { class: "duet-hero-action-icon" }, h("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), h("span", null, item.label), item.external && h("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (h("div", { class: "duet-hero-action-arrow" }, h("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
182
183
|
this.variation !== "image" &&
|
|
183
184
|
!campaignOrSection &&
|
|
184
185
|
this.variation !== "product" &&
|
|
@@ -78,7 +78,7 @@ export class DuetIcon {
|
|
|
78
78
|
"duet-m-0": this.margin === "none",
|
|
79
79
|
"duet-icon-has-outline": !!this.outline,
|
|
80
80
|
"duet-icon-has-background": !!this.background,
|
|
81
|
-
} }, h("
|
|
81
|
+
} }, h("span", { "aria-hidden": "true", style: styles, class: {
|
|
82
82
|
"duet-icon": true,
|
|
83
83
|
[this.size]: true,
|
|
84
84
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { computePosition, flip, offset } from "@floating-ui/dom";
|
|
5
5
|
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { focusElement } from "../../utils/focus-utils";
|
|
7
8
|
import { isArrowDownKey, isArrowUpKey, isEscapeKey, isTabKey } from "../../utils/keyboard-utils";
|
|
8
9
|
import { Teleport } from "../../utils/teleport";
|
|
9
10
|
export class DuetPopupMenu {
|
|
@@ -12,7 +13,7 @@ export class DuetPopupMenu {
|
|
|
12
13
|
if (!this.controller) {
|
|
13
14
|
return;
|
|
14
15
|
}
|
|
15
|
-
const coordinates = await computePosition(this.controller, this.
|
|
16
|
+
const coordinates = await computePosition(this.controller, this.menuElement, {
|
|
16
17
|
middleware: [offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }), flip()],
|
|
17
18
|
placement: this.placement,
|
|
18
19
|
strategy: this.position,
|
|
@@ -24,6 +25,7 @@ export class DuetPopupMenu {
|
|
|
24
25
|
this.menuY = undefined;
|
|
25
26
|
this.menuX = undefined;
|
|
26
27
|
this.accessibleLabel = undefined;
|
|
28
|
+
this.accessibleRole = "menu";
|
|
27
29
|
this.theme = "";
|
|
28
30
|
this.controller = undefined;
|
|
29
31
|
this.placement = "bottom-start";
|
|
@@ -81,7 +83,7 @@ export class DuetPopupMenu {
|
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
|
-
if (isTabKey(evt)) {
|
|
86
|
+
if (isTabKey(evt) && this.accessibleRole === "menu") {
|
|
85
87
|
evt.preventDefault();
|
|
86
88
|
this.hide();
|
|
87
89
|
}
|
|
@@ -105,7 +107,9 @@ export class DuetPopupMenu {
|
|
|
105
107
|
async show() {
|
|
106
108
|
this.open = true;
|
|
107
109
|
this.teleport.go();
|
|
108
|
-
this.
|
|
110
|
+
if (this.accessibleRole === "menu") {
|
|
111
|
+
this.itemElements[0].setFocus();
|
|
112
|
+
}
|
|
109
113
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
110
114
|
this.updatePlacement();
|
|
111
115
|
}
|
|
@@ -115,7 +119,9 @@ export class DuetPopupMenu {
|
|
|
115
119
|
async hide() {
|
|
116
120
|
this.open = false;
|
|
117
121
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
118
|
-
this.
|
|
122
|
+
if (this.accessibleRole === "menu") {
|
|
123
|
+
this.focusController();
|
|
124
|
+
}
|
|
119
125
|
this.teleport.resume(200);
|
|
120
126
|
}
|
|
121
127
|
/**
|
|
@@ -131,16 +137,11 @@ export class DuetPopupMenu {
|
|
|
131
137
|
}
|
|
132
138
|
focusController() {
|
|
133
139
|
if (this.controller) {
|
|
134
|
-
|
|
135
|
-
this.controller.setFocus();
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
this.controller.focus();
|
|
139
|
-
}
|
|
140
|
+
focusElement(this.controller);
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
get itemElements() {
|
|
143
|
-
return Array.from(this.element.querySelectorAll(":scope
|
|
144
|
+
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
144
145
|
}
|
|
145
146
|
async getFocusedItemIndex() {
|
|
146
147
|
const items = this.itemElements;
|
|
@@ -156,7 +157,7 @@ export class DuetPopupMenu {
|
|
|
156
157
|
top: `${this.menuY}px`,
|
|
157
158
|
left: `${this.menuX}px`,
|
|
158
159
|
};
|
|
159
|
-
return (h(Host, { class: this.position }, h("div", { style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role:
|
|
160
|
+
return (h(Host, { class: this.position }, h("div", { ref: element => (this.menuElement = element), style: positionStyles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", null))));
|
|
160
161
|
}
|
|
161
162
|
static get is() { return "duet-popup-menu"; }
|
|
162
163
|
static get encapsulation() { return "shadow"; }
|
|
@@ -189,6 +190,24 @@ export class DuetPopupMenu {
|
|
|
189
190
|
"attribute": "accessible-label",
|
|
190
191
|
"reflect": false
|
|
191
192
|
},
|
|
193
|
+
"accessibleRole": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"mutable": false,
|
|
196
|
+
"complexType": {
|
|
197
|
+
"original": "\"menu\" | \"list\"",
|
|
198
|
+
"resolved": "\"list\" | \"menu\"",
|
|
199
|
+
"references": {}
|
|
200
|
+
},
|
|
201
|
+
"required": false,
|
|
202
|
+
"optional": false,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "Accessible role."
|
|
206
|
+
},
|
|
207
|
+
"attribute": "accessible-role",
|
|
208
|
+
"reflect": false,
|
|
209
|
+
"defaultValue": "\"menu\""
|
|
210
|
+
},
|
|
192
211
|
"theme": {
|
|
193
212
|
"type": "string",
|
|
194
213
|
"mutable": true,
|
|
@@ -217,12 +236,22 @@ export class DuetPopupMenu {
|
|
|
217
236
|
"type": "unknown",
|
|
218
237
|
"mutable": false,
|
|
219
238
|
"complexType": {
|
|
220
|
-
"original": "HTMLElement
|
|
221
|
-
"resolved": "HTMLElement
|
|
239
|
+
"original": "HTMLElement & FocusableComponent & OpenerComponent",
|
|
240
|
+
"resolved": "HTMLElement & FocusableComponent & OpenerComponent",
|
|
222
241
|
"references": {
|
|
223
242
|
"HTMLElement": {
|
|
224
243
|
"location": "global",
|
|
225
244
|
"id": "global::HTMLElement"
|
|
245
|
+
},
|
|
246
|
+
"FocusableComponent": {
|
|
247
|
+
"location": "import",
|
|
248
|
+
"path": "../../common",
|
|
249
|
+
"id": "src/common/index.ts::FocusableComponent"
|
|
250
|
+
},
|
|
251
|
+
"OpenerComponent": {
|
|
252
|
+
"location": "import",
|
|
253
|
+
"path": "../../common",
|
|
254
|
+
"id": "src/common/index.ts::OpenerComponent"
|
|
226
255
|
}
|
|
227
256
|
}
|
|
228
257
|
},
|
|
@@ -26,6 +26,7 @@ export class DuetPopupMenuItem {
|
|
|
26
26
|
};
|
|
27
27
|
this.focus = false;
|
|
28
28
|
this.accessibleLabel = undefined;
|
|
29
|
+
this.accessibleRole = "menuitem";
|
|
29
30
|
this.theme = "";
|
|
30
31
|
this.url = undefined;
|
|
31
32
|
this.external = false;
|
|
@@ -61,7 +62,7 @@ export class DuetPopupMenuItem {
|
|
|
61
62
|
active: this.active,
|
|
62
63
|
"duet-theme-turva": this.theme === "turva",
|
|
63
64
|
};
|
|
64
|
-
return (h(Host, null, h(TagName, { ref: element => (this.itemElement = element), tabIndex: -1, onFocus: this.onFocus, onBlur: this.onBlur, role: "
|
|
65
|
+
return (h(Host, null, h(TagName, { ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"} ${this.accessibleRole}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { class: "duet-popup-menu-item-label" }, h("slot", null)), this.trailingIcon && (h("duet-icon", { name: this.trailingIcon, size: "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && h("span", { class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
65
66
|
}
|
|
66
67
|
static get is() { return "duet-popup-menu-item"; }
|
|
67
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,6 +95,24 @@ export class DuetPopupMenuItem {
|
|
|
94
95
|
"attribute": "accessible-label",
|
|
95
96
|
"reflect": false
|
|
96
97
|
},
|
|
98
|
+
"accessibleRole": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "\"menuitem\" | \"listitem\"",
|
|
103
|
+
"resolved": "\"listitem\" | \"menuitem\"",
|
|
104
|
+
"references": {}
|
|
105
|
+
},
|
|
106
|
+
"required": false,
|
|
107
|
+
"optional": false,
|
|
108
|
+
"docs": {
|
|
109
|
+
"tags": [],
|
|
110
|
+
"text": "Accessible role."
|
|
111
|
+
},
|
|
112
|
+
"attribute": "accessible-role",
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "\"menuitem\""
|
|
115
|
+
},
|
|
97
116
|
"theme": {
|
|
98
117
|
"type": "string",
|
|
99
118
|
"mutable": true,
|
|
@@ -3,7 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { slotElementCheck } from "../../utils/slot-utils";
|
|
6
7
|
import { getColorByName } from "../../utils/token-utils";
|
|
8
|
+
/**
|
|
9
|
+
* @slot pre-heading - Slot for pre-heading content.
|
|
10
|
+
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
11
|
+
* @slot description - Slot for description content. Only span should be used in this slot.
|
|
12
|
+
* @slot action - Slot for action button.
|
|
13
|
+
*/
|
|
7
14
|
export class DuetPromoCard {
|
|
8
15
|
constructor() {
|
|
9
16
|
this.theme = "";
|
|
@@ -38,7 +45,7 @@ export class DuetPromoCard {
|
|
|
38
45
|
"duet-promo-card": true,
|
|
39
46
|
"duet-theme-turva": this.theme === "turva",
|
|
40
47
|
"no-bg-color": !this.backgroundColor,
|
|
41
|
-
}, style: bannerStyles }, h(TagName, { href: this.url, class: "content-wrapper" }, 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("
|
|
48
|
+
}, style: bannerStyles }, h(TagName, { href: this.url, class: "content-wrapper" }, 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", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), this.hasDescriptionSlot && (h("div", { class: "description" }, h("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, h("span", null, h("slot", { name: "description", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), this.hasActionSlot && (h("div", { class: "action" }, h("slot", { name: "action" }))))))));
|
|
42
49
|
}
|
|
43
50
|
static get is() { return "duet-promo-card"; }
|
|
44
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { Build, h, Host } from "@stencil/core";
|
|
4
|
+
import { Build, h, Host, } from "@stencil/core";
|
|
5
5
|
import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
|
|
6
6
|
import { hasSlot } from "../../common";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
@@ -27,14 +27,6 @@ export class DuetSlideout {
|
|
|
27
27
|
};
|
|
28
28
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
29
29
|
this.hasStickyHeaderSlot = false;
|
|
30
|
-
this.handleBodyScrolling = () => {
|
|
31
|
-
if (this.displaying && this.open) {
|
|
32
|
-
disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
enableBodyScroll(this.dialog);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
30
|
this.setOpenButton = (element) => {
|
|
39
31
|
if (!element) {
|
|
40
32
|
return;
|
|
@@ -57,35 +49,11 @@ export class DuetSlideout {
|
|
|
57
49
|
};
|
|
58
50
|
this.toggleMenu = (e) => {
|
|
59
51
|
this.open = !this.open;
|
|
60
|
-
if (this.openButton) {
|
|
61
|
-
this.openButton.accessibleExpanded = this.open;
|
|
62
|
-
}
|
|
63
52
|
this.duetSlideoutEvent.emit({
|
|
64
53
|
originalEvent: e,
|
|
65
54
|
data: { element: this.element, open: this.open },
|
|
66
55
|
component: "duet-slideout",
|
|
67
56
|
});
|
|
68
|
-
if (this.open) {
|
|
69
|
-
const openPanel = this.getOpenPanel();
|
|
70
|
-
this.teleport.go(true);
|
|
71
|
-
if (openPanel) {
|
|
72
|
-
openPanel.setFocus();
|
|
73
|
-
this.handleBodyScrolling();
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
setTimeout(() => {
|
|
77
|
-
this.closeButton.focus();
|
|
78
|
-
this.handleBodyScrolling();
|
|
79
|
-
}, 200);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
setTimeout(() => {
|
|
84
|
-
focusElement(this.openButton);
|
|
85
|
-
this.handleBodyScrolling();
|
|
86
|
-
this.teleport.resume();
|
|
87
|
-
}, 200);
|
|
88
|
-
}
|
|
89
57
|
};
|
|
90
58
|
this.bgOnClick = (e) => {
|
|
91
59
|
if (this.open) {
|
|
@@ -126,27 +94,9 @@ export class DuetSlideout {
|
|
|
126
94
|
});
|
|
127
95
|
this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
|
|
128
96
|
}
|
|
129
|
-
componentDidRender() {
|
|
130
|
-
if (Build.isServer) {
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
// intersection observer is here to observe when the dialog is actually visible and when its not
|
|
134
|
-
if (this.intersectionObserver) {
|
|
135
|
-
this.intersectionObserver.disconnect();
|
|
136
|
-
}
|
|
137
|
-
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
138
|
-
this.displaying = entries[0].isIntersecting;
|
|
139
|
-
this.handleBodyScrolling();
|
|
140
|
-
});
|
|
141
|
-
// this.dialog can't be observed before rendering because its not available yet
|
|
142
|
-
this.intersectionObserver.observe(this.dialog);
|
|
143
|
-
}
|
|
144
97
|
disconnectedCallback() {
|
|
145
98
|
disconnectLanguageChangeObserver(this);
|
|
146
99
|
enableBodyScroll(this.dialog);
|
|
147
|
-
if (this.intersectionObserver) {
|
|
148
|
-
this.intersectionObserver.disconnect();
|
|
149
|
-
}
|
|
150
100
|
if (this.mutationObserver) {
|
|
151
101
|
this.mutationObserver.disconnect();
|
|
152
102
|
}
|
|
@@ -154,6 +104,31 @@ export class DuetSlideout {
|
|
|
154
104
|
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
155
105
|
}
|
|
156
106
|
}
|
|
107
|
+
handleOpenChange() {
|
|
108
|
+
if (this.openButton) {
|
|
109
|
+
this.openButton.accessibleExpanded = this.open;
|
|
110
|
+
}
|
|
111
|
+
if (this.open) {
|
|
112
|
+
const openPanel = this.getOpenPanel();
|
|
113
|
+
this.teleport.go(true);
|
|
114
|
+
disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
|
|
115
|
+
if (openPanel) {
|
|
116
|
+
openPanel.setFocus();
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
setTimeout(() => {
|
|
120
|
+
this.closeButton.focus();
|
|
121
|
+
}, 200);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
setTimeout(() => {
|
|
126
|
+
focusElement(this.openButton);
|
|
127
|
+
enableBodyScroll(this.dialog);
|
|
128
|
+
this.teleport.resume();
|
|
129
|
+
}, 200);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
157
132
|
/**
|
|
158
133
|
* Component event handling.
|
|
159
134
|
*/
|
|
@@ -456,6 +431,12 @@ export class DuetSlideout {
|
|
|
456
431
|
};
|
|
457
432
|
}
|
|
458
433
|
static get elementRef() { return "element"; }
|
|
434
|
+
static get watchers() {
|
|
435
|
+
return [{
|
|
436
|
+
"propName": "open",
|
|
437
|
+
"methodName": "handleOpenChange"
|
|
438
|
+
}];
|
|
439
|
+
}
|
|
459
440
|
static get listeners() {
|
|
460
441
|
return [{
|
|
461
442
|
"name": "keyup",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
export const slotElementCheck = (evt, component, requiredTagName) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const slot = evt.target;
|
|
7
|
+
const slotDescription = slot.name ? `slot ${slot.name}` : "default slot";
|
|
8
|
+
const slotElement = slot.assignedElements()[0];
|
|
9
|
+
const slotTagName = slotElement === null || slotElement === void 0 ? void 0 : slotElement.tagName.toLowerCase();
|
|
10
|
+
const componentTagName = (_a = component.element) === null || _a === void 0 ? void 0 : _a.tagName.toLowerCase();
|
|
11
|
+
if (slotTagName && slotTagName !== requiredTagName) {
|
|
12
|
+
console.warn(`Duet warning:
|
|
13
|
+
Only <${requiredTagName}> should be used in <${componentTagName}> ${slotDescription}.
|
|
14
|
+
Found: <${slotTagName}>`);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-8371f4c9.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-dbaac77a.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-15d5aa46.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h as h$1, d as Host } from './p-9e103db0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { h } from './p-62c7d9d4.js';
|
|
7
|
+
import { s as slotElementCheck } from './p-bb24a019.js';
|
|
7
8
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
8
|
-
import { g as getColorByName } from './p-
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-fc6bb9ab.js';
|
|
9
|
+
import { g as getColorByName } from './p-ef9c200e.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-0aef3ad3.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-188d76d4.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -17,7 +17,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
17
17
|
h("img", Object.assign({}, img))));
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
20
|
+
const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
21
21
|
|
|
22
22
|
const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H {
|
|
23
23
|
constructor() {
|
|
@@ -52,6 +52,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
52
52
|
render() {
|
|
53
53
|
const backgroundColorTemp = this.theme === "turva" && this.backgroundColor === "primary-lighter" ? "gray-lighter" : this.backgroundColor;
|
|
54
54
|
const backgroundColor = getColorByName(backgroundColorTemp, this.theme);
|
|
55
|
+
const color = getColorByName(this.textColor, this.theme);
|
|
55
56
|
const bannerStyles = {
|
|
56
57
|
backgroundColor,
|
|
57
58
|
};
|
|
@@ -63,7 +64,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
63
64
|
"duet-banner": true,
|
|
64
65
|
"duet-theme-turva": this.theme === "turva",
|
|
65
66
|
[this.size]: true,
|
|
66
|
-
}, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h$1("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, h$1("
|
|
67
|
+
}, style: bannerStyles }, h$1("div", { class: "visual" }, h$1("div", { class: "image-container" }, this.image && h$1(DuetPicture, Object.assign({}, pictureSource))), this.icon && (h$1("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), h$1("div", { class: "content" }, this.hasHeadingSlot && (h$1("div", { class: "heading" }, h$1("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, h$1("span", null, h$1("slot", { name: "heading", onSlotchange: ev => slotElementCheck(ev, this, "span") }))))), this.hasDescriptionSlot && (h$1("div", { class: "description", style: { color } }, h$1("slot", { name: "description" }))), this.hasActionSlot && (h$1("div", { class: "action" }, h$1("slot", { name: "action" })))))));
|
|
67
68
|
}
|
|
68
69
|
get element() { return this; }
|
|
69
70
|
static get style() { return duetBannerCss; }
|
|
@@ -84,7 +85,7 @@ function defineCustomElement$1() {
|
|
|
84
85
|
if (typeof customElements === "undefined") {
|
|
85
86
|
return;
|
|
86
87
|
}
|
|
87
|
-
const components = ["duet-banner", "duet-heading", "duet-icon"
|
|
88
|
+
const components = ["duet-banner", "duet-heading", "duet-icon"];
|
|
88
89
|
components.forEach(tagName => { switch (tagName) {
|
|
89
90
|
case "duet-banner":
|
|
90
91
|
if (!customElements.get(tagName)) {
|
|
@@ -92,16 +93,11 @@ function defineCustomElement$1() {
|
|
|
92
93
|
}
|
|
93
94
|
break;
|
|
94
95
|
case "duet-heading":
|
|
95
|
-
if (!customElements.get(tagName)) {
|
|
96
|
-
defineCustomElement$4();
|
|
97
|
-
}
|
|
98
|
-
break;
|
|
99
|
-
case "duet-icon":
|
|
100
96
|
if (!customElements.get(tagName)) {
|
|
101
97
|
defineCustomElement$3();
|
|
102
98
|
}
|
|
103
99
|
break;
|
|
104
|
-
case "duet-
|
|
100
|
+
case "duet-icon":
|
|
105
101
|
if (!customElements.get(tagName)) {
|
|
106
102
|
defineCustomElement$2();
|
|
107
103
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9e103db0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-8f253845.js';
|
|
7
7
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-2e36d5bf.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-188d76d4.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-98aea896.js';
|
|
10
10
|
|
|
11
11
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-9e103db0.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { g as getLocaleString } from './p-2e36d5bf.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-d072d3f7.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|