@duetds/components 10.3.0 → 10.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +693 -301
- package/hydrate/index.mjs +693 -301
- package/lib/cjs/{a11y-utils-b27OEdFX.js → a11y-utils-dXXDBTyF.js} +1 -1
- package/lib/cjs/{app-globals-DhPOoPl1.js → app-globals-CyPV2FZK.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +13 -9
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +7 -7
- package/lib/cjs/duet-button_2.cjs.entry.js +27 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +15 -15
- package/lib/cjs/duet-card.cjs.entry.js +8 -8
- package/lib/cjs/duet-checkbox.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -6
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -5
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +30 -34
- package/lib/cjs/duet-divider_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +12 -12
- package/lib/cjs/duet-empty-state.cjs.entry.js +4 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-hero.cjs.entry.js +9 -9
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- package/lib/cjs/duet-indicator.cjs.entry.js +5 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +18 -14
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-modal.cjs.entry.js +14 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -11
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-number-input.cjs.entry.js +8 -8
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +4 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +18 -18
- package/lib/cjs/duet-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +20 -18
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +13 -9
- package/lib/cjs/duet-radio_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-range-slider.cjs.entry.js +7 -7
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +10 -10
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +8 -8
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +13 -13
- package/lib/cjs/duet-slideout.cjs.entry.js +20 -18
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +9 -9
- package/lib/cjs/duet-toggle.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +6 -6
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-BlVVWFcS.js → errorcodes.utils-DQ-I8x2z.js} +1 -1
- package/lib/cjs/{focus-utils-DIeiBu1A.js → focus-utils-DstNW4_h.js} +1 -1
- package/lib/cjs/{index-CeCDgexG.js → index-B_QTwXEx.js} +1 -1
- package/lib/cjs/{label-BK_7MvDR.js → label-yAj5CKm3.js} +1 -1
- package/lib/cjs/{language-utils-BmMgyx0x.js → language-utils-DjtvVntE.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-PLQ1zjHe.js → slot-utils-YUU0XWn9.js} +1 -1
- package/lib/cjs/{themeable-component-DD3okLL-.js → themeable-component-h3OzJgCb.js} +1 -1
- package/lib/cjs/{token-utils-CaLsk40I.js → token-utils-DY3-olMV.js} +1 -1
- package/lib/cjs/{tokens-DWngQgYY.js → tokens-COLlUECP.js} +226 -4
- package/lib/cjs/{tokens.module-BMAWZwue.js → tokens.module-CTbvyezn.js} +152 -4
- package/lib/collection/components/duet-action-button/duet-action-button.css +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +7 -0
- package/lib/collection/components/duet-banner/duet-banner.js +8 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +14 -8
- package/lib/collection/components/duet-button/duet-button.js +20 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.css +2 -2
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.css +1 -3
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.css +3 -3
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/date-utils.js +2 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +8 -8
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +23 -29
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.css +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-header/duet-header.css +6 -6
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.css +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-indicator/duet-indicator.js +2 -2
- package/lib/collection/components/duet-input/duet-input.css +71 -63
- package/lib/collection/components/duet-input/duet-input.js +10 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +1 -1
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +1 -1
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +1 -1
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +1 -1
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +1 -1
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +7 -7
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +24 -48
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.css +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +1 -1
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +11 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +8 -1
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +8 -4
- package/lib/collection/components/duet-radio/duet-radio.css +1 -1
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.css +20 -37
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.css +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -10
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +2 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +1 -1
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-step/duet-step.css +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +1 -1
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.css +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +3 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.css +33 -78
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
- package/lib/collection/components/duet-toggle/duet-toggle.js +3 -3
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +1 -1
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +1 -1
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +3 -3
- package/lib/collection/components/duet-tray/duet-tray.css +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/{p-f9f25386.entry.js → p-06f17fe7.entry.js} +1 -1
- package/lib/duet/{p-2d9e573a.entry.js → p-07b9b6c3.entry.js} +1 -1
- package/lib/duet/{p-831e210d.entry.js → p-0a80de40.entry.js} +1 -1
- package/lib/duet/{p-1eb20304.entry.js → p-0cc2921b.entry.js} +1 -1
- package/lib/duet/{p-137e710f.entry.js → p-0ccecf5b.entry.js} +1 -1
- package/lib/duet/{p-f58c0527.entry.js → p-10a326fa.entry.js} +1 -1
- package/lib/duet/{p-43723ce5.entry.js → p-12b2d402.entry.js} +1 -1
- package/lib/duet/{p-c18726af.entry.js → p-162993d2.entry.js} +1 -1
- package/lib/duet/{p-565bcf84.entry.js → p-162a0691.entry.js} +1 -1
- package/lib/duet/{p-6db9ac4d.entry.js → p-17413943.entry.js} +1 -1
- package/lib/duet/{p-00e0f919.entry.js → p-17c063a3.entry.js} +1 -1
- package/lib/duet/p-18eada94.entry.js +4 -0
- package/lib/duet/{p-014c965f.entry.js → p-1e168d4b.entry.js} +1 -1
- package/lib/duet/p-234f4365.entry.js +4 -0
- package/lib/duet/{p-9f941e06.entry.js → p-245c0535.entry.js} +1 -1
- package/lib/duet/{p-42105616.entry.js → p-25b4886a.entry.js} +1 -1
- package/lib/duet/{p-70d7a04d.entry.js → p-278ef4d8.entry.js} +1 -1
- package/lib/duet/{p-59553aa5.entry.js → p-29599dc5.entry.js} +1 -1
- package/lib/duet/{p-554d9373.entry.js → p-2ac11077.entry.js} +1 -1
- package/lib/duet/{p-713cc11f.entry.js → p-2d963ab0.entry.js} +1 -1
- package/lib/duet/{p-5a576bae.entry.js → p-2e126e15.entry.js} +1 -1
- package/lib/duet/{p-c0785349.entry.js → p-301b8664.entry.js} +1 -1
- package/lib/duet/{p-b7865974.entry.js → p-3a45c3a4.entry.js} +1 -1
- package/lib/duet/{p-408ace89.entry.js → p-3d00efb7.entry.js} +1 -1
- package/lib/duet/p-3d0a716c.entry.js +4 -0
- package/lib/duet/{p-c8f8acf7.entry.js → p-3eba33cd.entry.js} +1 -1
- package/lib/duet/{p-dfab71df.entry.js → p-419b96b6.entry.js} +1 -1
- package/lib/duet/{p-b0622412.entry.js → p-44a97d21.entry.js} +1 -1
- package/lib/duet/{p-4de84b4d.entry.js → p-4856f07c.entry.js} +1 -1
- package/lib/duet/{p-9240c039.entry.js → p-4b8293b3.entry.js} +1 -1
- package/lib/duet/{p-d3b4339e.entry.js → p-550bfab9.entry.js} +1 -1
- package/lib/duet/{p-2e967dc9.entry.js → p-5c60eca3.entry.js} +1 -1
- package/lib/duet/{p-32c7c0c1.entry.js → p-5c9530f1.entry.js} +1 -1
- package/lib/duet/{p-f31a6b2e.entry.js → p-5fb1092c.entry.js} +1 -1
- package/lib/duet/{p-a745eb10.entry.js → p-5fb783eb.entry.js} +1 -1
- package/lib/duet/{p-91370277.entry.js → p-608ebd47.entry.js} +1 -1
- package/lib/duet/{p-ae714f68.entry.js → p-65350441.entry.js} +1 -1
- package/lib/duet/{p-2981f32d.entry.js → p-67b3a01a.entry.js} +1 -1
- package/lib/duet/{p-098d7665.entry.js → p-690beb31.entry.js} +1 -1
- package/lib/duet/{p-73263349.entry.js → p-6cffc5b7.entry.js} +1 -1
- package/lib/duet/p-6e1b9cc8.entry.js +4 -0
- package/lib/duet/p-7ce31e10.entry.js +4 -0
- package/lib/duet/{p-ed252dd9.entry.js → p-806c4ab8.entry.js} +1 -1
- package/lib/duet/p-86166f8d.entry.js +4 -0
- package/lib/duet/{p-caf9df46.entry.js → p-898d5701.entry.js} +1 -1
- package/lib/duet/p-8a28f86e.entry.js +4 -0
- package/lib/duet/{p-8ff66f04.entry.js → p-9172ba70.entry.js} +1 -1
- package/lib/duet/{p-22143e3e.entry.js → p-93abd97a.entry.js} +1 -1
- package/lib/duet/{p-9ceede7a.entry.js → p-968546f6.entry.js} +1 -1
- package/lib/duet/p-B6Z_1gqI.js +4 -0
- package/lib/duet/p-BQVGvl4H.js +4 -0
- package/lib/duet/p-BUWuSkQW.js +4 -0
- package/lib/duet/p-CLZq8YfV.js +4 -0
- package/lib/duet/{p-DNW9B4-w.js → p-CW11pVgw.js} +1 -1
- package/lib/duet/p-Ce9HQd35.js +4 -0
- package/lib/duet/p-D2JvSVnG.js +4 -0
- package/lib/duet/{p-D8k4CqJb.js → p-D2ly4TZR.js} +1 -1
- package/lib/duet/p-DEzE2U5T.js +4 -0
- package/lib/duet/{p-Bo0igXOs.js → p-DFAnksuG.js} +1 -1
- package/lib/duet/{p-FlJJ5tdo.js → p-DrqQiRTn.js} +1 -1
- package/lib/duet/p-ELbbzMVZ.js +4 -0
- package/lib/duet/{p-1a28bbe1.entry.js → p-a3ad5622.entry.js} +1 -1
- package/lib/duet/{p-1da05915.entry.js → p-a6bec2da.entry.js} +1 -1
- package/lib/duet/p-a73b7110.entry.js +4 -0
- package/lib/duet/{p-6f08e639.entry.js → p-a8229728.entry.js} +1 -1
- package/lib/duet/{p-20aefca2.entry.js → p-ae778cb1.entry.js} +1 -1
- package/lib/duet/{p-2b489051.entry.js → p-b1d91a91.entry.js} +1 -1
- package/lib/duet/{p-6ff3fc39.entry.js → p-b4c18ee6.entry.js} +1 -1
- package/lib/duet/{p-9da7ffc9.entry.js → p-b6dc4395.entry.js} +1 -1
- package/lib/duet/{p-bc5b4e44.entry.js → p-b9a54319.entry.js} +1 -1
- package/lib/duet/{p-b8648d7a.entry.js → p-b9be36c8.entry.js} +1 -1
- package/lib/duet/{p-1d81fcf9.entry.js → p-bdae48d3.entry.js} +1 -1
- package/lib/duet/p-bdf6a296.entry.js +4 -0
- package/lib/duet/{p-7609417a.entry.js → p-bfc75bb9.entry.js} +1 -1
- package/lib/duet/p-c8d10c67.entry.js +4 -0
- package/lib/duet/{p-11847d3e.entry.js → p-c8e520b6.entry.js} +1 -1
- package/lib/duet/p-ce4d9add.entry.js +4 -0
- package/lib/duet/{p-e19d51b1.entry.js → p-d2e74e89.entry.js} +1 -1
- package/lib/duet/{p-2736a400.entry.js → p-d7506eaa.entry.js} +1 -1
- package/lib/duet/{p-bb0567b4.entry.js → p-d83f38c7.entry.js} +1 -1
- package/lib/duet/{p-a5b9e098.entry.js → p-d8bc628c.entry.js} +1 -1
- package/lib/duet/p-da275568.entry.js +4 -0
- package/lib/duet/p-dc5682d8.entry.js +4 -0
- package/lib/duet/{p-c23accaf.entry.js → p-de4b0518.entry.js} +1 -1
- package/lib/duet/p-e050ed5c.entry.js +4 -0
- package/lib/duet/{p-90ab8a57.entry.js → p-e9c2eb66.entry.js} +1 -1
- package/lib/duet/{p-e655dd7d.entry.js → p-ec5f40a5.entry.js} +1 -1
- package/lib/duet/{p-d36dabf1.entry.js → p-ec689a7c.entry.js} +1 -1
- package/lib/duet/{p-c504dc42.entry.js → p-ecf69f6d.entry.js} +1 -1
- package/lib/duet/p-ed750cdf.entry.js +4 -0
- package/lib/duet/{p-faf6d461.entry.js → p-efa1cd0b.entry.js} +1 -1
- package/lib/duet/{p-6ca30a68.entry.js → p-f15ab3b8.entry.js} +1 -1
- package/lib/duet/{p-d9963958.entry.js → p-f55f8bd9.entry.js} +1 -1
- package/lib/duet/{p-9fd00141.entry.js → p-f68a4a23.entry.js} +1 -1
- package/lib/duet/p-f71d04ce.entry.js +4 -0
- package/lib/duet/p-f8e26f21.entry.js +4 -0
- package/lib/duet/{p-3a4dcdbd.entry.js → p-fca9c5c4.entry.js} +1 -1
- package/lib/duet/{p-6e98887f.entry.js → p-fe00331c.entry.js} +1 -1
- package/lib/esm/{a11y-utils-DAo2lcPY.js → a11y-utils-D66Lzlz5.js} +1 -1
- package/lib/esm/{app-globals-CzrvWXbM.js → app-globals-G9KPoeGD.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +5 -5
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +13 -9
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +7 -7
- package/lib/esm/duet-button_2.entry.js +27 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +15 -15
- package/lib/esm/duet-card.entry.js +8 -8
- package/lib/esm/duet-checkbox.entry.js +5 -5
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +12 -12
- package/lib/esm/duet-collapsible.entry.js +6 -6
- package/lib/esm/duet-combobox.entry.js +5 -5
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +30 -34
- package/lib/esm/duet-divider_2.entry.js +6 -6
- package/lib/esm/duet-editable-table_3.entry.js +12 -12
- package/lib/esm/duet-empty-state.entry.js +4 -4
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +6 -6
- package/lib/esm/duet-header_2.entry.js +7 -7
- package/lib/esm/duet-hero.entry.js +9 -9
- package/lib/esm/duet-icon.entry.js +7 -7
- package/lib/esm/duet-indicator.entry.js +5 -5
- package/lib/esm/duet-input_2.entry.js +18 -14
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +5 -5
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +6 -6
- package/lib/esm/duet-modal.entry.js +14 -14
- package/lib/esm/duet-multiselect.entry.js +11 -11
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +9 -9
- package/lib/esm/duet-number-input.entry.js +8 -8
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +4 -4
- package/lib/esm/duet-pagination_2.entry.js +18 -18
- package/lib/esm/duet-panel.entry.js +4 -4
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +20 -18
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +13 -9
- package/lib/esm/duet-radio_2.entry.js +7 -7
- package/lib/esm/duet-range-slider.entry.js +7 -7
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +10 -10
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +8 -8
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +13 -13
- package/lib/esm/duet-slideout.entry.js +20 -18
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +9 -9
- package/lib/esm/duet-toggle.entry.js +8 -8
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +9 -9
- package/lib/esm/duet-tooltip.entry.js +5 -5
- package/lib/esm/duet-tray.entry.js +6 -6
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-DFNtyigo.js → errorcodes.utils-C6zptXiM.js} +1 -1
- package/lib/esm/{focus-utils-BMaSpIw7.js → focus-utils-YZ2ticmM.js} +1 -1
- package/lib/esm/{index-FlJJ5tdo.js → index-DrqQiRTn.js} +1 -1
- package/lib/esm/{label-B8qZstXv.js → label-CnTwCD-3.js} +1 -1
- package/lib/esm/{language-utils-D6DmVtHY.js → language-utils-BEG0cFmw.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-CNDJ1X0N.js → slot-utils-Dzrezpl3.js} +1 -1
- package/lib/esm/{themeable-component-r_Tw1vqr.js → themeable-component-BLql61nC.js} +1 -1
- package/lib/esm/{token-utils-D46K_pN4.js → token-utils-B0KAgyj_.js} +1 -1
- package/lib/esm/{tokens-vvm7i9oY.js → tokens-Ce9HQd35.js} +226 -4
- package/lib/esm/{tokens.module-D84A7Xf6.js → tokens.module-DEzE2U5T.js} +152 -4
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-date-picker/date-utils.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -2
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/package.json +5 -5
- package/lib/duet/p-0c653c09.entry.js +0 -4
- package/lib/duet/p-0ef804e4.entry.js +0 -4
- package/lib/duet/p-1f2469d6.entry.js +0 -4
- package/lib/duet/p-30190152.entry.js +0 -4
- package/lib/duet/p-44d1fafb.entry.js +0 -4
- package/lib/duet/p-47070cce.entry.js +0 -4
- package/lib/duet/p-5dc3f346.entry.js +0 -4
- package/lib/duet/p-5dc8a394.entry.js +0 -4
- package/lib/duet/p-62954ecf.entry.js +0 -4
- package/lib/duet/p-6359eb27.entry.js +0 -4
- package/lib/duet/p-846b040f.entry.js +0 -4
- package/lib/duet/p-93bfe3dd.entry.js +0 -4
- package/lib/duet/p-BEzfNXw0.js +0 -4
- package/lib/duet/p-BZkhQa5F.js +0 -4
- package/lib/duet/p-BsJux4JM.js +0 -4
- package/lib/duet/p-Bv3O2yFB.js +0 -4
- package/lib/duet/p-D84A7Xf6.js +0 -4
- package/lib/duet/p-Dd0j805V.js +0 -4
- package/lib/duet/p-a4b62f2f.entry.js +0 -4
- package/lib/duet/p-ab939713.entry.js +0 -4
- package/lib/duet/p-c2572d80.entry.js +0 -4
- package/lib/duet/p-dZaxsCbb.js +0 -4
- package/lib/duet/p-f0eda0e2.entry.js +0 -4
- package/lib/duet/p-fc0cb6fb.entry.js +0 -4
- package/lib/duet/p-vvm7i9oY.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -3714,16 +3714,46 @@ const disconnectLanguageChangeObserver = (component) => {
|
|
|
3714
3714
|
|
|
3715
3715
|
const colorBackgroundAccentPrimary = "rgb(240, 247, 250)";
|
|
3716
3716
|
const colorBackgroundAccentPrimaryTurva = "rgb(253, 247, 242)";
|
|
3717
|
+
const colorBackgroundAccentQuaternary = "rgb(0, 119, 179)";
|
|
3718
|
+
const colorBackgroundAccentQuaternaryTurva = "rgb(230, 23, 64)";
|
|
3717
3719
|
const colorBackgroundAccentSecondary = "rgb(228, 241, 247)";
|
|
3718
3720
|
const colorBackgroundAccentSecondaryTurva = "rgb(251, 235, 225)";
|
|
3719
|
-
const colorBackgroundAccentTertiary = "rgb(
|
|
3720
|
-
const colorBackgroundAccentTertiaryTurva = "rgb(
|
|
3721
|
+
const colorBackgroundAccentTertiary = "rgb(217, 236, 245)";
|
|
3722
|
+
const colorBackgroundAccentTertiaryTurva = "rgb(251, 225, 209)";
|
|
3723
|
+
const colorBackgroundDisabledPrimary = "rgb(245, 248, 250)";
|
|
3724
|
+
const colorBackgroundDisabledPrimaryTurva = "rgb(245, 246, 247)";
|
|
3725
|
+
const colorBackgroundDisabledSecondary = "rgb(228, 236, 239)";
|
|
3726
|
+
const colorBackgroundDisabledSecondaryTurva = "rgb(228, 233, 237)";
|
|
3721
3727
|
const colorBackgroundPrimary = "rgb(255, 255, 255)";
|
|
3722
3728
|
const colorBackgroundPrimaryTurva = "rgb(255, 255, 255)";
|
|
3723
3729
|
const colorBackgroundSecondary = "rgb(245, 248, 250)";
|
|
3724
3730
|
const colorBackgroundSecondaryTurva = "rgb(245, 246, 247)";
|
|
3725
3731
|
const colorBackgroundTertiary = "rgb(8, 42, 77)";
|
|
3726
3732
|
const colorBackgroundTertiaryTurva = "rgb(23, 42, 59)";
|
|
3733
|
+
const colorBorderAccentPrimary = "rgb(0, 119, 179)";
|
|
3734
|
+
const colorBorderAccentPrimaryTurva = "rgb(230, 23, 64)";
|
|
3735
|
+
const colorBorderAccentQuaternary = "rgb(217, 236, 245)";
|
|
3736
|
+
const colorBorderAccentQuaternaryTurva = "rgb(251, 225, 209)";
|
|
3737
|
+
const colorBorderAccentSecondary = "rgb(131, 188, 217)";
|
|
3738
|
+
const colorBorderAccentSecondaryTurva = "rgb(243, 119, 133)";
|
|
3739
|
+
const colorBorderAccentTertiary = "rgb(198, 225, 238)";
|
|
3740
|
+
const colorBorderAccentTertiaryTurva = "rgb(241, 202, 178)";
|
|
3741
|
+
const colorBorderDisabledPrimary = "rgb(212, 223, 229)";
|
|
3742
|
+
const colorBorderDisabledPrimaryTurva = "rgb(212, 221, 226)";
|
|
3743
|
+
const colorBorderDisabledSecondary = "rgb(181, 198, 208)";
|
|
3744
|
+
const colorBorderDisabledSecondaryTurva = "rgb(178, 194, 205)";
|
|
3745
|
+
const colorBorderInversePrimary = "rgb(127, 150, 165)";
|
|
3746
|
+
const colorBorderInversePrimaryTurva = "rgb(120, 145, 164)";
|
|
3747
|
+
const colorBorderInverseSecondary = "rgb(81, 105, 123)";
|
|
3748
|
+
const colorBorderInverseSecondaryTurva = "rgb(72, 100, 122)";
|
|
3749
|
+
const colorBorderInverseTertiary = "rgb(62, 84, 102)";
|
|
3750
|
+
const colorBorderInverseTertiaryTurva = "rgb(53, 79, 101)";
|
|
3751
|
+
const colorBorderPrimary = "rgb(127, 150, 165)";
|
|
3752
|
+
const colorBorderPrimaryTurva = "rgb(120, 145, 164)";
|
|
3753
|
+
const colorBorderSecondary = "rgb(181, 198, 208)";
|
|
3754
|
+
const colorBorderSecondaryTurva = "rgb(178, 194, 205)";
|
|
3755
|
+
const colorBorderTertiary = "rgb(212, 223, 229)";
|
|
3756
|
+
const colorBorderTertiaryTurva = "rgb(212, 221, 226)";
|
|
3727
3757
|
const colorBrandBlue = "rgb(0, 161, 212)";
|
|
3728
3758
|
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
3729
3759
|
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
@@ -3766,6 +3796,46 @@ const colorData12 = "rgb(11, 114, 136)";
|
|
|
3766
3796
|
const colorData13 = "rgb(179, 137, 24)";
|
|
3767
3797
|
const colorData14 = "rgb(128, 98, 17)";
|
|
3768
3798
|
const colorData15 = "rgb(0, 41, 77)";
|
|
3799
|
+
const colorDomainFamily = "rgb(11, 114, 136)";
|
|
3800
|
+
const colorDomainFamilyTurva = "rgb(199, 12, 112)";
|
|
3801
|
+
const colorDomainFinance = "rgb(122, 1, 196)";
|
|
3802
|
+
const colorDomainFinanceTurva = "rgb(122, 1, 196)";
|
|
3803
|
+
const colorDomainHome = "rgb(211, 36, 131)";
|
|
3804
|
+
const colorDomainHomeTurva = "rgb(161, 10, 78)";
|
|
3805
|
+
const colorDomainPet = "rgb(168, 1, 78)";
|
|
3806
|
+
const colorDomainPetTurva = "rgb(168, 1, 78)";
|
|
3807
|
+
const colorDomainTravel = "rgb(213, 66, 3)";
|
|
3808
|
+
const colorDomainTravelTurva = "rgb(9, 129, 148)";
|
|
3809
|
+
const colorDomainVehicle = "rgb(54, 74, 129)";
|
|
3810
|
+
const colorDomainVehicleTurva = "rgb(23, 28, 58)";
|
|
3811
|
+
const colorForegroundAccentPrimary = "rgb(0, 119, 179)";
|
|
3812
|
+
const colorForegroundAccentPrimaryTurva = "rgb(230, 23, 64)";
|
|
3813
|
+
const colorForegroundAccentSecondary = "rgb(0, 97, 155)";
|
|
3814
|
+
const colorForegroundAccentSecondaryTurva = "rgb(185, 3, 41)";
|
|
3815
|
+
const colorForegroundAccentTertiary = "rgb(0, 75, 129)";
|
|
3816
|
+
const colorForegroundAccentTertiaryTurva = "rgb(140, 0, 30)";
|
|
3817
|
+
const colorForegroundDisabledPrimary = "rgb(127, 150, 165)";
|
|
3818
|
+
const colorForegroundDisabledPrimaryTurva = "rgb(120, 145, 164)";
|
|
3819
|
+
const colorForegroundDisabledSecondary = "rgb(98, 121, 138)";
|
|
3820
|
+
const colorForegroundDisabledSecondaryTurva = "rgb(95, 122, 143)";
|
|
3821
|
+
const colorForegroundInverseAccentPrimary = "rgb(131, 188, 217)";
|
|
3822
|
+
const colorForegroundInverseAccentPrimaryTurva = "rgb(243, 119, 133)";
|
|
3823
|
+
const colorForegroundInverseAccentSecondary = "rgb(172, 210, 229)";
|
|
3824
|
+
const colorForegroundInverseAccentSecondaryTurva = "rgb(249, 164, 172)";
|
|
3825
|
+
const colorForegroundInverseAccentTertiary = "rgb(198, 225, 238)";
|
|
3826
|
+
const colorForegroundInverseAccentTertiaryTurva = "rgb(255, 201, 204)";
|
|
3827
|
+
const colorForegroundInversePrimary = "rgb(255, 255, 255)";
|
|
3828
|
+
const colorForegroundInversePrimaryTurva = "rgb(255, 255, 255)";
|
|
3829
|
+
const colorForegroundInverseSecondary = "rgb(181, 198, 208)";
|
|
3830
|
+
const colorForegroundInverseSecondaryTurva = "rgb(178, 194, 205)";
|
|
3831
|
+
const colorForegroundInverseTertiary = "rgb(127, 150, 165)";
|
|
3832
|
+
const colorForegroundInverseTertiaryTurva = "rgb(120, 145, 164)";
|
|
3833
|
+
const colorForegroundPrimary = "rgb(8, 42, 77)";
|
|
3834
|
+
const colorForegroundPrimaryTurva = "rgb(23, 42, 59)";
|
|
3835
|
+
const colorForegroundSecondary = "rgb(62, 84, 102)";
|
|
3836
|
+
const colorForegroundSecondaryTurva = "rgb(53, 79, 101)";
|
|
3837
|
+
const colorForegroundTertiary = "rgb(98, 121, 138)";
|
|
3838
|
+
const colorForegroundTertiaryTurva = "rgb(95, 122, 143)";
|
|
3769
3839
|
const colorGray = "rgb(181, 198, 208)";
|
|
3770
3840
|
const colorGrayDark = "rgb(127, 150, 165)";
|
|
3771
3841
|
const colorGrayDarkTurva = "rgb(120, 145, 164)";
|
|
@@ -3778,6 +3848,10 @@ const colorGrayLighterTurva = "rgb(245, 246, 247)";
|
|
|
3778
3848
|
const colorGrayLightest = "rgb(255, 255, 255)";
|
|
3779
3849
|
const colorGrayLightestTurva = "rgb(255, 255, 255)";
|
|
3780
3850
|
const colorGrayTurva = "rgb(178, 194, 205)";
|
|
3851
|
+
const colorInteractiveAlternative = "rgb(0, 119, 179)";
|
|
3852
|
+
const colorInteractiveAlternativeLight = "rgb(240, 247, 250)";
|
|
3853
|
+
const colorInteractiveAlternativeLightTurva = "rgb(245, 246, 247)";
|
|
3854
|
+
const colorInteractiveAlternativeTurva = "rgb(23, 42, 59)";
|
|
3781
3855
|
const colorLtBlue00 = "rgb(240, 247, 250)";
|
|
3782
3856
|
const colorLtBlue100 = "rgb(217, 236, 245)";
|
|
3783
3857
|
const colorLtBlue1000 = "rgb(8, 42, 77)";
|
|
@@ -3817,11 +3891,11 @@ const colorPrimaryLightestTurva = "rgb(253, 247, 242)";
|
|
|
3817
3891
|
const colorPrimaryTurva = "rgb(230, 23, 64)";
|
|
3818
3892
|
const colorSecondary = "rgb(8, 42, 77)";
|
|
3819
3893
|
const colorSecondaryTurva = "rgb(23, 42, 59)";
|
|
3820
|
-
const colorStatusBackgroundDangerPrimary = "rgb(255,
|
|
3894
|
+
const colorStatusBackgroundDangerPrimary = "rgb(255, 240, 243)";
|
|
3821
3895
|
const colorStatusBackgroundDangerQuaternary = "rgb(185, 16, 74)";
|
|
3822
3896
|
const colorStatusBackgroundDangerSecondary = "rgb(255, 211, 219)";
|
|
3823
3897
|
const colorStatusBackgroundDangerTertiary = "rgb(214, 28, 82)";
|
|
3824
|
-
const colorStatusBackgroundInfoPrimary = "rgb(
|
|
3898
|
+
const colorStatusBackgroundInfoPrimary = "rgb(240, 247, 250)";
|
|
3825
3899
|
const colorStatusBackgroundInfoQuaternary = "rgb(0, 97, 155)";
|
|
3826
3900
|
const colorStatusBackgroundInfoSecondary = "rgb(217, 236, 245)";
|
|
3827
3901
|
const colorStatusBackgroundInfoTertiary = "rgb(0, 119, 179)";
|
|
@@ -4025,16 +4099,46 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4025
4099
|
__proto__: null,
|
|
4026
4100
|
colorBackgroundAccentPrimary: colorBackgroundAccentPrimary,
|
|
4027
4101
|
colorBackgroundAccentPrimaryTurva: colorBackgroundAccentPrimaryTurva,
|
|
4102
|
+
colorBackgroundAccentQuaternary: colorBackgroundAccentQuaternary,
|
|
4103
|
+
colorBackgroundAccentQuaternaryTurva: colorBackgroundAccentQuaternaryTurva,
|
|
4028
4104
|
colorBackgroundAccentSecondary: colorBackgroundAccentSecondary,
|
|
4029
4105
|
colorBackgroundAccentSecondaryTurva: colorBackgroundAccentSecondaryTurva,
|
|
4030
4106
|
colorBackgroundAccentTertiary: colorBackgroundAccentTertiary,
|
|
4031
4107
|
colorBackgroundAccentTertiaryTurva: colorBackgroundAccentTertiaryTurva,
|
|
4108
|
+
colorBackgroundDisabledPrimary: colorBackgroundDisabledPrimary,
|
|
4109
|
+
colorBackgroundDisabledPrimaryTurva: colorBackgroundDisabledPrimaryTurva,
|
|
4110
|
+
colorBackgroundDisabledSecondary: colorBackgroundDisabledSecondary,
|
|
4111
|
+
colorBackgroundDisabledSecondaryTurva: colorBackgroundDisabledSecondaryTurva,
|
|
4032
4112
|
colorBackgroundPrimary: colorBackgroundPrimary,
|
|
4033
4113
|
colorBackgroundPrimaryTurva: colorBackgroundPrimaryTurva,
|
|
4034
4114
|
colorBackgroundSecondary: colorBackgroundSecondary,
|
|
4035
4115
|
colorBackgroundSecondaryTurva: colorBackgroundSecondaryTurva,
|
|
4036
4116
|
colorBackgroundTertiary: colorBackgroundTertiary,
|
|
4037
4117
|
colorBackgroundTertiaryTurva: colorBackgroundTertiaryTurva,
|
|
4118
|
+
colorBorderAccentPrimary: colorBorderAccentPrimary,
|
|
4119
|
+
colorBorderAccentPrimaryTurva: colorBorderAccentPrimaryTurva,
|
|
4120
|
+
colorBorderAccentQuaternary: colorBorderAccentQuaternary,
|
|
4121
|
+
colorBorderAccentQuaternaryTurva: colorBorderAccentQuaternaryTurva,
|
|
4122
|
+
colorBorderAccentSecondary: colorBorderAccentSecondary,
|
|
4123
|
+
colorBorderAccentSecondaryTurva: colorBorderAccentSecondaryTurva,
|
|
4124
|
+
colorBorderAccentTertiary: colorBorderAccentTertiary,
|
|
4125
|
+
colorBorderAccentTertiaryTurva: colorBorderAccentTertiaryTurva,
|
|
4126
|
+
colorBorderDisabledPrimary: colorBorderDisabledPrimary,
|
|
4127
|
+
colorBorderDisabledPrimaryTurva: colorBorderDisabledPrimaryTurva,
|
|
4128
|
+
colorBorderDisabledSecondary: colorBorderDisabledSecondary,
|
|
4129
|
+
colorBorderDisabledSecondaryTurva: colorBorderDisabledSecondaryTurva,
|
|
4130
|
+
colorBorderInversePrimary: colorBorderInversePrimary,
|
|
4131
|
+
colorBorderInversePrimaryTurva: colorBorderInversePrimaryTurva,
|
|
4132
|
+
colorBorderInverseSecondary: colorBorderInverseSecondary,
|
|
4133
|
+
colorBorderInverseSecondaryTurva: colorBorderInverseSecondaryTurva,
|
|
4134
|
+
colorBorderInverseTertiary: colorBorderInverseTertiary,
|
|
4135
|
+
colorBorderInverseTertiaryTurva: colorBorderInverseTertiaryTurva,
|
|
4136
|
+
colorBorderPrimary: colorBorderPrimary,
|
|
4137
|
+
colorBorderPrimaryTurva: colorBorderPrimaryTurva,
|
|
4138
|
+
colorBorderSecondary: colorBorderSecondary,
|
|
4139
|
+
colorBorderSecondaryTurva: colorBorderSecondaryTurva,
|
|
4140
|
+
colorBorderTertiary: colorBorderTertiary,
|
|
4141
|
+
colorBorderTertiaryTurva: colorBorderTertiaryTurva,
|
|
4038
4142
|
colorBrandBlue: colorBrandBlue,
|
|
4039
4143
|
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
4040
4144
|
colorCategoryFamily: colorCategoryFamily,
|
|
@@ -4077,6 +4181,46 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4077
4181
|
colorData13: colorData13,
|
|
4078
4182
|
colorData14: colorData14,
|
|
4079
4183
|
colorData15: colorData15,
|
|
4184
|
+
colorDomainFamily: colorDomainFamily,
|
|
4185
|
+
colorDomainFamilyTurva: colorDomainFamilyTurva,
|
|
4186
|
+
colorDomainFinance: colorDomainFinance,
|
|
4187
|
+
colorDomainFinanceTurva: colorDomainFinanceTurva,
|
|
4188
|
+
colorDomainHome: colorDomainHome,
|
|
4189
|
+
colorDomainHomeTurva: colorDomainHomeTurva,
|
|
4190
|
+
colorDomainPet: colorDomainPet,
|
|
4191
|
+
colorDomainPetTurva: colorDomainPetTurva,
|
|
4192
|
+
colorDomainTravel: colorDomainTravel,
|
|
4193
|
+
colorDomainTravelTurva: colorDomainTravelTurva,
|
|
4194
|
+
colorDomainVehicle: colorDomainVehicle,
|
|
4195
|
+
colorDomainVehicleTurva: colorDomainVehicleTurva,
|
|
4196
|
+
colorForegroundAccentPrimary: colorForegroundAccentPrimary,
|
|
4197
|
+
colorForegroundAccentPrimaryTurva: colorForegroundAccentPrimaryTurva,
|
|
4198
|
+
colorForegroundAccentSecondary: colorForegroundAccentSecondary,
|
|
4199
|
+
colorForegroundAccentSecondaryTurva: colorForegroundAccentSecondaryTurva,
|
|
4200
|
+
colorForegroundAccentTertiary: colorForegroundAccentTertiary,
|
|
4201
|
+
colorForegroundAccentTertiaryTurva: colorForegroundAccentTertiaryTurva,
|
|
4202
|
+
colorForegroundDisabledPrimary: colorForegroundDisabledPrimary,
|
|
4203
|
+
colorForegroundDisabledPrimaryTurva: colorForegroundDisabledPrimaryTurva,
|
|
4204
|
+
colorForegroundDisabledSecondary: colorForegroundDisabledSecondary,
|
|
4205
|
+
colorForegroundDisabledSecondaryTurva: colorForegroundDisabledSecondaryTurva,
|
|
4206
|
+
colorForegroundInverseAccentPrimary: colorForegroundInverseAccentPrimary,
|
|
4207
|
+
colorForegroundInverseAccentPrimaryTurva: colorForegroundInverseAccentPrimaryTurva,
|
|
4208
|
+
colorForegroundInverseAccentSecondary: colorForegroundInverseAccentSecondary,
|
|
4209
|
+
colorForegroundInverseAccentSecondaryTurva: colorForegroundInverseAccentSecondaryTurva,
|
|
4210
|
+
colorForegroundInverseAccentTertiary: colorForegroundInverseAccentTertiary,
|
|
4211
|
+
colorForegroundInverseAccentTertiaryTurva: colorForegroundInverseAccentTertiaryTurva,
|
|
4212
|
+
colorForegroundInversePrimary: colorForegroundInversePrimary,
|
|
4213
|
+
colorForegroundInversePrimaryTurva: colorForegroundInversePrimaryTurva,
|
|
4214
|
+
colorForegroundInverseSecondary: colorForegroundInverseSecondary,
|
|
4215
|
+
colorForegroundInverseSecondaryTurva: colorForegroundInverseSecondaryTurva,
|
|
4216
|
+
colorForegroundInverseTertiary: colorForegroundInverseTertiary,
|
|
4217
|
+
colorForegroundInverseTertiaryTurva: colorForegroundInverseTertiaryTurva,
|
|
4218
|
+
colorForegroundPrimary: colorForegroundPrimary,
|
|
4219
|
+
colorForegroundPrimaryTurva: colorForegroundPrimaryTurva,
|
|
4220
|
+
colorForegroundSecondary: colorForegroundSecondary,
|
|
4221
|
+
colorForegroundSecondaryTurva: colorForegroundSecondaryTurva,
|
|
4222
|
+
colorForegroundTertiary: colorForegroundTertiary,
|
|
4223
|
+
colorForegroundTertiaryTurva: colorForegroundTertiaryTurva,
|
|
4080
4224
|
colorGray: colorGray,
|
|
4081
4225
|
colorGrayDark: colorGrayDark,
|
|
4082
4226
|
colorGrayDarkTurva: colorGrayDarkTurva,
|
|
@@ -4089,6 +4233,10 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4089
4233
|
colorGrayLightest: colorGrayLightest,
|
|
4090
4234
|
colorGrayLightestTurva: colorGrayLightestTurva,
|
|
4091
4235
|
colorGrayTurva: colorGrayTurva,
|
|
4236
|
+
colorInteractiveAlternative: colorInteractiveAlternative,
|
|
4237
|
+
colorInteractiveAlternativeLight: colorInteractiveAlternativeLight,
|
|
4238
|
+
colorInteractiveAlternativeLightTurva: colorInteractiveAlternativeLightTurva,
|
|
4239
|
+
colorInteractiveAlternativeTurva: colorInteractiveAlternativeTurva,
|
|
4092
4240
|
colorLtBlue00: colorLtBlue00,
|
|
4093
4241
|
colorLtBlue100: colorLtBlue100,
|
|
4094
4242
|
colorLtBlue1000: colorLtBlue1000,
|
|
@@ -5097,12 +5245,12 @@ class DuetBadge {
|
|
|
5097
5245
|
*/
|
|
5098
5246
|
render() {
|
|
5099
5247
|
const backgroundClass = `background-${this.background}`;
|
|
5100
|
-
return (hAsync(Host, { key: '
|
|
5248
|
+
return (hAsync(Host, { key: 'ee0e4ba8db39d1523e64a8a3725f773c3a1fccca', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'e2f1ed3dda43cd601d8b5d4865eaa063dd5cf759', class: {
|
|
5101
5249
|
"duet-badge": true,
|
|
5102
5250
|
[this.variation]: true,
|
|
5103
5251
|
[backgroundClass]: true,
|
|
5104
5252
|
"duet-theme-turva": this.theme === "turva",
|
|
5105
|
-
} }, hAsync("duet-visually-hidden", { key: '
|
|
5253
|
+
} }, hAsync("duet-visually-hidden", { key: '0b9ee8dc4ab19046ad02e5a0aa49d753f2b5c616' }, this.getVariationLabel()), hAsync("slot", { key: '95e0adfc9d9a95bc018e52d3bb3e8a7fc87c99a9' }))));
|
|
5106
5254
|
}
|
|
5107
5255
|
get element() { return getElement(this); }
|
|
5108
5256
|
static get style() { return duetBadgeCss; }
|
|
@@ -5128,7 +5276,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
5128
5276
|
hAsync("img", Object.assign({}, img))));
|
|
5129
5277
|
};
|
|
5130
5278
|
|
|
5131
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n[alignment=form-distribute] > :host:last-of-type:not(:last-child) {\n margin-right: 36px !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n border-radius: 12px;\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20width%3D%22540%22%20height%3D%2258%22%20viewBox%3D%220%200%20540%2058%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M540%2018.0729L540%2057.6749H0L0.000139455%2011.2563C0.000139455%202.85822%208.31858%20-2.59156%2015.3307%201.26796C33.6821%2011.3367%2055.6983%2020.0831%2080.3633%2027.3465C134.438%2043.276%20201.239%2052.0939%20270%2052.0939C338.761%2052.0939%20405.572%2043.276%20459.637%2027.3465C484.302%2020.0742%20506.318%2011.3277%20524.669%201.25902C531.682%20-2.59156%20540%202.85822%20540%2011.2563V18.0729Z%22%20fill%3D%22%23FBEBE1%22%2F%3E%0A%3C%2Fsvg%3E%0A\");\n mask-repeat: no-repeat;\n mask-position: bottom;\n mask-size: contain;\n scale: 101%;\n}\n.duet-banner.duet-theme-turva.size-medium .visual, .duet-banner.duet-theme-turva.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.duet-theme-turva.size-medium, .duet-banner.duet-theme-turva.size-large {\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual, .duet-banner.duet-theme-turva.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .image-container, .duet-banner.duet-theme-turva.size-large .visual .image-container {\n padding: 20px;\n padding-right: 0;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .image, .duet-banner.duet-theme-turva.size-large .visual .image {\n border-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .brand-shape, .duet-banner.duet-theme-turva.size-large .visual .brand-shape {\n display: none;\n }\n}";
|
|
5279
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n background: transparent;\n border: 0;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n[alignment=form-distribute] > :host:last-of-type:not(:last-child) {\n margin-right: 36px !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n}\n@container duet-banner-container (min-width: 0) {\n .duet-banner .visual {\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n transform: scale(101%);\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n padding: 48px;\n }\n}\n\n::slotted(.duet-heading) {\n margin: inherit !important;\n font-size: inherit !important;\n line-height: inherit !important;\n color: inherit !important;\n}\n\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n border-radius: 12px;\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20width%3D%22540%22%20height%3D%2258%22%20viewBox%3D%220%200%20540%2058%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M540%2018.0729L540%2057.6749H0L0.000139455%2011.2563C0.000139455%202.85822%208.31858%20-2.59156%2015.3307%201.26796C33.6821%2011.3367%2055.6983%2020.0831%2080.3633%2027.3465C134.438%2043.276%20201.239%2052.0939%20270%2052.0939C338.761%2052.0939%20405.572%2043.276%20459.637%2027.3465C484.302%2020.0742%20506.318%2011.3277%20524.669%201.25902C531.682%20-2.59156%20540%202.85822%20540%2011.2563V18.0729Z%22%20fill%3D%22%23FBEBE1%22%2F%3E%0A%3C%2Fsvg%3E%0A\");\n mask-repeat: no-repeat;\n mask-position: bottom;\n mask-size: contain;\n scale: 101%;\n}\n.duet-banner.duet-theme-turva.size-medium .visual, .duet-banner.duet-theme-turva.size-large .visual {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.duet-theme-turva.size-medium, .duet-banner.duet-theme-turva.size-large {\n grid-template-columns: 1fr 1fr;\n gap: 28px;\n border-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual, .duet-banner.duet-theme-turva.size-large .visual {\n border-top-left-radius: 12px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .image-container, .duet-banner.duet-theme-turva.size-large .visual .image-container {\n padding: 20px;\n padding-right: 0;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .image, .duet-banner.duet-theme-turva.size-large .visual .image {\n border-radius: 12px;\n }\n .duet-banner.duet-theme-turva.size-medium .visual .brand-shape, .duet-banner.duet-theme-turva.size-large .visual .brand-shape {\n display: none;\n }\n}";
|
|
5132
5280
|
|
|
5133
5281
|
/**
|
|
5134
5282
|
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
@@ -5219,11 +5367,15 @@ class DuetBanner {
|
|
|
5219
5367
|
* Component lifecycle events.
|
|
5220
5368
|
*/
|
|
5221
5369
|
componentWillLoad() {
|
|
5370
|
+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
5222
5371
|
inheritGlobalTheme(this);
|
|
5223
5372
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
5224
5373
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
5225
5374
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
5226
|
-
checkNamedSlotElement(this.element, "heading",
|
|
5375
|
+
checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
|
|
5376
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
|
|
5377
|
+
this.hasHeadingSlotNative = true;
|
|
5378
|
+
}
|
|
5227
5379
|
this.setButtonSize();
|
|
5228
5380
|
}
|
|
5229
5381
|
connectedCallback() {
|
|
@@ -5255,14 +5407,14 @@ class DuetBanner {
|
|
|
5255
5407
|
},
|
|
5256
5408
|
sources: parsePossibleJSON(this.sources),
|
|
5257
5409
|
};
|
|
5258
|
-
return (hAsync(Host, { key: '
|
|
5410
|
+
return (hAsync(Host, { key: '6c5c51b5270034eca60358d32acf69b0b87cfe37', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'd3357af952f4d21a284a3c07a4840be8c9d96671', class: {
|
|
5259
5411
|
"duet-banner": true,
|
|
5260
5412
|
"duet-theme-turva": this.theme === "turva",
|
|
5261
5413
|
[this.currentSize]: true,
|
|
5262
5414
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
5263
5415
|
"size-large": this.size === "large",
|
|
5264
5416
|
"no-image": !this.image,
|
|
5265
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
5417
|
+
}, style: bannerStyles }, hAsync("div", { key: '129fd9d09e47a09e8109741d832e6adbb254c2f7', class: "visual" }, hAsync("div", { key: '34a38d97f6591aa3cf06542ccc21d2be6526775e', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: '4e74d10a68cbd875eafda59dff824d20f2259534' }, pictureSource))), 1 > 2, hAsync("div", { key: '527007e8b696a194e63cb513d32c8072e3900fa0', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '6c2ce761c87965936e5a77764bd07c4068fc5af1', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: 'f95cad851a8a235080682deabc5eb48f69f06090', class: "heading" }, hAsync("duet-heading", { key: '35d3d015a16e2f723d2afa61b46b44706239063f', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '3968de3baeb3baca08829460f41c843df594c3a6' }, hAsync("slot", { key: 'c19c73a90688fc2e2f45cd46215714cd0f23eee1', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '77df4cc82d30c81bd36f73fa7db4bbfb59a491d6', class: "description", style: { color } }, hAsync("slot", { key: '21d38914241a35c9d5b8803d727abca2b8c7c249', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: 'aef144cc3dbb6453ed8e0b37337322da880f26d8', class: "action" }, hAsync("slot", { key: '613875d267d920e780afe93b3eb4c4fadbb3d73b', name: "action" })))))));
|
|
5266
5418
|
}
|
|
5267
5419
|
get element() { return getElement(this); }
|
|
5268
5420
|
static get style() { return duetBannerCss; }
|
|
@@ -5349,15 +5501,15 @@ class DuetBreadcrumb {
|
|
|
5349
5501
|
*/
|
|
5350
5502
|
render() {
|
|
5351
5503
|
const Tag = this.href ? "a" : "span";
|
|
5352
|
-
return (hAsync(Host, { key: '
|
|
5504
|
+
return (hAsync(Host, { key: '34a5e92e51adfec7868e9df7ce42c448bd0199bd', role: "listitem" }, hAsync("div", { key: '55c358452ded2ad2471012dbad1126396ec7328a', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'a18e042b22da27aa25dfafcc66e6821aa7738485', class: "duet-breadrumbs-arrow", size: "auto", icon: arrowRightSmallIcon.svg, margin: "none", color: "currentColor" })), hAsync(Tag, { key: 'ada812d487db85ae7dca3946aed805631df1be28', class: {
|
|
5353
5505
|
"duet-breadcrumb": true,
|
|
5354
5506
|
"duet-theme-turva": this.theme === "turva",
|
|
5355
5507
|
"icon-only": this.icon && !this.hasSlottedContent,
|
|
5356
5508
|
}, href: this.href || undefined, "aria-label": this.accessibleLabel || this.element.textContent, "aria-current": this.href ? undefined : "page" }, this.icon !== "arrow-right-small-icon" &&
|
|
5357
5509
|
this.icon && [
|
|
5358
|
-
hAsync("duet-icon", { key: '
|
|
5359
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
5360
|
-
], hAsync("slot", { key: '
|
|
5510
|
+
hAsync("duet-icon", { key: '6ea363f16a27da9172c1257587bd4e8a03dd3e14', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
5511
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'e4e63fbc6d9e371743570528b4bf2cf3eb1cd289', size: "x-small", direction: "horizontal" }),
|
|
5512
|
+
], hAsync("slot", { key: 'ae2098eb9604da79ea48f19f35cf727588b59adc' })))));
|
|
5361
5513
|
}
|
|
5362
5514
|
get element() { return getElement(this); }
|
|
5363
5515
|
static get style() { return duetBreadcrumbCss; }
|
|
@@ -5425,11 +5577,11 @@ class DuetBreadcrumbs {
|
|
|
5425
5577
|
*/
|
|
5426
5578
|
render() {
|
|
5427
5579
|
const color = getColorByName(this.color);
|
|
5428
|
-
return (hAsync(Host, { key: '
|
|
5580
|
+
return (hAsync(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, hAsync("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
5429
5581
|
"duet-breadcrumbs": true,
|
|
5430
5582
|
"duet-theme-turva": this.theme === "turva",
|
|
5431
5583
|
[this.variation]: true,
|
|
5432
|
-
} }, hAsync("div", { key: '
|
|
5584
|
+
} }, hAsync("div", { key: '515e61b4523d016aeaf79f9785f335793f3fd8a7', class: "container" }, hAsync("div", { key: '5cc015e840532c3e5450d2f99ea6dbfe16da9e21', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '712824b51a9798d5df687a5146e7564c32e3b192' })), hAsync("div", { key: '6c669b82b4d9bebfec76cd852e422df64fc378f7', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '04cb09bd7682b668fd9ca24ddd91efea24da9bf6', class: "bottom-border bottom-border--nav" }))));
|
|
5433
5585
|
}
|
|
5434
5586
|
get element() { return getElement(this); }
|
|
5435
5587
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -5448,7 +5600,7 @@ class DuetBreadcrumbs {
|
|
|
5448
5600
|
}; }
|
|
5449
5601
|
}
|
|
5450
5602
|
|
|
5451
|
-
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square):last-of-type:not(:last-child){margin-right:12px !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:4px !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:2px !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.square.duet-x-small):last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva{outline-color:rgb(120, 145, 164)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(230, 23, 64) !important;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:14px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:14px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(178, 194, 205)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(140, 0, 30);border-color:rgb(140, 0, 30)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.duet-button.input-button-primary,.duet-theme-turva .duet-button.duet-button.input-button-secondary,.duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-button.duet-button.input-button-left-primary,.duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}.duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important;background:transparent;border-color:transparent}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.square{border-color:rgb(212, 221, 226)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}.duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}";
|
|
5603
|
+
const duetButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:8px !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square):last-of-type:not(:last-child){margin-right:12px !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:4px !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.duet-x-small):last-of-type:not(:last-child){margin-right:2px !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host(.square.duet-small):last-of-type:not(:last-child),[alignment=form-distribute]>:host(.square.duet-x-small):last-of-type:not(:last-child){margin-right:8px !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-button.default:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179);outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-button.secondary:hover,.duet-button.secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-button.input-button-secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-button.input-button-left-secondary:hover.duet-theme-turva,.duet-theme-turva .duet-button.input-button-embedded:hover,.duet-button.input-button-embedded:hover.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled],.duet-button.plain[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.plain.duet-button-icon-only:focus{outline-offset:1px}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px !important;border-bottom-right-radius:4px !important;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px !important;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px !important}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-left-secondary{border-color:rgb(127, 150, 165)}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-button.square:hover{outline:2px solid rgb(0, 119, 179);outline-offset:-2px;border-color:rgb(0, 119, 179)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;outline:none !important;outline-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}.duet-theme-turva .duet-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(230, 23, 64) !important;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:14px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:14px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:8px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.default{color:rgb(230, 23, 64) !important;border-color:rgb(178, 194, 205)}.duet-theme-turva .duet-button.default:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(140, 0, 30);border-color:rgb(140, 0, 30)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 42, 59) !important;border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(230, 23, 64) !important;border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.duet-button.input-button-primary,.duet-theme-turva .duet-button.duet-button.input-button-secondary,.duet-theme-turva .duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-bottom-left-radius:0}.duet-theme-turva .duet-button.duet-button.input-button-left-primary,.duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-top-right-radius:0;border-bottom-right-radius:0}.duet-theme-turva .duet-button.duet-button.input-button-secondary,.duet-theme-turva .duet-button.duet-button.input-button-left-secondary{border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-button.negative{color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-button.negative:hover{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.plain{color:rgb(230, 23, 64) !important;background:transparent;border-color:transparent}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(140, 0, 30) !important}.duet-theme-turva .duet-button.plain[disabled],.duet-theme-turva .duet-button.plain[disabled]:hover{color:rgb(95, 122, 143) !important;cursor:not-allowed;background:transparent !important;border-color:rgb(251, 225, 209) !important}.duet-theme-turva .duet-button.square{border-color:rgb(212, 221, 226)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button.square:hover{outline-color:rgb(230, 23, 64);border-color:rgb(230, 23, 64)}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(120, 145, 164) !important;cursor:not-allowed;outline-color:rgb(212, 221, 226) !important;background:rgb(212, 221, 226) !important;border-color:rgb(212, 221, 226) !important}.duet-theme-turva .duet-button-is-loading.default{color:rgb(230, 23, 64)}";
|
|
5452
5604
|
|
|
5453
5605
|
class DuetButton {
|
|
5454
5606
|
constructor(hostRef) {
|
|
@@ -5704,12 +5856,27 @@ class DuetButton {
|
|
|
5704
5856
|
// enforce consistency for external links
|
|
5705
5857
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
5706
5858
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
5707
|
-
const
|
|
5859
|
+
const getSpinnerColor = () => {
|
|
5860
|
+
if (this.disabled) {
|
|
5861
|
+
return "primary";
|
|
5862
|
+
}
|
|
5863
|
+
if (this.variation === "destructive-secondary") {
|
|
5864
|
+
return "color-status-foreground-danger-primary";
|
|
5865
|
+
}
|
|
5866
|
+
if (this.variation === "default" || this.variation.includes("secondary")) {
|
|
5867
|
+
return "primary";
|
|
5868
|
+
}
|
|
5869
|
+
if (this.variation.includes("destructive")) {
|
|
5870
|
+
return "gray-lightest";
|
|
5871
|
+
}
|
|
5872
|
+
return "currentColor";
|
|
5873
|
+
};
|
|
5874
|
+
const commonChildren = (hAsync("span", { class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color, this.theme) } }, icon && (hAsync("span", { "aria-hidden": "true", class: {
|
|
5708
5875
|
"duet-button-icon": true,
|
|
5709
5876
|
left: !iconRight,
|
|
5710
5877
|
right: iconRight,
|
|
5711
5878
|
[this.getButtonIconSize()]: true,
|
|
5712
|
-
} }, hAsync("duet-icon", {
|
|
5879
|
+
} }, hAsync("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { class: "duet-button-contents-slot" }, hAsync("slot", null))));
|
|
5713
5880
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
5714
5881
|
const commonProps = {
|
|
5715
5882
|
onFocus: this.onFocus,
|
|
@@ -5744,7 +5911,7 @@ class DuetButton {
|
|
|
5744
5911
|
"aria-details": this.accessibleDetails,
|
|
5745
5912
|
"aria-description": this.accessibleDescription,
|
|
5746
5913
|
};
|
|
5747
|
-
return (hAsync(Host, {
|
|
5914
|
+
return (hAsync(Host, { class: {
|
|
5748
5915
|
"duet-m-0": this.margin === "none",
|
|
5749
5916
|
"duet-small": this.size === "small",
|
|
5750
5917
|
"duet-x-small": this.size === "x-small",
|
|
@@ -5752,13 +5919,13 @@ class DuetButton {
|
|
|
5752
5919
|
"duet-expand": this.expand,
|
|
5753
5920
|
[this.variation]: true,
|
|
5754
5921
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
5755
|
-
} }, hAsync("span", {
|
|
5922
|
+
} }, hAsync("span", { onClick: this.handleClick, class: {
|
|
5756
5923
|
"duet-button-container": true,
|
|
5757
5924
|
"duet-button-is-loading": this.loading,
|
|
5758
5925
|
"duet-theme-turva": this.theme === "turva",
|
|
5759
5926
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
5760
5927
|
[this.variation]: true,
|
|
5761
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", {
|
|
5928
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { color: getSpinnerColor() })), hAsync("slot", { name: "proxybutton" })));
|
|
5762
5929
|
}
|
|
5763
5930
|
get element() { return getElement(this); }
|
|
5764
5931
|
static get style() { return duetButtonCss; }
|
|
@@ -5850,11 +6017,11 @@ class DuetCallout {
|
|
|
5850
6017
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
5851
6018
|
</svg>
|
|
5852
6019
|
`;
|
|
5853
|
-
return (hAsync(Host, { key: '
|
|
6020
|
+
return (hAsync(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, hAsync("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
|
|
5854
6021
|
"duet-callout": true,
|
|
5855
6022
|
"duet-theme-turva": this.theme === "turva",
|
|
5856
6023
|
"duet-m-0": this.margin === "none",
|
|
5857
|
-
} }, hAsync("figure", { key: '
|
|
6024
|
+
} }, hAsync("figure", { key: 'eb03690c450a0d767e18bffdbce24d83e3334e65', class: "container" }, hAsync("duet-icon", { key: '1695f3f5c59f29b3497a9df3269e791bc19095a6', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: '6297aefa621ef90e3cb100bcfd07c798cf9b378a' }, hAsync("slot", { key: '14186875763fbf1989d9de9cb90706be15de8508' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'c17e4fe83fb3c067c4c91369ee6d80a2a6abf3a8', class: "author" }, hAsync("span", { key: 'fac4c2303e1ff78e28fd1538ab43d1b19e84610f' }, "\u2014 "), hAsync("slot", { key: '648acac653c20369d7d52a5537c43175cb4dbd5d', name: "author" })))))));
|
|
5858
6025
|
}
|
|
5859
6026
|
get element() { return getElement(this); }
|
|
5860
6027
|
static get style() { return duetCalloutCss; }
|
|
@@ -5904,13 +6071,13 @@ class DuetCaption {
|
|
|
5904
6071
|
* Always the last one in the class.
|
|
5905
6072
|
*/
|
|
5906
6073
|
render() {
|
|
5907
|
-
return (hAsync(Host, { key: '
|
|
6074
|
+
return (hAsync(Host, { key: 'f0006c630adf5dfdffecf1694f5f132b6bbfc285', class: {
|
|
5908
6075
|
"duet-caption": true,
|
|
5909
6076
|
"duet-caption-selected": this.selected,
|
|
5910
6077
|
"duet-caption-small": this.size === "small",
|
|
5911
6078
|
"duet-theme-turva": this.theme === "turva",
|
|
5912
6079
|
"duet-m-0": this.margin === "none",
|
|
5913
|
-
} }, hAsync("slot", { key: '
|
|
6080
|
+
} }, hAsync("slot", { key: '6d6fcee0296c8e2c445b048b3cde5a6fdee74f66' })));
|
|
5914
6081
|
}
|
|
5915
6082
|
get element() { return getElement(this); }
|
|
5916
6083
|
static get style() { return duetCaptionCss; }
|
|
@@ -6087,10 +6254,10 @@ class DuetCard {
|
|
|
6087
6254
|
const styles = {
|
|
6088
6255
|
backgroundColor: getColorByName(this.background),
|
|
6089
6256
|
};
|
|
6090
|
-
return (hAsync(Host, { key: '
|
|
6257
|
+
return (hAsync(Host, { key: '526da1b920f1be4a18d200ab81bc1951649cf3b2', class: {
|
|
6091
6258
|
"duet-m-0": this.margin === "none",
|
|
6092
6259
|
"duet-card-info": this.variation === "info",
|
|
6093
|
-
} }, hAsync(TagName, { key: '
|
|
6260
|
+
} }, hAsync(TagName, { key: '1cfae581c87423ea9d466fd39084b28505b01a77', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
6094
6261
|
"duet-card": true,
|
|
6095
6262
|
[this.padding]: true,
|
|
6096
6263
|
[this.variation]: true,
|
|
@@ -6100,7 +6267,7 @@ class DuetCard {
|
|
|
6100
6267
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
6101
6268
|
"duet-card-has-icon": !!this.icon,
|
|
6102
6269
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
6103
|
-
} }, this.image && (hAsync("div", { key: '
|
|
6270
|
+
} }, this.image && (hAsync("div", { key: 'e310f18c792507a78333290fc56a3866efe302ca', class: "duet-card-image-mask" }, hAsync("img", { key: '84eaf59d2df2a9dd85cf0703b9b1641dff78c473', src: this.image, class: "duet-card-image", loading: "lazy", alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), hAsync("div", { key: 'ef549d1a5f7efeb35a2fd0ca6ab2c22566955029', class: "duet-card-content", id: this.cardId }, hAsync("slot", { key: '746a25475887db3e0ba914e273eb32571accbb56' }), this.hasFooter && (hAsync("div", { key: 'd30c96b12ae73fc4bdfbfd22f25b862287b8fce5', class: "duet-card-footer" }, hAsync("slot", { key: '887615186784331005c099562f296bdd3d216c98', name: "footer" })))))));
|
|
6104
6271
|
}
|
|
6105
6272
|
get element() { return getElement(this); }
|
|
6106
6273
|
static get style() { return duetCardCss; }
|
|
@@ -6285,11 +6452,11 @@ class DuetCheckbox {
|
|
|
6285
6452
|
*/
|
|
6286
6453
|
render() {
|
|
6287
6454
|
const identifier = this.identifier || this.checkboxId;
|
|
6288
|
-
return (hAsync(Host, { key: '
|
|
6455
|
+
return (hAsync(Host, { key: '969fef83a2c19f8bde9bbe4244282e8baf694dee', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '7dec18303e2eb5f1d03efcd8913ee16aac4279a5', class: {
|
|
6289
6456
|
"duet-checkbox-container": true,
|
|
6290
6457
|
"duet-label-hidden": this.labelHidden,
|
|
6291
6458
|
"duet-theme-turva": this.theme === "turva",
|
|
6292
|
-
} }, hAsync("input", { key: '
|
|
6459
|
+
} }, hAsync("input", { key: 'd48062c10d7b99b4f41e36dc84f293d3217c1112', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.getAriaDetails(), "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), hAsync("label", { key: '16993274e2fc393f0975638cb9b086985e8a7824', class: "duet-label", htmlFor: identifier }, hAsync("span", { key: 'e23f56d12d28ac8b2365a10d42af3a2da0e22c4f' }, this.label)), this.hasAfterLabelSlot && (hAsync("div", { key: '70c7eb127b99fecd261cce9532fe29b52dd6b06a', class: "duet-after-label", id: this.afterLabelId }, hAsync("slot", { key: '1ff432b9f19edecef2d61fef39807731f23b887d', name: "after-label" }))), hAsync("div", { key: '3684cba399c53315f800893f2865543385fc0160', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'a6ef45046d9857c1a546796fc1be69bb63e5b714' }, this.error)))));
|
|
6293
6460
|
}
|
|
6294
6461
|
get element() { return getElement(this); }
|
|
6295
6462
|
static get style() { return duetCheckboxCss; }
|
|
@@ -6361,11 +6528,11 @@ class DuetCheckmark {
|
|
|
6361
6528
|
inheritGlobalTheme(this);
|
|
6362
6529
|
}
|
|
6363
6530
|
render() {
|
|
6364
|
-
return (hAsync(Host, { key: '
|
|
6531
|
+
return (hAsync(Host, { key: '9a2512992413ec797c17d55d2a41908cda0e6307', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'f95a151961586c89597dd2d31436deecc0cabf4d', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '42f1b50012a17910a3c1d91bac31bfc370c73abf', class: {
|
|
6365
6532
|
"duet-checkmark-container": true,
|
|
6366
6533
|
center: this.center,
|
|
6367
6534
|
"duet-checkmark-radio": this.type === "radio",
|
|
6368
|
-
} }, this.checked && hAsync("div", { key: '
|
|
6535
|
+
} }, this.checked && hAsync("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
|
|
6369
6536
|
}
|
|
6370
6537
|
static get style() { return duetCheckmarkCss; }
|
|
6371
6538
|
static get cmpMeta() { return {
|
|
@@ -6717,7 +6884,7 @@ class DuetChip {
|
|
|
6717
6884
|
onBlur: this.onBlur,
|
|
6718
6885
|
ref: el => (this.focusableElement = el),
|
|
6719
6886
|
};
|
|
6720
|
-
return (hAsync(Host, { key: '
|
|
6887
|
+
return (hAsync(Host, { key: '767a15cc909e022208fcde5be228793bee3b6976', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'c8825faa73dbdcdcb1205a23cda99d78a3260094', class: classes }, hAsync("button", Object.assign({ key: 'e6da48743479479b5297d5d6ab907ff496d16ffc', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), hAsync("span", { key: '96950c91e2d34903ddccd8e9db3af5d0768965cb', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '51549e09fbf833745b858e166b074a136afbdf74', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '9feae0579ee54a12770b88ec4f6c4ea1d19b9150' })))), this.variation === "input" && (hAsync("span", { key: '6da4e282e09b8c5d597c889d7f213e40be19668d', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '188896fb3724b4e136d4dae90ddfa19948c45417', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), hAsync("span", { key: '55b16c4be2ba628ad94bc2dbb5115a52e6e06f14', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'b290e850434af122fc074a33ad80e79284b63f04', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '85481330d91a6fda693bd86588333d8b721ea9d7' })), hAsync("button", { key: '8eec4cb37be314a064f5638b0ed412d5c450fd83', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, hAsync("duet-icon", { key: '8efbe50fabd85dd7599e4a3b304d06c023c5e150', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: '789ab88639feff72321c139d23afab0ddcfeaca9', class: classes }, hAsync("input", Object.assign({ key: '611a30eed4de5b7c4fd0153006db23f7ad16f797', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), hAsync("label", { key: '574fa08ad87d0337be9d919367fca851ce1230fc', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'e1c2ccf10a2be64b8d7e17b244f7c0c618262160', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'a91294fe02e8444302c3f75a94e90fddb9a3b0ca', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '1f4eae14832b5ba6cd943ddd69a69841b4b4e494', name: "messaging-checked-small", size: this.size === "large" ? "x-small" : "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '6685426d95bfccb9d349d357fdda0311af132d08' }), this.popupElement && (hAsync("span", { key: '6736d4b0b1b32d092bb2896ae909812e2abaede9', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '68f49f84e631f7fcb4010f0b748c380aea6c9fda', name: "action-arrow-down-small", size: this.size === "large" ? "xx-small" : "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '8e95895e06e422064e64a037cb7fecc560614043', class: classes }, hAsync("slot", { key: 'ef700ca570f14aa7306abf57a071bdf9f102abb3', name: "input" }), hAsync("label", { key: '599aec04fc86a809f0e4d86cdde2c329c160ef7c', htmlFor: identifier }, this.icon && (hAsync("span", { key: '9b138f1e3303ac8b6143756af5a371e2972925de', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '4b4fe62396483bcd44270c0a9e6fb592caf903b6', name: this.icon, size: this.size === "large" ? "small" : "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '53bad7860f10b420e15875726dbd423148785873', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '9c2141abc5349eb9e4fa1ee8a93a99dffcefc829' }))))));
|
|
6721
6888
|
}
|
|
6722
6889
|
get element() { return getElement(this); }
|
|
6723
6890
|
static get watchers() { return {
|
|
@@ -7153,7 +7320,7 @@ class DuetChoice {
|
|
|
7153
7320
|
* Always the last one in the class.
|
|
7154
7321
|
*/
|
|
7155
7322
|
render() {
|
|
7156
|
-
return (hAsync(Host, { key: '
|
|
7323
|
+
return (hAsync(Host, { key: '20fca5910765c8cca647f5632a5b922957ab3295', class: {
|
|
7157
7324
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
7158
7325
|
[`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
|
|
7159
7326
|
"vertical-stretch": this.groupDirection === "horizontal",
|
|
@@ -7162,10 +7329,10 @@ class DuetChoice {
|
|
|
7162
7329
|
"duet-theme-turva": this.theme === "turva",
|
|
7163
7330
|
"no-hover": this.isHovering,
|
|
7164
7331
|
disabled: this.getDisabled(),
|
|
7165
|
-
} }, hAsync("div", { key: '
|
|
7332
|
+
} }, hAsync("div", { key: 'fd4d2187540b58f67ba2215fb1e92ae80e1bda59', class: {
|
|
7166
7333
|
"duet-choice-card-flextainer": true,
|
|
7167
7334
|
"duet-theme-turva": this.theme === "turva",
|
|
7168
|
-
} }, hAsync("div", { key: '
|
|
7335
|
+
} }, hAsync("div", { key: '767518376936e2ac6b0317ed2961c9832a9540f9', class: {
|
|
7169
7336
|
"duet-choice-card": true,
|
|
7170
7337
|
"has-icon": !!this.icon,
|
|
7171
7338
|
"has-info": this.hasInfo,
|
|
@@ -7174,16 +7341,16 @@ class DuetChoice {
|
|
|
7174
7341
|
collapsible: this.collapsible,
|
|
7175
7342
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
7176
7343
|
"duet-p-0": this.padding === "none",
|
|
7177
|
-
} }, hAsync("slot", { key: '
|
|
7344
|
+
} }, hAsync("slot", { key: '3218ec3ce6232219942048b1dc4720e6544d5a8e', name: "choiceinput" }), hAsync("label", { key: '43d66fc0a5fbe3dc91ba24b1b9a61bfe1565c9c4', class: {
|
|
7178
7345
|
"duet-choice-label": true,
|
|
7179
7346
|
"has-before-text": this.hasBeforeText,
|
|
7180
7347
|
checked: this.checked,
|
|
7181
7348
|
focus: this.focus,
|
|
7182
7349
|
disabled: this.getDisabled(),
|
|
7183
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
7350
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '144d416819882f6ef4d1b7e8fc2de04e045e9e6f', name: "before-text" }), this.icon && (hAsync("div", { key: 'adfb01ba2ba8dd118a9780ec2e01db2efa75c0ce', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: 'abf48b519c4d60cc2ce9923eaf6a1830061a13a6', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: 'ddccee835dbdc2c123fc51ec2ced2539515f5e07', class: "duet-choice-card-text" }, hAsync("div", { key: '68c2770f71856d031a720d03242809bcae202624' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: '67a7ead271ee52570028c6f2ce64267c9b7e687d' }, hAsync("duet-spacer", { key: 'eb726497b2e68a5ddc43486af8fa621e4a620dd0', size: "xx-small" }), hAsync("duet-caption", { key: '7656a138b5d881f6aaa5ce978816d550d30debd4', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: 'ed0700c59f2e492ba38dd03f1157332ac5794003' }, hAsync("duet-spacer", { key: 'e45435defc128599b911095c8d845a4b19b5085c', size: "xx-small" }), hAsync("slot", { key: 'aff1622080409265769aad87862ad14e6f4e96a1', name: "additional" })))), hAsync("div", { key: '01f506c4af993b10b3f651a4175a3f93288ffac4' }, hAsync("div", { key: '9d328e36a1e61a1ebec8bc5bab0fdbce0ba03cc2', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: 'ebad90b11052d439d9a9c3243fa32a621d770215', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: 'a1d78aab1bd360876936e79ad1c8a00d534ad2d5', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
7184
7351
|
"duet-choice-info-toggle": true,
|
|
7185
7352
|
"duet-theme-turva": this.theme === "turva",
|
|
7186
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '
|
|
7353
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '8c394a1cc633e65e9f8c9162fbe4c361e37a15f6', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '52c25fe2a72346e9efde109af0736ec6673dfc0e', icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: 'dda02c201e7874c64ed98b6b48e30f734bc8ecb8', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
7187
7354
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
7188
7355
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
7189
7356
|
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "-1", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
|
|
@@ -7412,14 +7579,14 @@ class DuetChoiceGroup {
|
|
|
7412
7579
|
* Always the last one in the class.
|
|
7413
7580
|
*/
|
|
7414
7581
|
render() {
|
|
7415
|
-
return (hAsync(Host, { key: '
|
|
7582
|
+
return (hAsync(Host, { key: '76d5ad8cc7a9f59c9ab08932b3e6e6596ff1f9d0', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
7416
7583
|
horizontal: this.direction === "horizontal",
|
|
7417
7584
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
7418
7585
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
7419
7586
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
7420
7587
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
7421
7588
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
7422
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
7589
|
+
} }, hAsync("duet-fieldset", { key: 'ade69113f55cbcc86f0504f857ede704aa4c0075', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '388b1ccb2ac2ba51cb35dbe6f9f824183f0d3f0f', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '104f30e94ea5413347edb6abc1975fcd9ae8ad6c', name: "tooltip", slot: "tooltip" }), hAsync("div", { key: 'af118f2f9fef2e7c2a6aa8d242bdd0cb4001f328', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'ebb96354e1a32cb4821ad6700e0cdbe1087ee815' })))));
|
|
7423
7590
|
}
|
|
7424
7591
|
get element() { return getElement(this); }
|
|
7425
7592
|
static get watchers() { return {
|
|
@@ -7473,16 +7640,46 @@ var arrowDownIcon = /*@__PURE__*/getDefaultExportFromCjs(actionArrowDownSmallExp
|
|
|
7473
7640
|
|
|
7474
7641
|
const color_background_accent_primary = "rgb(240, 247, 250)";
|
|
7475
7642
|
const color_background_accent_primary_turva = "rgb(253, 247, 242)";
|
|
7643
|
+
const color_background_accent_quaternary = "rgb(0, 119, 179)";
|
|
7644
|
+
const color_background_accent_quaternary_turva = "rgb(230, 23, 64)";
|
|
7476
7645
|
const color_background_accent_secondary = "rgb(228, 241, 247)";
|
|
7477
7646
|
const color_background_accent_secondary_turva = "rgb(251, 235, 225)";
|
|
7478
|
-
const color_background_accent_tertiary = "rgb(
|
|
7479
|
-
const color_background_accent_tertiary_turva = "rgb(
|
|
7647
|
+
const color_background_accent_tertiary = "rgb(217, 236, 245)";
|
|
7648
|
+
const color_background_accent_tertiary_turva = "rgb(251, 225, 209)";
|
|
7649
|
+
const color_background_disabled_primary = "rgb(245, 248, 250)";
|
|
7650
|
+
const color_background_disabled_primary_turva = "rgb(245, 246, 247)";
|
|
7651
|
+
const color_background_disabled_secondary = "rgb(228, 236, 239)";
|
|
7652
|
+
const color_background_disabled_secondary_turva = "rgb(228, 233, 237)";
|
|
7480
7653
|
const color_background_primary = "rgb(255, 255, 255)";
|
|
7481
7654
|
const color_background_primary_turva = "rgb(255, 255, 255)";
|
|
7482
7655
|
const color_background_secondary = "rgb(245, 248, 250)";
|
|
7483
7656
|
const color_background_secondary_turva = "rgb(245, 246, 247)";
|
|
7484
7657
|
const color_background_tertiary = "rgb(8, 42, 77)";
|
|
7485
7658
|
const color_background_tertiary_turva = "rgb(23, 42, 59)";
|
|
7659
|
+
const color_border_accent_primary = "rgb(0, 119, 179)";
|
|
7660
|
+
const color_border_accent_primary_turva = "rgb(230, 23, 64)";
|
|
7661
|
+
const color_border_accent_quaternary = "rgb(217, 236, 245)";
|
|
7662
|
+
const color_border_accent_quaternary_turva = "rgb(251, 225, 209)";
|
|
7663
|
+
const color_border_accent_secondary = "rgb(131, 188, 217)";
|
|
7664
|
+
const color_border_accent_secondary_turva = "rgb(243, 119, 133)";
|
|
7665
|
+
const color_border_accent_tertiary = "rgb(198, 225, 238)";
|
|
7666
|
+
const color_border_accent_tertiary_turva = "rgb(241, 202, 178)";
|
|
7667
|
+
const color_border_disabled_primary = "rgb(212, 223, 229)";
|
|
7668
|
+
const color_border_disabled_primary_turva = "rgb(212, 221, 226)";
|
|
7669
|
+
const color_border_disabled_secondary = "rgb(181, 198, 208)";
|
|
7670
|
+
const color_border_disabled_secondary_turva = "rgb(178, 194, 205)";
|
|
7671
|
+
const color_border_inverse_primary = "rgb(127, 150, 165)";
|
|
7672
|
+
const color_border_inverse_primary_turva = "rgb(120, 145, 164)";
|
|
7673
|
+
const color_border_inverse_secondary = "rgb(81, 105, 123)";
|
|
7674
|
+
const color_border_inverse_secondary_turva = "rgb(72, 100, 122)";
|
|
7675
|
+
const color_border_inverse_tertiary = "rgb(62, 84, 102)";
|
|
7676
|
+
const color_border_inverse_tertiary_turva = "rgb(53, 79, 101)";
|
|
7677
|
+
const color_border_primary = "rgb(127, 150, 165)";
|
|
7678
|
+
const color_border_primary_turva = "rgb(120, 145, 164)";
|
|
7679
|
+
const color_border_secondary = "rgb(181, 198, 208)";
|
|
7680
|
+
const color_border_secondary_turva = "rgb(178, 194, 205)";
|
|
7681
|
+
const color_border_tertiary = "rgb(212, 223, 229)";
|
|
7682
|
+
const color_border_tertiary_turva = "rgb(212, 221, 226)";
|
|
7486
7683
|
const color_brand_blue = "rgb(0, 161, 212)";
|
|
7487
7684
|
const color_brand_gray_turva = "rgb(178, 180, 179)";
|
|
7488
7685
|
const color_category_family = "rgb(11, 114, 136)";
|
|
@@ -7525,6 +7722,46 @@ const color_data_12 = "rgb(11, 114, 136)";
|
|
|
7525
7722
|
const color_data_13 = "rgb(179, 137, 24)";
|
|
7526
7723
|
const color_data_14 = "rgb(128, 98, 17)";
|
|
7527
7724
|
const color_data_15 = "rgb(0, 41, 77)";
|
|
7725
|
+
const color_domain_family = "rgb(11, 114, 136)";
|
|
7726
|
+
const color_domain_family_turva = "rgb(199, 12, 112)";
|
|
7727
|
+
const color_domain_finance = "rgb(122, 1, 196)";
|
|
7728
|
+
const color_domain_finance_turva = "rgb(122, 1, 196)";
|
|
7729
|
+
const color_domain_home = "rgb(211, 36, 131)";
|
|
7730
|
+
const color_domain_home_turva = "rgb(161, 10, 78)";
|
|
7731
|
+
const color_domain_pet = "rgb(168, 1, 78)";
|
|
7732
|
+
const color_domain_pet_turva = "rgb(168, 1, 78)";
|
|
7733
|
+
const color_domain_travel = "rgb(213, 66, 3)";
|
|
7734
|
+
const color_domain_travel_turva = "rgb(9, 129, 148)";
|
|
7735
|
+
const color_domain_vehicle = "rgb(54, 74, 129)";
|
|
7736
|
+
const color_domain_vehicle_turva = "rgb(23, 28, 58)";
|
|
7737
|
+
const color_foreground_accent_primary = "rgb(0, 119, 179)";
|
|
7738
|
+
const color_foreground_accent_primary_turva = "rgb(230, 23, 64)";
|
|
7739
|
+
const color_foreground_accent_secondary = "rgb(0, 97, 155)";
|
|
7740
|
+
const color_foreground_accent_secondary_turva = "rgb(185, 3, 41)";
|
|
7741
|
+
const color_foreground_accent_tertiary = "rgb(0, 75, 129)";
|
|
7742
|
+
const color_foreground_accent_tertiary_turva = "rgb(140, 0, 30)";
|
|
7743
|
+
const color_foreground_disabled_primary = "rgb(127, 150, 165)";
|
|
7744
|
+
const color_foreground_disabled_primary_turva = "rgb(120, 145, 164)";
|
|
7745
|
+
const color_foreground_disabled_secondary = "rgb(98, 121, 138)";
|
|
7746
|
+
const color_foreground_disabled_secondary_turva = "rgb(95, 122, 143)";
|
|
7747
|
+
const color_foreground_inverse_accent_primary = "rgb(131, 188, 217)";
|
|
7748
|
+
const color_foreground_inverse_accent_primary_turva = "rgb(243, 119, 133)";
|
|
7749
|
+
const color_foreground_inverse_accent_secondary = "rgb(172, 210, 229)";
|
|
7750
|
+
const color_foreground_inverse_accent_secondary_turva = "rgb(249, 164, 172)";
|
|
7751
|
+
const color_foreground_inverse_accent_tertiary = "rgb(198, 225, 238)";
|
|
7752
|
+
const color_foreground_inverse_accent_tertiary_turva = "rgb(255, 201, 204)";
|
|
7753
|
+
const color_foreground_inverse_primary = "rgb(255, 255, 255)";
|
|
7754
|
+
const color_foreground_inverse_primary_turva = "rgb(255, 255, 255)";
|
|
7755
|
+
const color_foreground_inverse_secondary = "rgb(181, 198, 208)";
|
|
7756
|
+
const color_foreground_inverse_secondary_turva = "rgb(178, 194, 205)";
|
|
7757
|
+
const color_foreground_inverse_tertiary = "rgb(127, 150, 165)";
|
|
7758
|
+
const color_foreground_inverse_tertiary_turva = "rgb(120, 145, 164)";
|
|
7759
|
+
const color_foreground_primary = "rgb(8, 42, 77)";
|
|
7760
|
+
const color_foreground_primary_turva = "rgb(23, 42, 59)";
|
|
7761
|
+
const color_foreground_secondary = "rgb(62, 84, 102)";
|
|
7762
|
+
const color_foreground_secondary_turva = "rgb(53, 79, 101)";
|
|
7763
|
+
const color_foreground_tertiary = "rgb(98, 121, 138)";
|
|
7764
|
+
const color_foreground_tertiary_turva = "rgb(95, 122, 143)";
|
|
7528
7765
|
const color_gray = "rgb(181, 198, 208)";
|
|
7529
7766
|
const color_gray_dark = "rgb(127, 150, 165)";
|
|
7530
7767
|
const color_gray_dark_turva = "rgb(120, 145, 164)";
|
|
@@ -7537,6 +7774,10 @@ const color_gray_lighter_turva = "rgb(245, 246, 247)";
|
|
|
7537
7774
|
const color_gray_lightest = "rgb(255, 255, 255)";
|
|
7538
7775
|
const color_gray_lightest_turva = "rgb(255, 255, 255)";
|
|
7539
7776
|
const color_gray_turva = "rgb(178, 194, 205)";
|
|
7777
|
+
const color_interactive_alternative = "rgb(0, 119, 179)";
|
|
7778
|
+
const color_interactive_alternative_light = "rgb(240, 247, 250)";
|
|
7779
|
+
const color_interactive_alternative_light_turva = "rgb(245, 246, 247)";
|
|
7780
|
+
const color_interactive_alternative_turva = "rgb(23, 42, 59)";
|
|
7540
7781
|
const color_lt_blue_00 = "rgb(240, 247, 250)";
|
|
7541
7782
|
const color_lt_blue_100 = "rgb(217, 236, 245)";
|
|
7542
7783
|
const color_lt_blue_1000 = "rgb(8, 42, 77)";
|
|
@@ -7576,11 +7817,11 @@ const color_primary_lightest_turva = "rgb(253, 247, 242)";
|
|
|
7576
7817
|
const color_primary_turva = "rgb(230, 23, 64)";
|
|
7577
7818
|
const color_secondary = "rgb(8, 42, 77)";
|
|
7578
7819
|
const color_secondary_turva = "rgb(23, 42, 59)";
|
|
7579
|
-
const color_status_background_danger_primary = "rgb(255,
|
|
7820
|
+
const color_status_background_danger_primary = "rgb(255, 240, 243)";
|
|
7580
7821
|
const color_status_background_danger_quaternary = "rgb(185, 16, 74)";
|
|
7581
7822
|
const color_status_background_danger_secondary = "rgb(255, 211, 219)";
|
|
7582
7823
|
const color_status_background_danger_tertiary = "rgb(214, 28, 82)";
|
|
7583
|
-
const color_status_background_info_primary = "rgb(
|
|
7824
|
+
const color_status_background_info_primary = "rgb(240, 247, 250)";
|
|
7584
7825
|
const color_status_background_info_quaternary = "rgb(0, 97, 155)";
|
|
7585
7826
|
const color_status_background_info_secondary = "rgb(217, 236, 245)";
|
|
7586
7827
|
const color_status_background_info_tertiary = "rgb(0, 119, 179)";
|
|
@@ -7782,16 +8023,46 @@ const z_index_toast = "500";
|
|
|
7782
8023
|
var tokens = {
|
|
7783
8024
|
color_background_accent_primary: color_background_accent_primary,
|
|
7784
8025
|
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
8026
|
+
color_background_accent_quaternary: color_background_accent_quaternary,
|
|
8027
|
+
color_background_accent_quaternary_turva: color_background_accent_quaternary_turva,
|
|
7785
8028
|
color_background_accent_secondary: color_background_accent_secondary,
|
|
7786
8029
|
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
7787
8030
|
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
7788
8031
|
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
8032
|
+
color_background_disabled_primary: color_background_disabled_primary,
|
|
8033
|
+
color_background_disabled_primary_turva: color_background_disabled_primary_turva,
|
|
8034
|
+
color_background_disabled_secondary: color_background_disabled_secondary,
|
|
8035
|
+
color_background_disabled_secondary_turva: color_background_disabled_secondary_turva,
|
|
7789
8036
|
color_background_primary: color_background_primary,
|
|
7790
8037
|
color_background_primary_turva: color_background_primary_turva,
|
|
7791
8038
|
color_background_secondary: color_background_secondary,
|
|
7792
8039
|
color_background_secondary_turva: color_background_secondary_turva,
|
|
7793
8040
|
color_background_tertiary: color_background_tertiary,
|
|
7794
8041
|
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
8042
|
+
color_border_accent_primary: color_border_accent_primary,
|
|
8043
|
+
color_border_accent_primary_turva: color_border_accent_primary_turva,
|
|
8044
|
+
color_border_accent_quaternary: color_border_accent_quaternary,
|
|
8045
|
+
color_border_accent_quaternary_turva: color_border_accent_quaternary_turva,
|
|
8046
|
+
color_border_accent_secondary: color_border_accent_secondary,
|
|
8047
|
+
color_border_accent_secondary_turva: color_border_accent_secondary_turva,
|
|
8048
|
+
color_border_accent_tertiary: color_border_accent_tertiary,
|
|
8049
|
+
color_border_accent_tertiary_turva: color_border_accent_tertiary_turva,
|
|
8050
|
+
color_border_disabled_primary: color_border_disabled_primary,
|
|
8051
|
+
color_border_disabled_primary_turva: color_border_disabled_primary_turva,
|
|
8052
|
+
color_border_disabled_secondary: color_border_disabled_secondary,
|
|
8053
|
+
color_border_disabled_secondary_turva: color_border_disabled_secondary_turva,
|
|
8054
|
+
color_border_inverse_primary: color_border_inverse_primary,
|
|
8055
|
+
color_border_inverse_primary_turva: color_border_inverse_primary_turva,
|
|
8056
|
+
color_border_inverse_secondary: color_border_inverse_secondary,
|
|
8057
|
+
color_border_inverse_secondary_turva: color_border_inverse_secondary_turva,
|
|
8058
|
+
color_border_inverse_tertiary: color_border_inverse_tertiary,
|
|
8059
|
+
color_border_inverse_tertiary_turva: color_border_inverse_tertiary_turva,
|
|
8060
|
+
color_border_primary: color_border_primary,
|
|
8061
|
+
color_border_primary_turva: color_border_primary_turva,
|
|
8062
|
+
color_border_secondary: color_border_secondary,
|
|
8063
|
+
color_border_secondary_turva: color_border_secondary_turva,
|
|
8064
|
+
color_border_tertiary: color_border_tertiary,
|
|
8065
|
+
color_border_tertiary_turva: color_border_tertiary_turva,
|
|
7795
8066
|
color_brand_blue: color_brand_blue,
|
|
7796
8067
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
7797
8068
|
color_category_family: color_category_family,
|
|
@@ -7834,6 +8105,46 @@ var tokens = {
|
|
|
7834
8105
|
color_data_13: color_data_13,
|
|
7835
8106
|
color_data_14: color_data_14,
|
|
7836
8107
|
color_data_15: color_data_15,
|
|
8108
|
+
color_domain_family: color_domain_family,
|
|
8109
|
+
color_domain_family_turva: color_domain_family_turva,
|
|
8110
|
+
color_domain_finance: color_domain_finance,
|
|
8111
|
+
color_domain_finance_turva: color_domain_finance_turva,
|
|
8112
|
+
color_domain_home: color_domain_home,
|
|
8113
|
+
color_domain_home_turva: color_domain_home_turva,
|
|
8114
|
+
color_domain_pet: color_domain_pet,
|
|
8115
|
+
color_domain_pet_turva: color_domain_pet_turva,
|
|
8116
|
+
color_domain_travel: color_domain_travel,
|
|
8117
|
+
color_domain_travel_turva: color_domain_travel_turva,
|
|
8118
|
+
color_domain_vehicle: color_domain_vehicle,
|
|
8119
|
+
color_domain_vehicle_turva: color_domain_vehicle_turva,
|
|
8120
|
+
color_foreground_accent_primary: color_foreground_accent_primary,
|
|
8121
|
+
color_foreground_accent_primary_turva: color_foreground_accent_primary_turva,
|
|
8122
|
+
color_foreground_accent_secondary: color_foreground_accent_secondary,
|
|
8123
|
+
color_foreground_accent_secondary_turva: color_foreground_accent_secondary_turva,
|
|
8124
|
+
color_foreground_accent_tertiary: color_foreground_accent_tertiary,
|
|
8125
|
+
color_foreground_accent_tertiary_turva: color_foreground_accent_tertiary_turva,
|
|
8126
|
+
color_foreground_disabled_primary: color_foreground_disabled_primary,
|
|
8127
|
+
color_foreground_disabled_primary_turva: color_foreground_disabled_primary_turva,
|
|
8128
|
+
color_foreground_disabled_secondary: color_foreground_disabled_secondary,
|
|
8129
|
+
color_foreground_disabled_secondary_turva: color_foreground_disabled_secondary_turva,
|
|
8130
|
+
color_foreground_inverse_accent_primary: color_foreground_inverse_accent_primary,
|
|
8131
|
+
color_foreground_inverse_accent_primary_turva: color_foreground_inverse_accent_primary_turva,
|
|
8132
|
+
color_foreground_inverse_accent_secondary: color_foreground_inverse_accent_secondary,
|
|
8133
|
+
color_foreground_inverse_accent_secondary_turva: color_foreground_inverse_accent_secondary_turva,
|
|
8134
|
+
color_foreground_inverse_accent_tertiary: color_foreground_inverse_accent_tertiary,
|
|
8135
|
+
color_foreground_inverse_accent_tertiary_turva: color_foreground_inverse_accent_tertiary_turva,
|
|
8136
|
+
color_foreground_inverse_primary: color_foreground_inverse_primary,
|
|
8137
|
+
color_foreground_inverse_primary_turva: color_foreground_inverse_primary_turva,
|
|
8138
|
+
color_foreground_inverse_secondary: color_foreground_inverse_secondary,
|
|
8139
|
+
color_foreground_inverse_secondary_turva: color_foreground_inverse_secondary_turva,
|
|
8140
|
+
color_foreground_inverse_tertiary: color_foreground_inverse_tertiary,
|
|
8141
|
+
color_foreground_inverse_tertiary_turva: color_foreground_inverse_tertiary_turva,
|
|
8142
|
+
color_foreground_primary: color_foreground_primary,
|
|
8143
|
+
color_foreground_primary_turva: color_foreground_primary_turva,
|
|
8144
|
+
color_foreground_secondary: color_foreground_secondary,
|
|
8145
|
+
color_foreground_secondary_turva: color_foreground_secondary_turva,
|
|
8146
|
+
color_foreground_tertiary: color_foreground_tertiary,
|
|
8147
|
+
color_foreground_tertiary_turva: color_foreground_tertiary_turva,
|
|
7837
8148
|
color_gray: color_gray,
|
|
7838
8149
|
color_gray_dark: color_gray_dark,
|
|
7839
8150
|
color_gray_dark_turva: color_gray_dark_turva,
|
|
@@ -7846,6 +8157,10 @@ var tokens = {
|
|
|
7846
8157
|
color_gray_lightest: color_gray_lightest,
|
|
7847
8158
|
color_gray_lightest_turva: color_gray_lightest_turva,
|
|
7848
8159
|
color_gray_turva: color_gray_turva,
|
|
8160
|
+
color_interactive_alternative: color_interactive_alternative,
|
|
8161
|
+
color_interactive_alternative_light: color_interactive_alternative_light,
|
|
8162
|
+
color_interactive_alternative_light_turva: color_interactive_alternative_light_turva,
|
|
8163
|
+
color_interactive_alternative_turva: color_interactive_alternative_turva,
|
|
7849
8164
|
color_lt_blue_00: color_lt_blue_00,
|
|
7850
8165
|
color_lt_blue_100: color_lt_blue_100,
|
|
7851
8166
|
color_lt_blue_1000: color_lt_blue_1000,
|
|
@@ -8094,16 +8409,46 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8094
8409
|
__proto__: null,
|
|
8095
8410
|
color_background_accent_primary: color_background_accent_primary,
|
|
8096
8411
|
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
8412
|
+
color_background_accent_quaternary: color_background_accent_quaternary,
|
|
8413
|
+
color_background_accent_quaternary_turva: color_background_accent_quaternary_turva,
|
|
8097
8414
|
color_background_accent_secondary: color_background_accent_secondary,
|
|
8098
8415
|
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
8099
8416
|
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
8100
8417
|
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
8418
|
+
color_background_disabled_primary: color_background_disabled_primary,
|
|
8419
|
+
color_background_disabled_primary_turva: color_background_disabled_primary_turva,
|
|
8420
|
+
color_background_disabled_secondary: color_background_disabled_secondary,
|
|
8421
|
+
color_background_disabled_secondary_turva: color_background_disabled_secondary_turva,
|
|
8101
8422
|
color_background_primary: color_background_primary,
|
|
8102
8423
|
color_background_primary_turva: color_background_primary_turva,
|
|
8103
8424
|
color_background_secondary: color_background_secondary,
|
|
8104
8425
|
color_background_secondary_turva: color_background_secondary_turva,
|
|
8105
8426
|
color_background_tertiary: color_background_tertiary,
|
|
8106
8427
|
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
8428
|
+
color_border_accent_primary: color_border_accent_primary,
|
|
8429
|
+
color_border_accent_primary_turva: color_border_accent_primary_turva,
|
|
8430
|
+
color_border_accent_quaternary: color_border_accent_quaternary,
|
|
8431
|
+
color_border_accent_quaternary_turva: color_border_accent_quaternary_turva,
|
|
8432
|
+
color_border_accent_secondary: color_border_accent_secondary,
|
|
8433
|
+
color_border_accent_secondary_turva: color_border_accent_secondary_turva,
|
|
8434
|
+
color_border_accent_tertiary: color_border_accent_tertiary,
|
|
8435
|
+
color_border_accent_tertiary_turva: color_border_accent_tertiary_turva,
|
|
8436
|
+
color_border_disabled_primary: color_border_disabled_primary,
|
|
8437
|
+
color_border_disabled_primary_turva: color_border_disabled_primary_turva,
|
|
8438
|
+
color_border_disabled_secondary: color_border_disabled_secondary,
|
|
8439
|
+
color_border_disabled_secondary_turva: color_border_disabled_secondary_turva,
|
|
8440
|
+
color_border_inverse_primary: color_border_inverse_primary,
|
|
8441
|
+
color_border_inverse_primary_turva: color_border_inverse_primary_turva,
|
|
8442
|
+
color_border_inverse_secondary: color_border_inverse_secondary,
|
|
8443
|
+
color_border_inverse_secondary_turva: color_border_inverse_secondary_turva,
|
|
8444
|
+
color_border_inverse_tertiary: color_border_inverse_tertiary,
|
|
8445
|
+
color_border_inverse_tertiary_turva: color_border_inverse_tertiary_turva,
|
|
8446
|
+
color_border_primary: color_border_primary,
|
|
8447
|
+
color_border_primary_turva: color_border_primary_turva,
|
|
8448
|
+
color_border_secondary: color_border_secondary,
|
|
8449
|
+
color_border_secondary_turva: color_border_secondary_turva,
|
|
8450
|
+
color_border_tertiary: color_border_tertiary,
|
|
8451
|
+
color_border_tertiary_turva: color_border_tertiary_turva,
|
|
8107
8452
|
color_brand_blue: color_brand_blue,
|
|
8108
8453
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
8109
8454
|
color_category_family: color_category_family,
|
|
@@ -8146,6 +8491,46 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8146
8491
|
color_data_13: color_data_13,
|
|
8147
8492
|
color_data_14: color_data_14,
|
|
8148
8493
|
color_data_15: color_data_15,
|
|
8494
|
+
color_domain_family: color_domain_family,
|
|
8495
|
+
color_domain_family_turva: color_domain_family_turva,
|
|
8496
|
+
color_domain_finance: color_domain_finance,
|
|
8497
|
+
color_domain_finance_turva: color_domain_finance_turva,
|
|
8498
|
+
color_domain_home: color_domain_home,
|
|
8499
|
+
color_domain_home_turva: color_domain_home_turva,
|
|
8500
|
+
color_domain_pet: color_domain_pet,
|
|
8501
|
+
color_domain_pet_turva: color_domain_pet_turva,
|
|
8502
|
+
color_domain_travel: color_domain_travel,
|
|
8503
|
+
color_domain_travel_turva: color_domain_travel_turva,
|
|
8504
|
+
color_domain_vehicle: color_domain_vehicle,
|
|
8505
|
+
color_domain_vehicle_turva: color_domain_vehicle_turva,
|
|
8506
|
+
color_foreground_accent_primary: color_foreground_accent_primary,
|
|
8507
|
+
color_foreground_accent_primary_turva: color_foreground_accent_primary_turva,
|
|
8508
|
+
color_foreground_accent_secondary: color_foreground_accent_secondary,
|
|
8509
|
+
color_foreground_accent_secondary_turva: color_foreground_accent_secondary_turva,
|
|
8510
|
+
color_foreground_accent_tertiary: color_foreground_accent_tertiary,
|
|
8511
|
+
color_foreground_accent_tertiary_turva: color_foreground_accent_tertiary_turva,
|
|
8512
|
+
color_foreground_disabled_primary: color_foreground_disabled_primary,
|
|
8513
|
+
color_foreground_disabled_primary_turva: color_foreground_disabled_primary_turva,
|
|
8514
|
+
color_foreground_disabled_secondary: color_foreground_disabled_secondary,
|
|
8515
|
+
color_foreground_disabled_secondary_turva: color_foreground_disabled_secondary_turva,
|
|
8516
|
+
color_foreground_inverse_accent_primary: color_foreground_inverse_accent_primary,
|
|
8517
|
+
color_foreground_inverse_accent_primary_turva: color_foreground_inverse_accent_primary_turva,
|
|
8518
|
+
color_foreground_inverse_accent_secondary: color_foreground_inverse_accent_secondary,
|
|
8519
|
+
color_foreground_inverse_accent_secondary_turva: color_foreground_inverse_accent_secondary_turva,
|
|
8520
|
+
color_foreground_inverse_accent_tertiary: color_foreground_inverse_accent_tertiary,
|
|
8521
|
+
color_foreground_inverse_accent_tertiary_turva: color_foreground_inverse_accent_tertiary_turva,
|
|
8522
|
+
color_foreground_inverse_primary: color_foreground_inverse_primary,
|
|
8523
|
+
color_foreground_inverse_primary_turva: color_foreground_inverse_primary_turva,
|
|
8524
|
+
color_foreground_inverse_secondary: color_foreground_inverse_secondary,
|
|
8525
|
+
color_foreground_inverse_secondary_turva: color_foreground_inverse_secondary_turva,
|
|
8526
|
+
color_foreground_inverse_tertiary: color_foreground_inverse_tertiary,
|
|
8527
|
+
color_foreground_inverse_tertiary_turva: color_foreground_inverse_tertiary_turva,
|
|
8528
|
+
color_foreground_primary: color_foreground_primary,
|
|
8529
|
+
color_foreground_primary_turva: color_foreground_primary_turva,
|
|
8530
|
+
color_foreground_secondary: color_foreground_secondary,
|
|
8531
|
+
color_foreground_secondary_turva: color_foreground_secondary_turva,
|
|
8532
|
+
color_foreground_tertiary: color_foreground_tertiary,
|
|
8533
|
+
color_foreground_tertiary_turva: color_foreground_tertiary_turva,
|
|
8149
8534
|
color_gray: color_gray,
|
|
8150
8535
|
color_gray_dark: color_gray_dark,
|
|
8151
8536
|
color_gray_dark_turva: color_gray_dark_turva,
|
|
@@ -8158,6 +8543,10 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8158
8543
|
color_gray_lightest: color_gray_lightest,
|
|
8159
8544
|
color_gray_lightest_turva: color_gray_lightest_turva,
|
|
8160
8545
|
color_gray_turva: color_gray_turva,
|
|
8546
|
+
color_interactive_alternative: color_interactive_alternative,
|
|
8547
|
+
color_interactive_alternative_light: color_interactive_alternative_light,
|
|
8548
|
+
color_interactive_alternative_light_turva: color_interactive_alternative_light_turva,
|
|
8549
|
+
color_interactive_alternative_turva: color_interactive_alternative_turva,
|
|
8161
8550
|
color_lt_blue_00: color_lt_blue_00,
|
|
8162
8551
|
color_lt_blue_100: color_lt_blue_100,
|
|
8163
8552
|
color_lt_blue_1000: color_lt_blue_1000,
|
|
@@ -8576,7 +8965,7 @@ class DuetCollapsible {
|
|
|
8576
8965
|
*/
|
|
8577
8966
|
render() {
|
|
8578
8967
|
const HeadingTagName = this.headingTags.includes(this.headingLevel) ? this.headingLevel : "div";
|
|
8579
|
-
return (hAsync(Host, { key: '
|
|
8968
|
+
return (hAsync(Host, { key: 'b19b694f6710f4338d26580dea95463eefaa30d4', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '47062fe8e280b4c2489ebe9ba784e6211ecac9e3' }, hAsync("button", { key: '5e635b36739a5ab604c5d523435522b83bddcd56', class: {
|
|
8580
8969
|
"duet-collapsible-heading": true,
|
|
8581
8970
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
8582
8971
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -8584,7 +8973,7 @@ class DuetCollapsible {
|
|
|
8584
8973
|
"has-after-heading": this.hasAfterHeadingSlot,
|
|
8585
8974
|
"full-width": this.headingFullWidth,
|
|
8586
8975
|
"has-caption": !!this.caption,
|
|
8587
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
8976
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '9d49b16d4375ea5c4700c3142b920e3e76924443', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: '6b45ae151d90d269a466c782eed5c7ed29ecdbee', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '99eac9e54f5bbf71068e9b5dc3557ee347d2cd5b', margin: "none", size: this.getEquivalentIconSize(), icon: arrowDownIcon.svg })), hAsync("div", { key: '732d6cf225d17864487046efc9c3cb26e19b9dc8', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading ? this.heading : hAsync("slot", { name: "heading" })), this.hasAfterHeadingSlot && (hAsync("div", { key: 'ecb0414b87ff8340967c2a65d5715986b8c11c01', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '85b150c18dd43fbe21041bd4a8258d6412a350f0', name: "after-heading" })))), this.caption && (hAsync("div", { key: '6d3aa5e7917e2db228251eab60ee888ec51d3944', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '52aa682a75aa4a7bfef36ad34cbf900b41fb46ba', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '815c138b748356c749954d2a99564edd608e8b41', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '5f5ccef4fa9e4cba89278e034ae23a68c29add51' }))));
|
|
8588
8977
|
}
|
|
8589
8978
|
get element() { return getElement(this); }
|
|
8590
8979
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -9286,10 +9675,10 @@ class DuetContactCard {
|
|
|
9286
9675
|
render() {
|
|
9287
9676
|
const isTurva = this.theme === "turva";
|
|
9288
9677
|
const theme = isTurva ? "turva" : "default";
|
|
9289
|
-
return (hAsync(Host, { key: '
|
|
9678
|
+
return (hAsync(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
|
|
9290
9679
|
"duet-contact-card": true,
|
|
9291
9680
|
"duet-theme-turva": this.theme === "turva",
|
|
9292
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
9681
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '4cde139368ebb252e83638d0634671f2167b14a0' }, this.name && (hAsync("duet-heading", { key: 'c91fe7f5ef066de893cfa2fb4018e9b17e5e66af', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '9ef8bdab5f11c125115cfa147428327131e6086a', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'd07bbb21d8963247655a3b172e26c9f1becc2fd2', class: "email" }, hAsync("duet-icon", { key: 'd25b13911b29302d0eabc8f715e13ff59b473c7f', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '2765a6cbc0fb671c3cb8a37d7ac2fe578f369cfe', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'fcbed4d2a82ed0ee1e90665f5e42f10bfdcaf344', class: "phone" }, hAsync("duet-icon", { key: '17233a8a4863c68255e207c23de3667437bd1177', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '0a49811728ddfd13096701fe9d33c54722554107', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: 'eb199cf8f4f83cb7ebebbfb2e791c78b6424091e', class: "call-to-action" }, hAsync("duet-button", { key: 'c8e0d2d72d5b15a74b0d7fd79a595c6ffddf6f7e', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '5e2f0915b883c85ad3bca3f54b62347af8250749' }), hAsync("slot", { key: '388383ea2ca2a756a28d13bdbf521cd85094526a' }))));
|
|
9293
9682
|
}
|
|
9294
9683
|
get element() { return getElement(this); }
|
|
9295
9684
|
static get style() { return duetContactCardCss; }
|
|
@@ -9361,7 +9750,7 @@ class DuetCookieConsent {
|
|
|
9361
9750
|
* Always the last one in the class.
|
|
9362
9751
|
*/
|
|
9363
9752
|
render() {
|
|
9364
|
-
return (hAsync(Host, { key: '
|
|
9753
|
+
return (hAsync(Host, { key: 'e79333a51d76cf03ac4fdaee8e2795e98d79319d', tabindex: "-1", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'befef096fcaaf1b57daa84ff54cbe665e84f3a86', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '78b54949afed67ada604c2ce9dea9c2fcb87a39f', class: "duet-cookie-consent-content" }, hAsync("div", { key: '84a2a875986036aad4ba0b68fa2f902cf1148b01', class: "expand" }, hAsync("slot", { key: 'd6402515233aaa20e4c1a3ff9b59647c674fe03d' })), hAsync("duet-spacer", { key: 'aa7b8ad14f32db64dd72219593c7217567920556', size: "large", direction: "horizontal" }), hAsync("div", { key: '9e7c71566df83cc4e3b6224b2fcf623e81a80db2' }, hAsync("duet-button", { key: '5dc91aa2ae5b05394f1dce473b831d490d62eeae', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
9365
9754
|
}
|
|
9366
9755
|
get element() { return getElement(this); }
|
|
9367
9756
|
static get style() { return duetCookieConsentCss; }
|
|
@@ -9564,13 +9953,14 @@ function createDate(year, month, day) {
|
|
|
9564
9953
|
}
|
|
9565
9954
|
return date;
|
|
9566
9955
|
}
|
|
9956
|
+
return undefined;
|
|
9567
9957
|
}
|
|
9568
9958
|
/**
|
|
9569
9959
|
* @param value date string in format dd.mm.yyyy
|
|
9570
9960
|
*/
|
|
9571
9961
|
function parseDate(value) {
|
|
9572
9962
|
if (!value) {
|
|
9573
|
-
return;
|
|
9963
|
+
return undefined;
|
|
9574
9964
|
}
|
|
9575
9965
|
const matches = value.match(DATE_FORMAT);
|
|
9576
9966
|
if (matches) {
|
|
@@ -9815,7 +10205,7 @@ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, langu
|
|
|
9815
10205
|
} }))))))))));
|
|
9816
10206
|
};
|
|
9817
10207
|
|
|
9818
|
-
const duetDatePickerCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:top;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-date-button::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button:hover:not(:disabled){outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-date-button:hover:not(:disabled),.duet-date-button:hover:not(:disabled).duet-theme-turva{outline-color:rgb(120, 145, 164)}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179)}.duet-date-input-has-focus .duet-date-button:focus,.duet-date-button:focus:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-input-has-focus .duet-date-button:focus,.duet-date-input-has-focus .duet-date-button:focus.duet-theme-turva,.duet-theme-turva .duet-date-button:focus:focus,.duet-date-button:focus:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;visibility:hidden;width:100%;opacity:0;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transform:translateZ(0);transform-origin:bottom center;transition:opacity 400ms ease, visibility 400ms ease}}.duet-date-dialog.active{visibility:visible;opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);transition-property:transform, opacity}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;visibility:hidden;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transform:translateZ(0) translateY(100%);transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transform:translateZ(0) translateY(0);transition-property:transform, opacity}}.duet-date-table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-transform:uppercase;letter-spacing:1px;text-decoration:none}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;vertical-align:initial !important;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.selected .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;outline:0;background:rgb(0, 119, 179) !important}.duet-date-table-button:active{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important}.duet-theme-turva .duet-date-table-button:active,.duet-date-table-button:active.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}:focus .duet-date-table-button{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);z-index:200}.duet-theme-turva :focus .duet-date-table-button,:focus .duet-date-table-button.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;outline:none !important;background:transparent !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;outline:none;background:rgb(245, 248, 250) !important;opacity:0.75}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label,.duet-date-dialog-select select:focus+.duet-date-dialog-select-label.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-date-dialog-mobile-header label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-date-picker-close:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-picker-close:focus,.duet-date-picker-close:focus.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-button{color:rgb(23, 42, 59);border-color:rgb(120, 145, 164);border-left-color:rgb(178, 194, 205)}.duet-theme-turva:disabled{background:rgb(245, 246, 247) !important}.duet-theme-turva.duet-date-input-has-focus .duet-theme-turva,.duet-theme-turva:focus{color:rgb(23, 42, 59)}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(212, 221, 226)}.duet-theme-turva .duet-date-table-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-date-table-button:hover:not(.disabled){background:rgb(251, 225, 209) !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(140, 0, 30) !important;background:rgb(253, 247, 242) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva .duet-date-table-button.outside{color:rgb(120, 145, 164) !important;outline:none;background:rgb(245, 246, 247) !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(178, 194, 205) !important;outline:none !important;background:transparent !important}.duet-theme-turva .selected .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva :active.duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(178, 194, 205)}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 246, 247) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 246, 247) !important}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva.duet-date-table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}";
|
|
10208
|
+
const duetDatePickerCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:top;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-date-button::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button:hover:not(:disabled){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-date-button:hover:not(:disabled),.duet-date-button:hover:not(:disabled).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179)}.duet-date-input-has-focus .duet-date-button:focus,.duet-date-button:focus:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-input-has-focus .duet-date-button:focus,.duet-date-input-has-focus .duet-date-button:focus.duet-theme-turva,.duet-theme-turva .duet-date-button:focus:focus,.duet-date-button:focus:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{position:absolute;top:100%;left:0;z-index:900;display:flex;visibility:hidden;width:100%;opacity:0;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease}@media (min-width: 36em){.duet-date-dialog.left{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{position:fixed;top:0;right:0;bottom:0;transform:translateZ(0);transform-origin:bottom center;transition:opacity 400ms ease, visibility 400ms ease}}.duet-date-dialog.active{visibility:visible;opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);transition-property:transform, opacity}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{position:absolute;bottom:0;left:0;z-index:900;visibility:hidden;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transform:translateZ(0) translateY(100%);transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease}.active .duet-date-dialog-wrapper{visibility:visible;opacity:1;transform:translateZ(0) translateY(0);transition-property:transform, opacity}}.duet-date-table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table th{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-transform:uppercase;letter-spacing:1px;text-decoration:none}.duet-date-table .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;vertical-align:initial !important;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-date-table-button:hover{background:rgb(228, 241, 247) !important}.duet-date-table-button.today{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.selected .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;outline:0;background:rgb(0, 119, 179) !important}.duet-date-table-button:active{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important}.duet-theme-turva .duet-date-table-button:active,.duet-date-table-button:active.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}:focus .duet-date-table-button{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);z-index:200}.duet-theme-turva :focus .duet-date-table-button,:focus .duet-date-table-button.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;outline:none !important;background:transparent !important}.duet-date-table-button.outside{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;outline:none;background:rgb(245, 248, 250) !important;opacity:0.75}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-date-dialog-select span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label,.duet-date-dialog-select select:focus+.duet-date-dialog-select-label.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-date-dialog-mobile-header{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-date-dialog-mobile-header label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header label{display:none}}.duet-date-picker-close{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;-webkit-appearance:none;appearance:none;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%}@media (min-width: 36em){.duet-date-picker-close{opacity:0}}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-date-picker-close:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-date-picker-close:focus,.duet-date-picker-close:focus.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-button{color:rgb(23, 42, 59);border-color:rgb(120, 145, 164);border-left-color:rgb(178, 194, 205)}.duet-theme-turva:disabled{background:rgb(245, 246, 247) !important}.duet-theme-turva.duet-date-input-has-focus .duet-theme-turva,.duet-theme-turva:focus{color:rgb(23, 42, 59)}.duet-theme-turva .duet-date-dialog-wrapper{border-color:rgb(212, 221, 226)}.duet-theme-turva .duet-date-table-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-date-table-button:hover:not(.disabled){background:rgb(251, 225, 209) !important}.duet-theme-turva .duet-date-table-button.today{color:rgb(140, 0, 30) !important;background:rgb(253, 247, 242) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva .duet-date-table-button.outside{color:rgb(120, 145, 164) !important;outline:none;background:rgb(245, 246, 247) !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(178, 194, 205) !important;outline:none !important;background:transparent !important}.duet-theme-turva .selected .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva :active.duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva .duet-date-dialog-select .duet-date-dialog-select-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(178, 194, 205)}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 246, 247) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 246, 247) !important}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(230, 23, 64) !important}.duet-theme-turva.duet-date-table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}";
|
|
9819
10209
|
|
|
9820
10210
|
/**
|
|
9821
10211
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
@@ -9859,7 +10249,6 @@ class DuetDatePicker {
|
|
|
9859
10249
|
this.focusedDay = new Date();
|
|
9860
10250
|
this.inputValue = "";
|
|
9861
10251
|
this.inputHasFocus = false;
|
|
9862
|
-
this.internalValidityError = "";
|
|
9863
10252
|
/**
|
|
9864
10253
|
* Theme of the component.
|
|
9865
10254
|
*/
|
|
@@ -9987,10 +10376,9 @@ class DuetDatePicker {
|
|
|
9987
10376
|
this.handleBlur = (event) => {
|
|
9988
10377
|
event.stopPropagation();
|
|
9989
10378
|
this.inputHasFocus = false;
|
|
9990
|
-
if (!this._validity.valid) {
|
|
9991
|
-
this.value = null;
|
|
10379
|
+
if (!this._validity.valid && !this.disableBuiltInErrors) {
|
|
9992
10380
|
const errorKey = Object.entries(this._validity).find(entry => !!entry[1])[0];
|
|
9993
|
-
this.
|
|
10381
|
+
this.error = getLocaleString(this.dateErrorMessages[errorKey]);
|
|
9994
10382
|
}
|
|
9995
10383
|
this.duetBlur.emit({
|
|
9996
10384
|
component: "duet-date-picker",
|
|
@@ -10066,7 +10454,6 @@ class DuetDatePicker {
|
|
|
10066
10454
|
this.handleDaySelect = (_event, day) => {
|
|
10067
10455
|
const min = parseISODate(this.min);
|
|
10068
10456
|
const max = parseISODate(this.max);
|
|
10069
|
-
this.determineValidity(day);
|
|
10070
10457
|
if (inRange(day, min, max)) {
|
|
10071
10458
|
this.setValue(day);
|
|
10072
10459
|
this.hide();
|
|
@@ -10081,10 +10468,7 @@ class DuetDatePicker {
|
|
|
10081
10468
|
this.handleInputChange = (e) => {
|
|
10082
10469
|
this.inputValue = e.detail.value;
|
|
10083
10470
|
const parsed = parseDate(this.inputValue);
|
|
10084
|
-
this.
|
|
10085
|
-
if (parsed || this.inputValue === "") {
|
|
10086
|
-
this.setValue(parsed);
|
|
10087
|
-
}
|
|
10471
|
+
this.setValue(parsed);
|
|
10088
10472
|
};
|
|
10089
10473
|
}
|
|
10090
10474
|
/**
|
|
@@ -10093,19 +10477,15 @@ class DuetDatePicker {
|
|
|
10093
10477
|
* Useful properties to inspect are badInput, valueMissing, rangeOverflow, rangeUnderflow.
|
|
10094
10478
|
*/
|
|
10095
10479
|
get validity() {
|
|
10480
|
+
this.determineValidity();
|
|
10096
10481
|
return this._validity;
|
|
10097
10482
|
}
|
|
10098
|
-
updateValidity(
|
|
10099
|
-
|
|
10100
|
-
return;
|
|
10101
|
-
}
|
|
10102
|
-
this.determineValidity(parseISODate(this.value));
|
|
10103
|
-
if (this._validity.valid) {
|
|
10104
|
-
this.internalValidityError = "";
|
|
10105
|
-
}
|
|
10483
|
+
updateValidity() {
|
|
10484
|
+
this.determineValidity();
|
|
10106
10485
|
}
|
|
10107
10486
|
updateInternalValue() {
|
|
10108
|
-
|
|
10487
|
+
// don't clear input when user has focus there
|
|
10488
|
+
if (!this.value && this.inputHasFocus) {
|
|
10109
10489
|
return;
|
|
10110
10490
|
}
|
|
10111
10491
|
const parsedValue = parseISODate(this.value);
|
|
@@ -10124,7 +10504,7 @@ class DuetDatePicker {
|
|
|
10124
10504
|
*/
|
|
10125
10505
|
componentWillLoad() {
|
|
10126
10506
|
inheritGlobalTheme(this);
|
|
10127
|
-
this.determineValidity(
|
|
10507
|
+
this.determineValidity();
|
|
10128
10508
|
this.updateInternalValue();
|
|
10129
10509
|
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
10130
10510
|
}
|
|
@@ -10210,13 +10590,14 @@ class DuetDatePicker {
|
|
|
10210
10590
|
setFocusedDay(day) {
|
|
10211
10591
|
this.focusedDay = clamp$2(day, parseISODate(this.min), parseISODate(this.max));
|
|
10212
10592
|
}
|
|
10213
|
-
determineValidity(
|
|
10593
|
+
determineValidity() {
|
|
10214
10594
|
var _a, _b;
|
|
10595
|
+
const valueAsDate = parseISODate(this.value);
|
|
10215
10596
|
const inputValue = (_b = (_a = this.datePickerInput) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
|
|
10216
|
-
const badInput = inputValue !== ""
|
|
10217
|
-
const valueMissing = this.required
|
|
10218
|
-
const rangeOverflow =
|
|
10219
|
-
const rangeUnderflow =
|
|
10597
|
+
const badInput = !valueAsDate && inputValue !== "";
|
|
10598
|
+
const valueMissing = !valueAsDate && this.required;
|
|
10599
|
+
const rangeOverflow = valueAsDate ? !inRange(valueAsDate, null, parseISODate(this.max)) : false;
|
|
10600
|
+
const rangeUnderflow = valueAsDate ? !inRange(valueAsDate, parseISODate(this.min)) : false;
|
|
10220
10601
|
this._validity = {
|
|
10221
10602
|
patternMismatch: false,
|
|
10222
10603
|
customError: false,
|
|
@@ -10230,6 +10611,9 @@ class DuetDatePicker {
|
|
|
10230
10611
|
valueMissing,
|
|
10231
10612
|
valid: !(valueMissing || badInput || rangeUnderflow || rangeOverflow),
|
|
10232
10613
|
};
|
|
10614
|
+
if (this._validity.valid) {
|
|
10615
|
+
this.error = "";
|
|
10616
|
+
}
|
|
10233
10617
|
}
|
|
10234
10618
|
setValue(date) {
|
|
10235
10619
|
const newValue = printISODate(date);
|
|
@@ -10237,6 +10621,7 @@ class DuetDatePicker {
|
|
|
10237
10621
|
return;
|
|
10238
10622
|
}
|
|
10239
10623
|
this.value = newValue;
|
|
10624
|
+
this.determineValidity();
|
|
10240
10625
|
this.duetChange.emit({
|
|
10241
10626
|
component: "duet-date-picker",
|
|
10242
10627
|
value: this.value,
|
|
@@ -10287,13 +10672,13 @@ class DuetDatePicker {
|
|
|
10287
10672
|
if (maxDate) {
|
|
10288
10673
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
10289
10674
|
}
|
|
10290
|
-
return (hAsync(Host, { key: '
|
|
10675
|
+
return (hAsync(Host, { key: '5ebd34bf6ba1033b890138e5523f45fecd17eaf4', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '8c4b995485be3c6b070ce738f3416db0d9683771', class: "duet-date" }, hAsync(DatePickerInput, { key: 'c0b308099cd5c56790a1160d10a682551ce9da7e', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: 'cca008327d5a939054a1b2abd748b08170b19a07', class: {
|
|
10291
10676
|
"duet-theme-turva": this.theme === "turva",
|
|
10292
10677
|
"duet-date-dialog": true,
|
|
10293
10678
|
left: this.direction === "left",
|
|
10294
10679
|
error: !!this.error,
|
|
10295
10680
|
active: this.open,
|
|
10296
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
10681
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'fcb2d3f3fd5333529c2ebc82590a6a543112a5f4', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: '0de38fdb796337ec9448bcff1bb652776fdf6f60', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: '9950afbc58987e498e2e6734fd6af177c65d94a8', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: '2394f33f1efd2e0626b2a1bc3642a73193798b13', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '74b68ad35d92ab0c2616be5466ea6b8b2c1a1451', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: '7385d9ef814cf4557cf903f705b38a7571369d0f', margin: "none" }, this.label), hAsync("button", { key: '5ba61af3c6b024f1f3ef531b412e5c20243d83ca', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: '14e320af49eb06c184cfe918a67f278bdac888bf', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: 'b58668ebd6f0849ae6e8f0454800b4ceb916443e' }, text.closeLabel))), hAsync("div", { key: '79a07d6373ca479f45808ff3eef1ea6239148b26', class: "duet-date-dialog-header" }, hAsync("div", { key: '6f08a300db74dd1562c658334c8220fc1569228c', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: '400b1451a2180e0a189a5c1e7c27139647ec5539' }, hAsync("h2", { key: '47225d656584304da5b114f0430e17cb74a38e53', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: 'b66a24df41db7807ed3c0d3f36d380a897360fa6' }, hAsync("label", { key: 'aae8cf780c5452e1399421e177309ad7a9179803', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: 'f2bad2498489114a7bc0ffd6fc8c4f842b507e43', class: "duet-date-dialog-select" }, hAsync("select", { key: '9d58e711523ace0781cc27947fb9ecc52bda8499', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: '914f0bef1d172d4d5391991fd9f8206f7d0576df', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '7aebf3e0cbc22a117a5e155e0dd4518189f9b946' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'faf140d4032093b37db295f06e23ea761fa27c65', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '66399d5d57f605fe4db9c13ee13bcf89f4d38efd' }, hAsync("label", { key: '76256efb6db83d4165a903420b70e9a6d43a2e49', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: 'e871aa90559d85cad33752f52a6e538571e6984f', class: "duet-date-dialog-select" }, hAsync("select", { key: 'af2e90cb3d28123c36c83853753be30beff06400', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: 'a1487d1853c56fc62c20bf2b3df60cc73d666017', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: 'ad43c7efa4a93e4417c2051e000fe0f786b35612' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: '5c42115e3dd7c4a48e5cae87b5f03ed274087ba5', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: 'bc63edbea7a3b069774fc0b8766983f570479501', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: 'e3cb3ade86eeedbaf914d104ce9b638109708eb6', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '3d1b9df7ab5852d770d6c98285b73e002a9f4468', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: 'fb66dbdf2065a158a265490a6f7c0ace038919d5', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: 'b40a59659930ae4a47fb6d8dd45f334e5fcdf026', moveFocusTo: this.closeButtonNode }))));
|
|
10297
10682
|
}
|
|
10298
10683
|
get element() { return getElement(this); }
|
|
10299
10684
|
static get watchers() { return {
|
|
@@ -10319,7 +10704,7 @@ class DuetDatePicker {
|
|
|
10319
10704
|
"placeholder": [1025],
|
|
10320
10705
|
"echoPlaceholder": [1540, "echo-placeholder"],
|
|
10321
10706
|
"disabled": [516],
|
|
10322
|
-
"error": [
|
|
10707
|
+
"error": [1537],
|
|
10323
10708
|
"disableBuiltInErrors": [4, "disable-built-in-errors"],
|
|
10324
10709
|
"labelHidden": [4, "label-hidden"],
|
|
10325
10710
|
"role": [1],
|
|
@@ -10341,7 +10726,6 @@ class DuetDatePicker {
|
|
|
10341
10726
|
"focusedDay": [32],
|
|
10342
10727
|
"inputValue": [32],
|
|
10343
10728
|
"inputHasFocus": [32],
|
|
10344
|
-
"internalValidityError": [32],
|
|
10345
10729
|
"setFocus": [64],
|
|
10346
10730
|
"show": [64],
|
|
10347
10731
|
"hide": [64]
|
|
@@ -10383,7 +10767,7 @@ class DuetDivider {
|
|
|
10383
10767
|
*/
|
|
10384
10768
|
render() {
|
|
10385
10769
|
const background = getColorByName(this.color);
|
|
10386
|
-
return (hAsync("div", { key: '
|
|
10770
|
+
return (hAsync("div", { key: 'a833c22a31c93caea94753696848ad720b5dc06d', class: {
|
|
10387
10771
|
"duet-m-0": this.margin === "none",
|
|
10388
10772
|
"duet-m-s": this.margin === "small",
|
|
10389
10773
|
"duet-divider": true,
|
|
@@ -10621,7 +11005,7 @@ class DuetEditableTable {
|
|
|
10621
11005
|
* Render Methods
|
|
10622
11006
|
*/
|
|
10623
11007
|
render() {
|
|
10624
|
-
return (hAsync(Host, { key: '
|
|
11008
|
+
return (hAsync(Host, { key: 'a0c3202194fcc3910b50193f2a4fcb3bd7d3a5d8', class: {
|
|
10625
11009
|
[`duet-editable-table-${this.variation}`]: true,
|
|
10626
11010
|
"duet-editable-table": true,
|
|
10627
11011
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -10631,7 +11015,7 @@ class DuetEditableTable {
|
|
|
10631
11015
|
"duet-editable-table-actions": !!this.actions,
|
|
10632
11016
|
"duet-m-0": this.margin === "none",
|
|
10633
11017
|
"duet-theme-turva": this.theme === "turva",
|
|
10634
|
-
} }, hAsync("duet-table", { key: '
|
|
11018
|
+
} }, hAsync("duet-table", { key: '6e53631c212527e8702f9e9c8a1b9bc2b390c830', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: '990481c1affeb11d6a6541a36a8f0118c961915c', role: this.accessibleRole }, hAsync("caption", { key: 'f7b1bc44ab9fef0194485fdd6e49e11a306e365c' }, hAsync("slot", { key: '2caecec6e5c024bdde6fa6bf72917914e2626752', name: "tcaption" })), hAsync("thead", { key: 'c892dcd586814dcecddc46fbaf0319b04b6d9f16' }, this.hasHeadSlotFirst && (hAsync("tr", { key: 'bfbac21dbab8afab7f34e952bd5803954be4991d' }, hAsync("td", { key: '0a491ed1c4855d55b4dbc493a52029d657a08cc5', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '87c033e72a1bd3b87a51a4981b1b4939de66578d', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '2ab66f9b14fe592f7ee7e6293cdd56b3aed0190e' }, hAsync("td", { key: 'edb3ae066371b6f5dc990f10f088246c0d9388d9', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: 'f57ebf07ee01c40cb47469b2fa07a706c4724dae', name: "thead-last" }))))), hAsync("tbody", { key: '538b2de606132fcb272e5af1650cafb947fc5b2a' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: '2f1a98dd550705933222f7179bc3ff4d6554d117' }, hAsync("tr", { key: 'ecb9667d57ea85de7efa6fa0035fbfbb16c78a9e' }, hAsync("td", { key: 'c78b25495de0621c55f70cce5131b1d192fc5e0e', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'ed051b0e66c28fdbee565b33c1c394034a817a82', name: "tfoot" })))))))));
|
|
10635
11019
|
}
|
|
10636
11020
|
get element() { return getElement(this); }
|
|
10637
11021
|
static get style() { return duetEditableTableCss; }
|
|
@@ -10689,11 +11073,11 @@ class DuetEmptyState {
|
|
|
10689
11073
|
* Always the last one in the class.
|
|
10690
11074
|
*/
|
|
10691
11075
|
render() {
|
|
10692
|
-
return (hAsync(Host, { key: '
|
|
11076
|
+
return (hAsync(Host, { key: '9018087936c4abe5adead5d4fe62991ea84b3dc1' }, hAsync("div", { key: 'a0aa84fb06673f4d741891019a98fd7d4f03b174', class: {
|
|
10693
11077
|
"duet-empty-state": true,
|
|
10694
11078
|
"duet-theme-turva": this.theme === "turva",
|
|
10695
11079
|
"duet-is-small": this.size === "small",
|
|
10696
|
-
} }, hAsync("duet-icon", { key: '
|
|
11080
|
+
} }, hAsync("duet-icon", { key: '8d9265fb0946a832c1c386b139b28b775ade9936', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '87abfa72d165e96e3ca1798ab0023e13d540d757' }, hAsync("slot", { key: 'fc437b4821cbc146906f8c33aa06d4718a0584b2' })))));
|
|
10697
11081
|
}
|
|
10698
11082
|
get element() { return getElement(this); }
|
|
10699
11083
|
static get style() { return duetEmptyStateCss; }
|
|
@@ -10784,20 +11168,20 @@ class DuetFieldset {
|
|
|
10784
11168
|
* Always the last one in the class.
|
|
10785
11169
|
*/
|
|
10786
11170
|
render() {
|
|
10787
|
-
return (hAsync(Host, { key: '
|
|
11171
|
+
return (hAsync(Host, { key: '150ed749bb02f820ab14416d153e67cea52dc29e', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '17055f020b42050cfc12e5954edaac9c6658788e', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
10788
11172
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
10789
11173
|
// once they do, we can remove errors from the aria-describedby
|
|
10790
11174
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
10791
11175
|
class: {
|
|
10792
11176
|
"duet-fieldset": true,
|
|
10793
11177
|
"duet-theme-turva": this.theme === "turva",
|
|
10794
|
-
} }, hAsync("legend", { key: '
|
|
11178
|
+
} }, hAsync("legend", { key: '1cf7a2d88bbcea640fe06e19ce4b2d633be56c3b', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'aec7db3663b9cc1c1ac2205ab103c708c56a0573' }, this.label), this.caption && hAsync("span", { key: '849cec9875e1713b0c53ee81ffdcb33b501a78b1' }, this.caption)), hAsync("div", { key: '319c243237ed47fe584e7498514a3f392d9b8b19', class: {
|
|
10795
11179
|
"duet-legend-wrapper": true,
|
|
10796
11180
|
"duet-legend-has-caption": !!this.caption,
|
|
10797
11181
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
10798
11182
|
"duet-legend-hidden": this.labelHidden,
|
|
10799
11183
|
"duet-legend-compact": this.compactLabel,
|
|
10800
|
-
} }, hAsync("div", { key: '
|
|
11184
|
+
} }, hAsync("div", { key: 'c69484583f6027412eb7d50a33af3db48a4b9755', class: "duet-fieldset-label" }, hAsync("span", { key: 'b8df8f29e780738665c0a054399d1d1f97f5e7ea', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '18d94da36179d4ba5b78c3ed6ac83f41d401c067', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5ceb8c432f19ab8b18d04ce12f6463e563a7459a', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'c6f433f3e47f2e2fdedcbc158d169ab6bea4a0a0', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'b8a61deb6211c5abbc806d2762088fcedb936873' }), hAsync("span", { key: 'a6c68e7ef61365792b92fc6ef7290d3b3a3cdd65', class: "duet-fieldset-help duet-fieldset-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '4fea45e086a99437a8f7ddc0e1617a3a6046beed', class: { "duet-m-0": this.lastItemIsChip } }, this.error)))));
|
|
10801
11185
|
}
|
|
10802
11186
|
get element() { return getElement(this); }
|
|
10803
11187
|
static get style() { return duetFieldsetCss; }
|
|
@@ -10996,16 +11380,16 @@ class DuetFooter {
|
|
|
10996
11380
|
render() {
|
|
10997
11381
|
const text = getLocaleString(i18n$1, this.language);
|
|
10998
11382
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
10999
|
-
return (hAsync("footer", { key: '
|
|
11383
|
+
return (hAsync("footer", { key: 'cded4930f82ba556fe630d4295e351cbbb2082e2', class: {
|
|
11000
11384
|
"duet-footer": true,
|
|
11001
11385
|
"duet-m-0": this.margin === "none",
|
|
11002
11386
|
"duet-theme-turva": this.theme === "turva",
|
|
11003
11387
|
"duet-footer-simple": this.variation === "simple",
|
|
11004
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11388
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '937096c43e34404c84fa15418efd41c5692f6ac1', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '865c6932f382aba543ca23c1bd4ab5aab4885b0a', class: {
|
|
11005
11389
|
"duet-footer-top": true,
|
|
11006
11390
|
"duet-has-info": this.hasInfoSlot,
|
|
11007
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
11008
|
-
this.processedItems.map((item, index) => (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: this.getTopItemButtonIcon(item), "icon-right": !this.isMessagingLink(item.href), "icon-size": this.isMessagingLink(item.href) ? "medium" : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)))))))), hAsync("slot", { key: '
|
|
11391
|
+
}, part: "top" }, hAsync("div", { key: '5a4e9f746ddacca61409f6d398474e142ddffe81', class: "footer-top-logo" }, hAsync("duet-logo", { key: '9a80fbca3c693fdc4a659b4644b0de9ed23c6773', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: 'ca9651a3a6c65b51931f237bc81d6f95fe779134', class: "footer-top-right-container" }, hAsync("slot", { key: '7c84d38abbbc5618d311e8ef263a4a1aef8ae2b7', name: "info" }), hAsync("div", { key: '488bde039351fbbf7618daaaa071b3420662e317', class: "footer-top-items" }, this.processedItems &&
|
|
11392
|
+
this.processedItems.map((item, index) => (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: this.getTopItemButtonIcon(item), "icon-right": !this.isMessagingLink(item.href), "icon-size": this.isMessagingLink(item.href) ? "medium" : "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)))))))), hAsync("slot", { key: '33805ebcfc7766486807318270595db1deedbb24', name: "extra" }), hAsync("p", { key: '90ac218478d2659b7f74bb370d8066fd7ef7cf1c', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '957a273602b782e88c3e4bd9ae639a68cfd8b966', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'd96e17ca5743ed26b331ecd377b6210dcf3e5a2a', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: 'b1495de197bbd8ab5a4ca4c0feddf656e4bfc0b3' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: '8be41d3d9944acb6903a6f3caff06d6f8f9cd5cc', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
11009
11393
|
}
|
|
11010
11394
|
get element() { return getElement(this); }
|
|
11011
11395
|
static get watchers() { return {
|
|
@@ -11222,7 +11606,7 @@ class DuetGrid {
|
|
|
11222
11606
|
* Always the last one in the class.
|
|
11223
11607
|
*/
|
|
11224
11608
|
render() {
|
|
11225
|
-
return (hAsync(Host, { key: '
|
|
11609
|
+
return (hAsync(Host, { key: 'ad66e7c93a876e1c16fcd3e463dfbac854f9572b', class: {
|
|
11226
11610
|
"duet-grid": true,
|
|
11227
11611
|
"duet-no-stacking": !this.responsive,
|
|
11228
11612
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -11249,7 +11633,7 @@ class DuetGrid {
|
|
|
11249
11633
|
"duet-grid-row-reverse": this.rowReverse,
|
|
11250
11634
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
11251
11635
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
11252
|
-
} }, hAsync("slot", { key: '
|
|
11636
|
+
} }, hAsync("slot", { key: 'cb6c2453668b0a2ea8b90eb003a61f78585576a0' })));
|
|
11253
11637
|
}
|
|
11254
11638
|
get element() { return getElement(this); }
|
|
11255
11639
|
static get watchers() { return {
|
|
@@ -11331,7 +11715,7 @@ class DuetGridItem {
|
|
|
11331
11715
|
* Always the last one in the class.
|
|
11332
11716
|
*/
|
|
11333
11717
|
render() {
|
|
11334
|
-
return (hAsync(Host, { key: '
|
|
11718
|
+
return (hAsync(Host, { key: '895153cc6a7fb2d33ea0fe30db592dc41dfe666e', style: {
|
|
11335
11719
|
"min-width": this.minWidth,
|
|
11336
11720
|
"max-width": this.maxWidth,
|
|
11337
11721
|
}, class: {
|
|
@@ -11348,7 +11732,7 @@ class DuetGridItem {
|
|
|
11348
11732
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
11349
11733
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
11350
11734
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
11351
|
-
} }, hAsync("slot", { key: '
|
|
11735
|
+
} }, hAsync("slot", { key: 'e15b327861008131c15c1b804aecd2c0351afdf1' })));
|
|
11352
11736
|
}
|
|
11353
11737
|
get element() { return getElement(this); }
|
|
11354
11738
|
static get style() { return duetGridItemCss; }
|
|
@@ -12389,7 +12773,7 @@ class DuetHeading {
|
|
|
12389
12773
|
render() {
|
|
12390
12774
|
const TagName = sanitizeString$1(this.level);
|
|
12391
12775
|
const color = getColorByName(this.color);
|
|
12392
|
-
return (hAsync(TagName, { key: '
|
|
12776
|
+
return (hAsync(TagName, { key: '2f89171baca460e8b0b6b807a992856426a83838', class: {
|
|
12393
12777
|
"duet-heading": true,
|
|
12394
12778
|
"duet-heading-border": this.border !== false,
|
|
12395
12779
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -12400,7 +12784,7 @@ class DuetHeading {
|
|
|
12400
12784
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
12401
12785
|
"duet-theme-turva": this.theme === "turva",
|
|
12402
12786
|
"fixed-size": this.fixedSize,
|
|
12403
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
12787
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: 'aded9e6a879359f85d77f436736131a26188f4dc' })));
|
|
12404
12788
|
}
|
|
12405
12789
|
get element() { return getElement(this); }
|
|
12406
12790
|
static get style() { return duetHeadingCss; }
|
|
@@ -12706,7 +13090,7 @@ class DuetHero {
|
|
|
12706
13090
|
outlineColor = "color-primary-turva";
|
|
12707
13091
|
}
|
|
12708
13092
|
}
|
|
12709
|
-
return (hAsync("div", { key: '
|
|
13093
|
+
return (hAsync("div", { key: 'd5eeb3fa2ded961e10b0db110bc1606beadb5878', role: "region", class: {
|
|
12710
13094
|
"duet-hero": true,
|
|
12711
13095
|
"duet-theme-turva": this.theme === "turva",
|
|
12712
13096
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -12724,17 +13108,17 @@ class DuetHero {
|
|
|
12724
13108
|
"duet-hero-text-center": this.variation !== "product" && ((this.textCenter && !this.leftAlign) || campaignOrSection),
|
|
12725
13109
|
"duet-hero-left-align": this.variation === "product" || (this.leftAlign && !campaignOrSection),
|
|
12726
13110
|
"duet-hero-narrow": this.layout === "narrow",
|
|
12727
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
12728
|
-
this.processedBack && (hAsync("div", { key: '
|
|
13111
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'f1567b419987fa37b1bf3219d073b7407d68969a', class: "background-area" }, hAsync("div", { key: '240fb437298bb4dbbe401c66c4b7ba4be218b793', class: "background-container" }, hAsync("div", { key: '9bd3e01a06940f60f6edebe1b360afcfc6364c65', class: "background" }, hAsync("img", { key: 'ece8321c4bd15e3eb89a58914373699cd5f74a6d', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" })), hAsync("div", { key: '2cbf71fbd70243c9e73dbf0be5cdcd74a4a6ae80', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'a92855b91f7460fe11771919b98613f2bc844c02', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '8eab8720aee4d33edb1ffc3e189ade31115cff0a', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '6a3b020ed0e975c55a1ef0a098900269282e0993', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '724ed47abbe45d42cdc24a15cf144ec92ebe7295', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'e34148e2264c68a7acce4cdd7ecd98b392f375f3', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '995d6c69d45d9b84e98afd7fbe143dd22c91ae93', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'f1adcd5407f731f243e920fd6d02e6307770c3b6', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", Object.assign({ key: 'cbbd91e50a57b03cc9f1b2f8da143a73a5c9c23a', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }, bgImgA11yAttrs)))), this.categoryIcon && (hAsync("div", { key: '25750e275462cd216688306a684396609b4db5da', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: '080dc04b7915092298dbfd71d85070db370553d2', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'f56fbc69d93eb69daf1a85bf4990d32babc011fd', class: "background-area" }, hAsync("div", { key: '2e81ad46ab2d99734b33b3a5b275124199be6174', class: "background" }, hAsync("div", { key: '67136b598ac80dabcefa7ece68e7152a444f6813', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '522590966eb8f2a919fbef1bd296d14cb7e47056', class: "brand-shape" }), hAsync("div", { key: '64942939ee3b0cb08dbb8f9d3a0c50e3d6492fed', class: "brand-shaped-image" }, hAsync("div", { key: '2a1c9671ff623f747a76ca2bf7eb7061f3e0ab77', class: "brand-shaped-image-wrapper" }, hAsync("div", Object.assign({ key: 'c393815b6c10d63c768ac4af722df40ab1d611a8', class: "brand-shaped-image-bg", style: styles }, bgImgA11yAttrs))))))), hAsync("div", { key: 'fcf490f61e4a2c2fb88ce5804d7059d68789a5ad', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '026cece4736fb17a4f0809cc085ff131296eedcf', class: "duet-hero-image-mask" }, hAsync("div", { key: 'd353ae243b8e1787ce2904cb50a8cb0f82f2b814', class: "duet-hero-image-wrapper" }, hAsync("div", Object.assign({ key: '0f6bf9a85808413d9e9177bb4d6f4bdec1ebb372', class: "duet-hero-image", style: styles }, bgImgA11yAttrs))))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
13112
|
+
this.processedBack && (hAsync("div", { key: '882584ea7a07b3f5920a7ab308e42e5ac8d90956', class: "duet-hero-back" }, hAsync("duet-button", { key: 'a0bb7347fc443bc2f4dbaa8a4359304c61a4a33d', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
12729
13113
|
label: this.processedBack.label,
|
|
12730
13114
|
href: this.processedBack.href,
|
|
12731
13115
|
id: this.processedBack.id,
|
|
12732
13116
|
analyticsId: this.processedBack.analyticsId,
|
|
12733
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
13117
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'd64fe12b0d99a21a97c3c01bf8a27c3d90168b06', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '6f59e43937274d798205e53bb5c8097707c84c7d', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '6e3a9999d6d9cfb00836f50d1f026f572c13d4d9', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium", "aria-hidden": "true" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '5a246252a9a3cffd670e27c7b34d62dbe81d99d1', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '9deaac254f1793d9cac59610b27e90cd67a1203a', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto", accessibleLabel: this.getAccessibleHeading() }, this.heading ? this.heading : hAsync("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: 'f938dd95a754fa9749699793ce5a81a313cc94a8', theme: this.theme, level: this.hasSubHeadingSlotNative ? "div" : this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: '719bb29e202df58c0cd542c6b2c72a8ced1157ea', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '36849331db1a89058aa564e686a46a9b7e975e1b', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '553b3b961f3f23fdab788b84e63552d3c0686b37', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: 'af02b833ecfd90cfd09f0c48c071c41e935080db', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '77cb919644b1a87eeff3ec753e4b075b3adb6e27' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'f5eed6109f77a64ee2ab2bafcc38c664a4bca2f9', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: newWindowIcon.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
12734
13118
|
this.variation !== "image" &&
|
|
12735
13119
|
!campaignOrSection &&
|
|
12736
13120
|
this.variation !== "product" &&
|
|
12737
|
-
this.variation !== "content" && hAsync("div", Object.assign({ key: '
|
|
13121
|
+
this.variation !== "content" && hAsync("div", Object.assign({ key: '4dbed5f231c2ffff11d5336b9ada8da3fefbdfce', class: "duet-hero-image", style: styles }, bgImgA11yAttrs)), hAsync("slot", { key: '3d48509557f9575a15947b37ab4fc30b768b5dbb', name: "bottom" }))));
|
|
12738
13122
|
}
|
|
12739
13123
|
get element() { return getElement(this); }
|
|
12740
13124
|
static get watchers() { return {
|
|
@@ -12902,11 +13286,11 @@ class DuetIcon {
|
|
|
12902
13286
|
: {};
|
|
12903
13287
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
12904
13288
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
12905
|
-
return (hAsync(Host, { key: '
|
|
13289
|
+
return (hAsync(Host, { key: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', class: {
|
|
12906
13290
|
"duet-m-0": this.margin === "none",
|
|
12907
13291
|
"duet-icon-has-outline": !!this.outline,
|
|
12908
13292
|
"duet-icon-has-background": !!this.background,
|
|
12909
|
-
} }, hAsync("span", { key: '
|
|
13293
|
+
} }, hAsync("span", { key: '6fa86044b5f3966537f38590bd12b28b698a080b', "aria-hidden": "true", style: styles, class: {
|
|
12910
13294
|
"duet-icon": true,
|
|
12911
13295
|
"duet-theme-turva": this.theme === "turva",
|
|
12912
13296
|
"duet-theme-default": this.theme === "default",
|
|
@@ -12915,7 +13299,7 @@ class DuetIcon {
|
|
|
12915
13299
|
[shapeStyle]: true,
|
|
12916
13300
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
12917
13301
|
"duet-icon-not-responsive": !this.responsive,
|
|
12918
|
-
} }, hAsync("span", { key: '
|
|
13302
|
+
} }, hAsync("span", { key: '4ba33bca7da0ccbc0f11b1b5693e7912d0a0d45d', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
12919
13303
|
}
|
|
12920
13304
|
get element() { return getElement(this); }
|
|
12921
13305
|
static get watchers() { return {
|
|
@@ -12993,11 +13377,11 @@ class DuetIndicator {
|
|
|
12993
13377
|
inheritGlobalTheme(this);
|
|
12994
13378
|
}
|
|
12995
13379
|
render() {
|
|
12996
|
-
return (hAsync(Host, { key: '
|
|
13380
|
+
return (hAsync(Host, { key: 'dec9ae44791d7c11742399064ae9f5abcb25a0da' }, hAsync("span", { key: '869ad4db73c79b071b6b1cc4667926874f836351', class: {
|
|
12997
13381
|
"duet-indicator": true,
|
|
12998
13382
|
[`duet-indicator-${this.variation}`]: true,
|
|
12999
13383
|
"duet-theme-turva": this.theme === "turva",
|
|
13000
|
-
} }), hAsync("duet-visually-hidden", { key: '
|
|
13384
|
+
} }), hAsync("duet-visually-hidden", { key: '95d24f44ddab59732430691a257eebe5de008870' }, this.getAccessibleLabel())));
|
|
13001
13385
|
}
|
|
13002
13386
|
get element() { return getElement(this); }
|
|
13003
13387
|
static get style() { return duetIndicatorCss; }
|
|
@@ -13077,7 +13461,7 @@ function cleanValue(input, regex) {
|
|
|
13077
13461
|
return newValue;
|
|
13078
13462
|
}
|
|
13079
13463
|
|
|
13080
|
-
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:bottom;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}input[type=time]::-webkit-datetime-edit-fields-wrapper{padding:0}input[type=time]::-webkit-calendar-picker-indicator{display:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button{top:-36px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button{top:-40px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button{top:-44px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;outline-color:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;transition:border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(228, 236, 239) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-input:hover:not(:disabled){outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-input:hover:not(:disabled),.duet-input:hover:not(:disabled).duet-theme-turva{outline-color:rgb(120, 145, 164)}.has-error .duet-input:hover:not(:disabled){outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input:focus{border-color:rgb(0, 119, 179) !important;transition:none}.has-error .duet-input:focus{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{outline:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;outline:initial;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-variation-revealable.disabled .duet-input-relative{outline:none;background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102);border-color:rgb(0, 119, 179)}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px}.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative,.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164)}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102)}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-grow:1;flex-basis:4rem;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-theme-turva .duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva.duet-input-container.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59) !important;border-color:rgb(120, 145, 164) !important}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-input:-moz-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(241, 202, 178)}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 42, 59) !important;background:rgb(228, 233, 237) !important;border-color:rgb(228, 233, 237) !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-help{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(120, 145, 164)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(120, 145, 164)}.duet-theme-turva.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-theme-turva.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(53, 79, 101);border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-offset:2px;outline-color:rgb(53, 79, 101)}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(120, 145, 164)}";
|
|
13464
|
+
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;vertical-align:bottom;text-align:left}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}input[type=time]::-webkit-datetime-edit-fields-wrapper{padding:0}input[type=time]::-webkit-calendar-picker-indicator{display:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-xx-small button{top:-36px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-x-small button{top:-40px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single.input-padding-small button{top:-44px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-xx-small button{top:-12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-x-small button{top:-16px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double.input-padding-small button{top:-20px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;outline-color:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;transition:border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-input:focus::placeholder{color:rgb(181, 198, 208)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;outline:none !important;background:rgb(228, 236, 239) !important;border-color:rgb(228, 236, 239) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-input:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input:hover:not(:disabled):not(:focus),.duet-input:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-input:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input:focus,.duet-input:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-input:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{outline:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;outline:initial;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-input-variation-revealable.disabled .duet-input-relative{outline:none;background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(62, 84, 102);border-color:rgb(0, 119, 179)}.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative,.duet-input-variation-revealable:hover:not(.disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative,.duet-input-container.has-chips.has-focus .duet-input-relative.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative,.duet-input-container.has-chips:hover:not(:disabled):not(.has-focus) .duet-input-relative.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.duet-input-container.has-chips.has-error .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips.has-error.has-focus .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-input-container.has-chips.has-error:hover:not(:disabled):not(.has-focus) .duet-input-relative{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;padding-right:2px;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 150ms ease}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-grow:1;flex-basis:4rem;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{outline:none !important;border-width:0 !important}.duet-theme-turva .duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva.duet-input-container.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva:not(.has-error) .duet-input{border-color:rgb(120, 145, 164) !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-input::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-input:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-help{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(120, 145, 164)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(120, 145, 164)}.duet-theme-turva.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-theme-turva.duet-input-variation-revealable.has-focus .duet-input-relative{outline:2px solid;outline-offset:-1px;outline-color:rgb(53, 79, 101);border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-input-container.has-chips.has-focus .duet-input-relative{outline:2px solid;outline-offset:2px;outline-color:rgb(53, 79, 101)}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(120, 145, 164)}";
|
|
13081
13465
|
|
|
13082
13466
|
const icons = {
|
|
13083
13467
|
search: searchIcon,
|
|
@@ -13621,7 +14005,7 @@ class DuetInput {
|
|
|
13621
14005
|
this.type !== "password" &&
|
|
13622
14006
|
this.type !== "time" &&
|
|
13623
14007
|
this.variation !== "button";
|
|
13624
|
-
return (hAsync(Host, { key: '
|
|
14008
|
+
return (hAsync(Host, { key: '1eb6191aaab4c5bd1077c68882b28d04fe1affef', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '606e2f2ae2ab2b48318b7fd8f4d2192e9c1d9ea8', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '80a74a720c101407751f1004d0ded71d9f5b0cca', class: {
|
|
13625
14009
|
"duet-input-container": true,
|
|
13626
14010
|
"duet-theme-turva": this.theme === "turva",
|
|
13627
14011
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -13635,7 +14019,11 @@ class DuetInput {
|
|
|
13635
14019
|
"has-clear": this.clear,
|
|
13636
14020
|
"has-focus": this.isFocused,
|
|
13637
14021
|
disabled: this.disabled,
|
|
13638
|
-
} }, hAsync("div", { key: '
|
|
14022
|
+
} }, hAsync("div", { key: 'e75d978a35f9329df71ec9e85f0eed8433addb13', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '42155bef67e2f2ed2bc401abbed050e9b147c5b0', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '0b17713442d9e85a071fd8f891ad8b18e6d41c1b', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '574024190707b602760edf56f6f081cdc5ce3a06', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: '3bfd4db6bcb18def8439d3b3532fed1f4ec2c3ed', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '0db5fecd76df4b90a6990d382e5af5ea655597a2', class: {
|
|
14023
|
+
"duet-input-relative": true,
|
|
14024
|
+
"duet-theme-turva": this.theme === "turva",
|
|
14025
|
+
"has-error": !!this.error,
|
|
14026
|
+
} }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: 'd501c8b4037074997020bca7c3ea488e85eecd00', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '80ada9143fc5d0a80be79225176321dde4c2b751', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && hAsync("slot", { key: 'd2f2297577b918f9b00dffe210310f8b5902b8f4', name: "button-left" }), hAsync("input", Object.assign({ key: 'c73b07336a423b55fc1365d51db107df4ec3c9d0', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
13639
14027
|
"duet-input": true,
|
|
13640
14028
|
disabled: this.disabled,
|
|
13641
14029
|
"is-number": this.component === "number",
|
|
@@ -13643,17 +14031,17 @@ class DuetInput {
|
|
|
13643
14031
|
"after-chip": this.getAllChips().length > 0,
|
|
13644
14032
|
"align-right": this.inputAlign === "right",
|
|
13645
14033
|
[`input-padding-${this.inputPadding}`]: true,
|
|
13646
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
14034
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '1c17a9d9d010a4f780603790a88dee696a2b9cc4', class: "duet-input-icon" }, hAsync("duet-icon", { key: '31a464daf54eb879f7e29821dfea02e2e0a3ea1a', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: 'ceeb34206ddc6e2b5aa413e1811cf9884b88aa02', class: {
|
|
13647
14035
|
"duet-input-clear-icon": true,
|
|
13648
14036
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
13649
14037
|
"duet-input-clear-icon-double": !!this.icon,
|
|
13650
14038
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
13651
14039
|
[`input-padding-${this.inputPadding}`]: true,
|
|
13652
|
-
} }, hAsync("button", { key: '
|
|
14040
|
+
} }, hAsync("button", { key: '1857977acef2e30274a24d1d79f517e2f4c85622', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: '7873a22bdde0030f84d65a12eb9eef6f7e5b4f05', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '772cbb355e2e10bd6ed14b8f5f3f7759943d564e', class: "duet-input-icon" }, hAsync("duet-icon", { key: 'a814a80c20d9b449b780bfb76300c0bfd2a81179', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: 'e5dc657f02e11f18fce79ac4ae100ec22d7c6262', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: 'f6f4f1af8a5597235245bfa13c569a3b8b15b58c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
13653
14041
|
? this.hidePasswordLabel[this.language]
|
|
13654
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
14042
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '8194008037516aa17ab2ee14066ee3b936dee6dd' }, hAsync("span", { key: '3eaba770a22e3c7fce643f29204cba36837ae6ca', "aria-live": "polite" }, this.isPasswordRevealed
|
|
13655
14043
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
13656
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
14044
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '85d82cb13cee107e0bbf8a45a882954cb680b1ef' })), hAsync("span", { key: '7dc23251785bd369b7485d5e07c7b13b8594b3bd', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '6e5d9037b73b4aac9643ce004fafa25eb0a2ad9d', class: "duet-input-error" }, this.error)))));
|
|
13657
14045
|
}
|
|
13658
14046
|
get element() { return getElement(this); }
|
|
13659
14047
|
static get watchers() { return {
|
|
@@ -13862,24 +14250,24 @@ class DuetLayout {
|
|
|
13862
14250
|
* Always the last one in the class.
|
|
13863
14251
|
*/
|
|
13864
14252
|
render() {
|
|
13865
|
-
return (hAsync(Host, { key: '
|
|
14253
|
+
return (hAsync(Host, { key: '2cdbe38f663ea0d8cc15fd500ecda5f411b9e0ad', class: {
|
|
13866
14254
|
center: this.center,
|
|
13867
14255
|
"duet-middle": this.middle,
|
|
13868
14256
|
"duet-ie": isInternetExplorer(),
|
|
13869
|
-
} }, hAsync("div", { key: '
|
|
14257
|
+
} }, hAsync("div", { key: '3844cb119e6ee20b71358c128536e493c0cefa10', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'fc18a4c1bf4b0779f72fbe64409a7b34bf352761', class: {
|
|
13870
14258
|
"duet-layout-top": true,
|
|
13871
14259
|
"duet-center": this.center,
|
|
13872
|
-
} }, hAsync("div", { key: '
|
|
14260
|
+
} }, hAsync("div", { key: '3737558d8a28f5d5036e7a80dcaaf0b4414e62fb', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '7fb843ff9f8debeb3690193a15fd76c1bcf4e12d', name: "top" })))), hAsync("div", { key: 'adfd7395cbb2e39f853b88a14f991b00f8476090', class: {
|
|
13873
14261
|
"duet-layout": true,
|
|
13874
14262
|
"has-sidebar": this.hasSidebar,
|
|
13875
14263
|
"duet-center": this.center,
|
|
13876
14264
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
13877
|
-
} }, hAsync("main", { key: '
|
|
14265
|
+
} }, hAsync("main", { key: '0506f7e5ae428fbab490af792a6c9662b7b4e9fd', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '820596fd9584dc5abfc82f2aae4b1fafe6d1f7a5', name: "page-heading" }), hAsync("slot", { key: '8f513267e5becd3d5f079983895ebd7c4a409e74', name: "main" })), this.hasSidebar && (hAsync("aside", { key: 'c3689c4105724962cffbedef78edbfa5d51e114b', class: "duet-sidebar" }, hAsync("div", { key: 'b327b7c652bf43acaf36442b9aa47e0289d52d0c', class: {
|
|
13878
14266
|
"duet-sidebar-container": true,
|
|
13879
14267
|
"has-tabs": this.tabs,
|
|
13880
14268
|
sticky: this.sticky,
|
|
13881
14269
|
[this.stickyDistance]: this.sticky,
|
|
13882
|
-
} }, hAsync("slot", { key: '
|
|
14270
|
+
} }, hAsync("slot", { key: '75ea637d7fc09abde7ffb80b306b4f688811e415', name: "sidebar" }))))))));
|
|
13883
14271
|
}
|
|
13884
14272
|
get element() { return getElement(this); }
|
|
13885
14273
|
static get style() { return duetLayoutCss; }
|
|
@@ -14139,10 +14527,10 @@ class DuetLink {
|
|
|
14139
14527
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
14140
14528
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
14141
14529
|
const isButton = Tag === "button";
|
|
14142
|
-
return (hAsync(Host, { key: '
|
|
14530
|
+
return (hAsync(Host, { key: 'b7bc738a8b128a9e56337a4ddc2b3d8cb87d4cf6', class: {
|
|
14143
14531
|
[`duet-link-${this.variation}`]: true,
|
|
14144
14532
|
"duet-m-0": this.margin === "none",
|
|
14145
|
-
} }, hAsync(Tag, { key: '
|
|
14533
|
+
} }, hAsync(Tag, { key: '5b530346d4036ccf8d777a2114ab74385d390eb9', href: this.url, class: {
|
|
14146
14534
|
"duet-link": true,
|
|
14147
14535
|
"duet-link-is-external": this.external,
|
|
14148
14536
|
"duet-link-is-download": !!this.download,
|
|
@@ -14332,7 +14720,7 @@ class DuetList {
|
|
|
14332
14720
|
* Always the last one in the class.
|
|
14333
14721
|
*/
|
|
14334
14722
|
render() {
|
|
14335
|
-
return (hAsync("dl", { key: '
|
|
14723
|
+
return (hAsync("dl", { key: '8db79297c536ab67ccc4692ce3fba04812ad38f0', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '9644e8591deac7c8e4ac380f65e93ffb54154e70' })));
|
|
14336
14724
|
}
|
|
14337
14725
|
get element() { return getElement(this); }
|
|
14338
14726
|
static get watchers() { return {
|
|
@@ -14398,7 +14786,7 @@ class DuetListItem {
|
|
|
14398
14786
|
* Always the last one in the class.
|
|
14399
14787
|
*/
|
|
14400
14788
|
render() {
|
|
14401
|
-
return (hAsync(Host, { key: '
|
|
14789
|
+
return (hAsync(Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
|
|
14402
14790
|
"duet-theme-turva": this.theme === "turva",
|
|
14403
14791
|
"duet-no-stacking": !this.responsive,
|
|
14404
14792
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -14406,7 +14794,7 @@ class DuetListItem {
|
|
|
14406
14794
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
14407
14795
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
14408
14796
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
14409
|
-
} }, hAsync("dt", { key: '
|
|
14797
|
+
} }, hAsync("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, hAsync("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), hAsync("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, hAsync("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
|
|
14410
14798
|
}
|
|
14411
14799
|
get element() { return getElement(this); }
|
|
14412
14800
|
static get style() { return duetListItemCss; }
|
|
@@ -14544,7 +14932,7 @@ class DuetLogo {
|
|
|
14544
14932
|
*/
|
|
14545
14933
|
render() {
|
|
14546
14934
|
const TagName = this.href ? "a" : "div";
|
|
14547
|
-
return (hAsync(Host, { key: '
|
|
14935
|
+
return (hAsync(Host, { key: 'd99854962d44321597d2a365ebb9a1cc9ea96ef5', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'a68c65c4e68571831417a0c6ae7e8ae339f7fe29', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
14548
14936
|
"duet-logo": true,
|
|
14549
14937
|
[this.size]: true,
|
|
14550
14938
|
"duet-logo-inverse": this.inverse,
|
|
@@ -14704,17 +15092,17 @@ class DuetMenuBar {
|
|
|
14704
15092
|
render() {
|
|
14705
15093
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
14706
15094
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
14707
|
-
return (hAsync(Host, { key: '
|
|
15095
|
+
return (hAsync(Host, { key: '20953eddb5841bc9c3270486dd3734ec5cc3a952' }, hAsync("nav", { key: '1c25040ecad0544d6875be135b0e37d228d252ac', class: {
|
|
14708
15096
|
"duet-menu-bar": true,
|
|
14709
15097
|
"duet-theme-turva": this.theme === "turva",
|
|
14710
15098
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
14711
15099
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
14712
15100
|
hidden: this.hidden && this.hideOnScroll,
|
|
14713
15101
|
bottom: this.onBottom,
|
|
14714
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
15102
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '8f97938d286808eeaac40b082bce5e01011d23be', class: "top" }), hAsync("div", { key: '1e9f311e8d1cfd877a927a8088b898446dd180ac', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'c294599cde52e8fcabd0412fcd803e472bf97e45' }, hAsync("duet-logo", { key: '0a25bba9944d981a0c0a0fc030df98c3ab191a20', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), hAsync("duet-logo", { key: '93471aa81e550289950f4bf1334ec780bbffa658', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), hAsync("duet-logo", { key: '08c23b2467aa25bb26f2d63b6bcf282b66930ece', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (hAsync("div", { key: '56afacfd12bbaf8221f0054098db968d6cf48821', class: {
|
|
14715
15103
|
"duet-logo-info-text": true,
|
|
14716
15104
|
"duet-theme-turva": this.theme === "turva",
|
|
14717
|
-
} }, this.logoInfoText)))), hAsync("div", { key: '
|
|
15105
|
+
} }, this.logoInfoText)))), hAsync("div", { key: 'f0c2016af395fbf2b559d04250b37e615ec6aa6d', class: "list center", role: "list" }, hAsync("div", { key: 'f22dc0cbdccf64d0eca130fadaa5ce0a94a49652', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '013cb15f8cf0e113f61ee79951145ba591643c8e', name: "center" }), hAsync("div", { key: '261f3b02c4a5479c55f14d184d1f62f0e1b423e5', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '340de122eae1f45e67510326ed7853d554620629', class: "list right", role: "list" }, hAsync("slot", { key: '4e06e5759df443ea2f958eb3337714b353c46a1a', name: "right" }))), hAsync("div", { key: 'd7cf80a004bef36a8d4ddd7b15276ba703393e11', class: "bottom" }))));
|
|
14718
15106
|
}
|
|
14719
15107
|
get element() { return getElement(this); }
|
|
14720
15108
|
static get style() { return duetMenuBarCss; }
|
|
@@ -14793,10 +15181,10 @@ class DuetMenuBarButton {
|
|
|
14793
15181
|
* Always the last one in the class.
|
|
14794
15182
|
*/
|
|
14795
15183
|
render() {
|
|
14796
|
-
return (hAsync(Host, { key: '
|
|
15184
|
+
return (hAsync(Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
|
|
14797
15185
|
"duet-menu-bar-button": true,
|
|
14798
15186
|
"duet-theme-turva": this.theme === "turva",
|
|
14799
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
15187
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '439d74e7bdfb1396a7c1e2940c3bcf142c3150b6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '61a36d95ee1b2962b3f966dc99678c7e00c00692' }))));
|
|
14800
15188
|
}
|
|
14801
15189
|
get element() { return getElement(this); }
|
|
14802
15190
|
static get style() { return duetMenuBarButtonCss; }
|
|
@@ -14886,17 +15274,17 @@ class DuetMenuBarDropdown {
|
|
|
14886
15274
|
* Always the last one in the class.
|
|
14887
15275
|
*/
|
|
14888
15276
|
render() {
|
|
14889
|
-
return (hAsync(Host, { key: '
|
|
15277
|
+
return (hAsync(Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, hAsync("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
|
|
14890
15278
|
"duet-menu-bar-dropdown": true,
|
|
14891
15279
|
"duet-theme-turva": this.theme === "turva",
|
|
14892
15280
|
active: this.open,
|
|
14893
15281
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
14894
|
-
} }, hAsync("button", { key: '
|
|
15282
|
+
} }, hAsync("button", { key: 'c0bdf57ef46ae179d3c0d6e7f45bdd7ffe10769b', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
14895
15283
|
active: this.open,
|
|
14896
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
15284
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'c97e52d72933959ecbd6b9519940427735cdeccc', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd831c0f2defb108643ac9a11f6be93f4f98a8dbc', class: "label" }, hAsync("slot", { key: 'c396567614cd3badd2b373a1922ea907f75750a8', name: "label" }), hAsync("duet-icon", { key: '4e8adfdf9998028a514fa386275affa9c4fe29be', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '683257ed3f02ee4cde289c0efe48af7f06fa50c5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
14897
15285
|
items: true,
|
|
14898
15286
|
hidden: !this.open,
|
|
14899
|
-
} }, hAsync("slot", { key: '
|
|
15287
|
+
} }, hAsync("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
|
|
14900
15288
|
}
|
|
14901
15289
|
get element() { return getElement(this); }
|
|
14902
15290
|
static get style() { return duetMenuBarDropdownCss; }
|
|
@@ -14963,11 +15351,11 @@ class DuetMenuBarDropdownLink {
|
|
|
14963
15351
|
* Always the last one in the class.
|
|
14964
15352
|
*/
|
|
14965
15353
|
render() {
|
|
14966
|
-
return (hAsync(Host, { key: '
|
|
15354
|
+
return (hAsync(Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, hAsync("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
|
|
14967
15355
|
"duet-menu-bar-dropdown-link": true,
|
|
14968
15356
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
14969
15357
|
"duet-theme-turva": this.theme === "turva",
|
|
14970
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
15358
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '486173db589cdbf851d3a5dd9171990af84707bb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd284cabdff17ad2590e80ed02894fe87425507b0' }))));
|
|
14971
15359
|
}
|
|
14972
15360
|
get element() { return getElement(this); }
|
|
14973
15361
|
static get style() { return duetMenuBarDropdownLinkCss; }
|
|
@@ -15053,11 +15441,11 @@ class DuetMenuBarItem {
|
|
|
15053
15441
|
*/
|
|
15054
15442
|
render() {
|
|
15055
15443
|
const TagName = this.url ? "a" : "button";
|
|
15056
|
-
return (hAsync(Host, { key: '
|
|
15444
|
+
return (hAsync(Host, { key: 'd968cd5ac488d7cc0fea66408de412524dc88b35', role: "listitem" }, hAsync(TagName, { key: '143da0db925d6a45f69a6defcc0d96710d395cbf', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
15057
15445
|
"duet-menu-bar-item": true,
|
|
15058
15446
|
"duet-theme-turva": this.theme === "turva",
|
|
15059
15447
|
active: this.active,
|
|
15060
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
15448
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '22ef7c16eb08f2a24bbd902c1e702103a8319621', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '9560bccb8d749a945592866e33279c9e1686f9af' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c152621621d193d9d80cc0984fe36d230a2b7a63', class: {
|
|
15061
15449
|
"trailing-icon": !!this.trailingIcon,
|
|
15062
15450
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
15063
15451
|
"external-icon": !!this.external,
|
|
@@ -15122,11 +15510,11 @@ class DuetMenuBarLink {
|
|
|
15122
15510
|
* Always the last one in the class.
|
|
15123
15511
|
*/
|
|
15124
15512
|
render() {
|
|
15125
|
-
return (hAsync(Host, { key: '
|
|
15513
|
+
return (hAsync(Host, { key: 'd150209d2395822ac0ba4b0d6372bdc0ba5532fd', role: "listitem" }, hAsync("a", { key: '46070813f893e645146a7ca8ea798fa455df11e9', class: {
|
|
15126
15514
|
"duet-menu-bar-link": true,
|
|
15127
15515
|
"duet-theme-turva": this.theme === "turva",
|
|
15128
15516
|
active: this.active,
|
|
15129
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
15517
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'bac5752b20258b49e6b3210f071578154de8d8d8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'efec03fcc7a033a4f9df871a4a087d7c9a04a0e8' }))));
|
|
15130
15518
|
}
|
|
15131
15519
|
get element() { return getElement(this); }
|
|
15132
15520
|
static get style() { return duetMenuBarLinkCss; }
|
|
@@ -15462,14 +15850,14 @@ class DuetModal {
|
|
|
15462
15850
|
var _a, _b;
|
|
15463
15851
|
const iconColor = postfixTheme("primary", this.theme);
|
|
15464
15852
|
const closeColor = postfixTheme("secondary", this.theme);
|
|
15465
|
-
const closingButton = (hAsync("div", { key: '
|
|
15466
|
-
return (hAsync("div", { key: '
|
|
15853
|
+
const closingButton = (hAsync("div", { key: '8152ba7d3c2f727e6ff706f2d9d0ffcc7163f1f1', class: "duet-modal-close" }, hAsync("duet-button", { key: 'bca02a5a5b1baf6c3f875428bc937a7ca723e111', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
15854
|
+
return (hAsync("div", { key: '0afd4adbeb161abdf0e802f8d0f9aaf397ff45e9', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
15467
15855
|
"duet-modal-container": true,
|
|
15468
15856
|
"duet-theme-turva": this.theme === "turva",
|
|
15469
15857
|
"duet-modal-active": this.open,
|
|
15470
15858
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
15471
15859
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
15472
|
-
} }, hAsync("duet-overlay", { key: '
|
|
15860
|
+
} }, hAsync("duet-overlay", { key: '89056e2989c21985e3817e72f2baf7c6d4d81ab3', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'a2a015019a798028a1a0cea8fd952cc1428eb136', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
15473
15861
|
"duet-modal-inner": true,
|
|
15474
15862
|
[this.size]: true,
|
|
15475
15863
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -15480,22 +15868,22 @@ class DuetModal {
|
|
|
15480
15868
|
this.closeModal(e);
|
|
15481
15869
|
}
|
|
15482
15870
|
}
|
|
15483
|
-
} }, hAsync("div", { key: '
|
|
15871
|
+
} }, hAsync("div", { key: '15713c0a5ee05cf5fc82a3135f08bc3cea40da88', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
15484
15872
|
"duet-modal": true,
|
|
15485
15873
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
15486
15874
|
[this.size]: true,
|
|
15487
15875
|
[this.variation]: true,
|
|
15488
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
15876
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'abdc98a5d8b3dcb63eacf67363bff0590343a577' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'ad50d422bf25439e3ba99e69079895ef64e2492d', class: {
|
|
15489
15877
|
"duet-modal-body": true,
|
|
15490
15878
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
15491
15879
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
15492
15880
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
15493
15881
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
15494
|
-
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, hAsync("div", { key: '
|
|
15882
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, hAsync("div", { key: '26292796644643c6e284a44ffe4e715e9c31e082', class: "duet-modal-header" }, hAsync("span", { key: '684cc3976d13705d8316641c7967f3d3b913182d', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '744445f8cf06310430db406ca80fd33268701808', name: "top" })), this.icon && hAsync("duet-icon", { key: '06964e8ee4ce265badcd709a94ad153307876f41', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'a5865fae767dc9c4d58f4f8569277af880ed5ce2', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: '579b4d36a487ae61e60ba3f73504b8c8817b59eb', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '9350f333da39299c937fda0ef711f1f30a8c365d', size: "large", color: postfixTheme("primary", this.theme) }))), hAsync("div", { key: 'f5d5789af558d4332a0683a7db5892f8442a37b4', "aria-live": this.variation === "loader"
|
|
15495
15883
|
? "assertive"
|
|
15496
15884
|
: this.accessibleAnnounceChanges === "body"
|
|
15497
15885
|
? "polite"
|
|
15498
|
-
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: '
|
|
15886
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: '509127555382cf321b5eeacfcd3b1a7f33bb99ca' })))))));
|
|
15499
15887
|
}
|
|
15500
15888
|
get element() { return getElement(this); }
|
|
15501
15889
|
static get watchers() { return {
|
|
@@ -15541,7 +15929,7 @@ class DuetModal {
|
|
|
15541
15929
|
}; }
|
|
15542
15930
|
}
|
|
15543
15931
|
|
|
15544
|
-
const duetMultiselectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;text-overflow:ellipsis;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{outline:2px solid;outline-color:rgb(98, 121, 138);outline-offset:-1px;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-multiselect:hover,.duet-multiselect:hover.duet-theme-turva{outline-color:rgb(120, 145, 164)}.has-error .duet-multiselect:hover{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-multiselect:focus.duet-theme-turva,.duet-theme-turva .duet-multiselect.duet-multiselect-active,.duet-multiselect.duet-multiselect-active.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{outline:1px solid;outline-color:rgb(214, 28, 82);outline-offset:-1px}.duet-multiselect[disabled]{color:rgb(8, 42, 77) !important;cursor:default !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;visibility:hidden;width:100%;padding:16px;margin:8px 0 0;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);transition-property:transform, opacity}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 42, 59) !important;background:rgb(245, 246, 247) !important;border-color:rgb(245, 246, 247) !important;-webkit-text-fill-color:rgb(23, 42, 59) !important}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-theme-turva .duet-multiselect{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 42, 59)}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{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, 42, 59);background:#e8eaeb}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(212, 221, 226);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(230, 23, 64)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 42, 59)}.duet-theme-turva .duet-multiselect-help{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(120, 145, 164)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}";
|
|
15932
|
+
const duetMultiselectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;overflow:hidden;text-overflow:ellipsis;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover:not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-multiselect:hover:not(:focus),.duet-multiselect:hover:not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-multiselect:hover:not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-multiselect:focus,.duet-multiselect:focus.duet-theme-turva,.duet-theme-turva .duet-multiselect.duet-multiselect-active,.duet-multiselect.duet-multiselect-active.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-multiselect[disabled]{color:rgb(127, 150, 165) !important;cursor:not-allowed !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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-weight:600;line-height:1.25;color:rgb(8, 42, 77);background:#d9ebf4;border-radius:20rem}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-multiselect svg{width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;visibility:hidden;width:100%;padding:16px;margin:8px 0 0;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);transition-property:transform, opacity}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(212, 223, 229)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(8, 42, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-theme-turva .duet-multiselect{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 42, 59)}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{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, 42, 59);background:#e8eaeb}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(212, 221, 226);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(230, 23, 64)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 42, 59)}.duet-theme-turva .duet-multiselect-help{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(120, 145, 164)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(214, 28, 82)}";
|
|
15545
15933
|
|
|
15546
15934
|
function toggleInArray(arr, item) {
|
|
15547
15935
|
return arr.includes(item) ? arr.filter(i => i !== item) : [...arr, item];
|
|
@@ -15811,23 +16199,23 @@ class DuetMultiselect {
|
|
|
15811
16199
|
*/
|
|
15812
16200
|
render() {
|
|
15813
16201
|
var _a;
|
|
15814
|
-
return (hAsync(Host, { key: '
|
|
16202
|
+
return (hAsync(Host, { key: '745ae2dcace9c47a7ef0d12543fdeef0466cda02', class: {
|
|
15815
16203
|
"duet-m-0": this.margin === "none",
|
|
15816
16204
|
"duet-expand": this.expand,
|
|
15817
|
-
} }, hAsync("div", { key: '
|
|
16205
|
+
} }, hAsync("div", { key: '392e8386b1ae4453c31049f6933621f02c0438ae', class: {
|
|
15818
16206
|
"duet-multiselect-container": true,
|
|
15819
16207
|
"duet-label-hidden": this.labelHidden,
|
|
15820
16208
|
"duet-theme-turva": this.theme === "turva",
|
|
15821
16209
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
15822
16210
|
"has-error": !!this.error,
|
|
15823
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
16211
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: 'db2bbe8e401ee1481fcb23a51a11579ed2e9731a', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '52abf8dc3ff55b51c1ae16184bcc9dc50702129c', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '55be043c566987567c55c3d2314b2d07c0577f39', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'a265ab223cdd9967ed589daec9141580a4ff3f84', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'cb0357b1b09b6910f52d620361c0460ab15a49ab', class: "duet-multiselect-wrapper" }, hAsync("button", { key: 'e13a3b63a5bbae2b4a4e6c950819f2352c842bf4', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: 'a44743618e01129e8ff089fd33468777a1094f4a', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '965fa8a9e214acc2a36ddfbe18cfc0b01f545c46', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '184f27527b7434414311eb106a448002013c5a45' }, this.selectedLangObject[this.language], ",", " ", Array.isArray(this.value) ? this.value.map(item => item.label).join(", ") : ""))), hAsync("svg", { key: '180cc865574bb3d05cbeb09ff297789f699a4a4f', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'be284edc78d0f0a72af1c1e13a99743ade09491a', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: 'bd304ff02f89a093e0ec88c25543e96ae9895296', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
15824
16212
|
"duet-multiselect-checkboxes": true,
|
|
15825
16213
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
15826
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
16214
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'c19292136aa2a2b0e9cfaeee91be6feed9b1fad5', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '30e71bff9bfce27f52025c9937f5346cd21d1a09', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: '54e2bbd5a20208fe357972a728e46c25b19d571b', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
15827
16215
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
15828
16216
|
var _a, _b;
|
|
15829
16217
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
15830
|
-
})))))), hAsync("span", { key: '
|
|
16218
|
+
})))))), hAsync("span", { key: '321e1473d7c585419fb4e92e6d68817b0e369bb7', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '74ceeb2d368b87d7abc142ef277c7f3462c0dc50' }, this.error)))));
|
|
15831
16219
|
}
|
|
15832
16220
|
get element() { return getElement(this); }
|
|
15833
16221
|
static get watchers() { return {
|
|
@@ -15902,7 +16290,7 @@ class DuetNav {
|
|
|
15902
16290
|
* Always the last one in the class.
|
|
15903
16291
|
*/
|
|
15904
16292
|
render() {
|
|
15905
|
-
return (hAsync(Host, { key: '
|
|
16293
|
+
return (hAsync(Host, { key: 'fff23e9c9f994ed80cebebdf7bb16d05a0b13281' }, hAsync("div", { key: 'bf9f4a0d164a27073a8f3be2fc14e7f14f39e479', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '4fa7cc506db4c4b6fa9ff5219ba7b7e56107a8da' }), hAsync("slot", { key: 'e9e8c0e724f76feb3aa320207f5a3ef7a7ab5ac9', name: "mobile" }), hAsync("slot", { key: '49e37c33533e3ba9c733660c0420d85a3a63e80f', name: "desktop" }))));
|
|
15906
16294
|
}
|
|
15907
16295
|
get element() { return getElement(this); }
|
|
15908
16296
|
static get style() { return duetNavCss; }
|
|
@@ -15995,11 +16383,11 @@ class DuetNotification {
|
|
|
15995
16383
|
return `${indicatorText}${slottedText}${slottedText.endsWith(".") ? "" : "."} ${this.date}`;
|
|
15996
16384
|
}
|
|
15997
16385
|
render() {
|
|
15998
|
-
return (hAsync("div", { key: '
|
|
16386
|
+
return (hAsync("div", { key: '7dc46b88a1d5fb69c339262f5ef2cf5a8017b886', role: "listitem", class: {
|
|
15999
16387
|
"duet-notification": true,
|
|
16000
16388
|
"duet-notification-highlight": this.highlight,
|
|
16001
16389
|
"duet-theme-turva": this.theme === "turva",
|
|
16002
|
-
} }, hAsync("a", { key: '
|
|
16390
|
+
} }, hAsync("a", { key: 'a75c52e0336ffbf56b1c852fe67f315816f75559', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self", "aria-label": this.getAriaLabelText() }, hAsync("div", { key: 'e0b83c432a0ff4c12f63516e0418596671270f52', class: "duet-notification-container" }, hAsync("div", { key: '20e4d22bd11670b325e3130e255bf0596d2a43b0', class: "duet-indicator-container" }, this.highlight && (hAsync("duet-indicator", { key: '34975b80502bf22b225e78231721a6d800c1c5ee', variation: "new", "accessible-label": this.accessibleLabelUnread }))), hAsync("div", { key: '326cc9425c9bf45adc67c51174773105414a5f3e', class: "duet-notification-content" }, hAsync("slot", { key: 'c1f7f01a44a74f55bc2642e368095af65cce28db' })), hAsync("div", { key: '3b5b190da2388e94e91a43490ff816a406c2fb66', class: "duet-notification-date" }, this.date)))));
|
|
16003
16391
|
}
|
|
16004
16392
|
get element() { return getElement(this); }
|
|
16005
16393
|
static get style() { return duetNotificationCss; }
|
|
@@ -16146,13 +16534,13 @@ class DuetNotificationDrawer {
|
|
|
16146
16534
|
* Always the last one in the class.
|
|
16147
16535
|
*/
|
|
16148
16536
|
render() {
|
|
16149
|
-
return (hAsync("div", { key: '
|
|
16537
|
+
return (hAsync("div", { key: '9f4089715c79f3098cbddd19ecb0fe9f625e60dc', class: {
|
|
16150
16538
|
"duet-drawer": true,
|
|
16151
16539
|
"duet-theme-turva": this.theme === "turva",
|
|
16152
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
16540
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '5fe36e672d516fc490643ee5c5141111ea68188d', ref: el => (this.drawerButtonEl = el), type: "button", class: {
|
|
16153
16541
|
"duet-drawer-toggle": true,
|
|
16154
16542
|
"duet-theme-turva": this.theme === "turva",
|
|
16155
|
-
}, id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '
|
|
16543
|
+
}, id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '69aede6500156038fe894b681c4a06be6761a9a2', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '1b9cdf160b899552f2ef1db63a1abd2d2cc7da0a', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("duet-indicator", { key: '76fdbf1f66da5ce3516dcc73b198463776b82934', variation: "change" }))), hAsync("span", { key: '45ca00e1fb494cea8fd4f275c511ba9b15b16891', class: "duet-drawer-label" }, this.label), hAsync("div", { key: 'e069a59c71d16a47da7bd6b73266b9b919e8048c', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '4a43d6c80a971e1ed468384a9a2b3e52a49177b4', margin: "none", size: "auto", icon: arrowDownIcon.svg, color: "currentColor" }))), hAsync("div", { key: '94fa21716202a038ed322b705b4acff582c6cb00', id: "duet-drawer-content", class: {
|
|
16156
16544
|
"duet-drawer-content": true,
|
|
16157
16545
|
"duet-drawer-right": this.direction === "right",
|
|
16158
16546
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -16657,15 +17045,15 @@ class DuetNumberInput {
|
|
|
16657
17045
|
const identifier = this.identifier || this.inputId;
|
|
16658
17046
|
const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
|
|
16659
17047
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
16660
|
-
return (hAsync(Host, { key: '
|
|
17048
|
+
return (hAsync(Host, { key: '2f0bce422783a7da27a9750a185bd55e5845528b', class: {
|
|
16661
17049
|
"duet-theme-turva": this.theme === "turva",
|
|
16662
17050
|
"duet-expand": this.expand,
|
|
16663
17051
|
"duet-m-0": this.margin === "none",
|
|
16664
|
-
} }, hAsync("div", { key: '
|
|
17052
|
+
} }, hAsync("div", { key: '7c89eb8dfc7a08b0bdf2c83acbb0fafb80626b9d', class: "duet-number-container" }, hAsync("duet-input", { key: 'b105894b4934b2fcbc87df94ac2d47556809f4e6', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value}${this.getUnitString()}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: '7e215203a35180b356101f9fd7ff7d4a31915194', name: "tooltip" }), hAsync("div", { key: 'e37e08e25c08f8e8103b1c837e2a28dc50030ff3', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: 'a31ef07fda57ddd4732b228fa535a2236cd32c67', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: '9212db5abcfa94ffdd16ffd0e71ec775dc8f7471' }, this.accessibleSubtract
|
|
16665
17053
|
.replace(/\{\s*step\s*\}/, `${this.step}`)
|
|
16666
|
-
.replace(/\{\s*unit\s*\}/, `${this.unit}`)), hAsync("duet-icon", { key: '
|
|
17054
|
+
.replace(/\{\s*unit\s*\}/, `${this.unit}`)), hAsync("duet-icon", { key: 'ba380fee34a9923858cb8c4ed7cebb1e7155b69e', icon: subtractIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: 'd168f42728f6841303e7a3663fb9ee54fa8c13c4', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '07a4f0464663edb651840f2f3ad716f2064404e2' }, this.accessibleAdd
|
|
16667
17055
|
.replace(/\{\s*step\s*\}/, `${this.step}`)
|
|
16668
|
-
.replace(/\{\s*unit\s*\}/, `${this.unit}`)), hAsync("duet-icon", { key: '
|
|
17056
|
+
.replace(/\{\s*unit\s*\}/, `${this.unit}`)), hAsync("duet-icon", { key: '6e2a4ccac6b0be2c3f4d6da7b8c9dada5ca78701', icon: addIcon.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '03970396f2bc5e1acc1fafaa6e63ba2550cd2f8d', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
16669
17057
|
}
|
|
16670
17058
|
get element() { return getElement(this); }
|
|
16671
17059
|
static get style() { return duetNumberInputCss; }
|
|
@@ -16777,7 +17165,7 @@ class DuetOverlay {
|
|
|
16777
17165
|
* Always the last one in the class.
|
|
16778
17166
|
*/
|
|
16779
17167
|
render() {
|
|
16780
|
-
return (hAsync(Host, { key: '
|
|
17168
|
+
return (hAsync(Host, { key: '0a1b75439ac03c39c17153b13ea97858f68b6045', "aria-hidden": "true" }, hAsync("div", { key: '4690d5c28e640e90125ceb6280adbefb19c01301', style: { zIndex: this.zIndex }, class: {
|
|
16781
17169
|
"duet-overlay": true,
|
|
16782
17170
|
"duet-theme-turva": this.theme === "turva",
|
|
16783
17171
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -16855,12 +17243,12 @@ class DuetPageHeading {
|
|
|
16855
17243
|
*/
|
|
16856
17244
|
render() {
|
|
16857
17245
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
16858
|
-
return (hAsync("div", { key: '
|
|
17246
|
+
return (hAsync("div", { key: '5cf22cfc2c34017d8c7467fe36becf60ba78bc75', class: {
|
|
16859
17247
|
"duet-page-heading": true,
|
|
16860
17248
|
"duet-theme-turva": this.theme === "turva",
|
|
16861
17249
|
"has-icon": !!this.icon,
|
|
16862
17250
|
[layout]: true,
|
|
16863
|
-
} }, hAsync("div", { key: '
|
|
17251
|
+
} }, hAsync("div", { key: 'e9ccfced6335c96af6d7baa92a53db59d45b8b30', class: "background" }, this.theme === "turva" && hAsync("div", { key: '830e60d9e2fdf9918b743766ae94353be9e85993', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'ea055759c169167bec0e0096e3c5ba6c7233b756', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '62ee3252ea809756e6a7de1f18017dc62b14d3ba', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '29ec53ff4adad92e0f2dd7d93c7046dfbb2d6c7b', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'a09e043d17d4f9c4c3ab8aaa7aaae33126df0d77', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '913c970c7ae47d0a56416b0102dd4a65648b0bbe', class: "heading" }, hAsync("slot", { key: 'f573503b294909f8119d8d3f66d265c737570cd8', name: "heading" }), this.progressCurrentStep !== undefined && this.progressTotalSteps > 0 && (hAsync("div", { key: 'f2b0ab3aad8acc8071ace37653fbfb8243681056' }, hAsync("duet-spacer", { key: 'ffca4d17364920c928844b6872d399ac2cd29303', size: "large" }), hAsync("div", { key: '7a2c5f9eddb7eb0acc1187303e67dae2f5683e23', role: "presentation" }, this.progressIndicator()))))));
|
|
16864
17252
|
}
|
|
16865
17253
|
get element() { return getElement(this); }
|
|
16866
17254
|
static get style() { return duetPageHeadingCss; }
|
|
@@ -17266,32 +17654,32 @@ class DuetPagination {
|
|
|
17266
17654
|
* Always the last one in the class.
|
|
17267
17655
|
*/
|
|
17268
17656
|
render() {
|
|
17269
|
-
return (hAsync(Host, { key: '
|
|
17657
|
+
return (hAsync(Host, { key: '593c48b276e6b36bff6f78dc731f956c3aaedb82', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '446532b79dd77af3e71a152ae7dc208d45cc6ec5', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
17270
17658
|
"duet-pagination-nav": true,
|
|
17271
17659
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
17272
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
17660
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'ca5700930cd45ccf48ac1d55603266219183b028', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: '53c449d054bee784544f24ab8afb6273ac5cb870', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '986f34a0664b6dc0517824b88f996342d9f7116b', id: this.listId, class: {
|
|
17273
17661
|
"duet-pagination": true,
|
|
17274
17662
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
17275
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
17663
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '1ccc38d06b7a79f9de8ee762a9b9ab959010a436', class: {
|
|
17276
17664
|
"duet-pagination-page-button": true,
|
|
17277
17665
|
"duet-pagination-button-first": true,
|
|
17278
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17666
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '8a0f11e5cd9f5de4a967cc56b0c1816a4de15229', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: '830cc19f3a5580f96cef9cc9650221d19fc5ed95', class: {
|
|
17279
17667
|
"duet-pagination-page-button": true,
|
|
17280
17668
|
"duet-pagination-button-first": true,
|
|
17281
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17669
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'bd02a81bf5945b1ebfb5eacf1a29f85f859e297e', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
17282
17670
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
17283
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
17284
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
17671
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '9d0fa1e1e3567d5ba912861620b0d05f17a592fd' }, hAsync("li", { key: 'e8789887f488d6445e3d2653abcf5564eab8afc2', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'd7e98b1d702e30e935d3dd1c52ad8c4bb187b0fa', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: '997822a5c36dbe6c2ded94fbee6728bfa0d64f03', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '91d5668412f906d7c35702b7c2c28473d2928768', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '3a2113ad718394fa6365a41aaeea306b91f1431e', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: '3fbc0fc4b9fa8b0c4595991f39e6266efd7e3481', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
17672
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '1f324dd16a9b57aefbe62e60e56e5fe3d5af72ce' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'd8c3b8f2db2a2c642a63cc8781f56480d2c0d409', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '9117fbb075c437646e64eceb0316ad702c5fe8b2', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: 'b80ed14f62fee001b600d720a7719174da3d0958', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '8059714abaf60464fda99e46b5f364e94ce75385', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'f9f4f6868664e410d8e0177afaf816328bce46a7', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
17285
17673
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
17286
|
-
: undefined }, hAsync("div", { key: '
|
|
17674
|
+
: undefined }, hAsync("div", { key: '5bb0466c1c108b1dedf6a0e2d5d67f0408037c85', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '4c8e76afbdf203f29a8a4096bf4870b15bd9f930', class: {
|
|
17287
17675
|
"duet-pagination-page-button": true,
|
|
17288
17676
|
"duet-pagination-button-last": true,
|
|
17289
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17677
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '1f3f2dc875d130ddd2e01643fe0b69a6c32325c6', disabled: !!((this.current === this.totalPages &&
|
|
17290
17678
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
17291
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
17679
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'a5c496cb09c9be08249bee069439a3395e7897ad', class: {
|
|
17292
17680
|
"duet-pagination-page-button": true,
|
|
17293
17681
|
"duet-pagination-button-last": true,
|
|
17294
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17682
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '2e6eb9240c1d90bef1028d0b6eabf8d74a178b17', disabled: (this.current === this.totalPages &&
|
|
17295
17683
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
17296
17684
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
17297
17685
|
}
|
|
@@ -17364,14 +17752,14 @@ class DuetPanel {
|
|
|
17364
17752
|
inheritGlobalTheme(this);
|
|
17365
17753
|
}
|
|
17366
17754
|
render() {
|
|
17367
|
-
return (hAsync(Host, { key: '
|
|
17755
|
+
return (hAsync(Host, { key: 'b3dc7fe74cdf89d0b2216283a5250b81bc7dac7c', class: { "duet-m-0": this.margin === "none" } }, hAsync("section", { key: 'c49f7aecda72185d245ae77bd177fe3abb999023', "aria-label": this.accessibleLabel, "aria-labelledby": this.accessibleLabelledBy, "aria-describedby": this.accessibleDescribedBy, class: {
|
|
17368
17756
|
"duet-panel": true,
|
|
17369
17757
|
"duet-theme-turva": this.theme === "turva",
|
|
17370
17758
|
[this.variation.split("-")[0]]: true,
|
|
17371
17759
|
[this.variation.split("-")[1]]: true,
|
|
17372
17760
|
[`padding-${this.padding}`]: true,
|
|
17373
17761
|
border: this.border,
|
|
17374
|
-
} }, hAsync("slot", { key: '
|
|
17762
|
+
} }, hAsync("slot", { key: '846efa69e68b7e7f672d4441877af8c72221e713' }))));
|
|
17375
17763
|
}
|
|
17376
17764
|
get element() { return getElement(this); }
|
|
17377
17765
|
static get style() { return duetPanelCss; }
|
|
@@ -17444,7 +17832,7 @@ class DuetParagraph {
|
|
|
17444
17832
|
const color = getColorByName(this.color);
|
|
17445
17833
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
17446
17834
|
// are not announced when placed inside duet-modal
|
|
17447
|
-
return (hAsync(Host, { key: '
|
|
17835
|
+
return (hAsync(Host, { key: 'b0db3004861f5dfe17d4927087ba6301bc607f5d', "aria-describedby": this.id }, hAsync("p", { key: 'f74e4f0206012d316417ea743d72cc0b76b92ee5', id: this.id, class: {
|
|
17448
17836
|
"duet-paragraph": true,
|
|
17449
17837
|
"duet-paragraph-small": this.size === "small",
|
|
17450
17838
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -17453,7 +17841,7 @@ class DuetParagraph {
|
|
|
17453
17841
|
[this.variation]: true,
|
|
17454
17842
|
"duet-theme-turva": this.theme === "turva",
|
|
17455
17843
|
"duet-inherit-color": !this.color && this.inheritingParents.some(p => this.element.closest(p)),
|
|
17456
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
17844
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '86d18dc5cd6ed9610a477fa09b2776d4f2037346' }))));
|
|
17457
17845
|
}
|
|
17458
17846
|
get element() { return getElement(this); }
|
|
17459
17847
|
static get style() { return duetParagraphCss; }
|
|
@@ -21286,17 +21674,17 @@ class DuetPopupMenu {
|
|
|
21286
21674
|
overflowY: "auto",
|
|
21287
21675
|
height: this.popupMenuStyleHeight,
|
|
21288
21676
|
};
|
|
21289
|
-
return (hAsync(Host, { key: '
|
|
21677
|
+
return (hAsync(Host, { key: '4ba8c544fd10ae2157f9f57f4ea668fba9982b39', role: this.accessibleRole === "menu" ? "application" : null }, hAsync("div", { key: '8167c05e3cbcc2240210eda963d1d0eeece5b15e', ref: element => {
|
|
21290
21678
|
this.menuElement = element;
|
|
21291
21679
|
}, style: styles, class: {
|
|
21292
21680
|
open: this.open,
|
|
21293
21681
|
"duet-popup-menu-list": true,
|
|
21294
21682
|
"duet-theme-turva": this.theme === "turva",
|
|
21295
21683
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
21296
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '
|
|
21684
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: 'bdfb595523f97e6ba3157f6b74ce07ade4b1fc83' }, hAsync("duet-input", { key: '85251d071a3bf62fc5fcd986196b0a904280b889', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), hAsync("duet-visually-hidden", { key: '410bd62c0d3621d294b3deb724803a104e46b85e' }, hAsync("span", { key: 'a2036427c7785993ae0d632887855779e1437ce1', role: "status" }, `
|
|
21297
21685
|
${this.filterResultCount}/${this.itemElements.length}
|
|
21298
21686
|
${this.filterResultCountLabel[this.language]}
|
|
21299
|
-
`)), hAsync("duet-spacer", { key: '
|
|
21687
|
+
`)), hAsync("duet-spacer", { key: '289e215aaa765f00794710b8f309a3cd6d082468', size: "xx-small" }))), hAsync("slot", { key: '6d149b93858d2437e7eb684c33e4ed55af7659a3' }))));
|
|
21300
21688
|
}
|
|
21301
21689
|
get element() { return getElement(this); }
|
|
21302
21690
|
static get watchers() { return {
|
|
@@ -21441,11 +21829,11 @@ class DuetPopupMenuItem {
|
|
|
21441
21829
|
};
|
|
21442
21830
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
21443
21831
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
21444
|
-
return (hAsync(Host, { key: '
|
|
21832
|
+
return (hAsync(Host, { key: 'eb6acbbfccced4c0c5bdc00642932696d4664dfd', role: this.accessibleRole === "menuitem" && this.isSafariBrowser ? null : this.accessibleRole }, hAsync(TagName, { key: 'e94bf11c073da949474e06d550e077df94bd8bb1', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage, "aria-current": this.active ? "true" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '4083d9ff9034800978d924bc764ab10f3064ed26', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: 'dbfcd31c2fff06c014e86f4df2c832e9e424599f', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'ad0150c3fc13b2a43afaaecc3f75b99b7a2041db' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'f4a9ee09f5c6ac0d7c7a4f79dfe8eeef13f2cf26', name: this.url && this.external
|
|
21445
21833
|
? newWindowIcon.title
|
|
21446
21834
|
: this.active
|
|
21447
21835
|
? "messaging-checked-small"
|
|
21448
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
21836
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '89bfa872c8e0a00165bf1d591c29c0ed41b7e2a0', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
21449
21837
|
}
|
|
21450
21838
|
get element() { return getElement(this); }
|
|
21451
21839
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -21569,7 +21957,7 @@ class DuetProgress {
|
|
|
21569
21957
|
}; }
|
|
21570
21958
|
}
|
|
21571
21959
|
|
|
21572
|
-
const duetPromoCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:4px !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;border-radius:20px}.duet-promo-card .content-wrapper:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-promo-card .content-wrapper:focus,.duet-promo-card .content-wrapper:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;object-fit:cover;border-top-left-radius:20px;border-top-right-radius:20px}.duet-promo-card .content{display:flex;flex-grow:1;flex-direction:column;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}.duet-theme-turva.duet-promo-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-theme-turva.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}";
|
|
21960
|
+
const duetPromoCardCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:4px !important}:host(.duet-m-0){margin:0 !important}.duet-promo-card{display:flex;flex-direction:column;width:100%;height:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;color:rgb(8, 42, 77);text-align:left;border-radius:20px}.duet-promo-card.duet-p-0{padding:0 !important}.duet-promo-card.duet-m-0{margin:0 !important}.duet-promo-card .content-wrapper{display:flex;flex-direction:column;height:100%;color:inherit;text-decoration:none;border-radius:20px}.duet-promo-card .content-wrapper:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-promo-card .content-wrapper:focus,.duet-promo-card .content-wrapper:focus.duet-theme-turva{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-promo-card .image{position:relative;width:100%;overflow:hidden;object-fit:cover;border-top-left-radius:20px;border-top-right-radius:20px}.duet-promo-card .content{display:flex;flex-grow:1;flex-direction:column;gap:8px;padding:20px}@media (min-width: 36em){.duet-promo-card .content{padding:28px}}.duet-promo-card .action{display:flex;flex-grow:1;align-items:flex-end;padding-top:16px}.duet-promo-card.no-bg-color .content{padding:20px 0 0}.duet-promo-card.no-bg-color .image{border-radius:16px}.duet-promo-card-link{transition:box-shadow 300ms ease}.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(0, 41, 77, 0.1)}::slotted(.duet-heading){margin:inherit !important;font-size:inherit !important;line-height:inherit !important;color:inherit !important}.duet-theme-turva.duet-promo-card{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-theme-turva.duet-promo-card-link:hover{box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07), 0 2px 10px 0 rgba(117, 117, 117, 0.15)}";
|
|
21573
21961
|
|
|
21574
21962
|
/**
|
|
21575
21963
|
* @slot pre-heading - Slot for pre-heading content.
|
|
@@ -21609,12 +21997,16 @@ class DuetPromoCard {
|
|
|
21609
21997
|
* Component lifecycle events.
|
|
21610
21998
|
*/
|
|
21611
21999
|
componentWillLoad() {
|
|
22000
|
+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
21612
22001
|
inheritGlobalTheme(this);
|
|
21613
22002
|
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
21614
22003
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
21615
22004
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
21616
22005
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
21617
|
-
checkNamedSlotElement(this.element, "heading",
|
|
22006
|
+
checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
|
|
22007
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
|
|
22008
|
+
this.hasHeadingSlotNative = true;
|
|
22009
|
+
}
|
|
21618
22010
|
checkNamedSlotElement(this.element, "description", "span");
|
|
21619
22011
|
}
|
|
21620
22012
|
/**
|
|
@@ -21637,12 +22029,12 @@ class DuetPromoCard {
|
|
|
21637
22029
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
21638
22030
|
};
|
|
21639
22031
|
const TagName = this.url ? "a" : "div";
|
|
21640
|
-
return (hAsync(Host, { key: '
|
|
22032
|
+
return (hAsync(Host, { key: 'd36e73e86f96e7825e96c7730b330afa8a23c14e', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '50c45ed20c3dd5c321f20cac8f98d2ec87848f18', class: {
|
|
21641
22033
|
"duet-promo-card": true,
|
|
21642
22034
|
"duet-theme-turva": this.theme === "turva",
|
|
21643
22035
|
"no-bg-color": !this.backgroundColor,
|
|
21644
22036
|
"duet-promo-card-link": !!this.url,
|
|
21645
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
22037
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '3e564c0bcfda6680953b88b4c8d78462bf938046', href: this.url, class: { "content-wrapper": true, "duet-theme-turva": this.theme === "turva" }, ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'd29c458cefa1d508258c17b8ceffeb7739519bf5', class: "image", src: this.image, alt: this.imageAlt || "", role: this.imageAlt ? null : "presentation" }), hAsync("div", { key: '994fb32775e2da22e3d3d28b0b7d95f115c083ec', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'cf3d737104fabdf6f04deef643fd06e0e0032db4', class: "pre-heading" }, hAsync("slot", { key: 'd92602ce7cfc2b1f3c5779be9d6e735077a1deea', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'a23103a88fe437d4627a1f417e3bea353ad04851', class: "heading" }, hAsync("duet-heading", { key: '762f79431019baecae385b2220c5dffecc326592', theme: this.theme, level: this.hasHeadingSlotNative ? "div" : this.headingLevel, "visual-level": "h3", margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: '0233f85fb7b39558f901ebbdd2beda46f9679e7c' }, hAsync("slot", { key: '57286a6f7d2527c6fa38fb8d5292b760d308ce44', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '70031569694cdefd28fb439fd790d067b56c3757', class: "description" }, hAsync("duet-paragraph", { key: '5859eb0737fad1711d6013ce1350cb45831c3660', theme: this.theme, margin: "none", color: postfixTheme(this.textColor, this.theme) }, hAsync("span", { key: 'dd12525a9e8f185d607933fe4d58dd6ff2a71651' }, hAsync("slot", { key: '0056201e47bede4761bea53b47fa621330d6fef7', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2299fa55f537af1056c84adccbe7b876d7252434', class: "action" }, hAsync("slot", { key: '3744426783f605338d6da2911e3d4bb83e899151', name: "action" }))))))));
|
|
21646
22038
|
}
|
|
21647
22039
|
get element() { return getElement(this); }
|
|
21648
22040
|
static get style() { return duetPromoCardCss; }
|
|
@@ -21849,17 +22241,17 @@ class DuetRadio {
|
|
|
21849
22241
|
* Always the last one in the class.
|
|
21850
22242
|
*/
|
|
21851
22243
|
render() {
|
|
21852
|
-
return (hAsync(Host, { key: '
|
|
22244
|
+
return (hAsync(Host, { key: '14b930b9947070108e2a4e3a9f1bcc22f06383c8', onClick: this.onClick, class: {
|
|
21853
22245
|
vertical: this.groupDirection === "vertical",
|
|
21854
22246
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
21855
22247
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
21856
22248
|
"duet-m-0": this.margin === "none",
|
|
21857
|
-
} }, hAsync("div", { key: '
|
|
22249
|
+
} }, hAsync("div", { key: 'e51255f8e4a3c72fd4082e255434783ce8163b97', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: 'a60e1e5175ba93732f3e95ecdefb9df7211d9d9d', name: "input" }), hAsync("label", { key: '37a000f2aced8a9aa8355f355d05ba2328e77cc7', inert: true, ref: element => (this.labelElement = element), class: {
|
|
21858
22250
|
"duet-label": true,
|
|
21859
22251
|
checked: this.checked,
|
|
21860
22252
|
focus: this.focus,
|
|
21861
22253
|
disabled: this.disabled || this.groupDisabled,
|
|
21862
|
-
} }, hAsync("div", { key: '
|
|
22254
|
+
} }, hAsync("div", { key: '58d87e1f398147f4a03b992cb9a208f2c104d217', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
21863
22255
|
}
|
|
21864
22256
|
get element() { return getElement(this); }
|
|
21865
22257
|
static get style() { return duetRadioCss; }
|
|
@@ -22054,7 +22446,7 @@ class DuetRadioGroup {
|
|
|
22054
22446
|
* Always the last one in the class.
|
|
22055
22447
|
*/
|
|
22056
22448
|
render() {
|
|
22057
|
-
return (hAsync(Host, { key: '
|
|
22449
|
+
return (hAsync(Host, { key: 'f15d2c9272252a6f0c9b3f49adf1e6c7fa608531', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: '84ae5b2b3bc30b7612b8acca406af2fb49be5b7c', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '5c23fba85c54397cf80a52af07fb82c183dd236e', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'e7469dd55b94bad35a5efc44b12f905396d70199', name: "tooltip", slot: "tooltip" }), hAsync("div", { key: '08a75f0ab6dbdd7db89ca850e92cac18123ca6d5', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '2b9cfb92c3098f91bd7464fd6f2cf383a986c5c0' })))));
|
|
22058
22450
|
}
|
|
22059
22451
|
get element() { return getElement(this); }
|
|
22060
22452
|
static get watchers() { return {
|
|
@@ -22242,13 +22634,13 @@ class DuetRangeSlider {
|
|
|
22242
22634
|
const rangeStyles = {
|
|
22243
22635
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
22244
22636
|
};
|
|
22245
|
-
return (hAsync(Host, { key: '
|
|
22637
|
+
return (hAsync(Host, { key: '4081e812cc9da18aa9183b15de5a3197d7542c27', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'c1943246db143f1991069550aae9fb29814f303f', class: {
|
|
22246
22638
|
"duet-range-container": true,
|
|
22247
22639
|
"duet-label-hidden": this.labelHidden,
|
|
22248
22640
|
"duet-theme-turva": this.theme === "turva",
|
|
22249
22641
|
"duet-ie": isInternetExplorer(),
|
|
22250
22642
|
"duet-range-disabled": this.disabled,
|
|
22251
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22643
|
+
} }, hAsync(DuetInternalLabel, { key: '9ad5374d0f942c064be6015a6797a8544c6dba96', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: '02b62d9bd8d03d9ee52d77ff6ed040f02c848fea', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: '420137f14758cefed168d359c3c70520cc4b3137', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
22252
22644
|
}
|
|
22253
22645
|
get element() { return getElement(this); }
|
|
22254
22646
|
static get style() { return duetRangeSliderCss; }
|
|
@@ -22477,10 +22869,10 @@ class DuetRangeStepper {
|
|
|
22477
22869
|
* Always the last one in the class.
|
|
22478
22870
|
*/
|
|
22479
22871
|
render() {
|
|
22480
|
-
return (hAsync("div", { key: '
|
|
22872
|
+
return (hAsync("div", { key: 'fdd61bd5ec23d7ed03aa172dc1f6d1255c7bae28', class: {
|
|
22481
22873
|
"duet-range-stepper": true,
|
|
22482
22874
|
"duet-theme-turva": this.theme === "turva",
|
|
22483
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
22875
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'fc99dd6ce60fc4217c08bb2e6caee86af03ce0ef', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '26a0071c03bbe09f805729d62eb29f5242e8e3e1', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: '92a518ce2e805c268afd621a058db60721f27c82', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
22484
22876
|
}
|
|
22485
22877
|
get element() { return getElement(this); }
|
|
22486
22878
|
static get watchers() { return {
|
|
@@ -22791,18 +23183,18 @@ class DuetScrollable {
|
|
|
22791
23183
|
* Always the last one in the class.
|
|
22792
23184
|
*/
|
|
22793
23185
|
render() {
|
|
22794
|
-
return (hAsync(Host, { key: '
|
|
23186
|
+
return (hAsync(Host, { key: '16f256474e4e15cf219acd7edf26401ca3a99ea6', class: {
|
|
22795
23187
|
"duet-theme-turva": this.theme === "turva",
|
|
22796
23188
|
"duet-theme-default": this.theme === "default",
|
|
22797
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
23189
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '7fa6f84d8f02d4e8b816eda4631bcad05167223f', class: {
|
|
22798
23190
|
collapse: true,
|
|
22799
23191
|
hide: !this.needsScrolling && !this.collapsed,
|
|
22800
|
-
} }, hAsync("duet-button", { key: '
|
|
23192
|
+
} }, hAsync("duet-button", { key: 'f8675f4274380f1a463ca4a868151eb76dc721b0', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'f259fcf694c93dc3759a4e1dcbf119e7db86e75b', name: "collapse-button-label" })))), hAsync("div", { key: '01b0c8a9e4ba8eda9bacbc00702eda03f01cf683', class: {
|
|
22801
23193
|
"duet-scrollable-items": true,
|
|
22802
23194
|
buttons: this.buttons,
|
|
22803
23195
|
center: this.center,
|
|
22804
23196
|
"duet-theme-turva": this.theme === "turva",
|
|
22805
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
23197
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'a6f3a782485f864dad9e40ddc032f982c6c7073b', class: {
|
|
22806
23198
|
"duet-scrollable-list": true,
|
|
22807
23199
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
22808
23200
|
[`gap-${this.gap}`]: true,
|
|
@@ -22810,7 +23202,7 @@ class DuetScrollable {
|
|
|
22810
23202
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
22811
23203
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
22812
23204
|
"duet-scrollable-stretch": this.stretch,
|
|
22813
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
23205
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'e17345b0845d35318c50ee82b7133b0f81bbac42' })), this.buttons && this.renderButton("right"))));
|
|
22814
23206
|
}
|
|
22815
23207
|
get element() { return getElement(this); }
|
|
22816
23208
|
static get watchers() { return {
|
|
@@ -22870,13 +23262,13 @@ class DuetSectionLayout {
|
|
|
22870
23262
|
* Always the last one in the class.
|
|
22871
23263
|
*/
|
|
22872
23264
|
render() {
|
|
22873
|
-
return (hAsync(Host, { key: '
|
|
23265
|
+
return (hAsync(Host, { key: '9e09c3c920b112b5c93c5ad6d7fa58c9c72d2bc5', class: {
|
|
22874
23266
|
"duet-middle": this.middle,
|
|
22875
23267
|
"duet-ie": isInternetExplorer(),
|
|
22876
|
-
} }, hAsync("div", { key: '
|
|
23268
|
+
} }, hAsync("div", { key: '1610e2a09eab2ce70922b6ad5c636acc12a8791a', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '8a76c865f526d670f1fb859adcdb84832479d9c6', class: {
|
|
22877
23269
|
"duet-layout": true,
|
|
22878
23270
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
22879
|
-
} }, hAsync("section", { key: '
|
|
23271
|
+
} }, hAsync("section", { key: '0f91daf6934b0c2d52ede50277a47885e80ede10', class: "duet-main" }, hAsync("slot", { key: '6998a473041513c5adbf796fe5c2ecaa3e436887' }))))));
|
|
22880
23272
|
}
|
|
22881
23273
|
get element() { return getElement(this); }
|
|
22882
23274
|
static get style() { return duetSectionLayoutCss; }
|
|
@@ -22894,7 +23286,7 @@ class DuetSectionLayout {
|
|
|
22894
23286
|
}; }
|
|
22895
23287
|
}
|
|
22896
23288
|
|
|
22897
|
-
const duetSelectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host(:not(.duet-m-0)){margin-bottom:12px !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;outline:none;border:0;opacity:0}.duet-select-wrapper select:hover+.duet-select{outline:2px solid;outline-color:rgb(
|
|
23289
|
+
const duetSelectCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host(.form-distribute:last-of-type:not(:last-child)){margin-right:16px !important}:host(:not(.duet-m-0)){margin-bottom:12px !important}@media (min-width: 36em){:host(.duet-expand){width:100% !important}}:host(.duet-select-variation-tiny),:host(.duet-select-variation-compact){position:relative;top:-2px;width:72px;margin:0;vertical-align:baseline}:host(.duet-select-variation-compact){width:auto}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-select-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-select-container{position:relative;width:100%}.duet-select-container.duet-select-variation-tiny{width:72px}.duet-select-wrapper{position:relative;width:100%;padding:15px 14px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-select-variation-tiny .duet-select-wrapper{width:81px;padding:0 !important}.duet-select-variation-compact .duet-select-wrapper{padding:0 !important;line-height:1}.duet-select-wrapper select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:200;width:100%;height:100%;padding:0;margin:0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;cursor:pointer;outline:none;border:0;opacity:0}.duet-select-wrapper select:hover:not(:focus)+.duet-select{outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-select-wrapper select:hover:not(:focus)+.duet-select,.duet-select-wrapper select:hover:not(:focus)+.duet-select.duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-select-wrapper select:hover:not(:focus)+.duet-select{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-select-wrapper select:focus+.duet-select{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select,.duet-select-wrapper select:focus+.duet-select.duet-theme-turva{outline-color:rgba(53, 79, 101, 0.8)}.duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(0, 119, 179)}.has-error .duet-select-wrapper select:focus+.duet-select{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-select-wrapper select[disabled]{cursor:default !important}.duet-select-wrapper select[disabled]+.duet-select{color:rgb(127, 150, 165) !important;cursor:not-allowed !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-select-wrapper span.duet-keep-container-height{opacity:0}.duet-select-variation-compact .duet-select-wrapper span.duet-keep-container-height{display:none}.duet-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:100;display:block;width:100%;min-width:8rem;padding:12px 14px !important;padding-right:48px !important;overflow:hidden;text-overflow:ellipsis;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);text-align:left;white-space:nowrap;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px}.has-error .duet-select{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-select svg{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-select-variation-tiny .duet-select,.duet-select-variation-compact .duet-select{width:72px;min-width:inherit;padding:0 !important;margin-bottom:-4px;overflow:visible;font-weight:600;text-align:center}.duet-select-variation-tiny .duet-select duet-icon,.duet-select-variation-compact .duet-select duet-icon{padding-left:10px}.duet-select-variation-compact .duet-select{position:relative;width:fit-content;padding:7px 16px !important;font-size:0.875rem;line-height:1.1;text-align:right;border-radius:8px}.duet-select-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-select-help span{display:block;margin-top:8px}.has-error .duet-select-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-theme-turva .duet-select-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-theme-turva .duet-select-wrapper select:focus+.duet-select .duet-select-icon{color:rgb(23, 42, 59)}.duet-theme-turva.has-error .duet-select .duet-select-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva .duet-select{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-select svg{color:rgb(23, 42, 59)}.duet-theme-turva .duet-select-help{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(120, 145, 164)}.duet-theme-turva.has-error .duet-select-help{color:rgb(214, 28, 82)}";
|
|
22898
23290
|
|
|
22899
23291
|
function isOptionGroup(item) {
|
|
22900
23292
|
return "options" in item;
|
|
@@ -23089,23 +23481,23 @@ class DuetSelect {
|
|
|
23089
23481
|
*/
|
|
23090
23482
|
render() {
|
|
23091
23483
|
const identifier = this.identifier || this.selectId;
|
|
23092
|
-
return (hAsync(Host, { key: '
|
|
23484
|
+
return (hAsync(Host, { key: '6937ee7615e75fb35ef3b6f1f43a4ac91fe13147', class: {
|
|
23093
23485
|
"duet-m-0": this.margin === "none",
|
|
23094
23486
|
"duet-expand": this.expand,
|
|
23095
23487
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23096
|
-
} }, hAsync("div", { key: '
|
|
23488
|
+
} }, hAsync("div", { key: 'df3ab43299a88a3560e41ac9efa1049f8cf472c6', class: {
|
|
23097
23489
|
"duet-select-container": true,
|
|
23098
23490
|
"duet-label-hidden": this.labelHidden,
|
|
23099
23491
|
"duet-theme-turva": this.theme === "turva",
|
|
23100
23492
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23101
23493
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
23102
23494
|
"has-error": !!this.error,
|
|
23103
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
23495
|
+
} }, hAsync(DuetInternalLabel, { key: 'eed7661618d92026e2080a232a08acfc6bbb9286', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '6c32da93490aa3bd28ed7c9dbc5c93f4ef7509b8', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'cbf1942699874feda3b94159477533fc722f9736', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'bf4bfd734e9a973d14d98c96985d46c7dd1c5ceb', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '251e263a892f221b586587aefbe55fe725ac2301', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'c55fc0f969e5fff221ff765b1a85aa81a6949ca8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("slot", { key: 'a2eec6e452861fcceff707f25d390a04db8a36c8' }), hAsync("select", { key: '3048fa80ccd46b95236fe4dfa2ce96571bcc3aed', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: 'cd9c69cc0437ec1201fee0a2ce5a401597e5fae9', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
23104
23496
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
23105
|
-
}))), hAsync("div", { key: '
|
|
23497
|
+
}))), hAsync("div", { key: 'af172a36f2e54f6ffe90e83d561258cc8aa91d6e', class: {
|
|
23106
23498
|
"duet-select": true,
|
|
23107
23499
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23108
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
23500
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: 'd8ff427b3fd8eb4d5605a7fc103f74757088364d', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '5a6494284c14a3b4d35df44cb3250a827f17532d', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: 'ac74f1f426f66a3908be1444c828a321e4e45db2', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: 'e947148f3aa7b0d0f2da4db20b59d3d9be2aac44', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: '39dc9f995207b67e9910b02768c532cdfbb05385', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '160c339a192e1941339eb15f1d127049b896bd9b', class: "duet-select-error" }, this.error)))));
|
|
23109
23501
|
}
|
|
23110
23502
|
get element() { return getElement(this); }
|
|
23111
23503
|
static get watchers() { return {
|
|
@@ -23185,9 +23577,9 @@ class DuetShapedImage {
|
|
|
23185
23577
|
const style = {
|
|
23186
23578
|
"--rotation": `${this.rotation}deg`,
|
|
23187
23579
|
};
|
|
23188
|
-
return (hAsync(Host, { key: '
|
|
23580
|
+
return (hAsync(Host, { key: 'a3b54614560cad8b7ebfab7fcdcd281d5cf2698d', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '70fabf21da7e7198739b45dece77a4c45ee9b297', class: {
|
|
23189
23581
|
"shaped-image": true,
|
|
23190
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
23582
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '01d1367bf5fa537aa2c6bd76499f304338cae661', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'd57e561e61e250d305d8c7ab3b4cf2bb973dafc8', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
23191
23583
|
}
|
|
23192
23584
|
static get style() { return duetShapedImageCss; }
|
|
23193
23585
|
static get cmpMeta() { return {
|
|
@@ -23257,12 +23649,12 @@ class DuetShareChart {
|
|
|
23257
23649
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
23258
23650
|
}
|
|
23259
23651
|
render() {
|
|
23260
|
-
return (hAsync(Host, { key: '
|
|
23652
|
+
return (hAsync(Host, { key: '41d1aab509a8e28586ffb62a223378a3c2d97552' }, hAsync("div", { key: '22552a2eae668cc0a293e61b46a10655188e2ef8', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
|
|
23261
23653
|
.filter(i => !!i.value)
|
|
23262
23654
|
.map(item => (hAsync("span", { class: "duet-share-chart-share", style: {
|
|
23263
23655
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
23264
23656
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
23265
|
-
} })))), hAsync("ul", { key: '
|
|
23657
|
+
} })))), hAsync("ul", { key: '72a0977595b3a0145eea22372114b18be3a24a0c', class: "duet-share-chart-item-list" }, this.items.map(item => (hAsync("li", { class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("span", { class: "duet-share-chart-item-color", style: { background: getColorByName(item.color, this.theme) } }), hAsync("span", { class: "duet-share-chart-item-text" }, item.text, ":"), hAsync("span", { class: "duet-share-chart-item-value" }, "\u00A0", formatNumber(item.value), "\u00A0", this.unit), this.unit !== "%" && (hAsync("duet-visually-hidden", null, `${formatNumber((item.value / this.itemsTotalValue) * 100, 0)} %`)))))), hAsync("slot", { key: '36c475fc18913c91bb22e3eda0aa5f0c76b02cde' })));
|
|
23266
23658
|
}
|
|
23267
23659
|
get element() { return getElement(this); }
|
|
23268
23660
|
static get style() { return duetShareChartCss; }
|
|
@@ -23289,7 +23681,7 @@ class DuetShareChartItem {
|
|
|
23289
23681
|
this.value = 0;
|
|
23290
23682
|
}
|
|
23291
23683
|
render() {
|
|
23292
|
-
return (hAsync(Host, { key: '
|
|
23684
|
+
return (hAsync(Host, { key: 'cfc906f48f161844e43f30fa14e0ff41939f38c6' }, hAsync("div", { key: '526a5bf599b352d289abf6057991d0407e7a7ff6', hidden: true }, hAsync("slot", { key: '8c8b501ea1fc3e556214a8b43afca95d24aae001' }))));
|
|
23293
23685
|
}
|
|
23294
23686
|
get element() { return getElement(this); }
|
|
23295
23687
|
static get cmpMeta() { return {
|
|
@@ -23439,12 +23831,12 @@ class DuetShowMore {
|
|
|
23439
23831
|
* Always the last one of the class.
|
|
23440
23832
|
*/
|
|
23441
23833
|
render() {
|
|
23442
|
-
return (hAsync(Host, { key: '
|
|
23834
|
+
return (hAsync(Host, { key: '514e5c439744a2960e711811f696d2ee9e49dba3' }, hAsync("div", { key: '40788025130f4b8570cbacfa6371b11ea4bbdb42', class: {
|
|
23443
23835
|
"duet-show-more": true,
|
|
23444
23836
|
"duet-theme-turva": this.theme === "turva",
|
|
23445
23837
|
"duet-m-0": this.margin === "none",
|
|
23446
23838
|
open: this.open,
|
|
23447
|
-
} }, hAsync("div", { key: '
|
|
23839
|
+
} }, hAsync("div", { key: '42f30cd3ffc5c33651d4d0c7e36c913eab6d8147', ref: ref => (this.contentElement = ref), class: { content: true, "duet-theme-turva": this.theme === "turva" }, id: this.contentId, tabindex: this.open ? "-1" : "" }, hAsync("div", { key: 'a319d301f1ed7130671aa529592270c4b708b7f9', class: { "slotted-content": true } }, hAsync("slot", { key: '81b3e98809cee2a52c358af50383272ddebd8ee6' }))), hAsync("duet-button", { key: '9789882dceda992bd6107cc84fa92ca4289f3679', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.isSafariBrowser ? this.open : null, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: '9d664617e12985187968c239189df78e3ce87a40' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
23448
23840
|
}
|
|
23449
23841
|
get element() { return getElement(this); }
|
|
23450
23842
|
static get style() { return duetShowMoreCss; }
|
|
@@ -23965,17 +24357,17 @@ class DuetSlideout {
|
|
|
23965
24357
|
};
|
|
23966
24358
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
23967
24359
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
23968
|
-
return (hAsync(Host, { key: '
|
|
24360
|
+
return (hAsync(Host, { key: '15926d51d888fbafb80d0c06a903dd7dda144588' }, hAsync("div", { key: '137390c821f9878bde46d7c2ac728649efebd957', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'ecd721dba56b60c66d6f275c727c955d62cd1e3d', visible: this.open, zIndex: "600" }), hAsync("div", { key: 'b7a642e04eed19e4fd7e36b1835d6e4c74aec27c', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
23969
24361
|
dialog: true,
|
|
23970
24362
|
hidden: !this.open,
|
|
23971
24363
|
modal: this.modal,
|
|
23972
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
24364
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b77f1894f5398ba5a2cb46f0e03bf61b62316375', moveFocusTo: this.closeButton }), hAsync("div", { key: '1ed24174eedb22702423e2360902d86bb5d88130', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'a5c52f4c5699fdf82e6032db15a59952c699da21', class: "top" }, hAsync("button", { key: 'c12113cdf3c775016253f6372e5acad37e06b552', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
23973
24365
|
"slideout-close": true,
|
|
23974
24366
|
active: this.open,
|
|
23975
24367
|
"duet-theme-turva": this.theme === "turva",
|
|
23976
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
24368
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'e19e950ae4db64d0dd6a1f5423849e4825da08f9', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '87c7d146ca56c79f17bfae9d658bf6b161724b6e', class: "sticky-header" }, hAsync("slot", { key: 'cfe4f5cba7c3fc4e69b9d0934be5cc9062f15669', name: "sticky-header" }))), hAsync("div", { key: 'decd4a9a7d6ebd9468f1c6b3572985120e83fabd', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
23977
24369
|
items: true,
|
|
23978
|
-
} }, hAsync("slot", { key: '
|
|
24370
|
+
} }, hAsync("slot", { key: '895e292fa85f1ec87523600aba207a414997c32f' })), hAsync(FocusGuard, { key: 'ead70e05106da19d4ca705b9716b1f9257563373', moveFocusTo: this.closeButton })))));
|
|
23979
24371
|
}
|
|
23980
24372
|
get element() { return getElement(this); }
|
|
23981
24373
|
static get watchers() { return {
|
|
@@ -24045,7 +24437,7 @@ class DuetSlideoutLang {
|
|
|
24045
24437
|
*/
|
|
24046
24438
|
render() {
|
|
24047
24439
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
24048
|
-
return (hAsync(Host, { key: '
|
|
24440
|
+
return (hAsync(Host, { key: '6236540dfcccb46cc3a8c843bb55a41f53778097' }, hAsync("div", { key: 'a3599eb69fdf0503f8171faca040233b9bdfed06', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '414eb1bcd9833eb5c86f133a3f0755a33549f1d5', name: "navigation-language", margin: "none", color: "secondary", size: "small" }), hAsync("slot", { key: 'b747ac7d3d69368b38dbc39d794ee4aea592d3d6' }))));
|
|
24049
24441
|
}
|
|
24050
24442
|
get element() { return getElement(this); }
|
|
24051
24443
|
static get style() { return duetSlideoutLangCss; }
|
|
@@ -24135,12 +24527,12 @@ class DuetSlideoutLink {
|
|
|
24135
24527
|
* Always the last one in the class.
|
|
24136
24528
|
*/
|
|
24137
24529
|
render() {
|
|
24138
|
-
return (hAsync(Host, { key: '
|
|
24530
|
+
return (hAsync(Host, { key: '11544751fda9c0d6dd5f84af34e2f87b732d42a4' }, hAsync("a", { key: '0a773bdb78c74a758242bd8bdfeaf3b4b9aa5b60', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
24139
24531
|
"duet-slideout-link": true,
|
|
24140
24532
|
"duet-theme-turva": this.theme === "turva",
|
|
24141
24533
|
active: this.active,
|
|
24142
24534
|
[this.size]: true,
|
|
24143
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
24535
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '1861478a046aef9645f066fb23d1f4c912f1ef0c', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "small", margin: "none" })), hAsync("div", { key: '1dd2d3ef5f287cd454ddf9b6612e97d473b82ba9', class: "label" }, hAsync("span", { key: '5a90dffe20806ee7b52e790f7dced30ebfb904e5' }, hAsync("span", { key: '8ba44b556e13a4aa99d59650cfdd0e896c826111', class: "label-container" }, hAsync("span", { key: '768831387964eaead94ddca5d1f1782bfb12223b', class: "label-content" }, hAsync("slot", { key: 'd202274b8de9e89862986f27d070010b161a1efa' })), this.external && (hAsync("duet-icon", { key: '6dfa5809ad21343f1b8a705406b6a436ddc0e93f', class: "external-icon", theme: this.theme, name: newWindowIcon.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '8222d3a0078e850548ee64ead0b4d0030e37aa3f', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'f0dd79d575afa645415a239c2a1d545d079edc84', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
24144
24536
|
}
|
|
24145
24537
|
get element() { return getElement(this); }
|
|
24146
24538
|
static get style() { return duetSlideoutLinkCss; }
|
|
@@ -24317,25 +24709,25 @@ class DuetSlideoutPanel {
|
|
|
24317
24709
|
};
|
|
24318
24710
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
24319
24711
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
24320
|
-
return (hAsync(Host, { key: '
|
|
24712
|
+
return (hAsync(Host, { key: 'b7ca9da2d68d44f8c144355d8b42e9b822129768' }, hAsync("div", { key: '1cd22b150660a032f6307460a5394f9bdd2f8356', class: {
|
|
24321
24713
|
"duet-slideout-panel": true,
|
|
24322
24714
|
"duet-theme-turva": this.theme === "turva",
|
|
24323
24715
|
active: this.open,
|
|
24324
|
-
} }, this.badge && hAsync("duet-indicator", { key: '
|
|
24716
|
+
} }, this.badge && hAsync("duet-indicator", { key: '6343757ff3eee8a8c6965b4709958f65b784876c', variation: "change" }), hAsync("button", { key: '9c9deae0fcf64337dcf2a5ffc10b90cd1805f726', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
24325
24717
|
link: true,
|
|
24326
24718
|
active: this.active,
|
|
24327
24719
|
"duet-theme-turva": this.theme === "turva",
|
|
24328
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
24720
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'e713cc239aaee89e8e57d2d0fbd5f5c03f75a932', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '647a923e7b9a57135779172c56a9ce3f4784eca5', name: this.icon, size: "small", margin: "none", color: "secondary" }))), hAsync("span", { key: '0efd846db68b6ddec41deb3b98e95b578f600c9b', class: "label" }, hAsync("span", { key: '35be3389257b208d50bfc51d9aed16149d01a927', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'cc261654761ea7dce912746e520042d05c534fc8', name: "label" })), hAsync("duet-icon", { key: '634184d119a894c2eda07e6c474d058e125f6257', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'adc63cfa083c247dfb0053c0628a34036bb1c6cc', ref: element => (this.dialog = element), class: {
|
|
24329
24721
|
dialog: true,
|
|
24330
24722
|
hidden: !this.open,
|
|
24331
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
24723
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'c2f8a9ba339619c3c0f17e925e43ac421da03fde', moveFocusTo: this.closeButton }), hAsync("div", { key: 'ea23a8d999173132d21ef23e83835c89b892ec9e', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '883f2a295c1e8450973a2c69f533fba8352c6b5b', class: "top" }, hAsync("button", { key: '5d51c88ad14f8e0cd711e653378ac9901ad9334b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
24332
24724
|
back: true,
|
|
24333
24725
|
"duet-theme-turva": this.theme === "turva",
|
|
24334
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
24726
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'da662ca8ebf14ed3a2d4157ff900884a111fa52a', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'd3faed89bc59ca1c0ba2623e7a8e162bdaa4e326' }, this.label.innerHTML), hAsync("button", { key: 'b90b5a03a91f92b65f1b06f9fea40fcbfff799b5', class: { close: true, "duet-theme-turva": this.theme === "turva" }, type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'fe6676540e447c796bb2b38cc704a5a753a48e0b', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '8b1965807e40adc74947c170d8ad50172829f4da', class: "sticky-header" }, hAsync("slot", { key: 'a51428e89962c2e10cf96ab92f462df6c20b05f2', name: "sticky-header" }))), hAsync("div", { key: '4e4f74bac3d36949a9fd193ee9989c2ba757468b', tabindex: "-1", role: "menu",
|
|
24335
24727
|
//TODO: slideout menu fades out, needs to be instant
|
|
24336
24728
|
id: "menu", "aria-labelledby": "button", class: {
|
|
24337
24729
|
items: true,
|
|
24338
|
-
} }, hAsync("slot", { key: '
|
|
24730
|
+
} }, hAsync("slot", { key: 'dab429efe653f73142b8cd615311c5a8953c6343' })), hAsync(FocusGuard, { key: '70c7027c0f655e46753addde7928facb096b0481', moveFocusTo: this.closeButton })))));
|
|
24339
24731
|
}
|
|
24340
24732
|
get element() { return getElement(this); }
|
|
24341
24733
|
static get watchers() { return {
|
|
@@ -24416,18 +24808,18 @@ class DuetSlideoutPanelDropdown {
|
|
|
24416
24808
|
* Always the last one in the class.
|
|
24417
24809
|
*/
|
|
24418
24810
|
render() {
|
|
24419
|
-
return (hAsync(Host, { key: '
|
|
24811
|
+
return (hAsync(Host, { key: 'bc86e96a57db15bb14d665edb554ef6372633c1e' }, hAsync("div", { key: '210b0bc2779a333ea5da5d9aa80f52ff94e31bab', class: {
|
|
24420
24812
|
"duet-slideout-panel-dropdown": true,
|
|
24421
24813
|
"duet-theme-turva": this.theme === "turva",
|
|
24422
24814
|
active: this.open,
|
|
24423
|
-
} }, hAsync("button", { key: '
|
|
24815
|
+
} }, hAsync("button", { key: 'ec70dde7f96e71aebf294a8effe5c86887e6579a', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
24424
24816
|
active: this.active,
|
|
24425
24817
|
"duet-theme-turva": this.theme === "turva",
|
|
24426
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
24818
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'c2e90527626b6f3206a3e4d1cfeefad2f51aaea8', name: this.icon, size: "small", margin: "none", color: "secondary" }), hAsync("span", { key: 'd746147d5a9a5740daa2c4418394e5dca3d28f00', class: "label" }, hAsync("slot", { key: 'b28cd31ec212453b5548759a5b882c64b9b04b9d', name: "label" }), hAsync("duet-icon", { key: 'f53de55018fb41696fd32f55b6a365bcb8c4fae9', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '5fe02a87f042543eeb9c978ca3aedb2e973547f8', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
24427
24819
|
items: true,
|
|
24428
24820
|
hidden: !this.open,
|
|
24429
24821
|
"duet-theme-turva": this.theme === "turva",
|
|
24430
|
-
} }, hAsync("slot", { key: '
|
|
24822
|
+
} }, hAsync("slot", { key: '277a15c1a43715a4562f4e99e644972ade293982' })))));
|
|
24431
24823
|
}
|
|
24432
24824
|
get element() { return getElement(this); }
|
|
24433
24825
|
static get style() { return duetSlideoutPanelDropdownCss; }
|
|
@@ -24471,7 +24863,7 @@ class DuetSpacer {
|
|
|
24471
24863
|
* Always the last one in the class.
|
|
24472
24864
|
*/
|
|
24473
24865
|
render() {
|
|
24474
|
-
return (hAsync(Host, { key: '
|
|
24866
|
+
return (hAsync(Host, { key: 'c528bde6cb4834c7b89630a87a1d9add5438473b', class: {
|
|
24475
24867
|
"duet-spacer": true,
|
|
24476
24868
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
24477
24869
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -24526,7 +24918,7 @@ class DuetSpinner {
|
|
|
24526
24918
|
*/
|
|
24527
24919
|
render() {
|
|
24528
24920
|
const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
|
|
24529
|
-
return (hAsync(Host, { key: '
|
|
24921
|
+
return (hAsync(Host, { key: 'ec9e97fce056ea29ab963b3dc0acbf65ef74858b' }, hAsync("div", { key: 'bb244cf728a5ea38b7f65d486e141d314d4b79f5', class: {
|
|
24530
24922
|
"duet-spinner": true,
|
|
24531
24923
|
[this.size]: true,
|
|
24532
24924
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -24632,10 +25024,10 @@ class DuetStatusIcon {
|
|
|
24632
25024
|
}
|
|
24633
25025
|
}
|
|
24634
25026
|
render() {
|
|
24635
|
-
return (hAsync(Host, { key: '
|
|
25027
|
+
return (hAsync(Host, { key: 'f2af4364319cd502dff5e2f28bc872efc3baa29c', class: {
|
|
24636
25028
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
24637
25029
|
"duet-strong-bg": this.strong,
|
|
24638
|
-
} }, hAsync("duet-icon", { key: '
|
|
25030
|
+
} }, hAsync("duet-icon", { key: 'eb4692810e48c350dbd8fc15e0de0825f5f9a700', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
24639
25031
|
}
|
|
24640
25032
|
static get cmpMeta() { return {
|
|
24641
25033
|
"$flags$": 265,
|
|
@@ -24756,13 +25148,13 @@ class DuetStep {
|
|
|
24756
25148
|
* Always the last one in the class.
|
|
24757
25149
|
*/
|
|
24758
25150
|
render() {
|
|
24759
|
-
return (hAsync("div", { key: '
|
|
25151
|
+
return (hAsync("div", { key: '402b9ef15bf57d82500a6023c38c8b66a110cbb3', class: {
|
|
24760
25152
|
"duet-step": true,
|
|
24761
25153
|
[`is-${this.state}`]: true,
|
|
24762
25154
|
"rounded-top": this.roundedTop,
|
|
24763
25155
|
"rounded-bottom": this.roundedBottom,
|
|
24764
25156
|
"duet-theme-turva": this.theme === "turva",
|
|
24765
|
-
} }, hAsync("div", { key: '
|
|
25157
|
+
} }, hAsync("div", { key: '5a662389bfc0190eee39c36e887c87b6a6e1c9a7', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: 'ee1ed37d30f81e67d0225f48b05bc943260b7fc6', "aria-hidden": "true" }, hAsync("div", { key: 'fd82b877aeec047f0252cd67ac75a645ce25ae87', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '2cd749ec01d7ff96e3f8314ea5a8302c5308786b', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: '9753159df4b338e209f10696a3a3d35511182dc0', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: '4f3478927a7fc558bab501572005326a74557f42' }, hAsync("duet-heading", { key: '0e19fa8804cb73f223d5aa2c8b0418ce3f1ff43a', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: '250acd88c2ac6875d48595725534ef3d67fd3e65', direction: "horizontal", size: "large" }), hAsync("div", { key: '00459e0dda57b0b45765c55536a12387c1b6dd05', class: "duet-step-heading-slot" }, hAsync("slot", { key: '4ce1521d0945fe88517baeff6cad9eeebb8b84ec', name: "heading-content" }))), hAsync("div", { key: 'bb20b48bd02201119e0e19e7601c3e6548268fe7', class: "duet-step-content-wrapper" }, hAsync("div", { key: '010c7d8b6c1bd587e6eb010ab392419a44ff2bea', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: '7cc7227663f61830eee19abcce032944845f3543' })))));
|
|
24766
25158
|
}
|
|
24767
25159
|
get element() { return getElement(this); }
|
|
24768
25160
|
static get style() { return duetStepCss; }
|
|
@@ -24909,7 +25301,7 @@ class DuetStepper {
|
|
|
24909
25301
|
* Always the last one in the class.
|
|
24910
25302
|
*/
|
|
24911
25303
|
render() {
|
|
24912
|
-
return (hAsync(Host, { key: '
|
|
25304
|
+
return (hAsync(Host, { key: 'ef1f504037c4920540f46a3f9982168761e2a466', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '9278a6186eec68f71f7b7c9273fa030516a819e4', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '47c61ae2f74abc8863c8494c4c751d8adecb325e', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'abb85008b953631b77cbb55903dc0b428b922c2c' }))));
|
|
24913
25305
|
}
|
|
24914
25306
|
get element() { return getElement(this); }
|
|
24915
25307
|
static get watchers() { return {
|
|
@@ -25063,19 +25455,19 @@ class DuetSubmenuBar {
|
|
|
25063
25455
|
* Always the last one in the class.
|
|
25064
25456
|
*/
|
|
25065
25457
|
render() {
|
|
25066
|
-
return (hAsync(Host, { key: '
|
|
25458
|
+
return (hAsync(Host, { key: 'f7a1424b603111719ad2b1c8a4bdcc2411b3a081' }, hAsync("nav", { key: 'cc3405015c8f8db4a147ce964e700bc6cd7fc5ad', class: {
|
|
25067
25459
|
"duet-submenu-bar": true,
|
|
25068
25460
|
"duet-theme-turva": this.theme === "turva",
|
|
25069
25461
|
hidden: this.hidden,
|
|
25070
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
25462
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: 'f7418635c9233de3149eb7187c5c28581ffc0ddb', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
25071
25463
|
active: this.open,
|
|
25072
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
25464
|
+
}, onClick: this.onClick }, hAsync("span", { key: '11d96b23752b2bfb2f66b4571bb1bd786a63fd04', class: "label" }, hAsync("slot", { key: 'd4fded0c5ec69fc717560d4c26fd8dd52797c3c3', name: "label" }), hAsync("duet-icon", { key: '1bb8ebe20730cde32574b267fa04b2c2d17a5ff7', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '633cdee4191cf6c0fe11cdb2f93ca8c1ca59f8da', class: {
|
|
25073
25465
|
"menu-container": true,
|
|
25074
25466
|
hidden: !this.open,
|
|
25075
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
25467
|
+
}, role: "presentation" }, hAsync("div", { key: '861548f8913d74bc3f24b2410a72ad15dbd7f587', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
25076
25468
|
items: true,
|
|
25077
25469
|
hidden: !this.open,
|
|
25078
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
25470
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '710a4f3c358154beec6b8147be4af31e0a4aba63', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '741903389bbbbfba594fd771d9717cf5cf078f6b' }), hAsync("div", { key: 'bab1f798a808dbd4912e74be3319000a8a7409e4', class: "list-padding" }))), hAsync("duet-overlay", { key: '5e36e837ff3020fb08c9df56004e3816065b31ee', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
25079
25471
|
}
|
|
25080
25472
|
get element() { return getElement(this); }
|
|
25081
25473
|
static get watchers() { return {
|
|
@@ -25207,18 +25599,18 @@ class DuetSubmenuBarDropdown {
|
|
|
25207
25599
|
* Always the last one in the class.
|
|
25208
25600
|
*/
|
|
25209
25601
|
render() {
|
|
25210
|
-
return (hAsync(Host, { key: '
|
|
25602
|
+
return (hAsync(Host, { key: '1f7a8c55ce1e51e82a3689480c19cc1251290d98', role: "listitem" }, hAsync("div", { key: '7abfa84100114bdcb753454bd89351dbcdc88213', class: {
|
|
25211
25603
|
"duet-submenu-bar-dropdown": true,
|
|
25212
25604
|
"duet-theme-turva": this.theme === "turva",
|
|
25213
25605
|
open: this.open,
|
|
25214
25606
|
active: this.active,
|
|
25215
|
-
} }, hAsync("button", { key: '
|
|
25607
|
+
} }, hAsync("button", { key: '8d3069e56fb9e3f17bb4d2171c6bf51939636160', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
25216
25608
|
open: this.open,
|
|
25217
25609
|
active: this.active,
|
|
25218
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
25610
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '23659097e23b1b8b6cc66c130efc4cef0fdab84e', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '73b4d7cb0dd0ab9126819bfb6efbe4c40dccedca', class: "label" }, hAsync("span", { key: '87d378945d46f26dce82b517fb42f396e7df5851', class: "label-text" }, hAsync("slot", { key: 'f439f973c8ce98419368730c77bc3bda1a2472cc', name: "label" })), hAsync("duet-icon", { key: '2dda29cbf50739e0866d548c7a9278d67411f412', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '2a9790a190e4138942625f10f82a6b94326a2ebd', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
25219
25611
|
items: true,
|
|
25220
25612
|
hidden: !this.open,
|
|
25221
|
-
} }, hAsync("slot", { key: '
|
|
25613
|
+
} }, hAsync("slot", { key: 'ad75bd23dd9f44bff12f360a43871991bf3ce653' })))));
|
|
25222
25614
|
}
|
|
25223
25615
|
get element() { return getElement(this); }
|
|
25224
25616
|
static get style() { return duetSubmenuBarDropdownCss; }
|
|
@@ -25287,12 +25679,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
25287
25679
|
* Always the last one in the class.
|
|
25288
25680
|
*/
|
|
25289
25681
|
render() {
|
|
25290
|
-
return (hAsync(Host, { key: '
|
|
25682
|
+
return (hAsync(Host, { key: 'cf39c11edeabc413beb507824669b8643dc9483d' }, hAsync("a", { key: '291903d9b4ed68200261fd220c91810743b7216b', class: {
|
|
25291
25683
|
"duet-submenu-bar-dropdown-link": true,
|
|
25292
25684
|
"duet-theme-turva": this.theme === "turva",
|
|
25293
25685
|
highlight: this.highlight,
|
|
25294
25686
|
active: this.active,
|
|
25295
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
25687
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '1692f9ab28f6ff8f511c16b70114b8f3c09601df', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'e18089da6ed52e191fee80b2019ebda73a9e9afd', class: "label-container" }, hAsync("span", { key: 'c2cf40700298a1cca291de75837dc160bf717660', class: "label" }, hAsync("slot", { key: 'f3759d26e0aa969a2307c588b5bd45ac719a5acd' })), this.caret && hAsync("duet-icon", { key: '5db240602e615080a1f7c39c78bbfe5825aad01b', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '9ba464ebfea65521317485870f9f9423d3e5ca02', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
25296
25688
|
}
|
|
25297
25689
|
get element() { return getElement(this); }
|
|
25298
25690
|
static get style() { return duetSubmenuBarDropdownLinkCss; }
|
|
@@ -25388,7 +25780,7 @@ class DuetSubmenuBarItem {
|
|
|
25388
25780
|
render() {
|
|
25389
25781
|
const TagName = this.url ? "a" : "button";
|
|
25390
25782
|
const role = this.url ? "link" : "button";
|
|
25391
|
-
return (hAsync(Host, { key: '
|
|
25783
|
+
return (hAsync(Host, { key: '735cb5e8a3625bfe6e53685487cbdcad30174387', role: "listitem" }, hAsync(TagName, { key: 'a1adc91fe24f839dc5b7d07a10c33ba4d68a7cbb', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '5a06f21d4ca339c5869d764fff0857cfbbe34145', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '65c8858c5b3842e6d2a4cb5ce4760d7ace3b9b52', class: "label" }, hAsync("span", { key: 'ffec01ed19cbd0dc1d819901d5988a819120a444', class: "label-text" }, hAsync("slot", { key: 'f7380688b2e9d1eb11de668f77a7b7a77e46d124' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '5117739fbacf4bb87663bb107342da775b492d21', class: {
|
|
25392
25784
|
"trailing-icon": !!this.trailingIcon,
|
|
25393
25785
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
25394
25786
|
"external-icon": !!this.external,
|
|
@@ -25460,7 +25852,7 @@ class DuetSubmenuBarLink {
|
|
|
25460
25852
|
* Always the last one in the class.
|
|
25461
25853
|
*/
|
|
25462
25854
|
render() {
|
|
25463
|
-
return (hAsync(Host, { key: '
|
|
25855
|
+
return (hAsync(Host, { key: 'aa10443ecaf64baafaf3256739019432edfdfce3', role: "listitem" }, hAsync("a", { key: 'fe2b14d1ae499d49f717085e29ff27af3ea7009b', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '44cf3738a413e100b1dc5bd2a3722081b6e9baed', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '23ccdc13d96b626e45b78e5122bbb54840bb2281', class: "label" }, hAsync("slot", { key: '4b0bf13253c816e7774765b1223592583f4509b0' })))));
|
|
25464
25856
|
}
|
|
25465
25857
|
get element() { return getElement(this); }
|
|
25466
25858
|
static get style() { return duetSubmenuBarLinkCss; }
|
|
@@ -25586,7 +25978,7 @@ class DuetTab {
|
|
|
25586
25978
|
* Always the last one in the class.
|
|
25587
25979
|
*/
|
|
25588
25980
|
render() {
|
|
25589
|
-
return (hAsync("div", { key: '
|
|
25981
|
+
return (hAsync("div", { key: '6c6bd7f4b90785a517f5ffaa206a1cf5bb8be020', ref: element => {
|
|
25590
25982
|
if (!this.contentId) {
|
|
25591
25983
|
this.tabpanelElement = element;
|
|
25592
25984
|
}
|
|
@@ -25595,7 +25987,7 @@ class DuetTab {
|
|
|
25595
25987
|
"duet-tab": true,
|
|
25596
25988
|
selected: this.selected,
|
|
25597
25989
|
"has-content-id": !!this.contentId,
|
|
25598
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
25990
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: 'c68e037d36ea1953da46c6c914c77e38b1f2151b' })));
|
|
25599
25991
|
}
|
|
25600
25992
|
get element() { return getElement(this); }
|
|
25601
25993
|
static get watchers() { return {
|
|
@@ -25906,13 +26298,13 @@ class DuetTabGroup {
|
|
|
25906
26298
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
25907
26299
|
"duet-theme-turva": this.theme === "turva",
|
|
25908
26300
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label), element.indicator && (hAsync("duet-indicator", { variation: element.indicator, "accessible-label": element.indicatorAccessibleLabel })))));
|
|
25909
|
-
return (hAsync("div", { key: '
|
|
26301
|
+
return (hAsync("div", { key: '1a61e0491f88c0a88cde77ebbdfd0030b574b537', class: {
|
|
25910
26302
|
"duet-tab-group": true,
|
|
25911
26303
|
"duet-theme-turva": this.theme === "turva",
|
|
25912
26304
|
[variationClass]: true,
|
|
25913
26305
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
25914
26306
|
"duet-tab-group-scrolls": true,
|
|
25915
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
26307
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '23a7b5dbb12fb5386fabcde92a0806d1f037ae2f', role: "tablist", class: {
|
|
25916
26308
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
25917
26309
|
"duet-tab-group-tabs": true,
|
|
25918
26310
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -25923,11 +26315,11 @@ class DuetTabGroup {
|
|
|
25923
26315
|
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
25924
26316
|
"duet-tab-group-scrollable-wrapper": true,
|
|
25925
26317
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
25926
|
-
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '
|
|
26318
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '9727ecb4d515a36fec55607fe35eef78b07b3877', class: {
|
|
25927
26319
|
"duet-tab-group-content": true,
|
|
25928
26320
|
"duet-m-0": this.margin === "none",
|
|
25929
26321
|
"checked-group-content": this.variation === "checked",
|
|
25930
|
-
} }, hAsync("slot", { key: '
|
|
26322
|
+
} }, hAsync("slot", { key: 'd5634f255c0d4ae18026e471a64a77d6dbe78854' }))));
|
|
25931
26323
|
}
|
|
25932
26324
|
get element() { return getElement(this); }
|
|
25933
26325
|
static get style() { return duetTabGroupCss; }
|
|
@@ -26577,7 +26969,7 @@ class DuetTable {
|
|
|
26577
26969
|
}
|
|
26578
26970
|
}
|
|
26579
26971
|
render() {
|
|
26580
|
-
return (hAsync(Host, { key: '
|
|
26972
|
+
return (hAsync(Host, { key: 'a1dd7fa3685f9dba8b9e5dca8a0fd24c14431658', class: {
|
|
26581
26973
|
[`duet-table-${this.variation}`]: true,
|
|
26582
26974
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
26583
26975
|
// sticky only valid when in regular table layout
|
|
@@ -26586,7 +26978,7 @@ class DuetTable {
|
|
|
26586
26978
|
"duet-m-0": this.margin === "none",
|
|
26587
26979
|
"duet-theme-turva": this.theme === "turva",
|
|
26588
26980
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
26589
|
-
} }, hAsync("slot", { key: '
|
|
26981
|
+
} }, hAsync("slot", { key: '3f4f49a2dc93f99278caa0089c0305a7049817e6' })));
|
|
26590
26982
|
}
|
|
26591
26983
|
get element() { return getElement(this); }
|
|
26592
26984
|
static get watchers() { return {
|
|
@@ -26612,7 +27004,7 @@ class DuetTable {
|
|
|
26612
27004
|
}; }
|
|
26613
27005
|
}
|
|
26614
27006
|
|
|
26615
|
-
const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px
|
|
27007
|
+
const duetTextareaCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}[alignment=form-distribute]>:host:last-of-type:not(:last-child){margin-right:16px !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px}.duet-textarea:focus{outline:2px solid;outline-offset:0;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline:2px solid;outline-offset:0;outline-color:rgba(53, 79, 101, 0.8)}.has-error .duet-textarea{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important}.duet-textarea[rows]{min-height:auto}.duet-textarea::placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-textarea:focus::placeholder{color:rgb(181, 198, 208)}.duet-textarea[disabled]{color:rgb(127, 150, 165) !important;cursor:not-allowed !important;outline:none !important;background:rgb(245, 248, 250) !important;border-color:rgb(181, 198, 208) !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-textarea[disabled]::placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-textarea:hover:not(:disabled):not(:focus){outline:2px solid;outline-color:rgb(127, 150, 165) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:hover:not(:disabled):not(:focus),.duet-textarea:hover:not(:disabled):not(:focus).duet-theme-turva{outline-color:rgb(120, 145, 164) !important}.has-error .duet-textarea:hover:not(:disabled):not(:focus){outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important}.duet-textarea:focus{outline:2px solid;outline-color:rgb(0, 119, 179) !important;outline-offset:-1px}.duet-theme-turva .duet-textarea:focus,.duet-textarea:focus.duet-theme-turva{outline-color:rgb(23, 42, 59) !important}.has-error .duet-textarea:focus{outline-offset:-1px;background-color:rgb(255, 240, 243) !important;border-color:rgb(214, 28, 82) !important;outline-width:2px;outline-color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255) !important}.duet-textarea:not(:focus):not(:hover):invalid{outline:none}.duet-textarea-help{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-label-hidden .duet-internal-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;border:0;clip:rect(0 0 0 0)}.duet-character-count{display:block;margin:8px 0 0 auto}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 42, 59);border-color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea::placeholder{color:rgb(120, 145, 164)}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 42, 59)}.duet-theme-turva .duet-textarea:focus::placeholder{color:rgb(178, 194, 205)}.duet-theme-turva .duet-textarea[disabled]::placeholder{color:rgb(23, 42, 59)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(214, 28, 82)}.duet-theme-turva .duet-textarea-help{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(120, 145, 164)}";
|
|
26616
27008
|
|
|
26617
27009
|
const CharacterCount = ({ value, maxlength, theme }) => {
|
|
26618
27010
|
if (maxlength == null) {
|
|
@@ -26856,17 +27248,17 @@ class DuetTextarea {
|
|
|
26856
27248
|
*/
|
|
26857
27249
|
render() {
|
|
26858
27250
|
const identifier = this.identifier || this.textareaId;
|
|
26859
|
-
return (hAsync(Host, { key: '
|
|
27251
|
+
return (hAsync(Host, { key: '628cfbee772dabe02ee28e28b45ac044ba306433', class: {
|
|
26860
27252
|
"duet-m-0": this.margin === "none",
|
|
26861
27253
|
"duet-has-counter": this.counter && !this.error,
|
|
26862
27254
|
"duet-expand": this.expand,
|
|
26863
|
-
} }, hAsync("div", { key: '
|
|
27255
|
+
} }, hAsync("div", { key: 'd3b269724ee0b454556b85713e4ce8d0da937121', class: {
|
|
26864
27256
|
"duet-textarea-container": true,
|
|
26865
27257
|
"duet-theme-turva": this.theme === "turva",
|
|
26866
27258
|
"duet-label-hidden": this.labelHidden,
|
|
26867
27259
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
26868
27260
|
"has-error": !!this.error,
|
|
26869
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
27261
|
+
} }, hAsync(DuetInternalLabel, { key: '61b9d1d31d1c97ec59cc974fd3cf05e99a52c648', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'f50f8d99b9b3459d8b14ad5de3d176e7d995bbde', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'aa111583f2f02af223491081de0ce0aa1d9e513e', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'd229d33d3027940241f0b38348af8c3d79618856', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'ef6a5f4d22a441b13f559373096294a657b22b74', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '728f08f538d521047bbc91ccd7bd3434d3e35cb8', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: 'b652877e0466100acb59ddd879bcc8eb3f833649', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, rows: this.rows, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: 'eacd3bbbf8d40c476ed4dbdf5f6d2608d57303d8', alignment: "stretch" }, hAsync("duet-grid-item", { key: '87e2b2af0d568101cb6535822b6b3f665240b080', margin: "none", fill: true }, hAsync("div", { key: 'fe677c931f07c771e5146256ad638317416bfa64', class: "duet-textarea-help duet-textarea-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'dd9d05aac20cd6eda3b66f8117ec74a66ab78a8a' }, this.error))), hAsync("duet-grid-item", { key: '668485a22c325707308e35875136d289b65d8285', margin: "none", class: "duet-character-count-caption" }, this.counter && hAsync(CharacterCount, { key: '3911ad43e20c911266a1ee6446e7cbfecbdc6877', theme: this.theme, value: this.value, maxlength: this.maxlength }))), this.counter && this.maxlength && (hAsync("duet-visually-hidden", { key: 'f3f27267532f3f62aec64d0b4b472616accf3bf1', id: this.characterCountId, class: "visually-hidden-counter" }, this.visuallyHiddenCounterText)))));
|
|
26870
27262
|
}
|
|
26871
27263
|
get element() { return getElement(this); }
|
|
26872
27264
|
static get watchers() { return {
|
|
@@ -27035,11 +27427,11 @@ class DuetToggle {
|
|
|
27035
27427
|
*/
|
|
27036
27428
|
render() {
|
|
27037
27429
|
const identifier = this.identifier || this.toggleId;
|
|
27038
|
-
return (hAsync(Host, { key: '
|
|
27430
|
+
return (hAsync(Host, { key: '3ec57cff6ce3da317cddd00e7bedbc6650b5241d', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
|
|
27039
27431
|
"duet-m-0": this.margin === "none",
|
|
27040
27432
|
"duet-toggle-is-disabled": this.disabled,
|
|
27041
27433
|
"duet-toggle-is-loading": this.loading,
|
|
27042
|
-
} }, hAsync("div", { key: '
|
|
27434
|
+
} }, hAsync("div", { key: 'eee3e6b5baf3b19f1b3def60257a86bba82937f1', class: {
|
|
27043
27435
|
"duet-toggle": true,
|
|
27044
27436
|
"duet-theme-turva": this.theme === "turva",
|
|
27045
27437
|
"duet-side-label": this.labelPosition !== "top",
|
|
@@ -27047,7 +27439,7 @@ class DuetToggle {
|
|
|
27047
27439
|
"duet-label-hidden": this.labelHidden,
|
|
27048
27440
|
"duet-toggle-is-disabled": this.disabled,
|
|
27049
27441
|
"duet-toggle-is-loading": this.loading,
|
|
27050
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
27442
|
+
} }, hAsync(DuetInternalLabel, { key: '34afba6477ca751f3a522128482b8adbd032ecfc', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("div", { key: 'b7148a180db8be5f24af8b07f78bdb1678135fc4', class: "duet-switch" }, hAsync("input", { key: 'c1ae34876134d4a2b8e747ea1145a8230c1f793e', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled || this.loading, ref: input => (this.nativeInput = input) }), hAsync("div", { key: 'e18149d2e165965f84bcd1c723b26ad86ad738f7', class: { "duet-slider": true, "duet-theme-turva": this.theme === "turva" } }), this.loading && hAsync("duet-spinner", { key: 'cb04987318d4ae466376b787fbb822b22da90b68', color: "primary" }))), this.loading && (hAsync("duet-visually-hidden", { key: '41123444b69ac84d498781b6301c7188ad9c8293', "aria-live": "polite" }, this.accessibleLabelLoading || DuetStringsLoadingDefaults[getLanguage()])), this.loadingComplete && (hAsync("duet-visually-hidden", { key: '1d149ecd3ba90ed78770782efbd87082689776f1', "aria-live": "polite" }, this.accessibleLabelComplete || DuetStringsCompleteDefaults[getLanguage()]))));
|
|
27051
27443
|
}
|
|
27052
27444
|
get element() { return getElement(this); }
|
|
27053
27445
|
static get watchers() { return {
|
|
@@ -27128,11 +27520,11 @@ class DuetToolbar {
|
|
|
27128
27520
|
: this.variation === "secondary"
|
|
27129
27521
|
? "secondary"
|
|
27130
27522
|
: "default";
|
|
27131
|
-
return (hAsync(Host, { key: '
|
|
27523
|
+
return (hAsync(Host, { key: '11cac89e811d6b909196be87f12ddf03fabc3880' }, hAsync("nav", { key: '811f12c8c160dc6ca955cee1c442289e5be2ca87', class: {
|
|
27132
27524
|
"duet-toolbar": true,
|
|
27133
27525
|
"duet-theme-turva": this.theme === "turva",
|
|
27134
27526
|
[variation]: true,
|
|
27135
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
27527
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '386f1bc773de6027405dd241f7bf55c247e253da', class: "container" }, hAsync("div", { key: '628fa593433c532ea8ba5e2ff728dfbbd03fa2c5', class: "list", role: "list" }, hAsync("slot", { key: '99a06c1b2878c7ebc0bf9dbca19922fc35c96999', name: "left" })), hAsync("div", { key: '88cf5b6bf106290b9aee832917ffe0cba4de8a56', class: "list", role: "list" }, hAsync("slot", { key: '7cfe53a79d3f81b4a42c6661261698da60aa11df', name: "right" }))))));
|
|
27136
27528
|
}
|
|
27137
27529
|
get element() { return getElement(this); }
|
|
27138
27530
|
static get style() { return duetToolbarCss; }
|
|
@@ -27213,18 +27605,18 @@ class DuetToolbarDropdown {
|
|
|
27213
27605
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
27214
27606
|
}
|
|
27215
27607
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27216
|
-
return (hAsync(Host, { key: '
|
|
27608
|
+
return (hAsync(Host, { key: '69eac2f06436172cce984b86ca20cc5b63478496', role: "listitem" }, hAsync("div", { key: '9ac7f1b67f30a45617d57343d23126878f74160f', class: {
|
|
27217
27609
|
"duet-toolbar-dropdown": true,
|
|
27218
27610
|
"duet-theme-turva": this.theme === "turva",
|
|
27219
27611
|
[itemsAlign]: true,
|
|
27220
27612
|
[variation]: true,
|
|
27221
|
-
} }, hAsync("button", { key: '
|
|
27613
|
+
} }, hAsync("button", { key: 'c0e9bb1221661059cf94d287e2de1e1533c10999', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
27222
27614
|
active: this.active,
|
|
27223
27615
|
open: this.open,
|
|
27224
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
27616
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '0112de6cc27774c4b74e6c1c72971d64367bd74a', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'f906ad13a862f089ce526428409a26a4e636a7e7', class: "label" }, hAsync("slot", { key: 'ba244f72115c5e4d89abd913c45167de8f209dbc', name: "label" }), hAsync("duet-icon", { key: '9e327c87ecc34f5af2daaca6cfe0e262e3d7823e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '7e5665a075ed415a199b26b877358236d2a7abb4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
27225
27617
|
items: true,
|
|
27226
27618
|
hidden: !this.open,
|
|
27227
|
-
} }, hAsync("slot", { key: '
|
|
27619
|
+
} }, hAsync("slot", { key: '230cab93cb351afae35d7f0a56383e3547048540' })))));
|
|
27228
27620
|
}
|
|
27229
27621
|
get element() { return getElement(this); }
|
|
27230
27622
|
static get style() { return duetToolbarDropdownCss; }
|
|
@@ -27290,11 +27682,11 @@ class DuetToolbarDropdownLink {
|
|
|
27290
27682
|
* Always the last one in the class.
|
|
27291
27683
|
*/
|
|
27292
27684
|
render() {
|
|
27293
|
-
return (hAsync(Host, { key: '
|
|
27685
|
+
return (hAsync(Host, { key: '035633abc84750e47b20bdac26530ccbee19265f' }, hAsync("a", { key: '1da75702c3371b0b65de19c2124ce4d815d9efc4', class: {
|
|
27294
27686
|
"duet-toolbar-dropdown-link": true,
|
|
27295
27687
|
"duet-theme-turva": this.theme === "turva",
|
|
27296
27688
|
active: this.active,
|
|
27297
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
27689
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'c2d67e5fc451aef6ea005403e844ff5eea233acd', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'bd20fbe5b9a451e62e4e07317e72f59aead917b0', class: "label" }, hAsync("slot", { key: 'b9c034f82fa9d16f81cbe23f3952dc3427235821' })), this.active && (hAsync("duet-icon", { key: '5fbdc8f51e1242ac01bb1e8e6edc3673d7f6d9ba', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
27298
27690
|
}
|
|
27299
27691
|
get element() { return getElement(this); }
|
|
27300
27692
|
static get style() { return duetToolbarDropdownLinkCss; }
|
|
@@ -27397,17 +27789,17 @@ class DuetToolbarItem {
|
|
|
27397
27789
|
: this.variation === "secondary"
|
|
27398
27790
|
? "secondary"
|
|
27399
27791
|
: "default";
|
|
27400
|
-
return (hAsync(Host, { key: '
|
|
27792
|
+
return (hAsync(Host, { key: '7a26d4462931957a1f1bc5d77654a147ad5a9d13', role: "listitem" }, this.badge && hAsync("duet-indicator", { key: 'cdc9680681aa38be74316f74d4f96d89db25b678', variation: "change" }), hAsync(TagName, { key: '6a0522aec330982bdb0ecc88b35b6b8f549c07eb', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
27401
27793
|
"duet-toolbar-item": true,
|
|
27402
27794
|
"duet-theme-turva": this.theme === "turva",
|
|
27403
27795
|
active: this.active,
|
|
27404
27796
|
[variation]: true,
|
|
27405
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
27797
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '91a30ffed6071e0178a6b860e4bca8b27bfa51c6', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '7a07df3574f8395b9ea2f9ddcc6b880e41f6ac8f', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '92faf3ceedbe859b1da6ec01080dc38d211f74b4', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '533190e10014971c270a814c239f88277f3fc0d8' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: 'fd4c0fb114e44e2511b1df3be704cdf587e8be02', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'ae3207c0894228b1532ec15bae02b1768462b2a6', class: {
|
|
27406
27798
|
"trailing-icon": !!this.trailingIcon,
|
|
27407
27799
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
27408
27800
|
"external-icon": !!(this.url && this.external),
|
|
27409
27801
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
27410
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
27802
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? newWindowIcon.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'f9fff2e52a62cc1dcbb9a5b5e7490701c1d849bf', class: "duet-toolbar-badge" }))))));
|
|
27411
27803
|
}
|
|
27412
27804
|
get element() { return getElement(this); }
|
|
27413
27805
|
static get style() { return duetToolbarItemCss; }
|
|
@@ -27474,12 +27866,12 @@ class DuetToolbarLink {
|
|
|
27474
27866
|
*/
|
|
27475
27867
|
render() {
|
|
27476
27868
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27477
|
-
return (hAsync(Host, { key: '
|
|
27869
|
+
return (hAsync(Host, { key: '3892831234a833b4a247d3de3f9a66c30135e5a2', role: "listitem" }, hAsync("a", { key: '7f8a8e206d7775ed92ab5936304cc4c4aea4147a', class: {
|
|
27478
27870
|
"duet-toolbar-link": true,
|
|
27479
27871
|
"duet-theme-turva": this.theme === "turva",
|
|
27480
27872
|
active: this.active,
|
|
27481
27873
|
[variation]: true,
|
|
27482
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
27874
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8c58a04f9ee135ee12d4b32aee1c43d5b0e9f18b', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'c6a1605ebb2b6d099a87e430792730aceeb9230a' }))));
|
|
27483
27875
|
}
|
|
27484
27876
|
get element() { return getElement(this); }
|
|
27485
27877
|
static get style() { return duetToolbarLinkCss; }
|
|
@@ -27813,13 +28205,13 @@ class DuetTooltipButton {
|
|
|
27813
28205
|
* Always the last one in the class.
|
|
27814
28206
|
*/
|
|
27815
28207
|
render() {
|
|
27816
|
-
const visuallyHidden = hAsync("duet-visually-hidden", { key: '
|
|
27817
|
-
return (hAsync(Host, { key: '
|
|
28208
|
+
const visuallyHidden = hAsync("duet-visually-hidden", { key: '70a82f2c22f0f4f4550e15b1e7ec8c526e3c122e' }, this.accessibleLabel);
|
|
28209
|
+
return (hAsync(Host, { key: '19556e89ed879d642f95db9e14dfe6350af14858' }, hAsync("button", { key: '2b2fab3108b3575da91c00ad81a763d776476b28', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
27818
28210
|
"duet-tooltip-button": true,
|
|
27819
28211
|
"duet-tooltip-button-has-label": !!this.label,
|
|
27820
28212
|
"duet-theme-turva": this.theme === "turva",
|
|
27821
28213
|
"duet-tooltip-button-negative": this.negative,
|
|
27822
|
-
} }, hAsync("svg", { key: '
|
|
28214
|
+
} }, hAsync("svg", { key: 'b665bf9fc4f777eed4e4e152c394adce11fc4f4e', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '2f25f9fefa3c82c6f182507c79d3a9cf904fa009', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '2b0bea40ebef849a5faf6958f2d6da457180eaa1', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '44744f79a997b131473388d0e02347277d04c42e', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label, visuallyHidden)) : (visuallyHidden))));
|
|
27823
28215
|
}
|
|
27824
28216
|
get element() { return getElement(this); }
|
|
27825
28217
|
static get style() { return duetTooltipButtonCss; }
|
|
@@ -27884,14 +28276,14 @@ class DuetTooltipPopup {
|
|
|
27884
28276
|
this.contentEl.focus();
|
|
27885
28277
|
}
|
|
27886
28278
|
render() {
|
|
27887
|
-
return (hAsync(Host, { key: '
|
|
28279
|
+
return (hAsync(Host, { key: 'cf44855d08d69141e629987f9ba2fdccdcdc21d7' }, hAsync("div", { key: 'bf7580b8ecdf58b6c93c3c21cbb362234cc699b4', class: {
|
|
27888
28280
|
"duet-tooltip": true,
|
|
27889
28281
|
"duet-theme-turva": this.theme === "turva",
|
|
27890
28282
|
"duet-tooltip-active": this.active === true,
|
|
27891
|
-
} }, hAsync(FocusGuard, { key: '
|
|
28283
|
+
} }, hAsync(FocusGuard, { key: '6f5a516e23035e8e0b9c2951ef4a10243b564d17', moveFocusTo: this.buttonEl }), hAsync("div", { key: '3d1031a521b8085ee786692f678a599fe7c02512', ref: element => (this.contentEl = element), class: {
|
|
27892
28284
|
"duet-tooltip-content-area": true,
|
|
27893
28285
|
"duet-theme-turva": this.theme === "turva",
|
|
27894
|
-
}, tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: '
|
|
28286
|
+
}, tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: 'f40fff5023fe51f2413b7a2cc3fd4fcae353502e' })), hAsync("div", { key: 'e549848c426e3056c540a3b7aa808f05416bb5b3', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '21e7fddb4ee364c03887c4238dfe3d23beb97ac3', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'fbef02a023d8b1943a812811e574c9953dce843e', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '7b4b8aaac8a97ede79cb3390f2e85159dbc0e61f', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '9fd02bc99e3fdb9791575525da12a2998d40334a' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '794b71cceb911fbcfdf27110c0d08bd5da230944', moveFocusTo: this.contentEl }))));
|
|
27895
28287
|
}
|
|
27896
28288
|
get element() { return getElement(this); }
|
|
27897
28289
|
static get style() { return duetTooltipPopupCss; }
|
|
@@ -28040,14 +28432,14 @@ class DuetTray {
|
|
|
28040
28432
|
* Always the last one in the class.
|
|
28041
28433
|
*/
|
|
28042
28434
|
render() {
|
|
28043
|
-
return (hAsync("div", { key: '
|
|
28435
|
+
return (hAsync("div", { key: '4feb3ea8d6067ec6d82c6eaf9225fe6728bd4acc', class: {
|
|
28044
28436
|
"duet-tray": true,
|
|
28045
28437
|
"duet-tray-is-active": this.active,
|
|
28046
28438
|
"duet-tray-is-hidden": this.hiddenState,
|
|
28047
28439
|
"duet-tray-is-responsive": this.responsive,
|
|
28048
28440
|
"duet-theme-turva": this.theme === "turva",
|
|
28049
28441
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
28050
|
-
} }, hAsync("div", { key: '
|
|
28442
|
+
} }, hAsync("div", { key: 'c51904bcc9f3d0297da08c32952be7ea690bafc8', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '52e8b11bdf354f65b34fb1d6d2facbf636a01758' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '86e6560df02094fcc7b7df9146c34c47923d89eb' }, hAsync("button", { key: '000c5472ff2f7f1a0ffe6e796817a51fcaecd856', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: '02489a52896b40ce4916a3b6dfcdd40d36212251', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '866528d950899fe557f6023f8f9ca79e9545fd15' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'c3400e3dda10617ffd45395e46247ef88a2157a8', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'f2176a2e171dfae93254cba98d31e13855c3b0e5', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '21d7e1276815c885a9832fcdb87ffbd96fe8a03c', name: "additional" })))))));
|
|
28051
28443
|
}
|
|
28052
28444
|
get element() { return getElement(this); }
|
|
28053
28445
|
static get style() { return duetTrayCss; }
|
|
@@ -29362,10 +29754,10 @@ class DuetUpload {
|
|
|
29362
29754
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
29363
29755
|
}
|
|
29364
29756
|
// @ts-ignore
|
|
29365
|
-
return (hAsync(Host, { key: '
|
|
29757
|
+
return (hAsync(Host, { key: 'dc222a10613a05aa4d56526accf4f20d09a85524', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'afd3bbefc25846e30ea0a4a3dd6fef490cfce55d', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '9927e358eb190f2023f863d4de2306390d71fc8b', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '843385b600508604aeed2894ae0d13134c4726d0', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'c75ef6ac779000de5dee49f7793a01dcad735808', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'f9756746a31507f1dca930bdf7fea75ccf2c577b', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'b88ca83dcc669708410ac4ff2ab95c171909bcfd', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: 'cf7410f30e64f19d7dfc05848cae516c3c4c4998', name: "filefooter" }), hAsync("slot", { key: '3d6ae7f015427bc576b46bcbad37ad21c75c5cff', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'd9839e2f61e00879f0fe4d804b76884eb3a3c426', margin: "none", size: "small" }, hAsync("div", { key: '0793e849c010f2611e8c30fc9a1adfd5739036ca', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'aea1cf5e8be9c04cfe942a63b609304b89dbd3bf', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '5bc3f7808057aecbe5a082aa960cfd0179a5ebb8' }, hAsync("duet-spacer", { key: 'dea860e2657fdd9d826a56ed1cbd3c29c27a6566', size: "large" }), hAsync("duet-button", { key: 'd2e2120f450bd44190d819bcc8b7d3193a2fd7f1', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
29366
29758
|
this.bytesMaxReached ||
|
|
29367
29759
|
this.filesToUploadExceedsLimit ||
|
|
29368
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
29760
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: 'fcf6947ea9fd60eb05745627ea9bcfdc0a186ae2' }, hAsync("duet-spacer", { key: '0d8d15f15c9dcecb7749d481e29073be66c1e77f', size: "medium" }), hAsync("duet-alert", { key: '392a1d62012973d5e0b730a58ad3d97c48db3256', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: 'ecf1098f5d21721d322bc382ff218b2b374e907a', "aria-hidden": "true" }, hAsync("input", { key: 'd47f7522e739d1bda7407882e7ceda5f3e416b3d', ref: input => {
|
|
29369
29761
|
this.nativeInput = input;
|
|
29370
29762
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
29371
29763
|
"duet-upload": true,
|
|
@@ -29707,7 +30099,7 @@ class DuetUploadAriaStatus {
|
|
|
29707
30099
|
* Always the last one in the class.
|
|
29708
30100
|
*/
|
|
29709
30101
|
render() {
|
|
29710
|
-
return (hAsync(Host, { key: '
|
|
30102
|
+
return (hAsync(Host, { key: '2084d67e27f201170cb0915e97235481a8f42ff6', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'f774f8926c1f2500866e4b50781cf83a1263b0c2' }, this.statusMessage)));
|
|
29711
30103
|
}
|
|
29712
30104
|
get element() { return getElement(this); }
|
|
29713
30105
|
static get watchers() { return {
|
|
@@ -29783,7 +30175,7 @@ let DuetUploadItem$1 = class DuetUploadItem {
|
|
|
29783
30175
|
inheritGlobalTheme(this);
|
|
29784
30176
|
}
|
|
29785
30177
|
render() {
|
|
29786
|
-
return (hAsync(Host, { key: '
|
|
30178
|
+
return (hAsync(Host, { key: '4990de1bf699e3f0daea24f507a9b9e252b11d9a' }, hAsync("duet-visually-hidden", { key: '0a226f6f53a8da89230e81df8be61a2413c44af1', "aria-hidden": "true" }, hAsync("input", { key: 'a8a8e3bfc73847a74ea8dc8dff0da0c16d510e15', ref: input => {
|
|
29787
30179
|
this.nativeInput = input;
|
|
29788
30180
|
}, type: "file", class: {
|
|
29789
30181
|
"duet-upload": true,
|
|
@@ -29887,9 +30279,9 @@ class DuetUploadItem {
|
|
|
29887
30279
|
const { uid, meta, item } = this.data;
|
|
29888
30280
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
29889
30281
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
29890
|
-
return (hAsync("div", { key: '
|
|
30282
|
+
return (hAsync("div", { key: 'a4236da565d327c0745c1d0838cb8521c9aeacd2', class: {
|
|
29891
30283
|
"upload-item-row": true,
|
|
29892
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
30284
|
+
} }, this.showCategory && (hAsync("div", { key: 'ded27f92a61d2f8e793c6132eefce939935f4560', class: "item-categories" }, hAsync("duet-heading", { key: '945bf9ec37ef6aa7abfec637e991ec9fa531e998', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'f1bddfee393d02f814bc46ff678ca6ecfffde402', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '40831fd68ebd159d9c1ed6fa01c1563b25842f92', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '36bb6e40d039ff13d87b6499a27db274a4ad47a9', class: "item-actions" }, this.actions.map(actionItem => {
|
|
29893
30285
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
29894
30286
|
}))));
|
|
29895
30287
|
}
|
|
@@ -29929,7 +30321,7 @@ class DuetVisuallyHidden {
|
|
|
29929
30321
|
* Always the last one in the class.
|
|
29930
30322
|
*/
|
|
29931
30323
|
render() {
|
|
29932
|
-
return (hAsync(Host, { key: '
|
|
30324
|
+
return (hAsync(Host, { key: '2ac2536c5fb762954d328da1080105d92292c8b4', class: "duet-visually-hidden" }, hAsync("slot", { key: '4f58c2bdca5f9d629586174be225448f22662155' })));
|
|
29933
30325
|
}
|
|
29934
30326
|
get element() { return getElement(this); }
|
|
29935
30327
|
static get style() { return duetVisuallyHiddenCss; }
|