@duetds/components 8.2.2 → 8.3.1
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 +221 -70
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +2 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +8 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +2 -2
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +5 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +5 -6
- package/lib/cjs/duet-card.cjs.entry.js +6 -5
- 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 +2 -2
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +2 -2
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +3 -3
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +2 -2
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +9 -6
- package/lib/cjs/duet-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -5
- 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 +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- 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 +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -4
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +15 -10
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +89 -6
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +4 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +16 -7
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +15 -18
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-cb2699e7.js → focus-utils-2d403f5e.js} +1 -1
- package/lib/cjs/{index-c51398ac.js → index-a515d5ff.js} +1 -1
- package/lib/cjs/{keyboard-utils-7248dd0a.js → keyboard-utils-66010749.js} +2 -0
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/slot-utils-0b8037ab.js +51 -0
- package/lib/cjs/{token-utils-c672402d.js → token-utils-7a618677.js} +22 -0
- package/lib/collection/common/index.js +0 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-banner/duet-banner.js +6 -5
- package/lib/collection/components/duet-button/duet-button.css +22 -0
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +4 -3
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +7 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +5 -5
- package/lib/collection/components/duet-choice/duet-choice.js +5 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +3 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -4
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-picker-input.js +1 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +6 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +1 -1
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +4 -4
- package/lib/collection/components/duet-hero/duet-hero.js +13 -10
- package/lib/collection/components/duet-input/duet-input.js +11 -10
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +3 -4
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +6 -5
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +8 -7
- package/lib/collection/components/duet-nav/duet-nav.css +5 -0
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +7 -6
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +10 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +13 -8
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +3 -2
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +8 -7
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +11 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +27 -0
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +9 -3
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.css +10 -0
- package/lib/collection/components/duet-tab/duet-tab.js +155 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +17 -10
- package/lib/collection/components/duet-textarea/duet-textarea.js +7 -6
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +5 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +16 -18
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +1 -0
- package/lib/collection/utils/slot-utils.js +42 -11
- package/lib/collection/utils/token-utils.js +3 -0
- 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 +10 -9
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +6 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +8 -7
- 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 +3 -3
- package/lib/dist-custom-elements/duet-choice-group.js +11 -10
- package/lib/dist-custom-elements/duet-choice.js +7 -7
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +3 -3
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +15 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- 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 +5 -5
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +17 -14
- 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 +3 -3
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +3 -3
- 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 +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +13 -12
- package/lib/dist-custom-elements/duet-nav.js +3 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +15 -14
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +15 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +17 -12
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- 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 +6 -6
- 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 +3 -3
- package/lib/dist-custom-elements/duet-slideout-panel.js +10 -7
- package/lib/dist-custom-elements/duet-slideout.js +15 -6
- 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 +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +20 -16
- package/lib/dist-custom-elements/duet-tab.js +89 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +13 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +4 -4
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-0fcede3e.js → p-022cc9de.js} +2 -2
- package/lib/dist-custom-elements/{p-178bd8b5.js → p-033ffb95.js} +1 -1
- package/lib/dist-custom-elements/{p-6f02cea5.js → p-13cbfdc6.js} +2 -2
- package/lib/dist-custom-elements/{p-ded7900f.js → p-15b43530.js} +2 -2
- package/lib/dist-custom-elements/{p-046d07ed.js → p-3380c780.js} +1 -1
- package/lib/dist-custom-elements/{p-bbff917c.js → p-33c43f27.js} +6 -6
- package/lib/dist-custom-elements/{p-8f253845.js → p-55634a0b.js} +2 -1
- package/lib/dist-custom-elements/{p-029fba28.js → p-57d9241f.js} +3 -3
- package/lib/dist-custom-elements/{p-ab998a0f.js → p-57e61a09.js} +2 -2
- package/lib/dist-custom-elements/{p-dfbd66be.js → p-6c8a44ea.js} +2 -2
- package/lib/dist-custom-elements/{p-1f650bb2.js → p-70fb72b8.js} +1 -1
- package/lib/dist-custom-elements/{p-f26cc3be.js → p-7385cfae.js} +2 -2
- package/lib/dist-custom-elements/p-796edee6.js +48 -0
- package/lib/dist-custom-elements/{p-a7f2d134.js → p-7f8daa04.js} +4 -4
- package/lib/dist-custom-elements/{p-14821771.js → p-82a9c4cc.js} +1 -1
- package/lib/dist-custom-elements/{p-6db359de.js → p-83c687c4.js} +10 -10
- package/lib/dist-custom-elements/{p-c2ee0b56.js → p-8500f1f3.js} +1 -1
- package/lib/dist-custom-elements/{p-5b940d4e.js → p-85c51c36.js} +5 -5
- package/lib/dist-custom-elements/{p-78ce0ce1.js → p-89c8eef0.js} +21 -23
- package/lib/dist-custom-elements/{p-d1db33b3.js → p-89fa2387.js} +1 -1
- package/lib/dist-custom-elements/{p-3c266b7f.js → p-8aacf8f2.js} +1 -1
- package/lib/dist-custom-elements/{p-d82ca991.js → p-92e8fec4.js} +1 -1
- package/lib/dist-custom-elements/{p-e9b96f04.js → p-97144a49.js} +6 -7
- package/lib/dist-custom-elements/{p-bdade4f6.js → p-99bfa47d.js} +1 -1
- package/lib/dist-custom-elements/{p-09d8f6b5.js → p-99c2c6f3.js} +5 -5
- package/lib/dist-custom-elements/{p-284885b1.js → p-a8d729e4.js} +1 -1
- package/lib/dist-custom-elements/{p-48fe3f3e.js → p-ba9d785a.js} +3 -3
- package/lib/dist-custom-elements/{p-ef9c200e.js → p-cbac9ed5.js} +22 -1
- package/lib/dist-custom-elements/{p-ea75dc3b.js → p-d84624d1.js} +2 -2
- package/lib/dist-custom-elements/{p-32b58440.js → p-da0965a5.js} +2 -2
- package/lib/dist-custom-elements/{p-69f3125f.js → p-dd3202f3.js} +1 -1
- package/lib/dist-custom-elements/{p-275c9f06.js → p-de5298ac.js} +2 -2
- package/lib/dist-custom-elements/{p-4207df32.js → p-e8d8a5f1.js} +11 -10
- package/lib/dist-custom-elements/{p-501109c4.js → p-eb03dc27.js} +14 -13
- package/lib/dist-custom-elements/{p-c3d0fd5f.js → p-eb30f749.js} +2 -2
- package/lib/dist-custom-elements/{p-f37bade9.js → p-f1a37b7f.js} +6 -6
- package/lib/dist-custom-elements/{p-d4a52c78.js → p-fdafc7af.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-ad200bf7.system.entry.js → p-03237a62.system.entry.js} +2 -2
- package/lib/duet/p-03c217ae.entry.js +4 -0
- package/lib/duet/p-03c3cf91.entry.js +4 -0
- package/lib/duet/{p-88d19807.entry.js → p-05728995.entry.js} +1 -1
- package/lib/duet/{p-87565d7d.system.entry.js → p-0600d0e8.system.entry.js} +1 -1
- package/lib/duet/p-07adc606.system.entry.js +4 -0
- package/lib/duet/{p-7bb37b2e.entry.js → p-0857e91c.entry.js} +1 -1
- package/lib/duet/p-09c54c8e.system.js +4 -0
- package/lib/duet/p-0a28d72d.entry.js +4 -0
- package/lib/duet/{p-1c9a6018.system.entry.js → p-0b4b179c.system.entry.js} +1 -1
- package/lib/duet/{p-0906d9df.system.entry.js → p-0cdc8487.system.entry.js} +1 -1
- package/lib/duet/{p-2c02c786.entry.js → p-0ef53ae6.entry.js} +1 -1
- package/lib/duet/p-1001ec0f.entry.js +4 -0
- package/lib/duet/{p-0d7d648a.system.entry.js → p-1020c84c.system.entry.js} +1 -1
- package/lib/duet/{p-6edbe47c.system.entry.js → p-1612a6c7.system.entry.js} +1 -1
- package/lib/duet/{p-c75daf42.entry.js → p-169aab07.entry.js} +1 -1
- package/lib/duet/{p-0fd839a0.system.entry.js → p-16c13a11.system.entry.js} +1 -1
- package/lib/duet/p-1c9ee2ea.entry.js +4 -0
- package/lib/duet/{p-1abfbe28.system.entry.js → p-1d195c3a.system.entry.js} +1 -1
- package/lib/duet/p-1db3932f.system.entry.js +4 -0
- package/lib/duet/{p-6d186557.entry.js → p-1e6bd5da.entry.js} +1 -1
- package/lib/duet/p-1f0dc968.entry.js +4 -0
- package/lib/duet/{p-076b9333.entry.js → p-20ed91ba.entry.js} +1 -1
- package/lib/duet/p-20ff95cd.system.entry.js +4 -0
- package/lib/duet/p-2171907b.system.entry.js +4 -0
- package/lib/duet/{p-ecef885c.system.entry.js → p-21f1bd62.system.entry.js} +1 -1
- package/lib/duet/{p-a70e6c6f.entry.js → p-26be2678.entry.js} +1 -1
- package/lib/duet/{p-b84be662.entry.js → p-28b22d09.entry.js} +1 -1
- package/lib/duet/{p-d1d036d5.entry.js → p-29186e16.entry.js} +1 -1
- package/lib/duet/{p-3e03e275.entry.js → p-2c79b6d8.entry.js} +1 -1
- package/lib/duet/{p-cee353f7.entry.js → p-2ddd9719.entry.js} +1 -1
- package/lib/duet/p-31657213.entry.js +4 -0
- package/lib/duet/p-31730560.entry.js +4 -0
- package/lib/duet/p-357307f7.entry.js +4 -0
- package/lib/duet/{p-a014d5d9.system.entry.js → p-3730d6bd.system.entry.js} +1 -1
- package/lib/duet/{p-b230e70f.system.entry.js → p-3733ebe1.system.entry.js} +1 -1
- package/lib/duet/{p-37be8296.entry.js → p-3760418d.entry.js} +1 -1
- package/lib/duet/{p-f65559ab.entry.js → p-38cdaf08.entry.js} +1 -1
- package/lib/duet/{p-f637700c.system.entry.js → p-39ea1b09.system.entry.js} +1 -1
- package/lib/duet/{p-b57852d2.entry.js → p-3cf8a878.entry.js} +1 -1
- package/lib/duet/{p-10a2a9c1.system.entry.js → p-3ecc2d1e.system.entry.js} +1 -1
- package/lib/duet/{p-1420bc81.system.entry.js → p-3f4713a3.system.entry.js} +1 -1
- package/lib/duet/{p-932d0abe.entry.js → p-3f56cdd6.entry.js} +1 -1
- package/lib/duet/{p-4a397383.entry.js → p-41d61870.entry.js} +1 -1
- package/lib/duet/p-43091aa7.system.entry.js +4 -0
- package/lib/duet/{p-c90bc08e.entry.js → p-43adcd6a.entry.js} +1 -1
- package/lib/duet/{p-280b2ecc.system.entry.js → p-43ebba16.system.entry.js} +1 -1
- package/lib/duet/{p-aab87987.system.entry.js → p-45199b0c.system.entry.js} +1 -1
- package/lib/duet/{p-551ecb84.system.entry.js → p-4648c2cf.system.entry.js} +1 -1
- package/lib/duet/p-47f7fd31.system.entry.js +4 -0
- package/lib/duet/{p-c3832cba.system.entry.js → p-49ba8156.system.entry.js} +1 -1
- package/lib/duet/{p-ea4fda73.entry.js → p-4bd54c36.entry.js} +1 -1
- package/lib/duet/{p-a75e499e.system.entry.js → p-4c416890.system.entry.js} +1 -1
- package/lib/duet/p-4cd1b2dc.entry.js +4 -0
- package/lib/duet/{p-de652eff.entry.js → p-4e002d37.entry.js} +1 -1
- package/lib/duet/p-5263bc35.js +4 -0
- package/lib/duet/p-5581d26e.entry.js +4 -0
- package/lib/duet/p-5729c070.entry.js +4 -0
- package/lib/duet/{p-d1deec62.system.js → p-575e4de7.system.js} +1 -1
- package/lib/duet/{p-7023e868.system.entry.js → p-5b3275f8.system.entry.js} +2 -2
- package/lib/duet/{p-daf4b399.entry.js → p-5c810c8e.entry.js} +1 -1
- package/lib/duet/p-5f87ea3d.js +4 -0
- package/lib/duet/{p-75ceea2b.entry.js → p-63b8a5d9.entry.js} +1 -1
- package/lib/duet/{p-723172a8.system.entry.js → p-65c5d605.system.entry.js} +1 -1
- package/lib/duet/p-6689cf76.entry.js +4 -0
- package/lib/duet/{p-aa38094c.entry.js → p-671a9905.entry.js} +1 -1
- package/lib/duet/{p-1bbf5af6.entry.js → p-67bd1eae.entry.js} +1 -1
- package/lib/duet/{p-8dbbed25.entry.js → p-69f280e3.entry.js} +1 -1
- package/lib/duet/{p-133bd9d0.system.entry.js → p-6b5f5f20.system.entry.js} +1 -1
- package/lib/duet/p-6b5fc33f.entry.js +4 -0
- package/lib/duet/{p-c3be7176.entry.js → p-6c34c6d4.entry.js} +1 -1
- package/lib/duet/{p-d6154923.entry.js → p-70af7daf.entry.js} +1 -1
- package/lib/duet/p-71d1dbcb.entry.js +4 -0
- package/lib/duet/{p-f237623c.entry.js → p-72179a41.entry.js} +1 -1
- package/lib/duet/{p-c0397a25.entry.js → p-756e625e.entry.js} +1 -1
- package/lib/duet/{p-e00f28fc.entry.js → p-77be9214.entry.js} +1 -1
- package/lib/duet/p-796edee6.js +4 -0
- package/lib/duet/{p-e4bd0d7b.entry.js → p-79abaaad.entry.js} +1 -1
- package/lib/duet/{p-5f54e38a.system.entry.js → p-7b445598.system.entry.js} +1 -1
- package/lib/duet/p-7c6d5f9c.system.js +4 -0
- package/lib/duet/{p-7308b57e.entry.js → p-7c8c5534.entry.js} +1 -1
- package/lib/duet/p-7d4d3bee.system.entry.js +4 -0
- package/lib/duet/{p-ce96df8c.entry.js → p-80aa59cb.entry.js} +1 -1
- package/lib/duet/{p-bd9e5b2b.system.entry.js → p-81a79874.system.entry.js} +1 -1
- package/lib/duet/{p-6fdbd448.system.entry.js → p-825dac25.system.entry.js} +1 -1
- package/lib/duet/p-827fece7.system.entry.js +4 -0
- package/lib/duet/p-875ba244.system.entry.js +4 -0
- package/lib/duet/{p-f08d659e.entry.js → p-8d260eac.entry.js} +1 -1
- package/lib/duet/{p-ba9103db.entry.js → p-92861390.entry.js} +1 -1
- package/lib/duet/{p-7fd43c03.system.entry.js → p-92e54702.system.entry.js} +2 -2
- package/lib/duet/{p-9418d9ff.entry.js → p-947af010.entry.js} +1 -1
- package/lib/duet/{p-3ccb1ee3.system.entry.js → p-969152f0.system.entry.js} +1 -1
- package/lib/duet/{p-2395f607.system.entry.js → p-976ed5a5.system.entry.js} +1 -1
- package/lib/duet/{p-00c58945.system.entry.js → p-99cc01cb.system.entry.js} +1 -1
- package/lib/duet/{p-cd1d3fe8.system.entry.js → p-9d9cab9d.system.entry.js} +1 -1
- package/lib/duet/{p-0667f70f.system.entry.js → p-9e1d8b6f.system.entry.js} +1 -1
- package/lib/duet/{p-2db24634.entry.js → p-9e95e6eb.entry.js} +1 -1
- package/lib/duet/{p-efe336c5.entry.js → p-9ed3ab30.entry.js} +1 -1
- package/lib/duet/{p-7b6abc82.entry.js → p-9f355c50.entry.js} +1 -1
- package/lib/duet/{p-4921ff47.entry.js → p-a0f179db.entry.js} +1 -1
- package/lib/duet/{p-42cfad67.system.entry.js → p-a319471c.system.entry.js} +2 -2
- package/lib/duet/{p-a2fb2ad9.system.entry.js → p-a424f7b8.system.entry.js} +1 -1
- package/lib/duet/{p-37d69db5.system.entry.js → p-a53d7d39.system.entry.js} +1 -1
- package/lib/duet/{p-2d9cdfdb.entry.js → p-a89e81b7.entry.js} +1 -1
- package/lib/duet/{p-3ca93619.system.entry.js → p-a917c2ae.system.entry.js} +1 -1
- package/lib/duet/{p-36c95931.system.entry.js → p-aa08b72e.system.entry.js} +1 -1
- package/lib/duet/{p-88378c4b.system.entry.js → p-aab945c6.system.entry.js} +1 -1
- package/lib/duet/{p-52737afc.system.js → p-aabf89fa.system.js} +1 -1
- package/lib/duet/p-aac0b756.entry.js +4 -0
- package/lib/duet/{p-78a54e54.system.entry.js → p-ab005633.system.entry.js} +1 -1
- package/lib/duet/p-abdbce02.system.js +4 -0
- package/lib/duet/{p-3fab3c3d.entry.js → p-ae0382ff.entry.js} +1 -1
- package/lib/duet/{p-52091e26.entry.js → p-b8cd8aa9.entry.js} +1 -1
- package/lib/duet/{p-c8a02bae.entry.js → p-b9568179.entry.js} +1 -1
- package/lib/duet/{p-5d8d866f.system.entry.js → p-bc522875.system.entry.js} +1 -1
- package/lib/duet/{p-371692de.system.entry.js → p-bda222d2.system.entry.js} +1 -1
- package/lib/duet/p-bfd50a6a.entry.js +4 -0
- package/lib/duet/p-bfe237fe.entry.js +4 -0
- package/lib/duet/p-c2973a4e.system.entry.js +4 -0
- package/lib/duet/{p-550162dd.entry.js → p-c327db77.entry.js} +1 -1
- package/lib/duet/p-c8ff85f8.entry.js +4 -0
- package/lib/duet/{p-1bdd4caa.system.entry.js → p-c9cb8ffa.system.entry.js} +1 -1
- package/lib/duet/{p-03043dae.entry.js → p-ce746fbf.entry.js} +1 -1
- package/lib/duet/{p-4d9e4286.system.entry.js → p-d0500cf2.system.entry.js} +1 -1
- package/lib/duet/{p-db48c8ed.system.entry.js → p-d143df18.system.entry.js} +1 -1
- package/lib/duet/{p-956c677f.entry.js → p-d328f8cc.entry.js} +1 -1
- package/lib/duet/{p-534e202a.system.entry.js → p-d4285ed0.system.entry.js} +1 -1
- package/lib/duet/{p-3a63ecd6.system.entry.js → p-d44d74d3.system.entry.js} +1 -1
- package/lib/duet/p-d5b79ee4.entry.js +4 -0
- package/lib/duet/{p-c641c3b4.system.entry.js → p-d5d63283.system.entry.js} +1 -1
- package/lib/duet/{p-295179c8.system.entry.js → p-d6c18967.system.entry.js} +1 -1
- package/lib/duet/p-d9400840.entry.js +4 -0
- package/lib/duet/{p-52c59c2c.system.entry.js → p-d9887cdb.system.entry.js} +1 -1
- package/lib/duet/{p-e7b955f6.system.entry.js → p-db688714.system.entry.js} +1 -1
- package/lib/duet/p-dbedcced.entry.js +4 -0
- package/lib/duet/{p-e2347276.entry.js → p-dc3e35c7.entry.js} +1 -1
- package/lib/duet/{p-9f931d57.js → p-dccd9c7c.js} +1 -1
- package/lib/duet/{p-65316fb3.entry.js → p-dcd8af75.entry.js} +1 -1
- package/lib/duet/{p-59eeaac0.system.entry.js → p-de2da9fd.system.entry.js} +1 -1
- package/lib/duet/{p-04dc3f5f.system.entry.js → p-e00c9499.system.entry.js} +1 -1
- package/lib/duet/{p-89db0472.system.entry.js → p-e03b6928.system.entry.js} +1 -1
- package/lib/duet/{p-61d46f06.entry.js → p-e0931ac9.entry.js} +1 -1
- package/lib/duet/{p-35811c5b.entry.js → p-e0d1257a.entry.js} +1 -1
- package/lib/duet/{p-eddc7880.entry.js → p-e21cc133.entry.js} +1 -1
- package/lib/duet/{p-86285221.entry.js → p-e24a3978.entry.js} +1 -1
- package/lib/duet/p-e276fee0.js +4 -0
- package/lib/duet/{p-42e4ee86.system.entry.js → p-e2eb1521.system.entry.js} +1 -1
- package/lib/duet/{p-fd153ee7.system.entry.js → p-e538a8a2.system.entry.js} +1 -1
- package/lib/duet/{p-f8ddd215.system.entry.js → p-e69813f3.system.entry.js} +1 -1
- package/lib/duet/{p-00b69a62.system.entry.js → p-e956cd9b.system.entry.js} +1 -1
- package/lib/duet/{p-eed152d0.system.js → p-ead2a738.system.js} +1 -1
- package/lib/duet/{p-b83e0014.system.entry.js → p-ec2eb98f.system.entry.js} +1 -1
- package/lib/duet/{p-831c1f80.system.entry.js → p-eced32c1.system.entry.js} +1 -1
- package/lib/duet/{p-9090cf21.entry.js → p-ee7738c2.entry.js} +1 -1
- package/lib/duet/{p-ebc2f8fc.system.entry.js → p-eedadd50.system.entry.js} +1 -1
- package/lib/duet/p-ef83d9da.system.entry.js +4 -0
- package/lib/duet/{p-11481bd0.entry.js → p-f0419f45.entry.js} +1 -1
- package/lib/duet/{p-efa9e31e.entry.js → p-f121b583.entry.js} +1 -1
- package/lib/duet/{p-78a7f821.system.entry.js → p-f1397f55.system.entry.js} +1 -1
- package/lib/duet/{p-cc4683e0.system.entry.js → p-f15a1679.system.entry.js} +2 -2
- package/lib/duet/p-f273c4de.system.entry.js +4 -0
- package/lib/duet/{p-9699d4f1.system.entry.js → p-f3c91c9e.system.entry.js} +1 -1
- package/lib/duet/{p-03380a61.system.entry.js → p-f5c69659.system.entry.js} +1 -1
- package/lib/duet/{p-f2f0f553.system.entry.js → p-f630e363.system.entry.js} +1 -1
- package/lib/duet/{p-74553378.system.entry.js → p-f7167337.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +2 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +8 -7
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +2 -2
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +5 -4
- package/lib/esm/duet-caption_4.entry.js +5 -6
- package/lib/esm/duet-card.entry.js +6 -5
- 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 +2 -2
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +2 -2
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -4
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +3 -3
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +2 -2
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +2 -2
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +9 -6
- package/lib/esm/duet-icon.entry.js +2 -2
- package/lib/esm/duet-input_2.entry.js +6 -5
- 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 +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- 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 +4 -4
- package/lib/esm/duet-multiselect.entry.js +5 -4
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +5 -4
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +3 -3
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +3 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +15 -10
- package/lib/esm/duet-radio_2.entry.js +4 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +89 -6
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +4 -3
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +10 -7
- package/lib/esm/duet-slideout.entry.js +15 -6
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +4 -3
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +15 -18
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-6bb7f477.js → focus-utils-5adec865.js} +1 -1
- package/lib/esm/{index-eeb87403.js → index-88bb0f20.js} +1 -1
- package/lib/esm/{keyboard-utils-eba88365.js → keyboard-utils-c472d19d.js} +2 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/slot-utils-3c3ab3d6.js +48 -0
- package/lib/esm/{token-utils-d09165bc.js → token-utils-0c77cb3c.js} +23 -2
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- 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-5adec865.js +4 -0
- package/lib/esm-es5/{index-eeb87403.js → index-88bb0f20.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-eba88365.js → keyboard-utils-c472d19d.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/slot-utils-3c3ab3d6.js +4 -0
- package/lib/esm-es5/token-utils-0c77cb3c.js +4 -0
- package/lib/types/common/index.d.ts +0 -1
- package/lib/types/components/duet-card/duet-card.d.ts +3 -2
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +3 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +1 -0
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +4 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +22 -2
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +2 -1
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -2
- package/lib/types/components.d.ts +24 -4
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/lib/types/utils/slot-utils.d.ts +14 -2
- package/lib/types/utils/token-utils.d.ts +1 -0
- package/package.json +5 -5
- package/lib/cjs/slot-query-3259af5b.js +0 -10
- package/lib/cjs/slot-utils-6c81bd09.js +0 -20
- package/lib/collection/common/slot-query.js +0 -9
- package/lib/dist-custom-elements/p-11230037.js +0 -8
- package/lib/dist-custom-elements/p-bb24a019.js +0 -18
- package/lib/duet/p-0b5a8f35.system.entry.js +0 -4
- package/lib/duet/p-0c61244e.entry.js +0 -4
- package/lib/duet/p-0dd40c9c.entry.js +0 -4
- package/lib/duet/p-111e21bb.system.entry.js +0 -4
- package/lib/duet/p-11230037.js +0 -4
- package/lib/duet/p-127dcd36.system.entry.js +0 -4
- package/lib/duet/p-202208dc.entry.js +0 -4
- package/lib/duet/p-23354cf7.system.js +0 -4
- package/lib/duet/p-27bdda1e.js +0 -4
- package/lib/duet/p-2bb2b022.js +0 -4
- package/lib/duet/p-3ecd388c.system.entry.js +0 -4
- package/lib/duet/p-4dd4b992.entry.js +0 -4
- package/lib/duet/p-5795b0d9.system.js +0 -4
- package/lib/duet/p-579d7632.entry.js +0 -4
- package/lib/duet/p-5f71c6eb.entry.js +0 -4
- package/lib/duet/p-634e8787.system.js +0 -4
- package/lib/duet/p-660bc31f.entry.js +0 -4
- package/lib/duet/p-6720adb2.entry.js +0 -4
- package/lib/duet/p-74591e44.system.entry.js +0 -4
- package/lib/duet/p-7e1fe8b7.entry.js +0 -4
- package/lib/duet/p-7ef64069.entry.js +0 -4
- package/lib/duet/p-8b9c411d.entry.js +0 -4
- package/lib/duet/p-94c3e67c.system.entry.js +0 -4
- package/lib/duet/p-99269e38.system.js +0 -4
- package/lib/duet/p-9a352bf1.entry.js +0 -4
- package/lib/duet/p-9ab87585.system.entry.js +0 -4
- package/lib/duet/p-9dff8650.js +0 -4
- package/lib/duet/p-a1093ef2.entry.js +0 -4
- package/lib/duet/p-a5e3febc.system.entry.js +0 -4
- package/lib/duet/p-b17fc03d.system.entry.js +0 -4
- package/lib/duet/p-b3ee2fd3.entry.js +0 -4
- package/lib/duet/p-bb24a019.js +0 -4
- package/lib/duet/p-bbd9ecae.entry.js +0 -4
- package/lib/duet/p-c1175891.entry.js +0 -4
- package/lib/duet/p-c3722531.system.entry.js +0 -4
- package/lib/duet/p-ccd19d96.entry.js +0 -4
- package/lib/duet/p-cdc6b261.entry.js +0 -4
- package/lib/duet/p-d69aa4c2.system.entry.js +0 -4
- package/lib/duet/p-d840ef25.entry.js +0 -4
- package/lib/duet/p-e6949dbe.entry.js +0 -4
- package/lib/duet/p-f54f5ef3.system.entry.js +0 -4
- package/lib/duet/p-f64ba41c.entry.js +0 -4
- package/lib/duet/p-f7c03d05.entry.js +0 -4
- package/lib/esm/slot-query-022710bb.js +0 -8
- package/lib/esm/slot-utils-07ba4363.js +0 -18
- package/lib/esm-es5/focus-utils-6bb7f477.js +0 -4
- package/lib/esm-es5/slot-query-022710bb.js +0 -4
- package/lib/esm-es5/slot-utils-07ba4363.js +0 -4
- package/lib/esm-es5/token-utils-d09165bc.js +0 -4
- package/lib/types/common/slot-query.d.ts +0 -1
package/hydrate/index.js
CHANGED
|
@@ -7574,11 +7574,6 @@ const inheritGlobalTheme = (component) => {
|
|
|
7574
7574
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
7575
7575
|
const duetBlock = "div";
|
|
7576
7576
|
|
|
7577
|
-
const hasSlot = (element, slotName) => {
|
|
7578
|
-
return Array.from(element.children).filter(el => el.matches(`[slot='${slotName}']`)).length > 0
|
|
7579
|
-
;
|
|
7580
|
-
};
|
|
7581
|
-
|
|
7582
7577
|
function chr4() {
|
|
7583
7578
|
return Math.random().toString(16).slice(-4);
|
|
7584
7579
|
}
|
|
@@ -7635,6 +7630,7 @@ const isArrowRightKey = (e) => e.key === "ArrowRight" || e.key === "Right";
|
|
|
7635
7630
|
const isArrowDownKey = (e) => e.key === "ArrowDown" || e.key === "Down";
|
|
7636
7631
|
const isArrowKey = (e) => isArrowDownKey(e) || isArrowRightKey(e) || isArrowUpKey(e) || isArrowLeftKey(e);
|
|
7637
7632
|
const isEscapeKey = (e) => e.key === "Escape" || e.key === "Esc";
|
|
7633
|
+
const isShiftTabKey = (e) => e.shiftKey && e.key === "Tab";
|
|
7638
7634
|
const isTabKey = (e) => e.key === "Tab";
|
|
7639
7635
|
const isBackspaceKey = (e) => e.key === "Backspace";
|
|
7640
7636
|
const isSpaceKey = (e) => e.key === " " || e.key === "Spacebar";
|
|
@@ -8250,6 +8246,27 @@ function convertToColorName(name = "", theme = "") {
|
|
|
8250
8246
|
colorResolution = lowerCaseFirst(colorResolution);
|
|
8251
8247
|
return colorResolution;
|
|
8252
8248
|
}
|
|
8249
|
+
function getTokenByName(prefix, name) {
|
|
8250
|
+
if (!name) {
|
|
8251
|
+
return undefined;
|
|
8252
|
+
}
|
|
8253
|
+
let tokenResolution = name;
|
|
8254
|
+
const dash = isDashCase(name);
|
|
8255
|
+
if (dash) {
|
|
8256
|
+
tokenResolution = camelize(tokenResolution);
|
|
8257
|
+
}
|
|
8258
|
+
tokenResolution = addPrefix(prefix, tokenResolution);
|
|
8259
|
+
tokenResolution = lowerCaseFirst(tokenResolution);
|
|
8260
|
+
try {
|
|
8261
|
+
return tokens$2[tokenResolution];
|
|
8262
|
+
}
|
|
8263
|
+
catch (e) {
|
|
8264
|
+
return undefined;
|
|
8265
|
+
}
|
|
8266
|
+
}
|
|
8267
|
+
function getShadowByName(name) {
|
|
8268
|
+
return getTokenByName("shadow", name);
|
|
8269
|
+
}
|
|
8253
8270
|
function rgbaColorFromRgb(color, opacity) {
|
|
8254
8271
|
if (!color || (opacity !== 0 && !opacity)) {
|
|
8255
8272
|
return undefined;
|
|
@@ -8659,17 +8676,47 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
8659
8676
|
hAsync("img", Object.assign({}, img))));
|
|
8660
8677
|
};
|
|
8661
8678
|
|
|
8662
|
-
const
|
|
8663
|
-
|
|
8664
|
-
|
|
8665
|
-
|
|
8666
|
-
|
|
8667
|
-
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
|
-
|
|
8671
|
-
|
|
8672
|
-
|
|
8679
|
+
const getElementsFromNamedSlot = (element, slotName) => {
|
|
8680
|
+
const childElements = Array.from(element.children );
|
|
8681
|
+
return childElements.filter(el => el.matches(`[slot='${slotName}']`));
|
|
8682
|
+
};
|
|
8683
|
+
const hasSlot = (element, slotName) => {
|
|
8684
|
+
return getElementsFromNamedSlot(element, slotName).length > 0;
|
|
8685
|
+
};
|
|
8686
|
+
/**
|
|
8687
|
+
* Check if the slotted element matches the given selector.
|
|
8688
|
+
* If not, log a warning, or log a error and remove the element.
|
|
8689
|
+
* This function only works with named slots.
|
|
8690
|
+
*
|
|
8691
|
+
* @param hostElement Host element
|
|
8692
|
+
* @param slotName Name of the slot to check.
|
|
8693
|
+
* @param selector Css selector the slotted element should match
|
|
8694
|
+
* @param maxChildren Maximum number of children allowed in the slot. For no limit use 0. Default is 0.
|
|
8695
|
+
* @param remove If true, remove the elements that don't match. Default is false.
|
|
8696
|
+
*/
|
|
8697
|
+
const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0, remove = false) => {
|
|
8698
|
+
const warnOrError = remove ? "error" : "warn";
|
|
8699
|
+
const errors = [];
|
|
8700
|
+
const slottedElements = getElementsFromNamedSlot(hostElement, slotName);
|
|
8701
|
+
const nonRemovedElements = slottedElements.filter(el => {
|
|
8702
|
+
if (el.matches(selector)) {
|
|
8703
|
+
return true;
|
|
8704
|
+
}
|
|
8705
|
+
errors.push(`Only elements matcing selector "${selector}" may be used in slot ${slotName}, found:\n${el.outerHTML}`);
|
|
8706
|
+
if (remove) {
|
|
8707
|
+
el.remove();
|
|
8708
|
+
return false;
|
|
8709
|
+
}
|
|
8710
|
+
return true;
|
|
8711
|
+
});
|
|
8712
|
+
if (maxChildren && nonRemovedElements.length > maxChildren) {
|
|
8713
|
+
errors.push(`Only ${maxChildren} element${maxChildren > 1 ? "s" : ""} may be used in slot ${slotName}, found ${slottedElements.length}.`);
|
|
8714
|
+
if (remove) {
|
|
8715
|
+
nonRemovedElements.slice(maxChildren).forEach(el => el.remove());
|
|
8716
|
+
}
|
|
8717
|
+
}
|
|
8718
|
+
if (errors.length > 0) {
|
|
8719
|
+
console[warnOrError](`Duet ${warnOrError} in ${hostElement.tagName.toLowerCase()}:\n${errors.join("\n")}${remove ? `\nElement${errors.length > 1 ? "s" : ""} removed.` : ""}`);
|
|
8673
8720
|
}
|
|
8674
8721
|
};
|
|
8675
8722
|
|
|
@@ -8700,9 +8747,10 @@ class DuetBanner {
|
|
|
8700
8747
|
*/
|
|
8701
8748
|
componentWillLoad() {
|
|
8702
8749
|
inheritGlobalTheme(this);
|
|
8703
|
-
this.hasHeadingSlot =
|
|
8704
|
-
this.hasDescriptionSlot =
|
|
8705
|
-
this.hasActionSlot =
|
|
8750
|
+
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
8751
|
+
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
8752
|
+
this.hasActionSlot = hasSlot(this.element, "action");
|
|
8753
|
+
checkNamedSlotElement(this.element, "heading", "span");
|
|
8706
8754
|
}
|
|
8707
8755
|
/**
|
|
8708
8756
|
* render() function
|
|
@@ -8723,7 +8771,7 @@ class DuetBanner {
|
|
|
8723
8771
|
"duet-banner": true,
|
|
8724
8772
|
"duet-theme-turva": this.theme === "turva",
|
|
8725
8773
|
[this.size]: true,
|
|
8726
|
-
}, style: bannerStyles }, hAsync("div", { class: "visual" }, hAsync("div", { class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({}, pictureSource))), this.icon && (hAsync("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), hAsync("div", { class: "content" }, this.hasHeadingSlot && (hAsync("div", { class: "heading" }, hAsync("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, hAsync("span", null, hAsync("slot", { name: "heading"
|
|
8774
|
+
}, style: bannerStyles }, hAsync("div", { class: "visual" }, hAsync("div", { class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({}, pictureSource))), this.icon && (hAsync("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: "xx-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), hAsync("div", { class: "content" }, this.hasHeadingSlot && (hAsync("div", { class: "heading" }, hAsync("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, hAsync("span", null, hAsync("slot", { name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { class: "description", style: { color } }, hAsync("slot", { name: "description" }))), this.hasActionSlot && (hAsync("div", { class: "action" }, hAsync("slot", { name: "action" })))))));
|
|
8727
8775
|
}
|
|
8728
8776
|
get element() { return getElement(this); }
|
|
8729
8777
|
static get style() { return duetBannerCss; }
|
|
@@ -8891,7 +8939,7 @@ const DuetStringsLoadingDefaults = {
|
|
|
8891
8939
|
en: "Loading…",
|
|
8892
8940
|
};
|
|
8893
8941
|
|
|
8894
|
-
const duetButtonCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-button,*.sc-duet-button::after,*.sc-duet-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-button-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}/*!@:host:last-child, :host:last-of-type*/.sc-duet-button-h:last-child,.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host*/.sc-duet-button-h{width:100%}}/*!@:host(.square)*/.square.sc-duet-button-h{margin-right:12px !important}/*!@:host(.square):last-child, :host(.square):last-of-type*/.square.sc-duet-button-h:last-child,.square.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.input-button)*/.input-button.sc-duet-button-h{z-index:250}/*!@:host(.duet-small),\n:host(.duet-x-small)*/.duet-small.sc-duet-button-h,.duet-x-small.sc-duet-button-h{margin-right:4px !important;margin-bottom:8px !important}/*!@:host(.duet-small):last-child, :host(.duet-small):last-of-type,\n:host(.duet-x-small):last-child,\n:host(.duet-x-small):last-of-type*/.duet-small.sc-duet-button-h:last-child,.duet-small.sc-duet-button-h:last-of-type,.duet-x-small.sc-duet-button-h:last-child,.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host(.duet-small),\n :host(.duet-x-small)*/.duet-small.sc-duet-button-h,.duet-x-small.sc-duet-button-h{width:auto}}/*!@:host(.duet-x-small)*/.duet-x-small.sc-duet-button-h{margin-right:2px !important}/*!@:host(.duet-x-small):last-child, :host(.duet-x-small):last-of-type*/.duet-x-small.sc-duet-button-h:last-child,.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.square.duet-small),\n:host(.square.duet-x-small)*/.square.duet-small.sc-duet-button-h,.square.duet-x-small.sc-duet-button-h{margin-right:8px !important}/*!@:host(.square.duet-small):last-child, :host(.square.duet-small):last-of-type,\n:host(.square.duet-x-small):last-child,\n:host(.square.duet-x-small):last-of-type*/.square.duet-small.sc-duet-button-h:last-child,.square.duet-small.sc-duet-button-h:last-of-type,.square.duet-x-small.sc-duet-button-h:last-child,.square.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-expand)*/.duet-expand.sc-duet-button-h{width:100% !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-button-h{margin:0 !important}/*!@:host(.duet-fixed)*/.duet-fixed.sc-duet-button-h{width:auto !important}/*!@:host(:last-child)*/.sc-duet-button-h:last-child{margin-right:0 !important}/*!@.duet-button-container*/.duet-button-container.sc-duet-button{position:relative;display:block;width:100%}/*!@.duet-button*/.duet-button.sc-duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}/*!@.duet-button.duet-p-0*/.duet-button.duet-p-0.sc-duet-button{padding:0 !important}/*!@.duet-button.duet-m-0*/.duet-button.duet-m-0.sc-duet-button{margin:0 !important}/*!@.duet-button:focus*/.duet-button.sc-duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-theme-turva .duet-button:focus, .duet-button:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-button:focus,.duet-button.sc-duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-button.duet-button-size-medium*/.duet-button.duet-button-size-medium.sc-duet-button{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}/*!@.duet-button.duet-button-size-medium.square*/.duet-button.duet-button-size-medium.square.sc-duet-button{border-radius:12.5px}/*!@.duet-button.duet-button-size-medium.icon-left*/.duet-button.duet-button-size-medium.icon-left.sc-duet-button{padding-left:24px}/*!@.duet-button.duet-button-size-medium.icon-right*/.duet-button.duet-button-size-medium.icon-right.sc-duet-button{padding-right:24px}/*!@.duet-button.duet-button-size-small*/.duet-button.duet-button-size-small.sc-duet-button{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}/*!@.duet-button.duet-button-size-small.square*/.duet-button.duet-button-size-small.square.sc-duet-button{border-radius:10px}/*!@.duet-button.duet-button-size-small.icon-left*/.duet-button.duet-button-size-small.icon-left.sc-duet-button{padding-left:18px}/*!@.duet-button.duet-button-size-small.icon-right*/.duet-button.duet-button-size-small.icon-right.sc-duet-button{padding-right:18px}/*!@.duet-button.duet-button-size-x-small*/.duet-button.duet-button-size-x-small.sc-duet-button{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}/*!@.duet-button.duet-button-size-x-small.icon-left*/.duet-button.duet-button-size-x-small.icon-left.sc-duet-button{padding-left:10px}/*!@.duet-button.duet-button-size-x-small.icon-right*/.duet-button.duet-button-size-x-small.icon-right.sc-duet-button{padding-right:10px}/*!@.duet-button.plain.duet-p-0*/.duet-button.plain.duet-p-0.sc-duet-button{height:auto}/*!@.duet-button:not(.input-button-primary, .input-button-secondary, .input-button-embedded)*/.duet-button.sc-duet-button:not(.input-button-primary,.input-button-secondary.sc-duet-button,.input-button-embedded).sc-duet-button{font-variant-numeric:tabular-nums}/*!@.duet-button.duet-button-text-center*/.duet-button.duet-button-text-center.sc-duet-button{text-align:center !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only)*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only){min-width:48px}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).duet-p-0{padding:0 !important}/*!@.duet-theme-turva .duet-button*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-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(198, 12, 48) !important}/*!@.duet-button .duet-button-contents*/.duet-button.sc-duet-button .duet-button-contents.sc-duet-button{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}/*!@.duet-button .duet-button-contents.icon-right*/.duet-button.sc-duet-button .duet-button-contents.icon-right.sc-duet-button{flex-direction:row-reverse}/*!@.duet-button .duet-button-contents .duet-button-contents-slot*/.duet-button.sc-duet-button .duet-button-contents.sc-duet-button .duet-button-contents-slot.sc-duet-button{position:relative;top:0}/*!@.duet-button.duet-no-wrap*/.duet-button.duet-no-wrap.sc-duet-button{white-space:nowrap}/*!@.duet-button svg*/.duet-button.sc-duet-button svg.sc-duet-button{width:100%;min-width:100%;fill:currentColor}/*!@.duet-button .duet-button-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button{display:flex;align-items:center}/*!@.duet-button .duet-button-icon duet-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button duet-icon.sc-duet-button{width:16px;height:16px}/*!@.duet-button .duet-button-icon.large duet-icon*/.duet-button.sc-duet-button .duet-button-icon.large.sc-duet-button duet-icon.sc-duet-button{width:20px;height:20px}/*!@.duet-button .duet-button-icon.medium-small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.medium-small.sc-duet-button duet-icon.sc-duet-button{width:10px;height:10px}/*!@.duet-button .duet-button-icon.small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.small.sc-duet-button duet-icon.sc-duet-button{width:7px;height:7px}/*!@.duet-button:active:not([disabled])*/.duet-button.sc-duet-button:active:not([disabled]){opacity:0.75;transition:none}/*!@.duet-button.default*/.duet-button.default.sc-duet-button{border-color:rgb(207, 210, 212)}/*!@.duet-theme-turva .duet-button.default*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}/*!@.duet-button.default:hover*/.duet-button.default.sc-duet-button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}/*!@.duet-theme-turva .duet-button.default:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}/*!@.duet-button.default.duet-button-negative*/.duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(228, 228, 230) !important}/*!@.duet-button.default.duet-button-negative:hover*/.duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.primary, .duet-button.input-button-primary*/.duet-button.primary.sc-duet-button,.duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.primary, .duet-theme-turva .duet-button.input-button-primary*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-button.primary:hover, .duet-button.input-button-primary:hover*/.duet-button.primary.sc-duet-button:hover,.duet-button.input-button-primary.sc-duet-button:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.primary:hover, .duet-theme-turva .duet-button.input-button-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}/*!@.duet-button.primary:focus, .duet-button.input-button-primary:focus*/.duet-button.primary.sc-duet-button:focus,.duet-button.input-button-primary.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}/*!@.duet-theme-turva .duet-button.primary:focus, .duet-theme-turva .duet-button.input-button-primary:focus*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:focus,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}/*!@.duet-button.secondary, .duet-button.input-button-secondary, .duet-button.input-button-embedded*/.duet-button.secondary.sc-duet-button,.duet-button.input-button-secondary.sc-duet-button,.duet-button.input-button-embedded.sc-duet-button{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}/*!@.duet-theme-turva .duet-button.secondary, .duet-theme-turva .duet-button.input-button-secondary, .duet-theme-turva .duet-button.input-button-embedded*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}/*!@.duet-button.secondary:hover, .duet-button.input-button-secondary:hover, .duet-button.input-button-embedded:hover*/.duet-button.secondary.sc-duet-button:hover,.duet-button.input-button-secondary.sc-duet-button:hover,.duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary:hover, .duet-theme-turva .duet-button.input-button-secondary:hover, .duet-theme-turva .duet-button.input-button-embedded:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.secondary.duet-button-negative, .duet-button.input-button-secondary.duet-button-negative, .duet-button.input-button-embedded.duet-button-negative*/.duet-button.secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.secondary.duet-button-negative:hover, .duet-button.input-button-secondary.duet-button-negative:hover, .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.input-button-embedded*/.duet-button.input-button-embedded.sc-duet-button{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}/*!@.duet-button.input-button*/.duet-button.input-button.sc-duet-button{height:auto}/*!@.duet-button.negative*/.duet-button.negative.sc-duet-button{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.negative*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button{color:rgb(23, 28, 58) !important}/*!@.duet-button.negative:hover*/.duet-button.negative.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}/*!@.duet-button.negative:focus*/.duet-button.negative.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-theme-turva .duet-button.negative:focus*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-button.destructive-primary*/.duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive-primary*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive-primary:hover*/.duet-button.destructive-primary.sc-duet-button:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.destructive-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button:hover{background:#b3220a}/*!@.duet-button.destructive, .duet-button.destructive-secondary*/.duet-button.destructive.sc-duet-button,.duet-button.destructive-secondary.sc-duet-button{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive, .duet-theme-turva .duet-button.destructive-secondary*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive:hover, .duet-button.destructive-secondary:hover*/.duet-button.destructive.sc-duet-button:hover,.duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}/*!@.duet-theme-turva .duet-button.destructive:hover, .duet-theme-turva .duet-button.destructive-secondary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}/*!@.duet-button.plain*/.duet-button.plain.sc-duet-button{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}/*!@.duet-theme-turva .duet-button.plain*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}/*!@.duet-button.plain.duet-p-0 .duet-button-contents*/.duet-button.plain.duet-p-0.sc-duet-button .duet-button-contents.sc-duet-button{height:auto}/*!@.duet-button.plain[disabled]*/.duet-button.plain[disabled].sc-duet-button{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}/*!@.duet-theme-turva .duet-button.plain[disabled]*/.duet-theme-turva.sc-duet-button .duet-button.plain[disabled].sc-duet-button{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button.plain:hover*/.duet-button.plain.sc-duet-button:hover{color:rgb(0, 77, 128) !important;background:transparent !important}/*!@.duet-theme-turva .duet-button.plain:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button:hover{color:rgb(148, 9, 37) !important}/*!@.duet-button.plain.duet-button-negative*/.duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.plain.duet-button-negative:hover*/.duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important}/*!@.duet-button.duet-button-icon-only*/.duet-button.duet-button-icon-only.sc-duet-button{min-width:48px;min-height:48px;padding:0 !important}/*!@.duet-button.duet-button-icon-only .duet-button-contents*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button-icon-only .duet-button-icon.left.large,\n.duet-button.duet-button-icon-only .duet-button-icon.left.medium,\n.duet-button.duet-button-icon-only .duet-button-icon.left.small*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-primary, .duet-button.duet-button.input-button-secondary, .duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-primary.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}/*!@.duet-button.duet-button.input-button-primary .duet-button-contents, .duet-button.duet-button.input-button-secondary .duet-button-contents, .duet-button.duet-button.input-button-embedded .duet-button-contents*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.small, .duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small, .duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-embedded.sc-duet-button{border-left-width:0}/*!@.duet-button.square*/.duet-button.square.sc-duet-button{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(207, 210, 212);border-width:1px}/*!@.duet-button.square.duet-button-size-small*/.duet-button.square.duet-button-size-small.sc-duet-button{width:42px;font-size:0.875rem}/*!@.duet-button.square.duet-button-size-x-small*/.duet-button.square.duet-button-size-x-small.sc-duet-button{width:34px;font-size:0.875rem}/*!@.duet-button.square.duet-button-negative*/.duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.square.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-theme-turva .duet-button.square*/.duet-theme-turva.sc-duet-button .duet-button.square.sc-duet-button{border-color:rgb(228, 228, 230)}/*!@.duet-button.square:hover*/.duet-button.square.sc-duet-button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}/*!@.duet-theme-turva .duet-button.square:hover*/.duet-theme-turva.sc-duet-button .duet-button.square.sc-duet-button:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}/*!@.duet-button.square .duet-button-contents*/.duet-button.square.sc-duet-button .duet-button-contents.sc-duet-button{gap:0}/*!@.duet-button[disabled], .duet-button[disabled]:hover, .duet-button.duet-button-negative[disabled], .duet-button.duet-button-negative[disabled]:hover*/.duet-button[disabled].sc-duet-button,.duet-button[disabled].sc-duet-button:hover,.duet-button.duet-button-negative[disabled].sc-duet-button,.duet-button.duet-button-negative[disabled].sc-duet-button:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}/*!@.duet-theme-turva .duet-button[disabled], .duet-theme-turva .duet-button[disabled]:hover, .duet-theme-turva .duet-button.duet-button-negative [disabled], .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover*/.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button-is-loading.primary, .duet-button-is-loading.input-button-primary*/.duet-button-is-loading.primary.sc-duet-button,.duet-button-is-loading.input-button-primary.sc-duet-button{color:rgb(255, 255, 255)}/*!@.duet-button-is-loading.default*/.duet-button-is-loading.default.sc-duet-button{color:rgb(0, 119, 179)}/*!@.duet-button-is-loading.default.duet-theme-turva*/.duet-button-is-loading.default.duet-theme-turva.sc-duet-button{color:rgb(198, 12, 48)}/*!@.duet-button-is-loading .duet-button-contents*/.duet-button-is-loading.sc-duet-button .duet-button-contents.sc-duet-button{visibility:hidden;opacity:0}";
|
|
8942
|
+
const duetButtonCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-button,*.sc-duet-button::after,*.sc-duet-button::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-button-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}/*!@:host:last-child, :host:last-of-type*/.sc-duet-button-h:last-child,.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host*/.sc-duet-button-h{width:100%}}/*!@:host(.square)*/.square.sc-duet-button-h{margin-right:12px !important}/*!@:host(.square):last-child, :host(.square):last-of-type*/.square.sc-duet-button-h:last-child,.square.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.input-button)*/.input-button.sc-duet-button-h{z-index:250}/*!@:host(.duet-small),\n:host(.duet-x-small)*/.duet-small.sc-duet-button-h,.duet-x-small.sc-duet-button-h{margin-right:4px !important;margin-bottom:8px !important}/*!@:host(.duet-small):last-child, :host(.duet-small):last-of-type,\n:host(.duet-x-small):last-child,\n:host(.duet-x-small):last-of-type*/.duet-small.sc-duet-button-h:last-child,.duet-small.sc-duet-button-h:last-of-type,.duet-x-small.sc-duet-button-h:last-child,.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){/*!@:host(.duet-small),\n :host(.duet-x-small)*/.duet-small.sc-duet-button-h,.duet-x-small.sc-duet-button-h{width:auto}}/*!@:host(.duet-x-small)*/.duet-x-small.sc-duet-button-h{margin-right:2px !important}/*!@:host(.duet-x-small):last-child, :host(.duet-x-small):last-of-type*/.duet-x-small.sc-duet-button-h:last-child,.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.square.duet-small),\n:host(.square.duet-x-small)*/.square.duet-small.sc-duet-button-h,.square.duet-x-small.sc-duet-button-h{margin-right:8px !important}/*!@:host(.square.duet-small):last-child, :host(.square.duet-small):last-of-type,\n:host(.square.duet-x-small):last-child,\n:host(.square.duet-x-small):last-of-type*/.square.duet-small.sc-duet-button-h:last-child,.square.duet-small.sc-duet-button-h:last-of-type,.square.duet-x-small.sc-duet-button-h:last-child,.square.duet-x-small.sc-duet-button-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-expand)*/.duet-expand.sc-duet-button-h{width:100% !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-button-h{margin:0 !important}/*!@:host(.duet-fixed)*/.duet-fixed.sc-duet-button-h{width:auto !important}/*!@:host(:last-child)*/.sc-duet-button-h:last-child{margin-right:0 !important}/*!@.duet-button-container*/.duet-button-container.sc-duet-button{position:relative;display:block;width:100%}/*!@.duet-button*/.duet-button.sc-duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;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.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}/*!@.duet-button.duet-p-0*/.duet-button.duet-p-0.sc-duet-button{padding:0 !important}/*!@.duet-button.duet-m-0*/.duet-button.duet-m-0.sc-duet-button{margin:0 !important}/*!@.duet-button:focus*/.duet-button.sc-duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-theme-turva .duet-button:focus, .duet-button:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-button:focus,.duet-button.sc-duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-button.duet-button-size-medium*/.duet-button.duet-button-size-medium.sc-duet-button{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}/*!@.duet-theme-turva .duet-button.duet-button-size-medium*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-medium.sc-duet-button{padding-right:24px;padding-left:24px;border-radius:12.5px}/*!@.duet-button.duet-button-size-medium.square*/.duet-button.duet-button-size-medium.square.sc-duet-button{border-radius:12.5px}/*!@.duet-button.duet-button-size-medium.icon-left*/.duet-button.duet-button-size-medium.icon-left.sc-duet-button{padding-left:24px}/*!@.duet-theme-turva .duet-button.duet-button-size-medium.icon-left*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-medium.icon-left.sc-duet-button{padding-left:18px}/*!@.duet-button.duet-button-size-medium.icon-right*/.duet-button.duet-button-size-medium.icon-right.sc-duet-button{padding-right:24px}/*!@.duet-theme-turva .duet-button.duet-button-size-medium.icon-right*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-medium.icon-right.sc-duet-button{padding-right:18px}/*!@.duet-button.duet-button-size-small*/.duet-button.duet-button-size-small.sc-duet-button{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}/*!@.duet-theme-turva .duet-button.duet-button-size-small*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-small.sc-duet-button{padding-right:18px;padding-left:18px;border-radius:10px}/*!@.duet-button.duet-button-size-small.square*/.duet-button.duet-button-size-small.square.sc-duet-button{border-radius:10px}/*!@.duet-button.duet-button-size-small.icon-left*/.duet-button.duet-button-size-small.icon-left.sc-duet-button{padding-left:18px}/*!@.duet-theme-turva .duet-button.duet-button-size-small.icon-left*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-small.icon-left.sc-duet-button{padding-left:14px}/*!@.duet-button.duet-button-size-small.icon-right*/.duet-button.duet-button-size-small.icon-right.sc-duet-button{padding-right:18px}/*!@.duet-theme-turva .duet-button.duet-button-size-small.icon-right*/.duet-theme-turva.sc-duet-button .duet-button.duet-button-size-small.icon-right.sc-duet-button{padding-right:14px}/*!@.duet-button.duet-button-size-x-small*/.duet-button.duet-button-size-x-small.sc-duet-button{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}/*!@.duet-button.duet-button-size-x-small.icon-left*/.duet-button.duet-button-size-x-small.icon-left.sc-duet-button{padding-left:10px}/*!@.duet-button.duet-button-size-x-small.icon-right*/.duet-button.duet-button-size-x-small.icon-right.sc-duet-button{padding-right:10px}/*!@.duet-button.plain.duet-p-0*/.duet-button.plain.duet-p-0.sc-duet-button{height:auto}/*!@.duet-button:not(.input-button-primary, .input-button-secondary, .input-button-embedded)*/.duet-button.sc-duet-button:not(.input-button-primary,.input-button-secondary.sc-duet-button,.input-button-embedded).sc-duet-button{font-variant-numeric:tabular-nums}/*!@.duet-button.duet-button-text-center*/.duet-button.duet-button-text-center.sc-duet-button{text-align:center !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only)*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only){min-width:48px}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}/*!@.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0*/.duet-button.duet-button-is-small.sc-duet-button:not(.duet-button-icon-only).duet-p-0{padding:0 !important}/*!@.duet-theme-turva .duet-button*/.duet-theme-turva.sc-duet-button .duet-button.sc-duet-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(198, 12, 48) !important}/*!@.duet-button .duet-button-contents*/.duet-button.sc-duet-button .duet-button-contents.sc-duet-button{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}/*!@.duet-button .duet-button-contents.icon-right*/.duet-button.sc-duet-button .duet-button-contents.icon-right.sc-duet-button{flex-direction:row-reverse}/*!@.duet-button .duet-button-contents .duet-button-contents-slot*/.duet-button.sc-duet-button .duet-button-contents.sc-duet-button .duet-button-contents-slot.sc-duet-button{position:relative;top:0}/*!@.duet-button.duet-no-wrap*/.duet-button.duet-no-wrap.sc-duet-button{white-space:nowrap}/*!@.duet-button svg*/.duet-button.sc-duet-button svg.sc-duet-button{width:100%;min-width:100%;fill:currentColor}/*!@.duet-button .duet-button-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button{display:flex;align-items:center}/*!@.duet-button .duet-button-icon duet-icon*/.duet-button.sc-duet-button .duet-button-icon.sc-duet-button duet-icon.sc-duet-button{width:16px;height:16px}/*!@.duet-button .duet-button-icon.large duet-icon*/.duet-button.sc-duet-button .duet-button-icon.large.sc-duet-button duet-icon.sc-duet-button{width:20px;height:20px}/*!@.duet-button .duet-button-icon.medium-small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.medium-small.sc-duet-button duet-icon.sc-duet-button{width:10px;height:10px}/*!@.duet-button .duet-button-icon.small duet-icon*/.duet-button.sc-duet-button .duet-button-icon.small.sc-duet-button duet-icon.sc-duet-button{width:7px;height:7px}/*!@.duet-button:active:not([disabled])*/.duet-button.sc-duet-button:active:not([disabled]){opacity:0.75;transition:none}/*!@.duet-button.default*/.duet-button.default.sc-duet-button{border-color:rgb(207, 210, 212)}/*!@.duet-theme-turva .duet-button.default*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button{color:rgb(198, 12, 48) !important;border-color:rgb(228, 228, 230)}/*!@.duet-button.default:hover*/.duet-button.default.sc-duet-button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}/*!@.duet-theme-turva .duet-button.default:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.sc-duet-button:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}/*!@.duet-button.default.duet-button-negative*/.duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button{background-color:rgb(228, 228, 230) !important}/*!@.duet-button.default.duet-button-negative:hover*/.duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.default.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.default.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.primary, .duet-button.input-button-primary*/.duet-button.primary.sc-duet-button,.duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.primary, .duet-theme-turva .duet-button.input-button-primary*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-button.primary:hover, .duet-button.input-button-primary:hover*/.duet-button.primary.sc-duet-button:hover,.duet-button.input-button-primary.sc-duet-button:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.primary:hover, .duet-theme-turva .duet-button.input-button-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:hover{background:rgb(148, 9, 37);border-color:rgb(148, 9, 37)}/*!@.duet-button.primary:focus, .duet-button.input-button-primary:focus*/.duet-button.primary.sc-duet-button:focus,.duet-button.input-button-primary.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}/*!@.duet-theme-turva .duet-button.primary:focus, .duet-theme-turva .duet-button.input-button-primary:focus*/.duet-theme-turva.sc-duet-button .duet-button.primary.sc-duet-button:focus,.duet-theme-turva.sc-duet-button .duet-button.input-button-primary.sc-duet-button:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}/*!@.duet-button.secondary, .duet-button.input-button-secondary, .duet-button.input-button-embedded*/.duet-button.secondary.sc-duet-button,.duet-button.input-button-secondary.sc-duet-button,.duet-button.input-button-embedded.sc-duet-button{color:rgb(0, 41, 77) !important;background:transparent;border-color:rgb(0, 41, 77)}/*!@.duet-theme-turva .duet-button.secondary, .duet-theme-turva .duet-button.input-button-secondary, .duet-theme-turva .duet-button.input-button-embedded*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}/*!@.duet-button.secondary:hover, .duet-button.input-button-secondary:hover, .duet-button.input-button-embedded:hover*/.duet-button.secondary.sc-duet-button:hover,.duet-button.input-button-secondary.sc-duet-button:hover,.duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary:hover, .duet-theme-turva .duet-button.input-button-secondary:hover, .duet-theme-turva .duet-button.input-button-embedded:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.secondary.duet-button-negative, .duet-button.input-button-secondary.duet-button-negative, .duet-button.input-button-embedded.duet-button-negative*/.duet-button.secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(225, 227, 230) !important;border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.secondary.duet-button-negative:hover, .duet-button.input-button-secondary.duet-button-negative:hover, .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover, .duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-secondary.duet-button-negative.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.input-button-embedded.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}/*!@.duet-button.input-button-embedded*/.duet-button.input-button-embedded.sc-duet-button{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}/*!@.duet-button.input-button*/.duet-button.input-button.sc-duet-button{height:auto}/*!@.duet-button.negative*/.duet-button.negative.sc-duet-button{color:rgb(0, 41, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}/*!@.duet-theme-turva .duet-button.negative*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button{color:rgb(23, 28, 58) !important}/*!@.duet-button.negative:hover*/.duet-button.negative.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}/*!@.duet-button.negative:focus*/.duet-button.negative.sc-duet-button:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-theme-turva .duet-button.negative:focus*/.duet-theme-turva.sc-duet-button .duet-button.negative.sc-duet-button:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}/*!@.duet-button.destructive-primary*/.duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(222, 35, 98);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive-primary*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(224, 42, 13);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive-primary:hover*/.duet-button.destructive-primary.sc-duet-button:hover{background:#b21c4e;border-color:#b21c4e;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}/*!@.duet-theme-turva .duet-button.destructive-primary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive-primary.sc-duet-button:hover{background:#b3220a}/*!@.duet-button.destructive, .duet-button.destructive-secondary*/.duet-button.destructive.sc-duet-button,.duet-button.destructive-secondary.sc-duet-button{color:rgb(222, 35, 98) !important;background:rgb(255, 255, 255);border-color:rgb(222, 35, 98)}/*!@.duet-theme-turva .duet-button.destructive, .duet-theme-turva .duet-button.destructive-secondary*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button{color:rgb(224, 42, 13) !important;background:rgb(255, 255, 255);border-color:rgb(224, 42, 13)}/*!@.duet-button.destructive:hover, .duet-button.destructive-secondary:hover*/.duet-button.destructive.sc-duet-button:hover,.duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b21c4e;border-color:#b21c4e}/*!@.duet-theme-turva .duet-button.destructive:hover, .duet-theme-turva .duet-button.destructive-secondary:hover*/.duet-theme-turva.sc-duet-button .duet-button.destructive.sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.destructive-secondary.sc-duet-button:hover{color:rgb(255, 255, 255) !important;background:#b3220a;border-color:#b3220a}/*!@.duet-button.plain*/.duet-button.plain.sc-duet-button{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}/*!@.duet-theme-turva .duet-button.plain*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}/*!@.duet-button.plain.duet-p-0 .duet-button-contents*/.duet-button.plain.duet-p-0.sc-duet-button .duet-button-contents.sc-duet-button{height:auto}/*!@.duet-button.plain[disabled]*/.duet-button.plain[disabled].sc-duet-button{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}/*!@.duet-theme-turva .duet-button.plain[disabled]*/.duet-theme-turva.sc-duet-button .duet-button.plain[disabled].sc-duet-button{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button.plain:hover*/.duet-button.plain.sc-duet-button:hover{color:rgb(0, 77, 128) !important;background:transparent !important}/*!@.duet-theme-turva .duet-button.plain:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.sc-duet-button:hover{color:rgb(148, 9, 37) !important}/*!@.duet-button.plain.duet-button-negative*/.duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button{color:rgb(228, 228, 230) !important}/*!@.duet-button.plain.duet-button-negative:hover*/.duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(0, 119, 179) !important}/*!@.duet-theme-turva .duet-button.plain.duet-button-negative:hover*/.duet-theme-turva.sc-duet-button .duet-button.plain.duet-button-negative.sc-duet-button:hover{color:rgb(198, 12, 48) !important}/*!@.duet-button.duet-button-icon-only*/.duet-button.duet-button-icon-only.sc-duet-button{min-width:48px;min-height:48px;padding:0 !important}/*!@.duet-button.duet-button-icon-only .duet-button-contents*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button-icon-only .duet-button-icon.left.large,\n.duet-button.duet-button-icon-only .duet-button-icon.left.medium,\n.duet-button.duet-button-icon-only .duet-button-icon.left.small*/.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button-icon-only.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-primary, .duet-button.duet-button.input-button-secondary, .duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-primary.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}/*!@.duet-button.duet-button.input-button-primary .duet-button-contents, .duet-button.duet-button.input-button-secondary .duet-button-contents, .duet-button.duet-button.input-button-embedded .duet-button-contents*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-contents.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-contents.sc-duet-button{position:static}/*!@.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-primary .duet-button-icon.left.small, .duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small, .duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,\n.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small*/.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-primary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-secondary.sc-duet-button .duet-button-icon.left.small.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.large.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.medium.sc-duet-button,.duet-button.duet-button.input-button-embedded.sc-duet-button .duet-button-icon.left.small.sc-duet-button{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}/*!@.duet-button.duet-button.input-button-embedded*/.duet-button.duet-button.input-button-embedded.sc-duet-button{border-left-width:0}/*!@.duet-button.square*/.duet-button.square.sc-duet-button{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(207, 210, 212);border-width:1px}/*!@.duet-button.square.duet-button-size-small*/.duet-button.square.duet-button-size-small.sc-duet-button{width:42px;font-size:0.875rem}/*!@.duet-button.square.duet-button-size-x-small*/.duet-button.square.duet-button-size-x-small.sc-duet-button{width:34px;font-size:0.875rem}/*!@.duet-button.square.duet-button-negative*/.duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}/*!@.duet-theme-turva .duet-button.square.duet-button-negative*/.duet-theme-turva.sc-duet-button .duet-button.square.duet-button-negative.sc-duet-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}/*!@.duet-theme-turva .duet-button.square*/.duet-theme-turva.sc-duet-button .duet-button.square.sc-duet-button{border-color:rgb(228, 228, 230)}/*!@.duet-button.square:hover*/.duet-button.square.sc-duet-button:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}/*!@.duet-theme-turva .duet-button.square:hover*/.duet-theme-turva.sc-duet-button .duet-button.square.sc-duet-button:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}/*!@.duet-button.square .duet-button-contents*/.duet-button.square.sc-duet-button .duet-button-contents.sc-duet-button{gap:0}/*!@.duet-button[disabled], .duet-button[disabled]:hover, .duet-button.duet-button-negative[disabled], .duet-button.duet-button-negative[disabled]:hover*/.duet-button[disabled].sc-duet-button,.duet-button[disabled].sc-duet-button:hover,.duet-button.duet-button-negative[disabled].sc-duet-button,.duet-button.duet-button-negative[disabled].sc-duet-button:hover{color:rgb(101, 119, 135) !important;cursor:not-allowed;background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important;box-shadow:none !important}/*!@.duet-theme-turva .duet-button[disabled], .duet-theme-turva .duet-button[disabled]:hover, .duet-theme-turva .duet-button.duet-button-negative [disabled], .duet-theme-turva .duet-button.duet-button-negative [disabled]:hover*/.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button[disabled].sc-duet-button:hover,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button,.duet-theme-turva.sc-duet-button .duet-button.duet-button-negative.sc-duet-button [disabled].sc-duet-button:hover{color:rgb(116, 116, 117) !important;cursor:not-allowed;background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}/*!@.duet-button-is-loading.primary, .duet-button-is-loading.input-button-primary*/.duet-button-is-loading.primary.sc-duet-button,.duet-button-is-loading.input-button-primary.sc-duet-button{color:rgb(255, 255, 255)}/*!@.duet-button-is-loading.default*/.duet-button-is-loading.default.sc-duet-button{color:rgb(0, 119, 179)}/*!@.duet-button-is-loading.default.duet-theme-turva*/.duet-button-is-loading.default.duet-theme-turva.sc-duet-button{color:rgb(198, 12, 48)}/*!@.duet-button-is-loading .duet-button-contents*/.duet-button-is-loading.sc-duet-button .duet-button-contents.sc-duet-button{visibility:hidden;opacity:0}";
|
|
8895
8943
|
|
|
8896
8944
|
class DuetButton {
|
|
8897
8945
|
constructor(hostRef) {
|
|
@@ -9177,7 +9225,8 @@ class DuetCallout {
|
|
|
9177
9225
|
*/
|
|
9178
9226
|
componentWillLoad() {
|
|
9179
9227
|
inheritGlobalTheme(this);
|
|
9180
|
-
this.hasAuthorSlot =
|
|
9228
|
+
this.hasAuthorSlot = hasSlot(this.element, "author");
|
|
9229
|
+
checkNamedSlotElement(this.element, "author", "span");
|
|
9181
9230
|
}
|
|
9182
9231
|
/**
|
|
9183
9232
|
* render() function
|
|
@@ -9192,7 +9241,7 @@ class DuetCallout {
|
|
|
9192
9241
|
"duet-callout": true,
|
|
9193
9242
|
"duet-theme-turva": this.theme === "turva",
|
|
9194
9243
|
"duet-m-0": this.margin === "none",
|
|
9195
|
-
} }, hAsync("figure", { class: "container" }, hAsync("duet-icon", { class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", null, hAsync("slot", null)), this.hasAuthorSlot && (hAsync("figcaption", { class: "author" }, hAsync("span", null, "\u2014 "), hAsync("slot", { name: "author"
|
|
9244
|
+
} }, hAsync("figure", { class: "container" }, hAsync("duet-icon", { class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", null, hAsync("slot", null)), this.hasAuthorSlot && (hAsync("figcaption", { class: "author" }, hAsync("span", null, "\u2014 "), hAsync("slot", { name: "author" })))))));
|
|
9196
9245
|
}
|
|
9197
9246
|
get element() { return getElement(this); }
|
|
9198
9247
|
static get style() { return duetCalloutCss; }
|
|
@@ -9333,8 +9382,9 @@ class DuetCard {
|
|
|
9333
9382
|
}
|
|
9334
9383
|
}
|
|
9335
9384
|
/**
|
|
9336
|
-
* Sets focus on
|
|
9337
|
-
*
|
|
9385
|
+
* Sets focus on underlying a element.
|
|
9386
|
+
* Available only when url attribute is used.
|
|
9387
|
+
* Use this method instead of the native `focus()`.
|
|
9338
9388
|
*/
|
|
9339
9389
|
async setFocus(options) {
|
|
9340
9390
|
if (this.nativeCard) {
|
|
@@ -10209,6 +10259,7 @@ class DuetChoiceGroup {
|
|
|
10209
10259
|
}
|
|
10210
10260
|
componentWillLoad() {
|
|
10211
10261
|
inheritGlobalTheme(this);
|
|
10262
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
10212
10263
|
}
|
|
10213
10264
|
/**
|
|
10214
10265
|
* Local methods
|
|
@@ -11761,6 +11812,7 @@ class DuetDatePicker {
|
|
|
11761
11812
|
inheritGlobalTheme(this);
|
|
11762
11813
|
this.determineValidity(parseISODate(this.value));
|
|
11763
11814
|
this.updateInternalValue();
|
|
11815
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
11764
11816
|
}
|
|
11765
11817
|
componentDidUpdate() {
|
|
11766
11818
|
// we want to run this code _after_ render
|
|
@@ -13666,9 +13718,12 @@ class DuetHero {
|
|
|
13666
13718
|
*/
|
|
13667
13719
|
componentWillLoad() {
|
|
13668
13720
|
inheritGlobalTheme(this);
|
|
13669
|
-
this.hasPreHeadingSlot =
|
|
13670
|
-
this.hasHeadingSlot =
|
|
13671
|
-
this.hasSubHeadingSlot =
|
|
13721
|
+
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
13722
|
+
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
13723
|
+
this.hasSubHeadingSlot = hasSlot(this.element, "subheading");
|
|
13724
|
+
checkNamedSlotElement(this.element, "pre-heading", "span");
|
|
13725
|
+
checkNamedSlotElement(this.element, "heading", "span");
|
|
13726
|
+
checkNamedSlotElement(this.element, "subheading", "span");
|
|
13672
13727
|
this.refresh();
|
|
13673
13728
|
}
|
|
13674
13729
|
connectedCallback() {
|
|
@@ -13776,7 +13831,7 @@ class DuetHero {
|
|
|
13776
13831
|
href: this.processedBack.href,
|
|
13777
13832
|
id: this.processedBack.id,
|
|
13778
13833
|
analyticsId: this.processedBack.analyticsId,
|
|
13779
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading"
|
|
13834
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? (this.heading) : (hAsync("span", null, hAsync("slot", { name: "heading" }))))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("span", null, hAsync("slot", { name: "subheading" })))), this.description && (hAsync("duet-paragraph", { theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("div", { class: "duet-hero-slot-unnamed" }, hAsync("slot", null))), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
13780
13835
|
this.variation !== "image" &&
|
|
13781
13836
|
!campaignOrSection &&
|
|
13782
13837
|
this.variation !== "product" &&
|
|
@@ -14211,6 +14266,7 @@ class DuetInput {
|
|
|
14211
14266
|
inheritGlobalTheme(this);
|
|
14212
14267
|
this.disallowedPatternChange();
|
|
14213
14268
|
this.isCaptionVisible = !!this.caption;
|
|
14269
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
14214
14270
|
}
|
|
14215
14271
|
componentDidLoad() {
|
|
14216
14272
|
if (this.variation === "revealable" && this.nativeInput.form) {
|
|
@@ -14527,11 +14583,10 @@ class DuetLink {
|
|
|
14527
14583
|
if (this.accessibleLabel) {
|
|
14528
14584
|
return this.accessibleLabel;
|
|
14529
14585
|
}
|
|
14530
|
-
if (
|
|
14531
|
-
return
|
|
14586
|
+
if (this.external && this.element.textContent) {
|
|
14587
|
+
return `${this.element.textContent}. ${this.accessibleLabelExternal}.`;
|
|
14532
14588
|
}
|
|
14533
|
-
|
|
14534
|
-
return `${capitalized}. ${this.external ? `${this.accessibleLabelExternal}.` : ""}`;
|
|
14589
|
+
return null;
|
|
14535
14590
|
}
|
|
14536
14591
|
renderContent() {
|
|
14537
14592
|
return (hAsync(Fragment, null, hAsync("span", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), Build.isBrowser ));
|
|
@@ -15865,6 +15920,7 @@ class DuetMultiselect {
|
|
|
15865
15920
|
componentWillLoad() {
|
|
15866
15921
|
inheritGlobalTheme(this);
|
|
15867
15922
|
this.isCaptionVisible = !!this.caption;
|
|
15923
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
15868
15924
|
this.refresh();
|
|
15869
15925
|
}
|
|
15870
15926
|
connectedCallback() {
|
|
@@ -15902,7 +15958,7 @@ class DuetMultiselect {
|
|
|
15902
15958
|
"duet-theme-turva": this.theme === "turva",
|
|
15903
15959
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
15904
15960
|
"has-error": !!this.error,
|
|
15905
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("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 && (hAsync("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { name: "tooltip"
|
|
15961
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("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 && (hAsync("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { name: "tooltip" }), this.caption && (hAsync("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { class: "duet-multiselect-wrapper" }, hAsync("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 }, hAsync("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 && (hAsync("span", { class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", null, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("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" }, hAsync("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" }))), hAsync("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
15906
15962
|
"duet-multiselect-checkboxes": true,
|
|
15907
15963
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
15908
15964
|
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (hAsync("div", { class: "duet-multiselect-all-control-buttons" }, hAsync("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("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 &&
|
|
@@ -15951,7 +16007,7 @@ class DuetMultiselect {
|
|
|
15951
16007
|
}; }
|
|
15952
16008
|
}
|
|
15953
16009
|
|
|
15954
|
-
const duetNavCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-nav,*.sc-duet-nav::after,*.sc-duet-nav::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-nav-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}/*!@slot[name=mobile]*/slot[name=mobile].sc-duet-nav{display:inherit}/*!@slot[name=desktop]*/slot[name=desktop].sc-duet-nav{display:none}@media (min-width: 62em){/*!@slot[name=mobile]*/slot[name=mobile].sc-duet-nav{display:none}/*!@slot[name=desktop]*/slot[name=desktop].sc-duet-nav{display:inherit}}";
|
|
16010
|
+
const duetNavCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-nav,*.sc-duet-nav::after,*.sc-duet-nav::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-nav-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%}/*!@.container*/.container.sc-duet-nav{position:relative;z-index:400}/*!@slot[name=mobile]*/slot[name=mobile].sc-duet-nav{display:inherit}/*!@slot[name=desktop]*/slot[name=desktop].sc-duet-nav{display:none}@media (min-width: 62em){/*!@slot[name=mobile]*/slot[name=mobile].sc-duet-nav{display:none}/*!@slot[name=desktop]*/slot[name=desktop].sc-duet-nav{display:inherit}}";
|
|
15955
16011
|
|
|
15956
16012
|
/**
|
|
15957
16013
|
* @slot default - Slot for keyboard accessible initially hidden links. Use duet-link with tab-to-link attribute.
|
|
@@ -15974,7 +16030,7 @@ class DuetNav {
|
|
|
15974
16030
|
* Always the last one in the class.
|
|
15975
16031
|
*/
|
|
15976
16032
|
render() {
|
|
15977
|
-
return (hAsync(Host, null, hAsync("div",
|
|
16033
|
+
return (hAsync(Host, null, hAsync("div", { class: "container" }, hAsync("slot", null), hAsync("slot", { name: "mobile" }), hAsync("slot", { name: "desktop" }))));
|
|
15978
16034
|
}
|
|
15979
16035
|
get element() { return getElement(this); }
|
|
15980
16036
|
static get style() { return duetNavCss; }
|
|
@@ -16499,6 +16555,7 @@ class DuetNumberInput {
|
|
|
16499
16555
|
if (this.value) {
|
|
16500
16556
|
this.value = this.localizeValue(SafeParseFloat(this.value, this.locale));
|
|
16501
16557
|
}
|
|
16558
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
16502
16559
|
}
|
|
16503
16560
|
connectedCallback() {
|
|
16504
16561
|
connectLanguageChangeObserver(this, [
|
|
@@ -18672,7 +18729,7 @@ class DuetProgress {
|
|
|
18672
18729
|
}; }
|
|
18673
18730
|
}
|
|
18674
18731
|
|
|
18675
|
-
const duetPromoCardCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-promo-card,*.sc-duet-promo-card::after,*.sc-duet-promo-card::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-promo-card-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}/*!@:host:last-child, :host:last-of-type*/.sc-duet-promo-card-h:last-child,.sc-duet-promo-card-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-promo-card-h{margin:0 !important}/*!@.duet-promo-card*/.duet-promo-card.sc-duet-promo-card{display:flex;flex-direction:column;width:100%;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-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}/*!@.duet-promo-card.duet-p-0*/.duet-promo-card.duet-p-0.sc-duet-promo-card{padding:0 !important}/*!@.duet-promo-card.duet-m-0*/.duet-promo-card.duet-m-0.sc-duet-promo-card{margin:0 !important}/*!@.duet-promo-card .content-wrapper*/.duet-promo-card.sc-duet-promo-card .content-wrapper.sc-duet-promo-card{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}/*!@.duet-promo-card .content-wrapper:focus*/.duet-promo-card.sc-duet-promo-card .content-wrapper.sc-duet-promo-card:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-promo-card .image*/.duet-promo-card.sc-duet-promo-card .image.sc-duet-promo-card{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}/*!@.duet-promo-card .content*/.duet-promo-card.sc-duet-promo-card .content.sc-duet-promo-card{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){/*!@.duet-promo-card .content*/.duet-promo-card.sc-duet-promo-card .content.sc-duet-promo-card{padding:28px}}/*!@.duet-promo-card .action*/.duet-promo-card.sc-duet-promo-card .action.sc-duet-promo-card{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}/*!@.duet-promo-card.no-bg-color .content*/.duet-promo-card.no-bg-color.sc-duet-promo-card .content.sc-duet-promo-card{padding:20px 0 0}/*!@.duet-promo-card.no-bg-color .image*/.duet-promo-card.no-bg-color.sc-duet-promo-card .image.sc-duet-promo-card{border-radius:16px}/*!@.duet-promo-card.duet-theme-turva*/.duet-promo-card.duet-theme-turva.sc-duet-promo-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-promo-card.duet-theme-turva .content-wrapper:focus*/.duet-promo-card.duet-theme-turva.sc-duet-promo-card .content-wrapper.sc-duet-promo-card:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
18732
|
+
const duetPromoCardCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-promo-card,*.sc-duet-promo-card::after,*.sc-duet-promo-card::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-promo-card-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}/*!@:host:last-child, :host:last-of-type*/.sc-duet-promo-card-h:last-child,.sc-duet-promo-card-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-promo-card-h{margin:0 !important}/*!@.duet-promo-card*/.duet-promo-card.sc-duet-promo-card{display:flex;flex-direction:column;width:100%;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-style:normal;color:rgb(0, 41, 77);text-align:left;border-radius:20px}/*!@.duet-promo-card.duet-p-0*/.duet-promo-card.duet-p-0.sc-duet-promo-card{padding:0 !important}/*!@.duet-promo-card.duet-m-0*/.duet-promo-card.duet-m-0.sc-duet-promo-card{margin:0 !important}/*!@.duet-promo-card .content-wrapper*/.duet-promo-card.sc-duet-promo-card .content-wrapper.sc-duet-promo-card{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none}/*!@.duet-promo-card .content-wrapper:focus*/.duet-promo-card.sc-duet-promo-card .content-wrapper.sc-duet-promo-card:focus{border-radius:20px;outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-promo-card .image*/.duet-promo-card.sc-duet-promo-card .image.sc-duet-promo-card{position:relative;width:100%;overflow:hidden;border-top-left-radius:20px;border-top-right-radius:20px;object-fit:cover}/*!@.duet-promo-card .content*/.duet-promo-card.sc-duet-promo-card .content.sc-duet-promo-card{display:flex;flex-direction:column;flex-grow:1;gap:8px;padding:20px}@media (min-width: 36em){/*!@.duet-promo-card .content*/.duet-promo-card.sc-duet-promo-card .content.sc-duet-promo-card{padding:28px}}/*!@.duet-promo-card .action*/.duet-promo-card.sc-duet-promo-card .action.sc-duet-promo-card{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}/*!@.duet-promo-card.no-bg-color .content*/.duet-promo-card.no-bg-color.sc-duet-promo-card .content.sc-duet-promo-card{padding:20px 0 0}/*!@.duet-promo-card.no-bg-color .image*/.duet-promo-card.no-bg-color.sc-duet-promo-card .image.sc-duet-promo-card{border-radius:16px}/*!@.duet-promo-card.duet-theme-turva*/.duet-promo-card.duet-theme-turva.sc-duet-promo-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-promo-card.duet-theme-turva .content-wrapper:focus*/.duet-promo-card.duet-theme-turva.sc-duet-promo-card .content-wrapper.sc-duet-promo-card:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-promo-card-link*/.duet-promo-card-link.sc-duet-promo-card{transition:box-shadow 300ms ease}/*!@.duet-promo-card-link:hover*/.duet-promo-card-link.sc-duet-promo-card:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}/*!@.duet-promo-card-link:hover.duet-theme-turva*/.duet-promo-card-link.sc-duet-promo-card:hover.duet-theme-turva{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}";
|
|
18676
18733
|
|
|
18677
18734
|
/**
|
|
18678
18735
|
* @slot pre-heading - Slot for pre-heading content.
|
|
@@ -18696,13 +18753,17 @@ class DuetPromoCard {
|
|
|
18696
18753
|
*/
|
|
18697
18754
|
componentWillLoad() {
|
|
18698
18755
|
inheritGlobalTheme(this);
|
|
18699
|
-
this.hasPreHeadingSlot =
|
|
18700
|
-
this.hasHeadingSlot =
|
|
18701
|
-
this.hasDescriptionSlot =
|
|
18702
|
-
this.hasActionSlot =
|
|
18756
|
+
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
18757
|
+
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
18758
|
+
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
18759
|
+
this.hasActionSlot = hasSlot(this.element, "action");
|
|
18760
|
+
checkNamedSlotElement(this.element, "heading", "span");
|
|
18761
|
+
checkNamedSlotElement(this.element, "description", "span");
|
|
18703
18762
|
}
|
|
18704
18763
|
/**
|
|
18705
|
-
* Sets focus on underlying a element
|
|
18764
|
+
* Sets focus on underlying a element.
|
|
18765
|
+
* Available only when url attribute is used.
|
|
18766
|
+
* Use this method instead of the native `focus()`.
|
|
18706
18767
|
*/
|
|
18707
18768
|
async setFocus(options) {
|
|
18708
18769
|
if (this.url && this.aOrDivElement) {
|
|
@@ -18723,7 +18784,8 @@ class DuetPromoCard {
|
|
|
18723
18784
|
"duet-promo-card": true,
|
|
18724
18785
|
"duet-theme-turva": this.theme === "turva",
|
|
18725
18786
|
"no-bg-color": !this.backgroundColor,
|
|
18726
|
-
|
|
18787
|
+
"duet-promo-card-link": !!this.url,
|
|
18788
|
+
}, style: bannerStyles }, hAsync(TagName, { href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { class: "pre-heading" }, hAsync("slot", { name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { class: "heading" }, hAsync("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", null, hAsync("slot", { name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { class: "description" }, hAsync("duet-paragraph", { theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", null, hAsync("slot", { name: "description" }))))), this.hasActionSlot && (hAsync("div", { class: "action" }, hAsync("slot", { name: "action" }))))))));
|
|
18727
18789
|
}
|
|
18728
18790
|
get element() { return getElement(this); }
|
|
18729
18791
|
static get style() { return duetPromoCardCss; }
|
|
@@ -18950,6 +19012,7 @@ class DuetRadioGroup {
|
|
|
18950
19012
|
}
|
|
18951
19013
|
componentWillLoad() {
|
|
18952
19014
|
inheritGlobalTheme(this);
|
|
19015
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
18953
19016
|
}
|
|
18954
19017
|
/**
|
|
18955
19018
|
* Local methods.
|
|
@@ -19688,6 +19751,7 @@ class DuetSelect {
|
|
|
19688
19751
|
componentWillLoad() {
|
|
19689
19752
|
inheritGlobalTheme(this);
|
|
19690
19753
|
this.isCaptionVisible = !!this.caption;
|
|
19754
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
19691
19755
|
this.refresh();
|
|
19692
19756
|
}
|
|
19693
19757
|
/**
|
|
@@ -19941,7 +20005,7 @@ class DuetShowMore {
|
|
|
19941
20005
|
}; }
|
|
19942
20006
|
}
|
|
19943
20007
|
|
|
19944
|
-
const duetSlideoutCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-slideout,*.sc-duet-slideout::after,*.sc-duet-slideout::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-slideout-h{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(*)*/.sc-duet-slideout-s>*{position:relative;width:100%;visibility:hidden;opacity:0}/*!@:host([open]) ::slotted(*)*/.sc-duet-slideout-h[open] .sc-duet-slideout-s>*{visibility:visible;opacity:1}/*!@:host(:not([open])) ::slotted(duet-slideout-panel)*/.sc-duet-slideout-h:not([open]) .sc-duet-slideout-s>duet-slideout-panel{display:none}/*!@.duet-slideout*/.duet-slideout.sc-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*/.duet-slideout.duet-theme-turva.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout{display:none}@media (min-width: 62em){/*!@.duet-slideout .desktop-bg*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout{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)*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){/*!@.duet-slideout.duet-theme-turva .desktop-bg*/.duet-slideout.duet-theme-turva.sc-duet-slideout .desktop-bg.sc-duet-slideout{background:rgba(23, 28, 58, 0.6)}}/*!@.duet-slideout .dialog*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout{position:sticky;top:0;z-index:200}/*!@.duet-slideout .dialog .top-container.has-sticky-header-slot .top*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout .top.sc-duet-slideout{background:rgb(243, 249, 252)}/*!@.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout .sticky-header.sc-duet-slideout{display:block}/*!@.duet-slideout .dialog .top*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}/*!@.duet-slideout .dialog .top button*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout{cursor:pointer}/*!@.duet-slideout .dialog .top button:focus*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout: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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout duet-icon.sc-duet-slideout{padding:16px}/*!@.duet-slideout .dialog .sticky-header*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .sticky-header.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .items.sc-duet-slideout{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}/*!@.duet-slideout .dialog.hidden*/.duet-slideout.sc-duet-slideout .dialog.hidden.sc-duet-slideout{pointer-events:none;visibility:hidden}@media (min-width: 62em){/*!@.duet-slideout .dialog.hidden*/.duet-slideout.sc-duet-slideout .dialog.hidden.sc-duet-slideout{right:-500px;transition:300ms ease}}/*!@.duet-slideout.duet-theme-turva .dialog*/.duet-slideout.duet-theme-turva.sc-duet-slideout .dialog.sc-duet-slideout{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}/*!@.duet-slideout.duet-theme-turva button*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.sc-duet-slideout{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*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.sc-duet-slideout: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*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.active.sc-duet-slideout{color:rgb(198, 12, 48)}/*!@.duet-slideout.duet-theme-turva button.active::after*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.active.sc-duet-slideout::after{background:rgb(198, 12, 48)}/*!@.duet-slideout.duet-theme-turva .has-sticky-header-slot .top*/.duet-slideout.duet-theme-turva.sc-duet-slideout .has-sticky-header-slot.sc-duet-slideout .top.sc-duet-slideout{background:rgb(245, 245, 247)}/*!@.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header*/.duet-slideout.duet-theme-turva.sc-duet-slideout .has-sticky-header-slot.sc-duet-slideout .sticky-header.sc-duet-slideout{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}/*!@.duet-slideout.duet-theme-turva .dialog .top button:focus*/.duet-slideout.duet-theme-turva.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@slot*/slot.sc-duet-slideout{color:rgb(0, 41, 77)}/*!@.duet-theme-turva slot*/.duet-theme-turva.sc-duet-slideout slot.sc-duet-slideout{color:rgb(23, 28, 58)}";
|
|
20008
|
+
const duetSlideoutCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-slideout,*.sc-duet-slideout::after,*.sc-duet-slideout::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-slideout-h{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(*)*/.sc-duet-slideout-s>*{position:relative;width:100%;visibility:hidden;opacity:0}/*!@:host([open]:not([open=false])) ::slotted(*)*/.sc-duet-slideout-h[open]:not([open=false]) .sc-duet-slideout-s>*{visibility:visible;opacity:1}/*!@:host(:not([open])) ::slotted(duet-slideout-panel)*/.sc-duet-slideout-h:not([open]) .sc-duet-slideout-s>duet-slideout-panel{display:none}/*!@.duet-slideout*/.duet-slideout.sc-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*/.duet-slideout.duet-theme-turva.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout{display:none}@media (min-width: 62em){/*!@.duet-slideout .desktop-bg*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout{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)*/.duet-slideout.sc-duet-slideout .desktop-bg.sc-duet-slideout:not(.hidden){visibility:visible;opacity:1;transition:600ms ease}}@media (min-width: 62em){/*!@.duet-slideout.duet-theme-turva .desktop-bg*/.duet-slideout.duet-theme-turva.sc-duet-slideout .desktop-bg.sc-duet-slideout{background:rgba(23, 28, 58, 0.6)}}/*!@.duet-slideout .dialog*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout{position:sticky;top:0;z-index:200}/*!@.duet-slideout .dialog .top-container.has-sticky-header-slot .top*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout .top.sc-duet-slideout{background:rgb(243, 249, 252)}/*!@.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top-container.has-sticky-header-slot.sc-duet-slideout .sticky-header.sc-duet-slideout{display:block}/*!@.duet-slideout .dialog .top*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}/*!@.duet-slideout .dialog .top button*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout{cursor:pointer}/*!@.duet-slideout .dialog .top button:focus*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout: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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout duet-icon.sc-duet-slideout{padding:16px}/*!@.duet-slideout .dialog .sticky-header*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .sticky-header.sc-duet-slideout{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*/.duet-slideout.sc-duet-slideout .dialog.sc-duet-slideout .items.sc-duet-slideout{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}/*!@.duet-slideout .dialog.hidden*/.duet-slideout.sc-duet-slideout .dialog.hidden.sc-duet-slideout{pointer-events:none;visibility:hidden}@media (min-width: 62em){/*!@.duet-slideout .dialog.hidden*/.duet-slideout.sc-duet-slideout .dialog.hidden.sc-duet-slideout{right:-500px;transition:300ms ease}}/*!@.duet-slideout.duet-theme-turva .dialog*/.duet-slideout.duet-theme-turva.sc-duet-slideout .dialog.sc-duet-slideout{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}/*!@.duet-slideout.duet-theme-turva button*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.sc-duet-slideout{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*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.sc-duet-slideout: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*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.active.sc-duet-slideout{color:rgb(198, 12, 48)}/*!@.duet-slideout.duet-theme-turva button.active::after*/.duet-slideout.duet-theme-turva.sc-duet-slideout button.active.sc-duet-slideout::after{background:rgb(198, 12, 48)}/*!@.duet-slideout.duet-theme-turva .has-sticky-header-slot .top*/.duet-slideout.duet-theme-turva.sc-duet-slideout .has-sticky-header-slot.sc-duet-slideout .top.sc-duet-slideout{background:rgb(245, 245, 247)}/*!@.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header*/.duet-slideout.duet-theme-turva.sc-duet-slideout .has-sticky-header-slot.sc-duet-slideout .sticky-header.sc-duet-slideout{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}/*!@.duet-slideout.duet-theme-turva .dialog .top button:focus*/.duet-slideout.duet-theme-turva.sc-duet-slideout .dialog.sc-duet-slideout .top.sc-duet-slideout button.sc-duet-slideout:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@slot*/slot.sc-duet-slideout{color:rgb(0, 41, 77)}/*!@.duet-theme-turva slot*/.duet-theme-turva.sc-duet-slideout slot.sc-duet-slideout{color:rgb(23, 28, 58)}";
|
|
19945
20009
|
|
|
19946
20010
|
/**
|
|
19947
20011
|
* @slot sticky-header - Content will be fixed to the top of the modal when scrolling.
|
|
@@ -19974,6 +20038,13 @@ class DuetSlideout {
|
|
|
19974
20038
|
}
|
|
19975
20039
|
catch (_e) { }
|
|
19976
20040
|
};
|
|
20041
|
+
this.setStickHeaderStyleMutations = (clean = false) => {
|
|
20042
|
+
const stickyHeaderTabGroups = this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');
|
|
20043
|
+
stickyHeaderTabGroups.forEach(tabGroup => {
|
|
20044
|
+
tabGroup.style.position = clean ? null : "relative";
|
|
20045
|
+
tabGroup.style.top = clean ? null : "1px";
|
|
20046
|
+
});
|
|
20047
|
+
};
|
|
19977
20048
|
this.openButtonEventListener = (e) => {
|
|
19978
20049
|
e.stopPropagation();
|
|
19979
20050
|
e.preventDefault();
|
|
@@ -20030,6 +20101,7 @@ class DuetSlideout {
|
|
|
20030
20101
|
if (this.openButton) {
|
|
20031
20102
|
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
20032
20103
|
}
|
|
20104
|
+
this.setStickHeaderStyleMutations(true);
|
|
20033
20105
|
}
|
|
20034
20106
|
handleOpenChange(newValue, oldValue) {
|
|
20035
20107
|
if (!!newValue === !!oldValue) {
|
|
@@ -20269,8 +20341,11 @@ class DuetSlideoutLink {
|
|
|
20269
20341
|
}; }
|
|
20270
20342
|
}
|
|
20271
20343
|
|
|
20272
|
-
const duetSlideoutPanelCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-slideout-panel,*.sc-duet-slideout-panel::after,*.sc-duet-slideout-panel::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-slideout-panel-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}/*!@:host slot:not([name=label])::slotted(*)*/.sc-duet-slideout-panel-h slot:not([name=label]).sc-duet-slideout-panel-s>*{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(*)*/.sc-duet-slideout-panel-h[open] slot:not([name=label]).sc-duet-slideout-panel-s>*{top:0;opacity:1}/*!@.duet-slideout-panel*/.duet-slideout-panel.sc-duet-slideout-panel{position:relative;height:100%}/*!@.duet-slideout-panel .link*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}/*!@.duet-slideout-panel .link .label*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label.sc-duet-slideout-panel{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}/*!@.duet-slideout-panel .link .label-text.small*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.small.sc-duet-slideout-panel{font-size:1rem;font-weight:600}/*!@.duet-slideout-panel .link .label-text.medium*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.medium.sc-duet-slideout-panel{font-size:1.25rem;font-weight:600}/*!@.duet-slideout-panel .link .label-text.large*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.large.sc-duet-slideout-panel{font-size:1.5rem;font-weight:800}/*!@.duet-slideout-panel .link:focus*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-slideout-panel .link.active .label-text*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel{position:relative}/*!@.duet-slideout-panel .link.active .label-text.small::after*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.small.sc-duet-slideout-panel::after{height:1px;transform:translateY(1px)}/*!@.duet-slideout-panel .link.active .label-text::after*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}/*!@.duet-slideout-panel .dialog*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.sc-duet-slideout-panel{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}/*!@.duet-slideout-panel .dialog.hidden*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel{visibility:hidden}/*!@.duet-slideout-panel .dialog.hidden .top .back,\n.duet-slideout-panel .dialog.hidden .top span*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel,.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{opacity:0}/*!@.duet-slideout-panel .top*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel{display:flex;align-items:center;justify-content:space-between;padding:4px}/*!@.duet-slideout-panel .top .back*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}/*!@.duet-slideout-panel .top .back:focus,\n.duet-slideout-panel .top .close:focus*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel:focus,.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .close.sc-duet-slideout-panel:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-slideout-panel .top duet-icon*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel duet-icon.sc-duet-slideout-panel{padding:16px}/*!@.duet-slideout-panel .top span*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}/*!@.duet-slideout-panel .items*/.duet-slideout-panel.sc-duet-slideout-panel .items.sc-duet-slideout-panel{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}/*!@.duet-slideout-panel.duet-theme-turva .link*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.sc-duet-slideout-panel{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}/*!@.duet-slideout-panel.duet-theme-turva .link:focus*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.sc-duet-slideout-panel:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-slideout-panel.duet-theme-turva .link.active .label-text::after*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel::after{background:rgb(198, 12, 48)}/*!@.duet-slideout-panel.duet-theme-turva .top .back:focus,\n.duet-slideout-panel.duet-theme-turva .top .close:focus*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel:focus,.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel .close.sc-duet-slideout-panel:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-slideout-panel.duet-theme-turva .top span*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}/*!@slot:not([name=label])*/slot.sc-duet-slideout-panel:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}/*!@.duet-theme-turva slot:not([name=label])*/.duet-theme-turva.sc-duet-slideout-panel slot.sc-duet-slideout-panel:not([name=label]){color:rgb(23, 28, 58)}";
|
|
20344
|
+
const duetSlideoutPanelCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-slideout-panel,*.sc-duet-slideout-panel::after,*.sc-duet-slideout-panel::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-slideout-panel-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}/*!@:host slot:not([name=label])::slotted(*)*/.sc-duet-slideout-panel-h slot:not([name=label]).sc-duet-slideout-panel-s>*{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(*)*/.sc-duet-slideout-panel-h[open] slot:not([name=label]).sc-duet-slideout-panel-s>*{top:0;opacity:1}/*!@.duet-slideout-panel*/.duet-slideout-panel.sc-duet-slideout-panel{position:relative;height:100%}/*!@.duet-slideout-panel .link*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}/*!@.duet-slideout-panel .link .label*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label.sc-duet-slideout-panel{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}/*!@.duet-slideout-panel .link .label-text.small*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.small.sc-duet-slideout-panel{font-size:1rem;font-weight:600}/*!@.duet-slideout-panel .link .label-text.medium*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.medium.sc-duet-slideout-panel{font-size:1.25rem;font-weight:600}/*!@.duet-slideout-panel .link .label-text.large*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel .label-text.large.sc-duet-slideout-panel{font-size:1.5rem;font-weight:800}/*!@.duet-slideout-panel .link:focus*/.duet-slideout-panel.sc-duet-slideout-panel .link.sc-duet-slideout-panel:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-slideout-panel .link.active .label-text*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel{position:relative}/*!@.duet-slideout-panel .link.active .label-text.small::after*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.small.sc-duet-slideout-panel::after{height:1px;transform:translateY(1px)}/*!@.duet-slideout-panel .link.active .label-text::after*/.duet-slideout-panel.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}/*!@.duet-slideout-panel .dialog*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.sc-duet-slideout-panel{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}/*!@.duet-slideout-panel .dialog.hidden*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel{visibility:hidden}/*!@.duet-slideout-panel .dialog.hidden .top .back,\n.duet-slideout-panel .dialog.hidden .top span*/.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel,.duet-slideout-panel.sc-duet-slideout-panel .dialog.hidden.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{opacity:0}/*!@.duet-slideout-panel .top-container.has-sticky-header-slot*/.duet-slideout-panel.sc-duet-slideout-panel .top-container.has-sticky-header-slot.sc-duet-slideout-panel{position:sticky;top:0;z-index:200}/*!@.duet-slideout-panel .top-container.has-sticky-header-slot .top*/.duet-slideout-panel.sc-duet-slideout-panel .top-container.has-sticky-header-slot.sc-duet-slideout-panel .top.sc-duet-slideout-panel{background:rgb(243, 249, 252)}/*!@.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header*/.duet-slideout-panel.sc-duet-slideout-panel .top-container.has-sticky-header-slot.sc-duet-slideout-panel .sticky-header.sc-duet-slideout-panel{display:block;padding:0 16px}/*!@.duet-slideout-panel .top*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel{display:flex;align-items:center;justify-content:space-between;padding:4px}/*!@.duet-slideout-panel .top .back*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}/*!@.duet-slideout-panel .top .back:focus,\n.duet-slideout-panel .top .close:focus*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel:focus,.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel .close.sc-duet-slideout-panel:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-slideout-panel .top duet-icon*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel duet-icon.sc-duet-slideout-panel{padding:16px}/*!@.duet-slideout-panel .top span*/.duet-slideout-panel.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(0, 41, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}/*!@.duet-slideout-panel .sticky-header*/.duet-slideout-panel.sc-duet-slideout-panel .sticky-header.sc-duet-slideout-panel{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-panel .items*/.duet-slideout-panel.sc-duet-slideout-panel .items.sc-duet-slideout-panel{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(0, 41, 77)}/*!@.duet-slideout-panel.duet-theme-turva .link*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.sc-duet-slideout-panel{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}/*!@.duet-slideout-panel.duet-theme-turva .link:focus*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.sc-duet-slideout-panel:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-slideout-panel.duet-theme-turva .link.active .label-text::after*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .link.active.sc-duet-slideout-panel .label-text.sc-duet-slideout-panel::after{background:rgb(198, 12, 48)}/*!@.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .has-sticky-header-slot.sc-duet-slideout-panel .top.sc-duet-slideout-panel{background:rgb(245, 245, 247)}/*!@.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .has-sticky-header-slot.sc-duet-slideout-panel .sticky-header.sc-duet-slideout-panel{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}/*!@.duet-slideout-panel.duet-theme-turva .top .back:focus,\n.duet-slideout-panel.duet-theme-turva .top .close:focus*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel .back.sc-duet-slideout-panel:focus,.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel .close.sc-duet-slideout-panel:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-slideout-panel.duet-theme-turva .top span*/.duet-slideout-panel.duet-theme-turva.sc-duet-slideout-panel .top.sc-duet-slideout-panel span.sc-duet-slideout-panel{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}/*!@slot:not([name=label])*/slot.sc-duet-slideout-panel:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(0, 41, 77)}/*!@.duet-theme-turva slot:not([name=label])*/.duet-theme-turva.sc-duet-slideout-panel slot.sc-duet-slideout-panel:not([name=label]){color:rgb(23, 28, 58)}";
|
|
20273
20345
|
|
|
20346
|
+
/**
|
|
20347
|
+
* @slot sticky-header - Content will be fixed to the top of the modal when scrolling.
|
|
20348
|
+
*/
|
|
20274
20349
|
class DuetSlideoutPanel {
|
|
20275
20350
|
constructor(hostRef) {
|
|
20276
20351
|
registerInstance(this, hostRef);
|
|
@@ -20284,6 +20359,7 @@ class DuetSlideoutPanel {
|
|
|
20284
20359
|
fi: "Takaisin päävalikkoon",
|
|
20285
20360
|
sv: "Tillbaka till huvudmenyn",
|
|
20286
20361
|
};
|
|
20362
|
+
this.hasStickyHeaderSlot = false;
|
|
20287
20363
|
this.updateLabel = () => {
|
|
20288
20364
|
const labelSlotElement = this.element.querySelector("[slot='label']");
|
|
20289
20365
|
this.label = labelSlotElement;
|
|
@@ -20335,6 +20411,7 @@ class DuetSlideoutPanel {
|
|
|
20335
20411
|
componentWillLoad() {
|
|
20336
20412
|
inheritGlobalTheme(this);
|
|
20337
20413
|
this.updateLabel();
|
|
20414
|
+
this.hasStickyHeaderSlot = hasSlot(this.element, "sticky-header");
|
|
20338
20415
|
}
|
|
20339
20416
|
connectedCallback() {
|
|
20340
20417
|
connectLanguageChangeObserver(this);
|
|
@@ -20379,12 +20456,12 @@ class DuetSlideoutPanel {
|
|
|
20379
20456
|
} }, hAsync("button", { ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
20380
20457
|
link: true,
|
|
20381
20458
|
active: this.active,
|
|
20382
|
-
}, onClick: this.onToggleClick, inert: this.open }, this.icon && hAsync("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("
|
|
20459
|
+
}, onClick: this.onToggleClick, inert: this.open }, this.icon && hAsync("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { class: "label" }, hAsync("span", { class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { name: "label" })), hAsync("duet-icon", { class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { class: {
|
|
20383
20460
|
dialog: true,
|
|
20384
20461
|
hidden: !this.open,
|
|
20385
|
-
}, style: styles }, hAsync(FocusGuard, { moveFocusTo: this.closeButton }), hAsync("div", { class: "top" }, hAsync("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
20462
|
+
}, style: styles }, hAsync(FocusGuard, { moveFocusTo: this.closeButton }), hAsync("div", { class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { class: "top" }, hAsync("button", { ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
20386
20463
|
back: true,
|
|
20387
|
-
}, onClick: this.onToggleClick }, hAsync("duet-icon", { class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", null, this.label.innerHTML), hAsync("button", { class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20464
|
+
}, onClick: this.onToggleClick }, hAsync("duet-icon", { class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", null, this.label.innerHTML), hAsync("button", { class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { class: "sticky-header" }, hAsync("slot", { name: "sticky-header" }))), hAsync("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20388
20465
|
items: true,
|
|
20389
20466
|
} }, hAsync("slot", null)), hAsync(FocusGuard, { moveFocusTo: this.closeButton })))));
|
|
20390
20467
|
}
|
|
@@ -20456,7 +20533,7 @@ class DuetSlideoutPanelDropdown {
|
|
|
20456
20533
|
active: this.open,
|
|
20457
20534
|
} }, hAsync("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
20458
20535
|
active: this.active,
|
|
20459
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("
|
|
20536
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { class: "label" }, hAsync("slot", { name: "label" }), hAsync("duet-icon", { class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20460
20537
|
items: true,
|
|
20461
20538
|
hidden: !this.open,
|
|
20462
20539
|
} }, hAsync("slot", null)))));
|
|
@@ -21205,11 +21282,47 @@ class DuetSubmenuBarLink {
|
|
|
21205
21282
|
}; }
|
|
21206
21283
|
}
|
|
21207
21284
|
|
|
21208
|
-
const duetTabCss = ".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}";
|
|
21285
|
+
const duetTabCss = ".sc-duet-tab-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-tab.sc-duet-tab{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:none;width:100%}.duet-tab.selected.sc-duet-tab{display:block}.duet-tab.has-content-id.sc-duet-tab,.duet-tab.has-content-id.selected.sc-duet-tab{display:none}.user-is-tabbing.sc-duet-tab-h .duet-tab.sc-duet-tab:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-tab-h .duet-tab.duet-theme-turva.sc-duet-tab:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
21209
21286
|
|
|
21210
21287
|
class DuetTab {
|
|
21211
21288
|
constructor(hostRef) {
|
|
21212
21289
|
registerInstance(this, hostRef);
|
|
21290
|
+
this.setupContentElement = () => {
|
|
21291
|
+
if (this.contentId) {
|
|
21292
|
+
this.tabpanelElement = document.getElementById(this.contentId);
|
|
21293
|
+
if (this.tabpanelElement) {
|
|
21294
|
+
this.tabpanelElement.setAttribute("role", "tabpanel");
|
|
21295
|
+
this.tabpanelElement.setAttribute("tabindex", "-1");
|
|
21296
|
+
this.tabpanelElement.removeEventListener("focus", this.tabpanelElementFocusListener);
|
|
21297
|
+
this.tabpanelElement.removeEventListener("blur", this.tabpanelElementBlurListener);
|
|
21298
|
+
this.tabpanelElement.addEventListener("focus", this.tabpanelElementFocusListener);
|
|
21299
|
+
this.tabpanelElement.addEventListener("blur", this.tabpanelElementBlurListener);
|
|
21300
|
+
if (this.accessibleDescription) {
|
|
21301
|
+
this.tabpanelElement.setAttribute("aria-description", this.accessibleDescription);
|
|
21302
|
+
}
|
|
21303
|
+
if (this.accessibleLabelledBy) {
|
|
21304
|
+
this.tabpanelElement.setAttribute("aria-labelledby", this.accessibleLabelledBy);
|
|
21305
|
+
}
|
|
21306
|
+
if (this.selected) {
|
|
21307
|
+
this.tabpanelElement.toggleAttribute("hidden", false);
|
|
21308
|
+
}
|
|
21309
|
+
else {
|
|
21310
|
+
this.tabpanelElement.toggleAttribute("hidden", true);
|
|
21311
|
+
}
|
|
21312
|
+
}
|
|
21313
|
+
}
|
|
21314
|
+
};
|
|
21315
|
+
this.tabpanelElementFocusListener = () => {
|
|
21316
|
+
if (this.element.classList.contains("user-is-tabbing")) {
|
|
21317
|
+
this.tabpanelElement.style.outline = "0";
|
|
21318
|
+
this.tabpanelElement.style.boxShadow = getShadowByName(this.theme === "turva" ? "focus-turva" : "focus");
|
|
21319
|
+
}
|
|
21320
|
+
};
|
|
21321
|
+
this.tabpanelElementBlurListener = () => {
|
|
21322
|
+
this.tabpanelElement.style.outline = null;
|
|
21323
|
+
this.tabpanelElement.style.boxShadow = null;
|
|
21324
|
+
};
|
|
21325
|
+
this.theme = "";
|
|
21213
21326
|
this.label = undefined;
|
|
21214
21327
|
this.caption = undefined;
|
|
21215
21328
|
this.selected = undefined;
|
|
@@ -21219,15 +21332,44 @@ class DuetTab {
|
|
|
21219
21332
|
? getLocaleString(this.accessibleDescriptionDefault)
|
|
21220
21333
|
: null;
|
|
21221
21334
|
this.accessibleLabelledBy = undefined;
|
|
21335
|
+
this.contentId = undefined;
|
|
21336
|
+
}
|
|
21337
|
+
componentWillLoad() {
|
|
21338
|
+
inheritGlobalTheme(this);
|
|
21222
21339
|
}
|
|
21223
21340
|
/**
|
|
21224
21341
|
* Component lifecycle events.
|
|
21225
21342
|
*/
|
|
21226
21343
|
connectedCallback() {
|
|
21227
21344
|
connectLanguageChangeObserver(this, { prop: "accessibleDescription", defaults: "accessibleDescriptionDefault" });
|
|
21345
|
+
subscribeTabbingChange(this);
|
|
21346
|
+
this.setupContentElement();
|
|
21228
21347
|
}
|
|
21229
21348
|
disconnectedCallback() {
|
|
21230
21349
|
disconnectLanguageChangeObserver(this);
|
|
21350
|
+
unsubscribeTabbingChange(this);
|
|
21351
|
+
if (this.tabpanelElement) {
|
|
21352
|
+
this.tabpanelElement.removeAttribute("role");
|
|
21353
|
+
this.tabpanelElement.removeAttribute("tabindex");
|
|
21354
|
+
this.tabpanelElement.removeAttribute("aria-description");
|
|
21355
|
+
this.tabpanelElement.removeAttribute("aria-labelledby");
|
|
21356
|
+
this.tabpanelElement.removeAttribute("hidden");
|
|
21357
|
+
this.tabpanelElement.removeEventListener("focus", this.tabpanelElementFocusListener.bind(this));
|
|
21358
|
+
this.tabpanelElement.removeEventListener("blur", this.tabpanelElementBlurListener.bind(this));
|
|
21359
|
+
this.tabpanelElement = undefined;
|
|
21360
|
+
}
|
|
21361
|
+
}
|
|
21362
|
+
setupSelected(newValue, oldValue) {
|
|
21363
|
+
if (!!newValue === !!oldValue) {
|
|
21364
|
+
return;
|
|
21365
|
+
}
|
|
21366
|
+
this.setupContentElement();
|
|
21367
|
+
}
|
|
21368
|
+
/**
|
|
21369
|
+
* Sets focus on the tab panel.
|
|
21370
|
+
*/
|
|
21371
|
+
async setFocus(options) {
|
|
21372
|
+
this.tabpanelElement.focus(options);
|
|
21231
21373
|
}
|
|
21232
21374
|
/**
|
|
21233
21375
|
* render() function
|
|
@@ -21239,17 +21381,23 @@ class DuetTab {
|
|
|
21239
21381
|
}
|
|
21240
21382
|
}
|
|
21241
21383
|
get element() { return getElement(this); }
|
|
21384
|
+
static get watchers() { return {
|
|
21385
|
+
"selected": ["setupSelected"]
|
|
21386
|
+
}; }
|
|
21242
21387
|
static get style() { return duetTabCss; }
|
|
21243
21388
|
static get cmpMeta() { return {
|
|
21244
21389
|
"$flags$": 6,
|
|
21245
21390
|
"$tagName$": "duet-tab",
|
|
21246
21391
|
"$members$": {
|
|
21392
|
+
"theme": [1025],
|
|
21247
21393
|
"label": [513],
|
|
21248
21394
|
"caption": [513],
|
|
21249
21395
|
"selected": [516],
|
|
21250
21396
|
"accessibleDescriptionDefault": [1, "accessible-description-defaults"],
|
|
21251
21397
|
"accessibleDescription": [1025, "accessible-description"],
|
|
21252
|
-
"accessibleLabelledBy": [1, "accessible-labelled-by"]
|
|
21398
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
21399
|
+
"contentId": [1, "content-id"],
|
|
21400
|
+
"setFocus": [64]
|
|
21253
21401
|
},
|
|
21254
21402
|
"$listeners$": undefined,
|
|
21255
21403
|
"$lazyBundleId$": "-",
|
|
@@ -21281,6 +21429,10 @@ class DuetTabGroup {
|
|
|
21281
21429
|
else if (isArrowRightKey(ev) || isArrowDownKey(ev)) {
|
|
21282
21430
|
button = ev.target.nextElementSibling;
|
|
21283
21431
|
}
|
|
21432
|
+
if (isTabKey(ev) && !isShiftTabKey(ev)) {
|
|
21433
|
+
ev.preventDefault();
|
|
21434
|
+
this.element.querySelector("duet-tab[selected]").setFocus();
|
|
21435
|
+
}
|
|
21284
21436
|
if (button) {
|
|
21285
21437
|
ev.preventDefault();
|
|
21286
21438
|
button.click();
|
|
@@ -21313,7 +21465,7 @@ class DuetTabGroup {
|
|
|
21313
21465
|
};
|
|
21314
21466
|
this.renderTab = () => {
|
|
21315
21467
|
const renderedTabs = this.tabs.map((element, index) => {
|
|
21316
|
-
return (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex:
|
|
21468
|
+
return (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
21317
21469
|
"duet-p-0": this.padding === "none",
|
|
21318
21470
|
"duet-tab-button": true,
|
|
21319
21471
|
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
@@ -21471,7 +21623,7 @@ class DuetTabGroup {
|
|
|
21471
21623
|
"duet-tab-group-collapses": this.collapses,
|
|
21472
21624
|
}, ref: el => {
|
|
21473
21625
|
this.tabsContainer = el;
|
|
21474
|
-
} }, this.renderTab()), hAsync("div", {
|
|
21626
|
+
} }, this.renderTab()), hAsync("div", { class: {
|
|
21475
21627
|
"duet-tab-group-content": true,
|
|
21476
21628
|
"duet-m-0": this.margin === "none",
|
|
21477
21629
|
"checked-group-content": this.variation === "checked",
|
|
@@ -21736,6 +21888,7 @@ class DuetTextarea {
|
|
|
21736
21888
|
inheritGlobalTheme(this);
|
|
21737
21889
|
this.disallowedPatternChange();
|
|
21738
21890
|
this.isCaptionVisible = !!this.caption;
|
|
21891
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
21739
21892
|
if (this.counter && this.maxlength == null) {
|
|
21740
21893
|
console.warn("[DUET WARNING]: counter will only take effect if maxlength is set");
|
|
21741
21894
|
}
|
|
@@ -22039,7 +22192,7 @@ class DuetToolbarDropdown {
|
|
|
22039
22192
|
} }, hAsync("button", { ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
22040
22193
|
active: this.active,
|
|
22041
22194
|
open: this.open,
|
|
22042
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("
|
|
22195
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { class: "label" }, hAsync("slot", { name: "label" }), hAsync("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
22043
22196
|
items: true,
|
|
22044
22197
|
hidden: !this.open,
|
|
22045
22198
|
} }, hAsync("slot", null)))));
|
|
@@ -22192,13 +22345,21 @@ class DuetTooltip {
|
|
|
22192
22345
|
*/
|
|
22193
22346
|
this.openTooltip = () => {
|
|
22194
22347
|
this.active = true;
|
|
22195
|
-
|
|
22348
|
+
setTimeout(() => {
|
|
22349
|
+
this.contentEl.focus({ preventScroll: true });
|
|
22350
|
+
this.buttonActive = true;
|
|
22351
|
+
}, 200);
|
|
22196
22352
|
};
|
|
22197
22353
|
this.closeTooltip = (moveFocusToButton = false) => {
|
|
22198
22354
|
this.active = false;
|
|
22199
22355
|
if (moveFocusToButton) {
|
|
22200
|
-
|
|
22356
|
+
setTimeout(() => {
|
|
22357
|
+
this.buttonEl.setFocus({ preventScroll: true });
|
|
22358
|
+
}, 200);
|
|
22201
22359
|
}
|
|
22360
|
+
setTimeout(() => {
|
|
22361
|
+
this.buttonActive = false;
|
|
22362
|
+
}, 201);
|
|
22202
22363
|
setTimeout(() => {
|
|
22203
22364
|
this.updatePlacement();
|
|
22204
22365
|
}, 200);
|
|
@@ -22237,6 +22398,7 @@ class DuetTooltip {
|
|
|
22237
22398
|
this.tooltipX = undefined;
|
|
22238
22399
|
this.arrowX = undefined;
|
|
22239
22400
|
this.arrowY = undefined;
|
|
22401
|
+
this.buttonActive = undefined;
|
|
22240
22402
|
this.theme = "";
|
|
22241
22403
|
this.language = getLanguage();
|
|
22242
22404
|
this.accessibleLabelDefault = {
|
|
@@ -22265,25 +22427,13 @@ class DuetTooltip {
|
|
|
22265
22427
|
*/
|
|
22266
22428
|
componentWillLoad() {
|
|
22267
22429
|
inheritGlobalTheme(this);
|
|
22430
|
+
this.buttonActive = this.active;
|
|
22268
22431
|
}
|
|
22269
22432
|
async componentDidLoad() {
|
|
22270
22433
|
{
|
|
22271
22434
|
return;
|
|
22272
22435
|
}
|
|
22273
22436
|
}
|
|
22274
|
-
componentDidUpdate() {
|
|
22275
|
-
switch (this.focusTarget) {
|
|
22276
|
-
case "tooltip":
|
|
22277
|
-
// delay focus so button is correctly announced as "expanded"
|
|
22278
|
-
setTimeout(() => this.contentEl.focus({ preventScroll: true }));
|
|
22279
|
-
break;
|
|
22280
|
-
case "trigger":
|
|
22281
|
-
// delay focus so button is correctly announced as "collapsed"
|
|
22282
|
-
setTimeout(() => this.buttonEl.setFocus({ preventScroll: true }));
|
|
22283
|
-
break;
|
|
22284
|
-
}
|
|
22285
|
-
this.focusTarget = null;
|
|
22286
|
-
}
|
|
22287
22437
|
connectedCallback() {
|
|
22288
22438
|
connectLanguageChangeObserver(this, [
|
|
22289
22439
|
{ prop: "accessibleLabel", defaults: "accessibleLabelDefault" },
|
|
@@ -22374,7 +22524,8 @@ class DuetTooltip {
|
|
|
22374
22524
|
"tooltipY": [32],
|
|
22375
22525
|
"tooltipX": [32],
|
|
22376
22526
|
"arrowX": [32],
|
|
22377
|
-
"arrowY": [32]
|
|
22527
|
+
"arrowY": [32],
|
|
22528
|
+
"buttonActive": [32]
|
|
22378
22529
|
},
|
|
22379
22530
|
"$listeners$": [[9, "scroll", "onScroll"], [9, "resize", "handleWindowResize"], [4, "click", "handleDocumentClick"], [4, "keydown", "handleKeyDown"], [4, "tooltipPopupClosed", "handlePopupClose"]],
|
|
22380
22531
|
"$lazyBundleId$": "-",
|