@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.js
CHANGED
|
@@ -3716,16 +3716,46 @@ const disconnectLanguageChangeObserver = (component) => {
|
|
|
3716
3716
|
|
|
3717
3717
|
const colorBackgroundAccentPrimary = "rgb(240, 247, 250)";
|
|
3718
3718
|
const colorBackgroundAccentPrimaryTurva = "rgb(253, 247, 242)";
|
|
3719
|
+
const colorBackgroundAccentQuaternary = "rgb(0, 119, 179)";
|
|
3720
|
+
const colorBackgroundAccentQuaternaryTurva = "rgb(230, 23, 64)";
|
|
3719
3721
|
const colorBackgroundAccentSecondary = "rgb(228, 241, 247)";
|
|
3720
3722
|
const colorBackgroundAccentSecondaryTurva = "rgb(251, 235, 225)";
|
|
3721
|
-
const colorBackgroundAccentTertiary = "rgb(
|
|
3722
|
-
const colorBackgroundAccentTertiaryTurva = "rgb(
|
|
3723
|
+
const colorBackgroundAccentTertiary = "rgb(217, 236, 245)";
|
|
3724
|
+
const colorBackgroundAccentTertiaryTurva = "rgb(251, 225, 209)";
|
|
3725
|
+
const colorBackgroundDisabledPrimary = "rgb(245, 248, 250)";
|
|
3726
|
+
const colorBackgroundDisabledPrimaryTurva = "rgb(245, 246, 247)";
|
|
3727
|
+
const colorBackgroundDisabledSecondary = "rgb(228, 236, 239)";
|
|
3728
|
+
const colorBackgroundDisabledSecondaryTurva = "rgb(228, 233, 237)";
|
|
3723
3729
|
const colorBackgroundPrimary = "rgb(255, 255, 255)";
|
|
3724
3730
|
const colorBackgroundPrimaryTurva = "rgb(255, 255, 255)";
|
|
3725
3731
|
const colorBackgroundSecondary = "rgb(245, 248, 250)";
|
|
3726
3732
|
const colorBackgroundSecondaryTurva = "rgb(245, 246, 247)";
|
|
3727
3733
|
const colorBackgroundTertiary = "rgb(8, 42, 77)";
|
|
3728
3734
|
const colorBackgroundTertiaryTurva = "rgb(23, 42, 59)";
|
|
3735
|
+
const colorBorderAccentPrimary = "rgb(0, 119, 179)";
|
|
3736
|
+
const colorBorderAccentPrimaryTurva = "rgb(230, 23, 64)";
|
|
3737
|
+
const colorBorderAccentQuaternary = "rgb(217, 236, 245)";
|
|
3738
|
+
const colorBorderAccentQuaternaryTurva = "rgb(251, 225, 209)";
|
|
3739
|
+
const colorBorderAccentSecondary = "rgb(131, 188, 217)";
|
|
3740
|
+
const colorBorderAccentSecondaryTurva = "rgb(243, 119, 133)";
|
|
3741
|
+
const colorBorderAccentTertiary = "rgb(198, 225, 238)";
|
|
3742
|
+
const colorBorderAccentTertiaryTurva = "rgb(241, 202, 178)";
|
|
3743
|
+
const colorBorderDisabledPrimary = "rgb(212, 223, 229)";
|
|
3744
|
+
const colorBorderDisabledPrimaryTurva = "rgb(212, 221, 226)";
|
|
3745
|
+
const colorBorderDisabledSecondary = "rgb(181, 198, 208)";
|
|
3746
|
+
const colorBorderDisabledSecondaryTurva = "rgb(178, 194, 205)";
|
|
3747
|
+
const colorBorderInversePrimary = "rgb(127, 150, 165)";
|
|
3748
|
+
const colorBorderInversePrimaryTurva = "rgb(120, 145, 164)";
|
|
3749
|
+
const colorBorderInverseSecondary = "rgb(81, 105, 123)";
|
|
3750
|
+
const colorBorderInverseSecondaryTurva = "rgb(72, 100, 122)";
|
|
3751
|
+
const colorBorderInverseTertiary = "rgb(62, 84, 102)";
|
|
3752
|
+
const colorBorderInverseTertiaryTurva = "rgb(53, 79, 101)";
|
|
3753
|
+
const colorBorderPrimary = "rgb(127, 150, 165)";
|
|
3754
|
+
const colorBorderPrimaryTurva = "rgb(120, 145, 164)";
|
|
3755
|
+
const colorBorderSecondary = "rgb(181, 198, 208)";
|
|
3756
|
+
const colorBorderSecondaryTurva = "rgb(178, 194, 205)";
|
|
3757
|
+
const colorBorderTertiary = "rgb(212, 223, 229)";
|
|
3758
|
+
const colorBorderTertiaryTurva = "rgb(212, 221, 226)";
|
|
3729
3759
|
const colorBrandBlue = "rgb(0, 161, 212)";
|
|
3730
3760
|
const colorBrandGrayTurva = "rgb(178, 180, 179)";
|
|
3731
3761
|
const colorCategoryFamily = "rgb(11, 114, 136)";
|
|
@@ -3768,6 +3798,46 @@ const colorData12 = "rgb(11, 114, 136)";
|
|
|
3768
3798
|
const colorData13 = "rgb(179, 137, 24)";
|
|
3769
3799
|
const colorData14 = "rgb(128, 98, 17)";
|
|
3770
3800
|
const colorData15 = "rgb(0, 41, 77)";
|
|
3801
|
+
const colorDomainFamily = "rgb(11, 114, 136)";
|
|
3802
|
+
const colorDomainFamilyTurva = "rgb(199, 12, 112)";
|
|
3803
|
+
const colorDomainFinance = "rgb(122, 1, 196)";
|
|
3804
|
+
const colorDomainFinanceTurva = "rgb(122, 1, 196)";
|
|
3805
|
+
const colorDomainHome = "rgb(211, 36, 131)";
|
|
3806
|
+
const colorDomainHomeTurva = "rgb(161, 10, 78)";
|
|
3807
|
+
const colorDomainPet = "rgb(168, 1, 78)";
|
|
3808
|
+
const colorDomainPetTurva = "rgb(168, 1, 78)";
|
|
3809
|
+
const colorDomainTravel = "rgb(213, 66, 3)";
|
|
3810
|
+
const colorDomainTravelTurva = "rgb(9, 129, 148)";
|
|
3811
|
+
const colorDomainVehicle = "rgb(54, 74, 129)";
|
|
3812
|
+
const colorDomainVehicleTurva = "rgb(23, 28, 58)";
|
|
3813
|
+
const colorForegroundAccentPrimary = "rgb(0, 119, 179)";
|
|
3814
|
+
const colorForegroundAccentPrimaryTurva = "rgb(230, 23, 64)";
|
|
3815
|
+
const colorForegroundAccentSecondary = "rgb(0, 97, 155)";
|
|
3816
|
+
const colorForegroundAccentSecondaryTurva = "rgb(185, 3, 41)";
|
|
3817
|
+
const colorForegroundAccentTertiary = "rgb(0, 75, 129)";
|
|
3818
|
+
const colorForegroundAccentTertiaryTurva = "rgb(140, 0, 30)";
|
|
3819
|
+
const colorForegroundDisabledPrimary = "rgb(127, 150, 165)";
|
|
3820
|
+
const colorForegroundDisabledPrimaryTurva = "rgb(120, 145, 164)";
|
|
3821
|
+
const colorForegroundDisabledSecondary = "rgb(98, 121, 138)";
|
|
3822
|
+
const colorForegroundDisabledSecondaryTurva = "rgb(95, 122, 143)";
|
|
3823
|
+
const colorForegroundInverseAccentPrimary = "rgb(131, 188, 217)";
|
|
3824
|
+
const colorForegroundInverseAccentPrimaryTurva = "rgb(243, 119, 133)";
|
|
3825
|
+
const colorForegroundInverseAccentSecondary = "rgb(172, 210, 229)";
|
|
3826
|
+
const colorForegroundInverseAccentSecondaryTurva = "rgb(249, 164, 172)";
|
|
3827
|
+
const colorForegroundInverseAccentTertiary = "rgb(198, 225, 238)";
|
|
3828
|
+
const colorForegroundInverseAccentTertiaryTurva = "rgb(255, 201, 204)";
|
|
3829
|
+
const colorForegroundInversePrimary = "rgb(255, 255, 255)";
|
|
3830
|
+
const colorForegroundInversePrimaryTurva = "rgb(255, 255, 255)";
|
|
3831
|
+
const colorForegroundInverseSecondary = "rgb(181, 198, 208)";
|
|
3832
|
+
const colorForegroundInverseSecondaryTurva = "rgb(178, 194, 205)";
|
|
3833
|
+
const colorForegroundInverseTertiary = "rgb(127, 150, 165)";
|
|
3834
|
+
const colorForegroundInverseTertiaryTurva = "rgb(120, 145, 164)";
|
|
3835
|
+
const colorForegroundPrimary = "rgb(8, 42, 77)";
|
|
3836
|
+
const colorForegroundPrimaryTurva = "rgb(23, 42, 59)";
|
|
3837
|
+
const colorForegroundSecondary = "rgb(62, 84, 102)";
|
|
3838
|
+
const colorForegroundSecondaryTurva = "rgb(53, 79, 101)";
|
|
3839
|
+
const colorForegroundTertiary = "rgb(98, 121, 138)";
|
|
3840
|
+
const colorForegroundTertiaryTurva = "rgb(95, 122, 143)";
|
|
3771
3841
|
const colorGray = "rgb(181, 198, 208)";
|
|
3772
3842
|
const colorGrayDark = "rgb(127, 150, 165)";
|
|
3773
3843
|
const colorGrayDarkTurva = "rgb(120, 145, 164)";
|
|
@@ -3780,6 +3850,10 @@ const colorGrayLighterTurva = "rgb(245, 246, 247)";
|
|
|
3780
3850
|
const colorGrayLightest = "rgb(255, 255, 255)";
|
|
3781
3851
|
const colorGrayLightestTurva = "rgb(255, 255, 255)";
|
|
3782
3852
|
const colorGrayTurva = "rgb(178, 194, 205)";
|
|
3853
|
+
const colorInteractiveAlternative = "rgb(0, 119, 179)";
|
|
3854
|
+
const colorInteractiveAlternativeLight = "rgb(240, 247, 250)";
|
|
3855
|
+
const colorInteractiveAlternativeLightTurva = "rgb(245, 246, 247)";
|
|
3856
|
+
const colorInteractiveAlternativeTurva = "rgb(23, 42, 59)";
|
|
3783
3857
|
const colorLtBlue00 = "rgb(240, 247, 250)";
|
|
3784
3858
|
const colorLtBlue100 = "rgb(217, 236, 245)";
|
|
3785
3859
|
const colorLtBlue1000 = "rgb(8, 42, 77)";
|
|
@@ -3819,11 +3893,11 @@ const colorPrimaryLightestTurva = "rgb(253, 247, 242)";
|
|
|
3819
3893
|
const colorPrimaryTurva = "rgb(230, 23, 64)";
|
|
3820
3894
|
const colorSecondary = "rgb(8, 42, 77)";
|
|
3821
3895
|
const colorSecondaryTurva = "rgb(23, 42, 59)";
|
|
3822
|
-
const colorStatusBackgroundDangerPrimary = "rgb(255,
|
|
3896
|
+
const colorStatusBackgroundDangerPrimary = "rgb(255, 240, 243)";
|
|
3823
3897
|
const colorStatusBackgroundDangerQuaternary = "rgb(185, 16, 74)";
|
|
3824
3898
|
const colorStatusBackgroundDangerSecondary = "rgb(255, 211, 219)";
|
|
3825
3899
|
const colorStatusBackgroundDangerTertiary = "rgb(214, 28, 82)";
|
|
3826
|
-
const colorStatusBackgroundInfoPrimary = "rgb(
|
|
3900
|
+
const colorStatusBackgroundInfoPrimary = "rgb(240, 247, 250)";
|
|
3827
3901
|
const colorStatusBackgroundInfoQuaternary = "rgb(0, 97, 155)";
|
|
3828
3902
|
const colorStatusBackgroundInfoSecondary = "rgb(217, 236, 245)";
|
|
3829
3903
|
const colorStatusBackgroundInfoTertiary = "rgb(0, 119, 179)";
|
|
@@ -4027,16 +4101,46 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4027
4101
|
__proto__: null,
|
|
4028
4102
|
colorBackgroundAccentPrimary: colorBackgroundAccentPrimary,
|
|
4029
4103
|
colorBackgroundAccentPrimaryTurva: colorBackgroundAccentPrimaryTurva,
|
|
4104
|
+
colorBackgroundAccentQuaternary: colorBackgroundAccentQuaternary,
|
|
4105
|
+
colorBackgroundAccentQuaternaryTurva: colorBackgroundAccentQuaternaryTurva,
|
|
4030
4106
|
colorBackgroundAccentSecondary: colorBackgroundAccentSecondary,
|
|
4031
4107
|
colorBackgroundAccentSecondaryTurva: colorBackgroundAccentSecondaryTurva,
|
|
4032
4108
|
colorBackgroundAccentTertiary: colorBackgroundAccentTertiary,
|
|
4033
4109
|
colorBackgroundAccentTertiaryTurva: colorBackgroundAccentTertiaryTurva,
|
|
4110
|
+
colorBackgroundDisabledPrimary: colorBackgroundDisabledPrimary,
|
|
4111
|
+
colorBackgroundDisabledPrimaryTurva: colorBackgroundDisabledPrimaryTurva,
|
|
4112
|
+
colorBackgroundDisabledSecondary: colorBackgroundDisabledSecondary,
|
|
4113
|
+
colorBackgroundDisabledSecondaryTurva: colorBackgroundDisabledSecondaryTurva,
|
|
4034
4114
|
colorBackgroundPrimary: colorBackgroundPrimary,
|
|
4035
4115
|
colorBackgroundPrimaryTurva: colorBackgroundPrimaryTurva,
|
|
4036
4116
|
colorBackgroundSecondary: colorBackgroundSecondary,
|
|
4037
4117
|
colorBackgroundSecondaryTurva: colorBackgroundSecondaryTurva,
|
|
4038
4118
|
colorBackgroundTertiary: colorBackgroundTertiary,
|
|
4039
4119
|
colorBackgroundTertiaryTurva: colorBackgroundTertiaryTurva,
|
|
4120
|
+
colorBorderAccentPrimary: colorBorderAccentPrimary,
|
|
4121
|
+
colorBorderAccentPrimaryTurva: colorBorderAccentPrimaryTurva,
|
|
4122
|
+
colorBorderAccentQuaternary: colorBorderAccentQuaternary,
|
|
4123
|
+
colorBorderAccentQuaternaryTurva: colorBorderAccentQuaternaryTurva,
|
|
4124
|
+
colorBorderAccentSecondary: colorBorderAccentSecondary,
|
|
4125
|
+
colorBorderAccentSecondaryTurva: colorBorderAccentSecondaryTurva,
|
|
4126
|
+
colorBorderAccentTertiary: colorBorderAccentTertiary,
|
|
4127
|
+
colorBorderAccentTertiaryTurva: colorBorderAccentTertiaryTurva,
|
|
4128
|
+
colorBorderDisabledPrimary: colorBorderDisabledPrimary,
|
|
4129
|
+
colorBorderDisabledPrimaryTurva: colorBorderDisabledPrimaryTurva,
|
|
4130
|
+
colorBorderDisabledSecondary: colorBorderDisabledSecondary,
|
|
4131
|
+
colorBorderDisabledSecondaryTurva: colorBorderDisabledSecondaryTurva,
|
|
4132
|
+
colorBorderInversePrimary: colorBorderInversePrimary,
|
|
4133
|
+
colorBorderInversePrimaryTurva: colorBorderInversePrimaryTurva,
|
|
4134
|
+
colorBorderInverseSecondary: colorBorderInverseSecondary,
|
|
4135
|
+
colorBorderInverseSecondaryTurva: colorBorderInverseSecondaryTurva,
|
|
4136
|
+
colorBorderInverseTertiary: colorBorderInverseTertiary,
|
|
4137
|
+
colorBorderInverseTertiaryTurva: colorBorderInverseTertiaryTurva,
|
|
4138
|
+
colorBorderPrimary: colorBorderPrimary,
|
|
4139
|
+
colorBorderPrimaryTurva: colorBorderPrimaryTurva,
|
|
4140
|
+
colorBorderSecondary: colorBorderSecondary,
|
|
4141
|
+
colorBorderSecondaryTurva: colorBorderSecondaryTurva,
|
|
4142
|
+
colorBorderTertiary: colorBorderTertiary,
|
|
4143
|
+
colorBorderTertiaryTurva: colorBorderTertiaryTurva,
|
|
4040
4144
|
colorBrandBlue: colorBrandBlue,
|
|
4041
4145
|
colorBrandGrayTurva: colorBrandGrayTurva,
|
|
4042
4146
|
colorCategoryFamily: colorCategoryFamily,
|
|
@@ -4079,6 +4183,46 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4079
4183
|
colorData13: colorData13,
|
|
4080
4184
|
colorData14: colorData14,
|
|
4081
4185
|
colorData15: colorData15,
|
|
4186
|
+
colorDomainFamily: colorDomainFamily,
|
|
4187
|
+
colorDomainFamilyTurva: colorDomainFamilyTurva,
|
|
4188
|
+
colorDomainFinance: colorDomainFinance,
|
|
4189
|
+
colorDomainFinanceTurva: colorDomainFinanceTurva,
|
|
4190
|
+
colorDomainHome: colorDomainHome,
|
|
4191
|
+
colorDomainHomeTurva: colorDomainHomeTurva,
|
|
4192
|
+
colorDomainPet: colorDomainPet,
|
|
4193
|
+
colorDomainPetTurva: colorDomainPetTurva,
|
|
4194
|
+
colorDomainTravel: colorDomainTravel,
|
|
4195
|
+
colorDomainTravelTurva: colorDomainTravelTurva,
|
|
4196
|
+
colorDomainVehicle: colorDomainVehicle,
|
|
4197
|
+
colorDomainVehicleTurva: colorDomainVehicleTurva,
|
|
4198
|
+
colorForegroundAccentPrimary: colorForegroundAccentPrimary,
|
|
4199
|
+
colorForegroundAccentPrimaryTurva: colorForegroundAccentPrimaryTurva,
|
|
4200
|
+
colorForegroundAccentSecondary: colorForegroundAccentSecondary,
|
|
4201
|
+
colorForegroundAccentSecondaryTurva: colorForegroundAccentSecondaryTurva,
|
|
4202
|
+
colorForegroundAccentTertiary: colorForegroundAccentTertiary,
|
|
4203
|
+
colorForegroundAccentTertiaryTurva: colorForegroundAccentTertiaryTurva,
|
|
4204
|
+
colorForegroundDisabledPrimary: colorForegroundDisabledPrimary,
|
|
4205
|
+
colorForegroundDisabledPrimaryTurva: colorForegroundDisabledPrimaryTurva,
|
|
4206
|
+
colorForegroundDisabledSecondary: colorForegroundDisabledSecondary,
|
|
4207
|
+
colorForegroundDisabledSecondaryTurva: colorForegroundDisabledSecondaryTurva,
|
|
4208
|
+
colorForegroundInverseAccentPrimary: colorForegroundInverseAccentPrimary,
|
|
4209
|
+
colorForegroundInverseAccentPrimaryTurva: colorForegroundInverseAccentPrimaryTurva,
|
|
4210
|
+
colorForegroundInverseAccentSecondary: colorForegroundInverseAccentSecondary,
|
|
4211
|
+
colorForegroundInverseAccentSecondaryTurva: colorForegroundInverseAccentSecondaryTurva,
|
|
4212
|
+
colorForegroundInverseAccentTertiary: colorForegroundInverseAccentTertiary,
|
|
4213
|
+
colorForegroundInverseAccentTertiaryTurva: colorForegroundInverseAccentTertiaryTurva,
|
|
4214
|
+
colorForegroundInversePrimary: colorForegroundInversePrimary,
|
|
4215
|
+
colorForegroundInversePrimaryTurva: colorForegroundInversePrimaryTurva,
|
|
4216
|
+
colorForegroundInverseSecondary: colorForegroundInverseSecondary,
|
|
4217
|
+
colorForegroundInverseSecondaryTurva: colorForegroundInverseSecondaryTurva,
|
|
4218
|
+
colorForegroundInverseTertiary: colorForegroundInverseTertiary,
|
|
4219
|
+
colorForegroundInverseTertiaryTurva: colorForegroundInverseTertiaryTurva,
|
|
4220
|
+
colorForegroundPrimary: colorForegroundPrimary,
|
|
4221
|
+
colorForegroundPrimaryTurva: colorForegroundPrimaryTurva,
|
|
4222
|
+
colorForegroundSecondary: colorForegroundSecondary,
|
|
4223
|
+
colorForegroundSecondaryTurva: colorForegroundSecondaryTurva,
|
|
4224
|
+
colorForegroundTertiary: colorForegroundTertiary,
|
|
4225
|
+
colorForegroundTertiaryTurva: colorForegroundTertiaryTurva,
|
|
4082
4226
|
colorGray: colorGray,
|
|
4083
4227
|
colorGrayDark: colorGrayDark,
|
|
4084
4228
|
colorGrayDarkTurva: colorGrayDarkTurva,
|
|
@@ -4091,6 +4235,10 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4091
4235
|
colorGrayLightest: colorGrayLightest,
|
|
4092
4236
|
colorGrayLightestTurva: colorGrayLightestTurva,
|
|
4093
4237
|
colorGrayTurva: colorGrayTurva,
|
|
4238
|
+
colorInteractiveAlternative: colorInteractiveAlternative,
|
|
4239
|
+
colorInteractiveAlternativeLight: colorInteractiveAlternativeLight,
|
|
4240
|
+
colorInteractiveAlternativeLightTurva: colorInteractiveAlternativeLightTurva,
|
|
4241
|
+
colorInteractiveAlternativeTurva: colorInteractiveAlternativeTurva,
|
|
4094
4242
|
colorLtBlue00: colorLtBlue00,
|
|
4095
4243
|
colorLtBlue100: colorLtBlue100,
|
|
4096
4244
|
colorLtBlue1000: colorLtBlue1000,
|
|
@@ -5099,12 +5247,12 @@ class DuetBadge {
|
|
|
5099
5247
|
*/
|
|
5100
5248
|
render() {
|
|
5101
5249
|
const backgroundClass = `background-${this.background}`;
|
|
5102
|
-
return (hAsync(Host, { key: '
|
|
5250
|
+
return (hAsync(Host, { key: 'ee0e4ba8db39d1523e64a8a3725f773c3a1fccca', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'e2f1ed3dda43cd601d8b5d4865eaa063dd5cf759', class: {
|
|
5103
5251
|
"duet-badge": true,
|
|
5104
5252
|
[this.variation]: true,
|
|
5105
5253
|
[backgroundClass]: true,
|
|
5106
5254
|
"duet-theme-turva": this.theme === "turva",
|
|
5107
|
-
} }, hAsync("duet-visually-hidden", { key: '
|
|
5255
|
+
} }, hAsync("duet-visually-hidden", { key: '0b9ee8dc4ab19046ad02e5a0aa49d753f2b5c616' }, this.getVariationLabel()), hAsync("slot", { key: '95e0adfc9d9a95bc018e52d3bb3e8a7fc87c99a9' }))));
|
|
5108
5256
|
}
|
|
5109
5257
|
get element() { return getElement(this); }
|
|
5110
5258
|
static get style() { return duetBadgeCss; }
|
|
@@ -5130,7 +5278,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
5130
5278
|
hAsync("img", Object.assign({}, img))));
|
|
5131
5279
|
};
|
|
5132
5280
|
|
|
5133
|
-
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}";
|
|
5281
|
+
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}";
|
|
5134
5282
|
|
|
5135
5283
|
/**
|
|
5136
5284
|
* @slot heading - Slot for heading content. Only span should be used in this slot.
|
|
@@ -5221,11 +5369,15 @@ class DuetBanner {
|
|
|
5221
5369
|
* Component lifecycle events.
|
|
5222
5370
|
*/
|
|
5223
5371
|
componentWillLoad() {
|
|
5372
|
+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
5224
5373
|
inheritGlobalTheme(this);
|
|
5225
5374
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
5226
5375
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
5227
5376
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
5228
|
-
checkNamedSlotElement(this.element, "heading",
|
|
5377
|
+
checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
|
|
5378
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
|
|
5379
|
+
this.hasHeadingSlotNative = true;
|
|
5380
|
+
}
|
|
5229
5381
|
this.setButtonSize();
|
|
5230
5382
|
}
|
|
5231
5383
|
connectedCallback() {
|
|
@@ -5257,14 +5409,14 @@ class DuetBanner {
|
|
|
5257
5409
|
},
|
|
5258
5410
|
sources: parsePossibleJSON(this.sources),
|
|
5259
5411
|
};
|
|
5260
|
-
return (hAsync(Host, { key: '
|
|
5412
|
+
return (hAsync(Host, { key: '6c5c51b5270034eca60358d32acf69b0b87cfe37', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'd3357af952f4d21a284a3c07a4840be8c9d96671', class: {
|
|
5261
5413
|
"duet-banner": true,
|
|
5262
5414
|
"duet-theme-turva": this.theme === "turva",
|
|
5263
5415
|
[this.currentSize]: true,
|
|
5264
5416
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
5265
5417
|
"size-large": this.size === "large",
|
|
5266
5418
|
"no-image": !this.image,
|
|
5267
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
5419
|
+
}, 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" })))))));
|
|
5268
5420
|
}
|
|
5269
5421
|
get element() { return getElement(this); }
|
|
5270
5422
|
static get style() { return duetBannerCss; }
|
|
@@ -5351,15 +5503,15 @@ class DuetBreadcrumb {
|
|
|
5351
5503
|
*/
|
|
5352
5504
|
render() {
|
|
5353
5505
|
const Tag = this.href ? "a" : "span";
|
|
5354
|
-
return (hAsync(Host, { key: '
|
|
5506
|
+
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: {
|
|
5355
5507
|
"duet-breadcrumb": true,
|
|
5356
5508
|
"duet-theme-turva": this.theme === "turva",
|
|
5357
5509
|
"icon-only": this.icon && !this.hasSlottedContent,
|
|
5358
5510
|
}, href: this.href || undefined, "aria-label": this.accessibleLabel || this.element.textContent, "aria-current": this.href ? undefined : "page" }, this.icon !== "arrow-right-small-icon" &&
|
|
5359
5511
|
this.icon && [
|
|
5360
|
-
hAsync("duet-icon", { key: '
|
|
5361
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
5362
|
-
], hAsync("slot", { key: '
|
|
5512
|
+
hAsync("duet-icon", { key: '6ea363f16a27da9172c1257587bd4e8a03dd3e14', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
5513
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'e4e63fbc6d9e371743570528b4bf2cf3eb1cd289', size: "x-small", direction: "horizontal" }),
|
|
5514
|
+
], hAsync("slot", { key: 'ae2098eb9604da79ea48f19f35cf727588b59adc' })))));
|
|
5363
5515
|
}
|
|
5364
5516
|
get element() { return getElement(this); }
|
|
5365
5517
|
static get style() { return duetBreadcrumbCss; }
|
|
@@ -5427,11 +5579,11 @@ class DuetBreadcrumbs {
|
|
|
5427
5579
|
*/
|
|
5428
5580
|
render() {
|
|
5429
5581
|
const color = getColorByName(this.color);
|
|
5430
|
-
return (hAsync(Host, { key: '
|
|
5582
|
+
return (hAsync(Host, { key: 'a33196239b9b8f6933f6e8b46df005591cd7234c' }, hAsync("nav", { key: 'e132c17465eefb28d91c1a2a98fb6fa6bf812c92', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
5431
5583
|
"duet-breadcrumbs": true,
|
|
5432
5584
|
"duet-theme-turva": this.theme === "turva",
|
|
5433
5585
|
[this.variation]: true,
|
|
5434
|
-
} }, hAsync("div", { key: '
|
|
5586
|
+
} }, 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" }))));
|
|
5435
5587
|
}
|
|
5436
5588
|
get element() { return getElement(this); }
|
|
5437
5589
|
static get style() { return duetBreadcrumbsCss; }
|
|
@@ -5450,7 +5602,7 @@ class DuetBreadcrumbs {
|
|
|
5450
5602
|
}; }
|
|
5451
5603
|
}
|
|
5452
5604
|
|
|
5453
|
-
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)}";
|
|
5605
|
+
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)}";
|
|
5454
5606
|
|
|
5455
5607
|
class DuetButton {
|
|
5456
5608
|
constructor(hostRef) {
|
|
@@ -5706,12 +5858,27 @@ class DuetButton {
|
|
|
5706
5858
|
// enforce consistency for external links
|
|
5707
5859
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
5708
5860
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
5709
|
-
const
|
|
5861
|
+
const getSpinnerColor = () => {
|
|
5862
|
+
if (this.disabled) {
|
|
5863
|
+
return "primary";
|
|
5864
|
+
}
|
|
5865
|
+
if (this.variation === "destructive-secondary") {
|
|
5866
|
+
return "color-status-foreground-danger-primary";
|
|
5867
|
+
}
|
|
5868
|
+
if (this.variation === "default" || this.variation.includes("secondary")) {
|
|
5869
|
+
return "primary";
|
|
5870
|
+
}
|
|
5871
|
+
if (this.variation.includes("destructive")) {
|
|
5872
|
+
return "gray-lightest";
|
|
5873
|
+
}
|
|
5874
|
+
return "currentColor";
|
|
5875
|
+
};
|
|
5876
|
+
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: {
|
|
5710
5877
|
"duet-button-icon": true,
|
|
5711
5878
|
left: !iconRight,
|
|
5712
5879
|
right: iconRight,
|
|
5713
5880
|
[this.getButtonIconSize()]: true,
|
|
5714
|
-
} }, hAsync("duet-icon", {
|
|
5881
|
+
} }, hAsync("duet-icon", { size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { class: "duet-button-contents-slot" }, hAsync("slot", null))));
|
|
5715
5882
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
5716
5883
|
const commonProps = {
|
|
5717
5884
|
onFocus: this.onFocus,
|
|
@@ -5746,7 +5913,7 @@ class DuetButton {
|
|
|
5746
5913
|
"aria-details": this.accessibleDetails,
|
|
5747
5914
|
"aria-description": this.accessibleDescription,
|
|
5748
5915
|
};
|
|
5749
|
-
return (hAsync(Host, {
|
|
5916
|
+
return (hAsync(Host, { class: {
|
|
5750
5917
|
"duet-m-0": this.margin === "none",
|
|
5751
5918
|
"duet-small": this.size === "small",
|
|
5752
5919
|
"duet-x-small": this.size === "x-small",
|
|
@@ -5754,13 +5921,13 @@ class DuetButton {
|
|
|
5754
5921
|
"duet-expand": this.expand,
|
|
5755
5922
|
[this.variation]: true,
|
|
5756
5923
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
5757
|
-
} }, hAsync("span", {
|
|
5924
|
+
} }, hAsync("span", { onClick: this.handleClick, class: {
|
|
5758
5925
|
"duet-button-container": true,
|
|
5759
5926
|
"duet-button-is-loading": this.loading,
|
|
5760
5927
|
"duet-theme-turva": this.theme === "turva",
|
|
5761
5928
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
5762
5929
|
[this.variation]: true,
|
|
5763
|
-
} }, 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", {
|
|
5930
|
+
} }, 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" })));
|
|
5764
5931
|
}
|
|
5765
5932
|
get element() { return getElement(this); }
|
|
5766
5933
|
static get style() { return duetButtonCss; }
|
|
@@ -5852,11 +6019,11 @@ class DuetCallout {
|
|
|
5852
6019
|
<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"/>
|
|
5853
6020
|
</svg>
|
|
5854
6021
|
`;
|
|
5855
|
-
return (hAsync(Host, { key: '
|
|
6022
|
+
return (hAsync(Host, { key: 'c491469b698a73c9a411cf3f660770be81879bd7' }, hAsync("div", { key: '4c7e1af2f3c229e617d04c0aaf1355bce04a2d6d', class: {
|
|
5856
6023
|
"duet-callout": true,
|
|
5857
6024
|
"duet-theme-turva": this.theme === "turva",
|
|
5858
6025
|
"duet-m-0": this.margin === "none",
|
|
5859
|
-
} }, hAsync("figure", { key: '
|
|
6026
|
+
} }, 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" })))))));
|
|
5860
6027
|
}
|
|
5861
6028
|
get element() { return getElement(this); }
|
|
5862
6029
|
static get style() { return duetCalloutCss; }
|
|
@@ -5906,13 +6073,13 @@ class DuetCaption {
|
|
|
5906
6073
|
* Always the last one in the class.
|
|
5907
6074
|
*/
|
|
5908
6075
|
render() {
|
|
5909
|
-
return (hAsync(Host, { key: '
|
|
6076
|
+
return (hAsync(Host, { key: 'f0006c630adf5dfdffecf1694f5f132b6bbfc285', class: {
|
|
5910
6077
|
"duet-caption": true,
|
|
5911
6078
|
"duet-caption-selected": this.selected,
|
|
5912
6079
|
"duet-caption-small": this.size === "small",
|
|
5913
6080
|
"duet-theme-turva": this.theme === "turva",
|
|
5914
6081
|
"duet-m-0": this.margin === "none",
|
|
5915
|
-
} }, hAsync("slot", { key: '
|
|
6082
|
+
} }, hAsync("slot", { key: '6d6fcee0296c8e2c445b048b3cde5a6fdee74f66' })));
|
|
5916
6083
|
}
|
|
5917
6084
|
get element() { return getElement(this); }
|
|
5918
6085
|
static get style() { return duetCaptionCss; }
|
|
@@ -6089,10 +6256,10 @@ class DuetCard {
|
|
|
6089
6256
|
const styles = {
|
|
6090
6257
|
backgroundColor: getColorByName(this.background),
|
|
6091
6258
|
};
|
|
6092
|
-
return (hAsync(Host, { key: '
|
|
6259
|
+
return (hAsync(Host, { key: '526da1b920f1be4a18d200ab81bc1951649cf3b2', class: {
|
|
6093
6260
|
"duet-m-0": this.margin === "none",
|
|
6094
6261
|
"duet-card-info": this.variation === "info",
|
|
6095
|
-
} }, hAsync(TagName, { key: '
|
|
6262
|
+
} }, hAsync(TagName, { key: '1cfae581c87423ea9d466fd39084b28505b01a77', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
6096
6263
|
"duet-card": true,
|
|
6097
6264
|
[this.padding]: true,
|
|
6098
6265
|
[this.variation]: true,
|
|
@@ -6102,7 +6269,7 @@ class DuetCard {
|
|
|
6102
6269
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
6103
6270
|
"duet-card-has-icon": !!this.icon,
|
|
6104
6271
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
6105
|
-
} }, this.image && (hAsync("div", { key: '
|
|
6272
|
+
} }, 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" })))))));
|
|
6106
6273
|
}
|
|
6107
6274
|
get element() { return getElement(this); }
|
|
6108
6275
|
static get style() { return duetCardCss; }
|
|
@@ -6287,11 +6454,11 @@ class DuetCheckbox {
|
|
|
6287
6454
|
*/
|
|
6288
6455
|
render() {
|
|
6289
6456
|
const identifier = this.identifier || this.checkboxId;
|
|
6290
|
-
return (hAsync(Host, { key: '
|
|
6457
|
+
return (hAsync(Host, { key: '969fef83a2c19f8bde9bbe4244282e8baf694dee', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '7dec18303e2eb5f1d03efcd8913ee16aac4279a5', class: {
|
|
6291
6458
|
"duet-checkbox-container": true,
|
|
6292
6459
|
"duet-label-hidden": this.labelHidden,
|
|
6293
6460
|
"duet-theme-turva": this.theme === "turva",
|
|
6294
|
-
} }, hAsync("input", { key: '
|
|
6461
|
+
} }, 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)))));
|
|
6295
6462
|
}
|
|
6296
6463
|
get element() { return getElement(this); }
|
|
6297
6464
|
static get style() { return duetCheckboxCss; }
|
|
@@ -6363,11 +6530,11 @@ class DuetCheckmark {
|
|
|
6363
6530
|
inheritGlobalTheme(this);
|
|
6364
6531
|
}
|
|
6365
6532
|
render() {
|
|
6366
|
-
return (hAsync(Host, { key: '
|
|
6533
|
+
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: {
|
|
6367
6534
|
"duet-checkmark-container": true,
|
|
6368
6535
|
center: this.center,
|
|
6369
6536
|
"duet-checkmark-radio": this.type === "radio",
|
|
6370
|
-
} }, this.checked && hAsync("div", { key: '
|
|
6537
|
+
} }, this.checked && hAsync("div", { key: 'ed62491f54edf398da1c22ae672683107b6aa8bc', class: "duet-checkmark" })))));
|
|
6371
6538
|
}
|
|
6372
6539
|
static get style() { return duetCheckmarkCss; }
|
|
6373
6540
|
static get cmpMeta() { return {
|
|
@@ -6719,7 +6886,7 @@ class DuetChip {
|
|
|
6719
6886
|
onBlur: this.onBlur,
|
|
6720
6887
|
ref: el => (this.focusableElement = el),
|
|
6721
6888
|
};
|
|
6722
|
-
return (hAsync(Host, { key: '
|
|
6889
|
+
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' }))))));
|
|
6723
6890
|
}
|
|
6724
6891
|
get element() { return getElement(this); }
|
|
6725
6892
|
static get watchers() { return {
|
|
@@ -7155,7 +7322,7 @@ class DuetChoice {
|
|
|
7155
7322
|
* Always the last one in the class.
|
|
7156
7323
|
*/
|
|
7157
7324
|
render() {
|
|
7158
|
-
return (hAsync(Host, { key: '
|
|
7325
|
+
return (hAsync(Host, { key: '20fca5910765c8cca647f5632a5b922957ab3295', class: {
|
|
7159
7326
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
7160
7327
|
[`horizontal-responsive-${this.groupResponsive}`]: this.groupDirection === "horizontal" && !!this.groupResponsive,
|
|
7161
7328
|
"vertical-stretch": this.groupDirection === "horizontal",
|
|
@@ -7164,10 +7331,10 @@ class DuetChoice {
|
|
|
7164
7331
|
"duet-theme-turva": this.theme === "turva",
|
|
7165
7332
|
"no-hover": this.isHovering,
|
|
7166
7333
|
disabled: this.getDisabled(),
|
|
7167
|
-
} }, hAsync("div", { key: '
|
|
7334
|
+
} }, hAsync("div", { key: 'fd4d2187540b58f67ba2215fb1e92ae80e1bda59', class: {
|
|
7168
7335
|
"duet-choice-card-flextainer": true,
|
|
7169
7336
|
"duet-theme-turva": this.theme === "turva",
|
|
7170
|
-
} }, hAsync("div", { key: '
|
|
7337
|
+
} }, hAsync("div", { key: '767518376936e2ac6b0317ed2961c9832a9540f9', class: {
|
|
7171
7338
|
"duet-choice-card": true,
|
|
7172
7339
|
"has-icon": !!this.icon,
|
|
7173
7340
|
"has-info": this.hasInfo,
|
|
@@ -7176,16 +7343,16 @@ class DuetChoice {
|
|
|
7176
7343
|
collapsible: this.collapsible,
|
|
7177
7344
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
7178
7345
|
"duet-p-0": this.padding === "none",
|
|
7179
|
-
} }, hAsync("slot", { key: '
|
|
7346
|
+
} }, hAsync("slot", { key: '3218ec3ce6232219942048b1dc4720e6544d5a8e', name: "choiceinput" }), hAsync("label", { key: '43d66fc0a5fbe3dc91ba24b1b9a61bfe1565c9c4', class: {
|
|
7180
7347
|
"duet-choice-label": true,
|
|
7181
7348
|
"has-before-text": this.hasBeforeText,
|
|
7182
7349
|
checked: this.checked,
|
|
7183
7350
|
focus: this.focus,
|
|
7184
7351
|
disabled: this.getDisabled(),
|
|
7185
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
7352
|
+
}, 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: {
|
|
7186
7353
|
"duet-choice-info-toggle": true,
|
|
7187
7354
|
"duet-theme-turva": this.theme === "turva",
|
|
7188
|
-
}, 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: '
|
|
7355
|
+
}, 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: {
|
|
7189
7356
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
7190
7357
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
7191
7358
|
} }, 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));
|
|
@@ -7414,14 +7581,14 @@ class DuetChoiceGroup {
|
|
|
7414
7581
|
* Always the last one in the class.
|
|
7415
7582
|
*/
|
|
7416
7583
|
render() {
|
|
7417
|
-
return (hAsync(Host, { key: '
|
|
7584
|
+
return (hAsync(Host, { key: '76d5ad8cc7a9f59c9ab08932b3e6e6596ff1f9d0', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, class: {
|
|
7418
7585
|
horizontal: this.direction === "horizontal",
|
|
7419
7586
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
7420
7587
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
7421
7588
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
7422
7589
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
7423
7590
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
7424
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
7591
|
+
} }, 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' })))));
|
|
7425
7592
|
}
|
|
7426
7593
|
get element() { return getElement(this); }
|
|
7427
7594
|
static get watchers() { return {
|
|
@@ -7475,16 +7642,46 @@ var arrowDownIcon = /*@__PURE__*/getDefaultExportFromCjs(actionArrowDownSmallExp
|
|
|
7475
7642
|
|
|
7476
7643
|
const color_background_accent_primary = "rgb(240, 247, 250)";
|
|
7477
7644
|
const color_background_accent_primary_turva = "rgb(253, 247, 242)";
|
|
7645
|
+
const color_background_accent_quaternary = "rgb(0, 119, 179)";
|
|
7646
|
+
const color_background_accent_quaternary_turva = "rgb(230, 23, 64)";
|
|
7478
7647
|
const color_background_accent_secondary = "rgb(228, 241, 247)";
|
|
7479
7648
|
const color_background_accent_secondary_turva = "rgb(251, 235, 225)";
|
|
7480
|
-
const color_background_accent_tertiary = "rgb(
|
|
7481
|
-
const color_background_accent_tertiary_turva = "rgb(
|
|
7649
|
+
const color_background_accent_tertiary = "rgb(217, 236, 245)";
|
|
7650
|
+
const color_background_accent_tertiary_turva = "rgb(251, 225, 209)";
|
|
7651
|
+
const color_background_disabled_primary = "rgb(245, 248, 250)";
|
|
7652
|
+
const color_background_disabled_primary_turva = "rgb(245, 246, 247)";
|
|
7653
|
+
const color_background_disabled_secondary = "rgb(228, 236, 239)";
|
|
7654
|
+
const color_background_disabled_secondary_turva = "rgb(228, 233, 237)";
|
|
7482
7655
|
const color_background_primary = "rgb(255, 255, 255)";
|
|
7483
7656
|
const color_background_primary_turva = "rgb(255, 255, 255)";
|
|
7484
7657
|
const color_background_secondary = "rgb(245, 248, 250)";
|
|
7485
7658
|
const color_background_secondary_turva = "rgb(245, 246, 247)";
|
|
7486
7659
|
const color_background_tertiary = "rgb(8, 42, 77)";
|
|
7487
7660
|
const color_background_tertiary_turva = "rgb(23, 42, 59)";
|
|
7661
|
+
const color_border_accent_primary = "rgb(0, 119, 179)";
|
|
7662
|
+
const color_border_accent_primary_turva = "rgb(230, 23, 64)";
|
|
7663
|
+
const color_border_accent_quaternary = "rgb(217, 236, 245)";
|
|
7664
|
+
const color_border_accent_quaternary_turva = "rgb(251, 225, 209)";
|
|
7665
|
+
const color_border_accent_secondary = "rgb(131, 188, 217)";
|
|
7666
|
+
const color_border_accent_secondary_turva = "rgb(243, 119, 133)";
|
|
7667
|
+
const color_border_accent_tertiary = "rgb(198, 225, 238)";
|
|
7668
|
+
const color_border_accent_tertiary_turva = "rgb(241, 202, 178)";
|
|
7669
|
+
const color_border_disabled_primary = "rgb(212, 223, 229)";
|
|
7670
|
+
const color_border_disabled_primary_turva = "rgb(212, 221, 226)";
|
|
7671
|
+
const color_border_disabled_secondary = "rgb(181, 198, 208)";
|
|
7672
|
+
const color_border_disabled_secondary_turva = "rgb(178, 194, 205)";
|
|
7673
|
+
const color_border_inverse_primary = "rgb(127, 150, 165)";
|
|
7674
|
+
const color_border_inverse_primary_turva = "rgb(120, 145, 164)";
|
|
7675
|
+
const color_border_inverse_secondary = "rgb(81, 105, 123)";
|
|
7676
|
+
const color_border_inverse_secondary_turva = "rgb(72, 100, 122)";
|
|
7677
|
+
const color_border_inverse_tertiary = "rgb(62, 84, 102)";
|
|
7678
|
+
const color_border_inverse_tertiary_turva = "rgb(53, 79, 101)";
|
|
7679
|
+
const color_border_primary = "rgb(127, 150, 165)";
|
|
7680
|
+
const color_border_primary_turva = "rgb(120, 145, 164)";
|
|
7681
|
+
const color_border_secondary = "rgb(181, 198, 208)";
|
|
7682
|
+
const color_border_secondary_turva = "rgb(178, 194, 205)";
|
|
7683
|
+
const color_border_tertiary = "rgb(212, 223, 229)";
|
|
7684
|
+
const color_border_tertiary_turva = "rgb(212, 221, 226)";
|
|
7488
7685
|
const color_brand_blue = "rgb(0, 161, 212)";
|
|
7489
7686
|
const color_brand_gray_turva = "rgb(178, 180, 179)";
|
|
7490
7687
|
const color_category_family = "rgb(11, 114, 136)";
|
|
@@ -7527,6 +7724,46 @@ const color_data_12 = "rgb(11, 114, 136)";
|
|
|
7527
7724
|
const color_data_13 = "rgb(179, 137, 24)";
|
|
7528
7725
|
const color_data_14 = "rgb(128, 98, 17)";
|
|
7529
7726
|
const color_data_15 = "rgb(0, 41, 77)";
|
|
7727
|
+
const color_domain_family = "rgb(11, 114, 136)";
|
|
7728
|
+
const color_domain_family_turva = "rgb(199, 12, 112)";
|
|
7729
|
+
const color_domain_finance = "rgb(122, 1, 196)";
|
|
7730
|
+
const color_domain_finance_turva = "rgb(122, 1, 196)";
|
|
7731
|
+
const color_domain_home = "rgb(211, 36, 131)";
|
|
7732
|
+
const color_domain_home_turva = "rgb(161, 10, 78)";
|
|
7733
|
+
const color_domain_pet = "rgb(168, 1, 78)";
|
|
7734
|
+
const color_domain_pet_turva = "rgb(168, 1, 78)";
|
|
7735
|
+
const color_domain_travel = "rgb(213, 66, 3)";
|
|
7736
|
+
const color_domain_travel_turva = "rgb(9, 129, 148)";
|
|
7737
|
+
const color_domain_vehicle = "rgb(54, 74, 129)";
|
|
7738
|
+
const color_domain_vehicle_turva = "rgb(23, 28, 58)";
|
|
7739
|
+
const color_foreground_accent_primary = "rgb(0, 119, 179)";
|
|
7740
|
+
const color_foreground_accent_primary_turva = "rgb(230, 23, 64)";
|
|
7741
|
+
const color_foreground_accent_secondary = "rgb(0, 97, 155)";
|
|
7742
|
+
const color_foreground_accent_secondary_turva = "rgb(185, 3, 41)";
|
|
7743
|
+
const color_foreground_accent_tertiary = "rgb(0, 75, 129)";
|
|
7744
|
+
const color_foreground_accent_tertiary_turva = "rgb(140, 0, 30)";
|
|
7745
|
+
const color_foreground_disabled_primary = "rgb(127, 150, 165)";
|
|
7746
|
+
const color_foreground_disabled_primary_turva = "rgb(120, 145, 164)";
|
|
7747
|
+
const color_foreground_disabled_secondary = "rgb(98, 121, 138)";
|
|
7748
|
+
const color_foreground_disabled_secondary_turva = "rgb(95, 122, 143)";
|
|
7749
|
+
const color_foreground_inverse_accent_primary = "rgb(131, 188, 217)";
|
|
7750
|
+
const color_foreground_inverse_accent_primary_turva = "rgb(243, 119, 133)";
|
|
7751
|
+
const color_foreground_inverse_accent_secondary = "rgb(172, 210, 229)";
|
|
7752
|
+
const color_foreground_inverse_accent_secondary_turva = "rgb(249, 164, 172)";
|
|
7753
|
+
const color_foreground_inverse_accent_tertiary = "rgb(198, 225, 238)";
|
|
7754
|
+
const color_foreground_inverse_accent_tertiary_turva = "rgb(255, 201, 204)";
|
|
7755
|
+
const color_foreground_inverse_primary = "rgb(255, 255, 255)";
|
|
7756
|
+
const color_foreground_inverse_primary_turva = "rgb(255, 255, 255)";
|
|
7757
|
+
const color_foreground_inverse_secondary = "rgb(181, 198, 208)";
|
|
7758
|
+
const color_foreground_inverse_secondary_turva = "rgb(178, 194, 205)";
|
|
7759
|
+
const color_foreground_inverse_tertiary = "rgb(127, 150, 165)";
|
|
7760
|
+
const color_foreground_inverse_tertiary_turva = "rgb(120, 145, 164)";
|
|
7761
|
+
const color_foreground_primary = "rgb(8, 42, 77)";
|
|
7762
|
+
const color_foreground_primary_turva = "rgb(23, 42, 59)";
|
|
7763
|
+
const color_foreground_secondary = "rgb(62, 84, 102)";
|
|
7764
|
+
const color_foreground_secondary_turva = "rgb(53, 79, 101)";
|
|
7765
|
+
const color_foreground_tertiary = "rgb(98, 121, 138)";
|
|
7766
|
+
const color_foreground_tertiary_turva = "rgb(95, 122, 143)";
|
|
7530
7767
|
const color_gray = "rgb(181, 198, 208)";
|
|
7531
7768
|
const color_gray_dark = "rgb(127, 150, 165)";
|
|
7532
7769
|
const color_gray_dark_turva = "rgb(120, 145, 164)";
|
|
@@ -7539,6 +7776,10 @@ const color_gray_lighter_turva = "rgb(245, 246, 247)";
|
|
|
7539
7776
|
const color_gray_lightest = "rgb(255, 255, 255)";
|
|
7540
7777
|
const color_gray_lightest_turva = "rgb(255, 255, 255)";
|
|
7541
7778
|
const color_gray_turva = "rgb(178, 194, 205)";
|
|
7779
|
+
const color_interactive_alternative = "rgb(0, 119, 179)";
|
|
7780
|
+
const color_interactive_alternative_light = "rgb(240, 247, 250)";
|
|
7781
|
+
const color_interactive_alternative_light_turva = "rgb(245, 246, 247)";
|
|
7782
|
+
const color_interactive_alternative_turva = "rgb(23, 42, 59)";
|
|
7542
7783
|
const color_lt_blue_00 = "rgb(240, 247, 250)";
|
|
7543
7784
|
const color_lt_blue_100 = "rgb(217, 236, 245)";
|
|
7544
7785
|
const color_lt_blue_1000 = "rgb(8, 42, 77)";
|
|
@@ -7578,11 +7819,11 @@ const color_primary_lightest_turva = "rgb(253, 247, 242)";
|
|
|
7578
7819
|
const color_primary_turva = "rgb(230, 23, 64)";
|
|
7579
7820
|
const color_secondary = "rgb(8, 42, 77)";
|
|
7580
7821
|
const color_secondary_turva = "rgb(23, 42, 59)";
|
|
7581
|
-
const color_status_background_danger_primary = "rgb(255,
|
|
7822
|
+
const color_status_background_danger_primary = "rgb(255, 240, 243)";
|
|
7582
7823
|
const color_status_background_danger_quaternary = "rgb(185, 16, 74)";
|
|
7583
7824
|
const color_status_background_danger_secondary = "rgb(255, 211, 219)";
|
|
7584
7825
|
const color_status_background_danger_tertiary = "rgb(214, 28, 82)";
|
|
7585
|
-
const color_status_background_info_primary = "rgb(
|
|
7826
|
+
const color_status_background_info_primary = "rgb(240, 247, 250)";
|
|
7586
7827
|
const color_status_background_info_quaternary = "rgb(0, 97, 155)";
|
|
7587
7828
|
const color_status_background_info_secondary = "rgb(217, 236, 245)";
|
|
7588
7829
|
const color_status_background_info_tertiary = "rgb(0, 119, 179)";
|
|
@@ -7784,16 +8025,46 @@ const z_index_toast = "500";
|
|
|
7784
8025
|
var tokens = {
|
|
7785
8026
|
color_background_accent_primary: color_background_accent_primary,
|
|
7786
8027
|
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
8028
|
+
color_background_accent_quaternary: color_background_accent_quaternary,
|
|
8029
|
+
color_background_accent_quaternary_turva: color_background_accent_quaternary_turva,
|
|
7787
8030
|
color_background_accent_secondary: color_background_accent_secondary,
|
|
7788
8031
|
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
7789
8032
|
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
7790
8033
|
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
8034
|
+
color_background_disabled_primary: color_background_disabled_primary,
|
|
8035
|
+
color_background_disabled_primary_turva: color_background_disabled_primary_turva,
|
|
8036
|
+
color_background_disabled_secondary: color_background_disabled_secondary,
|
|
8037
|
+
color_background_disabled_secondary_turva: color_background_disabled_secondary_turva,
|
|
7791
8038
|
color_background_primary: color_background_primary,
|
|
7792
8039
|
color_background_primary_turva: color_background_primary_turva,
|
|
7793
8040
|
color_background_secondary: color_background_secondary,
|
|
7794
8041
|
color_background_secondary_turva: color_background_secondary_turva,
|
|
7795
8042
|
color_background_tertiary: color_background_tertiary,
|
|
7796
8043
|
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
8044
|
+
color_border_accent_primary: color_border_accent_primary,
|
|
8045
|
+
color_border_accent_primary_turva: color_border_accent_primary_turva,
|
|
8046
|
+
color_border_accent_quaternary: color_border_accent_quaternary,
|
|
8047
|
+
color_border_accent_quaternary_turva: color_border_accent_quaternary_turva,
|
|
8048
|
+
color_border_accent_secondary: color_border_accent_secondary,
|
|
8049
|
+
color_border_accent_secondary_turva: color_border_accent_secondary_turva,
|
|
8050
|
+
color_border_accent_tertiary: color_border_accent_tertiary,
|
|
8051
|
+
color_border_accent_tertiary_turva: color_border_accent_tertiary_turva,
|
|
8052
|
+
color_border_disabled_primary: color_border_disabled_primary,
|
|
8053
|
+
color_border_disabled_primary_turva: color_border_disabled_primary_turva,
|
|
8054
|
+
color_border_disabled_secondary: color_border_disabled_secondary,
|
|
8055
|
+
color_border_disabled_secondary_turva: color_border_disabled_secondary_turva,
|
|
8056
|
+
color_border_inverse_primary: color_border_inverse_primary,
|
|
8057
|
+
color_border_inverse_primary_turva: color_border_inverse_primary_turva,
|
|
8058
|
+
color_border_inverse_secondary: color_border_inverse_secondary,
|
|
8059
|
+
color_border_inverse_secondary_turva: color_border_inverse_secondary_turva,
|
|
8060
|
+
color_border_inverse_tertiary: color_border_inverse_tertiary,
|
|
8061
|
+
color_border_inverse_tertiary_turva: color_border_inverse_tertiary_turva,
|
|
8062
|
+
color_border_primary: color_border_primary,
|
|
8063
|
+
color_border_primary_turva: color_border_primary_turva,
|
|
8064
|
+
color_border_secondary: color_border_secondary,
|
|
8065
|
+
color_border_secondary_turva: color_border_secondary_turva,
|
|
8066
|
+
color_border_tertiary: color_border_tertiary,
|
|
8067
|
+
color_border_tertiary_turva: color_border_tertiary_turva,
|
|
7797
8068
|
color_brand_blue: color_brand_blue,
|
|
7798
8069
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
7799
8070
|
color_category_family: color_category_family,
|
|
@@ -7836,6 +8107,46 @@ var tokens = {
|
|
|
7836
8107
|
color_data_13: color_data_13,
|
|
7837
8108
|
color_data_14: color_data_14,
|
|
7838
8109
|
color_data_15: color_data_15,
|
|
8110
|
+
color_domain_family: color_domain_family,
|
|
8111
|
+
color_domain_family_turva: color_domain_family_turva,
|
|
8112
|
+
color_domain_finance: color_domain_finance,
|
|
8113
|
+
color_domain_finance_turva: color_domain_finance_turva,
|
|
8114
|
+
color_domain_home: color_domain_home,
|
|
8115
|
+
color_domain_home_turva: color_domain_home_turva,
|
|
8116
|
+
color_domain_pet: color_domain_pet,
|
|
8117
|
+
color_domain_pet_turva: color_domain_pet_turva,
|
|
8118
|
+
color_domain_travel: color_domain_travel,
|
|
8119
|
+
color_domain_travel_turva: color_domain_travel_turva,
|
|
8120
|
+
color_domain_vehicle: color_domain_vehicle,
|
|
8121
|
+
color_domain_vehicle_turva: color_domain_vehicle_turva,
|
|
8122
|
+
color_foreground_accent_primary: color_foreground_accent_primary,
|
|
8123
|
+
color_foreground_accent_primary_turva: color_foreground_accent_primary_turva,
|
|
8124
|
+
color_foreground_accent_secondary: color_foreground_accent_secondary,
|
|
8125
|
+
color_foreground_accent_secondary_turva: color_foreground_accent_secondary_turva,
|
|
8126
|
+
color_foreground_accent_tertiary: color_foreground_accent_tertiary,
|
|
8127
|
+
color_foreground_accent_tertiary_turva: color_foreground_accent_tertiary_turva,
|
|
8128
|
+
color_foreground_disabled_primary: color_foreground_disabled_primary,
|
|
8129
|
+
color_foreground_disabled_primary_turva: color_foreground_disabled_primary_turva,
|
|
8130
|
+
color_foreground_disabled_secondary: color_foreground_disabled_secondary,
|
|
8131
|
+
color_foreground_disabled_secondary_turva: color_foreground_disabled_secondary_turva,
|
|
8132
|
+
color_foreground_inverse_accent_primary: color_foreground_inverse_accent_primary,
|
|
8133
|
+
color_foreground_inverse_accent_primary_turva: color_foreground_inverse_accent_primary_turva,
|
|
8134
|
+
color_foreground_inverse_accent_secondary: color_foreground_inverse_accent_secondary,
|
|
8135
|
+
color_foreground_inverse_accent_secondary_turva: color_foreground_inverse_accent_secondary_turva,
|
|
8136
|
+
color_foreground_inverse_accent_tertiary: color_foreground_inverse_accent_tertiary,
|
|
8137
|
+
color_foreground_inverse_accent_tertiary_turva: color_foreground_inverse_accent_tertiary_turva,
|
|
8138
|
+
color_foreground_inverse_primary: color_foreground_inverse_primary,
|
|
8139
|
+
color_foreground_inverse_primary_turva: color_foreground_inverse_primary_turva,
|
|
8140
|
+
color_foreground_inverse_secondary: color_foreground_inverse_secondary,
|
|
8141
|
+
color_foreground_inverse_secondary_turva: color_foreground_inverse_secondary_turva,
|
|
8142
|
+
color_foreground_inverse_tertiary: color_foreground_inverse_tertiary,
|
|
8143
|
+
color_foreground_inverse_tertiary_turva: color_foreground_inverse_tertiary_turva,
|
|
8144
|
+
color_foreground_primary: color_foreground_primary,
|
|
8145
|
+
color_foreground_primary_turva: color_foreground_primary_turva,
|
|
8146
|
+
color_foreground_secondary: color_foreground_secondary,
|
|
8147
|
+
color_foreground_secondary_turva: color_foreground_secondary_turva,
|
|
8148
|
+
color_foreground_tertiary: color_foreground_tertiary,
|
|
8149
|
+
color_foreground_tertiary_turva: color_foreground_tertiary_turva,
|
|
7839
8150
|
color_gray: color_gray,
|
|
7840
8151
|
color_gray_dark: color_gray_dark,
|
|
7841
8152
|
color_gray_dark_turva: color_gray_dark_turva,
|
|
@@ -7848,6 +8159,10 @@ var tokens = {
|
|
|
7848
8159
|
color_gray_lightest: color_gray_lightest,
|
|
7849
8160
|
color_gray_lightest_turva: color_gray_lightest_turva,
|
|
7850
8161
|
color_gray_turva: color_gray_turva,
|
|
8162
|
+
color_interactive_alternative: color_interactive_alternative,
|
|
8163
|
+
color_interactive_alternative_light: color_interactive_alternative_light,
|
|
8164
|
+
color_interactive_alternative_light_turva: color_interactive_alternative_light_turva,
|
|
8165
|
+
color_interactive_alternative_turva: color_interactive_alternative_turva,
|
|
7851
8166
|
color_lt_blue_00: color_lt_blue_00,
|
|
7852
8167
|
color_lt_blue_100: color_lt_blue_100,
|
|
7853
8168
|
color_lt_blue_1000: color_lt_blue_1000,
|
|
@@ -8096,16 +8411,46 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8096
8411
|
__proto__: null,
|
|
8097
8412
|
color_background_accent_primary: color_background_accent_primary,
|
|
8098
8413
|
color_background_accent_primary_turva: color_background_accent_primary_turva,
|
|
8414
|
+
color_background_accent_quaternary: color_background_accent_quaternary,
|
|
8415
|
+
color_background_accent_quaternary_turva: color_background_accent_quaternary_turva,
|
|
8099
8416
|
color_background_accent_secondary: color_background_accent_secondary,
|
|
8100
8417
|
color_background_accent_secondary_turva: color_background_accent_secondary_turva,
|
|
8101
8418
|
color_background_accent_tertiary: color_background_accent_tertiary,
|
|
8102
8419
|
color_background_accent_tertiary_turva: color_background_accent_tertiary_turva,
|
|
8420
|
+
color_background_disabled_primary: color_background_disabled_primary,
|
|
8421
|
+
color_background_disabled_primary_turva: color_background_disabled_primary_turva,
|
|
8422
|
+
color_background_disabled_secondary: color_background_disabled_secondary,
|
|
8423
|
+
color_background_disabled_secondary_turva: color_background_disabled_secondary_turva,
|
|
8103
8424
|
color_background_primary: color_background_primary,
|
|
8104
8425
|
color_background_primary_turva: color_background_primary_turva,
|
|
8105
8426
|
color_background_secondary: color_background_secondary,
|
|
8106
8427
|
color_background_secondary_turva: color_background_secondary_turva,
|
|
8107
8428
|
color_background_tertiary: color_background_tertiary,
|
|
8108
8429
|
color_background_tertiary_turva: color_background_tertiary_turva,
|
|
8430
|
+
color_border_accent_primary: color_border_accent_primary,
|
|
8431
|
+
color_border_accent_primary_turva: color_border_accent_primary_turva,
|
|
8432
|
+
color_border_accent_quaternary: color_border_accent_quaternary,
|
|
8433
|
+
color_border_accent_quaternary_turva: color_border_accent_quaternary_turva,
|
|
8434
|
+
color_border_accent_secondary: color_border_accent_secondary,
|
|
8435
|
+
color_border_accent_secondary_turva: color_border_accent_secondary_turva,
|
|
8436
|
+
color_border_accent_tertiary: color_border_accent_tertiary,
|
|
8437
|
+
color_border_accent_tertiary_turva: color_border_accent_tertiary_turva,
|
|
8438
|
+
color_border_disabled_primary: color_border_disabled_primary,
|
|
8439
|
+
color_border_disabled_primary_turva: color_border_disabled_primary_turva,
|
|
8440
|
+
color_border_disabled_secondary: color_border_disabled_secondary,
|
|
8441
|
+
color_border_disabled_secondary_turva: color_border_disabled_secondary_turva,
|
|
8442
|
+
color_border_inverse_primary: color_border_inverse_primary,
|
|
8443
|
+
color_border_inverse_primary_turva: color_border_inverse_primary_turva,
|
|
8444
|
+
color_border_inverse_secondary: color_border_inverse_secondary,
|
|
8445
|
+
color_border_inverse_secondary_turva: color_border_inverse_secondary_turva,
|
|
8446
|
+
color_border_inverse_tertiary: color_border_inverse_tertiary,
|
|
8447
|
+
color_border_inverse_tertiary_turva: color_border_inverse_tertiary_turva,
|
|
8448
|
+
color_border_primary: color_border_primary,
|
|
8449
|
+
color_border_primary_turva: color_border_primary_turva,
|
|
8450
|
+
color_border_secondary: color_border_secondary,
|
|
8451
|
+
color_border_secondary_turva: color_border_secondary_turva,
|
|
8452
|
+
color_border_tertiary: color_border_tertiary,
|
|
8453
|
+
color_border_tertiary_turva: color_border_tertiary_turva,
|
|
8109
8454
|
color_brand_blue: color_brand_blue,
|
|
8110
8455
|
color_brand_gray_turva: color_brand_gray_turva,
|
|
8111
8456
|
color_category_family: color_category_family,
|
|
@@ -8148,6 +8493,46 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8148
8493
|
color_data_13: color_data_13,
|
|
8149
8494
|
color_data_14: color_data_14,
|
|
8150
8495
|
color_data_15: color_data_15,
|
|
8496
|
+
color_domain_family: color_domain_family,
|
|
8497
|
+
color_domain_family_turva: color_domain_family_turva,
|
|
8498
|
+
color_domain_finance: color_domain_finance,
|
|
8499
|
+
color_domain_finance_turva: color_domain_finance_turva,
|
|
8500
|
+
color_domain_home: color_domain_home,
|
|
8501
|
+
color_domain_home_turva: color_domain_home_turva,
|
|
8502
|
+
color_domain_pet: color_domain_pet,
|
|
8503
|
+
color_domain_pet_turva: color_domain_pet_turva,
|
|
8504
|
+
color_domain_travel: color_domain_travel,
|
|
8505
|
+
color_domain_travel_turva: color_domain_travel_turva,
|
|
8506
|
+
color_domain_vehicle: color_domain_vehicle,
|
|
8507
|
+
color_domain_vehicle_turva: color_domain_vehicle_turva,
|
|
8508
|
+
color_foreground_accent_primary: color_foreground_accent_primary,
|
|
8509
|
+
color_foreground_accent_primary_turva: color_foreground_accent_primary_turva,
|
|
8510
|
+
color_foreground_accent_secondary: color_foreground_accent_secondary,
|
|
8511
|
+
color_foreground_accent_secondary_turva: color_foreground_accent_secondary_turva,
|
|
8512
|
+
color_foreground_accent_tertiary: color_foreground_accent_tertiary,
|
|
8513
|
+
color_foreground_accent_tertiary_turva: color_foreground_accent_tertiary_turva,
|
|
8514
|
+
color_foreground_disabled_primary: color_foreground_disabled_primary,
|
|
8515
|
+
color_foreground_disabled_primary_turva: color_foreground_disabled_primary_turva,
|
|
8516
|
+
color_foreground_disabled_secondary: color_foreground_disabled_secondary,
|
|
8517
|
+
color_foreground_disabled_secondary_turva: color_foreground_disabled_secondary_turva,
|
|
8518
|
+
color_foreground_inverse_accent_primary: color_foreground_inverse_accent_primary,
|
|
8519
|
+
color_foreground_inverse_accent_primary_turva: color_foreground_inverse_accent_primary_turva,
|
|
8520
|
+
color_foreground_inverse_accent_secondary: color_foreground_inverse_accent_secondary,
|
|
8521
|
+
color_foreground_inverse_accent_secondary_turva: color_foreground_inverse_accent_secondary_turva,
|
|
8522
|
+
color_foreground_inverse_accent_tertiary: color_foreground_inverse_accent_tertiary,
|
|
8523
|
+
color_foreground_inverse_accent_tertiary_turva: color_foreground_inverse_accent_tertiary_turva,
|
|
8524
|
+
color_foreground_inverse_primary: color_foreground_inverse_primary,
|
|
8525
|
+
color_foreground_inverse_primary_turva: color_foreground_inverse_primary_turva,
|
|
8526
|
+
color_foreground_inverse_secondary: color_foreground_inverse_secondary,
|
|
8527
|
+
color_foreground_inverse_secondary_turva: color_foreground_inverse_secondary_turva,
|
|
8528
|
+
color_foreground_inverse_tertiary: color_foreground_inverse_tertiary,
|
|
8529
|
+
color_foreground_inverse_tertiary_turva: color_foreground_inverse_tertiary_turva,
|
|
8530
|
+
color_foreground_primary: color_foreground_primary,
|
|
8531
|
+
color_foreground_primary_turva: color_foreground_primary_turva,
|
|
8532
|
+
color_foreground_secondary: color_foreground_secondary,
|
|
8533
|
+
color_foreground_secondary_turva: color_foreground_secondary_turva,
|
|
8534
|
+
color_foreground_tertiary: color_foreground_tertiary,
|
|
8535
|
+
color_foreground_tertiary_turva: color_foreground_tertiary_turva,
|
|
8151
8536
|
color_gray: color_gray,
|
|
8152
8537
|
color_gray_dark: color_gray_dark,
|
|
8153
8538
|
color_gray_dark_turva: color_gray_dark_turva,
|
|
@@ -8160,6 +8545,10 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
8160
8545
|
color_gray_lightest: color_gray_lightest,
|
|
8161
8546
|
color_gray_lightest_turva: color_gray_lightest_turva,
|
|
8162
8547
|
color_gray_turva: color_gray_turva,
|
|
8548
|
+
color_interactive_alternative: color_interactive_alternative,
|
|
8549
|
+
color_interactive_alternative_light: color_interactive_alternative_light,
|
|
8550
|
+
color_interactive_alternative_light_turva: color_interactive_alternative_light_turva,
|
|
8551
|
+
color_interactive_alternative_turva: color_interactive_alternative_turva,
|
|
8163
8552
|
color_lt_blue_00: color_lt_blue_00,
|
|
8164
8553
|
color_lt_blue_100: color_lt_blue_100,
|
|
8165
8554
|
color_lt_blue_1000: color_lt_blue_1000,
|
|
@@ -8578,7 +8967,7 @@ class DuetCollapsible {
|
|
|
8578
8967
|
*/
|
|
8579
8968
|
render() {
|
|
8580
8969
|
const HeadingTagName = this.headingTags.includes(this.headingLevel) ? this.headingLevel : "div";
|
|
8581
|
-
return (hAsync(Host, { key: '
|
|
8970
|
+
return (hAsync(Host, { key: 'b19b694f6710f4338d26580dea95463eefaa30d4', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '47062fe8e280b4c2489ebe9ba784e6211ecac9e3' }, hAsync("button", { key: '5e635b36739a5ab604c5d523435522b83bddcd56', class: {
|
|
8582
8971
|
"duet-collapsible-heading": true,
|
|
8583
8972
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
8584
8973
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -8586,7 +8975,7 @@ class DuetCollapsible {
|
|
|
8586
8975
|
"has-after-heading": this.hasAfterHeadingSlot,
|
|
8587
8976
|
"full-width": this.headingFullWidth,
|
|
8588
8977
|
"has-caption": !!this.caption,
|
|
8589
|
-
}, 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: '
|
|
8978
|
+
}, 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' }))));
|
|
8590
8979
|
}
|
|
8591
8980
|
get element() { return getElement(this); }
|
|
8592
8981
|
static get style() { return duetCollapsibleCss; }
|
|
@@ -9288,10 +9677,10 @@ class DuetContactCard {
|
|
|
9288
9677
|
render() {
|
|
9289
9678
|
const isTurva = this.theme === "turva";
|
|
9290
9679
|
const theme = isTurva ? "turva" : "default";
|
|
9291
|
-
return (hAsync(Host, { key: '
|
|
9680
|
+
return (hAsync(Host, { key: 'a08fac4daef7586a885d4556d27260feb027d4fb', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd70cc29e06be46210e3150661f16bcf19fab27b1', class: {
|
|
9292
9681
|
"duet-contact-card": true,
|
|
9293
9682
|
"duet-theme-turva": this.theme === "turva",
|
|
9294
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
9683
|
+
}, 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' }))));
|
|
9295
9684
|
}
|
|
9296
9685
|
get element() { return getElement(this); }
|
|
9297
9686
|
static get style() { return duetContactCardCss; }
|
|
@@ -9363,7 +9752,7 @@ class DuetCookieConsent {
|
|
|
9363
9752
|
* Always the last one in the class.
|
|
9364
9753
|
*/
|
|
9365
9754
|
render() {
|
|
9366
|
-
return (hAsync(Host, { key: '
|
|
9755
|
+
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"))))));
|
|
9367
9756
|
}
|
|
9368
9757
|
get element() { return getElement(this); }
|
|
9369
9758
|
static get style() { return duetCookieConsentCss; }
|
|
@@ -9566,13 +9955,14 @@ function createDate(year, month, day) {
|
|
|
9566
9955
|
}
|
|
9567
9956
|
return date;
|
|
9568
9957
|
}
|
|
9958
|
+
return undefined;
|
|
9569
9959
|
}
|
|
9570
9960
|
/**
|
|
9571
9961
|
* @param value date string in format dd.mm.yyyy
|
|
9572
9962
|
*/
|
|
9573
9963
|
function parseDate(value) {
|
|
9574
9964
|
if (!value) {
|
|
9575
|
-
return;
|
|
9965
|
+
return undefined;
|
|
9576
9966
|
}
|
|
9577
9967
|
const matches = value.match(DATE_FORMAT);
|
|
9578
9968
|
if (matches) {
|
|
@@ -9817,7 +10207,7 @@ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, langu
|
|
|
9817
10207
|
} }))))))))));
|
|
9818
10208
|
};
|
|
9819
10209
|
|
|
9820
|
-
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)}";
|
|
10210
|
+
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)}";
|
|
9821
10211
|
|
|
9822
10212
|
/**
|
|
9823
10213
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
@@ -9861,7 +10251,6 @@ class DuetDatePicker {
|
|
|
9861
10251
|
this.focusedDay = new Date();
|
|
9862
10252
|
this.inputValue = "";
|
|
9863
10253
|
this.inputHasFocus = false;
|
|
9864
|
-
this.internalValidityError = "";
|
|
9865
10254
|
/**
|
|
9866
10255
|
* Theme of the component.
|
|
9867
10256
|
*/
|
|
@@ -9989,10 +10378,9 @@ class DuetDatePicker {
|
|
|
9989
10378
|
this.handleBlur = (event) => {
|
|
9990
10379
|
event.stopPropagation();
|
|
9991
10380
|
this.inputHasFocus = false;
|
|
9992
|
-
if (!this._validity.valid) {
|
|
9993
|
-
this.value = null;
|
|
10381
|
+
if (!this._validity.valid && !this.disableBuiltInErrors) {
|
|
9994
10382
|
const errorKey = Object.entries(this._validity).find(entry => !!entry[1])[0];
|
|
9995
|
-
this.
|
|
10383
|
+
this.error = getLocaleString(this.dateErrorMessages[errorKey]);
|
|
9996
10384
|
}
|
|
9997
10385
|
this.duetBlur.emit({
|
|
9998
10386
|
component: "duet-date-picker",
|
|
@@ -10068,7 +10456,6 @@ class DuetDatePicker {
|
|
|
10068
10456
|
this.handleDaySelect = (_event, day) => {
|
|
10069
10457
|
const min = parseISODate(this.min);
|
|
10070
10458
|
const max = parseISODate(this.max);
|
|
10071
|
-
this.determineValidity(day);
|
|
10072
10459
|
if (inRange(day, min, max)) {
|
|
10073
10460
|
this.setValue(day);
|
|
10074
10461
|
this.hide();
|
|
@@ -10083,10 +10470,7 @@ class DuetDatePicker {
|
|
|
10083
10470
|
this.handleInputChange = (e) => {
|
|
10084
10471
|
this.inputValue = e.detail.value;
|
|
10085
10472
|
const parsed = parseDate(this.inputValue);
|
|
10086
|
-
this.
|
|
10087
|
-
if (parsed || this.inputValue === "") {
|
|
10088
|
-
this.setValue(parsed);
|
|
10089
|
-
}
|
|
10473
|
+
this.setValue(parsed);
|
|
10090
10474
|
};
|
|
10091
10475
|
}
|
|
10092
10476
|
/**
|
|
@@ -10095,19 +10479,15 @@ class DuetDatePicker {
|
|
|
10095
10479
|
* Useful properties to inspect are badInput, valueMissing, rangeOverflow, rangeUnderflow.
|
|
10096
10480
|
*/
|
|
10097
10481
|
get validity() {
|
|
10482
|
+
this.determineValidity();
|
|
10098
10483
|
return this._validity;
|
|
10099
10484
|
}
|
|
10100
|
-
updateValidity(
|
|
10101
|
-
|
|
10102
|
-
return;
|
|
10103
|
-
}
|
|
10104
|
-
this.determineValidity(parseISODate(this.value));
|
|
10105
|
-
if (this._validity.valid) {
|
|
10106
|
-
this.internalValidityError = "";
|
|
10107
|
-
}
|
|
10485
|
+
updateValidity() {
|
|
10486
|
+
this.determineValidity();
|
|
10108
10487
|
}
|
|
10109
10488
|
updateInternalValue() {
|
|
10110
|
-
|
|
10489
|
+
// don't clear input when user has focus there
|
|
10490
|
+
if (!this.value && this.inputHasFocus) {
|
|
10111
10491
|
return;
|
|
10112
10492
|
}
|
|
10113
10493
|
const parsedValue = parseISODate(this.value);
|
|
@@ -10126,7 +10506,7 @@ class DuetDatePicker {
|
|
|
10126
10506
|
*/
|
|
10127
10507
|
componentWillLoad() {
|
|
10128
10508
|
inheritGlobalTheme(this);
|
|
10129
|
-
this.determineValidity(
|
|
10509
|
+
this.determineValidity();
|
|
10130
10510
|
this.updateInternalValue();
|
|
10131
10511
|
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
10132
10512
|
}
|
|
@@ -10212,13 +10592,14 @@ class DuetDatePicker {
|
|
|
10212
10592
|
setFocusedDay(day) {
|
|
10213
10593
|
this.focusedDay = clamp$2(day, parseISODate(this.min), parseISODate(this.max));
|
|
10214
10594
|
}
|
|
10215
|
-
determineValidity(
|
|
10595
|
+
determineValidity() {
|
|
10216
10596
|
var _a, _b;
|
|
10597
|
+
const valueAsDate = parseISODate(this.value);
|
|
10217
10598
|
const inputValue = (_b = (_a = this.datePickerInput) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "";
|
|
10218
|
-
const badInput = inputValue !== ""
|
|
10219
|
-
const valueMissing = this.required
|
|
10220
|
-
const rangeOverflow =
|
|
10221
|
-
const rangeUnderflow =
|
|
10599
|
+
const badInput = !valueAsDate && inputValue !== "";
|
|
10600
|
+
const valueMissing = !valueAsDate && this.required;
|
|
10601
|
+
const rangeOverflow = valueAsDate ? !inRange(valueAsDate, null, parseISODate(this.max)) : false;
|
|
10602
|
+
const rangeUnderflow = valueAsDate ? !inRange(valueAsDate, parseISODate(this.min)) : false;
|
|
10222
10603
|
this._validity = {
|
|
10223
10604
|
patternMismatch: false,
|
|
10224
10605
|
customError: false,
|
|
@@ -10232,6 +10613,9 @@ class DuetDatePicker {
|
|
|
10232
10613
|
valueMissing,
|
|
10233
10614
|
valid: !(valueMissing || badInput || rangeUnderflow || rangeOverflow),
|
|
10234
10615
|
};
|
|
10616
|
+
if (this._validity.valid) {
|
|
10617
|
+
this.error = "";
|
|
10618
|
+
}
|
|
10235
10619
|
}
|
|
10236
10620
|
setValue(date) {
|
|
10237
10621
|
const newValue = printISODate(date);
|
|
@@ -10239,6 +10623,7 @@ class DuetDatePicker {
|
|
|
10239
10623
|
return;
|
|
10240
10624
|
}
|
|
10241
10625
|
this.value = newValue;
|
|
10626
|
+
this.determineValidity();
|
|
10242
10627
|
this.duetChange.emit({
|
|
10243
10628
|
component: "duet-date-picker",
|
|
10244
10629
|
value: this.value,
|
|
@@ -10289,13 +10674,13 @@ class DuetDatePicker {
|
|
|
10289
10674
|
if (maxDate) {
|
|
10290
10675
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
10291
10676
|
}
|
|
10292
|
-
return (hAsync(Host, { key: '
|
|
10677
|
+
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: {
|
|
10293
10678
|
"duet-theme-turva": this.theme === "turva",
|
|
10294
10679
|
"duet-date-dialog": true,
|
|
10295
10680
|
left: this.direction === "left",
|
|
10296
10681
|
error: !!this.error,
|
|
10297
10682
|
active: this.open,
|
|
10298
|
-
}, 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: '
|
|
10683
|
+
}, 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 }))));
|
|
10299
10684
|
}
|
|
10300
10685
|
get element() { return getElement(this); }
|
|
10301
10686
|
static get watchers() { return {
|
|
@@ -10321,7 +10706,7 @@ class DuetDatePicker {
|
|
|
10321
10706
|
"placeholder": [1025],
|
|
10322
10707
|
"echoPlaceholder": [1540, "echo-placeholder"],
|
|
10323
10708
|
"disabled": [516],
|
|
10324
|
-
"error": [
|
|
10709
|
+
"error": [1537],
|
|
10325
10710
|
"disableBuiltInErrors": [4, "disable-built-in-errors"],
|
|
10326
10711
|
"labelHidden": [4, "label-hidden"],
|
|
10327
10712
|
"role": [1],
|
|
@@ -10343,7 +10728,6 @@ class DuetDatePicker {
|
|
|
10343
10728
|
"focusedDay": [32],
|
|
10344
10729
|
"inputValue": [32],
|
|
10345
10730
|
"inputHasFocus": [32],
|
|
10346
|
-
"internalValidityError": [32],
|
|
10347
10731
|
"setFocus": [64],
|
|
10348
10732
|
"show": [64],
|
|
10349
10733
|
"hide": [64]
|
|
@@ -10385,7 +10769,7 @@ class DuetDivider {
|
|
|
10385
10769
|
*/
|
|
10386
10770
|
render() {
|
|
10387
10771
|
const background = getColorByName(this.color);
|
|
10388
|
-
return (hAsync("div", { key: '
|
|
10772
|
+
return (hAsync("div", { key: 'a833c22a31c93caea94753696848ad720b5dc06d', class: {
|
|
10389
10773
|
"duet-m-0": this.margin === "none",
|
|
10390
10774
|
"duet-m-s": this.margin === "small",
|
|
10391
10775
|
"duet-divider": true,
|
|
@@ -10623,7 +11007,7 @@ class DuetEditableTable {
|
|
|
10623
11007
|
* Render Methods
|
|
10624
11008
|
*/
|
|
10625
11009
|
render() {
|
|
10626
|
-
return (hAsync(Host, { key: '
|
|
11010
|
+
return (hAsync(Host, { key: 'a0c3202194fcc3910b50193f2a4fcb3bd7d3a5d8', class: {
|
|
10627
11011
|
[`duet-editable-table-${this.variation}`]: true,
|
|
10628
11012
|
"duet-editable-table": true,
|
|
10629
11013
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -10633,7 +11017,7 @@ class DuetEditableTable {
|
|
|
10633
11017
|
"duet-editable-table-actions": !!this.actions,
|
|
10634
11018
|
"duet-m-0": this.margin === "none",
|
|
10635
11019
|
"duet-theme-turva": this.theme === "turva",
|
|
10636
|
-
} }, hAsync("duet-table", { key: '
|
|
11020
|
+
} }, 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" })))))))));
|
|
10637
11021
|
}
|
|
10638
11022
|
get element() { return getElement(this); }
|
|
10639
11023
|
static get style() { return duetEditableTableCss; }
|
|
@@ -10691,11 +11075,11 @@ class DuetEmptyState {
|
|
|
10691
11075
|
* Always the last one in the class.
|
|
10692
11076
|
*/
|
|
10693
11077
|
render() {
|
|
10694
|
-
return (hAsync(Host, { key: '
|
|
11078
|
+
return (hAsync(Host, { key: '9018087936c4abe5adead5d4fe62991ea84b3dc1' }, hAsync("div", { key: 'a0aa84fb06673f4d741891019a98fd7d4f03b174', class: {
|
|
10695
11079
|
"duet-empty-state": true,
|
|
10696
11080
|
"duet-theme-turva": this.theme === "turva",
|
|
10697
11081
|
"duet-is-small": this.size === "small",
|
|
10698
|
-
} }, hAsync("duet-icon", { key: '
|
|
11082
|
+
} }, 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' })))));
|
|
10699
11083
|
}
|
|
10700
11084
|
get element() { return getElement(this); }
|
|
10701
11085
|
static get style() { return duetEmptyStateCss; }
|
|
@@ -10786,20 +11170,20 @@ class DuetFieldset {
|
|
|
10786
11170
|
* Always the last one in the class.
|
|
10787
11171
|
*/
|
|
10788
11172
|
render() {
|
|
10789
|
-
return (hAsync(Host, { key: '
|
|
11173
|
+
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,
|
|
10790
11174
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
10791
11175
|
// once they do, we can remove errors from the aria-describedby
|
|
10792
11176
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
10793
11177
|
class: {
|
|
10794
11178
|
"duet-fieldset": true,
|
|
10795
11179
|
"duet-theme-turva": this.theme === "turva",
|
|
10796
|
-
} }, hAsync("legend", { key: '
|
|
11180
|
+
} }, 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: {
|
|
10797
11181
|
"duet-legend-wrapper": true,
|
|
10798
11182
|
"duet-legend-has-caption": !!this.caption,
|
|
10799
11183
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
10800
11184
|
"duet-legend-hidden": this.labelHidden,
|
|
10801
11185
|
"duet-legend-compact": this.compactLabel,
|
|
10802
|
-
} }, hAsync("div", { key: '
|
|
11186
|
+
} }, 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)))));
|
|
10803
11187
|
}
|
|
10804
11188
|
get element() { return getElement(this); }
|
|
10805
11189
|
static get style() { return duetFieldsetCss; }
|
|
@@ -10998,16 +11382,16 @@ class DuetFooter {
|
|
|
10998
11382
|
render() {
|
|
10999
11383
|
const text = getLocaleString(i18n$1, this.language);
|
|
11000
11384
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
11001
|
-
return (hAsync("footer", { key: '
|
|
11385
|
+
return (hAsync("footer", { key: 'cded4930f82ba556fe630d4295e351cbbb2082e2', class: {
|
|
11002
11386
|
"duet-footer": true,
|
|
11003
11387
|
"duet-m-0": this.margin === "none",
|
|
11004
11388
|
"duet-theme-turva": this.theme === "turva",
|
|
11005
11389
|
"duet-footer-simple": this.variation === "simple",
|
|
11006
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11390
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '937096c43e34404c84fa15418efd41c5692f6ac1', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '865c6932f382aba543ca23c1bd4ab5aab4885b0a', class: {
|
|
11007
11391
|
"duet-footer-top": true,
|
|
11008
11392
|
"duet-has-info": this.hasInfoSlot,
|
|
11009
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
11010
|
-
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: '
|
|
11393
|
+
}, 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 &&
|
|
11394
|
+
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()}`))));
|
|
11011
11395
|
}
|
|
11012
11396
|
get element() { return getElement(this); }
|
|
11013
11397
|
static get watchers() { return {
|
|
@@ -11224,7 +11608,7 @@ class DuetGrid {
|
|
|
11224
11608
|
* Always the last one in the class.
|
|
11225
11609
|
*/
|
|
11226
11610
|
render() {
|
|
11227
|
-
return (hAsync(Host, { key: '
|
|
11611
|
+
return (hAsync(Host, { key: 'ad66e7c93a876e1c16fcd3e463dfbac854f9572b', class: {
|
|
11228
11612
|
"duet-grid": true,
|
|
11229
11613
|
"duet-no-stacking": !this.responsive,
|
|
11230
11614
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -11251,7 +11635,7 @@ class DuetGrid {
|
|
|
11251
11635
|
"duet-grid-row-reverse": this.rowReverse,
|
|
11252
11636
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
11253
11637
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
11254
|
-
} }, hAsync("slot", { key: '
|
|
11638
|
+
} }, hAsync("slot", { key: 'cb6c2453668b0a2ea8b90eb003a61f78585576a0' })));
|
|
11255
11639
|
}
|
|
11256
11640
|
get element() { return getElement(this); }
|
|
11257
11641
|
static get watchers() { return {
|
|
@@ -11333,7 +11717,7 @@ class DuetGridItem {
|
|
|
11333
11717
|
* Always the last one in the class.
|
|
11334
11718
|
*/
|
|
11335
11719
|
render() {
|
|
11336
|
-
return (hAsync(Host, { key: '
|
|
11720
|
+
return (hAsync(Host, { key: '895153cc6a7fb2d33ea0fe30db592dc41dfe666e', style: {
|
|
11337
11721
|
"min-width": this.minWidth,
|
|
11338
11722
|
"max-width": this.maxWidth,
|
|
11339
11723
|
}, class: {
|
|
@@ -11350,7 +11734,7 @@ class DuetGridItem {
|
|
|
11350
11734
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
11351
11735
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
11352
11736
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
11353
|
-
} }, hAsync("slot", { key: '
|
|
11737
|
+
} }, hAsync("slot", { key: 'e15b327861008131c15c1b804aecd2c0351afdf1' })));
|
|
11354
11738
|
}
|
|
11355
11739
|
get element() { return getElement(this); }
|
|
11356
11740
|
static get style() { return duetGridItemCss; }
|
|
@@ -12391,7 +12775,7 @@ class DuetHeading {
|
|
|
12391
12775
|
render() {
|
|
12392
12776
|
const TagName = sanitizeString$1(this.level);
|
|
12393
12777
|
const color = getColorByName(this.color);
|
|
12394
|
-
return (hAsync(TagName, { key: '
|
|
12778
|
+
return (hAsync(TagName, { key: '2f89171baca460e8b0b6b807a992856426a83838', class: {
|
|
12395
12779
|
"duet-heading": true,
|
|
12396
12780
|
"duet-heading-border": this.border !== false,
|
|
12397
12781
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -12402,7 +12786,7 @@ class DuetHeading {
|
|
|
12402
12786
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
12403
12787
|
"duet-theme-turva": this.theme === "turva",
|
|
12404
12788
|
"fixed-size": this.fixedSize,
|
|
12405
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
12789
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: 'aded9e6a879359f85d77f436736131a26188f4dc' })));
|
|
12406
12790
|
}
|
|
12407
12791
|
get element() { return getElement(this); }
|
|
12408
12792
|
static get style() { return duetHeadingCss; }
|
|
@@ -12708,7 +13092,7 @@ class DuetHero {
|
|
|
12708
13092
|
outlineColor = "color-primary-turva";
|
|
12709
13093
|
}
|
|
12710
13094
|
}
|
|
12711
|
-
return (hAsync("div", { key: '
|
|
13095
|
+
return (hAsync("div", { key: 'd5eeb3fa2ded961e10b0db110bc1606beadb5878', role: "region", class: {
|
|
12712
13096
|
"duet-hero": true,
|
|
12713
13097
|
"duet-theme-turva": this.theme === "turva",
|
|
12714
13098
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -12726,17 +13110,17 @@ class DuetHero {
|
|
|
12726
13110
|
"duet-hero-text-center": this.variation !== "product" && ((this.textCenter && !this.leftAlign) || campaignOrSection),
|
|
12727
13111
|
"duet-hero-left-align": this.variation === "product" || (this.leftAlign && !campaignOrSection),
|
|
12728
13112
|
"duet-hero-narrow": this.layout === "narrow",
|
|
12729
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
12730
|
-
this.processedBack && (hAsync("div", { key: '
|
|
13113
|
+
}, 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") &&
|
|
13114
|
+
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, {
|
|
12731
13115
|
label: this.processedBack.label,
|
|
12732
13116
|
href: this.processedBack.href,
|
|
12733
13117
|
id: this.processedBack.id,
|
|
12734
13118
|
analyticsId: this.processedBack.analyticsId,
|
|
12735
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
13119
|
+
}) }, 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 &&
|
|
12736
13120
|
this.variation !== "image" &&
|
|
12737
13121
|
!campaignOrSection &&
|
|
12738
13122
|
this.variation !== "product" &&
|
|
12739
|
-
this.variation !== "content" && hAsync("div", Object.assign({ key: '
|
|
13123
|
+
this.variation !== "content" && hAsync("div", Object.assign({ key: '4dbed5f231c2ffff11d5336b9ada8da3fefbdfce', class: "duet-hero-image", style: styles }, bgImgA11yAttrs)), hAsync("slot", { key: '3d48509557f9575a15947b37ab4fc30b768b5dbb', name: "bottom" }))));
|
|
12740
13124
|
}
|
|
12741
13125
|
get element() { return getElement(this); }
|
|
12742
13126
|
static get watchers() { return {
|
|
@@ -12904,11 +13288,11 @@ class DuetIcon {
|
|
|
12904
13288
|
: {};
|
|
12905
13289
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
12906
13290
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
12907
|
-
return (hAsync(Host, { key: '
|
|
13291
|
+
return (hAsync(Host, { key: '2f6837b926530cee2afc83a590aa1ccb0dfeca03', class: {
|
|
12908
13292
|
"duet-m-0": this.margin === "none",
|
|
12909
13293
|
"duet-icon-has-outline": !!this.outline,
|
|
12910
13294
|
"duet-icon-has-background": !!this.background,
|
|
12911
|
-
} }, hAsync("span", { key: '
|
|
13295
|
+
} }, hAsync("span", { key: '6fa86044b5f3966537f38590bd12b28b698a080b', "aria-hidden": "true", style: styles, class: {
|
|
12912
13296
|
"duet-icon": true,
|
|
12913
13297
|
"duet-theme-turva": this.theme === "turva",
|
|
12914
13298
|
"duet-theme-default": this.theme === "default",
|
|
@@ -12917,7 +13301,7 @@ class DuetIcon {
|
|
|
12917
13301
|
[shapeStyle]: true,
|
|
12918
13302
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
12919
13303
|
"duet-icon-not-responsive": !this.responsive,
|
|
12920
|
-
} }, hAsync("span", { key: '
|
|
13304
|
+
} }, 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 }))));
|
|
12921
13305
|
}
|
|
12922
13306
|
get element() { return getElement(this); }
|
|
12923
13307
|
static get watchers() { return {
|
|
@@ -12995,11 +13379,11 @@ class DuetIndicator {
|
|
|
12995
13379
|
inheritGlobalTheme(this);
|
|
12996
13380
|
}
|
|
12997
13381
|
render() {
|
|
12998
|
-
return (hAsync(Host, { key: '
|
|
13382
|
+
return (hAsync(Host, { key: 'dec9ae44791d7c11742399064ae9f5abcb25a0da' }, hAsync("span", { key: '869ad4db73c79b071b6b1cc4667926874f836351', class: {
|
|
12999
13383
|
"duet-indicator": true,
|
|
13000
13384
|
[`duet-indicator-${this.variation}`]: true,
|
|
13001
13385
|
"duet-theme-turva": this.theme === "turva",
|
|
13002
|
-
} }), hAsync("duet-visually-hidden", { key: '
|
|
13386
|
+
} }), hAsync("duet-visually-hidden", { key: '95d24f44ddab59732430691a257eebe5de008870' }, this.getAccessibleLabel())));
|
|
13003
13387
|
}
|
|
13004
13388
|
get element() { return getElement(this); }
|
|
13005
13389
|
static get style() { return duetIndicatorCss; }
|
|
@@ -13079,7 +13463,7 @@ function cleanValue(input, regex) {
|
|
|
13079
13463
|
return newValue;
|
|
13080
13464
|
}
|
|
13081
13465
|
|
|
13082
|
-
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)}";
|
|
13466
|
+
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)}";
|
|
13083
13467
|
|
|
13084
13468
|
const icons = {
|
|
13085
13469
|
search: searchIcon,
|
|
@@ -13623,7 +14007,7 @@ class DuetInput {
|
|
|
13623
14007
|
this.type !== "password" &&
|
|
13624
14008
|
this.type !== "time" &&
|
|
13625
14009
|
this.variation !== "button";
|
|
13626
|
-
return (hAsync(Host, { key: '
|
|
14010
|
+
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: {
|
|
13627
14011
|
"duet-input-container": true,
|
|
13628
14012
|
"duet-theme-turva": this.theme === "turva",
|
|
13629
14013
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -13637,7 +14021,11 @@ class DuetInput {
|
|
|
13637
14021
|
"has-clear": this.clear,
|
|
13638
14022
|
"has-focus": this.isFocused,
|
|
13639
14023
|
disabled: this.disabled,
|
|
13640
|
-
} }, hAsync("div", { key: '
|
|
14024
|
+
} }, 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: {
|
|
14025
|
+
"duet-input-relative": true,
|
|
14026
|
+
"duet-theme-turva": this.theme === "turva",
|
|
14027
|
+
"has-error": !!this.error,
|
|
14028
|
+
} }, 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: {
|
|
13641
14029
|
"duet-input": true,
|
|
13642
14030
|
disabled: this.disabled,
|
|
13643
14031
|
"is-number": this.component === "number",
|
|
@@ -13645,17 +14033,17 @@ class DuetInput {
|
|
|
13645
14033
|
"after-chip": this.getAllChips().length > 0,
|
|
13646
14034
|
"align-right": this.inputAlign === "right",
|
|
13647
14035
|
[`input-padding-${this.inputPadding}`]: true,
|
|
13648
|
-
}, 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: '
|
|
14036
|
+
}, 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: {
|
|
13649
14037
|
"duet-input-clear-icon": true,
|
|
13650
14038
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
13651
14039
|
"duet-input-clear-icon-double": !!this.icon,
|
|
13652
14040
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
13653
14041
|
[`input-padding-${this.inputPadding}`]: true,
|
|
13654
|
-
} }, hAsync("button", { key: '
|
|
14042
|
+
} }, 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
|
|
13655
14043
|
? this.hidePasswordLabel[this.language]
|
|
13656
|
-
: 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: '
|
|
14044
|
+
: 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
|
|
13657
14045
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
13658
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
14046
|
+
: 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)))));
|
|
13659
14047
|
}
|
|
13660
14048
|
get element() { return getElement(this); }
|
|
13661
14049
|
static get watchers() { return {
|
|
@@ -13864,24 +14252,24 @@ class DuetLayout {
|
|
|
13864
14252
|
* Always the last one in the class.
|
|
13865
14253
|
*/
|
|
13866
14254
|
render() {
|
|
13867
|
-
return (hAsync(Host, { key: '
|
|
14255
|
+
return (hAsync(Host, { key: '2cdbe38f663ea0d8cc15fd500ecda5f411b9e0ad', class: {
|
|
13868
14256
|
center: this.center,
|
|
13869
14257
|
"duet-middle": this.middle,
|
|
13870
14258
|
"duet-ie": isInternetExplorer(),
|
|
13871
|
-
} }, hAsync("div", { key: '
|
|
14259
|
+
} }, hAsync("div", { key: '3844cb119e6ee20b71358c128536e493c0cefa10', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'fc18a4c1bf4b0779f72fbe64409a7b34bf352761', class: {
|
|
13872
14260
|
"duet-layout-top": true,
|
|
13873
14261
|
"duet-center": this.center,
|
|
13874
|
-
} }, hAsync("div", { key: '
|
|
14262
|
+
} }, hAsync("div", { key: '3737558d8a28f5d5036e7a80dcaaf0b4414e62fb', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '7fb843ff9f8debeb3690193a15fd76c1bcf4e12d', name: "top" })))), hAsync("div", { key: 'adfd7395cbb2e39f853b88a14f991b00f8476090', class: {
|
|
13875
14263
|
"duet-layout": true,
|
|
13876
14264
|
"has-sidebar": this.hasSidebar,
|
|
13877
14265
|
"duet-center": this.center,
|
|
13878
14266
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
13879
|
-
} }, hAsync("main", { key: '
|
|
14267
|
+
} }, 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: {
|
|
13880
14268
|
"duet-sidebar-container": true,
|
|
13881
14269
|
"has-tabs": this.tabs,
|
|
13882
14270
|
sticky: this.sticky,
|
|
13883
14271
|
[this.stickyDistance]: this.sticky,
|
|
13884
|
-
} }, hAsync("slot", { key: '
|
|
14272
|
+
} }, hAsync("slot", { key: '75ea637d7fc09abde7ffb80b306b4f688811e415', name: "sidebar" }))))))));
|
|
13885
14273
|
}
|
|
13886
14274
|
get element() { return getElement(this); }
|
|
13887
14275
|
static get style() { return duetLayoutCss; }
|
|
@@ -14141,10 +14529,10 @@ class DuetLink {
|
|
|
14141
14529
|
const Tag = !this.url && this.variation !== "default" ? "button" : "a";
|
|
14142
14530
|
const role = !this.url && this.variation === "default" ? "button" : null;
|
|
14143
14531
|
const isButton = Tag === "button";
|
|
14144
|
-
return (hAsync(Host, { key: '
|
|
14532
|
+
return (hAsync(Host, { key: 'b7bc738a8b128a9e56337a4ddc2b3d8cb87d4cf6', class: {
|
|
14145
14533
|
[`duet-link-${this.variation}`]: true,
|
|
14146
14534
|
"duet-m-0": this.margin === "none",
|
|
14147
|
-
} }, hAsync(Tag, { key: '
|
|
14535
|
+
} }, hAsync(Tag, { key: '5b530346d4036ccf8d777a2114ab74385d390eb9', href: this.url, class: {
|
|
14148
14536
|
"duet-link": true,
|
|
14149
14537
|
"duet-link-is-external": this.external,
|
|
14150
14538
|
"duet-link-is-download": !!this.download,
|
|
@@ -14334,7 +14722,7 @@ class DuetList {
|
|
|
14334
14722
|
* Always the last one in the class.
|
|
14335
14723
|
*/
|
|
14336
14724
|
render() {
|
|
14337
|
-
return (hAsync("dl", { key: '
|
|
14725
|
+
return (hAsync("dl", { key: '8db79297c536ab67ccc4692ce3fba04812ad38f0', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '9644e8591deac7c8e4ac380f65e93ffb54154e70' })));
|
|
14338
14726
|
}
|
|
14339
14727
|
get element() { return getElement(this); }
|
|
14340
14728
|
static get watchers() { return {
|
|
@@ -14400,7 +14788,7 @@ class DuetListItem {
|
|
|
14400
14788
|
* Always the last one in the class.
|
|
14401
14789
|
*/
|
|
14402
14790
|
render() {
|
|
14403
|
-
return (hAsync(Host, { key: '
|
|
14791
|
+
return (hAsync(Host, { key: '47185c0399f547a7d80ac43adf617b617e33e604', class: {
|
|
14404
14792
|
"duet-theme-turva": this.theme === "turva",
|
|
14405
14793
|
"duet-no-stacking": !this.responsive,
|
|
14406
14794
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -14408,7 +14796,7 @@ class DuetListItem {
|
|
|
14408
14796
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
14409
14797
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
14410
14798
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
14411
|
-
} }, hAsync("dt", { key: '
|
|
14799
|
+
} }, hAsync("dt", { key: '6ae3c144789f6f61efd296b660b88b180a5e0e38' }, hAsync("slot", { key: 'c33e76c13b822b05a938e421d6eb53ef95e403f7', name: "label" })), hAsync("dd", { key: '31bda43d4a91ec3b4a44746a0ddde2f7b91845c2' }, hAsync("slot", { key: 'c1ce54a0b9a7dd7256a7dcf3a32bef70bb063621', name: "value" }))));
|
|
14412
14800
|
}
|
|
14413
14801
|
get element() { return getElement(this); }
|
|
14414
14802
|
static get style() { return duetListItemCss; }
|
|
@@ -14546,7 +14934,7 @@ class DuetLogo {
|
|
|
14546
14934
|
*/
|
|
14547
14935
|
render() {
|
|
14548
14936
|
const TagName = this.href ? "a" : "div";
|
|
14549
|
-
return (hAsync(Host, { key: '
|
|
14937
|
+
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: {
|
|
14550
14938
|
"duet-logo": true,
|
|
14551
14939
|
[this.size]: true,
|
|
14552
14940
|
"duet-logo-inverse": this.inverse,
|
|
@@ -14706,17 +15094,17 @@ class DuetMenuBar {
|
|
|
14706
15094
|
render() {
|
|
14707
15095
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
14708
15096
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
14709
|
-
return (hAsync(Host, { key: '
|
|
15097
|
+
return (hAsync(Host, { key: '20953eddb5841bc9c3270486dd3734ec5cc3a952' }, hAsync("nav", { key: '1c25040ecad0544d6875be135b0e37d228d252ac', class: {
|
|
14710
15098
|
"duet-menu-bar": true,
|
|
14711
15099
|
"duet-theme-turva": this.theme === "turva",
|
|
14712
15100
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
14713
15101
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
14714
15102
|
hidden: this.hidden && this.hideOnScroll,
|
|
14715
15103
|
bottom: this.onBottom,
|
|
14716
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
15104
|
+
}, "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: {
|
|
14717
15105
|
"duet-logo-info-text": true,
|
|
14718
15106
|
"duet-theme-turva": this.theme === "turva",
|
|
14719
|
-
} }, this.logoInfoText)))), hAsync("div", { key: '
|
|
15107
|
+
} }, 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" }))));
|
|
14720
15108
|
}
|
|
14721
15109
|
get element() { return getElement(this); }
|
|
14722
15110
|
static get style() { return duetMenuBarCss; }
|
|
@@ -14795,10 +15183,10 @@ class DuetMenuBarButton {
|
|
|
14795
15183
|
* Always the last one in the class.
|
|
14796
15184
|
*/
|
|
14797
15185
|
render() {
|
|
14798
|
-
return (hAsync(Host, { key: '
|
|
15186
|
+
return (hAsync(Host, { key: '5e64c2ede59d8e16972663cace2e98dffca3a060', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '362525c4f563bd1a5ffad7b8fee029d904fb72c8', ref: button => (this.nativeButton = button), class: {
|
|
14799
15187
|
"duet-menu-bar-button": true,
|
|
14800
15188
|
"duet-theme-turva": this.theme === "turva",
|
|
14801
|
-
}, "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: '
|
|
15189
|
+
}, "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' }))));
|
|
14802
15190
|
}
|
|
14803
15191
|
get element() { return getElement(this); }
|
|
14804
15192
|
static get style() { return duetMenuBarButtonCss; }
|
|
@@ -14888,17 +15276,17 @@ class DuetMenuBarDropdown {
|
|
|
14888
15276
|
* Always the last one in the class.
|
|
14889
15277
|
*/
|
|
14890
15278
|
render() {
|
|
14891
|
-
return (hAsync(Host, { key: '
|
|
15279
|
+
return (hAsync(Host, { key: '870e7ba2d40001532dabdb4c9468b73570e1ade7', role: "listitem" }, hAsync("div", { key: '7c60bf682acd9d11e8633f862f07391a706de817', class: {
|
|
14892
15280
|
"duet-menu-bar-dropdown": true,
|
|
14893
15281
|
"duet-theme-turva": this.theme === "turva",
|
|
14894
15282
|
active: this.open,
|
|
14895
15283
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
14896
|
-
} }, hAsync("button", { key: '
|
|
15284
|
+
} }, 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: {
|
|
14897
15285
|
active: this.open,
|
|
14898
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
15286
|
+
}, 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: {
|
|
14899
15287
|
items: true,
|
|
14900
15288
|
hidden: !this.open,
|
|
14901
|
-
} }, hAsync("slot", { key: '
|
|
15289
|
+
} }, hAsync("slot", { key: '281de42fd56a1c9be76c9b4218d4354032a56834' })))));
|
|
14902
15290
|
}
|
|
14903
15291
|
get element() { return getElement(this); }
|
|
14904
15292
|
static get style() { return duetMenuBarDropdownCss; }
|
|
@@ -14965,11 +15353,11 @@ class DuetMenuBarDropdownLink {
|
|
|
14965
15353
|
* Always the last one in the class.
|
|
14966
15354
|
*/
|
|
14967
15355
|
render() {
|
|
14968
|
-
return (hAsync(Host, { key: '
|
|
15356
|
+
return (hAsync(Host, { key: '6d31641d480353ee7f924029a31c94dc1747f1ed' }, hAsync("a", { key: 'ea374446994ad7ea0780b8f4320247c718f08219', class: {
|
|
14969
15357
|
"duet-menu-bar-dropdown-link": true,
|
|
14970
15358
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
14971
15359
|
"duet-theme-turva": this.theme === "turva",
|
|
14972
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
15360
|
+
}, 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' }))));
|
|
14973
15361
|
}
|
|
14974
15362
|
get element() { return getElement(this); }
|
|
14975
15363
|
static get style() { return duetMenuBarDropdownLinkCss; }
|
|
@@ -15055,11 +15443,11 @@ class DuetMenuBarItem {
|
|
|
15055
15443
|
*/
|
|
15056
15444
|
render() {
|
|
15057
15445
|
const TagName = this.url ? "a" : "button";
|
|
15058
|
-
return (hAsync(Host, { key: '
|
|
15446
|
+
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: {
|
|
15059
15447
|
"duet-menu-bar-item": true,
|
|
15060
15448
|
"duet-theme-turva": this.theme === "turva",
|
|
15061
15449
|
active: this.active,
|
|
15062
|
-
}, 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: '
|
|
15450
|
+
}, 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: {
|
|
15063
15451
|
"trailing-icon": !!this.trailingIcon,
|
|
15064
15452
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
15065
15453
|
"external-icon": !!this.external,
|
|
@@ -15124,11 +15512,11 @@ class DuetMenuBarLink {
|
|
|
15124
15512
|
* Always the last one in the class.
|
|
15125
15513
|
*/
|
|
15126
15514
|
render() {
|
|
15127
|
-
return (hAsync(Host, { key: '
|
|
15515
|
+
return (hAsync(Host, { key: 'd150209d2395822ac0ba4b0d6372bdc0ba5532fd', role: "listitem" }, hAsync("a", { key: '46070813f893e645146a7ca8ea798fa455df11e9', class: {
|
|
15128
15516
|
"duet-menu-bar-link": true,
|
|
15129
15517
|
"duet-theme-turva": this.theme === "turva",
|
|
15130
15518
|
active: this.active,
|
|
15131
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
15519
|
+
}, 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' }))));
|
|
15132
15520
|
}
|
|
15133
15521
|
get element() { return getElement(this); }
|
|
15134
15522
|
static get style() { return duetMenuBarLinkCss; }
|
|
@@ -15464,14 +15852,14 @@ class DuetModal {
|
|
|
15464
15852
|
var _a, _b;
|
|
15465
15853
|
const iconColor = postfixTheme("primary", this.theme);
|
|
15466
15854
|
const closeColor = postfixTheme("secondary", this.theme);
|
|
15467
|
-
const closingButton = (hAsync("div", { key: '
|
|
15468
|
-
return (hAsync("div", { key: '
|
|
15855
|
+
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 })));
|
|
15856
|
+
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: {
|
|
15469
15857
|
"duet-modal-container": true,
|
|
15470
15858
|
"duet-theme-turva": this.theme === "turva",
|
|
15471
15859
|
"duet-modal-active": this.open,
|
|
15472
15860
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
15473
15861
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
15474
|
-
} }, hAsync("duet-overlay", { key: '
|
|
15862
|
+
} }, 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: {
|
|
15475
15863
|
"duet-modal-inner": true,
|
|
15476
15864
|
[this.size]: true,
|
|
15477
15865
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -15482,22 +15870,22 @@ class DuetModal {
|
|
|
15482
15870
|
this.closeModal(e);
|
|
15483
15871
|
}
|
|
15484
15872
|
}
|
|
15485
|
-
} }, hAsync("div", { key: '
|
|
15873
|
+
} }, hAsync("div", { key: '15713c0a5ee05cf5fc82a3135f08bc3cea40da88', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
15486
15874
|
"duet-modal": true,
|
|
15487
15875
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
15488
15876
|
[this.size]: true,
|
|
15489
15877
|
[this.variation]: true,
|
|
15490
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
15878
|
+
} }, 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: {
|
|
15491
15879
|
"duet-modal-body": true,
|
|
15492
15880
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
15493
15881
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
15494
15882
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
15495
15883
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
15496
|
-
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, hAsync("div", { key: '
|
|
15884
|
+
}, "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"
|
|
15497
15885
|
? "assertive"
|
|
15498
15886
|
: this.accessibleAnnounceChanges === "body"
|
|
15499
15887
|
? "polite"
|
|
15500
|
-
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: '
|
|
15888
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, hAsync("slot", { key: '509127555382cf321b5eeacfcd3b1a7f33bb99ca' })))))));
|
|
15501
15889
|
}
|
|
15502
15890
|
get element() { return getElement(this); }
|
|
15503
15891
|
static get watchers() { return {
|
|
@@ -15543,7 +15931,7 @@ class DuetModal {
|
|
|
15543
15931
|
}; }
|
|
15544
15932
|
}
|
|
15545
15933
|
|
|
15546
|
-
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)}";
|
|
15934
|
+
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)}";
|
|
15547
15935
|
|
|
15548
15936
|
function toggleInArray(arr, item) {
|
|
15549
15937
|
return arr.includes(item) ? arr.filter(i => i !== item) : [...arr, item];
|
|
@@ -15813,23 +16201,23 @@ class DuetMultiselect {
|
|
|
15813
16201
|
*/
|
|
15814
16202
|
render() {
|
|
15815
16203
|
var _a;
|
|
15816
|
-
return (hAsync(Host, { key: '
|
|
16204
|
+
return (hAsync(Host, { key: '745ae2dcace9c47a7ef0d12543fdeef0466cda02', class: {
|
|
15817
16205
|
"duet-m-0": this.margin === "none",
|
|
15818
16206
|
"duet-expand": this.expand,
|
|
15819
|
-
} }, hAsync("div", { key: '
|
|
16207
|
+
} }, hAsync("div", { key: '392e8386b1ae4453c31049f6933621f02c0438ae', class: {
|
|
15820
16208
|
"duet-multiselect-container": true,
|
|
15821
16209
|
"duet-label-hidden": this.labelHidden,
|
|
15822
16210
|
"duet-theme-turva": this.theme === "turva",
|
|
15823
16211
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
15824
16212
|
"has-error": !!this.error,
|
|
15825
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
16213
|
+
}, 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: {
|
|
15826
16214
|
"duet-multiselect-checkboxes": true,
|
|
15827
16215
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
15828
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
16216
|
+
}, "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 &&
|
|
15829
16217
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
15830
16218
|
var _a, _b;
|
|
15831
16219
|
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 }));
|
|
15832
|
-
})))))), hAsync("span", { key: '
|
|
16220
|
+
})))))), 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)))));
|
|
15833
16221
|
}
|
|
15834
16222
|
get element() { return getElement(this); }
|
|
15835
16223
|
static get watchers() { return {
|
|
@@ -15904,7 +16292,7 @@ class DuetNav {
|
|
|
15904
16292
|
* Always the last one in the class.
|
|
15905
16293
|
*/
|
|
15906
16294
|
render() {
|
|
15907
|
-
return (hAsync(Host, { key: '
|
|
16295
|
+
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" }))));
|
|
15908
16296
|
}
|
|
15909
16297
|
get element() { return getElement(this); }
|
|
15910
16298
|
static get style() { return duetNavCss; }
|
|
@@ -15997,11 +16385,11 @@ class DuetNotification {
|
|
|
15997
16385
|
return `${indicatorText}${slottedText}${slottedText.endsWith(".") ? "" : "."} ${this.date}`;
|
|
15998
16386
|
}
|
|
15999
16387
|
render() {
|
|
16000
|
-
return (hAsync("div", { key: '
|
|
16388
|
+
return (hAsync("div", { key: '7dc46b88a1d5fb69c339262f5ef2cf5a8017b886', role: "listitem", class: {
|
|
16001
16389
|
"duet-notification": true,
|
|
16002
16390
|
"duet-notification-highlight": this.highlight,
|
|
16003
16391
|
"duet-theme-turva": this.theme === "turva",
|
|
16004
|
-
} }, hAsync("a", { key: '
|
|
16392
|
+
} }, 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)))));
|
|
16005
16393
|
}
|
|
16006
16394
|
get element() { return getElement(this); }
|
|
16007
16395
|
static get style() { return duetNotificationCss; }
|
|
@@ -16148,13 +16536,13 @@ class DuetNotificationDrawer {
|
|
|
16148
16536
|
* Always the last one in the class.
|
|
16149
16537
|
*/
|
|
16150
16538
|
render() {
|
|
16151
|
-
return (hAsync("div", { key: '
|
|
16539
|
+
return (hAsync("div", { key: '9f4089715c79f3098cbddd19ecb0fe9f625e60dc', class: {
|
|
16152
16540
|
"duet-drawer": true,
|
|
16153
16541
|
"duet-theme-turva": this.theme === "turva",
|
|
16154
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
16542
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '5fe36e672d516fc490643ee5c5141111ea68188d', ref: el => (this.drawerButtonEl = el), type: "button", class: {
|
|
16155
16543
|
"duet-drawer-toggle": true,
|
|
16156
16544
|
"duet-theme-turva": this.theme === "turva",
|
|
16157
|
-
}, id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '
|
|
16545
|
+
}, 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: {
|
|
16158
16546
|
"duet-drawer-content": true,
|
|
16159
16547
|
"duet-drawer-right": this.direction === "right",
|
|
16160
16548
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -16659,15 +17047,15 @@ class DuetNumberInput {
|
|
|
16659
17047
|
const identifier = this.identifier || this.inputId;
|
|
16660
17048
|
const maxlength = `${this.localizeValue(this.max)}${this.getUnitString()}`.length;
|
|
16661
17049
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
16662
|
-
return (hAsync(Host, { key: '
|
|
17050
|
+
return (hAsync(Host, { key: '2f0bce422783a7da27a9750a185bd55e5845528b', class: {
|
|
16663
17051
|
"duet-theme-turva": this.theme === "turva",
|
|
16664
17052
|
"duet-expand": this.expand,
|
|
16665
17053
|
"duet-m-0": this.margin === "none",
|
|
16666
|
-
} }, hAsync("div", { key: '
|
|
17054
|
+
} }, 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
|
|
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: '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
|
|
16669
17057
|
.replace(/\{\s*step\s*\}/, `${this.step}`)
|
|
16670
|
-
.replace(/\{\s*unit\s*\}/, `${this.unit}`)), hAsync("duet-icon", { key: '
|
|
17058
|
+
.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())))));
|
|
16671
17059
|
}
|
|
16672
17060
|
get element() { return getElement(this); }
|
|
16673
17061
|
static get style() { return duetNumberInputCss; }
|
|
@@ -16779,7 +17167,7 @@ class DuetOverlay {
|
|
|
16779
17167
|
* Always the last one in the class.
|
|
16780
17168
|
*/
|
|
16781
17169
|
render() {
|
|
16782
|
-
return (hAsync(Host, { key: '
|
|
17170
|
+
return (hAsync(Host, { key: '0a1b75439ac03c39c17153b13ea97858f68b6045', "aria-hidden": "true" }, hAsync("div", { key: '4690d5c28e640e90125ceb6280adbefb19c01301', style: { zIndex: this.zIndex }, class: {
|
|
16783
17171
|
"duet-overlay": true,
|
|
16784
17172
|
"duet-theme-turva": this.theme === "turva",
|
|
16785
17173
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -16857,12 +17245,12 @@ class DuetPageHeading {
|
|
|
16857
17245
|
*/
|
|
16858
17246
|
render() {
|
|
16859
17247
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
16860
|
-
return (hAsync("div", { key: '
|
|
17248
|
+
return (hAsync("div", { key: '5cf22cfc2c34017d8c7467fe36becf60ba78bc75', class: {
|
|
16861
17249
|
"duet-page-heading": true,
|
|
16862
17250
|
"duet-theme-turva": this.theme === "turva",
|
|
16863
17251
|
"has-icon": !!this.icon,
|
|
16864
17252
|
[layout]: true,
|
|
16865
|
-
} }, hAsync("div", { key: '
|
|
17253
|
+
} }, 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()))))));
|
|
16866
17254
|
}
|
|
16867
17255
|
get element() { return getElement(this); }
|
|
16868
17256
|
static get style() { return duetPageHeadingCss; }
|
|
@@ -17268,32 +17656,32 @@ class DuetPagination {
|
|
|
17268
17656
|
* Always the last one in the class.
|
|
17269
17657
|
*/
|
|
17270
17658
|
render() {
|
|
17271
|
-
return (hAsync(Host, { key: '
|
|
17659
|
+
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: {
|
|
17272
17660
|
"duet-pagination-nav": true,
|
|
17273
17661
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
17274
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
17662
|
+
} }, 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: {
|
|
17275
17663
|
"duet-pagination": true,
|
|
17276
17664
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
17277
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
17665
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '1ccc38d06b7a79f9de8ee762a9b9ab959010a436', class: {
|
|
17278
17666
|
"duet-pagination-page-button": true,
|
|
17279
17667
|
"duet-pagination-button-first": true,
|
|
17280
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17668
|
+
}, 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: {
|
|
17281
17669
|
"duet-pagination-page-button": true,
|
|
17282
17670
|
"duet-pagination-button-first": true,
|
|
17283
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17671
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'bd02a81bf5945b1ebfb5eacf1a29f85f859e297e', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
17284
17672
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
17285
|
-
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: '
|
|
17286
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
17673
|
+
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 &&
|
|
17674
|
+
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
|
|
17287
17675
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
17288
|
-
: undefined }, hAsync("div", { key: '
|
|
17676
|
+
: undefined }, hAsync("div", { key: '5bb0466c1c108b1dedf6a0e2d5d67f0408037c85', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '4c8e76afbdf203f29a8a4096bf4870b15bd9f930', class: {
|
|
17289
17677
|
"duet-pagination-page-button": true,
|
|
17290
17678
|
"duet-pagination-button-last": true,
|
|
17291
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17679
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '1f3f2dc875d130ddd2e01643fe0b69a6c32325c6', disabled: !!((this.current === this.totalPages &&
|
|
17292
17680
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
17293
|
-
(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: '
|
|
17681
|
+
(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: {
|
|
17294
17682
|
"duet-pagination-page-button": true,
|
|
17295
17683
|
"duet-pagination-button-last": true,
|
|
17296
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
17684
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '2e6eb9240c1d90bef1028d0b6eabf8d74a178b17', disabled: (this.current === this.totalPages &&
|
|
17297
17685
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
17298
17686
|
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 })))))));
|
|
17299
17687
|
}
|
|
@@ -17366,14 +17754,14 @@ class DuetPanel {
|
|
|
17366
17754
|
inheritGlobalTheme(this);
|
|
17367
17755
|
}
|
|
17368
17756
|
render() {
|
|
17369
|
-
return (hAsync(Host, { key: '
|
|
17757
|
+
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: {
|
|
17370
17758
|
"duet-panel": true,
|
|
17371
17759
|
"duet-theme-turva": this.theme === "turva",
|
|
17372
17760
|
[this.variation.split("-")[0]]: true,
|
|
17373
17761
|
[this.variation.split("-")[1]]: true,
|
|
17374
17762
|
[`padding-${this.padding}`]: true,
|
|
17375
17763
|
border: this.border,
|
|
17376
|
-
} }, hAsync("slot", { key: '
|
|
17764
|
+
} }, hAsync("slot", { key: '846efa69e68b7e7f672d4441877af8c72221e713' }))));
|
|
17377
17765
|
}
|
|
17378
17766
|
get element() { return getElement(this); }
|
|
17379
17767
|
static get style() { return duetPanelCss; }
|
|
@@ -17446,7 +17834,7 @@ class DuetParagraph {
|
|
|
17446
17834
|
const color = getColorByName(this.color);
|
|
17447
17835
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
17448
17836
|
// are not announced when placed inside duet-modal
|
|
17449
|
-
return (hAsync(Host, { key: '
|
|
17837
|
+
return (hAsync(Host, { key: 'b0db3004861f5dfe17d4927087ba6301bc607f5d', "aria-describedby": this.id }, hAsync("p", { key: 'f74e4f0206012d316417ea743d72cc0b76b92ee5', id: this.id, class: {
|
|
17450
17838
|
"duet-paragraph": true,
|
|
17451
17839
|
"duet-paragraph-small": this.size === "small",
|
|
17452
17840
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -17455,7 +17843,7 @@ class DuetParagraph {
|
|
|
17455
17843
|
[this.variation]: true,
|
|
17456
17844
|
"duet-theme-turva": this.theme === "turva",
|
|
17457
17845
|
"duet-inherit-color": !this.color && this.inheritingParents.some(p => this.element.closest(p)),
|
|
17458
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
17846
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '86d18dc5cd6ed9610a477fa09b2776d4f2037346' }))));
|
|
17459
17847
|
}
|
|
17460
17848
|
get element() { return getElement(this); }
|
|
17461
17849
|
static get style() { return duetParagraphCss; }
|
|
@@ -21288,17 +21676,17 @@ class DuetPopupMenu {
|
|
|
21288
21676
|
overflowY: "auto",
|
|
21289
21677
|
height: this.popupMenuStyleHeight,
|
|
21290
21678
|
};
|
|
21291
|
-
return (hAsync(Host, { key: '
|
|
21679
|
+
return (hAsync(Host, { key: '4ba8c544fd10ae2157f9f57f4ea668fba9982b39', role: this.accessibleRole === "menu" ? "application" : null }, hAsync("div", { key: '8167c05e3cbcc2240210eda963d1d0eeece5b15e', ref: element => {
|
|
21292
21680
|
this.menuElement = element;
|
|
21293
21681
|
}, style: styles, class: {
|
|
21294
21682
|
open: this.open,
|
|
21295
21683
|
"duet-popup-menu-list": true,
|
|
21296
21684
|
"duet-theme-turva": this.theme === "turva",
|
|
21297
21685
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
21298
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '
|
|
21686
|
+
}, 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" }, `
|
|
21299
21687
|
${this.filterResultCount}/${this.itemElements.length}
|
|
21300
21688
|
${this.filterResultCountLabel[this.language]}
|
|
21301
|
-
`)), hAsync("duet-spacer", { key: '
|
|
21689
|
+
`)), hAsync("duet-spacer", { key: '289e215aaa765f00794710b8f309a3cd6d082468', size: "xx-small" }))), hAsync("slot", { key: '6d149b93858d2437e7eb684c33e4ed55af7659a3' }))));
|
|
21302
21690
|
}
|
|
21303
21691
|
get element() { return getElement(this); }
|
|
21304
21692
|
static get watchers() { return {
|
|
@@ -21443,11 +21831,11 @@ class DuetPopupMenuItem {
|
|
|
21443
21831
|
};
|
|
21444
21832
|
// Without the role ternary Safari/iPhone wouldn't announce the label for role menuitem.
|
|
21445
21833
|
// This is a tradeoff and now Safari announces these items as buttons and links with the label.
|
|
21446
|
-
return (hAsync(Host, { key: '
|
|
21834
|
+
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
|
|
21447
21835
|
? newWindowIcon.title
|
|
21448
21836
|
: this.active
|
|
21449
21837
|
? "messaging-checked-small"
|
|
21450
|
-
: 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: '
|
|
21838
|
+
: 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))));
|
|
21451
21839
|
}
|
|
21452
21840
|
get element() { return getElement(this); }
|
|
21453
21841
|
static get style() { return duetPopupMenuItemCss; }
|
|
@@ -21571,7 +21959,7 @@ class DuetProgress {
|
|
|
21571
21959
|
}; }
|
|
21572
21960
|
}
|
|
21573
21961
|
|
|
21574
|
-
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)}";
|
|
21962
|
+
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)}";
|
|
21575
21963
|
|
|
21576
21964
|
/**
|
|
21577
21965
|
* @slot pre-heading - Slot for pre-heading content.
|
|
@@ -21611,12 +21999,16 @@ class DuetPromoCard {
|
|
|
21611
21999
|
* Component lifecycle events.
|
|
21612
22000
|
*/
|
|
21613
22001
|
componentWillLoad() {
|
|
22002
|
+
const headings = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
21614
22003
|
inheritGlobalTheme(this);
|
|
21615
22004
|
this.hasPreHeadingSlot = hasSlot(this.element, "pre-heading");
|
|
21616
22005
|
this.hasHeadingSlot = hasSlot(this.element, "heading");
|
|
21617
22006
|
this.hasDescriptionSlot = hasSlot(this.element, "description");
|
|
21618
22007
|
this.hasActionSlot = hasSlot(this.element, "action");
|
|
21619
|
-
checkNamedSlotElement(this.element, "heading",
|
|
22008
|
+
checkNamedSlotElement(this.element, "heading", `span,${headings.join(",")}`);
|
|
22009
|
+
if (this.hasHeadingSlot && getElementsFromNamedSlot(this.element, "heading")[0].matches(headings.join(","))) {
|
|
22010
|
+
this.hasHeadingSlotNative = true;
|
|
22011
|
+
}
|
|
21620
22012
|
checkNamedSlotElement(this.element, "description", "span");
|
|
21621
22013
|
}
|
|
21622
22014
|
/**
|
|
@@ -21639,12 +22031,12 @@ class DuetPromoCard {
|
|
|
21639
22031
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
21640
22032
|
};
|
|
21641
22033
|
const TagName = this.url ? "a" : "div";
|
|
21642
|
-
return (hAsync(Host, { key: '
|
|
22034
|
+
return (hAsync(Host, { key: 'd36e73e86f96e7825e96c7730b330afa8a23c14e', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '50c45ed20c3dd5c321f20cac8f98d2ec87848f18', class: {
|
|
21643
22035
|
"duet-promo-card": true,
|
|
21644
22036
|
"duet-theme-turva": this.theme === "turva",
|
|
21645
22037
|
"no-bg-color": !this.backgroundColor,
|
|
21646
22038
|
"duet-promo-card-link": !!this.url,
|
|
21647
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
22039
|
+
}, 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" }))))))));
|
|
21648
22040
|
}
|
|
21649
22041
|
get element() { return getElement(this); }
|
|
21650
22042
|
static get style() { return duetPromoCardCss; }
|
|
@@ -21851,17 +22243,17 @@ class DuetRadio {
|
|
|
21851
22243
|
* Always the last one in the class.
|
|
21852
22244
|
*/
|
|
21853
22245
|
render() {
|
|
21854
|
-
return (hAsync(Host, { key: '
|
|
22246
|
+
return (hAsync(Host, { key: '14b930b9947070108e2a4e3a9f1bcc22f06383c8', onClick: this.onClick, class: {
|
|
21855
22247
|
vertical: this.groupDirection === "vertical",
|
|
21856
22248
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
21857
22249
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
21858
22250
|
"duet-m-0": this.margin === "none",
|
|
21859
|
-
} }, hAsync("div", { key: '
|
|
22251
|
+
} }, 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: {
|
|
21860
22252
|
"duet-label": true,
|
|
21861
22253
|
checked: this.checked,
|
|
21862
22254
|
focus: this.focus,
|
|
21863
22255
|
disabled: this.disabled || this.groupDisabled,
|
|
21864
|
-
} }, hAsync("div", { key: '
|
|
22256
|
+
} }, hAsync("div", { key: '58d87e1f398147f4a03b992cb9a208f2c104d217', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
21865
22257
|
}
|
|
21866
22258
|
get element() { return getElement(this); }
|
|
21867
22259
|
static get style() { return duetRadioCss; }
|
|
@@ -22056,7 +22448,7 @@ class DuetRadioGroup {
|
|
|
22056
22448
|
* Always the last one in the class.
|
|
22057
22449
|
*/
|
|
22058
22450
|
render() {
|
|
22059
|
-
return (hAsync(Host, { key: '
|
|
22451
|
+
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' })))));
|
|
22060
22452
|
}
|
|
22061
22453
|
get element() { return getElement(this); }
|
|
22062
22454
|
static get watchers() { return {
|
|
@@ -22244,13 +22636,13 @@ class DuetRangeSlider {
|
|
|
22244
22636
|
const rangeStyles = {
|
|
22245
22637
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
22246
22638
|
};
|
|
22247
|
-
return (hAsync(Host, { key: '
|
|
22639
|
+
return (hAsync(Host, { key: '4081e812cc9da18aa9183b15de5a3197d7542c27', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'c1943246db143f1991069550aae9fb29814f303f', class: {
|
|
22248
22640
|
"duet-range-container": true,
|
|
22249
22641
|
"duet-label-hidden": this.labelHidden,
|
|
22250
22642
|
"duet-theme-turva": this.theme === "turva",
|
|
22251
22643
|
"duet-ie": isInternetExplorer(),
|
|
22252
22644
|
"duet-range-disabled": this.disabled,
|
|
22253
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22645
|
+
} }, 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" }))));
|
|
22254
22646
|
}
|
|
22255
22647
|
get element() { return getElement(this); }
|
|
22256
22648
|
static get style() { return duetRangeSliderCss; }
|
|
@@ -22479,10 +22871,10 @@ class DuetRangeStepper {
|
|
|
22479
22871
|
* Always the last one in the class.
|
|
22480
22872
|
*/
|
|
22481
22873
|
render() {
|
|
22482
|
-
return (hAsync("div", { key: '
|
|
22874
|
+
return (hAsync("div", { key: 'fdd61bd5ec23d7ed03aa172dc1f6d1255c7bae28', class: {
|
|
22483
22875
|
"duet-range-stepper": true,
|
|
22484
22876
|
"duet-theme-turva": this.theme === "turva",
|
|
22485
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
22877
|
+
}, 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: "" })));
|
|
22486
22878
|
}
|
|
22487
22879
|
get element() { return getElement(this); }
|
|
22488
22880
|
static get watchers() { return {
|
|
@@ -22793,18 +23185,18 @@ class DuetScrollable {
|
|
|
22793
23185
|
* Always the last one in the class.
|
|
22794
23186
|
*/
|
|
22795
23187
|
render() {
|
|
22796
|
-
return (hAsync(Host, { key: '
|
|
23188
|
+
return (hAsync(Host, { key: '16f256474e4e15cf219acd7edf26401ca3a99ea6', class: {
|
|
22797
23189
|
"duet-theme-turva": this.theme === "turva",
|
|
22798
23190
|
"duet-theme-default": this.theme === "default",
|
|
22799
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
23191
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '7fa6f84d8f02d4e8b816eda4631bcad05167223f', class: {
|
|
22800
23192
|
collapse: true,
|
|
22801
23193
|
hide: !this.needsScrolling && !this.collapsed,
|
|
22802
|
-
} }, hAsync("duet-button", { key: '
|
|
23194
|
+
} }, 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: {
|
|
22803
23195
|
"duet-scrollable-items": true,
|
|
22804
23196
|
buttons: this.buttons,
|
|
22805
23197
|
center: this.center,
|
|
22806
23198
|
"duet-theme-turva": this.theme === "turva",
|
|
22807
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
23199
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'a6f3a782485f864dad9e40ddc032f982c6c7073b', class: {
|
|
22808
23200
|
"duet-scrollable-list": true,
|
|
22809
23201
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
22810
23202
|
[`gap-${this.gap}`]: true,
|
|
@@ -22812,7 +23204,7 @@ class DuetScrollable {
|
|
|
22812
23204
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
22813
23205
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
22814
23206
|
"duet-scrollable-stretch": this.stretch,
|
|
22815
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
23207
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'e17345b0845d35318c50ee82b7133b0f81bbac42' })), this.buttons && this.renderButton("right"))));
|
|
22816
23208
|
}
|
|
22817
23209
|
get element() { return getElement(this); }
|
|
22818
23210
|
static get watchers() { return {
|
|
@@ -22872,13 +23264,13 @@ class DuetSectionLayout {
|
|
|
22872
23264
|
* Always the last one in the class.
|
|
22873
23265
|
*/
|
|
22874
23266
|
render() {
|
|
22875
|
-
return (hAsync(Host, { key: '
|
|
23267
|
+
return (hAsync(Host, { key: '9e09c3c920b112b5c93c5ad6d7fa58c9c72d2bc5', class: {
|
|
22876
23268
|
"duet-middle": this.middle,
|
|
22877
23269
|
"duet-ie": isInternetExplorer(),
|
|
22878
|
-
} }, hAsync("div", { key: '
|
|
23270
|
+
} }, hAsync("div", { key: '1610e2a09eab2ce70922b6ad5c636acc12a8791a', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '8a76c865f526d670f1fb859adcdb84832479d9c6', class: {
|
|
22879
23271
|
"duet-layout": true,
|
|
22880
23272
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
22881
|
-
} }, hAsync("section", { key: '
|
|
23273
|
+
} }, hAsync("section", { key: '0f91daf6934b0c2d52ede50277a47885e80ede10', class: "duet-main" }, hAsync("slot", { key: '6998a473041513c5adbf796fe5c2ecaa3e436887' }))))));
|
|
22882
23274
|
}
|
|
22883
23275
|
get element() { return getElement(this); }
|
|
22884
23276
|
static get style() { return duetSectionLayoutCss; }
|
|
@@ -22896,7 +23288,7 @@ class DuetSectionLayout {
|
|
|
22896
23288
|
}; }
|
|
22897
23289
|
}
|
|
22898
23290
|
|
|
22899
|
-
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(
|
|
23291
|
+
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)}";
|
|
22900
23292
|
|
|
22901
23293
|
function isOptionGroup(item) {
|
|
22902
23294
|
return "options" in item;
|
|
@@ -23091,23 +23483,23 @@ class DuetSelect {
|
|
|
23091
23483
|
*/
|
|
23092
23484
|
render() {
|
|
23093
23485
|
const identifier = this.identifier || this.selectId;
|
|
23094
|
-
return (hAsync(Host, { key: '
|
|
23486
|
+
return (hAsync(Host, { key: '6937ee7615e75fb35ef3b6f1f43a4ac91fe13147', class: {
|
|
23095
23487
|
"duet-m-0": this.margin === "none",
|
|
23096
23488
|
"duet-expand": this.expand,
|
|
23097
23489
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23098
|
-
} }, hAsync("div", { key: '
|
|
23490
|
+
} }, hAsync("div", { key: 'df3ab43299a88a3560e41ac9efa1049f8cf472c6', class: {
|
|
23099
23491
|
"duet-select-container": true,
|
|
23100
23492
|
"duet-label-hidden": this.labelHidden,
|
|
23101
23493
|
"duet-theme-turva": this.theme === "turva",
|
|
23102
23494
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23103
23495
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
23104
23496
|
"has-error": !!this.error,
|
|
23105
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
23497
|
+
} }, 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 => {
|
|
23106
23498
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
23107
|
-
}))), hAsync("div", { key: '
|
|
23499
|
+
}))), hAsync("div", { key: 'af172a36f2e54f6ffe90e83d561258cc8aa91d6e', class: {
|
|
23108
23500
|
"duet-select": true,
|
|
23109
23501
|
[`duet-select-variation-${this.variation}`]: true,
|
|
23110
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
23502
|
+
}, "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)))));
|
|
23111
23503
|
}
|
|
23112
23504
|
get element() { return getElement(this); }
|
|
23113
23505
|
static get watchers() { return {
|
|
@@ -23187,9 +23579,9 @@ class DuetShapedImage {
|
|
|
23187
23579
|
const style = {
|
|
23188
23580
|
"--rotation": `${this.rotation}deg`,
|
|
23189
23581
|
};
|
|
23190
|
-
return (hAsync(Host, { key: '
|
|
23582
|
+
return (hAsync(Host, { key: 'a3b54614560cad8b7ebfab7fcdcd281d5cf2698d', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '70fabf21da7e7198739b45dece77a4c45ee9b297', class: {
|
|
23191
23583
|
"shaped-image": true,
|
|
23192
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
23584
|
+
}, 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}")` } })))));
|
|
23193
23585
|
}
|
|
23194
23586
|
static get style() { return duetShapedImageCss; }
|
|
23195
23587
|
static get cmpMeta() { return {
|
|
@@ -23259,12 +23651,12 @@ class DuetShareChart {
|
|
|
23259
23651
|
this.itemsTotalValue = this.items.reduce((total, { value }) => total + value, 0);
|
|
23260
23652
|
}
|
|
23261
23653
|
render() {
|
|
23262
|
-
return (hAsync(Host, { key: '
|
|
23654
|
+
return (hAsync(Host, { key: '41d1aab509a8e28586ffb62a223378a3c2d97552' }, hAsync("div", { key: '22552a2eae668cc0a293e61b46a10655188e2ef8', class: "duet-share-chart-horizontal-bar", role: "presentation" }, this.items
|
|
23263
23655
|
.filter(i => !!i.value)
|
|
23264
23656
|
.map(item => (hAsync("span", { class: "duet-share-chart-share", style: {
|
|
23265
23657
|
width: `${(item.value / this.itemsTotalValue) * 100}%`,
|
|
23266
23658
|
backgroundColor: getColorByName(item.color, this.theme),
|
|
23267
|
-
} })))), hAsync("ul", { key: '
|
|
23659
|
+
} })))), 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' })));
|
|
23268
23660
|
}
|
|
23269
23661
|
get element() { return getElement(this); }
|
|
23270
23662
|
static get style() { return duetShareChartCss; }
|
|
@@ -23291,7 +23683,7 @@ class DuetShareChartItem {
|
|
|
23291
23683
|
this.value = 0;
|
|
23292
23684
|
}
|
|
23293
23685
|
render() {
|
|
23294
|
-
return (hAsync(Host, { key: '
|
|
23686
|
+
return (hAsync(Host, { key: 'cfc906f48f161844e43f30fa14e0ff41939f38c6' }, hAsync("div", { key: '526a5bf599b352d289abf6057991d0407e7a7ff6', hidden: true }, hAsync("slot", { key: '8c8b501ea1fc3e556214a8b43afca95d24aae001' }))));
|
|
23295
23687
|
}
|
|
23296
23688
|
get element() { return getElement(this); }
|
|
23297
23689
|
static get cmpMeta() { return {
|
|
@@ -23441,12 +23833,12 @@ class DuetShowMore {
|
|
|
23441
23833
|
* Always the last one of the class.
|
|
23442
23834
|
*/
|
|
23443
23835
|
render() {
|
|
23444
|
-
return (hAsync(Host, { key: '
|
|
23836
|
+
return (hAsync(Host, { key: '514e5c439744a2960e711811f696d2ee9e49dba3' }, hAsync("div", { key: '40788025130f4b8570cbacfa6371b11ea4bbdb42', class: {
|
|
23445
23837
|
"duet-show-more": true,
|
|
23446
23838
|
"duet-theme-turva": this.theme === "turva",
|
|
23447
23839
|
"duet-m-0": this.margin === "none",
|
|
23448
23840
|
open: this.open,
|
|
23449
|
-
} }, hAsync("div", { key: '
|
|
23841
|
+
} }, 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)))));
|
|
23450
23842
|
}
|
|
23451
23843
|
get element() { return getElement(this); }
|
|
23452
23844
|
static get style() { return duetShowMoreCss; }
|
|
@@ -23967,17 +24359,17 @@ class DuetSlideout {
|
|
|
23967
24359
|
};
|
|
23968
24360
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
23969
24361
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
23970
|
-
return (hAsync(Host, { key: '
|
|
24362
|
+
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: {
|
|
23971
24363
|
dialog: true,
|
|
23972
24364
|
hidden: !this.open,
|
|
23973
24365
|
modal: this.modal,
|
|
23974
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
24366
|
+
}, 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: {
|
|
23975
24367
|
"slideout-close": true,
|
|
23976
24368
|
active: this.open,
|
|
23977
24369
|
"duet-theme-turva": this.theme === "turva",
|
|
23978
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
24370
|
+
}, 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: {
|
|
23979
24371
|
items: true,
|
|
23980
|
-
} }, hAsync("slot", { key: '
|
|
24372
|
+
} }, hAsync("slot", { key: '895e292fa85f1ec87523600aba207a414997c32f' })), hAsync(FocusGuard, { key: 'ead70e05106da19d4ca705b9716b1f9257563373', moveFocusTo: this.closeButton })))));
|
|
23981
24373
|
}
|
|
23982
24374
|
get element() { return getElement(this); }
|
|
23983
24375
|
static get watchers() { return {
|
|
@@ -24047,7 +24439,7 @@ class DuetSlideoutLang {
|
|
|
24047
24439
|
*/
|
|
24048
24440
|
render() {
|
|
24049
24441
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
24050
|
-
return (hAsync(Host, { key: '
|
|
24442
|
+
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' }))));
|
|
24051
24443
|
}
|
|
24052
24444
|
get element() { return getElement(this); }
|
|
24053
24445
|
static get style() { return duetSlideoutLangCss; }
|
|
@@ -24137,12 +24529,12 @@ class DuetSlideoutLink {
|
|
|
24137
24529
|
* Always the last one in the class.
|
|
24138
24530
|
*/
|
|
24139
24531
|
render() {
|
|
24140
|
-
return (hAsync(Host, { key: '
|
|
24532
|
+
return (hAsync(Host, { key: '11544751fda9c0d6dd5f84af34e2f87b732d42a4' }, hAsync("a", { key: '0a773bdb78c74a758242bd8bdfeaf3b4b9aa5b60', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
24141
24533
|
"duet-slideout-link": true,
|
|
24142
24534
|
"duet-theme-turva": this.theme === "turva",
|
|
24143
24535
|
active: this.active,
|
|
24144
24536
|
[this.size]: true,
|
|
24145
|
-
}, 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: '
|
|
24537
|
+
}, 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" }))))));
|
|
24146
24538
|
}
|
|
24147
24539
|
get element() { return getElement(this); }
|
|
24148
24540
|
static get style() { return duetSlideoutLinkCss; }
|
|
@@ -24319,25 +24711,25 @@ class DuetSlideoutPanel {
|
|
|
24319
24711
|
};
|
|
24320
24712
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
24321
24713
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
24322
|
-
return (hAsync(Host, { key: '
|
|
24714
|
+
return (hAsync(Host, { key: 'b7ca9da2d68d44f8c144355d8b42e9b822129768' }, hAsync("div", { key: '1cd22b150660a032f6307460a5394f9bdd2f8356', class: {
|
|
24323
24715
|
"duet-slideout-panel": true,
|
|
24324
24716
|
"duet-theme-turva": this.theme === "turva",
|
|
24325
24717
|
active: this.open,
|
|
24326
|
-
} }, this.badge && hAsync("duet-indicator", { key: '
|
|
24718
|
+
} }, 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: {
|
|
24327
24719
|
link: true,
|
|
24328
24720
|
active: this.active,
|
|
24329
24721
|
"duet-theme-turva": this.theme === "turva",
|
|
24330
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
24722
|
+
}, 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: {
|
|
24331
24723
|
dialog: true,
|
|
24332
24724
|
hidden: !this.open,
|
|
24333
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
24725
|
+
}, 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: {
|
|
24334
24726
|
back: true,
|
|
24335
24727
|
"duet-theme-turva": this.theme === "turva",
|
|
24336
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
24728
|
+
}, 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",
|
|
24337
24729
|
//TODO: slideout menu fades out, needs to be instant
|
|
24338
24730
|
id: "menu", "aria-labelledby": "button", class: {
|
|
24339
24731
|
items: true,
|
|
24340
|
-
} }, hAsync("slot", { key: '
|
|
24732
|
+
} }, hAsync("slot", { key: 'dab429efe653f73142b8cd615311c5a8953c6343' })), hAsync(FocusGuard, { key: '70c7027c0f655e46753addde7928facb096b0481', moveFocusTo: this.closeButton })))));
|
|
24341
24733
|
}
|
|
24342
24734
|
get element() { return getElement(this); }
|
|
24343
24735
|
static get watchers() { return {
|
|
@@ -24418,18 +24810,18 @@ class DuetSlideoutPanelDropdown {
|
|
|
24418
24810
|
* Always the last one in the class.
|
|
24419
24811
|
*/
|
|
24420
24812
|
render() {
|
|
24421
|
-
return (hAsync(Host, { key: '
|
|
24813
|
+
return (hAsync(Host, { key: 'bc86e96a57db15bb14d665edb554ef6372633c1e' }, hAsync("div", { key: '210b0bc2779a333ea5da5d9aa80f52ff94e31bab', class: {
|
|
24422
24814
|
"duet-slideout-panel-dropdown": true,
|
|
24423
24815
|
"duet-theme-turva": this.theme === "turva",
|
|
24424
24816
|
active: this.open,
|
|
24425
|
-
} }, hAsync("button", { key: '
|
|
24817
|
+
} }, 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: {
|
|
24426
24818
|
active: this.active,
|
|
24427
24819
|
"duet-theme-turva": this.theme === "turva",
|
|
24428
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
24820
|
+
}, 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: {
|
|
24429
24821
|
items: true,
|
|
24430
24822
|
hidden: !this.open,
|
|
24431
24823
|
"duet-theme-turva": this.theme === "turva",
|
|
24432
|
-
} }, hAsync("slot", { key: '
|
|
24824
|
+
} }, hAsync("slot", { key: '277a15c1a43715a4562f4e99e644972ade293982' })))));
|
|
24433
24825
|
}
|
|
24434
24826
|
get element() { return getElement(this); }
|
|
24435
24827
|
static get style() { return duetSlideoutPanelDropdownCss; }
|
|
@@ -24473,7 +24865,7 @@ class DuetSpacer {
|
|
|
24473
24865
|
* Always the last one in the class.
|
|
24474
24866
|
*/
|
|
24475
24867
|
render() {
|
|
24476
|
-
return (hAsync(Host, { key: '
|
|
24868
|
+
return (hAsync(Host, { key: 'c528bde6cb4834c7b89630a87a1d9add5438473b', class: {
|
|
24477
24869
|
"duet-spacer": true,
|
|
24478
24870
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
24479
24871
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -24528,7 +24920,7 @@ class DuetSpinner {
|
|
|
24528
24920
|
*/
|
|
24529
24921
|
render() {
|
|
24530
24922
|
const color = !!this.color && this.color === "currentColor" ? "currentColor" : getColorByName(this.color, this.theme);
|
|
24531
|
-
return (hAsync(Host, { key: '
|
|
24923
|
+
return (hAsync(Host, { key: 'ec9e97fce056ea29ab963b3dc0acbf65ef74858b' }, hAsync("div", { key: 'bb244cf728a5ea38b7f65d486e141d314d4b79f5', class: {
|
|
24532
24924
|
"duet-spinner": true,
|
|
24533
24925
|
[this.size]: true,
|
|
24534
24926
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -24634,10 +25026,10 @@ class DuetStatusIcon {
|
|
|
24634
25026
|
}
|
|
24635
25027
|
}
|
|
24636
25028
|
render() {
|
|
24637
|
-
return (hAsync(Host, { key: '
|
|
25029
|
+
return (hAsync(Host, { key: 'f2af4364319cd502dff5e2f28bc872efc3baa29c', class: {
|
|
24638
25030
|
[`duet-status-icon-${this.getVariation()}`]: true,
|
|
24639
25031
|
"duet-strong-bg": this.strong,
|
|
24640
|
-
} }, hAsync("duet-icon", { key: '
|
|
25032
|
+
} }, hAsync("duet-icon", { key: 'eb4692810e48c350dbd8fc15e0de0825f5f9a700', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
24641
25033
|
}
|
|
24642
25034
|
static get cmpMeta() { return {
|
|
24643
25035
|
"$flags$": 265,
|
|
@@ -24758,13 +25150,13 @@ class DuetStep {
|
|
|
24758
25150
|
* Always the last one in the class.
|
|
24759
25151
|
*/
|
|
24760
25152
|
render() {
|
|
24761
|
-
return (hAsync("div", { key: '
|
|
25153
|
+
return (hAsync("div", { key: '402b9ef15bf57d82500a6023c38c8b66a110cbb3', class: {
|
|
24762
25154
|
"duet-step": true,
|
|
24763
25155
|
[`is-${this.state}`]: true,
|
|
24764
25156
|
"rounded-top": this.roundedTop,
|
|
24765
25157
|
"rounded-bottom": this.roundedBottom,
|
|
24766
25158
|
"duet-theme-turva": this.theme === "turva",
|
|
24767
|
-
} }, hAsync("div", { key: '
|
|
25159
|
+
} }, 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' })))));
|
|
24768
25160
|
}
|
|
24769
25161
|
get element() { return getElement(this); }
|
|
24770
25162
|
static get style() { return duetStepCss; }
|
|
@@ -24911,7 +25303,7 @@ class DuetStepper {
|
|
|
24911
25303
|
* Always the last one in the class.
|
|
24912
25304
|
*/
|
|
24913
25305
|
render() {
|
|
24914
|
-
return (hAsync(Host, { key: '
|
|
25306
|
+
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' }))));
|
|
24915
25307
|
}
|
|
24916
25308
|
get element() { return getElement(this); }
|
|
24917
25309
|
static get watchers() { return {
|
|
@@ -25065,19 +25457,19 @@ class DuetSubmenuBar {
|
|
|
25065
25457
|
* Always the last one in the class.
|
|
25066
25458
|
*/
|
|
25067
25459
|
render() {
|
|
25068
|
-
return (hAsync(Host, { key: '
|
|
25460
|
+
return (hAsync(Host, { key: 'f7a1424b603111719ad2b1c8a4bdcc2411b3a081' }, hAsync("nav", { key: 'cc3405015c8f8db4a147ce964e700bc6cd7fc5ad', class: {
|
|
25069
25461
|
"duet-submenu-bar": true,
|
|
25070
25462
|
"duet-theme-turva": this.theme === "turva",
|
|
25071
25463
|
hidden: this.hidden,
|
|
25072
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
25464
|
+
}, "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: {
|
|
25073
25465
|
active: this.open,
|
|
25074
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
25466
|
+
}, 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: {
|
|
25075
25467
|
"menu-container": true,
|
|
25076
25468
|
hidden: !this.open,
|
|
25077
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
25469
|
+
}, 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: {
|
|
25078
25470
|
items: true,
|
|
25079
25471
|
hidden: !this.open,
|
|
25080
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
25472
|
+
}, 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" })))));
|
|
25081
25473
|
}
|
|
25082
25474
|
get element() { return getElement(this); }
|
|
25083
25475
|
static get watchers() { return {
|
|
@@ -25209,18 +25601,18 @@ class DuetSubmenuBarDropdown {
|
|
|
25209
25601
|
* Always the last one in the class.
|
|
25210
25602
|
*/
|
|
25211
25603
|
render() {
|
|
25212
|
-
return (hAsync(Host, { key: '
|
|
25604
|
+
return (hAsync(Host, { key: '1f7a8c55ce1e51e82a3689480c19cc1251290d98', role: "listitem" }, hAsync("div", { key: '7abfa84100114bdcb753454bd89351dbcdc88213', class: {
|
|
25213
25605
|
"duet-submenu-bar-dropdown": true,
|
|
25214
25606
|
"duet-theme-turva": this.theme === "turva",
|
|
25215
25607
|
open: this.open,
|
|
25216
25608
|
active: this.active,
|
|
25217
|
-
} }, hAsync("button", { key: '
|
|
25609
|
+
} }, 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: {
|
|
25218
25610
|
open: this.open,
|
|
25219
25611
|
active: this.active,
|
|
25220
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
25612
|
+
}, 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: {
|
|
25221
25613
|
items: true,
|
|
25222
25614
|
hidden: !this.open,
|
|
25223
|
-
} }, hAsync("slot", { key: '
|
|
25615
|
+
} }, hAsync("slot", { key: 'ad75bd23dd9f44bff12f360a43871991bf3ce653' })))));
|
|
25224
25616
|
}
|
|
25225
25617
|
get element() { return getElement(this); }
|
|
25226
25618
|
static get style() { return duetSubmenuBarDropdownCss; }
|
|
@@ -25289,12 +25681,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
25289
25681
|
* Always the last one in the class.
|
|
25290
25682
|
*/
|
|
25291
25683
|
render() {
|
|
25292
|
-
return (hAsync(Host, { key: '
|
|
25684
|
+
return (hAsync(Host, { key: 'cf39c11edeabc413beb507824669b8643dc9483d' }, hAsync("a", { key: '291903d9b4ed68200261fd220c91810743b7216b', class: {
|
|
25293
25685
|
"duet-submenu-bar-dropdown-link": true,
|
|
25294
25686
|
"duet-theme-turva": this.theme === "turva",
|
|
25295
25687
|
highlight: this.highlight,
|
|
25296
25688
|
active: this.active,
|
|
25297
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
25689
|
+
}, "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" })))));
|
|
25298
25690
|
}
|
|
25299
25691
|
get element() { return getElement(this); }
|
|
25300
25692
|
static get style() { return duetSubmenuBarDropdownLinkCss; }
|
|
@@ -25390,7 +25782,7 @@ class DuetSubmenuBarItem {
|
|
|
25390
25782
|
render() {
|
|
25391
25783
|
const TagName = this.url ? "a" : "button";
|
|
25392
25784
|
const role = this.url ? "link" : "button";
|
|
25393
|
-
return (hAsync(Host, { key: '
|
|
25785
|
+
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: {
|
|
25394
25786
|
"trailing-icon": !!this.trailingIcon,
|
|
25395
25787
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
25396
25788
|
"external-icon": !!this.external,
|
|
@@ -25462,7 +25854,7 @@ class DuetSubmenuBarLink {
|
|
|
25462
25854
|
* Always the last one in the class.
|
|
25463
25855
|
*/
|
|
25464
25856
|
render() {
|
|
25465
|
-
return (hAsync(Host, { key: '
|
|
25857
|
+
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' })))));
|
|
25466
25858
|
}
|
|
25467
25859
|
get element() { return getElement(this); }
|
|
25468
25860
|
static get style() { return duetSubmenuBarLinkCss; }
|
|
@@ -25588,7 +25980,7 @@ class DuetTab {
|
|
|
25588
25980
|
* Always the last one in the class.
|
|
25589
25981
|
*/
|
|
25590
25982
|
render() {
|
|
25591
|
-
return (hAsync("div", { key: '
|
|
25983
|
+
return (hAsync("div", { key: '6c6bd7f4b90785a517f5ffaa206a1cf5bb8be020', ref: element => {
|
|
25592
25984
|
if (!this.contentId) {
|
|
25593
25985
|
this.tabpanelElement = element;
|
|
25594
25986
|
}
|
|
@@ -25597,7 +25989,7 @@ class DuetTab {
|
|
|
25597
25989
|
"duet-tab": true,
|
|
25598
25990
|
selected: this.selected,
|
|
25599
25991
|
"has-content-id": !!this.contentId,
|
|
25600
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
25992
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: 'c68e037d36ea1953da46c6c914c77e38b1f2151b' })));
|
|
25601
25993
|
}
|
|
25602
25994
|
get element() { return getElement(this); }
|
|
25603
25995
|
static get watchers() { return {
|
|
@@ -25908,13 +26300,13 @@ class DuetTabGroup {
|
|
|
25908
26300
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
25909
26301
|
"duet-theme-turva": this.theme === "turva",
|
|
25910
26302
|
}, 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 })))));
|
|
25911
|
-
return (hAsync("div", { key: '
|
|
26303
|
+
return (hAsync("div", { key: '1a61e0491f88c0a88cde77ebbdfd0030b574b537', class: {
|
|
25912
26304
|
"duet-tab-group": true,
|
|
25913
26305
|
"duet-theme-turva": this.theme === "turva",
|
|
25914
26306
|
[variationClass]: true,
|
|
25915
26307
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
25916
26308
|
"duet-tab-group-scrolls": true,
|
|
25917
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
26309
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '23a7b5dbb12fb5386fabcde92a0806d1f037ae2f', role: "tablist", class: {
|
|
25918
26310
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
25919
26311
|
"duet-tab-group-tabs": true,
|
|
25920
26312
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
@@ -25925,11 +26317,11 @@ class DuetTabGroup {
|
|
|
25925
26317
|
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
25926
26318
|
"duet-tab-group-scrollable-wrapper": true,
|
|
25927
26319
|
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
25928
|
-
} }, 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: '
|
|
26320
|
+
} }, 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: {
|
|
25929
26321
|
"duet-tab-group-content": true,
|
|
25930
26322
|
"duet-m-0": this.margin === "none",
|
|
25931
26323
|
"checked-group-content": this.variation === "checked",
|
|
25932
|
-
} }, hAsync("slot", { key: '
|
|
26324
|
+
} }, hAsync("slot", { key: 'd5634f255c0d4ae18026e471a64a77d6dbe78854' }))));
|
|
25933
26325
|
}
|
|
25934
26326
|
get element() { return getElement(this); }
|
|
25935
26327
|
static get style() { return duetTabGroupCss; }
|
|
@@ -26579,7 +26971,7 @@ class DuetTable {
|
|
|
26579
26971
|
}
|
|
26580
26972
|
}
|
|
26581
26973
|
render() {
|
|
26582
|
-
return (hAsync(Host, { key: '
|
|
26974
|
+
return (hAsync(Host, { key: 'a1dd7fa3685f9dba8b9e5dca8a0fd24c14431658', class: {
|
|
26583
26975
|
[`duet-table-${this.variation}`]: true,
|
|
26584
26976
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
26585
26977
|
// sticky only valid when in regular table layout
|
|
@@ -26588,7 +26980,7 @@ class DuetTable {
|
|
|
26588
26980
|
"duet-m-0": this.margin === "none",
|
|
26589
26981
|
"duet-theme-turva": this.theme === "turva",
|
|
26590
26982
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
26591
|
-
} }, hAsync("slot", { key: '
|
|
26983
|
+
} }, hAsync("slot", { key: '3f4f49a2dc93f99278caa0089c0305a7049817e6' })));
|
|
26592
26984
|
}
|
|
26593
26985
|
get element() { return getElement(this); }
|
|
26594
26986
|
static get watchers() { return {
|
|
@@ -26614,7 +27006,7 @@ class DuetTable {
|
|
|
26614
27006
|
}; }
|
|
26615
27007
|
}
|
|
26616
27008
|
|
|
26617
|
-
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
|
|
27009
|
+
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)}";
|
|
26618
27010
|
|
|
26619
27011
|
const CharacterCount = ({ value, maxlength, theme }) => {
|
|
26620
27012
|
if (maxlength == null) {
|
|
@@ -26858,17 +27250,17 @@ class DuetTextarea {
|
|
|
26858
27250
|
*/
|
|
26859
27251
|
render() {
|
|
26860
27252
|
const identifier = this.identifier || this.textareaId;
|
|
26861
|
-
return (hAsync(Host, { key: '
|
|
27253
|
+
return (hAsync(Host, { key: '628cfbee772dabe02ee28e28b45ac044ba306433', class: {
|
|
26862
27254
|
"duet-m-0": this.margin === "none",
|
|
26863
27255
|
"duet-has-counter": this.counter && !this.error,
|
|
26864
27256
|
"duet-expand": this.expand,
|
|
26865
|
-
} }, hAsync("div", { key: '
|
|
27257
|
+
} }, hAsync("div", { key: 'd3b269724ee0b454556b85713e4ce8d0da937121', class: {
|
|
26866
27258
|
"duet-textarea-container": true,
|
|
26867
27259
|
"duet-theme-turva": this.theme === "turva",
|
|
26868
27260
|
"duet-label-hidden": this.labelHidden,
|
|
26869
27261
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
26870
27262
|
"has-error": !!this.error,
|
|
26871
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
27263
|
+
} }, 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)))));
|
|
26872
27264
|
}
|
|
26873
27265
|
get element() { return getElement(this); }
|
|
26874
27266
|
static get watchers() { return {
|
|
@@ -27037,11 +27429,11 @@ class DuetToggle {
|
|
|
27037
27429
|
*/
|
|
27038
27430
|
render() {
|
|
27039
27431
|
const identifier = this.identifier || this.toggleId;
|
|
27040
|
-
return (hAsync(Host, { key: '
|
|
27432
|
+
return (hAsync(Host, { key: '3ec57cff6ce3da317cddd00e7bedbc6650b5241d', onClick: this.disabled || this.loading ? undefined : this.onClick, class: {
|
|
27041
27433
|
"duet-m-0": this.margin === "none",
|
|
27042
27434
|
"duet-toggle-is-disabled": this.disabled,
|
|
27043
27435
|
"duet-toggle-is-loading": this.loading,
|
|
27044
|
-
} }, hAsync("div", { key: '
|
|
27436
|
+
} }, hAsync("div", { key: 'eee3e6b5baf3b19f1b3def60257a86bba82937f1', class: {
|
|
27045
27437
|
"duet-toggle": true,
|
|
27046
27438
|
"duet-theme-turva": this.theme === "turva",
|
|
27047
27439
|
"duet-side-label": this.labelPosition !== "top",
|
|
@@ -27049,7 +27441,7 @@ class DuetToggle {
|
|
|
27049
27441
|
"duet-label-hidden": this.labelHidden,
|
|
27050
27442
|
"duet-toggle-is-disabled": this.disabled,
|
|
27051
27443
|
"duet-toggle-is-loading": this.loading,
|
|
27052
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
27444
|
+
} }, 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()]))));
|
|
27053
27445
|
}
|
|
27054
27446
|
get element() { return getElement(this); }
|
|
27055
27447
|
static get watchers() { return {
|
|
@@ -27130,11 +27522,11 @@ class DuetToolbar {
|
|
|
27130
27522
|
: this.variation === "secondary"
|
|
27131
27523
|
? "secondary"
|
|
27132
27524
|
: "default";
|
|
27133
|
-
return (hAsync(Host, { key: '
|
|
27525
|
+
return (hAsync(Host, { key: '11cac89e811d6b909196be87f12ddf03fabc3880' }, hAsync("nav", { key: '811f12c8c160dc6ca955cee1c442289e5be2ca87', class: {
|
|
27134
27526
|
"duet-toolbar": true,
|
|
27135
27527
|
"duet-theme-turva": this.theme === "turva",
|
|
27136
27528
|
[variation]: true,
|
|
27137
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
27529
|
+
}, "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" }))))));
|
|
27138
27530
|
}
|
|
27139
27531
|
get element() { return getElement(this); }
|
|
27140
27532
|
static get style() { return duetToolbarCss; }
|
|
@@ -27215,18 +27607,18 @@ class DuetToolbarDropdown {
|
|
|
27215
27607
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
27216
27608
|
}
|
|
27217
27609
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27218
|
-
return (hAsync(Host, { key: '
|
|
27610
|
+
return (hAsync(Host, { key: '69eac2f06436172cce984b86ca20cc5b63478496', role: "listitem" }, hAsync("div", { key: '9ac7f1b67f30a45617d57343d23126878f74160f', class: {
|
|
27219
27611
|
"duet-toolbar-dropdown": true,
|
|
27220
27612
|
"duet-theme-turva": this.theme === "turva",
|
|
27221
27613
|
[itemsAlign]: true,
|
|
27222
27614
|
[variation]: true,
|
|
27223
|
-
} }, hAsync("button", { key: '
|
|
27615
|
+
} }, 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: {
|
|
27224
27616
|
active: this.active,
|
|
27225
27617
|
open: this.open,
|
|
27226
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
27618
|
+
}, 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: {
|
|
27227
27619
|
items: true,
|
|
27228
27620
|
hidden: !this.open,
|
|
27229
|
-
} }, hAsync("slot", { key: '
|
|
27621
|
+
} }, hAsync("slot", { key: '230cab93cb351afae35d7f0a56383e3547048540' })))));
|
|
27230
27622
|
}
|
|
27231
27623
|
get element() { return getElement(this); }
|
|
27232
27624
|
static get style() { return duetToolbarDropdownCss; }
|
|
@@ -27292,11 +27684,11 @@ class DuetToolbarDropdownLink {
|
|
|
27292
27684
|
* Always the last one in the class.
|
|
27293
27685
|
*/
|
|
27294
27686
|
render() {
|
|
27295
|
-
return (hAsync(Host, { key: '
|
|
27687
|
+
return (hAsync(Host, { key: '035633abc84750e47b20bdac26530ccbee19265f' }, hAsync("a", { key: '1da75702c3371b0b65de19c2124ce4d815d9efc4', class: {
|
|
27296
27688
|
"duet-toolbar-dropdown-link": true,
|
|
27297
27689
|
"duet-theme-turva": this.theme === "turva",
|
|
27298
27690
|
active: this.active,
|
|
27299
|
-
}, 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: '
|
|
27691
|
+
}, 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" })))));
|
|
27300
27692
|
}
|
|
27301
27693
|
get element() { return getElement(this); }
|
|
27302
27694
|
static get style() { return duetToolbarDropdownLinkCss; }
|
|
@@ -27399,17 +27791,17 @@ class DuetToolbarItem {
|
|
|
27399
27791
|
: this.variation === "secondary"
|
|
27400
27792
|
? "secondary"
|
|
27401
27793
|
: "default";
|
|
27402
|
-
return (hAsync(Host, { key: '
|
|
27794
|
+
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: {
|
|
27403
27795
|
"duet-toolbar-item": true,
|
|
27404
27796
|
"duet-theme-turva": this.theme === "turva",
|
|
27405
27797
|
active: this.active,
|
|
27406
27798
|
[variation]: true,
|
|
27407
|
-
}, 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: '
|
|
27799
|
+
}, 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: {
|
|
27408
27800
|
"trailing-icon": !!this.trailingIcon,
|
|
27409
27801
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
27410
27802
|
"external-icon": !!(this.url && this.external),
|
|
27411
27803
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
27412
|
-
}, 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: '
|
|
27804
|
+
}, 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" }))))));
|
|
27413
27805
|
}
|
|
27414
27806
|
get element() { return getElement(this); }
|
|
27415
27807
|
static get style() { return duetToolbarItemCss; }
|
|
@@ -27476,12 +27868,12 @@ class DuetToolbarLink {
|
|
|
27476
27868
|
*/
|
|
27477
27869
|
render() {
|
|
27478
27870
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
27479
|
-
return (hAsync(Host, { key: '
|
|
27871
|
+
return (hAsync(Host, { key: '3892831234a833b4a247d3de3f9a66c30135e5a2', role: "listitem" }, hAsync("a", { key: '7f8a8e206d7775ed92ab5936304cc4c4aea4147a', class: {
|
|
27480
27872
|
"duet-toolbar-link": true,
|
|
27481
27873
|
"duet-theme-turva": this.theme === "turva",
|
|
27482
27874
|
active: this.active,
|
|
27483
27875
|
[variation]: true,
|
|
27484
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
27876
|
+
}, 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' }))));
|
|
27485
27877
|
}
|
|
27486
27878
|
get element() { return getElement(this); }
|
|
27487
27879
|
static get style() { return duetToolbarLinkCss; }
|
|
@@ -27815,13 +28207,13 @@ class DuetTooltipButton {
|
|
|
27815
28207
|
* Always the last one in the class.
|
|
27816
28208
|
*/
|
|
27817
28209
|
render() {
|
|
27818
|
-
const visuallyHidden = hAsync("duet-visually-hidden", { key: '
|
|
27819
|
-
return (hAsync(Host, { key: '
|
|
28210
|
+
const visuallyHidden = hAsync("duet-visually-hidden", { key: '70a82f2c22f0f4f4550e15b1e7ec8c526e3c122e' }, this.accessibleLabel);
|
|
28211
|
+
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: {
|
|
27820
28212
|
"duet-tooltip-button": true,
|
|
27821
28213
|
"duet-tooltip-button-has-label": !!this.label,
|
|
27822
28214
|
"duet-theme-turva": this.theme === "turva",
|
|
27823
28215
|
"duet-tooltip-button-negative": this.negative,
|
|
27824
|
-
} }, hAsync("svg", { key: '
|
|
28216
|
+
} }, 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))));
|
|
27825
28217
|
}
|
|
27826
28218
|
get element() { return getElement(this); }
|
|
27827
28219
|
static get style() { return duetTooltipButtonCss; }
|
|
@@ -27886,14 +28278,14 @@ class DuetTooltipPopup {
|
|
|
27886
28278
|
this.contentEl.focus();
|
|
27887
28279
|
}
|
|
27888
28280
|
render() {
|
|
27889
|
-
return (hAsync(Host, { key: '
|
|
28281
|
+
return (hAsync(Host, { key: 'cf44855d08d69141e629987f9ba2fdccdcdc21d7' }, hAsync("div", { key: 'bf7580b8ecdf58b6c93c3c21cbb362234cc699b4', class: {
|
|
27890
28282
|
"duet-tooltip": true,
|
|
27891
28283
|
"duet-theme-turva": this.theme === "turva",
|
|
27892
28284
|
"duet-tooltip-active": this.active === true,
|
|
27893
|
-
} }, hAsync(FocusGuard, { key: '
|
|
28285
|
+
} }, hAsync(FocusGuard, { key: '6f5a516e23035e8e0b9c2951ef4a10243b564d17', moveFocusTo: this.buttonEl }), hAsync("div", { key: '3d1031a521b8085ee786692f678a599fe7c02512', ref: element => (this.contentEl = element), class: {
|
|
27894
28286
|
"duet-tooltip-content-area": true,
|
|
27895
28287
|
"duet-theme-turva": this.theme === "turva",
|
|
27896
|
-
}, tabindex: -1, id: this.tooltipId }, hAsync("slot", { key: '
|
|
28288
|
+
}, 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 }))));
|
|
27897
28289
|
}
|
|
27898
28290
|
get element() { return getElement(this); }
|
|
27899
28291
|
static get style() { return duetTooltipPopupCss; }
|
|
@@ -28042,14 +28434,14 @@ class DuetTray {
|
|
|
28042
28434
|
* Always the last one in the class.
|
|
28043
28435
|
*/
|
|
28044
28436
|
render() {
|
|
28045
|
-
return (hAsync("div", { key: '
|
|
28437
|
+
return (hAsync("div", { key: '4feb3ea8d6067ec6d82c6eaf9225fe6728bd4acc', class: {
|
|
28046
28438
|
"duet-tray": true,
|
|
28047
28439
|
"duet-tray-is-active": this.active,
|
|
28048
28440
|
"duet-tray-is-hidden": this.hiddenState,
|
|
28049
28441
|
"duet-tray-is-responsive": this.responsive,
|
|
28050
28442
|
"duet-theme-turva": this.theme === "turva",
|
|
28051
28443
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
28052
|
-
} }, hAsync("div", { key: '
|
|
28444
|
+
} }, 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" })))))));
|
|
28053
28445
|
}
|
|
28054
28446
|
get element() { return getElement(this); }
|
|
28055
28447
|
static get style() { return duetTrayCss; }
|
|
@@ -29364,10 +29756,10 @@ class DuetUpload {
|
|
|
29364
29756
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
29365
29757
|
}
|
|
29366
29758
|
// @ts-ignore
|
|
29367
|
-
return (hAsync(Host, { key: '
|
|
29759
|
+
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 ||
|
|
29368
29760
|
this.bytesMaxReached ||
|
|
29369
29761
|
this.filesToUploadExceedsLimit ||
|
|
29370
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
29762
|
+
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 => {
|
|
29371
29763
|
this.nativeInput = input;
|
|
29372
29764
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
29373
29765
|
"duet-upload": true,
|
|
@@ -29709,7 +30101,7 @@ class DuetUploadAriaStatus {
|
|
|
29709
30101
|
* Always the last one in the class.
|
|
29710
30102
|
*/
|
|
29711
30103
|
render() {
|
|
29712
|
-
return (hAsync(Host, { key: '
|
|
30104
|
+
return (hAsync(Host, { key: '2084d67e27f201170cb0915e97235481a8f42ff6', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'f774f8926c1f2500866e4b50781cf83a1263b0c2' }, this.statusMessage)));
|
|
29713
30105
|
}
|
|
29714
30106
|
get element() { return getElement(this); }
|
|
29715
30107
|
static get watchers() { return {
|
|
@@ -29785,7 +30177,7 @@ let DuetUploadItem$1 = class DuetUploadItem {
|
|
|
29785
30177
|
inheritGlobalTheme(this);
|
|
29786
30178
|
}
|
|
29787
30179
|
render() {
|
|
29788
|
-
return (hAsync(Host, { key: '
|
|
30180
|
+
return (hAsync(Host, { key: '4990de1bf699e3f0daea24f507a9b9e252b11d9a' }, hAsync("duet-visually-hidden", { key: '0a226f6f53a8da89230e81df8be61a2413c44af1', "aria-hidden": "true" }, hAsync("input", { key: 'a8a8e3bfc73847a74ea8dc8dff0da0c16d510e15', ref: input => {
|
|
29789
30181
|
this.nativeInput = input;
|
|
29790
30182
|
}, type: "file", class: {
|
|
29791
30183
|
"duet-upload": true,
|
|
@@ -29889,9 +30281,9 @@ class DuetUploadItem {
|
|
|
29889
30281
|
const { uid, meta, item } = this.data;
|
|
29890
30282
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
29891
30283
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
29892
|
-
return (hAsync("div", { key: '
|
|
30284
|
+
return (hAsync("div", { key: 'a4236da565d327c0745c1d0838cb8521c9aeacd2', class: {
|
|
29893
30285
|
"upload-item-row": true,
|
|
29894
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
30286
|
+
} }, 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 => {
|
|
29895
30287
|
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) }));
|
|
29896
30288
|
}))));
|
|
29897
30289
|
}
|
|
@@ -29931,7 +30323,7 @@ class DuetVisuallyHidden {
|
|
|
29931
30323
|
* Always the last one in the class.
|
|
29932
30324
|
*/
|
|
29933
30325
|
render() {
|
|
29934
|
-
return (hAsync(Host, { key: '
|
|
30326
|
+
return (hAsync(Host, { key: '2ac2536c5fb762954d328da1080105d92292c8b4', class: "duet-visually-hidden" }, hAsync("slot", { key: '4f58c2bdca5f9d629586174be225448f22662155' })));
|
|
29935
30327
|
}
|
|
29936
30328
|
get element() { return getElement(this); }
|
|
29937
30329
|
static get style() { return duetVisuallyHiddenCss; }
|