@duetds/components 8.1.3 → 8.1.5
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 +147 -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 +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- 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 +12 -8
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -4
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +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 +19 -6
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -3
- 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 +4 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +5 -3
- 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 +4 -2
- 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 +82 -70
- 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 +4 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +4 -2
- 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 +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +12 -3
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-c921d7b4.js → focus-utils-ec077a62.js} +1 -1
- package/lib/cjs/{index-23baafec.js → index-00f527af.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{teleport-e7315776.js → teleport-6a1f83a1.js} +2 -2
- package/lib/cjs/{token-utils-f11c288e.js → token-utils-a5356b00.js} +1 -1
- package/lib/cjs/{tokens-c0b8b3a8.js → tokens-51cfbe11.js} +4 -1
- package/lib/cjs/{tokens.module-44ad1fdb.js → tokens.module-ce5f9579.js} +3 -1
- package/lib/collection/common/focusable-component.js +1 -0
- package/lib/collection/common/opener-component.js +1 -0
- package/lib/collection/components/duet-button/duet-button.css +120 -131
- package/lib/collection/components/duet-button/duet-button.js +10 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-input/duet-input.js +43 -1
- package/lib/collection/components/duet-label/duet-label.css +7 -0
- package/lib/collection/components/duet-label/duet-label.js +54 -1
- package/lib/collection/components/duet-modal/duet-modal.css +105 -16
- package/lib/collection/components/duet-modal/duet-modal.js +40 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +14 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +43 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +4 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +26 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +43 -1
- package/lib/collection/components/duet-select/duet-select.js +43 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +35 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +121 -92
- package/lib/collection/components/duet-textarea/duet-textarea.js +43 -1
- package/lib/collection/components/duet-toggle/duet-toggle.js +43 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +27 -1
- package/lib/collection/utils/teleport.js +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +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 +25 -11
- package/lib/dist-custom-elements/duet-multiselect.js +16 -18
- 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 +6 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- 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 +8 -4
- 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 +85 -72
- 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 +15 -11
- package/lib/dist-custom-elements/duet-toggle.js +7 -3
- 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-3400ca0c.js → p-0156b860.js} +1 -1
- package/lib/dist-custom-elements/{p-87c24ccc.js → p-1c7bd169.js} +1 -1
- package/lib/dist-custom-elements/{p-8b205719.js → p-1e82d8a1.js} +2 -2
- package/lib/dist-custom-elements/{p-367ad3f1.js → p-254a95d4.js} +2 -2
- package/lib/dist-custom-elements/{p-7d6b2e2a.js → p-2b56c0d7.js} +3 -1
- package/lib/dist-custom-elements/{p-147a15c7.js → p-3158e24f.js} +1 -1
- package/lib/dist-custom-elements/{p-2ffd3907.js → p-3cc835d7.js} +1 -1
- package/lib/dist-custom-elements/{p-8aa81f02.js → p-3d6047c0.js} +11 -4
- package/lib/dist-custom-elements/{p-1ecc8fe6.js → p-471a62cc.js} +1 -1
- package/lib/dist-custom-elements/{p-e79a85cc.js → p-475baac7.js} +1 -1
- package/lib/dist-custom-elements/{p-35de0b49.js → p-4a55dff3.js} +5 -5
- package/lib/dist-custom-elements/{p-e6db0986.js → p-4c5751cd.js} +1 -1
- package/lib/dist-custom-elements/{p-32b5c09b.js → p-4d3e1b52.js} +4 -4
- package/lib/dist-custom-elements/{p-003d89e4.js → p-583e21a8.js} +2 -2
- package/lib/dist-custom-elements/{p-0cc51aa5.js → p-5e849463.js} +4 -1
- package/lib/dist-custom-elements/{p-34e3bbfd.js → p-66f15eba.js} +2 -2
- package/lib/dist-custom-elements/p-6b977095.js +305 -0
- package/lib/dist-custom-elements/{p-5cb5afdb.js → p-6d0197c3.js} +5 -5
- package/lib/dist-custom-elements/{p-ce5d7b7d.js → p-7bb90fcc.js} +15 -11
- package/lib/dist-custom-elements/{p-a0befa19.js → p-7bcdcf71.js} +4 -4
- package/lib/dist-custom-elements/{p-709ad7fb.js → p-7d7291bf.js} +13 -9
- package/lib/dist-custom-elements/{p-b1f60850.js → p-8735b4db.js} +2 -2
- package/lib/dist-custom-elements/{p-d080d0f8.js → p-975a4689.js} +2 -2
- package/lib/dist-custom-elements/{p-63530da2.js → p-9a9a04bd.js} +3 -3
- package/lib/dist-custom-elements/{p-c68e31b1.js → p-9b174e03.js} +2 -2
- package/lib/dist-custom-elements/{p-70dfb83b.js → p-9c2d3a9d.js} +2 -2
- package/lib/dist-custom-elements/{p-e4b39e02.js → p-a4605d27.js} +17 -7
- package/lib/dist-custom-elements/{p-b06dc288.js → p-b590a133.js} +3 -3
- package/lib/dist-custom-elements/{p-e4d6f4d9.js → p-bb1ac896.js} +1 -1
- package/lib/dist-custom-elements/{p-671e391d.js → p-c493eecb.js} +2 -2
- package/lib/dist-custom-elements/{p-0a4f2604.js → p-cab60e87.js} +1 -1
- package/lib/dist-custom-elements/{p-751344b2.js → p-ccdff614.js} +2 -2
- package/lib/dist-custom-elements/{p-1a884f8d.js → p-d10e4492.js} +1 -1
- package/lib/dist-custom-elements/{p-25e5732f.js → p-d517fc9a.js} +10 -10
- package/lib/dist-custom-elements/{p-8977c832.js → p-da8acaf1.js} +2 -2
- package/lib/dist-custom-elements/{p-9a81250e.js → p-e078836c.js} +1 -1
- package/lib/dist-custom-elements/{p-5f0f197a.js → p-f3d25b08.js} +2 -2
- package/lib/dist-custom-elements/{p-09d350df.js → p-fc6bb9ab.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-541d7034.system.entry.js → p-0081d434.system.entry.js} +1 -1
- package/lib/duet/{p-165e9779.entry.js → p-0198349d.entry.js} +1 -1
- package/lib/duet/p-031b59ba.system.entry.js +4 -0
- package/lib/duet/{p-232eaac8.entry.js → p-0440798d.entry.js} +1 -1
- package/lib/duet/{p-54fa7330.entry.js → p-049d43f7.entry.js} +1 -1
- package/lib/duet/p-05f62501.entry.js +4 -0
- package/lib/duet/{p-4a125e5e.system.entry.js → p-074fcd6b.system.entry.js} +1 -1
- package/lib/duet/{p-7ab2acd3.entry.js → p-0777ebba.entry.js} +1 -1
- package/lib/duet/{p-ffbf6336.entry.js → p-0c5ed102.entry.js} +1 -1
- package/lib/duet/{p-64deaa4c.entry.js → p-0ec40046.entry.js} +1 -1
- package/lib/duet/{p-975d5c57.entry.js → p-10f289cb.entry.js} +1 -1
- package/lib/duet/{p-c79bae8b.system.entry.js → p-12f3d121.system.entry.js} +1 -1
- package/lib/duet/{p-03e42478.system.entry.js → p-1498e92a.system.entry.js} +1 -1
- package/lib/duet/{p-b2aa8a23.entry.js → p-154ca6bb.entry.js} +1 -1
- package/lib/duet/{p-6ed3466a.system.entry.js → p-15a4a165.system.entry.js} +1 -1
- package/lib/duet/{p-ba073aac.js → p-16b80d3b.js} +1 -1
- package/lib/duet/{p-2c839646.entry.js → p-17373631.entry.js} +1 -1
- package/lib/duet/{p-07650e7e.entry.js → p-174f2859.entry.js} +1 -1
- package/lib/duet/{p-c19f8b47.entry.js → p-18b36a30.entry.js} +1 -1
- package/lib/duet/{p-c43ee2af.system.entry.js → p-196afde9.system.entry.js} +1 -1
- package/lib/duet/{p-38e71fa2.system.entry.js → p-1e67f010.system.entry.js} +1 -1
- package/lib/duet/{p-bd513d22.entry.js → p-1fbb9af9.entry.js} +1 -1
- package/lib/duet/{p-60e172b5.system.entry.js → p-1fec3835.system.entry.js} +1 -1
- package/lib/duet/p-207544a2.entry.js +4 -0
- package/lib/duet/p-21774475.system.js +4 -0
- package/lib/duet/{p-31f882ec.entry.js → p-23548d24.entry.js} +1 -1
- package/lib/duet/{p-e21f7498.system.entry.js → p-25109b90.system.entry.js} +1 -1
- package/lib/duet/{p-e482c83a.system.entry.js → p-28a033de.system.entry.js} +2 -2
- package/lib/duet/{p-2ffd74b1.entry.js → p-2abdfdf5.entry.js} +1 -1
- package/lib/duet/{p-4857a879.entry.js → p-2c917cc6.entry.js} +1 -1
- package/lib/duet/{p-79ee23d6.system.entry.js → p-2e037205.system.entry.js} +1 -1
- package/lib/duet/{p-c998a6e0.system.entry.js → p-2f98c466.system.entry.js} +1 -1
- package/lib/duet/{p-27f85f4b.entry.js → p-330db26d.entry.js} +1 -1
- package/lib/duet/{p-dc30f206.entry.js → p-33666f2e.entry.js} +1 -1
- package/lib/duet/{p-5358d93b.entry.js → p-37b3c823.entry.js} +1 -1
- package/lib/duet/{p-219b4030.entry.js → p-39a3beb3.entry.js} +1 -1
- package/lib/duet/{p-7f104c3a.system.entry.js → p-3bda5078.system.entry.js} +1 -1
- package/lib/duet/{p-838a0e3d.system.entry.js → p-3bfdf5dc.system.entry.js} +1 -1
- package/lib/duet/p-3f23694f.entry.js +4 -0
- package/lib/duet/{p-476b19aa.entry.js → p-3fb7b966.entry.js} +1 -1
- package/lib/duet/{p-69663b1b.system.entry.js → p-4218b915.system.entry.js} +1 -1
- package/lib/duet/{p-40838403.system.entry.js → p-42b9b16c.system.entry.js} +1 -1
- package/lib/duet/{p-e00c21b4.system.entry.js → p-4347cce6.system.entry.js} +1 -1
- package/lib/duet/{p-0dc0d364.entry.js → p-44ac28ab.entry.js} +1 -1
- package/lib/duet/{p-f4b7ed29.entry.js → p-4adb4139.entry.js} +1 -1
- package/lib/duet/{p-19a7ee95.entry.js → p-50a679f4.entry.js} +1 -1
- package/lib/duet/{p-b5ec2571.system.entry.js → p-50dbbb82.system.entry.js} +1 -1
- package/lib/duet/p-5339aeea.entry.js +4 -0
- package/lib/duet/{p-5fd7ca40.system.entry.js → p-54cf9288.system.entry.js} +1 -1
- package/lib/duet/{p-f0a86dc0.system.entry.js → p-55e1e8e8.system.entry.js} +1 -1
- package/lib/duet/{p-25c520b6.entry.js → p-55f3f985.entry.js} +1 -1
- package/lib/duet/{p-ea0b06d3.system.entry.js → p-563dfb63.system.entry.js} +1 -1
- package/lib/duet/{p-f8c7fce1.entry.js → p-576cd780.entry.js} +1 -1
- package/lib/duet/{p-9f68dc35.entry.js → p-5908bf36.entry.js} +1 -1
- package/lib/duet/{p-9befdbe8.system.entry.js → p-5b528cd1.system.entry.js} +1 -1
- package/lib/duet/{p-146d8644.system.entry.js → p-5d023790.system.entry.js} +1 -1
- package/lib/duet/{p-0cc51aa5.js → p-5e849463.js} +1 -1
- package/lib/duet/{p-f58c84af.system.entry.js → p-5f877026.system.entry.js} +1 -1
- package/lib/duet/{p-036071a1.system.js → p-610b364b.system.js} +1 -1
- package/lib/duet/{p-46cdc3eb.entry.js → p-61b870ac.entry.js} +1 -1
- package/lib/duet/p-6216e282.entry.js +4 -0
- package/lib/duet/{p-af82dc9b.system.entry.js → p-639fd377.system.entry.js} +1 -1
- package/lib/duet/p-65007ed4.system.entry.js +4 -0
- package/lib/duet/{p-dbf2f7c4.system.entry.js → p-65b45177.system.entry.js} +1 -1
- package/lib/duet/{p-8add9b29.js → p-662da762.js} +1 -1
- package/lib/duet/{p-8def73a8.system.entry.js → p-673fdacb.system.entry.js} +1 -1
- package/lib/duet/{p-791b8696.system.entry.js → p-67d8175e.system.entry.js} +2 -2
- package/lib/duet/p-6f806923.system.js +4 -0
- package/lib/duet/{p-5c358bc1.entry.js → p-70dd63d2.entry.js} +1 -1
- package/lib/duet/{p-2d821b8d.entry.js → p-71bd1c3c.entry.js} +1 -1
- package/lib/duet/{p-d717d828.entry.js → p-73c27f4f.entry.js} +1 -1
- package/lib/duet/{p-ea8c019e.entry.js → p-753f2b28.entry.js} +1 -1
- package/lib/duet/{p-f59fbe18.entry.js → p-757b1ab3.entry.js} +1 -1
- package/lib/duet/{p-4fd75d60.system.entry.js → p-75eb9381.system.entry.js} +1 -1
- package/lib/duet/{p-323b233e.system.entry.js → p-762c0edb.system.entry.js} +1 -1
- package/lib/duet/{p-710baba1.entry.js → p-780dd22d.entry.js} +1 -1
- package/lib/duet/{p-67c86fda.entry.js → p-79f01df6.entry.js} +1 -1
- package/lib/duet/{p-af2458bb.system.entry.js → p-7ac648a3.system.entry.js} +1 -1
- package/lib/duet/p-7aff0f7c.entry.js +4 -0
- package/lib/duet/{p-b587d0b8.entry.js → p-7bdbb023.entry.js} +1 -1
- package/lib/duet/{p-6c2c20cd.system.entry.js → p-7d9cffe7.system.entry.js} +1 -1
- package/lib/duet/{p-692bb988.system.entry.js → p-7dcdefb0.system.entry.js} +1 -1
- package/lib/duet/{p-262be7ec.system.entry.js → p-7fb66081.system.entry.js} +1 -1
- package/lib/duet/{p-76126782.entry.js → p-844e7c4c.entry.js} +1 -1
- package/lib/duet/p-8a264125.system.entry.js +4 -0
- package/lib/duet/{p-b7f08ac0.system.entry.js → p-8b1b9953.system.entry.js} +1 -1
- package/lib/duet/{p-e5b6378a.entry.js → p-8be10d34.entry.js} +1 -1
- package/lib/duet/p-8cfac25d.entry.js +4 -0
- package/lib/duet/{p-165a02ec.system.entry.js → p-930f8fe7.system.entry.js} +1 -1
- package/lib/duet/{p-01556920.system.entry.js → p-932be5dd.system.entry.js} +2 -2
- package/lib/duet/{p-348752e5.system.entry.js → p-94147b17.system.entry.js} +1 -1
- package/lib/duet/{p-c9cdb557.system.entry.js → p-9514ee57.system.entry.js} +1 -1
- package/lib/duet/{p-6feae75f.system.entry.js → p-965f292c.system.entry.js} +1 -1
- package/lib/duet/{p-aa47193b.entry.js → p-9b62ef83.entry.js} +1 -1
- package/lib/duet/{p-1a9958ee.system.js → p-9bd338fd.system.js} +1 -1
- package/lib/duet/p-9f29048f.entry.js +4 -0
- package/lib/duet/{p-a6753536.entry.js → p-a22130db.entry.js} +1 -1
- package/lib/duet/{p-dc079043.entry.js → p-a34e7225.entry.js} +1 -1
- package/lib/duet/p-a70815fa.system.entry.js +4 -0
- package/lib/duet/{p-3b92f8f8.system.entry.js → p-a75b2646.system.entry.js} +1 -1
- package/lib/duet/{p-820c3c6a.entry.js → p-aab21f91.entry.js} +1 -1
- package/lib/duet/{p-2acffffa.entry.js → p-abbd8ae3.entry.js} +1 -1
- package/lib/duet/{p-aad672f1.entry.js → p-acfdeb70.entry.js} +1 -1
- package/lib/duet/{p-be4b6375.entry.js → p-ae30e4ce.entry.js} +1 -1
- package/lib/duet/p-afea9845.entry.js +4 -0
- package/lib/duet/{p-5ffec513.entry.js → p-b012ba6c.entry.js} +1 -1
- package/lib/duet/{p-3b06628b.system.entry.js → p-b0dfe576.system.entry.js} +1 -1
- package/lib/duet/{p-613459ec.system.js → p-b0fa4550.system.js} +1 -1
- package/lib/duet/p-b0fd435f.system.entry.js +4 -0
- package/lib/duet/p-b2996b8c.system.entry.js +4 -0
- package/lib/duet/{p-1a2966fc.entry.js → p-b2a54e37.entry.js} +1 -1
- package/lib/duet/{p-96ccba4e.entry.js → p-b2b02430.entry.js} +1 -1
- package/lib/duet/{p-77d57c4f.system.entry.js → p-b710add2.system.entry.js} +1 -1
- package/lib/duet/{p-28c5570c.entry.js → p-b89fe252.entry.js} +1 -1
- package/lib/duet/{p-4855cdd1.entry.js → p-b8c89970.entry.js} +1 -1
- package/lib/duet/{p-d96c1564.js → p-b9157c7e.js} +1 -1
- package/lib/duet/{p-04648bbd.system.entry.js → p-b9cb8ccb.system.entry.js} +1 -1
- package/lib/duet/{p-926bc03b.system.entry.js → p-b9ea34d3.system.entry.js} +1 -1
- package/lib/duet/{p-fdc585bc.entry.js → p-bac92652.entry.js} +1 -1
- package/lib/duet/{p-23c53556.system.entry.js → p-bb35b92e.system.entry.js} +1 -1
- package/lib/duet/{p-ab380eb2.entry.js → p-bf2fd03b.entry.js} +1 -1
- package/lib/duet/p-c0483523.system.entry.js +4 -0
- package/lib/duet/{p-bb1241dd.system.entry.js → p-c481631f.system.entry.js} +1 -1
- package/lib/duet/{p-224ef4fb.system.entry.js → p-c7fdc7dc.system.entry.js} +1 -1
- package/lib/duet/{p-85531f7d.system.entry.js → p-c8c9fc58.system.entry.js} +1 -1
- package/lib/duet/{p-0f9e6b84.system.entry.js → p-ca0f9f08.system.entry.js} +1 -1
- package/lib/duet/{p-0584f2d0.entry.js → p-ca21be58.entry.js} +1 -1
- package/lib/duet/p-cca98ade.entry.js +4 -0
- package/lib/duet/p-ccdff614.js +4 -0
- package/lib/duet/{p-a9babd6c.system.entry.js → p-ce879ecd.system.entry.js} +1 -1
- package/lib/duet/p-ce88ecc6.entry.js +4 -0
- package/lib/duet/{p-4bd13a7d.entry.js → p-cea2cb32.entry.js} +1 -1
- package/lib/duet/{p-94387202.system.entry.js → p-ceb5b489.system.entry.js} +1 -1
- package/lib/duet/{p-d4c8218f.system.entry.js → p-cf1e1237.system.entry.js} +1 -1
- package/lib/duet/{p-93952086.system.entry.js → p-d038c90c.system.entry.js} +1 -1
- package/lib/duet/{p-212608a2.entry.js → p-d3141c64.entry.js} +1 -1
- package/lib/duet/{p-d73aac37.system.entry.js → p-d350968c.system.entry.js} +1 -1
- package/lib/duet/{p-d460763b.system.entry.js → p-d54396be.system.entry.js} +1 -1
- package/lib/duet/{p-3ff35a28.system.entry.js → p-d57d7d49.system.entry.js} +1 -1
- package/lib/duet/{p-3723bb5e.entry.js → p-d585ac25.entry.js} +1 -1
- package/lib/duet/{p-4a19cbfe.system.entry.js → p-d832433b.system.entry.js} +1 -1
- package/lib/duet/{p-2ebff6d7.system.entry.js → p-d852ae7e.system.entry.js} +1 -1
- package/lib/duet/{p-6f64f7ad.system.entry.js → p-d92ad0d1.system.entry.js} +1 -1
- package/lib/duet/{p-467edb2f.system.entry.js → p-dd5b17d0.system.entry.js} +1 -1
- package/lib/duet/{p-0cc36862.entry.js → p-dd7d3b2b.entry.js} +1 -1
- package/lib/duet/{p-d02213d8.system.entry.js → p-ddc7c96e.system.entry.js} +1 -1
- package/lib/duet/{p-f02dee9c.entry.js → p-de41a03b.entry.js} +1 -1
- package/lib/duet/p-e12b3d60.system.js +4 -0
- package/lib/duet/{p-39927ae1.system.entry.js → p-e2a0e33f.system.entry.js} +1 -1
- package/lib/duet/{p-bc44b51c.entry.js → p-e36f923b.entry.js} +1 -1
- package/lib/duet/{p-ffd099cc.system.entry.js → p-e49e8a54.system.entry.js} +1 -1
- package/lib/duet/{p-b9afc2fb.system.entry.js → p-e4efc7ea.system.entry.js} +1 -1
- package/lib/duet/{p-a4fd3204.js → p-e5c0b71a.js} +1 -1
- package/lib/duet/{p-87d4aa11.entry.js → p-e91cced0.entry.js} +1 -1
- package/lib/duet/{p-e3472812.system.entry.js → p-e9928179.system.entry.js} +1 -1
- package/lib/duet/{p-a26a04d4.entry.js → p-eac79871.entry.js} +1 -1
- package/lib/duet/{p-b9b8e55c.entry.js → p-eb790693.entry.js} +1 -1
- package/lib/duet/{p-8b502861.system.entry.js → p-ebd1b7ae.system.entry.js} +1 -1
- package/lib/duet/{p-57b76622.system.entry.js → p-ee815760.system.entry.js} +1 -1
- package/lib/duet/{p-594a8770.entry.js → p-f1f7ee14.entry.js} +1 -1
- package/lib/duet/p-f42c2d6e.system.js +4 -0
- package/lib/duet/{p-cbc7c330.entry.js → p-f5fee877.entry.js} +1 -1
- package/lib/duet/{p-7af93eb8.entry.js → p-f6803f4c.entry.js} +1 -1
- package/lib/duet/{p-3170506b.entry.js → p-f715214a.entry.js} +1 -1
- package/lib/duet/{p-1aa7e90d.entry.js → p-f7f16a52.entry.js} +1 -1
- package/lib/duet/{p-47280725.system.entry.js → p-f9b3965d.system.entry.js} +1 -1
- package/lib/duet/{p-ec4c94f2.system.entry.js → p-fdb9f8df.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 +1 -1
- package/lib/esm/duet-banner.entry.js +3 -3
- 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 +12 -8
- package/lib/esm/duet-callout.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +12 -4
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +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 +19 -6
- package/lib/esm/duet-multiselect.entry.js +5 -3
- 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 +4 -3
- package/lib/esm/duet-popup-menu.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +5 -3
- 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 +4 -2
- 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 +82 -70
- 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 +4 -2
- package/lib/esm/duet-toggle.entry.js +4 -2
- 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 +3 -3
- package/lib/esm/duet-tooltip.entry.js +12 -3
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-d6fb240b.js → focus-utils-2a29f64e.js} +1 -1
- package/lib/esm/{index-5f1c2664.js → index-909a963e.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/{teleport-691e534d.js → teleport-d66d62e4.js} +2 -2
- package/lib/esm/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
- package/lib/esm/{tokens-5a0d14c7.js → tokens-04106a43.js} +4 -1
- package/lib/esm/{tokens.module-16569707.js → tokens.module-7a2f9c49.js} +3 -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 +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +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 +2 -2
- 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-2a29f64e.js +4 -0
- package/lib/esm-es5/{index-5f1c2664.js → index-909a963e.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/teleport-d66d62e4.js +4 -0
- package/lib/esm-es5/{token-utils-84d66351.js → token-utils-ece867a8.js} +1 -1
- package/lib/esm-es5/tokens-04106a43.js +4 -0
- package/lib/esm-es5/tokens.module-7a2f9c49.js +4 -0
- package/lib/types/common/focusable-component.d.ts +4 -0
- package/lib/types/common/index.d.ts +2 -0
- package/lib/types/common/opener-component.d.ts +5 -0
- package/lib/types/common-types.d.ts +2 -0
- package/lib/types/components/duet-button/duet-button.d.ts +2 -2
- package/lib/types/components/duet-heading/duet-heading.d.ts +1 -1
- package/lib/types/components/duet-input/duet-input.d.ts +9 -1
- package/lib/types/components/duet-label/duet-label.d.ts +10 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +7 -0
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +5 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +9 -1
- package/lib/types/components/duet-select/duet-select.d.ts +9 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +27 -17
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +9 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +9 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +6 -0
- package/lib/types/components.d.ts +152 -8
- package/package.json +5 -5
- package/lib/dist-custom-elements/p-60857718.js +0 -301
- package/lib/duet/p-1b31feee.entry.js +0 -4
- package/lib/duet/p-277ddf44.entry.js +0 -4
- package/lib/duet/p-4469e8f9.system.js +0 -4
- package/lib/duet/p-4e70e1e4.system.entry.js +0 -4
- package/lib/duet/p-5141bab5.system.entry.js +0 -4
- package/lib/duet/p-52e711b6.system.js +0 -4
- package/lib/duet/p-5802dd1b.entry.js +0 -4
- package/lib/duet/p-59be3a18.system.entry.js +0 -4
- package/lib/duet/p-5ba2eed6.entry.js +0 -4
- package/lib/duet/p-659496e9.system.entry.js +0 -4
- package/lib/duet/p-7098b274.system.entry.js +0 -4
- package/lib/duet/p-751344b2.js +0 -4
- package/lib/duet/p-80d1c3cd.entry.js +0 -4
- package/lib/duet/p-8eaaef1c.system.js +0 -4
- package/lib/duet/p-92956f9e.system.entry.js +0 -4
- package/lib/duet/p-9cd2a179.entry.js +0 -4
- package/lib/duet/p-aee18e0f.entry.js +0 -4
- package/lib/duet/p-b214b357.entry.js +0 -4
- package/lib/duet/p-b985bcf7.system.js +0 -4
- package/lib/duet/p-be945742.system.entry.js +0 -4
- package/lib/duet/p-cb9ea98d.entry.js +0 -4
- package/lib/duet/p-d75a69ce.entry.js +0 -4
- package/lib/duet/p-d9c7f458.entry.js +0 -4
- package/lib/esm-es5/focus-utils-d6fb240b.js +0 -4
- package/lib/esm-es5/teleport-691e534d.js +0 -4
- package/lib/esm-es5/tokens-5a0d14c7.js +0 -4
- package/lib/esm-es5/tokens.module-16569707.js +0 -4
|
@@ -3,12 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
|
|
6
|
+
import { hasSlot } from "../../common";
|
|
6
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
-
import { FocusGuard } from "../../utils/focus-utils";
|
|
8
|
+
import { focusElement, FocusGuard } from "../../utils/focus-utils";
|
|
8
9
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
9
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
10
11
|
import { Teleport } from "../../utils/teleport";
|
|
11
12
|
import { getColorByName } from "../../utils/token-utils";
|
|
13
|
+
/**
|
|
14
|
+
* @slot sticky-header - Content will be fixed to the top of the modal when scrolling.
|
|
15
|
+
*/
|
|
12
16
|
export class DuetSlideout {
|
|
13
17
|
constructor() {
|
|
14
18
|
this.exitLangObject = {
|
|
@@ -22,6 +26,7 @@ export class DuetSlideout {
|
|
|
22
26
|
sv: "Stäng den här menyn för att hitta objekt på toppnivå",
|
|
23
27
|
};
|
|
24
28
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
29
|
+
this.hasStickyHeaderSlot = false;
|
|
25
30
|
this.handleBodyScrolling = () => {
|
|
26
31
|
if (this.displaying && this.open) {
|
|
27
32
|
disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
|
|
@@ -30,6 +35,23 @@ export class DuetSlideout {
|
|
|
30
35
|
enableBodyScroll(this.dialog);
|
|
31
36
|
}
|
|
32
37
|
};
|
|
38
|
+
this.setOpenButton = (element) => {
|
|
39
|
+
if (!element) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
try {
|
|
43
|
+
const button = element;
|
|
44
|
+
button.accessiblePopup = "true";
|
|
45
|
+
button.accessibleExpanded = false;
|
|
46
|
+
this.openButton = button;
|
|
47
|
+
}
|
|
48
|
+
catch (_e) { }
|
|
49
|
+
};
|
|
50
|
+
this.openButtonEventListener = (e) => {
|
|
51
|
+
e.stopPropagation();
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
this.onClick(e);
|
|
54
|
+
};
|
|
33
55
|
this.getOpenPanel = () => {
|
|
34
56
|
return this.element.querySelector("duet-slideout-panel[open]");
|
|
35
57
|
};
|
|
@@ -59,8 +81,7 @@ export class DuetSlideout {
|
|
|
59
81
|
}
|
|
60
82
|
else {
|
|
61
83
|
setTimeout(() => {
|
|
62
|
-
|
|
63
|
-
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
84
|
+
focusElement(this.openButton);
|
|
64
85
|
this.handleBodyScrolling();
|
|
65
86
|
this.teleport.resume();
|
|
66
87
|
}, 200);
|
|
@@ -78,89 +99,48 @@ export class DuetSlideout {
|
|
|
78
99
|
this.displaying = false;
|
|
79
100
|
this.openPanel = false;
|
|
80
101
|
this.theme = "";
|
|
102
|
+
this.accessibleRole = "menubar";
|
|
81
103
|
this.open = false;
|
|
82
104
|
this.opener = undefined;
|
|
83
105
|
this.backgroundColor = "gray-lightest";
|
|
84
106
|
}
|
|
85
|
-
/**
|
|
86
|
-
* Toggles the slideout.
|
|
87
|
-
*/
|
|
88
|
-
async toggle() {
|
|
89
|
-
const event = new CustomEvent("toggle");
|
|
90
|
-
this.toggleMenu(event);
|
|
91
|
-
setTimeout(() => {
|
|
92
|
-
this.closeButton.focus();
|
|
93
|
-
}, 200);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
97
|
-
* the slideout so that focus can be moved back to this specific element when
|
|
98
|
-
* the slideout dialog is closed.
|
|
99
|
-
*/
|
|
100
|
-
async show() {
|
|
101
|
-
if (this.open) {
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
const button = document.activeElement;
|
|
105
|
-
if (button) {
|
|
106
|
-
button.accessiblePopup = "true";
|
|
107
|
-
this.openButton = button;
|
|
108
|
-
}
|
|
109
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Hides the slideout dialog and puts focus back to the original element
|
|
113
|
-
* that triggered the slideout (if we’re still in the same view).
|
|
114
|
-
*/
|
|
115
|
-
async hide() {
|
|
116
|
-
if (!this.open) {
|
|
117
|
-
return;
|
|
118
|
-
}
|
|
119
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
120
|
-
}
|
|
121
107
|
/**
|
|
122
108
|
* Component lifecycle events.
|
|
123
109
|
*/
|
|
124
110
|
componentWillLoad() {
|
|
125
111
|
inheritGlobalTheme(this);
|
|
126
|
-
|
|
127
|
-
if (button) {
|
|
128
|
-
button.accessiblePopup = "true";
|
|
129
|
-
button.accessibleExpanded = false;
|
|
130
|
-
button.addEventListener("click", e => {
|
|
131
|
-
e.stopPropagation();
|
|
132
|
-
e.preventDefault();
|
|
133
|
-
this.openButton = button;
|
|
134
|
-
this.onClick(e);
|
|
135
|
-
});
|
|
136
|
-
}
|
|
112
|
+
this.hasStickyHeaderSlot = hasSlot(this.element, "sticky-header");
|
|
137
113
|
this.teleport = new Teleport(this.element);
|
|
138
114
|
}
|
|
139
|
-
async componentDidLoad() {
|
|
140
|
-
if (Build.isServer) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
144
|
-
if (entries[0].isIntersecting) {
|
|
145
|
-
this.displaying = true;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
this.displaying = false;
|
|
149
|
-
}
|
|
150
|
-
this.handleBodyScrolling();
|
|
151
|
-
});
|
|
152
|
-
this.intersectionObserver.observe(this.dialog);
|
|
153
|
-
}
|
|
154
115
|
connectedCallback() {
|
|
155
116
|
connectLanguageChangeObserver(this);
|
|
156
117
|
if (Build.isServer) {
|
|
157
118
|
return;
|
|
158
119
|
}
|
|
120
|
+
if (this.opener) {
|
|
121
|
+
this.setOpenButton(document.getElementById(this.opener));
|
|
122
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
123
|
+
}
|
|
159
124
|
this.mutationObserver = new MutationObserver(() => {
|
|
160
125
|
this.openPanel = !!this.getOpenPanel();
|
|
161
126
|
});
|
|
162
127
|
this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
|
|
163
128
|
}
|
|
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
|
+
}
|
|
164
144
|
disconnectedCallback() {
|
|
165
145
|
disconnectLanguageChangeObserver(this);
|
|
166
146
|
enableBodyScroll(this.dialog);
|
|
@@ -170,6 +150,9 @@ export class DuetSlideout {
|
|
|
170
150
|
if (this.mutationObserver) {
|
|
171
151
|
this.mutationObserver.disconnect();
|
|
172
152
|
}
|
|
153
|
+
if (this.openButton) {
|
|
154
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
155
|
+
}
|
|
173
156
|
}
|
|
174
157
|
/**
|
|
175
158
|
* Component event handling.
|
|
@@ -189,6 +172,38 @@ export class DuetSlideout {
|
|
|
189
172
|
var _a;
|
|
190
173
|
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
|
|
191
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* Toggles the slideout.
|
|
177
|
+
*/
|
|
178
|
+
async toggle() {
|
|
179
|
+
const event = new CustomEvent("toggle");
|
|
180
|
+
this.toggleMenu(event);
|
|
181
|
+
setTimeout(() => {
|
|
182
|
+
this.closeButton.focus();
|
|
183
|
+
}, 200);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
187
|
+
* the slideout so that focus can be moved back to this specific element when
|
|
188
|
+
* the slideout dialog is closed.
|
|
189
|
+
*/
|
|
190
|
+
async show() {
|
|
191
|
+
if (this.open) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
this.setOpenButton(document.activeElement);
|
|
195
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Hides the slideout dialog and puts focus back to the original element
|
|
199
|
+
* that triggered the slideout (if we’re still in the same view).
|
|
200
|
+
*/
|
|
201
|
+
async hide() {
|
|
202
|
+
if (!this.open) {
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
206
|
+
}
|
|
192
207
|
/**
|
|
193
208
|
* render() function
|
|
194
209
|
* Always the last one in the class.
|
|
@@ -202,13 +217,13 @@ export class DuetSlideout {
|
|
|
202
217
|
return (h(Host, null, h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, h("div", { class: {
|
|
203
218
|
"desktop-bg": true,
|
|
204
219
|
hidden: !this.open,
|
|
205
|
-
}, onClick: this.bgOnClick }), h("div", { ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "
|
|
220
|
+
}, onClick: this.bgOnClick }), h("div", { ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
206
221
|
dialog: true,
|
|
207
222
|
hidden: !this.open,
|
|
208
|
-
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
223
|
+
}, style: styles }, h(FocusGuard, { moveFocusTo: this.closeButton }), h("div", { class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, h("div", { class: "top" }, h("button", { ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
209
224
|
"slideout-close": true,
|
|
210
225
|
active: this.open,
|
|
211
|
-
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", {
|
|
226
|
+
}, onClick: this.onClick, inert: this.openPanel }, h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), h("div", { class: "sticky-header" }, h("slot", { name: "sticky-header" }))), h("div", { id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
212
227
|
items: true,
|
|
213
228
|
} }, h("slot", null)), h(FocusGuard, { moveFocusTo: this.closeButton })))));
|
|
214
229
|
}
|
|
@@ -250,6 +265,24 @@ export class DuetSlideout {
|
|
|
250
265
|
"reflect": false,
|
|
251
266
|
"defaultValue": "\"\""
|
|
252
267
|
},
|
|
268
|
+
"accessibleRole": {
|
|
269
|
+
"type": "string",
|
|
270
|
+
"mutable": false,
|
|
271
|
+
"complexType": {
|
|
272
|
+
"original": "string",
|
|
273
|
+
"resolved": "string",
|
|
274
|
+
"references": {}
|
|
275
|
+
},
|
|
276
|
+
"required": false,
|
|
277
|
+
"optional": false,
|
|
278
|
+
"docs": {
|
|
279
|
+
"tags": [],
|
|
280
|
+
"text": "Role of the slot's container. By default this is menubar and the slideout should by default contain menuitems."
|
|
281
|
+
},
|
|
282
|
+
"attribute": "accessible-role",
|
|
283
|
+
"reflect": false,
|
|
284
|
+
"defaultValue": "\"menubar\""
|
|
285
|
+
},
|
|
253
286
|
"open": {
|
|
254
287
|
"type": "boolean",
|
|
255
288
|
"mutable": true,
|
|
@@ -344,24 +377,32 @@ export class DuetSlideout {
|
|
|
344
377
|
}
|
|
345
378
|
static get methods() {
|
|
346
379
|
return {
|
|
347
|
-
"
|
|
380
|
+
"setFocus": {
|
|
348
381
|
"complexType": {
|
|
349
|
-
"signature": "() => Promise<void>",
|
|
350
|
-
"parameters": [
|
|
382
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
383
|
+
"parameters": [{
|
|
384
|
+
"name": "options",
|
|
385
|
+
"type": "FocusOptions",
|
|
386
|
+
"docs": ""
|
|
387
|
+
}],
|
|
351
388
|
"references": {
|
|
352
389
|
"Promise": {
|
|
353
390
|
"location": "global",
|
|
354
391
|
"id": "global::Promise"
|
|
392
|
+
},
|
|
393
|
+
"FocusOptions": {
|
|
394
|
+
"location": "global",
|
|
395
|
+
"id": "global::FocusOptions"
|
|
355
396
|
}
|
|
356
397
|
},
|
|
357
398
|
"return": "Promise<void>"
|
|
358
399
|
},
|
|
359
400
|
"docs": {
|
|
360
|
-
"text": "
|
|
401
|
+
"text": "Sets focus. Use this method instead of the global focus().",
|
|
361
402
|
"tags": []
|
|
362
403
|
}
|
|
363
404
|
},
|
|
364
|
-
"
|
|
405
|
+
"toggle": {
|
|
365
406
|
"complexType": {
|
|
366
407
|
"signature": "() => Promise<void>",
|
|
367
408
|
"parameters": [],
|
|
@@ -369,20 +410,16 @@ export class DuetSlideout {
|
|
|
369
410
|
"Promise": {
|
|
370
411
|
"location": "global",
|
|
371
412
|
"id": "global::Promise"
|
|
372
|
-
},
|
|
373
|
-
"HTMLDuetButtonElement": {
|
|
374
|
-
"location": "global",
|
|
375
|
-
"id": "global::HTMLDuetButtonElement"
|
|
376
413
|
}
|
|
377
414
|
},
|
|
378
415
|
"return": "Promise<void>"
|
|
379
416
|
},
|
|
380
417
|
"docs": {
|
|
381
|
-
"text": "
|
|
418
|
+
"text": "Toggles the slideout.",
|
|
382
419
|
"tags": []
|
|
383
420
|
}
|
|
384
421
|
},
|
|
385
|
-
"
|
|
422
|
+
"show": {
|
|
386
423
|
"complexType": {
|
|
387
424
|
"signature": "() => Promise<void>",
|
|
388
425
|
"parameters": [],
|
|
@@ -395,32 +432,24 @@ export class DuetSlideout {
|
|
|
395
432
|
"return": "Promise<void>"
|
|
396
433
|
},
|
|
397
434
|
"docs": {
|
|
398
|
-
"text": "
|
|
435
|
+
"text": "Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered\nthe slideout so that focus can be moved back to this specific element when\nthe slideout dialog is closed.",
|
|
399
436
|
"tags": []
|
|
400
437
|
}
|
|
401
438
|
},
|
|
402
|
-
"
|
|
439
|
+
"hide": {
|
|
403
440
|
"complexType": {
|
|
404
|
-
"signature": "(
|
|
405
|
-
"parameters": [
|
|
406
|
-
"name": "options",
|
|
407
|
-
"type": "FocusOptions",
|
|
408
|
-
"docs": ""
|
|
409
|
-
}],
|
|
441
|
+
"signature": "() => Promise<void>",
|
|
442
|
+
"parameters": [],
|
|
410
443
|
"references": {
|
|
411
444
|
"Promise": {
|
|
412
445
|
"location": "global",
|
|
413
446
|
"id": "global::Promise"
|
|
414
|
-
},
|
|
415
|
-
"FocusOptions": {
|
|
416
|
-
"location": "global",
|
|
417
|
-
"id": "global::FocusOptions"
|
|
418
447
|
}
|
|
419
448
|
},
|
|
420
449
|
"return": "Promise<void>"
|
|
421
450
|
},
|
|
422
451
|
"docs": {
|
|
423
|
-
"text": "
|
|
452
|
+
"text": "Hides the slideout dialog and puts focus back to the original element\nthat triggered the slideout (if we\u2019re still in the same view).",
|
|
424
453
|
"tags": []
|
|
425
454
|
}
|
|
426
455
|
}
|
|
@@ -98,6 +98,8 @@ export class DuetTextarea {
|
|
|
98
98
|
this.identifier = undefined;
|
|
99
99
|
this.required = false;
|
|
100
100
|
this.label = "label";
|
|
101
|
+
this.labelColor = undefined;
|
|
102
|
+
this.labelWeight = undefined;
|
|
101
103
|
this.labelHidden = false;
|
|
102
104
|
this.name = undefined;
|
|
103
105
|
this.placeholder = undefined;
|
|
@@ -160,7 +162,7 @@ export class DuetTextarea {
|
|
|
160
162
|
"duet-label-hidden": this.labelHidden,
|
|
161
163
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
162
164
|
"has-error": !!this.error,
|
|
163
|
-
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
165
|
+
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), h("textarea", { onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), h("duet-grid", { alignment: "stretch" }, h("duet-grid-item", { margin: "none", fill: true }, h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", null, this.error))), h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
164
166
|
this.hiddenCounterLabel = el;
|
|
165
167
|
} })))));
|
|
166
168
|
}
|
|
@@ -472,6 +474,46 @@ export class DuetTextarea {
|
|
|
472
474
|
"reflect": false,
|
|
473
475
|
"defaultValue": "\"label\""
|
|
474
476
|
},
|
|
477
|
+
"labelColor": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"mutable": true,
|
|
480
|
+
"complexType": {
|
|
481
|
+
"original": "string",
|
|
482
|
+
"resolved": "string",
|
|
483
|
+
"references": {}
|
|
484
|
+
},
|
|
485
|
+
"required": false,
|
|
486
|
+
"optional": false,
|
|
487
|
+
"docs": {
|
|
488
|
+
"tags": [],
|
|
489
|
+
"text": "Color of the label."
|
|
490
|
+
},
|
|
491
|
+
"attribute": "label-color",
|
|
492
|
+
"reflect": false
|
|
493
|
+
},
|
|
494
|
+
"labelWeight": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"mutable": true,
|
|
497
|
+
"complexType": {
|
|
498
|
+
"original": "DuetTextFontWeight",
|
|
499
|
+
"resolved": "\"normal\" | \"semi-bold\"",
|
|
500
|
+
"references": {
|
|
501
|
+
"DuetTextFontWeight": {
|
|
502
|
+
"location": "import",
|
|
503
|
+
"path": "../../common-types",
|
|
504
|
+
"id": "src/common-types.d.ts::DuetTextFontWeight"
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
"required": false,
|
|
509
|
+
"optional": false,
|
|
510
|
+
"docs": {
|
|
511
|
+
"tags": [],
|
|
512
|
+
"text": "Font weight of the label."
|
|
513
|
+
},
|
|
514
|
+
"attribute": "label-weight",
|
|
515
|
+
"reflect": false
|
|
516
|
+
},
|
|
475
517
|
"labelHidden": {
|
|
476
518
|
"type": "boolean",
|
|
477
519
|
"mutable": false,
|
|
@@ -29,6 +29,8 @@ export class DuetToggle {
|
|
|
29
29
|
this.accessibleLabelledBy = undefined;
|
|
30
30
|
this.accessibleDescription = undefined;
|
|
31
31
|
this.label = "label";
|
|
32
|
+
this.labelColor = undefined;
|
|
33
|
+
this.labelWeight = undefined;
|
|
32
34
|
this.labelPosition = "top";
|
|
33
35
|
this.required = false;
|
|
34
36
|
this.disabled = false;
|
|
@@ -81,7 +83,7 @@ export class DuetToggle {
|
|
|
81
83
|
"duet-theme-turva": this.theme === "turva",
|
|
82
84
|
"duet-side-label": this.labelPosition !== "top",
|
|
83
85
|
"duet-reverse-label": this.labelPosition === "right",
|
|
84
|
-
} }, h("duet-label", { theme: this.theme, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { class: "duet-switch", htmlFor: identifier }, h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { class: "duet-slider" })))));
|
|
86
|
+
} }, h("duet-label", { theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), h("label", { class: "duet-switch", htmlFor: identifier }, h("input", { type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), h("div", { class: "duet-slider" })))));
|
|
85
87
|
}
|
|
86
88
|
static get is() { return "duet-toggle"; }
|
|
87
89
|
static get encapsulation() { return "scoped"; }
|
|
@@ -285,6 +287,46 @@ export class DuetToggle {
|
|
|
285
287
|
"reflect": false,
|
|
286
288
|
"defaultValue": "\"label\""
|
|
287
289
|
},
|
|
290
|
+
"labelColor": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"mutable": true,
|
|
293
|
+
"complexType": {
|
|
294
|
+
"original": "string",
|
|
295
|
+
"resolved": "string",
|
|
296
|
+
"references": {}
|
|
297
|
+
},
|
|
298
|
+
"required": false,
|
|
299
|
+
"optional": false,
|
|
300
|
+
"docs": {
|
|
301
|
+
"tags": [],
|
|
302
|
+
"text": "Color of the label."
|
|
303
|
+
},
|
|
304
|
+
"attribute": "label-color",
|
|
305
|
+
"reflect": false
|
|
306
|
+
},
|
|
307
|
+
"labelWeight": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"mutable": true,
|
|
310
|
+
"complexType": {
|
|
311
|
+
"original": "DuetTextFontWeight",
|
|
312
|
+
"resolved": "\"normal\" | \"semi-bold\"",
|
|
313
|
+
"references": {
|
|
314
|
+
"DuetTextFontWeight": {
|
|
315
|
+
"location": "import",
|
|
316
|
+
"path": "../../common-types",
|
|
317
|
+
"id": "src/common-types.d.ts::DuetTextFontWeight"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"required": false,
|
|
322
|
+
"optional": false,
|
|
323
|
+
"docs": {
|
|
324
|
+
"tags": [],
|
|
325
|
+
"text": "Font weight of the label."
|
|
326
|
+
},
|
|
327
|
+
"attribute": "label-weight",
|
|
328
|
+
"reflect": false
|
|
329
|
+
},
|
|
288
330
|
"labelPosition": {
|
|
289
331
|
"type": "string",
|
|
290
332
|
"mutable": false,
|
|
@@ -18,6 +18,11 @@ export class DuetTooltip {
|
|
|
18
18
|
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
19
19
|
];
|
|
20
20
|
this.tooltipId = createID("DuetTooltip");
|
|
21
|
+
this.aboutString = {
|
|
22
|
+
fi: "aiheesta",
|
|
23
|
+
en: "about",
|
|
24
|
+
sv: "om",
|
|
25
|
+
};
|
|
21
26
|
/**
|
|
22
27
|
* Local methods
|
|
23
28
|
*/
|
|
@@ -76,6 +81,7 @@ export class DuetTooltip {
|
|
|
76
81
|
sv: "Visa mer tilläggsuppgifter",
|
|
77
82
|
};
|
|
78
83
|
this.accessibleLabel = getLocaleString(this.accessibleLabelDefault, this.language);
|
|
84
|
+
this.accessibleAboutLabel = undefined;
|
|
79
85
|
this.accessibleInputLabel = undefined;
|
|
80
86
|
this.accessibleCloseLabelDefault = {
|
|
81
87
|
fi: "Sulje lisätiedot",
|
|
@@ -204,7 +210,10 @@ export class DuetTooltip {
|
|
|
204
210
|
top: this.arrowY ? `${this.arrowY}px` : undefined,
|
|
205
211
|
left: this.arrowX ? `${this.arrowX}px` : undefined,
|
|
206
212
|
};
|
|
207
|
-
return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.active, tooltipId: this.tooltipId, label: this.label, accessibleLabel: this.accessibleInputLabel
|
|
213
|
+
return (h(Host, { style: tooltipStyles }, h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.active, tooltipId: this.tooltipId, label: this.label, accessibleLabel: (this.accessibleInputLabel && `${this.accessibleInputLabel}, ${this.accessibleLabel}`) ||
|
|
214
|
+
(this.accessibleAboutLabel &&
|
|
215
|
+
`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`) ||
|
|
216
|
+
this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme }), h("div", { style: popupContainerStyles }, h("duet-tooltip-popup", { ref: element => (this.popupElement = element), active: this.active, tooltipId: this.tooltipId, arrowStyles: arrowStyles, style: positionStyles, placement: this.placement, accessibleCloseLabel: this.accessibleCloseLabel, theme: this.theme }, h("slot", null)))));
|
|
208
217
|
}
|
|
209
218
|
static get is() { return "duet-tooltip"; }
|
|
210
219
|
static get encapsulation() { return "scoped"; }
|
|
@@ -322,6 +331,23 @@ export class DuetTooltip {
|
|
|
322
331
|
"reflect": false,
|
|
323
332
|
"defaultValue": "getLocaleString(this.accessibleLabelDefault, this.language)"
|
|
324
333
|
},
|
|
334
|
+
"accessibleAboutLabel": {
|
|
335
|
+
"type": "string",
|
|
336
|
+
"mutable": false,
|
|
337
|
+
"complexType": {
|
|
338
|
+
"original": "string",
|
|
339
|
+
"resolved": "string",
|
|
340
|
+
"references": {}
|
|
341
|
+
},
|
|
342
|
+
"required": false,
|
|
343
|
+
"optional": false,
|
|
344
|
+
"docs": {
|
|
345
|
+
"tags": [],
|
|
346
|
+
"text": "String to add after the accessibleLabel to give more context to the tooltip. Preposition \"about\" is\nadded between the strings. In Finnish, the preposition is \"aiheesta\" and in Swedish \"om\"."
|
|
347
|
+
},
|
|
348
|
+
"attribute": "accessible-about-label",
|
|
349
|
+
"reflect": false
|
|
350
|
+
},
|
|
325
351
|
"accessibleInputLabel": {
|
|
326
352
|
"type": "string",
|
|
327
353
|
"mutable": false,
|
|
@@ -20,7 +20,7 @@ export class Teleport {
|
|
|
20
20
|
*/
|
|
21
21
|
go(makeSiblingsInert = false) {
|
|
22
22
|
const skipTeleport = this.element.getAttribute("skip-teleport");
|
|
23
|
-
if (skipTeleport && skipTeleport !== "false") {
|
|
23
|
+
if (skipTeleport !== null && skipTeleport !== "false") {
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
26
|
// React handles teleporting itself with portals
|
|
@@ -38,7 +38,7 @@ export class Teleport {
|
|
|
38
38
|
}
|
|
39
39
|
resume(delay = 0) {
|
|
40
40
|
const skipTeleport = this.element.getAttribute("skip-teleport");
|
|
41
|
-
if (skipTeleport && skipTeleport !== "false") {
|
|
41
|
+
if (skipTeleport !== null && skipTeleport !== "false") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
44
|
if (!this.isActive) {
|
|
@@ -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-4d3e1b52.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-4a55dff3.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-1c7bd169.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-471a62cc.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { h } from './p-62c7d9d4.js';
|
|
7
7
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
8
|
-
import { g as getColorByName } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { g as getColorByName } from './p-e078836c.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-975a4689.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-c493eecb.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-fc6bb9ab.js';
|
|
12
12
|
|
|
13
13
|
const DuetPicture = ({ img, sources }) => {
|
|
14
14
|
return (h("picture", null,
|
|
@@ -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-471a62cc.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-c493eecb.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-3158e24f.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-471a62cc.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { g as getLocaleString } from './p-2e36d5bf.js';
|
|
7
7
|
|