@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
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
.duet-modal-overlay.duet-disable-transitions {
|
|
50
50
|
transition: none;
|
|
51
51
|
}
|
|
52
|
+
.duet-modal-overlay.duet-modal-slide-up {
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
52
55
|
|
|
53
56
|
::slotted(img) {
|
|
54
57
|
width: 100%;
|
|
@@ -66,11 +69,47 @@
|
|
|
66
69
|
padding: 48px 16px;
|
|
67
70
|
}
|
|
68
71
|
}
|
|
72
|
+
.duet-modal-inner.duet-modal-slide-up {
|
|
73
|
+
align-items: stretch;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
height: 100%;
|
|
76
|
+
padding-top: 48px;
|
|
77
|
+
padding-bottom: 0;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
}
|
|
80
|
+
.duet-modal-inner.duet-modal-slide-up::after {
|
|
81
|
+
position: absolute;
|
|
82
|
+
bottom: 0;
|
|
83
|
+
z-index: 300;
|
|
84
|
+
display: block;
|
|
85
|
+
width: 100%;
|
|
86
|
+
max-width: 686px;
|
|
87
|
+
height: 48px;
|
|
88
|
+
margin: auto;
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
content: "";
|
|
91
|
+
background: linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255));
|
|
92
|
+
}
|
|
93
|
+
.duet-modal-inner.duet-modal-slide-up::after.small {
|
|
94
|
+
max-width: 545px;
|
|
95
|
+
}
|
|
96
|
+
.duet-modal-inner.duet-modal-slide-up::after.large {
|
|
97
|
+
max-width: 100%;
|
|
98
|
+
}
|
|
99
|
+
@media (min-width: 36em) {
|
|
100
|
+
.duet-modal-inner.duet-modal-slide-up::after.large {
|
|
101
|
+
max-width: 1110px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
69
104
|
@media (max-width: 35.9375em) {
|
|
70
|
-
.duet-modal-inner.
|
|
105
|
+
.duet-modal-inner.large {
|
|
71
106
|
padding-right: 0;
|
|
72
107
|
padding-left: 0;
|
|
73
108
|
}
|
|
109
|
+
.duet-modal-inner.duet-modal-slide-up {
|
|
110
|
+
padding: 0;
|
|
111
|
+
padding-top: 28px;
|
|
112
|
+
}
|
|
74
113
|
}
|
|
75
114
|
|
|
76
115
|
.duet-modal {
|
|
@@ -100,6 +139,10 @@
|
|
|
100
139
|
transition-delay: 200ms;
|
|
101
140
|
transform: none;
|
|
102
141
|
}
|
|
142
|
+
.duet-modal-active .duet-modal.slide-up {
|
|
143
|
+
top: 0;
|
|
144
|
+
transition: top 600ms ease;
|
|
145
|
+
}
|
|
103
146
|
.duet-disable-transitions .duet-modal {
|
|
104
147
|
transition: none;
|
|
105
148
|
}
|
|
@@ -114,63 +157,94 @@
|
|
|
114
157
|
max-width: 1110px;
|
|
115
158
|
}
|
|
116
159
|
}
|
|
160
|
+
.duet-modal.slide-up {
|
|
161
|
+
top: 100vh;
|
|
162
|
+
margin: 0;
|
|
163
|
+
border-radius: 4px 4px 0 0;
|
|
164
|
+
opacity: 1;
|
|
165
|
+
transition: top 600ms ease;
|
|
166
|
+
}
|
|
167
|
+
@media (max-width: 35.9375em) {
|
|
168
|
+
.duet-modal.slide-up {
|
|
169
|
+
border-radius: 20px 20px 0 0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
.duet-modal.duet-modal-has-sticky-header {
|
|
173
|
+
height: 100%;
|
|
174
|
+
overflow: auto;
|
|
175
|
+
}
|
|
117
176
|
.duet-modal:focus {
|
|
118
177
|
outline: 0;
|
|
119
178
|
}
|
|
120
179
|
|
|
121
|
-
.duet-modal-body
|
|
180
|
+
.duet-modal-body,
|
|
181
|
+
.duet-modal-sticky-header {
|
|
122
182
|
width: 100%;
|
|
123
183
|
padding: 36px 28px;
|
|
124
184
|
}
|
|
125
|
-
.duet-modal-body.duet-modal-gutter-none
|
|
185
|
+
.duet-modal-body.duet-modal-gutter-none,
|
|
186
|
+
.duet-modal-sticky-header.duet-modal-gutter-none {
|
|
126
187
|
padding: 0 !important;
|
|
127
188
|
}
|
|
128
|
-
.duet-modal-body.duet-modal-gutter-small
|
|
189
|
+
.duet-modal-body.duet-modal-gutter-small,
|
|
190
|
+
.duet-modal-sticky-header.duet-modal-gutter-small {
|
|
129
191
|
padding: 36px 20px;
|
|
130
192
|
}
|
|
131
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
193
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
194
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
132
195
|
padding: 48px 36px;
|
|
133
196
|
}
|
|
134
197
|
@media (max-width: 22.5em) {
|
|
135
|
-
.duet-modal-body
|
|
198
|
+
.duet-modal-body,
|
|
199
|
+
.duet-modal-sticky-header {
|
|
136
200
|
padding: 36px 20px;
|
|
137
201
|
}
|
|
138
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
202
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
203
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
139
204
|
padding: 48px 28px;
|
|
140
205
|
}
|
|
141
206
|
}
|
|
142
207
|
@media (max-width: 35.9375em) {
|
|
143
|
-
.duet-modal-body
|
|
208
|
+
.duet-modal-body,
|
|
209
|
+
.duet-modal-sticky-header {
|
|
144
210
|
padding: 36px 20px;
|
|
145
211
|
}
|
|
146
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
212
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
213
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
147
214
|
padding: 48px 36px;
|
|
148
215
|
}
|
|
149
216
|
}
|
|
150
217
|
@media (min-width: 36em) {
|
|
151
|
-
.duet-modal-body
|
|
218
|
+
.duet-modal-body,
|
|
219
|
+
.duet-modal-sticky-header {
|
|
152
220
|
padding: 36px;
|
|
153
221
|
}
|
|
154
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
222
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
223
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
155
224
|
padding: 28px 72px;
|
|
156
225
|
}
|
|
157
226
|
}
|
|
158
227
|
@media (min-width: 48em) {
|
|
159
|
-
.duet-modal-body
|
|
228
|
+
.duet-modal-body,
|
|
229
|
+
.duet-modal-sticky-header {
|
|
160
230
|
padding: 36px 72px;
|
|
161
231
|
}
|
|
162
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
232
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
233
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
163
234
|
padding: 36px 72px;
|
|
164
235
|
}
|
|
165
236
|
}
|
|
166
237
|
@media (min-width: 76.25em) {
|
|
167
|
-
.duet-modal-body
|
|
238
|
+
.duet-modal-body,
|
|
239
|
+
.duet-modal-sticky-header {
|
|
168
240
|
padding: 36px 48px 48px;
|
|
169
241
|
}
|
|
170
|
-
.duet-modal-body.duet-modal-gutter-large
|
|
242
|
+
.duet-modal-body.duet-modal-gutter-large,
|
|
243
|
+
.duet-modal-sticky-header.duet-modal-gutter-large {
|
|
171
244
|
padding: 48px 94px;
|
|
172
245
|
}
|
|
173
|
-
.small .duet-modal-body
|
|
246
|
+
.small .duet-modal-body,
|
|
247
|
+
.small .duet-modal-sticky-header {
|
|
174
248
|
padding: 36px 48px;
|
|
175
249
|
}
|
|
176
250
|
}
|
|
@@ -179,6 +253,21 @@
|
|
|
179
253
|
text-align: center;
|
|
180
254
|
}
|
|
181
255
|
|
|
256
|
+
.duet-modal-sticky-header {
|
|
257
|
+
position: sticky;
|
|
258
|
+
top: 0;
|
|
259
|
+
z-index: 200;
|
|
260
|
+
display: block;
|
|
261
|
+
padding-bottom: 12px;
|
|
262
|
+
text-align: left;
|
|
263
|
+
background: rgb(243, 249, 252);
|
|
264
|
+
border-bottom: 1px solid rgb(225, 227, 230);
|
|
265
|
+
}
|
|
266
|
+
.duet-theme-turva .duet-modal-sticky-header {
|
|
267
|
+
background: rgb(245, 245, 247);
|
|
268
|
+
border-bottom: 1px solid rgb(228, 228, 230);
|
|
269
|
+
}
|
|
270
|
+
|
|
182
271
|
.duet-modal-close {
|
|
183
272
|
position: absolute;
|
|
184
273
|
top: 12px;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import { disableBodyScroll, enableBodyScroll } from "body-scroll-lock/lib/bodyScrollLock.es6.js";
|
|
6
|
-
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { hasSlot, inheritGlobalTheme } from "../../common";
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
8
|
import { focusElement, FocusGuard } from "../../utils/focus-utils";
|
|
9
9
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
@@ -14,6 +14,7 @@ import { Teleport } from "../../utils/teleport";
|
|
|
14
14
|
// This issue is similar to what we’ve seen in Duet Date Picker + iOS VoiceOver.
|
|
15
15
|
const TRANSITION_MS = 600;
|
|
16
16
|
/**
|
|
17
|
+
* @slot sticky-header - Content will be fixed to the top of the modal when scrolling, typically used with slide-up variation for e.g. a search input
|
|
17
18
|
* @slot top - This is a slot that takes any content and will be displayed as the first thing in the hero area (typically an image)
|
|
18
19
|
*/
|
|
19
20
|
export class DuetModal {
|
|
@@ -24,6 +25,7 @@ export class DuetModal {
|
|
|
24
25
|
*/
|
|
25
26
|
this.modalId = createID("DuetModal");
|
|
26
27
|
this.slotDefaultId = createID("DuetModal-default-slot");
|
|
28
|
+
this.hasStickyHeader = false;
|
|
27
29
|
this.isAndroidDevice = ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.indexOf("android")) > -1 || null;
|
|
28
30
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
29
31
|
this.handleAndroidResizeEvents = () => {
|
|
@@ -54,6 +56,7 @@ export class DuetModal {
|
|
|
54
56
|
this.accessibleLabel = undefined;
|
|
55
57
|
this.accessibleDetails = undefined;
|
|
56
58
|
this.accessibleDescription = undefined;
|
|
59
|
+
this.variation = "default";
|
|
57
60
|
this.gutterSize = "medium";
|
|
58
61
|
this.theme = "";
|
|
59
62
|
this.heading = "";
|
|
@@ -105,6 +108,7 @@ export class DuetModal {
|
|
|
105
108
|
* Component lifecycle events.
|
|
106
109
|
*/
|
|
107
110
|
componentWillLoad() {
|
|
111
|
+
this.hasStickyHeader = hasSlot(this.element, "sticky-header");
|
|
108
112
|
inheritGlobalTheme(this);
|
|
109
113
|
}
|
|
110
114
|
componentDidLoad() {
|
|
@@ -172,6 +176,7 @@ export class DuetModal {
|
|
|
172
176
|
var _a;
|
|
173
177
|
let iconColor = "primary";
|
|
174
178
|
let closeColor = "secondary";
|
|
179
|
+
const closingButton = (h("div", { class: "duet-modal-close" }, h("duet-button", { ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
175
180
|
if (this.theme === "turva") {
|
|
176
181
|
iconColor = "primary-turva";
|
|
177
182
|
closeColor = "secondary-turva";
|
|
@@ -180,9 +185,12 @@ export class DuetModal {
|
|
|
180
185
|
"duet-modal-overlay": true,
|
|
181
186
|
"duet-theme-turva": this.theme === "turva",
|
|
182
187
|
"duet-modal-active": this.open,
|
|
188
|
+
"duet-modal-slide-up": this.variation === "slide-up",
|
|
189
|
+
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
183
190
|
} }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
184
191
|
"duet-modal-inner": true,
|
|
185
|
-
|
|
192
|
+
[this.size]: true,
|
|
193
|
+
"duet-modal-slide-up": this.variation === "slide-up",
|
|
186
194
|
}, onClick: e => {
|
|
187
195
|
if (this.closeOnBlur) {
|
|
188
196
|
const source = e.target || e.srcElement;
|
|
@@ -190,7 +198,12 @@ export class DuetModal {
|
|
|
190
198
|
this.closeModal(e);
|
|
191
199
|
}
|
|
192
200
|
}
|
|
193
|
-
} }, h("div", { class: {
|
|
201
|
+
} }, h("div", { class: {
|
|
202
|
+
"duet-modal": true,
|
|
203
|
+
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
204
|
+
[this.size]: true,
|
|
205
|
+
[this.variation]: true,
|
|
206
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", null), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { class: {
|
|
194
207
|
"duet-modal-body": true,
|
|
195
208
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
196
209
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
@@ -401,6 +414,30 @@ export class DuetModal {
|
|
|
401
414
|
"reflect": false,
|
|
402
415
|
"defaultValue": "undefined"
|
|
403
416
|
},
|
|
417
|
+
"variation": {
|
|
418
|
+
"type": "string",
|
|
419
|
+
"mutable": false,
|
|
420
|
+
"complexType": {
|
|
421
|
+
"original": "DuetModalVariation",
|
|
422
|
+
"resolved": "\"default\" | \"slide-up\"",
|
|
423
|
+
"references": {
|
|
424
|
+
"DuetModalVariation": {
|
|
425
|
+
"location": "local",
|
|
426
|
+
"path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-modal/duet-modal.tsx",
|
|
427
|
+
"id": "src/components/duet-modal/duet-modal.tsx::DuetModalVariation"
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"optional": false,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [],
|
|
435
|
+
"text": "Variation of the modal window."
|
|
436
|
+
},
|
|
437
|
+
"attribute": "variation",
|
|
438
|
+
"reflect": false,
|
|
439
|
+
"defaultValue": "\"default\""
|
|
440
|
+
},
|
|
404
441
|
"gutterSize": {
|
|
405
442
|
"type": "string",
|
|
406
443
|
"mutable": false,
|
|
@@ -165,10 +165,20 @@
|
|
|
165
165
|
min-height: 24px;
|
|
166
166
|
}
|
|
167
167
|
.duet-multiselect .duet-multiselect-badge {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
padding: 4px 8px 4px;
|
|
169
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
170
|
+
font-size: 0.75rem;
|
|
171
|
+
font-weight: 600;
|
|
172
|
+
line-height: 1.25;
|
|
173
|
+
color: rgb(0, 41, 77);
|
|
174
|
+
background: #d9ebf4;
|
|
175
|
+
border-radius: 20rem;
|
|
176
|
+
}
|
|
177
|
+
.duet-theme-turva .duet-multiselect .duet-multiselect-badge {
|
|
178
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
179
|
+
font-weight: 700;
|
|
180
|
+
color: rgb(23, 28, 58);
|
|
181
|
+
background: #e8e8eb;
|
|
172
182
|
}
|
|
173
183
|
.duet-multiselect .duet-multiselect-icon {
|
|
174
184
|
margin-left: 12px;
|
|
@@ -148,6 +148,8 @@ export class DuetMultiselect {
|
|
|
148
148
|
this.items = undefined;
|
|
149
149
|
this.disabled = false;
|
|
150
150
|
this.label = "label";
|
|
151
|
+
this.labelColor = undefined;
|
|
152
|
+
this.labelWeight = undefined;
|
|
151
153
|
this.accessibleDescribedBy = undefined;
|
|
152
154
|
this.tooltip = "";
|
|
153
155
|
this.tooltipDirection = "auto";
|
|
@@ -201,7 +203,7 @@ export class DuetMultiselect {
|
|
|
201
203
|
"duet-theme-turva": this.theme === "turva",
|
|
202
204
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
203
205
|
"has-error": !!this.error,
|
|
204
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("
|
|
206
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", null, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
205
207
|
"duet-multiselect-checkboxes": true,
|
|
206
208
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
207
209
|
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (h("div", { class: "duet-multiselect-all-control-buttons" }, h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
@@ -496,6 +498,46 @@ export class DuetMultiselect {
|
|
|
496
498
|
"reflect": false,
|
|
497
499
|
"defaultValue": "\"label\""
|
|
498
500
|
},
|
|
501
|
+
"labelColor": {
|
|
502
|
+
"type": "string",
|
|
503
|
+
"mutable": true,
|
|
504
|
+
"complexType": {
|
|
505
|
+
"original": "string",
|
|
506
|
+
"resolved": "string",
|
|
507
|
+
"references": {}
|
|
508
|
+
},
|
|
509
|
+
"required": false,
|
|
510
|
+
"optional": false,
|
|
511
|
+
"docs": {
|
|
512
|
+
"tags": [],
|
|
513
|
+
"text": "Color of the label."
|
|
514
|
+
},
|
|
515
|
+
"attribute": "label-color",
|
|
516
|
+
"reflect": false
|
|
517
|
+
},
|
|
518
|
+
"labelWeight": {
|
|
519
|
+
"type": "string",
|
|
520
|
+
"mutable": true,
|
|
521
|
+
"complexType": {
|
|
522
|
+
"original": "DuetTextFontWeight",
|
|
523
|
+
"resolved": "\"normal\" | \"semi-bold\"",
|
|
524
|
+
"references": {
|
|
525
|
+
"DuetTextFontWeight": {
|
|
526
|
+
"location": "import",
|
|
527
|
+
"path": "../../common-types",
|
|
528
|
+
"id": "src/common-types.d.ts::DuetTextFontWeight"
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"required": false,
|
|
533
|
+
"optional": false,
|
|
534
|
+
"docs": {
|
|
535
|
+
"tags": [],
|
|
536
|
+
"text": "Font weight of the label."
|
|
537
|
+
},
|
|
538
|
+
"attribute": "label-weight",
|
|
539
|
+
"reflect": false
|
|
540
|
+
},
|
|
499
541
|
"accessibleDescribedBy": {
|
|
500
542
|
"type": "string",
|
|
501
543
|
"mutable": false,
|
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
.duet-theme-turva .duet-popup-menu-item:focus, .duet-popup-menu-item:focus.duet-theme-turva {
|
|
51
51
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
52
52
|
}
|
|
53
|
+
.duet-popup-menu-item.duet-theme-turva {
|
|
54
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
55
|
+
color: rgb(23, 28, 58);
|
|
56
|
+
}
|
|
53
57
|
.duet-popup-menu-item.active {
|
|
54
58
|
background: rgb(243, 249, 252);
|
|
55
59
|
}
|
|
@@ -31,6 +31,7 @@ export class DuetPopupMenuItem {
|
|
|
31
31
|
this.external = false;
|
|
32
32
|
this.value = undefined;
|
|
33
33
|
this.leadingIcon = undefined;
|
|
34
|
+
this.leadingIconColor = undefined;
|
|
34
35
|
this.trailingIcon = undefined;
|
|
35
36
|
this.trailingText = undefined;
|
|
36
37
|
this.active = false;
|
|
@@ -60,7 +61,7 @@ export class DuetPopupMenuItem {
|
|
|
60
61
|
active: this.active,
|
|
61
62
|
"duet-theme-turva": this.theme === "turva",
|
|
62
63
|
};
|
|
63
|
-
return (h(Host, null, h(TagName, { ref: element => (this.itemElement = element), tabIndex: -1, onFocus: this.onFocus, onBlur: this.onBlur, role: "menuitem", "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: "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))));
|
|
64
|
+
return (h(Host, null, h(TagName, { ref: element => (this.itemElement = element), tabIndex: -1, onFocus: this.onFocus, onBlur: this.onBlur, role: "menuitem", "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))));
|
|
64
65
|
}
|
|
65
66
|
static get is() { return "duet-popup-menu-item"; }
|
|
66
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -194,6 +195,30 @@ export class DuetPopupMenuItem {
|
|
|
194
195
|
"reflect": false,
|
|
195
196
|
"defaultValue": "undefined"
|
|
196
197
|
},
|
|
198
|
+
"leadingIconColor": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"mutable": false,
|
|
201
|
+
"complexType": {
|
|
202
|
+
"original": "DuetIconColor",
|
|
203
|
+
"resolved": "string",
|
|
204
|
+
"references": {
|
|
205
|
+
"DuetIconColor": {
|
|
206
|
+
"location": "import",
|
|
207
|
+
"path": "../../common-types",
|
|
208
|
+
"id": "src/common-types.d.ts::DuetIconColor"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": false,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": "Left icon color."
|
|
217
|
+
},
|
|
218
|
+
"attribute": "leading-icon-color",
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"defaultValue": "undefined"
|
|
221
|
+
},
|
|
197
222
|
"trailingIcon": {
|
|
198
223
|
"type": "string",
|
|
199
224
|
"mutable": false,
|
|
@@ -64,6 +64,8 @@ export class DuetRangeSlider {
|
|
|
64
64
|
this.accessibleDescribedBy = undefined;
|
|
65
65
|
this.min = 0;
|
|
66
66
|
this.label = "label";
|
|
67
|
+
this.labelColor = undefined;
|
|
68
|
+
this.labelWeight = undefined;
|
|
67
69
|
this.labelHidden = false;
|
|
68
70
|
this.unit = "";
|
|
69
71
|
this.max = 100;
|
|
@@ -118,7 +120,7 @@ export class DuetRangeSlider {
|
|
|
118
120
|
"duet-theme-turva": this.theme === "turva",
|
|
119
121
|
"duet-ie": isInternetExplorer(),
|
|
120
122
|
"duet-range-disabled": this.disabled,
|
|
121
|
-
} }, h("duet-label", { theme: theme, margin: "small", for: identifier }, this.label), h("output", { "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
123
|
+
} }, h("duet-label", { theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), h("output", { "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), h("input", { onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
122
124
|
}
|
|
123
125
|
static get is() { return "duet-range-slider"; }
|
|
124
126
|
static get encapsulation() { return "scoped"; }
|
|
@@ -374,6 +376,46 @@ export class DuetRangeSlider {
|
|
|
374
376
|
"reflect": false,
|
|
375
377
|
"defaultValue": "\"label\""
|
|
376
378
|
},
|
|
379
|
+
"labelColor": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"mutable": true,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "string",
|
|
384
|
+
"resolved": "string",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": false,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [],
|
|
391
|
+
"text": "Color of the label."
|
|
392
|
+
},
|
|
393
|
+
"attribute": "label-color",
|
|
394
|
+
"reflect": false
|
|
395
|
+
},
|
|
396
|
+
"labelWeight": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"mutable": true,
|
|
399
|
+
"complexType": {
|
|
400
|
+
"original": "DuetTextFontWeight",
|
|
401
|
+
"resolved": "\"normal\" | \"semi-bold\"",
|
|
402
|
+
"references": {
|
|
403
|
+
"DuetTextFontWeight": {
|
|
404
|
+
"location": "import",
|
|
405
|
+
"path": "../../common-types",
|
|
406
|
+
"id": "src/common-types.d.ts::DuetTextFontWeight"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"required": false,
|
|
411
|
+
"optional": false,
|
|
412
|
+
"docs": {
|
|
413
|
+
"tags": [],
|
|
414
|
+
"text": "Font weight of the label."
|
|
415
|
+
},
|
|
416
|
+
"attribute": "label-weight",
|
|
417
|
+
"reflect": false
|
|
418
|
+
},
|
|
377
419
|
"labelHidden": {
|
|
378
420
|
"type": "boolean",
|
|
379
421
|
"mutable": false,
|
|
@@ -91,6 +91,8 @@ export class DuetSelect {
|
|
|
91
91
|
this.disabled = false;
|
|
92
92
|
this.required = false;
|
|
93
93
|
this.label = "label";
|
|
94
|
+
this.labelColor = undefined;
|
|
95
|
+
this.labelWeight = undefined;
|
|
94
96
|
this.role = undefined;
|
|
95
97
|
this.tooltip = "";
|
|
96
98
|
this.tooltipDirection = "auto";
|
|
@@ -157,7 +159,7 @@ export class DuetSelect {
|
|
|
157
159
|
[`duet-select-variation-${this.variation}`]: true,
|
|
158
160
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
159
161
|
"has-error": !!this.error,
|
|
160
|
-
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
162
|
+
} }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), h("select", { ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
161
163
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
162
164
|
}))), h("div", { class: {
|
|
163
165
|
"duet-select": true,
|
|
@@ -571,6 +573,46 @@ export class DuetSelect {
|
|
|
571
573
|
"reflect": false,
|
|
572
574
|
"defaultValue": "\"label\""
|
|
573
575
|
},
|
|
576
|
+
"labelColor": {
|
|
577
|
+
"type": "string",
|
|
578
|
+
"mutable": true,
|
|
579
|
+
"complexType": {
|
|
580
|
+
"original": "string",
|
|
581
|
+
"resolved": "string",
|
|
582
|
+
"references": {}
|
|
583
|
+
},
|
|
584
|
+
"required": false,
|
|
585
|
+
"optional": false,
|
|
586
|
+
"docs": {
|
|
587
|
+
"tags": [],
|
|
588
|
+
"text": "Color of the label."
|
|
589
|
+
},
|
|
590
|
+
"attribute": "label-color",
|
|
591
|
+
"reflect": false
|
|
592
|
+
},
|
|
593
|
+
"labelWeight": {
|
|
594
|
+
"type": "string",
|
|
595
|
+
"mutable": true,
|
|
596
|
+
"complexType": {
|
|
597
|
+
"original": "DuetTextFontWeight",
|
|
598
|
+
"resolved": "\"normal\" | \"semi-bold\"",
|
|
599
|
+
"references": {
|
|
600
|
+
"DuetTextFontWeight": {
|
|
601
|
+
"location": "import",
|
|
602
|
+
"path": "../../common-types",
|
|
603
|
+
"id": "src/common-types.d.ts::DuetTextFontWeight"
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": false,
|
|
608
|
+
"optional": false,
|
|
609
|
+
"docs": {
|
|
610
|
+
"tags": [],
|
|
611
|
+
"text": "Font weight of the label."
|
|
612
|
+
},
|
|
613
|
+
"attribute": "label-weight",
|
|
614
|
+
"reflect": false
|
|
615
|
+
},
|
|
574
616
|
"role": {
|
|
575
617
|
"type": "string",
|
|
576
618
|
"mutable": false,
|
|
@@ -44,6 +44,15 @@
|
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
height: 100%;
|
|
47
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
48
|
+
font-size: 1rem;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
line-height: 1.5;
|
|
51
|
+
color: rgb(0, 41, 77);
|
|
52
|
+
}
|
|
53
|
+
.duet-slideout.duet-theme-turva {
|
|
54
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
55
|
+
color: rgb(23, 28, 58);
|
|
47
56
|
}
|
|
48
57
|
.duet-slideout .desktop-bg {
|
|
49
58
|
display: none;
|
|
@@ -95,6 +104,17 @@
|
|
|
95
104
|
transition-delay: 0s;
|
|
96
105
|
}
|
|
97
106
|
}
|
|
107
|
+
.duet-slideout .dialog .top-container.has-sticky-header-slot {
|
|
108
|
+
position: sticky;
|
|
109
|
+
top: 0;
|
|
110
|
+
z-index: 200;
|
|
111
|
+
}
|
|
112
|
+
.duet-slideout .dialog .top-container.has-sticky-header-slot .top {
|
|
113
|
+
background: rgb(243, 249, 252);
|
|
114
|
+
}
|
|
115
|
+
.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header {
|
|
116
|
+
display: block;
|
|
117
|
+
}
|
|
98
118
|
.duet-slideout .dialog .top {
|
|
99
119
|
position: relative;
|
|
100
120
|
z-index: 1;
|
|
@@ -113,6 +133,14 @@
|
|
|
113
133
|
.duet-slideout .dialog .top duet-icon {
|
|
114
134
|
padding: 16px;
|
|
115
135
|
}
|
|
136
|
+
.duet-slideout .dialog .sticky-header {
|
|
137
|
+
display: none;
|
|
138
|
+
width: 100%;
|
|
139
|
+
padding: 0 1.5rem;
|
|
140
|
+
margin-bottom: 20px;
|
|
141
|
+
background: rgb(243, 249, 252);
|
|
142
|
+
border-bottom: 1px solid rgb(225, 227, 230);
|
|
143
|
+
}
|
|
116
144
|
.duet-slideout .dialog .items {
|
|
117
145
|
display: flex;
|
|
118
146
|
flex-direction: column;
|
|
@@ -147,6 +175,13 @@
|
|
|
147
175
|
.duet-slideout.duet-theme-turva button.active::after {
|
|
148
176
|
background: rgb(198, 12, 48);
|
|
149
177
|
}
|
|
178
|
+
.duet-slideout.duet-theme-turva .has-sticky-header-slot .top {
|
|
179
|
+
background: rgb(245, 245, 247);
|
|
180
|
+
}
|
|
181
|
+
.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header {
|
|
182
|
+
background: rgb(245, 245, 247);
|
|
183
|
+
border-bottom: 1px solid rgb(228, 228, 230);
|
|
184
|
+
}
|
|
150
185
|
.duet-slideout.duet-theme-turva .dialog .top button:focus {
|
|
151
186
|
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a;
|
|
152
187
|
}
|