@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
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active span::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:\"\";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(101, 119, 135)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(68, 68, 69)}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetSlideoutPanelDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:-0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel-dropdown{position:relative;width:100%;height:100%}.duet-slideout-panel-dropdown button{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:center;text-decoration:none;cursor:pointer}.duet-slideout-panel-dropdown button .label{position:relative;display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-slideout-panel-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel-dropdown button.active .label::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:calc(100% - 18px);height:1px;content:\"\";background:rgb(0, 119, 179);transform:translateY(1px)}.duet-slideout-panel-dropdown .items{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-height:1000px;padding:4px 20px 8px 44px;overflow-y:auto;visibility:visible;transition:max-height 0.3s ease-in, padding-bottom 0.3s ease-in;-ms-overflow-style:none;scrollbar-width:none}.duet-slideout-panel-dropdown .items::-webkit-scrollbar{display:none}.duet-slideout-panel-dropdown .items.hidden{max-height:0;padding:0;overflow:hidden;visibility:hidden;transition:max-height 0.3s ease-out, padding-bottom 0.3s ease-out}.duet-slideout-panel-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel-dropdown.duet-theme-turva button.active .label::after{background:rgb(198, 12, 48)}slot{--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:400;color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}slot[name=label]{font-size:1rem;font-weight:600}";
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
|
-
const focusUtils = require('./focus-utils-
|
|
10
|
+
const focusUtils = require('./focus-utils-ec077a62.js');
|
|
11
11
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
12
|
-
const tokenUtils = require('./token-utils-
|
|
12
|
+
const tokenUtils = require('./token-utils-a5356b00.js');
|
|
13
13
|
require('./string-utils-053749ff.js');
|
|
14
|
-
require('./tokens.module-
|
|
14
|
+
require('./tokens.module-ce5f9579.js');
|
|
15
15
|
|
|
16
16
|
const duetSlideoutPanelCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}";
|
|
17
17
|
|
|
@@ -5,18 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-83f334d1.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
11
|
-
const
|
|
11
|
+
const slotQuery = require('./slot-query-3259af5b.js');
|
|
12
|
+
const focusUtils = require('./focus-utils-ec077a62.js');
|
|
12
13
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
13
14
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
14
|
-
const teleport = require('./teleport-
|
|
15
|
-
const tokenUtils = require('./token-utils-
|
|
15
|
+
const teleport = require('./teleport-6a1f83a1.js');
|
|
16
|
+
const tokenUtils = require('./token-utils-a5356b00.js');
|
|
16
17
|
require('./string-utils-053749ff.js');
|
|
17
|
-
require('./tokens.module-
|
|
18
|
+
require('./tokens.module-ce5f9579.js');
|
|
18
19
|
|
|
19
|
-
const duetSlideoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100
|
|
20
|
+
const duetSlideoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77)}.duet-slideout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout .desktop-bg{display:none}@media (min-width: 62em){.duet-slideout .desktop-bg{position:fixed;top:0;left:0;z-index:400;display:block;width:100%;height:100%;visibility:hidden;background:rgba(0, 41, 77, 0.6);opacity:0;transition:600ms ease}.duet-slideout .desktop-bg:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgba(23, 28, 58, 0.6)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:400;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}";
|
|
20
21
|
|
|
21
22
|
const DuetSlideout = class {
|
|
22
23
|
constructor(hostRef) {
|
|
@@ -33,6 +34,7 @@ const DuetSlideout = class {
|
|
|
33
34
|
sv: "Stäng den här menyn för att hitta objekt på toppnivå",
|
|
34
35
|
};
|
|
35
36
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
37
|
+
this.hasStickyHeaderSlot = false;
|
|
36
38
|
this.handleBodyScrolling = () => {
|
|
37
39
|
if (this.displaying && this.open) {
|
|
38
40
|
bodyScrollLock_es6.disableBodyScroll(this.dialog, { reserveScrollBarGap: true });
|
|
@@ -41,6 +43,23 @@ const DuetSlideout = class {
|
|
|
41
43
|
bodyScrollLock_es6.enableBodyScroll(this.dialog);
|
|
42
44
|
}
|
|
43
45
|
};
|
|
46
|
+
this.setOpenButton = (element) => {
|
|
47
|
+
if (!element) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
try {
|
|
51
|
+
const button = element;
|
|
52
|
+
button.accessiblePopup = "true";
|
|
53
|
+
button.accessibleExpanded = false;
|
|
54
|
+
this.openButton = button;
|
|
55
|
+
}
|
|
56
|
+
catch (_e) { }
|
|
57
|
+
};
|
|
58
|
+
this.openButtonEventListener = (e) => {
|
|
59
|
+
e.stopPropagation();
|
|
60
|
+
e.preventDefault();
|
|
61
|
+
this.onClick(e);
|
|
62
|
+
};
|
|
44
63
|
this.getOpenPanel = () => {
|
|
45
64
|
return this.element.querySelector("duet-slideout-panel[open]");
|
|
46
65
|
};
|
|
@@ -70,8 +89,7 @@ const DuetSlideout = class {
|
|
|
70
89
|
}
|
|
71
90
|
else {
|
|
72
91
|
setTimeout(() => {
|
|
73
|
-
|
|
74
|
-
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
92
|
+
focusUtils.focusElement(this.openButton);
|
|
75
93
|
this.handleBodyScrolling();
|
|
76
94
|
this.teleport.resume();
|
|
77
95
|
}, 200);
|
|
@@ -89,83 +107,42 @@ const DuetSlideout = class {
|
|
|
89
107
|
this.displaying = false;
|
|
90
108
|
this.openPanel = false;
|
|
91
109
|
this.theme = "";
|
|
110
|
+
this.accessibleRole = "menubar";
|
|
92
111
|
this.open = false;
|
|
93
112
|
this.opener = undefined;
|
|
94
113
|
this.backgroundColor = "gray-lightest";
|
|
95
114
|
}
|
|
96
|
-
/**
|
|
97
|
-
* Toggles the slideout.
|
|
98
|
-
*/
|
|
99
|
-
async toggle() {
|
|
100
|
-
const event = new CustomEvent("toggle");
|
|
101
|
-
this.toggleMenu(event);
|
|
102
|
-
setTimeout(() => {
|
|
103
|
-
this.closeButton.focus();
|
|
104
|
-
}, 200);
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
108
|
-
* the slideout so that focus can be moved back to this specific element when
|
|
109
|
-
* the slideout dialog is closed.
|
|
110
|
-
*/
|
|
111
|
-
async show() {
|
|
112
|
-
if (this.open) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
const button = document.activeElement;
|
|
116
|
-
if (button) {
|
|
117
|
-
button.accessiblePopup = "true";
|
|
118
|
-
this.openButton = button;
|
|
119
|
-
}
|
|
120
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Hides the slideout dialog and puts focus back to the original element
|
|
124
|
-
* that triggered the slideout (if we’re still in the same view).
|
|
125
|
-
*/
|
|
126
|
-
async hide() {
|
|
127
|
-
if (!this.open) {
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
131
|
-
}
|
|
132
115
|
/**
|
|
133
116
|
* Component lifecycle events.
|
|
134
117
|
*/
|
|
135
118
|
componentWillLoad() {
|
|
136
119
|
themeableComponent.inheritGlobalTheme(this);
|
|
137
|
-
|
|
138
|
-
if (button) {
|
|
139
|
-
button.accessiblePopup = "true";
|
|
140
|
-
button.accessibleExpanded = false;
|
|
141
|
-
button.addEventListener("click", e => {
|
|
142
|
-
e.stopPropagation();
|
|
143
|
-
e.preventDefault();
|
|
144
|
-
this.openButton = button;
|
|
145
|
-
this.onClick(e);
|
|
146
|
-
});
|
|
147
|
-
}
|
|
120
|
+
this.hasStickyHeaderSlot = slotQuery.hasSlot(this.element, "sticky-header");
|
|
148
121
|
this.teleport = new teleport.Teleport(this.element);
|
|
149
122
|
}
|
|
150
|
-
async componentDidLoad() {
|
|
151
|
-
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
152
|
-
if (entries[0].isIntersecting) {
|
|
153
|
-
this.displaying = true;
|
|
154
|
-
}
|
|
155
|
-
else {
|
|
156
|
-
this.displaying = false;
|
|
157
|
-
}
|
|
158
|
-
this.handleBodyScrolling();
|
|
159
|
-
});
|
|
160
|
-
this.intersectionObserver.observe(this.dialog);
|
|
161
|
-
}
|
|
162
123
|
connectedCallback() {
|
|
163
124
|
languageUtils.connectLanguageChangeObserver(this);
|
|
125
|
+
if (this.opener) {
|
|
126
|
+
this.setOpenButton(document.getElementById(this.opener));
|
|
127
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
128
|
+
}
|
|
164
129
|
this.mutationObserver = new MutationObserver(() => {
|
|
165
130
|
this.openPanel = !!this.getOpenPanel();
|
|
166
131
|
});
|
|
167
132
|
this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
|
|
168
133
|
}
|
|
134
|
+
componentDidRender() {
|
|
135
|
+
// intersection observer is here to observe when the dialog is actually visible and when its not
|
|
136
|
+
if (this.intersectionObserver) {
|
|
137
|
+
this.intersectionObserver.disconnect();
|
|
138
|
+
}
|
|
139
|
+
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
140
|
+
this.displaying = entries[0].isIntersecting;
|
|
141
|
+
this.handleBodyScrolling();
|
|
142
|
+
});
|
|
143
|
+
// this.dialog can't be observed before rendering because its not available yet
|
|
144
|
+
this.intersectionObserver.observe(this.dialog);
|
|
145
|
+
}
|
|
169
146
|
disconnectedCallback() {
|
|
170
147
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
171
148
|
bodyScrollLock_es6.enableBodyScroll(this.dialog);
|
|
@@ -175,6 +152,9 @@ const DuetSlideout = class {
|
|
|
175
152
|
if (this.mutationObserver) {
|
|
176
153
|
this.mutationObserver.disconnect();
|
|
177
154
|
}
|
|
155
|
+
if (this.openButton) {
|
|
156
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
157
|
+
}
|
|
178
158
|
}
|
|
179
159
|
/**
|
|
180
160
|
* Component event handling.
|
|
@@ -194,6 +174,38 @@ const DuetSlideout = class {
|
|
|
194
174
|
var _a;
|
|
195
175
|
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
|
|
196
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* Toggles the slideout.
|
|
179
|
+
*/
|
|
180
|
+
async toggle() {
|
|
181
|
+
const event = new CustomEvent("toggle");
|
|
182
|
+
this.toggleMenu(event);
|
|
183
|
+
setTimeout(() => {
|
|
184
|
+
this.closeButton.focus();
|
|
185
|
+
}, 200);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
189
|
+
* the slideout so that focus can be moved back to this specific element when
|
|
190
|
+
* the slideout dialog is closed.
|
|
191
|
+
*/
|
|
192
|
+
async show() {
|
|
193
|
+
if (this.open) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
this.setOpenButton(document.activeElement);
|
|
197
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Hides the slideout dialog and puts focus back to the original element
|
|
201
|
+
* that triggered the slideout (if we’re still in the same view).
|
|
202
|
+
*/
|
|
203
|
+
async hide() {
|
|
204
|
+
if (!this.open) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
this.toggleMenu(new CustomEvent("toggle"));
|
|
208
|
+
}
|
|
197
209
|
/**
|
|
198
210
|
* render() function
|
|
199
211
|
* Always the last one in the class.
|
|
@@ -207,13 +219,13 @@ const DuetSlideout = class {
|
|
|
207
219
|
return (index.h(index.Host, null, index.h("div", { class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, index.h("div", { class: {
|
|
208
220
|
"desktop-bg": true,
|
|
209
221
|
hidden: !this.open,
|
|
210
|
-
}, onClick: this.bgOnClick }), index.h("div", { ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "
|
|
222
|
+
}, onClick: this.bgOnClick }), index.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: {
|
|
211
223
|
dialog: true,
|
|
212
224
|
hidden: !this.open,
|
|
213
|
-
}, style: styles }, index.h(focusUtils.FocusGuard, { moveFocusTo: this.closeButton }), index.h("div", { class: "top" }, index.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: {
|
|
225
|
+
}, style: styles }, index.h(focusUtils.FocusGuard, { moveFocusTo: this.closeButton }), index.h("div", { class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, index.h("div", { class: "top" }, index.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: {
|
|
214
226
|
"slideout-close": true,
|
|
215
227
|
active: this.open,
|
|
216
|
-
}, onClick: this.onClick, inert: this.openPanel }, index.h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", {
|
|
228
|
+
}, onClick: this.onClick, inert: this.openPanel }, index.h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { class: "sticky-header" }, index.h("slot", { name: "sticky-header" }))), index.h("div", { id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
217
229
|
items: true,
|
|
218
230
|
} }, index.h("slot", null)), index.h(focusUtils.FocusGuard, { moveFocusTo: this.closeButton })))));
|
|
219
231
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
11
11
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const tokens = require('./tokens-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
|
+
const tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
12
12
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const tokens = require('./tokens-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
|
+
const tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
12
12
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const tokens = require('./tokens-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
|
+
const tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-83f334d1.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const inputUtils = require('./input-utils-1096a2c5.js');
|
|
@@ -110,6 +110,8 @@ const DuetTextarea = class {
|
|
|
110
110
|
this.identifier = undefined;
|
|
111
111
|
this.required = false;
|
|
112
112
|
this.label = "label";
|
|
113
|
+
this.labelColor = undefined;
|
|
114
|
+
this.labelWeight = undefined;
|
|
113
115
|
this.labelHidden = false;
|
|
114
116
|
this.name = undefined;
|
|
115
117
|
this.placeholder = undefined;
|
|
@@ -169,7 +171,7 @@ const DuetTextarea = class {
|
|
|
169
171
|
"duet-label-hidden": this.labelHidden,
|
|
170
172
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
171
173
|
"has-error": !!this.error,
|
|
172
|
-
} }, index.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 && (index.h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.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 })), index.h("duet-grid", { alignment: "stretch" }, index.h("duet-grid-item", { margin: "none", fill: true }, index.h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", null, this.error))), index.h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (index.h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (index.h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
174
|
+
} }, index.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 && (index.h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), index.h("div", { class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), index.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 })), index.h("duet-grid", { alignment: "stretch" }, index.h("duet-grid-item", { margin: "none", fill: true }, index.h("div", { class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && index.h("span", null, this.error))), index.h("duet-grid-item", { margin: "none", class: "duet-character-count-caption" }, this.counter && (index.h(CharacterCount, { theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (index.h("duet-visually-hidden", { class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
173
175
|
this.hiddenCounterLabel = el;
|
|
174
176
|
} })))));
|
|
175
177
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
@@ -38,6 +38,8 @@ const DuetToggle = class {
|
|
|
38
38
|
this.accessibleLabelledBy = undefined;
|
|
39
39
|
this.accessibleDescription = undefined;
|
|
40
40
|
this.label = "label";
|
|
41
|
+
this.labelColor = undefined;
|
|
42
|
+
this.labelWeight = undefined;
|
|
41
43
|
this.labelPosition = "top";
|
|
42
44
|
this.required = false;
|
|
43
45
|
this.disabled = false;
|
|
@@ -87,7 +89,7 @@ const DuetToggle = class {
|
|
|
87
89
|
"duet-theme-turva": this.theme === "turva",
|
|
88
90
|
"duet-side-label": this.labelPosition !== "top",
|
|
89
91
|
"duet-reverse-label": this.labelPosition === "right",
|
|
90
|
-
} }, index.h("duet-label", { theme: this.theme, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("label", { class: "duet-switch", htmlFor: identifier }, index.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) }), index.h("div", { class: "duet-slider" })))));
|
|
92
|
+
} }, index.h("duet-label", { theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), index.h("label", { class: "duet-switch", htmlFor: identifier }, index.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) }), index.h("div", { class: "duet-slider" })))));
|
|
91
93
|
}
|
|
92
94
|
get element() { return index.getElement(this); }
|
|
93
95
|
static get watchers() { return {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetToolbarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap}.duet-toolbar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-link:focus,.duet-toolbar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-link.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.negative duet-icon{color:rgb(205, 229, 241)}.duet-toolbar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-link.duet-theme-turva.negative{color:rgb(255, 255, 255)}.duet-toolbar-link.duet-theme-turva.negative duet-icon{color:rgb(244, 207, 214)}.duet-toolbar-link:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-link:hover.negative{color:rgb(255, 255, 255);background:rgba(0, 41, 77, 0.2)}.duet-toolbar-link:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-link:hover.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active{color:rgb(0, 41, 77)}.duet-toolbar-link.active.negative{font-weight:600;color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-link.active.negative::after{display:none}.duet-toolbar-link.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-link.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-link.active.duet-theme-turva.negative{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}.duet-toolbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.negative{background:rgb(0, 119, 179)}.duet-toolbar.negative .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(228, 228, 230)}.duet-toolbar.duet-theme-turva.negative{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.negative .container{border-bottom:0}";
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
11
|
-
const focusUtils = require('./focus-utils-
|
|
12
|
-
const teleport = require('./teleport-
|
|
11
|
+
const focusUtils = require('./focus-utils-ec077a62.js');
|
|
12
|
+
const teleport = require('./teleport-6a1f83a1.js');
|
|
13
13
|
|
|
14
14
|
const duetTooltipButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-tooltip-button{z-index:100;display:inline-block;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 !important;margin-right:-12px;line-height:normal !important;color:rgb(0, 119, 179);white-space:nowrap;cursor:pointer;background:transparent !important;border-radius:4px}.duet-tooltip-button.duet-theme-turva{color:rgb(198, 12, 48)}.duet-tooltip-button:hover{color:rgb(0, 77, 128)}.duet-tooltip-button:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-tooltip-button:focus{background:transparent !important;outline:0}:host(.user-is-tabbing) .duet-tooltip-button:focus{background:transparent !important;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tooltip-button svg{width:20px;height:20px;pointer-events:none}.duet-tooltip-button-has-label{margin-right:0}.duet-tooltip-label{position:relative;z-index:100;display:inline-block;max-width:calc(100% - 30px);margin-left:12px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.25;text-align:left;white-space:normal;vertical-align:top}.duet-theme-turva .duet-tooltip-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}";
|
|
15
15
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const tokens = require('./tokens-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
|
+
const tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-a7d59d53.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
12
12
|
const createId = require('./create-id-1f8c438f.js');
|
|
@@ -27,6 +27,11 @@ const DuetTooltip = class {
|
|
|
27
27
|
window.matchMedia(tokens.media_query_large.replace(/'/g, "")),
|
|
28
28
|
];
|
|
29
29
|
this.tooltipId = createId.createID("DuetTooltip");
|
|
30
|
+
this.aboutString = {
|
|
31
|
+
fi: "aiheesta",
|
|
32
|
+
en: "about",
|
|
33
|
+
sv: "om",
|
|
34
|
+
};
|
|
30
35
|
/**
|
|
31
36
|
* Local methods
|
|
32
37
|
*/
|
|
@@ -85,6 +90,7 @@ const DuetTooltip = class {
|
|
|
85
90
|
sv: "Visa mer tilläggsuppgifter",
|
|
86
91
|
};
|
|
87
92
|
this.accessibleLabel = languageUtils.getLocaleString(this.accessibleLabelDefault, this.language);
|
|
93
|
+
this.accessibleAboutLabel = undefined;
|
|
88
94
|
this.accessibleInputLabel = undefined;
|
|
89
95
|
this.accessibleCloseLabelDefault = {
|
|
90
96
|
fi: "Sulje lisätiedot",
|
|
@@ -207,7 +213,10 @@ const DuetTooltip = class {
|
|
|
207
213
|
top: this.arrowY ? `${this.arrowY}px` : undefined,
|
|
208
214
|
left: this.arrowX ? `${this.arrowX}px` : undefined,
|
|
209
215
|
};
|
|
210
|
-
return (index.h(index.Host, { style: tooltipStyles }, index.h("duet-tooltip-button", { ref: element => (this.buttonEl = element), active: this.active, tooltipId: this.tooltipId, label: this.label, accessibleLabel: this.accessibleInputLabel
|
|
216
|
+
return (index.h(index.Host, { style: tooltipStyles }, index.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}`) ||
|
|
217
|
+
(this.accessibleAboutLabel &&
|
|
218
|
+
`${this.accessibleLabel} ${this.aboutString[this.language]} ${this.accessibleAboutLabel}`) ||
|
|
219
|
+
this.accessibleLabel, onClick: this.toggleOpen, theme: this.theme }), index.h("div", { style: popupContainerStyles }, index.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 }, index.h("slot", null)))));
|
|
211
220
|
}
|
|
212
221
|
get element() { return index.getElement(this); }
|
|
213
222
|
static get watchers() { return {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const tokens_module = require('./tokens.module-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
|
+
const tokens_module = require('./tokens.module-ce5f9579.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-7248dd0a.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
11
11
|
const errorcodes_utils = require('./errorcodes.utils-a86b1f94.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-00f527af.js');
|
|
9
9
|
|
|
10
10
|
const duetVisuallyHiddenCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}";
|
|
11
11
|
|