@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
|
@@ -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 languageUtils = require('./language-utils-e8a527e5.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 tokenUtils = require('./token-utils-a5356b00.js');
|
|
11
11
|
require('./tokens.module-ce5f9579.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 createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const watchOptions = require('./watch-options-30a12622.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 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');
|
|
@@ -74,6 +74,8 @@ const DuetRangeSlider = class {
|
|
|
74
74
|
this.accessibleDescribedBy = undefined;
|
|
75
75
|
this.min = 0;
|
|
76
76
|
this.label = "label";
|
|
77
|
+
this.labelColor = undefined;
|
|
78
|
+
this.labelWeight = undefined;
|
|
77
79
|
this.labelHidden = false;
|
|
78
80
|
this.unit = "";
|
|
79
81
|
this.max = 100;
|
|
@@ -125,7 +127,7 @@ const DuetRangeSlider = class {
|
|
|
125
127
|
"duet-theme-turva": this.theme === "turva",
|
|
126
128
|
"duet-ie": isInternetExplorer.isInternetExplorer(),
|
|
127
129
|
"duet-range-disabled": this.disabled,
|
|
128
|
-
} }, index.h("duet-label", { theme: theme, margin: "small", for: identifier }, this.label), index.h("output", { "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), index.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" }))));
|
|
130
|
+
} }, index.h("duet-label", { theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), index.h("output", { "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), index.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" }))));
|
|
129
131
|
}
|
|
130
132
|
get element() { return index.getElement(this); }
|
|
131
133
|
};
|
|
@@ -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 createId = require('./create-id-1f8c438f.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 isInternetExplorer = require('./is-internet-explorer-e7f58ebc.js');
|
|
10
10
|
|
|
11
11
|
const duetSectionLayoutCss = "*,*::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;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{position:relative;padding:0 16px;margin:48px auto 36px}@media (min-width: 36em){.duet-layout{margin-top:72px}}.duet-layout.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px;margin-bottom:48px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}";
|
|
@@ -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 stringUtils = require('./string-utils-053749ff.js');
|
|
@@ -102,6 +102,8 @@ const DuetSelect = class {
|
|
|
102
102
|
this.disabled = false;
|
|
103
103
|
this.required = false;
|
|
104
104
|
this.label = "label";
|
|
105
|
+
this.labelColor = undefined;
|
|
106
|
+
this.labelWeight = undefined;
|
|
105
107
|
this.role = undefined;
|
|
106
108
|
this.tooltip = "";
|
|
107
109
|
this.tooltipDirection = "auto";
|
|
@@ -165,7 +167,7 @@ const DuetSelect = class {
|
|
|
165
167
|
[`duet-select-variation-${this.variation}`]: true,
|
|
166
168
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
167
169
|
"has-error": !!this.error,
|
|
168
|
-
} }, index.h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: identifier }, this.label), this.tooltip && (index.h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), index.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 && (index.h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (index.h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
170
|
+
} }, index.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 && (index.h("duet-tooltip", { direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (index.h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), index.h("div", { class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (index.h("duet-caption", { id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), index.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 && (index.h("option", { disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (index.h("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
169
171
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
170
172
|
}))), index.h("div", { class: {
|
|
171
173
|
"duet-select": true,
|
|
@@ -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 duetShapedImageCss = "*,*::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;display:inline-block;width:100%;height:100%;margin:5%}:host(.duet-theme-turva){margin:3%}:host(.duet-m-0){margin:0}.shaped-image{position:relative;display:inline-block;width:100%;height:100%}.shaped-image .shaped-image-mask{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:25%;transform:rotate(var(--rotation))}.shaped-image .shaped-image-mask .shaped-image-img{position:relative;display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover;transform:scale(1.07) rotate(calc(-1 * var(--rotation)));transform-origin:center}:host(.duet-theme-turva) .shaped-image .shaped-image-mask{transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}:host(.duet-theme-turva) .shaped-image .shaped-image-mask .shaped-image-img{transform:none}";
|
|
@@ -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 languageUtils = require('./language-utils-e8a527e5.js');
|
|
11
11
|
require('./string-utils-053749ff.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
|
|
|
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,9 +5,9 @@
|
|
|
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
12
|
const tokenUtils = require('./token-utils-a5356b00.js');
|
|
13
13
|
require('./string-utils-053749ff.js');
|
|
@@ -5,10 +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 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
15
|
const teleport = require('./teleport-6a1f83a1.js');
|
|
@@ -16,7 +17,7 @@ const tokenUtils = require('./token-utils-a5356b00.js');
|
|
|
16
17
|
require('./string-utils-053749ff.js');
|
|
17
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);
|
|
@@ -94,79 +112,37 @@ const DuetSlideout = class {
|
|
|
94
112
|
this.opener = undefined;
|
|
95
113
|
this.backgroundColor = "gray-lightest";
|
|
96
114
|
}
|
|
97
|
-
/**
|
|
98
|
-
* Toggles the slideout.
|
|
99
|
-
*/
|
|
100
|
-
async toggle() {
|
|
101
|
-
const event = new CustomEvent("toggle");
|
|
102
|
-
this.toggleMenu(event);
|
|
103
|
-
setTimeout(() => {
|
|
104
|
-
this.closeButton.focus();
|
|
105
|
-
}, 200);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Shows the slideout. Additionally saves the element (DuetButton or DuetMenuBarButton) that triggered
|
|
109
|
-
* the slideout so that focus can be moved back to this specific element when
|
|
110
|
-
* the slideout dialog is closed.
|
|
111
|
-
*/
|
|
112
|
-
async show() {
|
|
113
|
-
if (this.open) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
const button = document.activeElement;
|
|
117
|
-
if (button) {
|
|
118
|
-
button.accessiblePopup = "true";
|
|
119
|
-
this.openButton = button;
|
|
120
|
-
}
|
|
121
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* Hides the slideout dialog and puts focus back to the original element
|
|
125
|
-
* that triggered the slideout (if we’re still in the same view).
|
|
126
|
-
*/
|
|
127
|
-
async hide() {
|
|
128
|
-
if (!this.open) {
|
|
129
|
-
return;
|
|
130
|
-
}
|
|
131
|
-
this.toggleMenu(new CustomEvent("toggle"));
|
|
132
|
-
}
|
|
133
115
|
/**
|
|
134
116
|
* Component lifecycle events.
|
|
135
117
|
*/
|
|
136
118
|
componentWillLoad() {
|
|
137
119
|
themeableComponent.inheritGlobalTheme(this);
|
|
138
|
-
|
|
139
|
-
if (button) {
|
|
140
|
-
button.accessiblePopup = "true";
|
|
141
|
-
button.accessibleExpanded = false;
|
|
142
|
-
button.addEventListener("click", e => {
|
|
143
|
-
e.stopPropagation();
|
|
144
|
-
e.preventDefault();
|
|
145
|
-
this.openButton = button;
|
|
146
|
-
this.onClick(e);
|
|
147
|
-
});
|
|
148
|
-
}
|
|
120
|
+
this.hasStickyHeaderSlot = slotQuery.hasSlot(this.element, "sticky-header");
|
|
149
121
|
this.teleport = new teleport.Teleport(this.element);
|
|
150
122
|
}
|
|
151
|
-
async componentDidLoad() {
|
|
152
|
-
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
153
|
-
if (entries[0].isIntersecting) {
|
|
154
|
-
this.displaying = true;
|
|
155
|
-
}
|
|
156
|
-
else {
|
|
157
|
-
this.displaying = false;
|
|
158
|
-
}
|
|
159
|
-
this.handleBodyScrolling();
|
|
160
|
-
});
|
|
161
|
-
this.intersectionObserver.observe(this.dialog);
|
|
162
|
-
}
|
|
163
123
|
connectedCallback() {
|
|
164
124
|
languageUtils.connectLanguageChangeObserver(this);
|
|
125
|
+
if (this.opener) {
|
|
126
|
+
this.setOpenButton(document.getElementById(this.opener));
|
|
127
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
128
|
+
}
|
|
165
129
|
this.mutationObserver = new MutationObserver(() => {
|
|
166
130
|
this.openPanel = !!this.getOpenPanel();
|
|
167
131
|
});
|
|
168
132
|
this.mutationObserver.observe(this.element, { childList: true, attributeFilter: ["open"], subtree: true });
|
|
169
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
|
+
}
|
|
170
146
|
disconnectedCallback() {
|
|
171
147
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
172
148
|
bodyScrollLock_es6.enableBodyScroll(this.dialog);
|
|
@@ -176,6 +152,9 @@ const DuetSlideout = class {
|
|
|
176
152
|
if (this.mutationObserver) {
|
|
177
153
|
this.mutationObserver.disconnect();
|
|
178
154
|
}
|
|
155
|
+
if (this.openButton) {
|
|
156
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
157
|
+
}
|
|
179
158
|
}
|
|
180
159
|
/**
|
|
181
160
|
* Component event handling.
|
|
@@ -195,6 +174,38 @@ const DuetSlideout = class {
|
|
|
195
174
|
var _a;
|
|
196
175
|
(_a = this.openButton) === null || _a === void 0 ? void 0 : _a.focus(options);
|
|
197
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
|
+
}
|
|
198
209
|
/**
|
|
199
210
|
* render() function
|
|
200
211
|
* Always the last one in the class.
|
|
@@ -211,10 +222,10 @@ const DuetSlideout = class {
|
|
|
211
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: {
|
|
212
223
|
dialog: true,
|
|
213
224
|
hidden: !this.open,
|
|
214
|
-
}, 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: {
|
|
215
226
|
"slideout-close": true,
|
|
216
227
|
active: this.open,
|
|
217
|
-
}, onClick: this.onClick, inert: this.openPanel }, index.h("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), index.h("div", { id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
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: {
|
|
218
229
|
items: true,
|
|
219
230
|
} }, index.h("slot", null)), index.h(focusUtils.FocusGuard, { moveFocusTo: this.closeButton })))));
|
|
220
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,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 tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.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 tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-83a2a0d4.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 tokens = require('./tokens-51cfbe11.js');
|
|
10
10
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-83f334d1.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-83a2a0d4.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 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,10 +5,10 @@
|
|
|
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-
|
|
11
|
+
const focusUtils = require('./focus-utils-ec077a62.js');
|
|
12
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\"}";
|