@duetds/components 8.4.0 → 8.4.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 +35 -7
- package/lib/cjs/{common-strings-22c70ef0.js → common-strings-75850753.js} +7 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +16 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +14 -5
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -1
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-26803c28.js → focus-utils-327224fb.js} +1 -1
- package/lib/cjs/{index-4e1fe95e.js → index-f9de8fc6.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/common-strings.js +6 -1
- package/lib/collection/components/duet-banner/duet-banner.css +88 -14
- package/lib/collection/components/duet-banner/duet-banner.js +18 -5
- package/lib/collection/components/duet-link/duet-link.css +8 -4
- package/lib/collection/components/duet-link/duet-link.js +77 -3
- package/lib/collection/components/duet-notification/duet-notification.css +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +19 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +6 -6
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +12 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +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 +10 -10
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -2
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-item.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -3
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -18
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-9c0ce616.js → p-0ccedd20.js} +1 -1
- package/lib/dist-custom-elements/{p-88394bab.js → p-15060f3e.js} +10 -10
- package/lib/dist-custom-elements/{p-42a1b569.js → p-19e196d7.js} +2 -2
- package/lib/dist-custom-elements/{p-148fdc67.js → p-2a149fd8.js} +1 -1
- package/lib/dist-custom-elements/{p-a3651df3.js → p-2e054d37.js} +2 -2
- package/lib/dist-custom-elements/{p-e278477e.js → p-2e5140b1.js} +1 -1
- package/lib/dist-custom-elements/{p-42f3ff36.js → p-3b611f77.js} +1 -1
- package/lib/dist-custom-elements/{p-9448a82f.js → p-40c896f1.js} +1 -1
- package/lib/dist-custom-elements/{p-88ce5a27.js → p-44597ec8.js} +1 -1
- package/lib/dist-custom-elements/{p-54a40cbc.js → p-4b0c6729.js} +1 -1
- package/lib/dist-custom-elements/{p-0e584f41.js → p-4bff90c2.js} +1 -1
- package/lib/dist-custom-elements/{p-ffe65adf.js → p-4ef93ac1.js} +2 -2
- package/lib/dist-custom-elements/{p-b9f613f5.js → p-5230e644.js} +1 -1
- package/lib/dist-custom-elements/{p-0b90bbc2.js → p-57391cc8.js} +1 -1
- package/lib/dist-custom-elements/{p-7cf48950.js → p-5744809e.js} +1 -1
- package/lib/dist-custom-elements/{p-55dc7e3a.js → p-6542b17e.js} +1 -1
- package/lib/dist-custom-elements/{p-dd175a82.js → p-65c75ef9.js} +8 -8
- package/lib/dist-custom-elements/{p-fc352257.js → p-65d670a0.js} +5 -5
- package/lib/dist-custom-elements/{p-85712a7c.js → p-6c44ff37.js} +1 -1
- package/lib/dist-custom-elements/{p-604f5020.js → p-72e0efbc.js} +5 -5
- package/lib/dist-custom-elements/{p-581c0a5a.js → p-7a89935d.js} +1 -1
- package/lib/dist-custom-elements/{p-231e248d.js → p-8e5e3b4e.js} +5 -5
- package/lib/dist-custom-elements/{p-f38ed7fe.js → p-95fd6b77.js} +3 -3
- package/lib/dist-custom-elements/{p-5b7820b5.js → p-99feccb2.js} +1 -1
- package/lib/dist-custom-elements/{p-de066189.js → p-a6d6bf5b.js} +1 -1
- package/lib/dist-custom-elements/{p-4ab776f4.js → p-aa07d1a7.js} +7 -2
- package/lib/dist-custom-elements/{p-6cb11f93.js → p-c0e3f8a6.js} +1 -1
- package/lib/dist-custom-elements/{p-1166a31e.js → p-d696adf5.js} +2 -2
- package/lib/dist-custom-elements/{p-e47bf090.js → p-d91292b9.js} +1 -1
- package/lib/dist-custom-elements/{p-b68755bb.js → p-de784f1a.js} +1 -1
- package/lib/dist-custom-elements/{p-d07c620c.js → p-e1bb31ca.js} +5 -5
- package/lib/dist-custom-elements/{p-04647f60.js → p-ee4d3c46.js} +3 -3
- package/lib/dist-custom-elements/{p-8356d992.js → p-f6fffc84.js} +2 -2
- package/lib/dist-custom-elements/{p-440669fe.js → p-f70cdce4.js} +10 -10
- package/lib/dist-custom-elements/{p-d2dafb20.js → p-fe64b544.js} +18 -6
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-75350b07.entry.js → p-004adfad.entry.js} +1 -1
- package/lib/duet/{p-5a07838a.system.entry.js → p-0086f84d.system.entry.js} +1 -1
- package/lib/duet/{p-dc45b241.entry.js → p-01d4ec9a.entry.js} +1 -1
- package/lib/duet/{p-913b9c68.system.entry.js → p-0201d375.system.entry.js} +1 -1
- package/lib/duet/{p-62b76a24.system.entry.js → p-0506b997.system.entry.js} +1 -1
- package/lib/duet/{p-5f6619db.system.entry.js → p-0681edcd.system.entry.js} +1 -1
- package/lib/duet/{p-30174f82.system.entry.js → p-08708eb4.system.entry.js} +1 -1
- package/lib/duet/{p-a15bdee3.system.entry.js → p-0f667990.system.entry.js} +1 -1
- package/lib/duet/{p-fbede069.system.entry.js → p-0fa339a9.system.entry.js} +1 -1
- package/lib/duet/{p-e6beb82f.entry.js → p-0fc49dba.entry.js} +1 -1
- package/lib/duet/{p-468606ef.system.entry.js → p-10b4dd2b.system.entry.js} +1 -1
- package/lib/duet/{p-e5c75975.entry.js → p-11220124.entry.js} +1 -1
- package/lib/duet/{p-93950a7f.entry.js → p-17b7ba64.entry.js} +1 -1
- package/lib/duet/{p-c899df04.entry.js → p-18bc2b2f.entry.js} +1 -1
- package/lib/duet/{p-46c368b6.entry.js → p-19c965b5.entry.js} +1 -1
- package/lib/duet/{p-97af661b.system.entry.js → p-1aca2547.system.entry.js} +1 -1
- package/lib/duet/{p-e0befaf6.system.entry.js → p-1bce83be.system.entry.js} +1 -1
- package/lib/duet/{p-26c2008d.entry.js → p-1cacf327.entry.js} +1 -1
- package/lib/duet/{p-76f3d250.entry.js → p-1ed57d33.entry.js} +1 -1
- package/lib/duet/{p-a88d7e91.entry.js → p-20211120.entry.js} +1 -1
- package/lib/duet/{p-bb640b45.entry.js → p-214121e2.entry.js} +1 -1
- package/lib/duet/{p-c900f541.system.entry.js → p-2609cbef.system.entry.js} +1 -1
- package/lib/duet/{p-b57e1bac.system.entry.js → p-2663955a.system.entry.js} +1 -1
- package/lib/duet/{p-4c99d4e4.entry.js → p-26ed2d8a.entry.js} +1 -1
- package/lib/duet/{p-33ba6560.entry.js → p-284bcc14.entry.js} +1 -1
- package/lib/duet/{p-4c2964ba.system.entry.js → p-29e5a618.system.entry.js} +1 -1
- package/lib/duet/{p-560b0225.system.entry.js → p-2b05e7f2.system.entry.js} +1 -1
- package/lib/duet/{p-8b621333.system.entry.js → p-2b681fe9.system.entry.js} +1 -1
- package/lib/duet/{p-b2df2bb9.system.entry.js → p-2ccdffe3.system.entry.js} +1 -1
- package/lib/duet/{p-65bd8411.system.entry.js → p-2d5e65b9.system.entry.js} +1 -1
- package/lib/duet/{p-ea90f7c4.entry.js → p-30e523d0.entry.js} +1 -1
- package/lib/duet/{p-d9fd389c.entry.js → p-3106cd96.entry.js} +1 -1
- package/lib/duet/{p-b3af96a8.entry.js → p-34dd8057.entry.js} +1 -1
- package/lib/duet/{p-0c98eb74.system.entry.js → p-351dbf91.system.entry.js} +1 -1
- package/lib/duet/{p-6db50eea.entry.js → p-35ba024d.entry.js} +1 -1
- package/lib/duet/{p-79b1232f.entry.js → p-3626334d.entry.js} +1 -1
- package/lib/duet/{p-9ce07f50.entry.js → p-39a8acfe.entry.js} +1 -1
- package/lib/duet/{p-c19ce026.entry.js → p-3a42e1ad.entry.js} +1 -1
- package/lib/duet/{p-994d95e9.system.entry.js → p-3bcb8dde.system.entry.js} +1 -1
- package/lib/duet/{p-65a1a167.system.entry.js → p-3bfb8a8b.system.entry.js} +1 -1
- package/lib/duet/{p-1d032bb3.system.entry.js → p-3c4f16aa.system.entry.js} +1 -1
- package/lib/duet/{p-4594fdfc.system.entry.js → p-3caa2fe0.system.entry.js} +1 -1
- package/lib/duet/{p-a09d3878.entry.js → p-3cbad6d0.entry.js} +1 -1
- package/lib/duet/{p-36ca4962.system.entry.js → p-3d8d12ae.system.entry.js} +1 -1
- package/lib/duet/{p-fd6421e9.entry.js → p-403f1729.entry.js} +1 -1
- package/lib/duet/{p-aa840586.system.entry.js → p-40ec91af.system.entry.js} +1 -1
- package/lib/duet/{p-3b7af0aa.system.entry.js → p-41a45115.system.entry.js} +1 -1
- package/lib/duet/{p-8b01d018.entry.js → p-41f5841c.entry.js} +1 -1
- package/lib/duet/{p-13bdce94.entry.js → p-42529cf1.entry.js} +1 -1
- package/lib/duet/{p-e669b52a.entry.js → p-43b43c30.entry.js} +1 -1
- package/lib/duet/{p-8b310c25.system.entry.js → p-460e260b.system.entry.js} +1 -1
- package/lib/duet/{p-f36f6e98.js → p-46b89ca6.js} +1 -1
- package/lib/duet/{p-ed9d957f.system.entry.js → p-474c2b3a.system.entry.js} +1 -1
- package/lib/duet/p-47f5cc6a.entry.js +4 -0
- package/lib/duet/{p-378c88b0.system.entry.js → p-4c85aea8.system.entry.js} +1 -1
- package/lib/duet/{p-276fac2f.system.entry.js → p-4d7b03d6.system.entry.js} +1 -1
- package/lib/duet/{p-d56b354c.entry.js → p-4fd6f45a.entry.js} +1 -1
- package/lib/duet/{p-37b390b1.entry.js → p-556a9b8e.entry.js} +1 -1
- package/lib/duet/{p-1c5a34ec.system.entry.js → p-571a1255.system.entry.js} +1 -1
- package/lib/duet/{p-d257c333.system.entry.js → p-57a4f750.system.entry.js} +1 -1
- package/lib/duet/{p-99eb5647.entry.js → p-5ba285e6.entry.js} +1 -1
- package/lib/duet/{p-991f9b2e.entry.js → p-5c52a571.entry.js} +1 -1
- package/lib/duet/{p-f3a2cd70.entry.js → p-5caa2783.entry.js} +1 -1
- package/lib/duet/{p-6bad4da4.system.entry.js → p-5d1dd83e.system.entry.js} +1 -1
- package/lib/duet/{p-0d452219.entry.js → p-5fd0a40f.entry.js} +1 -1
- package/lib/duet/{p-ad6388ce.entry.js → p-60e4f666.entry.js} +1 -1
- package/lib/duet/{p-077c7ac7.entry.js → p-630d3a3a.entry.js} +1 -1
- package/lib/duet/{p-75f81010.system.entry.js → p-6315a118.system.entry.js} +1 -1
- package/lib/duet/{p-72bedacd.entry.js → p-63dfab5b.entry.js} +1 -1
- package/lib/duet/{p-4ddb4401.entry.js → p-651ba417.entry.js} +1 -1
- package/lib/duet/{p-d48ab4d3.system.entry.js → p-67081f4b.system.entry.js} +1 -1
- package/lib/duet/{p-3790d9c6.system.entry.js → p-6a3c4621.system.entry.js} +1 -1
- package/lib/duet/{p-0f80c628.entry.js → p-6b8435d2.entry.js} +1 -1
- package/lib/duet/{p-a43ad34f.system.entry.js → p-6d276a1a.system.entry.js} +1 -1
- package/lib/duet/{p-113ad39d.entry.js → p-6f6a2a37.entry.js} +1 -1
- package/lib/duet/{p-4a69a574.entry.js → p-70c8c61a.entry.js} +1 -1
- package/lib/duet/p-70fa2c28.system.entry.js +4 -0
- package/lib/duet/{p-a8c96cc0.system.entry.js → p-72e17db2.system.entry.js} +1 -1
- package/lib/duet/{p-288ba4f9.entry.js → p-7599b013.entry.js} +1 -1
- package/lib/duet/{p-96c1789d.system.entry.js → p-77d6d051.system.entry.js} +1 -1
- package/lib/duet/{p-46980318.system.entry.js → p-78774220.system.entry.js} +1 -1
- package/lib/duet/{p-69d93a05.entry.js → p-78fb70b7.entry.js} +1 -1
- package/lib/duet/{p-7066a413.system.entry.js → p-790dad25.system.entry.js} +1 -1
- package/lib/duet/{p-4646de9d.entry.js → p-7985f554.entry.js} +1 -1
- package/lib/duet/{p-d2d6281b.entry.js → p-7ad82468.entry.js} +1 -1
- package/lib/duet/{p-1ce475d7.entry.js → p-7c9656b0.entry.js} +1 -1
- package/lib/duet/{p-be8e8efc.system.entry.js → p-7d9cb5c8.system.entry.js} +1 -1
- package/lib/duet/{p-b5f5d7ce.system.entry.js → p-7e09da7d.system.entry.js} +1 -1
- package/lib/duet/{p-2a29c6d5.system.entry.js → p-813c70d0.system.entry.js} +1 -1
- package/lib/duet/{p-de958fe7.system.entry.js → p-827c5d5a.system.entry.js} +1 -1
- package/lib/duet/{p-246f8836.system.entry.js → p-83e46984.system.entry.js} +1 -1
- package/lib/duet/{p-c383e8d6.entry.js → p-85b7c2e7.entry.js} +1 -1
- package/lib/duet/{p-3ffede1b.entry.js → p-87ce9349.entry.js} +1 -1
- package/lib/duet/{p-265aaa8b.system.entry.js → p-89fa198c.system.entry.js} +1 -1
- package/lib/duet/{p-e1b947e9.system.entry.js → p-8cedb41b.system.entry.js} +1 -1
- package/lib/duet/{p-cd8fc9f7.entry.js → p-8d4942c5.entry.js} +1 -1
- package/lib/duet/p-8dd241c6.system.js +4 -0
- package/lib/duet/{p-ba015d7a.entry.js → p-8ecc454b.entry.js} +1 -1
- package/lib/duet/{p-74f8da81.entry.js → p-8efd4118.entry.js} +1 -1
- package/lib/duet/{p-26859589.system.entry.js → p-8f27c1f3.system.entry.js} +1 -1
- package/lib/duet/{p-b7b4b33c.entry.js → p-90d3f3c8.entry.js} +1 -1
- package/lib/duet/{p-e1020f12.system.entry.js → p-946b6050.system.entry.js} +1 -1
- package/lib/duet/{p-0c8ef637.system.entry.js → p-9531abc8.system.entry.js} +1 -1
- package/lib/duet/{p-94e0fba1.entry.js → p-96ebee12.entry.js} +1 -1
- package/lib/duet/{p-7436bd48.system.entry.js → p-9b22092d.system.entry.js} +1 -1
- package/lib/duet/{p-c28e4280.system.entry.js → p-a60b9d5f.system.entry.js} +1 -1
- package/lib/duet/{p-a8935106.entry.js → p-a6e667d6.entry.js} +1 -1
- package/lib/duet/{p-8da5c103.entry.js → p-a8028561.entry.js} +1 -1
- package/lib/duet/{p-6ed83596.entry.js → p-a942bdee.entry.js} +1 -1
- package/lib/duet/p-aa07d1a7.js +4 -0
- package/lib/duet/p-ab53abe4.entry.js +4 -0
- package/lib/duet/{p-b01e1f6c.system.entry.js → p-adab3da6.system.entry.js} +1 -1
- package/lib/duet/{p-d2cabbed.system.entry.js → p-ae014830.system.entry.js} +1 -1
- package/lib/duet/{p-75503668.system.entry.js → p-aeef3da1.system.entry.js} +1 -1
- package/lib/duet/{p-cd9619e3.entry.js → p-b001db05.entry.js} +1 -1
- package/lib/duet/{p-a1db3600.entry.js → p-b0d6abce.entry.js} +1 -1
- package/lib/duet/{p-bc8c2990.system.entry.js → p-b0f55d96.system.entry.js} +1 -1
- package/lib/duet/{p-2b5c578e.entry.js → p-b1efef46.entry.js} +1 -1
- package/lib/duet/{p-1099ef42.system.entry.js → p-b2fbc8d4.system.entry.js} +1 -1
- package/lib/duet/{p-280e0b55.entry.js → p-b72bdbe7.entry.js} +1 -1
- package/lib/duet/{p-f27034be.entry.js → p-b7331242.entry.js} +1 -1
- package/lib/duet/{p-8c340908.system.entry.js → p-b80d0aeb.system.entry.js} +1 -1
- package/lib/duet/{p-9a1f8af3.entry.js → p-b9842ee6.entry.js} +1 -1
- package/lib/duet/{p-3a2f42cc.entry.js → p-bc06eaac.entry.js} +1 -1
- package/lib/duet/{p-6c4b49d5.js → p-bc9d8564.js} +1 -1
- package/lib/duet/{p-42f7208c.entry.js → p-bed03d19.entry.js} +1 -1
- package/lib/duet/{p-e19a12b4.system.entry.js → p-beed8c17.system.entry.js} +1 -1
- package/lib/duet/p-befc75ae.system.js +4 -0
- package/lib/duet/{p-b49d10f6.entry.js → p-bfec3e0a.entry.js} +1 -1
- package/lib/duet/{p-a50e095d.system.entry.js → p-c0d2a7a9.system.entry.js} +1 -1
- package/lib/duet/{p-76b3dfea.system.js → p-c5e6009e.system.js} +1 -1
- package/lib/duet/{p-eaa8473a.entry.js → p-c6077732.entry.js} +1 -1
- package/lib/duet/{p-5969cc96.entry.js → p-c8ad985d.entry.js} +1 -1
- package/lib/duet/{p-48d5fd63.system.entry.js → p-c9768708.system.entry.js} +1 -1
- package/lib/duet/{p-aa14230b.entry.js → p-ca737839.entry.js} +1 -1
- package/lib/duet/{p-db29100b.system.entry.js → p-cac37646.system.entry.js} +1 -1
- package/lib/duet/{p-2d4cd88c.system.entry.js → p-cb238aa1.system.entry.js} +1 -1
- package/lib/duet/{p-de46b522.entry.js → p-cb40a8fc.entry.js} +1 -1
- package/lib/duet/{p-05b8ae17.system.entry.js → p-cddf8053.system.entry.js} +1 -1
- package/lib/duet/{p-1e55dfa3.entry.js → p-cf3efe73.entry.js} +1 -1
- package/lib/duet/{p-8cdbf7c7.system.entry.js → p-d27edac1.system.entry.js} +1 -1
- package/lib/duet/{p-090ae709.entry.js → p-da6df9ee.entry.js} +1 -1
- package/lib/duet/{p-b85c4e9e.system.entry.js → p-db927865.system.entry.js} +1 -1
- package/lib/duet/{p-7792b370.entry.js → p-dc3cc6a3.entry.js} +1 -1
- package/lib/duet/{p-900abeb7.system.entry.js → p-de80b40e.system.entry.js} +1 -1
- package/lib/duet/{p-d047123e.system.entry.js → p-dec35d01.system.entry.js} +1 -1
- package/lib/duet/p-deff1b20.system.entry.js +4 -0
- package/lib/duet/{p-67a6cdda.entry.js → p-dfa44807.entry.js} +1 -1
- package/lib/duet/{p-e632de74.entry.js → p-e11114db.entry.js} +1 -1
- package/lib/duet/{p-9cdf78b3.system.entry.js → p-e309c2a0.system.entry.js} +1 -1
- package/lib/duet/p-e350f3f3.system.js +4 -0
- package/lib/duet/{p-8b0053b4.system.entry.js → p-e58cd7fd.system.entry.js} +1 -1
- package/lib/duet/{p-7a0523f1.entry.js → p-e8731309.entry.js} +1 -1
- package/lib/duet/{p-e650b1b7.system.entry.js → p-e9d9754b.system.entry.js} +1 -1
- package/lib/duet/{p-423cc443.system.entry.js → p-f1bbf5eb.system.entry.js} +1 -1
- package/lib/duet/{p-322b427c.system.entry.js → p-f3108381.system.entry.js} +1 -1
- package/lib/duet/{p-52aefd49.entry.js → p-f3cd8f65.entry.js} +1 -1
- package/lib/duet/{p-b4e730ac.system.entry.js → p-f52f2a6e.system.entry.js} +1 -1
- package/lib/duet/{p-3706d57f.system.entry.js → p-f60d9095.system.entry.js} +1 -1
- package/lib/duet/{p-eededb83.entry.js → p-f7dc5f61.entry.js} +1 -1
- package/lib/duet/{p-613ca231.system.entry.js → p-f8d38386.system.entry.js} +1 -1
- package/lib/duet/{p-154f1517.entry.js → p-fc070130.entry.js} +1 -1
- package/lib/duet/{p-60cc4982.entry.js → p-fdedb0c5.entry.js} +1 -1
- package/lib/duet/{p-072607fd.entry.js → p-fe2b2427.entry.js} +1 -1
- package/lib/duet/{p-f4b9871c.system.entry.js → p-fe57483c.system.entry.js} +1 -1
- package/lib/esm/{common-strings-59db6973.js → common-strings-7c7f8e40.js} +7 -2
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +16 -3
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +14 -5
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -1
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +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 +2 -2
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +1 -1
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +1 -1
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +2 -2
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +1 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-item.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -2
- package/lib/esm/duet-tooltip.entry.js +1 -1
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a15379ec.js → focus-utils-92ce3363.js} +1 -1
- package/lib/esm/{index-2fcdad1e.js → index-ca0e302d.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/common-strings-7c7f8e40.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +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 +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.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-a15379ec.js → focus-utils-92ce3363.js} +1 -1
- package/lib/esm-es5/{index-2fcdad1e.js → index-ca0e302d.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/common-strings.d.ts +1 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +7 -2
- package/lib/types/components/duet-link/duet-link.d.ts +16 -0
- package/lib/types/components.d.ts +32 -4
- package/package.json +6 -6
- package/lib/duet/p-497fbe6f.system.entry.js +0 -4
- package/lib/duet/p-4ab776f4.js +0 -4
- package/lib/duet/p-4c40ab32.entry.js +0 -4
- package/lib/duet/p-55f4b594.entry.js +0 -4
- package/lib/duet/p-8678ad49.system.js +0 -4
- package/lib/duet/p-91d750ad.system.js +0 -4
- package/lib/duet/p-caa48d36.system.entry.js +0 -4
- package/lib/duet/p-d1cedaa1.system.js +0 -4
- package/lib/esm-es5/common-strings-59db6973.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -8722,7 +8722,7 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
|
|
|
8722
8722
|
}
|
|
8723
8723
|
};
|
|
8724
8724
|
|
|
8725
|
-
const duetBannerCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-banner,*.sc-duet-banner::after,*.sc-duet-banner::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-banner-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-banner-h:last-child,.sc-duet-banner-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-banner-h{margin:0 !important}/*!@.duet-banner*/.duet-banner.sc-duet-banner{display:grid;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;text-align:left;border-radius:24px}/*!@.duet-banner.duet-p-0*/.duet-banner.duet-p-0.sc-duet-banner{padding:0 !important}/*!@.duet-banner.duet-m-0*/.duet-banner.duet-m-0.sc-duet-banner{margin:0 !important}/*!@.duet-banner .visual*/.duet-banner.sc-duet-banner .visual.sc-duet-banner{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner .visual .image-container*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}/*!@.duet-banner .visual .image*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}/*!@.duet-banner .visual .icon*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{position:absolute}/*!@.duet-banner .content*/.duet-banner.sc-duet-banner .content.sc-duet-banner{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}/*!@.duet-banner .content .description*/.duet-banner.sc-duet-banner .content.sc-duet-banner .description.sc-duet-banner{hyphens:auto}/*!@.duet-banner .action*/.duet-banner.sc-duet-banner .action.sc-duet-banner{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}/*!@.duet-banner.small*/.duet-banner.small.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.small .visual*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.small .visual .image-container*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.small .visual .icon*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}/*!@.duet-banner.large*/.duet-banner.large.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.large .visual*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.large .visual .image-container*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-30px;left:-30px}/*!@.duet-banner.large .visual .image*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px}/*!@.duet-banner.large .visual .icon*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.large .content*/.duet-banner.large.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.large .action*/.duet-banner.large.sc-duet-banner .action.sc-duet-banner{flex-grow:0}/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}@media (min-width: 62em){/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-30px;left:-30px}/*!@.duet-banner.auto .visual .image*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.auto .content*/.duet-banner.auto.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.auto .action*/.duet-banner.auto.sc-duet-banner .action.sc-duet-banner{flex-grow:0}}/*!@.duet-banner.duet-theme-turva*/.duet-banner.duet-theme-turva.sc-duet-banner{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-banner.duet-theme-turva .visual .image-container*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}/*!@.duet-banner.duet-theme-turva .visual .image*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{transform:none}/*!@.duet-banner.duet-theme-turva.small .visual .image-container*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.small .visual .image*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.small .visual .icon*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}/*!@.duet-banner.duet-theme-turva.large .visual .image-container*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.large .visual .image*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.large .visual .icon*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}@media (min-width: 62em){/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}}";
|
|
8725
|
+
const duetBannerCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-banner,*.sc-duet-banner::after,*.sc-duet-banner::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-banner-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-banner-h:last-child,.sc-duet-banner-h:last-of-type{margin-right:0 !important}/*!@:host(.duet-m-0)*/.duet-m-0.sc-duet-banner-h{margin:0 !important}/*!@.duet-banner*/.duet-banner.sc-duet-banner{display:grid;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;text-align:left;border-radius:24px}/*!@.duet-banner.duet-p-0*/.duet-banner.duet-p-0.sc-duet-banner{padding:0 !important}/*!@.duet-banner.duet-m-0*/.duet-banner.duet-m-0.sc-duet-banner{margin:0 !important}/*!@.duet-banner .visual*/.duet-banner.sc-duet-banner .visual.sc-duet-banner{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner .visual .image-container*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}/*!@.duet-banner .visual .image*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}/*!@.duet-banner .visual .icon*/.duet-banner.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{position:absolute}/*!@.duet-banner .content*/.duet-banner.sc-duet-banner .content.sc-duet-banner{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}/*!@.duet-banner .content .description*/.duet-banner.sc-duet-banner .content.sc-duet-banner .description.sc-duet-banner{hyphens:auto}/*!@.duet-banner .action*/.duet-banner.sc-duet-banner .action.sc-duet-banner{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}/*!@.duet-banner.small*/.duet-banner.small.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.small .visual*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.small .visual .image-container*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.small .visual .icon*/.duet-banner.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}/*!@.duet-banner.medium*/.duet-banner.medium.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}/*!@.duet-banner.medium .visual*/.duet-banner.medium.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.medium .visual .image-container*/.duet-banner.medium.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:absolute;bottom:-72px;left:-178px}/*!@.duet-banner.medium .visual .image*/.duet-banner.medium.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{width:auto;height:auto}/*!@.duet-banner.medium .visual .icon*/.duet-banner.medium.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:36px;left:168px}/*!@.duet-banner.medium .content*/.duet-banner.medium.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.medium .action*/.duet-banner.medium.sc-duet-banner .action.sc-duet-banner{flex-grow:0}/*!@.duet-banner.large*/.duet-banner.large.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.large .visual*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.large .visual .image-container*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:relative;top:-30px;left:-30px}/*!@.duet-banner.large .visual .image*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px;width:100%;height:100%}/*!@.duet-banner.large .visual .icon*/.duet-banner.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.large .content*/.duet-banner.large.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.large .action*/.duet-banner.large.sc-duet-banner .action.sc-duet-banner{flex-grow:0}@media (max-width: 35.9375em){/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:335px 1fr;max-width:335px}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-top-right-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-130px;left:-40px}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:30px;left:15px}}@media (min-width: 36em){/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:absolute;bottom:-72px;left:-178px}/*!@.duet-banner.auto .visual .image*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{width:auto;height:auto}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:36px;left:168px}/*!@.duet-banner.auto .content*/.duet-banner.auto.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.auto .action*/.duet-banner.auto.sc-duet-banner .action.sc-duet-banner{flex-grow:0}}@media (min-width: 62em){/*!@.duet-banner.auto*/.duet-banner.auto.sc-duet-banner{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}/*!@.duet-banner.auto .visual*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner{border-top-left-radius:24px;border-bottom-left-radius:24px}/*!@.duet-banner.auto .visual .image-container*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{position:relative;top:-30px;left:-30px}/*!@.duet-banner.auto .visual .image*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:-15px;left:30px;width:100%;height:100%}/*!@.duet-banner.auto .visual .icon*/.duet-banner.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{top:40px;bottom:auto;left:335px}/*!@.duet-banner.auto .content*/.duet-banner.auto.sc-duet-banner .content.sc-duet-banner{align-items:flex-start;justify-content:center;padding:0 72px 0 0}/*!@.duet-banner.auto .action*/.duet-banner.auto.sc-duet-banner .action.sc-duet-banner{flex-grow:0}}/*!@.duet-banner.duet-theme-turva*/.duet-banner.duet-theme-turva.sc-duet-banner{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}/*!@.duet-banner.duet-theme-turva .visual .image-container*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}/*!@.duet-banner.duet-theme-turva .visual .image*/.duet-banner.duet-theme-turva.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{transform:none}/*!@.duet-banner.duet-theme-turva.small .visual .image-container*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.small .visual .image*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.small .visual .icon*/.duet-banner.duet-theme-turva.small.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}/*!@.duet-banner.duet-theme-turva.large .visual .image-container*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.large .visual .image*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.large .visual .icon*/.duet-banner.duet-theme-turva.large.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-164px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:15px}@media (min-width: 62em){/*!@.duet-banner.duet-theme-turva.auto .visual .image-container*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image-container.sc-duet-banner{top:-54.923px;left:-147px}/*!@.duet-banner.duet-theme-turva.auto .visual .image*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .image.sc-duet-banner{top:0;left:0}/*!@.duet-banner.duet-theme-turva.auto .visual .icon*/.duet-banner.duet-theme-turva.auto.sc-duet-banner .visual.sc-duet-banner .icon.sc-duet-banner{bottom:auto;left:295px}}";
|
|
8726
8726
|
|
|
8727
8727
|
/**
|
|
8728
8728
|
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
@@ -8732,6 +8732,18 @@ const duetBannerCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-banner,*.sc-duet-
|
|
|
8732
8732
|
class DuetBanner {
|
|
8733
8733
|
constructor(hostRef) {
|
|
8734
8734
|
registerInstance(this, hostRef);
|
|
8735
|
+
/**
|
|
8736
|
+
* Default to smaller button size for small and medium banners.
|
|
8737
|
+
*/
|
|
8738
|
+
this.setButtonSize = () => {
|
|
8739
|
+
if (this.hasActionSlot) {
|
|
8740
|
+
console.log(this.size);
|
|
8741
|
+
const button = this.element.querySelector("duet-button[slot='action']");
|
|
8742
|
+
if (button.getAttribute("size") === null && this.size !== "large") {
|
|
8743
|
+
button.size = "small";
|
|
8744
|
+
}
|
|
8745
|
+
}
|
|
8746
|
+
};
|
|
8735
8747
|
this.theme = "";
|
|
8736
8748
|
this.margin = "auto";
|
|
8737
8749
|
this.backgroundColor = "primary-lighter";
|
|
@@ -8753,6 +8765,7 @@ class DuetBanner {
|
|
|
8753
8765
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
8754
8766
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
8755
8767
|
checkNamedSlotElement(this.element, "heading", "span");
|
|
8768
|
+
this.setButtonSize();
|
|
8756
8769
|
}
|
|
8757
8770
|
/**
|
|
8758
8771
|
* render() function
|
|
@@ -8773,7 +8786,7 @@ class DuetBanner {
|
|
|
8773
8786
|
"duet-banner": true,
|
|
8774
8787
|
"duet-theme-turva": this.theme === "turva",
|
|
8775
8788
|
[this.size]: true,
|
|
8776
|
-
}, 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" })))))));
|
|
8789
|
+
}, 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: this.size === "large" ? "xx-large" : "x-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": this.size === "large" ? "h2" : "h3", "fixed-size": true, 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" })))))));
|
|
8777
8790
|
}
|
|
8778
8791
|
get element() { return getElement(this); }
|
|
8779
8792
|
static get style() { return duetBannerCss; }
|
|
@@ -8787,7 +8800,7 @@ class DuetBanner {
|
|
|
8787
8800
|
"iconColor": [1, "icon-color"],
|
|
8788
8801
|
"iconBackgroundColor": [1, "icon-background-color"],
|
|
8789
8802
|
"textColor": [1, "text-color"],
|
|
8790
|
-
"size": [
|
|
8803
|
+
"size": [1025],
|
|
8791
8804
|
"image": [1],
|
|
8792
8805
|
"sources": [1],
|
|
8793
8806
|
"icon": [1],
|
|
@@ -8930,6 +8943,11 @@ class DuetBreadcrumbs {
|
|
|
8930
8943
|
}; }
|
|
8931
8944
|
}
|
|
8932
8945
|
|
|
8946
|
+
const DuetStringsDownloadLinkDefaults = {
|
|
8947
|
+
fi: "Linkki tallennetaan laitteellesi",
|
|
8948
|
+
sv: "Nedladdningslänk",
|
|
8949
|
+
en: "Download link",
|
|
8950
|
+
};
|
|
8933
8951
|
const DuetStringsExternalDefaults = {
|
|
8934
8952
|
fi: "Avautuu uuteen ikkunaan",
|
|
8935
8953
|
sv: "Öppnas i nytt fönster",
|
|
@@ -8937,7 +8955,7 @@ const DuetStringsExternalDefaults = {
|
|
|
8937
8955
|
};
|
|
8938
8956
|
const DuetStringsLoadingDefaults = {
|
|
8939
8957
|
fi: "Ladataan",
|
|
8940
|
-
sv: "
|
|
8958
|
+
sv: "Laddas",
|
|
8941
8959
|
en: "Loading…",
|
|
8942
8960
|
};
|
|
8943
8961
|
|
|
@@ -14518,7 +14536,7 @@ class DuetLayout {
|
|
|
14518
14536
|
}; }
|
|
14519
14537
|
}
|
|
14520
14538
|
|
|
14521
|
-
const duetLinkCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-link,*.sc-duet-link::after,*.sc-duet-link::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-link-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}/*!@:host(.duet-link-block)*/.duet-link-block.sc-duet-link-h{display:block}/*!@.duet-link*/.duet-link.sc-duet-link{display:inline;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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}/*!@.duet-link:focus*/.duet-link.sc-duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-link .duet-link.sc-duet-link:focus,.duet-link.sc-duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-link.duet-theme-turva*/.duet-link.duet-theme-turva.sc-duet-link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}/*!@.duet-link:hover*/.duet-link.sc-duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}/*!@.duet-link:hover.duet-theme-turva*/.duet-link.sc-duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}/*!@.duet-link:active*/.duet-link.sc-duet-link:active{opacity:0.75;transition:none}/*!@.duet-link-is-external.duet-link:not(.block)*/.duet-link-is-external.duet-link.sc-duet-link:not(.block){text-decoration:none}/*!@.duet-link-is-external.duet-link:not(.block) .duet-link-content*/.duet-link-is-external.duet-link.sc-duet-link:not(.block) .duet-link-content.sc-duet-link{text-decoration:underline}/*!@.duet-link-is-external.duet-link:not(.block):hover > .duet-link-content*/.duet-link-is-external.duet-link.sc-duet-link:not(.block):hover>.duet-link-content.sc-duet-link{text-decoration:none}/*!@.duet-link-is-external.duet-link:not(.block) .duet-link-
|
|
14539
|
+
const duetLinkCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-link,*.sc-duet-link::after,*.sc-duet-link::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-link-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}/*!@:host(.duet-link-block)*/.duet-link-block.sc-duet-link-h{display:block}/*!@.duet-link*/.duet-link.sc-duet-link{display:inline;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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}/*!@.duet-link:focus*/.duet-link.sc-duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@.duet-theme-turva .duet-link:focus, .duet-link:focus.duet-theme-turva*/.duet-theme-turva.sc-duet-link .duet-link.sc-duet-link:focus,.duet-link.sc-duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-link.duet-theme-turva*/.duet-link.duet-theme-turva.sc-duet-link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}/*!@.duet-link:hover*/.duet-link.sc-duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}/*!@.duet-link:hover.duet-theme-turva*/.duet-link.sc-duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}/*!@.duet-link:active*/.duet-link.sc-duet-link:active{opacity:0.75;transition:none}/*!@.duet-link-is-external.duet-link:not(.block),\n.duet-link-is-download.duet-link:not(.block)*/.duet-link-is-external.duet-link.sc-duet-link:not(.block),.duet-link-is-download.duet-link.sc-duet-link:not(.block){text-decoration:none}/*!@.duet-link-is-external.duet-link:not(.block) .duet-link-content,\n.duet-link-is-download.duet-link:not(.block) .duet-link-content*/.duet-link-is-external.duet-link.sc-duet-link:not(.block) .duet-link-content.sc-duet-link,.duet-link-is-download.duet-link.sc-duet-link:not(.block) .duet-link-content.sc-duet-link{text-decoration:underline}/*!@.duet-link-is-external.duet-link:not(.block):hover > .duet-link-content,\n.duet-link-is-download.duet-link:not(.block):hover > .duet-link-content*/.duet-link-is-external.duet-link.sc-duet-link:not(.block):hover>.duet-link-content.sc-duet-link,.duet-link-is-download.duet-link.sc-duet-link:not(.block):hover>.duet-link-content.sc-duet-link{text-decoration:none}/*!@.duet-link-is-external.duet-link:not(.block) .duet-link-icon-tail,\n.duet-link-is-download.duet-link:not(.block) .duet-link-icon-tail*/.duet-link-is-external.duet-link.sc-duet-link:not(.block) .duet-link-icon-tail.sc-duet-link,.duet-link-is-download.duet-link.sc-duet-link:not(.block) .duet-link-icon-tail.sc-duet-link{text-decoration:none;white-space:nowrap}/*!@.duet-tab-to-link*/.duet-tab-to-link.sc-duet-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}/*!@.duet-tab-to-link.duet-theme-turva*/.duet-tab-to-link.duet-theme-turva.sc-duet-link{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){/*!@.duet-tab-to-link*/.duet-tab-to-link.sc-duet-link{margin-left:20px}}/*!@.duet-tab-to-link:focus*/.duet-tab-to-link.sc-duet-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}/*!@.block.duet-link*/.block.duet-link.sc-duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}/*!@.block.duet-link.duet-link-has-icon*/.block.duet-link.duet-link-has-icon.sc-duet-link{grid-template-columns:auto 1fr auto}/*!@.block.duet-link.none*/.block.duet-link.none.sc-duet-link{padding:0}/*!@.block .block__content*/.block.sc-duet-link .block__content.sc-duet-link{position:relative;bottom:2px}/*!@.block .block__chevron*/.block.sc-duet-link .block__chevron.sc-duet-link{align-self:center}/*!@.block .block__chevron-icon*/.block.sc-duet-link .block__chevron-icon.sc-duet-link{transition:300ms ease}/*!@.block:hover .block__chevron-icon*/.block.sc-duet-link:hover .block__chevron-icon.sc-duet-link{transform:translateX(4px)}";
|
|
14522
14540
|
|
|
14523
14541
|
/**
|
|
14524
14542
|
* @part duet-link - piercing selector for styling the link
|
|
@@ -14533,10 +14551,13 @@ class DuetLink {
|
|
|
14533
14551
|
this.language = getLanguage();
|
|
14534
14552
|
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
14535
14553
|
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
14554
|
+
this.accessibleLabelDownloadDefaults = DuetStringsDownloadLinkDefaults;
|
|
14555
|
+
this.accessibleLabelDownload = getLocaleString(this.accessibleLabelDownloadDefaults);
|
|
14536
14556
|
this.identifier = undefined;
|
|
14537
14557
|
this.theme = "";
|
|
14538
14558
|
this.url = "#";
|
|
14539
14559
|
this.external = false;
|
|
14560
|
+
this.download = false;
|
|
14540
14561
|
this.tabToLink = false;
|
|
14541
14562
|
this.icon = undefined;
|
|
14542
14563
|
this.iconColor = "currentColor";
|
|
@@ -14585,6 +14606,9 @@ class DuetLink {
|
|
|
14585
14606
|
if (this.accessibleLabel) {
|
|
14586
14607
|
return this.accessibleLabel;
|
|
14587
14608
|
}
|
|
14609
|
+
if (!!this.download && this.element.textContent) {
|
|
14610
|
+
return `${this.element.textContent}. ${this.accessibleLabelDownload}.`;
|
|
14611
|
+
}
|
|
14588
14612
|
if (this.external && this.element.textContent) {
|
|
14589
14613
|
return `${this.element.textContent}. ${this.accessibleLabelExternal}.`;
|
|
14590
14614
|
}
|
|
@@ -14608,13 +14632,14 @@ class DuetLink {
|
|
|
14608
14632
|
} }, hAsync("a", { href: this.url, class: {
|
|
14609
14633
|
"duet-link": true,
|
|
14610
14634
|
"duet-link-is-external": this.external,
|
|
14635
|
+
"duet-link-is-download": !!this.download,
|
|
14611
14636
|
"duet-link-has-icon": !!this.icon,
|
|
14612
14637
|
"duet-tab-to-link": this.tabToLink,
|
|
14613
14638
|
"duet-theme-turva": this.theme === "turva",
|
|
14614
14639
|
"duet-p-0": this.padding === "none",
|
|
14615
14640
|
[this.padding]: true,
|
|
14616
14641
|
[this.variation]: true,
|
|
14617
|
-
}, target: this.external ? "_blank" : "_self", "aria-label": this.getAccessibleLabel(), id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
14642
|
+
}, target: this.download ? null : this.external ? "_blank" : "_self", download: this.download, "aria-label": this.getAccessibleLabel(), id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
14618
14643
|
}
|
|
14619
14644
|
static get delegatesFocus() { return true; }
|
|
14620
14645
|
get element() { return getElement(this); }
|
|
@@ -14628,10 +14653,13 @@ class DuetLink {
|
|
|
14628
14653
|
"language": [1537],
|
|
14629
14654
|
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
14630
14655
|
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
14656
|
+
"accessibleLabelDownloadDefaults": [1, "accessible-label-download-default"],
|
|
14657
|
+
"accessibleLabelDownload": [1025, "accessible-label-download"],
|
|
14631
14658
|
"identifier": [1],
|
|
14632
14659
|
"theme": [1025],
|
|
14633
14660
|
"url": [513],
|
|
14634
14661
|
"external": [4],
|
|
14662
|
+
"download": [8],
|
|
14635
14663
|
"tabToLink": [4, "tab-to-link"],
|
|
14636
14664
|
"icon": [1],
|
|
14637
14665
|
"iconColor": [1, "icon-color"],
|
|
@@ -16130,7 +16158,7 @@ class DuetNav {
|
|
|
16130
16158
|
}; }
|
|
16131
16159
|
}
|
|
16132
16160
|
|
|
16133
|
-
const duetNotificationCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-notification,*.sc-duet-notification::after,*.sc-duet-notification::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-notification-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-notification*/.duet-notification.sc-duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}/*!@:host(:last-of-type) .duet-notification*/.sc-duet-notification-h:last-of-type .duet-notification.sc-duet-notification{border-bottom:0}/*!@.duet-notification.duet-theme-turva*/.duet-notification.duet-theme-turva.sc-duet-notification{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}/*!@.duet-notification.duet-notification-highlight*/.duet-notification.duet-notification-highlight.sc-duet-notification{font-weight:600;background:rgb(243, 249, 252)}/*!@.duet-notification.duet-notification-highlight.duet-theme-turva*/.duet-notification.duet-notification-highlight.duet-theme-turva.sc-duet-notification{background:rgb(
|
|
16161
|
+
const duetNotificationCss = "/*!@*,\n*::after,\n*::before*/*.sc-duet-notification,*.sc-duet-notification::after,*.sc-duet-notification::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}/*!@:host*/.sc-duet-notification-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-notification*/.duet-notification.sc-duet-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}/*!@:host(:last-of-type) .duet-notification*/.sc-duet-notification-h:last-of-type .duet-notification.sc-duet-notification{border-bottom:0}/*!@.duet-notification.duet-theme-turva*/.duet-notification.duet-theme-turva.sc-duet-notification{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}/*!@.duet-notification.duet-notification-highlight*/.duet-notification.duet-notification-highlight.sc-duet-notification{font-weight:600;background:rgb(243, 249, 252)}/*!@.duet-notification.duet-notification-highlight.duet-theme-turva*/.duet-notification.duet-notification-highlight.duet-theme-turva.sc-duet-notification{background:rgb(245, 245, 247)}@media (min-width: 62em){/*!@.duet-notification:hover*/.duet-notification.sc-duet-notification:hover{background:rgb(243, 249, 252)}/*!@.duet-notification:hover.duet-theme-turva*/.duet-notification.sc-duet-notification:hover.duet-theme-turva{background:rgb(245, 245, 247)}}/*!@.duet-notification a*/.duet-notification.sc-duet-notification a.sc-duet-notification{text-decoration:none}/*!@.duet-notification a:focus*/.duet-notification.sc-duet-notification a.sc-duet-notification:focus{outline:0}/*!@:host(.user-is-tabbing) .duet-notification:focus-within*/.user-is-tabbing.sc-duet-notification-h .duet-notification.sc-duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}/*!@:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva*/.user-is-tabbing.sc-duet-notification-h .duet-notification.sc-duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}/*!@.duet-notification-container*/.duet-notification-container.sc-duet-notification{position:relative;display:flex}/*!@.duet-notification-badge-container*/.duet-notification-badge-container.sc-duet-notification{position:relative;width:16px}/*!@.duet-notification-badge*/.duet-notification-badge.sc-duet-notification{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}/*!@.duet-theme-turva .duet-notification-badge*/.duet-theme-turva.sc-duet-notification .duet-notification-badge.sc-duet-notification{background:rgb(198, 12, 48)}/*!@.duet-notification-content*/.duet-notification-content.sc-duet-notification{flex:1}/*!@.duet-notification-date*/.duet-notification-date.sc-duet-notification{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){/*!@.duet-notification-date*/.duet-notification-date.sc-duet-notification{width:auto}}/*!@.duet-theme-turva .duet-notification-date*/.duet-theme-turva.sc-duet-notification .duet-notification-date.sc-duet-notification{color:rgb(68, 68, 69)}/*!@::slotted(duet-heading)*/.sc-duet-notification-s>duet-heading{padding-right:80px !important}/*!@::slotted(duet-paragraph)*/.sc-duet-notification-s>duet-paragraph{margin-bottom:2px !important}";
|
|
16134
16162
|
|
|
16135
16163
|
class DuetNotification {
|
|
16136
16164
|
constructor(hostRef) {
|
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
+
const DuetStringsDownloadLinkDefaults = {
|
|
7
|
+
fi: "Linkki tallennetaan laitteellesi",
|
|
8
|
+
sv: "Nedladdningslänk",
|
|
9
|
+
en: "Download link",
|
|
10
|
+
};
|
|
6
11
|
const DuetStringsExternalDefaults = {
|
|
7
12
|
fi: "Avautuu uuteen ikkunaan",
|
|
8
13
|
sv: "Öppnas i nytt fönster",
|
|
@@ -10,9 +15,10 @@ const DuetStringsExternalDefaults = {
|
|
|
10
15
|
};
|
|
11
16
|
const DuetStringsLoadingDefaults = {
|
|
12
17
|
fi: "Ladataan",
|
|
13
|
-
sv: "
|
|
18
|
+
sv: "Laddas",
|
|
14
19
|
en: "Loading…",
|
|
15
20
|
};
|
|
16
21
|
|
|
22
|
+
exports.DuetStringsDownloadLinkDefaults = DuetStringsDownloadLinkDefaults;
|
|
17
23
|
exports.DuetStringsExternalDefaults = DuetStringsExternalDefaults;
|
|
18
24
|
exports.DuetStringsLoadingDefaults = DuetStringsLoadingDefaults;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const jsUtils = require('./js-utils-92e24ba1.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetBadgeCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{display:inline-block;width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const slotUtils = require('./slot-utils-0b8037ab.js');
|
|
11
11
|
const stringUtils = require('./string-utils-053749ff.js');
|
|
@@ -19,11 +19,23 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
19
19
|
index.h("img", Object.assign({}, img))));
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
22
|
+
const duetBannerCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;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;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .content .description{hyphens:auto}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.medium{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}.duet-banner.medium .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.medium .visual .image-container{position:absolute;bottom:-72px;left:-178px}.duet-banner.medium .visual .image{width:auto;height:auto}.duet-banner.medium .visual .icon{top:36px;left:168px}.duet-banner.medium .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.medium .action{flex-grow:0}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{position:relative;top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px;width:100%;height:100%}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}@media (max-width: 35.9375em){.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}}@media (min-width: 36em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:500px;max-width:542px;height:288px}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{position:absolute;bottom:-72px;left:-178px}.duet-banner.auto .visual .image{width:auto;height:auto}.duet-banner.auto .visual .icon{top:36px;left:168px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{position:relative;top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px;width:100%;height:100%}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
23
23
|
|
|
24
24
|
const DuetBanner = class {
|
|
25
25
|
constructor(hostRef) {
|
|
26
26
|
index.registerInstance(this, hostRef);
|
|
27
|
+
/**
|
|
28
|
+
* Default to smaller button size for small and medium banners.
|
|
29
|
+
*/
|
|
30
|
+
this.setButtonSize = () => {
|
|
31
|
+
if (this.hasActionSlot) {
|
|
32
|
+
console.log(this.size);
|
|
33
|
+
const button = this.element.querySelector("duet-button[slot='action']");
|
|
34
|
+
if (button.getAttribute("size") === null && this.size !== "large") {
|
|
35
|
+
button.size = "small";
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
27
39
|
this.theme = "";
|
|
28
40
|
this.margin = "auto";
|
|
29
41
|
this.backgroundColor = "primary-lighter";
|
|
@@ -45,6 +57,7 @@ const DuetBanner = class {
|
|
|
45
57
|
this.hasDescriptionSlot = slotUtils.hasSlot(this.element, "description");
|
|
46
58
|
this.hasActionSlot = slotUtils.hasSlot(this.element, "action");
|
|
47
59
|
slotUtils.checkNamedSlotElement(this.element, "heading", "span");
|
|
60
|
+
this.setButtonSize();
|
|
48
61
|
}
|
|
49
62
|
/**
|
|
50
63
|
* render() function
|
|
@@ -65,7 +78,7 @@ const DuetBanner = class {
|
|
|
65
78
|
"duet-banner": true,
|
|
66
79
|
"duet-theme-turva": this.theme === "turva",
|
|
67
80
|
[this.size]: true,
|
|
68
|
-
}, style: bannerStyles }, index.h("div", { class: "visual" }, index.h("div", { class: "image-container" }, this.image && index.h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (index.h("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" }))), index.h("div", { class: "content" }, this.hasHeadingSlot && (index.h("div", { class: "heading" }, index.h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": "h2", margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (index.h("div", { class: "description", style: { color } }, index.h("slot", { name: "description" }))), this.hasActionSlot && (index.h("div", { class: "action" }, index.h("slot", { name: "action" })))))));
|
|
81
|
+
}, style: bannerStyles }, index.h("div", { class: "visual" }, index.h("div", { class: "image-container" }, this.image && index.h(DuetPicture, Object.assign({}, pictureSource))), this.icon && (index.h("duet-icon", { theme: this.theme, class: "icon", name: this.icon, shape: "brand", size: this.size === "large" ? "xx-large" : "x-large", color: this.iconColor, background: this.iconBackgroundColor, "background-rotation": "7", "background-opacity": "0.85", margin: "none" }))), index.h("div", { class: "content" }, this.hasHeadingSlot && (index.h("div", { class: "heading" }, index.h("duet-heading", { theme: this.theme, level: this.headingLevel, "visual-level": this.size === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, index.h("span", null, index.h("slot", { name: "heading" }))))), this.hasDescriptionSlot && (index.h("div", { class: "description", style: { color } }, index.h("slot", { name: "description" }))), this.hasActionSlot && (index.h("div", { class: "action" }, index.h("slot", { name: "action" })))))));
|
|
69
82
|
}
|
|
70
83
|
get element() { return index.getElement(this); }
|
|
71
84
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
11
11
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
11
11
|
const tokenUtils = require('./token-utils-7a618677.js');
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
|
-
const commonStrings = require('./common-strings-
|
|
10
|
+
const commonStrings = require('./common-strings-75850753.js');
|
|
11
11
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
12
12
|
const tokenUtils = require('./token-utils-7a618677.js');
|
|
13
13
|
require('./string-utils-053749ff.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const slotUtils = require('./slot-utils-0b8037ab.js');
|
|
11
11
|
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const stringUtils = require('./string-utils-053749ff.js');
|
|
11
11
|
const tokenUtils = require('./token-utils-7a618677.js');
|
|
12
12
|
const actionArrowRight = require('./action-arrow-right-24fe06be.js');
|
|
13
13
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
14
|
-
const commonStrings = require('./common-strings-
|
|
14
|
+
const commonStrings = require('./common-strings-75850753.js');
|
|
15
15
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
16
16
|
require('./tokens.module-bc323a09.js');
|
|
17
17
|
|
|
@@ -93,7 +93,9 @@ const DuetHeading = class {
|
|
|
93
93
|
};
|
|
94
94
|
DuetHeading.style = duetHeadingCss;
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
var actionDownloadSmall={"title":"action-download-small","tags":"action download arrow down small","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.193 1.7c0-.658-.542-1.2-1.2-1.2-.657 0-1.199.542-1.199 1.2v8.922l-2.778-2.6a1.2 1.2 0 0 0-1.64 1.751l4.797 4.498c.458.43 1.183.43 1.64 0l4.798-4.498c.242-.228.379-.544.379-.875a1.2 1.2 0 0 0-2.02-.876l-2.777 2.603V1.699Z\"/><path d=\"M1.5 13.544a1.5 1.5 0 0 1 1.498 1.5v1.498a1.61 1.61 0 0 0 .418 1.096h-.003c0-.002.036.032.13.082.39.194.818.305 1.254.321H19.19a3.085 3.085 0 0 0 1.255-.32c.096-.051.13-.085.13-.085.27-.3.42-.69.414-1.096v-1.5c0-.822.677-1.498 1.5-1.498.822 0 1.499.676 1.499 1.499v1.499c0 1.16-.43 2.293-1.224 3.142-.518.557-1.235.876-1.791 1.056a5.976 5.976 0 0 1-1.783.302H4.797a6.053 6.053 0 0 1-1.782-.302c-.556-.18-1.274-.5-1.792-1.056A4.613 4.613 0 0 1 0 16.542v-1.499a1.5 1.5 0 0 1 1.5-1.499Z\"/></svg>"};
|
|
97
|
+
|
|
98
|
+
const duetLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:inline}:host(.duet-link-block){display:block}.duet-link{display:inline;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;font-weight:400;color:rgb(0, 119, 179);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(198, 12, 48)}.duet-link:hover{color:rgb(0, 77, 128);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(148, 9, 37)}.duet-link:active{opacity:0.75;transition:none}.duet-link-is-external.duet-link:not(.block),.duet-link-is-download.duet-link:not(.block){text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-content,.duet-link-is-download.duet-link:not(.block) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(0, 41, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:hover .block__chevron-icon{transform:translateX(4px)}";
|
|
97
99
|
|
|
98
100
|
const DuetLink = class {
|
|
99
101
|
constructor(hostRef) {
|
|
@@ -103,10 +105,13 @@ const DuetLink = class {
|
|
|
103
105
|
this.language = languageUtils.getLanguage();
|
|
104
106
|
this.accessibleLabelExternalDefaults = commonStrings.DuetStringsExternalDefaults;
|
|
105
107
|
this.accessibleLabelExternal = languageUtils.getLocaleString(this.accessibleLabelExternalDefaults);
|
|
108
|
+
this.accessibleLabelDownloadDefaults = commonStrings.DuetStringsDownloadLinkDefaults;
|
|
109
|
+
this.accessibleLabelDownload = languageUtils.getLocaleString(this.accessibleLabelDownloadDefaults);
|
|
106
110
|
this.identifier = undefined;
|
|
107
111
|
this.theme = "";
|
|
108
112
|
this.url = "#";
|
|
109
113
|
this.external = false;
|
|
114
|
+
this.download = false;
|
|
110
115
|
this.tabToLink = false;
|
|
111
116
|
this.icon = undefined;
|
|
112
117
|
this.iconColor = "currentColor";
|
|
@@ -157,13 +162,16 @@ const DuetLink = class {
|
|
|
157
162
|
if (this.accessibleLabel) {
|
|
158
163
|
return this.accessibleLabel;
|
|
159
164
|
}
|
|
165
|
+
if (!!this.download && this.element.textContent) {
|
|
166
|
+
return `${this.element.textContent}. ${this.accessibleLabelDownload}.`;
|
|
167
|
+
}
|
|
160
168
|
if (this.external && this.element.textContent) {
|
|
161
169
|
return `${this.element.textContent}. ${this.accessibleLabelExternal}.`;
|
|
162
170
|
}
|
|
163
171
|
return null;
|
|
164
172
|
}
|
|
165
173
|
renderContent() {
|
|
166
|
-
return (index.h(index.Fragment, null, index.h("span", { class: "duet-link-content", part: "duet-link-content" }, index.h("slot", null)), this.external && (index.h(index.Fragment, null, index.h("span", { class: "duet-link-
|
|
174
|
+
return (index.h(index.Fragment, null, index.h("span", { class: "duet-link-content", part: "duet-link-content" }, index.h("slot", null)), (this.download || this.external) && (index.h(index.Fragment, null, index.h("span", { class: "duet-link-icon-tail" }, "\u00A0", index.h("duet-icon", { icon: this.download ? actionDownloadSmall.svg : actionNewWindowSmall.actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" }))))));
|
|
167
175
|
}
|
|
168
176
|
renderGrid() {
|
|
169
177
|
return (index.h(index.Fragment, null, this.icon && (index.h("span", { class: "block__icon" }, index.h("duet-icon", { size: this.iconResponsive ? (this.isSmallScreen ? "medium" : "large") : "x-small", name: this.icon, margin: "none", color: this.iconColor }))), index.h("span", { class: "block__content" }, this.renderContent()), index.h("span", { class: "block__chevron", part: "block-chevron" }, index.h("duet-icon", { class: "block__chevron-icon", icon: actionArrowRight.actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
@@ -180,13 +188,14 @@ const DuetLink = class {
|
|
|
180
188
|
} }, index.h("a", { href: this.url, class: {
|
|
181
189
|
"duet-link": true,
|
|
182
190
|
"duet-link-is-external": this.external,
|
|
191
|
+
"duet-link-is-download": !!this.download,
|
|
183
192
|
"duet-link-has-icon": !!this.icon,
|
|
184
193
|
"duet-tab-to-link": this.tabToLink,
|
|
185
194
|
"duet-theme-turva": this.theme === "turva",
|
|
186
195
|
"duet-p-0": this.padding === "none",
|
|
187
196
|
[this.padding]: true,
|
|
188
197
|
[this.variation]: true,
|
|
189
|
-
}, target: this.external ? "_blank" : "_self", "aria-label": this.getAccessibleLabel(), id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
198
|
+
}, target: this.download ? null : this.external ? "_blank" : "_self", download: this.download, "aria-label": this.getAccessibleLabel(), id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.variation === "block" ? this.renderGrid() : this.renderContent())));
|
|
190
199
|
}
|
|
191
200
|
static get delegatesFocus() { return true; }
|
|
192
201
|
get element() { return index.getElement(this); }
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
|
|
11
11
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
|
-
const commonStrings = require('./common-strings-
|
|
10
|
+
const commonStrings = require('./common-strings-75850753.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
12
|
-
const focusUtils = require('./focus-utils-
|
|
12
|
+
const focusUtils = require('./focus-utils-327224fb.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
14
14
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
15
15
|
const slotUtils = require('./slot-utils-0b8037ab.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const actionArrowDownSmall = require('./action-arrow-down-small-ef77a2d1.js');
|
|
10
10
|
const tokens = require('./tokens-c3eecae6.js');
|
|
11
11
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const jsUtils = require('./js-utils-92e24ba1.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-e8a527e5.js');
|
|
11
11
|
require('./string-utils-053749ff.js');
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-f9de8fc6.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-83a2a0d4.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-66ecb5d6.js');
|
|
11
11
|
|