@duetds/components 8.1.4 → 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 +119 -63
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- 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 +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +18 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -2
- 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 +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +77 -66
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +11 -2
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-fd4fdee9.js → focus-utils-ec077a62.js} +1 -1
- package/lib/cjs/{index-6ea7b876.js → index-00f527af.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common/focusable-component.js +1 -0
- package/lib/collection/common/opener-component.js +1 -0
- 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 +26 -0
- 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.js +43 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +4 -0
- 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 +101 -91
- 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/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 +4 -4
- 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 +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- 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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +24 -10
- package/lib/dist-custom-elements/duet-multiselect.js +14 -10
- 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 +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +7 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +80 -69
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- 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 +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +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-2eb72ea1.js → p-0156b860.js} +1 -1
- package/lib/dist-custom-elements/{p-b06b80ce.js → p-1c7bd169.js} +1 -1
- package/lib/dist-custom-elements/{p-59fdca12.js → p-1e82d8a1.js} +1 -1
- package/lib/dist-custom-elements/{p-0d74f436.js → p-254a95d4.js} +2 -2
- package/lib/dist-custom-elements/{p-5b14ef9f.js → p-3158e24f.js} +1 -1
- package/lib/dist-custom-elements/{p-19fc0434.js → p-3cc835d7.js} +1 -1
- package/lib/dist-custom-elements/{p-506c2666.js → p-3d6047c0.js} +5 -2
- package/lib/dist-custom-elements/{p-d94a9d9c.js → p-471a62cc.js} +1 -1
- package/lib/dist-custom-elements/{p-1ed786bc.js → p-475baac7.js} +1 -1
- package/lib/dist-custom-elements/{p-7c5f9c80.js → p-4a55dff3.js} +5 -5
- package/lib/dist-custom-elements/{p-2941d90a.js → p-4c5751cd.js} +1 -1
- package/lib/dist-custom-elements/{p-18ec08ac.js → p-4d3e1b52.js} +3 -3
- package/lib/dist-custom-elements/{p-8aaaefdf.js → p-583e21a8.js} +2 -2
- package/lib/dist-custom-elements/{p-91facf89.js → p-66f15eba.js} +1 -1
- package/lib/dist-custom-elements/{p-7a6cf439.js → p-6b977095.js} +4 -4
- package/lib/dist-custom-elements/{p-36cee998.js → p-6d0197c3.js} +5 -5
- package/lib/dist-custom-elements/{p-c9808777.js → p-7bb90fcc.js} +15 -11
- package/lib/dist-custom-elements/{p-98dcc2eb.js → p-7bcdcf71.js} +3 -3
- package/lib/dist-custom-elements/{p-5f8459bd.js → p-7d7291bf.js} +13 -9
- package/lib/dist-custom-elements/{p-482e780b.js → p-8735b4db.js} +2 -2
- package/lib/dist-custom-elements/{p-d18ca3d9.js → p-975a4689.js} +1 -1
- package/lib/dist-custom-elements/{p-ff50aff2.js → p-9a9a04bd.js} +2 -2
- package/lib/dist-custom-elements/{p-9b14643e.js → p-9b174e03.js} +1 -1
- package/lib/dist-custom-elements/{p-f91938ae.js → p-9c2d3a9d.js} +2 -2
- package/lib/dist-custom-elements/{p-802e0cd4.js → p-a4605d27.js} +16 -6
- package/lib/dist-custom-elements/{p-57e61e85.js → p-b590a133.js} +1 -1
- package/lib/dist-custom-elements/{p-4091ca56.js → p-bb1ac896.js} +1 -1
- package/lib/dist-custom-elements/{p-88b5a225.js → p-c493eecb.js} +1 -1
- package/lib/dist-custom-elements/{p-d68c9433.js → p-cab60e87.js} +1 -1
- package/lib/dist-custom-elements/{p-9c5b3e92.js → p-d10e4492.js} +1 -1
- package/lib/dist-custom-elements/{p-077e5396.js → p-d517fc9a.js} +10 -10
- package/lib/dist-custom-elements/{p-8c81a26f.js → p-da8acaf1.js} +2 -2
- package/lib/dist-custom-elements/{p-583ae9d7.js → p-f3d25b08.js} +1 -1
- package/lib/dist-custom-elements/{p-bb59b14d.js → p-fc6bb9ab.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-9894f629.system.entry.js → p-0081d434.system.entry.js} +1 -1
- package/lib/duet/{p-a9b6b8d5.entry.js → p-0198349d.entry.js} +1 -1
- package/lib/duet/p-031b59ba.system.entry.js +4 -0
- package/lib/duet/{p-d6938dce.entry.js → p-0440798d.entry.js} +1 -1
- package/lib/duet/{p-ea5bad4c.entry.js → p-049d43f7.entry.js} +1 -1
- package/lib/duet/{p-4bfc3a15.entry.js → p-05f62501.entry.js} +1 -1
- package/lib/duet/{p-8e7dc4ed.system.entry.js → p-074fcd6b.system.entry.js} +1 -1
- package/lib/duet/{p-c65851ca.entry.js → p-0777ebba.entry.js} +1 -1
- package/lib/duet/{p-244387a0.entry.js → p-0c5ed102.entry.js} +1 -1
- package/lib/duet/{p-07c3d88d.entry.js → p-0ec40046.entry.js} +1 -1
- package/lib/duet/{p-906c13df.entry.js → p-10f289cb.entry.js} +1 -1
- package/lib/duet/{p-5373f6cf.system.entry.js → p-12f3d121.system.entry.js} +1 -1
- package/lib/duet/{p-90378229.system.entry.js → p-1498e92a.system.entry.js} +1 -1
- package/lib/duet/{p-5b27ed7e.entry.js → p-154ca6bb.entry.js} +1 -1
- package/lib/duet/{p-2590ca65.system.entry.js → p-15a4a165.system.entry.js} +1 -1
- package/lib/duet/p-16b80d3b.js +4 -0
- package/lib/duet/{p-c1e6dcf6.entry.js → p-17373631.entry.js} +1 -1
- package/lib/duet/{p-68967bb9.entry.js → p-174f2859.entry.js} +1 -1
- package/lib/duet/{p-d206ba69.entry.js → p-18b36a30.entry.js} +1 -1
- package/lib/duet/{p-ee9d7b51.system.entry.js → p-196afde9.system.entry.js} +1 -1
- package/lib/duet/{p-82461381.system.entry.js → p-1e67f010.system.entry.js} +1 -1
- package/lib/duet/{p-993f5974.entry.js → p-1fbb9af9.entry.js} +1 -1
- package/lib/duet/{p-bdbe3e35.system.entry.js → p-1fec3835.system.entry.js} +1 -1
- package/lib/duet/{p-e0e5597f.entry.js → p-207544a2.entry.js} +1 -1
- package/lib/duet/{p-69ba8b52.entry.js → p-23548d24.entry.js} +1 -1
- package/lib/duet/{p-4a130ebf.system.entry.js → p-25109b90.system.entry.js} +1 -1
- package/lib/duet/{p-be3bf41a.system.entry.js → p-28a033de.system.entry.js} +1 -1
- package/lib/duet/{p-84031069.entry.js → p-2abdfdf5.entry.js} +1 -1
- package/lib/duet/{p-722a4867.entry.js → p-2c917cc6.entry.js} +1 -1
- package/lib/duet/{p-010986d1.system.entry.js → p-2e037205.system.entry.js} +1 -1
- package/lib/duet/{p-1a8494b0.system.entry.js → p-2f98c466.system.entry.js} +1 -1
- package/lib/duet/{p-1b46db77.entry.js → p-330db26d.entry.js} +1 -1
- package/lib/duet/{p-24edf4ed.entry.js → p-33666f2e.entry.js} +1 -1
- package/lib/duet/{p-98e033d1.entry.js → p-37b3c823.entry.js} +1 -1
- package/lib/duet/{p-b2d010fa.entry.js → p-39a3beb3.entry.js} +1 -1
- package/lib/duet/{p-d26b9e1f.system.entry.js → p-3bda5078.system.entry.js} +1 -1
- package/lib/duet/{p-7130f6d6.system.entry.js → p-3bfdf5dc.system.entry.js} +1 -1
- package/lib/duet/p-3f23694f.entry.js +4 -0
- package/lib/duet/{p-fb6a8b36.entry.js → p-3fb7b966.entry.js} +1 -1
- package/lib/duet/{p-2d366120.system.entry.js → p-4218b915.system.entry.js} +1 -1
- package/lib/duet/{p-ab9b7324.system.entry.js → p-42b9b16c.system.entry.js} +1 -1
- package/lib/duet/{p-dc4697ce.system.entry.js → p-4347cce6.system.entry.js} +1 -1
- package/lib/duet/{p-441595f6.entry.js → p-44ac28ab.entry.js} +1 -1
- package/lib/duet/{p-b7be1375.entry.js → p-4adb4139.entry.js} +1 -1
- package/lib/duet/{p-bc7e75a7.entry.js → p-50a679f4.entry.js} +1 -1
- package/lib/duet/{p-f81647e9.system.entry.js → p-50dbbb82.system.entry.js} +1 -1
- package/lib/duet/p-5339aeea.entry.js +4 -0
- package/lib/duet/{p-1e0df043.system.entry.js → p-54cf9288.system.entry.js} +1 -1
- package/lib/duet/{p-103ab767.system.entry.js → p-55e1e8e8.system.entry.js} +1 -1
- package/lib/duet/{p-42959a52.entry.js → p-55f3f985.entry.js} +1 -1
- package/lib/duet/{p-ac6f456f.system.entry.js → p-563dfb63.system.entry.js} +1 -1
- package/lib/duet/{p-066f078b.entry.js → p-576cd780.entry.js} +1 -1
- package/lib/duet/{p-8ae84c52.entry.js → p-5908bf36.entry.js} +1 -1
- package/lib/duet/{p-db09c828.system.entry.js → p-5b528cd1.system.entry.js} +1 -1
- package/lib/duet/{p-4175e48c.system.entry.js → p-5d023790.system.entry.js} +1 -1
- package/lib/duet/{p-60be4608.system.entry.js → p-5f877026.system.entry.js} +1 -1
- package/lib/duet/{p-45a16be3.system.js → p-610b364b.system.js} +1 -1
- package/lib/duet/{p-77e1b69b.entry.js → p-61b870ac.entry.js} +1 -1
- package/lib/duet/p-6216e282.entry.js +4 -0
- package/lib/duet/{p-4fe09b26.system.entry.js → p-639fd377.system.entry.js} +1 -1
- package/lib/duet/p-65007ed4.system.entry.js +4 -0
- package/lib/duet/{p-edd0d41d.system.entry.js → p-65b45177.system.entry.js} +1 -1
- package/lib/duet/{p-c45c621f.js → p-662da762.js} +1 -1
- package/lib/duet/{p-6f9e49da.system.entry.js → p-673fdacb.system.entry.js} +1 -1
- package/lib/duet/{p-8f504a32.system.entry.js → p-67d8175e.system.entry.js} +2 -2
- package/lib/duet/p-6f806923.system.js +4 -0
- package/lib/duet/{p-eadbc1cf.entry.js → p-70dd63d2.entry.js} +1 -1
- package/lib/duet/{p-314d5b44.entry.js → p-71bd1c3c.entry.js} +1 -1
- package/lib/duet/{p-5cbc1b17.entry.js → p-73c27f4f.entry.js} +1 -1
- package/lib/duet/{p-ab63306b.entry.js → p-753f2b28.entry.js} +1 -1
- package/lib/duet/{p-8ec9245a.entry.js → p-757b1ab3.entry.js} +1 -1
- package/lib/duet/{p-fee4d237.system.entry.js → p-75eb9381.system.entry.js} +1 -1
- package/lib/duet/{p-645a4cd3.system.entry.js → p-762c0edb.system.entry.js} +1 -1
- package/lib/duet/{p-a075ba4d.entry.js → p-780dd22d.entry.js} +1 -1
- package/lib/duet/{p-0360829b.entry.js → p-79f01df6.entry.js} +1 -1
- package/lib/duet/{p-6bad895a.system.entry.js → p-7ac648a3.system.entry.js} +1 -1
- package/lib/duet/p-7aff0f7c.entry.js +4 -0
- package/lib/duet/{p-18aaa40c.entry.js → p-7bdbb023.entry.js} +1 -1
- package/lib/duet/{p-f08a7552.system.entry.js → p-7d9cffe7.system.entry.js} +1 -1
- package/lib/duet/{p-a020bf81.system.entry.js → p-7dcdefb0.system.entry.js} +1 -1
- package/lib/duet/{p-954c7df4.system.entry.js → p-7fb66081.system.entry.js} +1 -1
- package/lib/duet/{p-594ffed9.entry.js → p-844e7c4c.entry.js} +1 -1
- package/lib/duet/{p-38df728c.system.entry.js → p-8a264125.system.entry.js} +1 -1
- package/lib/duet/{p-4dc81aa3.system.entry.js → p-8b1b9953.system.entry.js} +1 -1
- package/lib/duet/{p-1d11b3b6.entry.js → p-8be10d34.entry.js} +1 -1
- package/lib/duet/p-8cfac25d.entry.js +4 -0
- package/lib/duet/{p-63150ee3.system.entry.js → p-930f8fe7.system.entry.js} +1 -1
- package/lib/duet/{p-7768931c.system.entry.js → p-932be5dd.system.entry.js} +1 -1
- package/lib/duet/{p-261014df.system.entry.js → p-94147b17.system.entry.js} +1 -1
- package/lib/duet/{p-ce50e4c0.system.entry.js → p-9514ee57.system.entry.js} +1 -1
- package/lib/duet/{p-67eee05e.system.entry.js → p-965f292c.system.entry.js} +1 -1
- package/lib/duet/{p-c9a6ad4d.entry.js → p-9b62ef83.entry.js} +1 -1
- package/lib/duet/p-9f29048f.entry.js +4 -0
- package/lib/duet/{p-9f05508d.entry.js → p-a22130db.entry.js} +1 -1
- package/lib/duet/{p-252baa0d.entry.js → p-a34e7225.entry.js} +1 -1
- package/lib/duet/p-a70815fa.system.entry.js +4 -0
- package/lib/duet/{p-e4231291.system.entry.js → p-a75b2646.system.entry.js} +1 -1
- package/lib/duet/{p-2c139545.entry.js → p-aab21f91.entry.js} +1 -1
- package/lib/duet/{p-78777bcf.entry.js → p-abbd8ae3.entry.js} +1 -1
- package/lib/duet/{p-e836814b.entry.js → p-acfdeb70.entry.js} +1 -1
- package/lib/duet/{p-f866c944.entry.js → p-ae30e4ce.entry.js} +1 -1
- package/lib/duet/p-afea9845.entry.js +4 -0
- package/lib/duet/{p-620c416c.entry.js → p-b012ba6c.entry.js} +1 -1
- package/lib/duet/{p-e0aa8284.system.entry.js → p-b0dfe576.system.entry.js} +1 -1
- package/lib/duet/p-b0fa4550.system.js +4 -0
- package/lib/duet/p-b0fd435f.system.entry.js +4 -0
- package/lib/duet/{p-c34e419e.system.entry.js → p-b2996b8c.system.entry.js} +1 -1
- package/lib/duet/{p-5d6e1173.entry.js → p-b2a54e37.entry.js} +1 -1
- package/lib/duet/{p-dba6c1ee.entry.js → p-b2b02430.entry.js} +1 -1
- package/lib/duet/{p-1db3121f.system.entry.js → p-b710add2.system.entry.js} +1 -1
- package/lib/duet/{p-426ba263.entry.js → p-b89fe252.entry.js} +1 -1
- package/lib/duet/{p-c6b5368b.entry.js → p-b8c89970.entry.js} +1 -1
- package/lib/duet/{p-ecf9b56e.system.entry.js → p-b9cb8ccb.system.entry.js} +1 -1
- package/lib/duet/{p-d053b6be.system.entry.js → p-b9ea34d3.system.entry.js} +1 -1
- package/lib/duet/{p-2c34a804.entry.js → p-bac92652.entry.js} +1 -1
- package/lib/duet/{p-600f3cf8.system.entry.js → p-bb35b92e.system.entry.js} +1 -1
- package/lib/duet/{p-f7e4069c.entry.js → p-bf2fd03b.entry.js} +1 -1
- package/lib/duet/{p-60d0817e.system.entry.js → p-c0483523.system.entry.js} +1 -1
- package/lib/duet/{p-c73db725.system.entry.js → p-c481631f.system.entry.js} +1 -1
- package/lib/duet/{p-53229ab4.system.entry.js → p-c7fdc7dc.system.entry.js} +1 -1
- package/lib/duet/{p-04c3f872.system.entry.js → p-c8c9fc58.system.entry.js} +1 -1
- package/lib/duet/{p-f781276f.system.entry.js → p-ca0f9f08.system.entry.js} +1 -1
- package/lib/duet/{p-f587e799.entry.js → p-ca21be58.entry.js} +1 -1
- package/lib/duet/p-cca98ade.entry.js +4 -0
- package/lib/duet/{p-0b2ff6ce.system.entry.js → p-ce879ecd.system.entry.js} +1 -1
- package/lib/duet/p-ce88ecc6.entry.js +4 -0
- package/lib/duet/{p-4b745f4d.entry.js → p-cea2cb32.entry.js} +1 -1
- package/lib/duet/{p-e50ab4d3.system.entry.js → p-ceb5b489.system.entry.js} +1 -1
- package/lib/duet/{p-3865240e.system.entry.js → p-cf1e1237.system.entry.js} +1 -1
- package/lib/duet/{p-9eb39bd3.system.entry.js → p-d038c90c.system.entry.js} +1 -1
- package/lib/duet/{p-ac09ef10.entry.js → p-d3141c64.entry.js} +1 -1
- package/lib/duet/{p-582b7fa7.system.entry.js → p-d350968c.system.entry.js} +2 -2
- package/lib/duet/{p-cd13fb8f.system.entry.js → p-d54396be.system.entry.js} +1 -1
- package/lib/duet/{p-86251661.system.entry.js → p-d57d7d49.system.entry.js} +1 -1
- package/lib/duet/{p-d189500a.entry.js → p-d585ac25.entry.js} +1 -1
- package/lib/duet/{p-18322745.system.entry.js → p-d832433b.system.entry.js} +1 -1
- package/lib/duet/{p-b931d3fa.system.entry.js → p-d852ae7e.system.entry.js} +1 -1
- package/lib/duet/{p-f1faaa0b.system.entry.js → p-d92ad0d1.system.entry.js} +1 -1
- package/lib/duet/{p-a09af712.system.entry.js → p-dd5b17d0.system.entry.js} +1 -1
- package/lib/duet/{p-9b8c4a19.entry.js → p-dd7d3b2b.entry.js} +1 -1
- package/lib/duet/{p-702810e3.system.entry.js → p-ddc7c96e.system.entry.js} +1 -1
- package/lib/duet/{p-4a2adee6.entry.js → p-de41a03b.entry.js} +1 -1
- package/lib/duet/{p-95ca3440.system.entry.js → p-e2a0e33f.system.entry.js} +1 -1
- package/lib/duet/{p-64c8cce6.entry.js → p-e36f923b.entry.js} +1 -1
- package/lib/duet/{p-3515cd72.system.entry.js → p-e49e8a54.system.entry.js} +1 -1
- package/lib/duet/{p-2cc17967.system.entry.js → p-e4efc7ea.system.entry.js} +1 -1
- package/lib/duet/p-e91cced0.entry.js +4 -0
- package/lib/duet/{p-ce0ffc6e.system.entry.js → p-e9928179.system.entry.js} +1 -1
- package/lib/duet/{p-42f92e6f.entry.js → p-eac79871.entry.js} +1 -1
- package/lib/duet/{p-cf6c967a.entry.js → p-eb790693.entry.js} +1 -1
- package/lib/duet/{p-b627091f.system.entry.js → p-ebd1b7ae.system.entry.js} +1 -1
- package/lib/duet/{p-4d3ef5ea.system.entry.js → p-ee815760.system.entry.js} +1 -1
- package/lib/duet/{p-0142d94d.entry.js → p-f1f7ee14.entry.js} +1 -1
- package/lib/duet/{p-d94c8c20.entry.js → p-f5fee877.entry.js} +1 -1
- package/lib/duet/{p-cbbe6410.entry.js → p-f6803f4c.entry.js} +1 -1
- package/lib/duet/{p-5eaf9a5e.entry.js → p-f715214a.entry.js} +1 -1
- package/lib/duet/{p-a2541d8a.entry.js → p-f7f16a52.entry.js} +1 -1
- package/lib/duet/{p-6020800c.system.entry.js → p-f9b3965d.system.entry.js} +1 -1
- package/lib/duet/{p-b2af386a.system.entry.js → p-fdb9f8df.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -1
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- 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 +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +7 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +18 -5
- package/lib/esm/duet-multiselect.entry.js +4 -2
- 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 +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +4 -2
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +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 +2 -2
- package/lib/esm/duet-slideout.entry.js +77 -66
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- 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 +2 -2
- package/lib/esm/duet-tooltip.entry.js +11 -2
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-8f59f0fc.js → focus-utils-2a29f64e.js} +1 -1
- package/lib/esm/{index-6a5abb95.js → index-909a963e.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +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 +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +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-6a5abb95.js → index-909a963e.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- 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-input/duet-input.d.ts +9 -1
- package/lib/types/components/duet-label/duet-label.d.ts +5 -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-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 +23 -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 +124 -4
- package/package.json +5 -5
- package/lib/duet/p-00f75643.system.entry.js +0 -4
- package/lib/duet/p-0660a9a6.entry.js +0 -4
- package/lib/duet/p-088ac559.entry.js +0 -4
- package/lib/duet/p-164be464.entry.js +0 -4
- package/lib/duet/p-180c61a0.entry.js +0 -4
- package/lib/duet/p-210adc0e.system.entry.js +0 -4
- package/lib/duet/p-23914c18.entry.js +0 -4
- package/lib/duet/p-2858bbdf.entry.js +0 -4
- package/lib/duet/p-41203a2d.entry.js +0 -4
- package/lib/duet/p-474f53fe.entry.js +0 -4
- package/lib/duet/p-4e9b4950.entry.js +0 -4
- package/lib/duet/p-53e33daf.js +0 -4
- package/lib/duet/p-64e16fb9.system.js +0 -4
- package/lib/duet/p-711c2a2b.system.js +0 -4
- package/lib/duet/p-7ad157c2.entry.js +0 -4
- package/lib/duet/p-d125d287.system.entry.js +0 -4
- package/lib/duet/p-d1a42e5b.system.entry.js +0 -4
- package/lib/esm-es5/focus-utils-8f59f0fc.js +0 -4
|
@@ -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,
|
|
@@ -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("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: {
|
|
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
|
}
|
|
@@ -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
|
}
|