@duetds/components 9.3.2 → 9.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +321 -206
- package/lib/cjs/{a11y-utils-9d522b3c.js → a11y-utils-d8d25cf4.js} +1 -1
- package/lib/cjs/{app-globals-ed8b5106.js → app-globals-99f2f39f.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +15 -11
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -6
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +8 -8
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- 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 +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -5
- package/lib/cjs/duet-modal.cjs.entry.js +11 -11
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +34 -30
- package/lib/cjs/duet-section-layout.cjs.entry.js +5 -5
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
- package/lib/cjs/duet-status-icon.cjs.entry.js +86 -0
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- 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 +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- 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 +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-042e73b2.js → errorcodes.utils-2db03da6.js} +1 -1
- package/lib/cjs/{focus-utils-79683b7f.js → focus-utils-5578a0a5.js} +1 -1
- package/lib/cjs/{index-48792b1c.js → index-9c3aea30.js} +331 -2
- package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-f7c9f980.js} +4 -0
- package/lib/cjs/{language-utils-0b533bd8.js → language-utils-9499975c.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-4993d500.js → slot-utils-58467702.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- 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-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +4 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +17 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +33 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- 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.js +4 -4
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- 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-layout/duet-layout.css +0 -3
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- 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.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -2
- 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.js +4 -4
- 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.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- 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.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- 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-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +6 -4
- 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.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +21 -38
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +20 -19
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +0 -3
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +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.js +6 -6
- 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 +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +182 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +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.js +4 -4
- 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.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +24 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +28 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- 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.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +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/collection/utils/keyboard-utils.js +3 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +25 -7
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +12 -12
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +7 -7
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +15 -15
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +5 -5
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +25 -25
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +5 -5
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +9 -8
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.d.ts +11 -0
- package/lib/dist-custom-elements/duet-status-icon.js +111 -0
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +18 -14
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-962142a6.js → p-02060606.js} +12 -12
- package/lib/dist-custom-elements/{p-c37a3d76.js → p-0323fc27.js} +5 -5
- package/lib/dist-custom-elements/{p-4dd5d18f.js → p-0a566079.js} +11 -11
- package/lib/dist-custom-elements/{p-fd7b2557.js → p-0a959269.js} +4 -4
- package/lib/dist-custom-elements/{p-e7a9cd6f.js → p-1080a6c7.js} +1 -1
- package/lib/dist-custom-elements/{p-712259e0.js → p-159ce59f.js} +3 -3
- package/lib/dist-custom-elements/{p-fa2c423f.js → p-195bcbbc.js} +8 -6
- package/lib/dist-custom-elements/{p-c90eb69a.js → p-1b3d1a63.js} +4 -4
- package/lib/dist-custom-elements/{p-64b0aebd.js → p-1e473975.js} +2 -2
- package/lib/dist-custom-elements/{p-d5f00f7a.js → p-269887e7.js} +4 -4
- package/lib/dist-custom-elements/{p-86494dae.js → p-283c8c77.js} +26 -25
- package/lib/dist-custom-elements/{p-167f1cfd.js → p-2ccad3d5.js} +4 -4
- package/lib/dist-custom-elements/{p-883b759b.js → p-3392a6b5.js} +8 -8
- package/lib/dist-custom-elements/{p-fd267007.js → p-35014c4b.js} +6 -6
- package/lib/dist-custom-elements/{p-8e60819a.js → p-447bdf9c.js} +3 -3
- package/lib/dist-custom-elements/{p-6feba7bb.js → p-4c77c6a3.js} +3 -3
- package/lib/dist-custom-elements/{p-a5e5d630.js → p-538c0817.js} +3 -3
- package/lib/dist-custom-elements/p-54a8c7e1.js +80 -0
- package/lib/dist-custom-elements/{p-25ea4a16.js → p-5c11ac99.js} +2 -2
- package/lib/dist-custom-elements/{p-7302dad1.js → p-6617d6ac.js} +3 -3
- package/lib/dist-custom-elements/{p-accdf258.js → p-6657fbee.js} +6 -6
- package/lib/dist-custom-elements/{p-e718ebf2.js → p-67704520.js} +2 -2
- package/lib/dist-custom-elements/{p-88047e60.js → p-705254ba.js} +6 -4
- package/lib/dist-custom-elements/{p-fd2cf87d.js → p-77a6d407.js} +1 -1
- package/lib/dist-custom-elements/{p-afe17ede.js → p-8381740e.js} +4 -4
- package/lib/dist-custom-elements/{p-20f331d0.js → p-86bff8f2.js} +1 -1
- package/lib/dist-custom-elements/{p-54931e85.js → p-8885bff1.js} +2 -2
- package/lib/dist-custom-elements/{p-ca700701.js → p-8db11326.js} +4 -1
- package/lib/dist-custom-elements/{p-9fb49035.js → p-9a854b9b.js} +4 -4
- package/lib/dist-custom-elements/{p-c5dd5195.js → p-a8859d41.js} +2 -2
- package/lib/dist-custom-elements/{p-0b80be82.js → p-bcdec622.js} +2 -2
- package/lib/dist-custom-elements/{p-7623dd11.js → p-c1f97fa7.js} +7 -7
- package/lib/dist-custom-elements/{p-00371426.js → p-ccfdbbfd.js} +3 -3
- package/lib/dist-custom-elements/{p-5d23c028.js → p-d74ee462.js} +1 -1
- package/lib/dist-custom-elements/{p-33d21ff2.js → p-d8ca9bb0.js} +8 -8
- package/lib/dist-custom-elements/{p-ea321c45.js → p-dafd01b3.js} +1 -1
- package/lib/dist-custom-elements/{p-873a94ec.js → p-e6396ef5.js} +3 -3
- package/lib/dist-custom-elements/{p-f8c8174f.js → p-e95fb79b.js} +1 -1
- package/lib/dist-custom-elements/{p-ac901dbf.js → p-ef906a44.js} +5 -5
- package/lib/dist-custom-elements/{p-18a780a8.js → p-f2e41ed9.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-863b7447.entry.js → p-03259614.entry.js} +1 -1
- package/lib/duet/{p-e83ed709.system.js → p-054f5ec6.system.js} +1 -1
- package/lib/duet/p-0750dca1.entry.js +4 -0
- package/lib/duet/p-07f685d3.entry.js +4 -0
- package/lib/duet/{p-285978b7.entry.js → p-086a3406.entry.js} +1 -1
- package/lib/duet/{p-1b6ef5df.js → p-0a675075.js} +1 -1
- package/lib/duet/p-0dfbe740.entry.js +4 -0
- package/lib/duet/{p-3727fa6a.entry.js → p-10c5ce3a.entry.js} +1 -1
- package/lib/duet/{p-19d7c08d.system.entry.js → p-126d3a77.system.entry.js} +2 -2
- package/lib/duet/p-140fd433.system.entry.js +4 -0
- package/lib/duet/{p-fdade91c.entry.js → p-145d2c10.entry.js} +1 -1
- package/lib/duet/{p-63b85043.system.entry.js → p-18cee812.system.entry.js} +2 -2
- package/lib/duet/{p-78f953dd.entry.js → p-1aac7b52.entry.js} +1 -1
- package/lib/duet/{p-293a8254.entry.js → p-1f059581.entry.js} +1 -1
- package/lib/duet/{p-3e36ca1f.entry.js → p-21631e83.entry.js} +1 -1
- package/lib/duet/p-241e3985.system.entry.js +4 -0
- package/lib/duet/{p-ccfc05f8.system.entry.js → p-257b436e.system.entry.js} +1 -1
- package/lib/duet/{p-86005dff.system.entry.js → p-26b99c47.system.entry.js} +1 -1
- package/lib/duet/{p-d5512e16.system.entry.js → p-274b3451.system.entry.js} +1 -1
- package/lib/duet/{p-3de1602a.entry.js → p-280630b2.entry.js} +1 -1
- package/lib/duet/{p-aeef4188.entry.js → p-28696d40.entry.js} +1 -1
- package/lib/duet/{p-361f616c.system.entry.js → p-291d313b.system.entry.js} +1 -1
- package/lib/duet/{p-53aa1f8a.entry.js → p-296d5473.entry.js} +1 -1
- package/lib/duet/p-2981b2b9.system.entry.js +4 -0
- package/lib/duet/{p-94855b40.system.js → p-2d6410d0.system.js} +1 -1
- package/lib/duet/{p-ae8df627.entry.js → p-2eaefb06.entry.js} +1 -1
- package/lib/duet/{p-8ec97e17.system.entry.js → p-2f021c6a.system.entry.js} +1 -1
- package/lib/duet/p-33d04b9b.entry.js +4 -0
- package/lib/duet/p-344ead85.system.entry.js +4 -0
- package/lib/duet/p-352dae35.entry.js +4 -0
- package/lib/duet/{p-75ccf31d.system.entry.js → p-36a1de2f.system.entry.js} +1 -1
- package/lib/duet/{p-ae1ab925.entry.js → p-36a9f7ef.entry.js} +1 -1
- package/lib/duet/{p-9a263ca4.entry.js → p-37085adb.entry.js} +1 -1
- package/lib/duet/{p-5b0c6bd5.system.entry.js → p-38e51258.system.entry.js} +2 -2
- package/lib/duet/{p-46e18b0d.system.entry.js → p-3933c84c.system.entry.js} +1 -1
- package/lib/duet/{p-40b7d7a6.entry.js → p-3a16a027.entry.js} +1 -1
- package/lib/duet/{p-a85274d6.entry.js → p-3aa36e16.entry.js} +1 -1
- package/lib/duet/{p-c44f38a8.entry.js → p-41cced2e.entry.js} +1 -1
- package/lib/duet/{p-68231a92.system.js → p-4289c19b.system.js} +1 -1
- package/lib/duet/{p-1152dc3f.entry.js → p-452883d8.entry.js} +1 -1
- package/lib/duet/p-4a91b8bc.system.entry.js +4 -0
- package/lib/duet/{p-6cd39e87.entry.js → p-4afae9c6.entry.js} +1 -1
- package/lib/duet/{p-06dd43b6.system.entry.js → p-4ca75b84.system.entry.js} +1 -1
- package/lib/duet/{p-c356d09c.js → p-4d06fd44.js} +1 -1
- package/lib/duet/{p-d144d52c.entry.js → p-4f672fb0.entry.js} +1 -1
- package/lib/duet/{p-54d61566.entry.js → p-51b198a9.entry.js} +1 -1
- package/lib/duet/{p-a131e2c8.entry.js → p-51f95f2e.entry.js} +1 -1
- package/lib/duet/{p-48f56f3d.system.entry.js → p-541429d7.system.entry.js} +2 -2
- package/lib/duet/{p-5916fd4c.system.entry.js → p-544acabc.system.entry.js} +1 -1
- package/lib/duet/{p-ebfb92db.entry.js → p-54689a14.entry.js} +1 -1
- package/lib/duet/{p-8d7050bd.entry.js → p-54e704a1.entry.js} +1 -1
- package/lib/duet/{p-77a4a288.system.entry.js → p-5555c8b1.system.entry.js} +1 -1
- package/lib/duet/p-55ecc86b.entry.js +4 -0
- package/lib/duet/p-5645fe0f.entry.js +4 -0
- package/lib/duet/p-56d8b241.system.entry.js +4 -0
- package/lib/duet/{p-d5525f32.system.entry.js → p-56d9a98c.system.entry.js} +1 -1
- package/lib/duet/{p-3d83d128.system.entry.js → p-59a32595.system.entry.js} +1 -1
- package/lib/duet/{p-c4a3d876.entry.js → p-59c9d492.entry.js} +1 -1
- package/lib/duet/p-5b8a114c.system.entry.js +4 -0
- package/lib/duet/{p-311bb293.system.entry.js → p-5c8de709.system.entry.js} +1 -1
- package/lib/duet/{p-dcd8a2b7.system.entry.js → p-5df12983.system.entry.js} +1 -1
- package/lib/duet/{p-1291a0aa.entry.js → p-5f06bb51.entry.js} +1 -1
- package/lib/duet/{p-b2e5420c.system.entry.js → p-63b854a7.system.entry.js} +1 -1
- package/lib/duet/{p-4bcbe08f.entry.js → p-659d4dd6.entry.js} +1 -1
- package/lib/duet/{p-13f436fb.system.entry.js → p-66bfcb56.system.entry.js} +1 -1
- package/lib/duet/{p-d4f4c169.system.entry.js → p-673b20ea.system.entry.js} +1 -1
- package/lib/duet/{p-6bb784cd.system.entry.js → p-67da02dd.system.entry.js} +1 -1
- package/lib/duet/{p-f57bf786.system.entry.js → p-6899c158.system.entry.js} +1 -1
- package/lib/duet/{p-5cf51af4.system.entry.js → p-6d41bea4.system.entry.js} +1 -1
- package/lib/duet/{p-a6754d5d.system.entry.js → p-7069c290.system.entry.js} +1 -1
- package/lib/duet/{p-8e50bb3c.system.entry.js → p-70a6edcd.system.entry.js} +1 -1
- package/lib/duet/{p-70bfa140.entry.js → p-71b99868.entry.js} +1 -1
- package/lib/duet/{p-087f7b07.system.entry.js → p-73ff5910.system.entry.js} +1 -1
- package/lib/duet/p-745a94fa.entry.js +4 -0
- package/lib/duet/{p-e0a6de56.system.js → p-74aa0f9d.system.js} +1 -1
- package/lib/duet/{p-90e9fafd.system.entry.js → p-74c70041.system.entry.js} +1 -1
- package/lib/duet/{p-34d7dd10.system.js → p-752fa0fc.system.js} +1 -1
- package/lib/duet/p-7648f559.system.js +4 -0
- package/lib/duet/{p-e94d7fd9.entry.js → p-76fd0ec2.entry.js} +1 -1
- package/lib/duet/{p-a0f3b9ac.entry.js → p-7718746e.entry.js} +1 -1
- package/lib/duet/{p-eea2c82d.system.entry.js → p-795bf9ca.system.entry.js} +1 -1
- package/lib/duet/{p-11aeff7a.entry.js → p-7c235af5.entry.js} +1 -1
- package/lib/duet/{p-13f8502f.js → p-7d6ddeec.js} +1 -1
- package/lib/duet/{p-1180725a.entry.js → p-7efd74ca.entry.js} +1 -1
- package/lib/duet/{p-ed12c299.system.entry.js → p-7f6a61f0.system.entry.js} +1 -1
- package/lib/duet/{p-f911eeb3.system.entry.js → p-7fb92a7e.system.entry.js} +1 -1
- package/lib/duet/{p-14d0f248.system.entry.js → p-8305c56f.system.entry.js} +1 -1
- package/lib/duet/{p-97b2ae4e.system.entry.js → p-839b3553.system.entry.js} +2 -2
- package/lib/duet/{p-eede054e.entry.js → p-85641c26.entry.js} +1 -1
- package/lib/duet/{p-8b64edd3.system.entry.js → p-86150b9f.system.entry.js} +1 -1
- package/lib/duet/{p-7005c045.entry.js → p-87040cdc.entry.js} +1 -1
- package/lib/duet/p-87302bc0.entry.js +4 -0
- package/lib/duet/{p-6fd11cfd.system.entry.js → p-8860ca98.system.entry.js} +1 -1
- package/lib/duet/{p-79e18558.entry.js → p-8968462d.entry.js} +1 -1
- package/lib/duet/{p-33c4c937.system.entry.js → p-8984c2a3.system.entry.js} +1 -1
- package/lib/duet/p-8aa37257.entry.js +4 -0
- package/lib/duet/p-8bfce1f7.entry.js +4 -0
- package/lib/duet/{p-aa5652c8.system.entry.js → p-8c78634e.system.entry.js} +1 -1
- package/lib/duet/{p-c4098610.system.entry.js → p-8ca8ab58.system.entry.js} +1 -1
- package/lib/duet/{p-2e842525.system.entry.js → p-8ff659e3.system.entry.js} +1 -1
- package/lib/duet/{p-d85ad216.system.entry.js → p-91f6cf96.system.entry.js} +1 -1
- package/lib/duet/{p-d1ac5674.entry.js → p-95c6d4d0.entry.js} +1 -1
- package/lib/duet/{p-c5a95a14.system.entry.js → p-96201a4f.system.entry.js} +1 -1
- package/lib/duet/{p-f06e6bbc.js → p-97fe4968.js} +1 -1
- package/lib/duet/p-99cdf534.entry.js +4 -0
- package/lib/duet/{p-86e6cc4e.entry.js → p-9d6f6707.entry.js} +1 -1
- package/lib/duet/{p-97b3e5ba.entry.js → p-a14a68fe.entry.js} +1 -1
- package/lib/duet/p-a17a2112.entry.js +4 -0
- package/lib/duet/{p-fdd4d012.system.entry.js → p-a3efd322.system.entry.js} +2 -2
- package/lib/duet/p-a45e3f8b.js +4 -0
- package/lib/duet/{p-dd49c59b.entry.js → p-a90beab2.entry.js} +1 -1
- package/lib/duet/{p-9cd1babd.entry.js → p-a9d41a98.entry.js} +1 -1
- package/lib/duet/{p-584ea8ef.system.entry.js → p-ab67d864.system.entry.js} +1 -1
- package/lib/duet/{p-8fe134bc.entry.js → p-ab885d81.entry.js} +1 -1
- package/lib/duet/{p-d357770c.js → p-ac7ef7e2.js} +1 -1
- package/lib/duet/{p-5c2a1ad1.system.entry.js → p-ae82df47.system.entry.js} +1 -1
- package/lib/duet/{p-736a2869.system.entry.js → p-afbd4b56.system.entry.js} +1 -1
- package/lib/duet/{p-61b30475.system.entry.js → p-b08ae8a2.system.entry.js} +1 -1
- package/lib/duet/{p-6f0003c2.system.entry.js → p-b19b9511.system.entry.js} +2 -2
- package/lib/duet/{p-2ba307f8.system.js → p-b2d5f07c.system.js} +1 -1
- package/lib/duet/{p-7dfcd7a4.entry.js → p-b4fb5d47.entry.js} +1 -1
- package/lib/duet/{p-22ba621c.system.entry.js → p-b501865b.system.entry.js} +1 -1
- package/lib/duet/p-b5b8973c.js +4 -0
- package/lib/duet/{p-68f0e677.system.entry.js → p-b6ea05f0.system.entry.js} +1 -1
- package/lib/duet/p-b7ecf91a.entry.js +4 -0
- package/lib/duet/{p-c8128bb9.entry.js → p-b8327514.entry.js} +1 -1
- package/lib/duet/p-bc440286.entry.js +4 -0
- package/lib/duet/{p-8150baf3.entry.js → p-bc5fa50f.entry.js} +1 -1
- package/lib/duet/{p-d851086a.entry.js → p-bcee92ef.entry.js} +1 -1
- package/lib/duet/{p-8a25aa36.system.js → p-c1802d38.system.js} +1 -1
- package/lib/duet/p-c403a5b5.entry.js +4 -0
- package/lib/duet/{p-491f511c.entry.js → p-c4c02007.entry.js} +1 -1
- package/lib/duet/{p-715f8da6.entry.js → p-c55fd9d3.entry.js} +1 -1
- package/lib/duet/{p-03bbef94.entry.js → p-c5938aef.entry.js} +1 -1
- package/lib/duet/{p-83453427.entry.js → p-c6384d36.entry.js} +1 -1
- package/lib/duet/{p-818999e4.entry.js → p-c705b8d5.entry.js} +1 -1
- package/lib/duet/{p-2b04aa6e.system.entry.js → p-c91ee9a4.system.entry.js} +1 -1
- package/lib/duet/{p-44b1fc0b.system.entry.js → p-ca5d23f8.system.entry.js} +1 -1
- package/lib/duet/{p-82a861c3.system.entry.js → p-cb00bf45.system.entry.js} +2 -2
- package/lib/duet/{p-86941ea3.js → p-cd4dce06.js} +1 -1
- package/lib/duet/{p-72b951ed.system.js → p-d080e1b9.system.js} +1 -1
- package/lib/duet/{p-5a576bee.entry.js → p-d3790473.entry.js} +1 -1
- package/lib/duet/{p-71fda692.entry.js → p-d4d5010c.entry.js} +1 -1
- package/lib/duet/{p-d27b82c0.system.entry.js → p-d5fedd59.system.entry.js} +1 -1
- package/lib/duet/p-d819ba34.entry.js +4 -0
- package/lib/duet/{p-7f116220.system.entry.js → p-da959774.system.entry.js} +1 -1
- package/lib/duet/{p-46fa7042.entry.js → p-db291b81.entry.js} +1 -1
- package/lib/duet/{p-58f8b75a.system.entry.js → p-dd4374fe.system.entry.js} +1 -1
- package/lib/duet/{p-0c359705.entry.js → p-def465ae.entry.js} +1 -1
- package/lib/duet/{p-5e05b9ab.system.entry.js → p-e03a4cf1.system.entry.js} +1 -1
- package/lib/duet/{p-431e1880.system.entry.js → p-e08088cb.system.entry.js} +2 -2
- package/lib/duet/{p-27953036.system.entry.js → p-e0e6e461.system.entry.js} +2 -2
- package/lib/duet/{p-f3498cfd.system.entry.js → p-e39d08e7.system.entry.js} +1 -1
- package/lib/duet/{p-f0005157.system.entry.js → p-e4b910b4.system.entry.js} +1 -1
- package/lib/duet/p-e50de9e7.entry.js +4 -0
- package/lib/duet/p-e5395121.system.entry.js +4 -0
- package/lib/duet/{p-a9ae2560.system.entry.js → p-e73965c8.system.entry.js} +1 -1
- package/lib/duet/{p-f3f6e056.entry.js → p-e7fe5dda.entry.js} +1 -1
- package/lib/duet/{p-19f3d38b.system.entry.js → p-e8084ea9.system.entry.js} +1 -1
- package/lib/duet/{p-ff714520.system.entry.js → p-e81db273.system.entry.js} +1 -1
- package/lib/duet/p-eaa81178.system.entry.js +4 -0
- package/lib/duet/{p-04167a26.entry.js → p-eeca1e90.entry.js} +1 -1
- package/lib/duet/{p-cdd07ff7.entry.js → p-ef2ee599.entry.js} +1 -1
- package/lib/duet/{p-e8cd8878.system.entry.js → p-ef40ca12.system.entry.js} +1 -1
- package/lib/duet/{p-cb4dad4e.system.entry.js → p-f17324db.system.entry.js} +1 -1
- package/lib/duet/p-f1ba826c.system.entry.js +4 -0
- package/lib/duet/{p-ea4cfa7a.entry.js → p-f2311beb.entry.js} +1 -1
- package/lib/duet/{p-1e64a95b.system.entry.js → p-f5056fd8.system.entry.js} +1 -1
- package/lib/duet/{p-5bd38b1d.system.entry.js → p-f739d912.system.entry.js} +1 -1
- package/lib/duet/{p-9ca29310.entry.js → p-f90407fc.entry.js} +1 -1
- package/lib/duet/{p-8fde6132.entry.js → p-f937ba7d.entry.js} +1 -1
- package/lib/duet/p-f973c743.entry.js +4 -0
- package/lib/duet/{p-c82ac90a.system.entry.js → p-fa402e10.system.entry.js} +1 -1
- package/lib/duet/{p-b2d845d2.entry.js → p-fb713ab0.entry.js} +1 -1
- package/lib/duet/p-fbc233bb.system.entry.js +4 -0
- package/lib/duet/{p-1c4e31e9.entry.js → p-fbeb26a6.entry.js} +1 -1
- package/lib/duet/{p-1863181e.system.entry.js → p-fef429fb.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-0f4bfcab.js → a11y-utils-c9bd2c27.js} +1 -1
- package/lib/esm/{app-globals-4a06b004.js → app-globals-f12e0500.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +15 -11
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +17 -6
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +8 -8
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- 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 +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +6 -5
- package/lib/esm/duet-modal.entry.js +11 -11
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +34 -30
- package/lib/esm/duet-section-layout.entry.js +5 -5
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +10 -9
- package/lib/esm/duet-status-icon.entry.js +82 -0
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- 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 +6 -6
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +2 -2
- 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 +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +7 -7
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-6664168c.js → errorcodes.utils-d594aed8.js} +1 -1
- package/lib/esm/{focus-utils-a784b6e8.js → focus-utils-fc101536.js} +1 -1
- package/lib/esm/{index-df3d13a5.js → index-fa810c91.js} +331 -2
- package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +4 -1
- package/lib/esm/{language-utils-0da69172.js → language-utils-35eb1c9f.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-f4a28f08.js → slot-utils-adbc7a01.js} +1 -1
- package/lib/esm-es5/{a11y-utils-0f4bfcab.js → a11y-utils-c9bd2c27.js} +1 -1
- package/lib/esm-es5/{app-globals-4a06b004.js → app-globals-f12e0500.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +4 -0
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-6664168c.js → errorcodes.utils-d594aed8.js} +1 -1
- package/lib/esm-es5/{focus-utils-a784b6e8.js → focus-utils-fc101536.js} +1 -1
- package/lib/esm-es5/index-fa810c91.js +4 -0
- package/lib/esm-es5/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +1 -1
- package/lib/esm-es5/{language-utils-0da69172.js → language-utils-35eb1c9f.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-f4a28f08.js → slot-utils-adbc7a01.js} +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -1
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +26 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +5 -0
- package/lib/types/components.d.ts +61 -0
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-396dec0e.js +0 -80
- package/lib/duet/p-06f5c7e7.entry.js +0 -4
- package/lib/duet/p-095cf21b.system.entry.js +0 -4
- package/lib/duet/p-0bffa91a.entry.js +0 -4
- package/lib/duet/p-0d6ca7ac.system.js +0 -4
- package/lib/duet/p-10435dde.entry.js +0 -4
- package/lib/duet/p-18de9ed1.system.entry.js +0 -4
- package/lib/duet/p-21de0c46.entry.js +0 -4
- package/lib/duet/p-23b834c5.system.entry.js +0 -4
- package/lib/duet/p-25ef3ff1.entry.js +0 -4
- package/lib/duet/p-3671c29d.entry.js +0 -4
- package/lib/duet/p-52049d75.entry.js +0 -4
- package/lib/duet/p-5b32bfb2.system.entry.js +0 -4
- package/lib/duet/p-5ca10213.system.entry.js +0 -4
- package/lib/duet/p-61b8a82a.system.entry.js +0 -4
- package/lib/duet/p-6e63f2c6.entry.js +0 -4
- package/lib/duet/p-6fdd0abe.js +0 -4
- package/lib/duet/p-7c42db0e.entry.js +0 -4
- package/lib/duet/p-81ffde6e.system.entry.js +0 -4
- package/lib/duet/p-8326443d.entry.js +0 -4
- package/lib/duet/p-8532bedb.entry.js +0 -4
- package/lib/duet/p-85333227.entry.js +0 -4
- package/lib/duet/p-88cb782b.entry.js +0 -4
- package/lib/duet/p-969cd5f2.system.entry.js +0 -4
- package/lib/duet/p-a08f8250.entry.js +0 -4
- package/lib/duet/p-a1b7f2a0.js +0 -4
- package/lib/duet/p-b2165388.entry.js +0 -4
- package/lib/duet/p-ba877b46.system.entry.js +0 -4
- package/lib/duet/p-bfb890be.entry.js +0 -4
- package/lib/duet/p-c482192a.system.entry.js +0 -4
- package/lib/duet/p-d3fe8c48.entry.js +0 -4
- package/lib/duet/p-da97d1ef.entry.js +0 -4
- package/lib/esm-es5/index-df3d13a5.js +0 -5
package/hydrate/index.js
CHANGED
|
@@ -2762,6 +2762,9 @@ const subscribeTabbingChange = component => {
|
|
|
2762
2762
|
const unsubscribeTabbingChange = component => {
|
|
2763
2763
|
tabbingChangeSubscribers.delete(component);
|
|
2764
2764
|
};
|
|
2765
|
+
const enableUserIsTabbing = () => {
|
|
2766
|
+
listenKeys({ key: "Tab" });
|
|
2767
|
+
};
|
|
2765
2768
|
|
|
2766
2769
|
function isObject(maybeObj) {
|
|
2767
2770
|
return Object.prototype.toString.call(maybeObj) === "[object Object]";
|
|
@@ -3986,12 +3989,12 @@ class DuetBadge {
|
|
|
3986
3989
|
*/
|
|
3987
3990
|
render() {
|
|
3988
3991
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3992
|
+
return (hAsync(Host, { key: '476d97ea43489404fd6d0a849a6ee02f83502fd9', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '28e5db061b847ada8068335166ff8ff1d86f24d1', class: {
|
|
3990
3993
|
"duet-badge": true,
|
|
3991
3994
|
[this.variation]: true,
|
|
3992
3995
|
[backgroundClass]: true,
|
|
3993
3996
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3997
|
+
} }, hAsync("slot", { key: '0c934f9b98dcc493a7bf27588c22eb3f37795927' }))));
|
|
3995
3998
|
}
|
|
3996
3999
|
get element() { return getElement(this); }
|
|
3997
4000
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4184,14 @@ class DuetBreadcrumb {
|
|
|
4181
4184
|
*/
|
|
4182
4185
|
render() {
|
|
4183
4186
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4187
|
+
return (hAsync(Host, { key: '86f359b6ae37d52eefe60d2524b28e90389853a3', role: "listitem" }, hAsync("div", { key: 'a7e38d3f15c6b459db45ee75194892c626dda720', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '271bc89989282bafdc1c02251786cc4ff9d29c94', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '27e40d9d4b5213650880dc8fd347708c8074ba7b', class: {
|
|
4185
4188
|
"duet-breadcrumb": true,
|
|
4186
4189
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4190
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4188
4191
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4192
|
+
hAsync("duet-icon", { key: 'f7693293ba453f019340e643224ae2d4bc615892', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4193
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '9f5a4594c9c261eb89dad2e969993c776a71dcec', size: "x-small", direction: "horizontal" }),
|
|
4194
|
+
], hAsync("slot", { key: '7103eb6d7c67af60d40d4eb4c01df8cb60d8f122' })))));
|
|
4192
4195
|
}
|
|
4193
4196
|
get element() { return getElement(this); }
|
|
4194
4197
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4252,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4252
|
*/
|
|
4250
4253
|
render() {
|
|
4251
4254
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4255
|
+
return (hAsync(Host, { key: 'c415b13be8e9488af4ea05f6cb7683f800e784d2' }, hAsync("nav", { key: 'cdc999fc5feb95f3e86817c96e27310878069077', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4256
|
"duet-breadcrumbs": true,
|
|
4254
4257
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4258
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4259
|
+
} }, hAsync("div", { key: '3deb22c5304308a401f0d0bd813b2db2b52a9e82', class: "container" }, hAsync("div", { key: '5cd6fb7973bd6bdaee4608400ba37fb772ee87a3', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'c1a43f4a9067038018295d862a76158551bfaaee' })), hAsync("div", { key: 'aabc2c2960849710bf8629f1581a2b8f36603277', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '773551300797191fabd148e89c25847a02805bd0', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4260
|
}
|
|
4258
4261
|
get element() { return getElement(this); }
|
|
4259
4262
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4610,11 +4613,11 @@ class DuetCallout {
|
|
|
4610
4613
|
<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"/>
|
|
4611
4614
|
</svg>
|
|
4612
4615
|
`;
|
|
4613
|
-
return (hAsync(Host, { key: '
|
|
4616
|
+
return (hAsync(Host, { key: '6c2f849981a4d7c83b0980a79e44db7a51d71cc2' }, hAsync("div", { key: 'c3a6f40936c21dbe492f9790c71698f492c82092', class: {
|
|
4614
4617
|
"duet-callout": true,
|
|
4615
4618
|
"duet-theme-turva": this.theme === "turva",
|
|
4616
4619
|
"duet-m-0": this.margin === "none",
|
|
4617
|
-
} }, hAsync("figure", { key: '
|
|
4620
|
+
} }, hAsync("figure", { key: 'c4dadc943944d9b2501f84c59101d7c8bfa780ba', class: "container" }, hAsync("duet-icon", { key: '328934a3141ec35008240e6e2ca58c2c3d3cf291', 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: 'a12401bf972a3a0eb0817b51286a0448ec4fbdd6' }, hAsync("slot", { key: '87396622c6078253736cbe43a1cac55c6f90754f' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'c7ecac8d10789ad47a17e795267d8eb584c119f3', class: "author" }, hAsync("span", { key: '169f299b6b65721127a409a51292761b14aa7b78' }, "\u2014 "), hAsync("slot", { key: '38fa9b0ebd195d75dec72b2bbdd5e239dc099f53', name: "author" })))))));
|
|
4618
4621
|
}
|
|
4619
4622
|
get element() { return getElement(this); }
|
|
4620
4623
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4977,11 +4980,11 @@ class DuetCheckmark {
|
|
|
4977
4980
|
inheritGlobalTheme(this);
|
|
4978
4981
|
}
|
|
4979
4982
|
render() {
|
|
4980
|
-
return (hAsync(Host, { key: '
|
|
4983
|
+
return (hAsync(Host, { key: 'ca4d8a12c903e5b3b1880b8e537028a5120a3481', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'b3bc47aa4bb81f22fa18fa2ed11bd416790f5d74', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '0fd6069ae4f1425ca9c90aaf514e2a9c75e3c62f', class: {
|
|
4981
4984
|
"duet-checkmark-container": true,
|
|
4982
4985
|
center: this.center,
|
|
4983
4986
|
"duet-checkmark-radio": this.type === "radio",
|
|
4984
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4987
|
+
} }, this.checked && hAsync("div", { key: '3002be9f9a97b5382377d9888e821ff15d1eb062', class: "duet-checkmark" })))));
|
|
4985
4988
|
}
|
|
4986
4989
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4987
4990
|
static get cmpMeta() { return {
|
|
@@ -5052,6 +5055,7 @@ class DuetChip {
|
|
|
5052
5055
|
radioInput.name = this.name;
|
|
5053
5056
|
radioInput.value = this.value;
|
|
5054
5057
|
radioInput.checked = this.checked;
|
|
5058
|
+
radioInput.ariaLabel = this.element.textContent;
|
|
5055
5059
|
if (slotInput) {
|
|
5056
5060
|
this.radioInputListenersRemove(radioInput);
|
|
5057
5061
|
}
|
|
@@ -5264,6 +5268,7 @@ class DuetChip {
|
|
|
5264
5268
|
* Sets focus. Use this method instead of the global focus().
|
|
5265
5269
|
*/
|
|
5266
5270
|
async setFocus(options) {
|
|
5271
|
+
enableUserIsTabbing();
|
|
5267
5272
|
setTimeout(() => this.focusableElement.focus(options), 200);
|
|
5268
5273
|
}
|
|
5269
5274
|
/**
|
|
@@ -5303,7 +5308,7 @@ class DuetChip {
|
|
|
5303
5308
|
onBlur: this.onBlur,
|
|
5304
5309
|
ref: el => (this.focusableElement = el),
|
|
5305
5310
|
};
|
|
5306
|
-
return (hAsync(Host, { key: '
|
|
5311
|
+
return (hAsync(Host, { key: 'f37063c1c2ecee6f4eb47f74012694c6eb944941', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: '3460b9ab3ca900f021fe6dc6af90ac8427f6c7e5', class: classes }, hAsync("button", Object.assign({ key: '8fa57c1746f083618d4d4709fa685dbc70dcded5', 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: 'fd48b92328f4fdeba76a6523a5aa86b45ad740ed', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '875f64c17c2c540e4c774053a994402957754308', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '4e0c29ccf168b3e0f8564003c094326ff0695412' })))), this.variation === "input" && (hAsync("span", { key: '9f69917e7cc2f33bcf0842342b653a0302e7b188', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '98d020d64882839dad553eaeadd4e39587d6b276', 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: '375c4df2c400928cec38ed160526aa7e8f483c52', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'e8382d2439f56f61a7219ccc2cbfe5e3b1b16975', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'f7c17cc36818a5e1621421c39e3ea38692cd1e21' })), hAsync("button", { key: '25a649ba24d9279330a2a1d243be81d617f2fe69', 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: 'be4f0062c4b924c65101accaa0d156d7c7d3954c', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'b53a71340c36da0290474301a5ab236b675ee881', class: classes }, hAsync("input", Object.assign({ key: '52a7b2d41f97077b0412a67cd01b9d027f8035aa', "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: '30820154c15957181130801c462f1674343e0673', htmlFor: identifier }, this.icon && (hAsync("span", { key: '7c75e8be6a1bb29e24646d7531caa8e251535804', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'cfb4ce296a83a8073d2853f1a2555665434dcc06', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '2a6ea0ea51ce7cda8933e3a74e3c001eeced1d37', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '9aa3af935055abe7847a80fd3569275522b6ef7f' }), this.popupElement && (hAsync("span", { key: '1483c767339e447362361ee3691e660a22277cf2', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: 'ba8293f1b0f0d1b97e12aacc9d53c9bfd5cfc751', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '55bd9c33a98e6c03542abc48c300159a1e97ed16', class: classes }, hAsync("slot", { key: '45a049c652e9895d7a36d6131c6aeaa98edcd572', name: "input" }), hAsync("label", { key: '793c24a45d8cbfab53d1fac9967849cc86a06a94', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'bd54aa850144b45c57c6a9c0f75c7f6729417850', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '2bdfed396d600a5f0da3eccc3de6cbabd41460d4', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'ac3722012743cbe2aa4f612f75cd10c97a0f7d9d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'bf9d8af5da2754882e7fbe69f193d9b494dfa429' }))))));
|
|
5307
5312
|
}
|
|
5308
5313
|
get element() { return getElement(this); }
|
|
5309
5314
|
static get watchers() { return {
|
|
@@ -6562,7 +6567,7 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
6562
6567
|
'default': tokens
|
|
6563
6568
|
});
|
|
6564
6569
|
|
|
6565
|
-
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;
|
|
6570
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
6566
6571
|
var DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
6567
6572
|
|
|
6568
6573
|
/**
|
|
@@ -6614,6 +6619,15 @@ class DuetCollapsible {
|
|
|
6614
6619
|
return "xx-small";
|
|
6615
6620
|
}
|
|
6616
6621
|
};
|
|
6622
|
+
this.getAccessibleLabel = () => {
|
|
6623
|
+
if (this.accessibleLabel) {
|
|
6624
|
+
return this.accessibleLabel;
|
|
6625
|
+
}
|
|
6626
|
+
if (this.heading && this.caption) {
|
|
6627
|
+
return `${this.heading}. ${this.caption}`;
|
|
6628
|
+
}
|
|
6629
|
+
return this.heading || null;
|
|
6630
|
+
};
|
|
6617
6631
|
this.handleClick = (e) => {
|
|
6618
6632
|
e.preventDefault();
|
|
6619
6633
|
this.open = !this.open;
|
|
@@ -6626,6 +6640,7 @@ class DuetCollapsible {
|
|
|
6626
6640
|
this.negative = false;
|
|
6627
6641
|
this.accessibleLabel = undefined;
|
|
6628
6642
|
this.heading = "";
|
|
6643
|
+
this.caption = "";
|
|
6629
6644
|
this.headingFullWidth = false;
|
|
6630
6645
|
this.centerHeading = false;
|
|
6631
6646
|
this.headingWeight = "semibold";
|
|
@@ -6663,14 +6678,15 @@ class DuetCollapsible {
|
|
|
6663
6678
|
*/
|
|
6664
6679
|
render() {
|
|
6665
6680
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6666
|
-
return (hAsync(Host, { key: '
|
|
6681
|
+
return (hAsync(Host, { key: 'b6781c86d34d4f4b9560b111474a413c954818d2', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '1b59bc43bad54d7ba36951b5fc5cb27c8d197498' }, hAsync("button", { key: '073aa9d20b4f508e991443273c16f43b15577183', class: {
|
|
6667
6682
|
"duet-collapsible-heading": true,
|
|
6668
6683
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6669
6684
|
"duet-theme-turva": this.theme === "turva",
|
|
6670
6685
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6671
6686
|
"has-after-heading": this.hasAfterHeading,
|
|
6672
6687
|
"full-width": this.headingFullWidth,
|
|
6673
|
-
|
|
6688
|
+
"has-caption": !!this.caption,
|
|
6689
|
+
}, 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: 'b584a9f03de635516bab995166943fbe55139177', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: 'ebd0e8c2d793c6eaf9afcfeefde3822025b0f591', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'cb40e56e922d146a4c799d307a36bcb5de2bf909', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '29f73be47a8506407f8e151b103c0d953a175448', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '26c25d0365c8243c7ea36101f6e49743346363bb', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'f1a9005c38fd4310d76dfeea3f50a695bb732195', name: "after-heading" })))), this.caption && (hAsync("div", { key: '7d8785de6f4478030bc6422749201f23f3625e3f', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '2f930fc5ca5fb0169c5b16f181ce5b7267ebc4ca', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: 'fb0d95a53dfa760ec0aa59d2b7e8eab8d9fe5313', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '8df7d36426b0c3390fba071740ca60ddc2ee4931' }))));
|
|
6674
6690
|
}
|
|
6675
6691
|
get element() { return getElement(this); }
|
|
6676
6692
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -6682,6 +6698,7 @@ class DuetCollapsible {
|
|
|
6682
6698
|
"negative": [4],
|
|
6683
6699
|
"accessibleLabel": [1, "accessible-label"],
|
|
6684
6700
|
"heading": [1],
|
|
6701
|
+
"caption": [1],
|
|
6685
6702
|
"headingFullWidth": [4, "heading-full-width"],
|
|
6686
6703
|
"centerHeading": [4, "center-heading"],
|
|
6687
6704
|
"headingWeight": [1, "heading-weight"],
|
|
@@ -7288,10 +7305,10 @@ class DuetContactCard {
|
|
|
7288
7305
|
render() {
|
|
7289
7306
|
const isTurva = this.theme === "turva";
|
|
7290
7307
|
const theme = isTurva ? "turva" : "default";
|
|
7291
|
-
return (hAsync(Host, { key: '
|
|
7308
|
+
return (hAsync(Host, { key: '4e145f7fe0409bb47b6ea71c0cf970e436b7a520', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'da28555843c0a763d34c7ddef8727090e373da67', class: {
|
|
7292
7309
|
"duet-contact-card": true,
|
|
7293
7310
|
"duet-theme-turva": this.theme === "turva",
|
|
7294
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7311
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'e161cae8447cf17c85499d5b8ac46d7eda58172c' }, this.name && (hAsync("duet-heading", { key: '454c6abe2d28decaa07122742bee22e711c3f81b', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '4dfc4f572e57af544c10b32c66e9afb93eac8080', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '96f61bbb0c884d374d10e94bf4aefb0b63adafb0', class: "email" }, hAsync("duet-icon", { key: '2f6608cc7d1e2a2b5da95109823d2e1bab216005', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'd4e80f8aee1fc9997b959e005935fdffafc6dfdb', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '374a1f36f5a62d9888b932000a52a10b63ac7cd4', class: "phone" }, hAsync("duet-icon", { key: '2d3c419e0d321f361a9993116fed27845238801f', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '07d80aaadfd5963717d64d3733d0ae886c71bc6b', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '15123cac72ca836226d307ada922cf2f8544a1d3', class: "call-to-action" }, hAsync("duet-button", { key: 'a254a916c0f5916e8e39f76cae6724b73198d017', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6c527c0e2c594d19b06fb842c4d8a0967b7f04b6' }), hAsync("slot", { key: '8291bc130ee09e6b1aa1e71bd15ccf6024c7d3c2' }))));
|
|
7295
7312
|
}
|
|
7296
7313
|
get element() { return getElement(this); }
|
|
7297
7314
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7358,7 +7375,7 @@ class DuetCookieConsent {
|
|
|
7358
7375
|
* Always the last one in the class.
|
|
7359
7376
|
*/
|
|
7360
7377
|
render() {
|
|
7361
|
-
return (hAsync(Host, { key: '
|
|
7378
|
+
return (hAsync(Host, { key: 'b30b45dd5bc6022a8da609883e28a272bf823c6c', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '457f367350cef4ec39f323925e64518b0b5a056f', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '681bb01d1031d8e7cdfac21539f49a9445a22fac', class: "duet-cookie-consent-content" }, hAsync("div", { key: '6bc301cad7c45d36c5d7846bf96abe989a185ef1', class: "expand" }, hAsync("slot", { key: '55da0877e4c6e55b827af651416e6eaeb908c550' })), hAsync("duet-spacer", { key: 'bf00aa77836feb5b8cacbc6c76712e6a3b4aa451', size: "large", direction: "horizontal" }), hAsync("div", { key: '86ed0f3ff48a2c916fa4174417677a6dfa737a0a' }, hAsync("duet-button", { key: '75003f25f1f75e9d40ff2143b4a53441be2ed54f', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7362
7379
|
}
|
|
7363
7380
|
get element() { return getElement(this); }
|
|
7364
7381
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -7570,7 +7587,7 @@ function createShortcuts(shortcuts) {
|
|
|
7570
7587
|
};
|
|
7571
7588
|
}
|
|
7572
7589
|
|
|
7573
|
-
const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-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-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::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.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-date-button.sc-duet-date-picker:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error.sc-duet-date-picker{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{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}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{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.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker:focus{outline:none}.duet-date-table-button.sc-duet-date-picker{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;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{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, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker [aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{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.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7590
|
+
const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-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-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::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.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-date-button.sc-duet-date-picker:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error.sc-duet-date-picker{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{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}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{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.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker:focus{outline:none}.duet-date-table-button.sc-duet-date-picker{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;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{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, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker [aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{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-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{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.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7574
7591
|
var DuetDatePickerStyle0 = duetDatePickerCss;
|
|
7575
7592
|
|
|
7576
7593
|
/**
|
|
@@ -8023,7 +8040,7 @@ class DuetDivider {
|
|
|
8023
8040
|
*/
|
|
8024
8041
|
render() {
|
|
8025
8042
|
const background = getColorByName(this.color);
|
|
8026
|
-
return (hAsync("div", { key: '
|
|
8043
|
+
return (hAsync("div", { key: '419938cb054cda71d1fa4d0de273ecce67debfa7', class: {
|
|
8027
8044
|
"duet-m-0": this.margin === "none",
|
|
8028
8045
|
"duet-m-s": this.margin === "small",
|
|
8029
8046
|
"duet-divider": true,
|
|
@@ -8260,11 +8277,11 @@ class DuetEmptyState {
|
|
|
8260
8277
|
* Always the last one in the class.
|
|
8261
8278
|
*/
|
|
8262
8279
|
render() {
|
|
8263
|
-
return (hAsync(Host, { key: '
|
|
8280
|
+
return (hAsync(Host, { key: '227d54f00e9a51140efcb258a3b9aabd0403e53c' }, hAsync("div", { key: 'ec272041ba4a302da9529e32cd67fc782102a783', class: {
|
|
8264
8281
|
"duet-empty-state": true,
|
|
8265
8282
|
"duet-theme-turva": this.theme === "turva",
|
|
8266
8283
|
"duet-is-small": this.size === "small",
|
|
8267
|
-
} }, hAsync("duet-icon", { key: '
|
|
8284
|
+
} }, hAsync("duet-icon", { key: '0a04c1df954274e9e5371101e9756eafacfc803c', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: 'be984ad3dd5092ed1ae6207f72e383cd4398cdc4' }, hAsync("slot", { key: '440fab721d208b694cab78140c322242812e708f' })))));
|
|
8268
8285
|
}
|
|
8269
8286
|
get element() { return getElement(this); }
|
|
8270
8287
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8320,20 +8337,20 @@ class DuetFieldset {
|
|
|
8320
8337
|
* Always the last one in the class.
|
|
8321
8338
|
*/
|
|
8322
8339
|
render() {
|
|
8323
|
-
return (hAsync(Host, { key: '
|
|
8340
|
+
return (hAsync(Host, { key: '157a9e3785dd0d5d73a7e5e2de69f367a89542a4', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '99df4bd364f76865e2faff62363fd808a48721e5', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8324
8341
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8325
8342
|
// once they do, we can remove errors from the aria-describedby
|
|
8326
8343
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8327
8344
|
class: {
|
|
8328
8345
|
"duet-fieldset": true,
|
|
8329
8346
|
"duet-theme-turva": this.theme === "turva",
|
|
8330
|
-
} }, hAsync("legend", { key: '
|
|
8347
|
+
} }, hAsync("legend", { key: '068d96c7fc93e8ce64c9e22dd1bcbfe160d34920', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'e7cdb11c3979b3cdeebd80b7dc856b97ad037207' }, this.label), this.caption && hAsync("span", { key: '80e0de6c351bc8450455812b961a08c43f0bdf92' }, this.caption)), hAsync("div", { key: 'db529ad1162564e990f7ccbb03fedf4735507c83', class: {
|
|
8331
8348
|
"duet-legend-wrapper": true,
|
|
8332
8349
|
"duet-legend-has-caption": !!this.caption,
|
|
8333
8350
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8334
8351
|
"duet-legend-hidden": this.labelHidden,
|
|
8335
8352
|
"duet-legend-compact": this.compactLabel,
|
|
8336
|
-
} }, hAsync("div", { key: '
|
|
8353
|
+
} }, hAsync("div", { key: 'a0cc74b7472ca06a305a45924c8e39c945b05243', class: "duet-fieldset-label" }, hAsync("span", { key: '46f40ac902b5e8d166f6673f538b93d7b4126426', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '328d6c4b910ee12d2a3219f863fff82f9df10bb3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '7ba9fbacf0b68889efe22cb4859b5bd1da3a2667', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '0e83f76e722791658c7c05ac99c9ba8affb52d95', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '81e9a395cd365be7ded540edd8eb68c83a9cc6a0' }), hAsync("span", { key: '007112c1b89077612e5478a1d71ecdbf62ad2b36', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f93d85eb2d47ac6261a6a3cf1367f22c09656f92' }, this.error)))));
|
|
8337
8354
|
}
|
|
8338
8355
|
get element() { return getElement(this); }
|
|
8339
8356
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8477,15 +8494,15 @@ class DuetFooter {
|
|
|
8477
8494
|
render() {
|
|
8478
8495
|
const text = getLocaleString(i18n$1, this.language);
|
|
8479
8496
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8480
|
-
return (hAsync("footer", { key: '
|
|
8497
|
+
return (hAsync("footer", { key: '8fd345b0b7ccb794b603dc1fa9164ebf8c495060', class: {
|
|
8481
8498
|
"duet-footer": true,
|
|
8482
8499
|
"duet-m-0": this.margin === "none",
|
|
8483
8500
|
"duet-theme-turva": this.theme === "turva",
|
|
8484
8501
|
"duet-footer-simple": this.variation === "simple",
|
|
8485
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8502
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '773caa00c8f629d512537cfab5771e918c78ba57', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '4541d65907daf88fe8fd3c740eabd4bd9ad82307', class: {
|
|
8486
8503
|
"duet-footer-top": true,
|
|
8487
8504
|
"duet-has-info": this.hasInfoSlot,
|
|
8488
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8505
|
+
}, part: "top" }, hAsync("div", { key: '549ec0600b48e174d161cbdfe01544126440da66', class: "footer-top-logo" }, hAsync("duet-logo", { key: '840cb0600e17103f1501cb248b89dd819f7a661e', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '3327e1009bfc9721b5e2529dcc938cc8f4257854', class: "footer-top-right-container" }, hAsync("slot", { key: 'a00901969c97143af27151402579f4ca5c12a84e', name: "info" }), hAsync("div", { key: 'e2e6e62fd027d2b77460546d9ab74f69a9f258bb', class: "footer-top-items" }, this.processedItems &&
|
|
8489
8506
|
this.processedItems.map((item, index) => {
|
|
8490
8507
|
var _a, _b, _c, _d, _e, _f;
|
|
8491
8508
|
return (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: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8495,7 +8512,7 @@ class DuetFooter {
|
|
|
8495
8512
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8496
8513
|
? "medium"
|
|
8497
8514
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8498
|
-
}))))), hAsync("slot", { key: '
|
|
8515
|
+
}))))), hAsync("slot", { key: '288da5793cca9b97494edad50ec731ebdb8cd008', name: "extra" }), hAsync("p", { key: 'd6e5f190770d85f7f23997fb3010940568a11da9', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: 'd03cd42008101259ae77c5dfadad2fc719c3bc6f', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'abf31941139f2bfcaa290710ce02a3151815d6f5', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '45e583b238584d4f699cf8d80d7e8c77d4204eea' }, 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: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: '673765574f21e139f2e25c722cf7e3f38fd7b2d3', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8499
8516
|
}
|
|
8500
8517
|
get element() { return getElement(this); }
|
|
8501
8518
|
static get watchers() { return {
|
|
@@ -9591,7 +9608,7 @@ class DuetHeader {
|
|
|
9591
9608
|
}; }
|
|
9592
9609
|
}
|
|
9593
9610
|
|
|
9594
|
-
const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
9611
|
+
const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
9595
9612
|
var DuetHeadingStyle0 = duetHeadingCss;
|
|
9596
9613
|
|
|
9597
9614
|
/**
|
|
@@ -9623,7 +9640,7 @@ class DuetHeading {
|
|
|
9623
9640
|
render() {
|
|
9624
9641
|
const TagName = sanitizeString$1(this.level);
|
|
9625
9642
|
const color = getColorByName(this.color);
|
|
9626
|
-
return (hAsync(TagName, { key: '
|
|
9643
|
+
return (hAsync(TagName, { key: '9a91dd0a097a00c6412b6b759df13aaa814430e8', class: {
|
|
9627
9644
|
"duet-heading": true,
|
|
9628
9645
|
"duet-heading-border": this.border !== false,
|
|
9629
9646
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -9634,7 +9651,7 @@ class DuetHeading {
|
|
|
9634
9651
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
9635
9652
|
"duet-theme-turva": this.theme === "turva",
|
|
9636
9653
|
"fixed-size": this.fixedSize,
|
|
9637
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
9654
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '01f466dbadd345dac83e12dea63809ad46a70f2b' })));
|
|
9638
9655
|
}
|
|
9639
9656
|
get element() { return getElement(this); }
|
|
9640
9657
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -9814,7 +9831,7 @@ class DuetHero {
|
|
|
9814
9831
|
outlineColor = "color-primary-turva";
|
|
9815
9832
|
}
|
|
9816
9833
|
}
|
|
9817
|
-
return (hAsync("div", { key: '
|
|
9834
|
+
return (hAsync("div", { key: 'c35513eb060ccad4d0be7152579a8c1ef1843ce7', role: "region", class: {
|
|
9818
9835
|
"duet-hero": true,
|
|
9819
9836
|
"duet-theme-turva": this.theme === "turva",
|
|
9820
9837
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -9832,17 +9849,17 @@ class DuetHero {
|
|
|
9832
9849
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
9833
9850
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
9834
9851
|
"duet-hero-narrow": this.layout === "narrow",
|
|
9835
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
9836
|
-
this.processedBack && (hAsync("div", { key: '
|
|
9852
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '27e85adc78bb62294cbb7d9dc59a8444bee27e5e', class: "background-area" }, hAsync("div", { key: '181d77ba32e718bf11e087391ebec1de91a0f436', class: "background-container" }, hAsync("div", { key: '4a83099c17f49e81652b150776eb96cf030f13ca', class: "background" }, hAsync("img", { key: '6a7248c64c31e24f90145362bb9f846c91bf8375', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: 'b4eb38ad6851945f2d29b24329ba465a0c0563a2', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'cc3cb69b3e1f33c09eb1017af5c2d373f03b68ec', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: 'd6965e50c72e29e3503d5308a0ff7fa8770607c2', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '2a124e12ce9cce7f1d581c787f5006ce7403dfd4', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '2bd79bb7fadcca8400f1133e05d4b4193eadcf9d', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '39e6fb6705c3799d1b09b5ad2ea0f637926cfa19', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '3177707b2a5c89884edf3ab2bb2951f56871532b', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'e1059a46a707b5f23a2963bf1006d80f348ac57a', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: 'f049418b2d2d39e7d69181d3780a8683002ed844', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '429e6ca56f295e1a3e04209a473a8c7ca07ca127', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'a324ce3be8d51d6848bf82609a8443b637f7c7e9', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '20ced3a9311746eb034ba4efba7cdb0176157dd1', class: "background-area" }, hAsync("div", { key: 'a6d3a68bb41519b1924f59fd4ad03159af93a582', class: "background" }, hAsync("div", { key: '6f96b2049aec609732afe98450ec5f3e7022e9b1', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '72e6e5d2e797abaf09dd722327fb5bdba7715b44', class: "brand-shape" }), hAsync("div", { key: '21a64cef40034dd82aea23a2480fc7a5ef223f55', class: "brand-shaped-image" }, hAsync("div", { key: '7c3e55707f87964db8ea0917b74d253c9d695abc', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '895025e62003249bc64ea166629961963d81e88a', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '0e72a22d7b52754a6ce5f31a4add3f6704079b5b', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '28eaa864dab07e83921548498cfd9290fedacc34', class: "duet-hero-image-mask" }, hAsync("div", { key: 'f7205d85c99bf061e83559976c132ac0a079591a', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '12b774da3703ea05be8f8d53476af5704d0fe2c4', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
9853
|
+
this.processedBack && (hAsync("div", { key: 'd1421d7dc9f15977eba7c662979bb871d495a98f', class: "duet-hero-back" }, hAsync("duet-button", { key: 'e24850de6b220e820248e612bb64fbc94c4fdc99', 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, {
|
|
9837
9854
|
label: this.processedBack.label,
|
|
9838
9855
|
href: this.processedBack.href,
|
|
9839
9856
|
id: this.processedBack.id,
|
|
9840
9857
|
analyticsId: this.processedBack.analyticsId,
|
|
9841
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
9858
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'b077407e1c34a48740ce354c5481dac73b654e3d', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '631a6b29fe9919cf69720cb81573e801dd36d99b', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '92b822dc6914886aab5ae1b0528fc285695c0be2', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '3216721c8773b44c4f3d8635fe5eea31ba9489a7', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '75e19684ffefb463170efcc7067969e952099230', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? this.heading : hAsync("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: '9b7567102fe9d70e1bc20806cd1a953c2330e731', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'da172940a007cfa192370d8c268bcbf88e0950d6', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: 'bcd14cbbda4449532fd26b2233706371d362558d', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'e79783580f4c322fb7d0ba7851d25e15f785f5dc', 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: '8c03af3ace34f2f0b1138e9a32f7ce01515fbd36', 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: '2fd60c758679df458ef2feed22817bf1e932446f' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'ee562f5589037be7d2de3491c62de4795cd00d66', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
9842
9859
|
this.variation !== "image" &&
|
|
9843
9860
|
!campaignOrSection &&
|
|
9844
9861
|
this.variation !== "product" &&
|
|
9845
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
9862
|
+
this.variation !== "content" && hAsync("div", { key: 'a1d05e33342d55d19db68851c3bd6109aff70182', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '04f905e4192d1b6542d830398f024b04ed0fe521', name: "bottom" }))));
|
|
9846
9863
|
}
|
|
9847
9864
|
get element() { return getElement(this); }
|
|
9848
9865
|
static get watchers() { return {
|
|
@@ -9968,11 +9985,11 @@ class DuetIcon {
|
|
|
9968
9985
|
: {};
|
|
9969
9986
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9970
9987
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9971
|
-
return (hAsync(Host, { key: '
|
|
9988
|
+
return (hAsync(Host, { key: '2c8d063e4f6194f02c63a231c7905ce4477ebefe', class: {
|
|
9972
9989
|
"duet-m-0": this.margin === "none",
|
|
9973
9990
|
"duet-icon-has-outline": !!this.outline,
|
|
9974
9991
|
"duet-icon-has-background": !!this.background,
|
|
9975
|
-
} }, hAsync("span", { key: '
|
|
9992
|
+
} }, hAsync("span", { key: '9d9b159d2531f6269a434a617d95533d65a33fff', "aria-hidden": "true", style: styles, class: {
|
|
9976
9993
|
"duet-icon": true,
|
|
9977
9994
|
"duet-theme-turva": this.theme === "turva",
|
|
9978
9995
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9981,7 +9998,7 @@ class DuetIcon {
|
|
|
9981
9998
|
[shapeStyle]: true,
|
|
9982
9999
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
9983
10000
|
"duet-icon-not-responsive": !this.responsive,
|
|
9984
|
-
} }, hAsync("span", { key: '
|
|
10001
|
+
} }, hAsync("span", { key: 'ca9fce62fea6508b49944defe645c230de66b14f', "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 }))));
|
|
9985
10002
|
}
|
|
9986
10003
|
get element() { return getElement(this); }
|
|
9987
10004
|
static get watchers() { return {
|
|
@@ -10587,7 +10604,7 @@ function isInternetExplorer() {
|
|
|
10587
10604
|
return "documentMode" in document || /Edge/.test(ua);
|
|
10588
10605
|
}
|
|
10589
10606
|
|
|
10590
|
-
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle)
|
|
10607
|
+
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
10591
10608
|
var DuetLayoutStyle0 = duetLayoutCss;
|
|
10592
10609
|
|
|
10593
10610
|
/**
|
|
@@ -10630,24 +10647,24 @@ class DuetLayout {
|
|
|
10630
10647
|
* Always the last one in the class.
|
|
10631
10648
|
*/
|
|
10632
10649
|
render() {
|
|
10633
|
-
return (hAsync(Host, { key: '
|
|
10650
|
+
return (hAsync(Host, { key: '77e2f191178d05f54711416debb0c7f64780a0fd', class: {
|
|
10634
10651
|
center: this.center,
|
|
10635
10652
|
"duet-middle": this.middle,
|
|
10636
10653
|
"duet-ie": isInternetExplorer(),
|
|
10637
|
-
} }, hAsync("div", { key: '
|
|
10654
|
+
} }, hAsync("div", { key: '905dcf1de42b34427d89e098f157126507d12aa5', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'aff4d94915e6db5fec05f1591702ddf5d32309b8', class: {
|
|
10638
10655
|
"duet-layout-top": true,
|
|
10639
10656
|
"duet-center": this.center,
|
|
10640
|
-
} }, hAsync("div", { key: '
|
|
10657
|
+
} }, hAsync("div", { key: 'e9a78a2f90f64572d0f9eb0095696f7292231b90', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '5c8632796fc97f96a9db17cb193730d394d63bc6', name: "top" })))), hAsync("div", { key: '7e0243ab692a0f95ae46a7f41afaac27ab6f8c2f', class: {
|
|
10641
10658
|
"duet-layout": true,
|
|
10642
10659
|
"has-sidebar": this.hasSidebar,
|
|
10643
10660
|
"duet-center": this.center,
|
|
10644
10661
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10645
|
-
} }, hAsync("main", { key: '
|
|
10662
|
+
} }, hAsync("main", { key: 'e0eb98840d79da68f19c18dfb6b0b738c50a8563', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: 'a8dc3953ae2de7c4d6cdfb7b732a0a2f6ff59ba8', name: "page-heading" }), hAsync("slot", { key: '9dc9657dba0718b7553aa79d2ba525fdfeb14279', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '2ca95869b0244da856be5a537d4781fcba395eda', class: "duet-sidebar" }, hAsync("div", { key: '63c6ea53fff4a0f22940410c70619ce468179c20', class: {
|
|
10646
10663
|
"duet-sidebar-container": true,
|
|
10647
10664
|
"has-tabs": this.tabs,
|
|
10648
10665
|
sticky: this.sticky,
|
|
10649
10666
|
[this.stickyDistance]: this.sticky,
|
|
10650
|
-
} }, hAsync("slot", { key: '
|
|
10667
|
+
} }, hAsync("slot", { key: '7329e6f47779d50e1ce873a0bb93e67b3a5cdcfb', name: "sidebar" }))))))));
|
|
10651
10668
|
}
|
|
10652
10669
|
get element() { return getElement(this); }
|
|
10653
10670
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10789,10 +10806,10 @@ class DuetLink {
|
|
|
10789
10806
|
render() {
|
|
10790
10807
|
const Tag = !this.url ? "button" : "a";
|
|
10791
10808
|
const isButton = Tag === "button";
|
|
10792
|
-
return (hAsync(Host, { key: '
|
|
10809
|
+
return (hAsync(Host, { key: '70bc31e1d10efda3453e16b689e38d3a4834a4bc', class: {
|
|
10793
10810
|
[`duet-link-${this.variation}`]: true,
|
|
10794
10811
|
"duet-m-0": this.margin === "none",
|
|
10795
|
-
} }, hAsync(Tag, { key: '
|
|
10812
|
+
} }, hAsync(Tag, { key: '1989da3829486cf23e4a50a7e36d93156f816404', href: this.url, class: {
|
|
10796
10813
|
"duet-link": true,
|
|
10797
10814
|
"duet-link-is-external": this.external,
|
|
10798
10815
|
"duet-link-is-download": !!this.download,
|
|
@@ -10914,7 +10931,7 @@ class DuetList {
|
|
|
10914
10931
|
* Always the last one in the class.
|
|
10915
10932
|
*/
|
|
10916
10933
|
render() {
|
|
10917
|
-
return (hAsync("dl", { key: '
|
|
10934
|
+
return (hAsync("dl", { key: 'fb75b5a512a993e8478f5c82e38b8b82a5e199cc', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'b8c6ed37ea89e194ef5a2f9fb603b60cd204ff69' })));
|
|
10918
10935
|
}
|
|
10919
10936
|
get element() { return getElement(this); }
|
|
10920
10937
|
static get watchers() { return {
|
|
@@ -10964,14 +10981,14 @@ class DuetListItem {
|
|
|
10964
10981
|
* Always the last one in the class.
|
|
10965
10982
|
*/
|
|
10966
10983
|
render() {
|
|
10967
|
-
return (hAsync(Host, { key: '
|
|
10984
|
+
return (hAsync(Host, { key: '22e6cfe329bfdf6f2f1c374bbf9bf9ab79241c52', class: {
|
|
10968
10985
|
"duet-no-stacking": !this.responsive,
|
|
10969
10986
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10970
10987
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10971
10988
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10972
10989
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10973
10990
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10974
|
-
} }, hAsync("dt", { key: '
|
|
10991
|
+
} }, hAsync("dt", { key: 'ac210602fa781f3a400b0268c29612b3feda2882' }, hAsync("slot", { key: '3e79d41cc7272db352845896debfd271df16fb70', name: "label" })), hAsync("dd", { key: '441336e69ff97fb2b7b94e19ce909b7936bc9519' }, hAsync("slot", { key: '884a75fd16b595aaf8ca7aeaec1d345e2760e4b4', name: "value" }))));
|
|
10975
10992
|
}
|
|
10976
10993
|
static get style() { return DuetListItemStyle0; }
|
|
10977
10994
|
static get cmpMeta() { return {
|
|
@@ -11064,7 +11081,7 @@ class DuetLogo {
|
|
|
11064
11081
|
*/
|
|
11065
11082
|
render() {
|
|
11066
11083
|
const TagName = this.href ? "a" : "div";
|
|
11067
|
-
return (hAsync(Host, { key: '
|
|
11084
|
+
return (hAsync(Host, { key: 'cf1b972f91235031706d26f97708213a8f7a2f8e', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'a88838e36a8db0445b441e1e5a18239e70f91672', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11068
11085
|
"duet-logo": true,
|
|
11069
11086
|
[this.size]: true,
|
|
11070
11087
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11094,7 +11111,7 @@ class DuetLogo {
|
|
|
11094
11111
|
}; }
|
|
11095
11112
|
}
|
|
11096
11113
|
|
|
11097
|
-
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left
|
|
11114
|
+
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
11098
11115
|
var DuetMenuBarStyle0 = duetMenuBarCss;
|
|
11099
11116
|
|
|
11100
11117
|
/**
|
|
@@ -11141,6 +11158,7 @@ class DuetMenuBar {
|
|
|
11141
11158
|
this.centerSlotUsed = !!centerSlot;
|
|
11142
11159
|
};
|
|
11143
11160
|
this.changeLogoSize = () => {
|
|
11161
|
+
this.checkCenterSlot();
|
|
11144
11162
|
if (this.mql[1].matches && this.centerSlotUsed) {
|
|
11145
11163
|
this.logoSize = "large";
|
|
11146
11164
|
}
|
|
@@ -11242,14 +11260,14 @@ class DuetMenuBar {
|
|
|
11242
11260
|
render() {
|
|
11243
11261
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11244
11262
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11245
|
-
return (hAsync(Host, { key: '
|
|
11263
|
+
return (hAsync(Host, { key: 'f0983936612609fc2eb5721734a11d4618360b8b' }, hAsync("nav", { key: '4a139907bbd7f3112c033121a2ce4362ba9d1188', class: {
|
|
11246
11264
|
"duet-menu-bar": true,
|
|
11247
11265
|
"duet-theme-turva": this.theme === "turva",
|
|
11248
11266
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11249
11267
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11250
11268
|
hidden: this.hidden && this.hideOnScroll,
|
|
11251
11269
|
bottom: this.onBottom,
|
|
11252
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11270
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '72a48c9a4298ea62c6e14bbead3fef3c829dbe3a', class: "top" }), hAsync("div", { key: '2a140a16fd5dd3724b6c53c3d13bbf4e4eac9b2d', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '755606dfd3f93aa8971497b5faba2e8be2f67d8b' }, hAsync("duet-logo", { key: 'a6ea5582749cdebfe07c9dbd4a119c5397a57303', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '6b788322e94a6726a42bc19fc96111fa99f17408', class: "list center", role: "list" }, hAsync("div", { key: 'f4fc7bf613930378d1c8b84968172dd5b44ae53e', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'b79f7d3d752f470fc1fc87f4003d83154b2358c0', name: "center" }), hAsync("div", { key: '01255600e64d3264bf78760ce1049064c51e0061', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '99b7c6a681d0431553a70b3a4850c76c6f76b0cf', class: "list right", role: "list" }, hAsync("slot", { key: '5a99bf4c8ff6fea38e35ef57ace64cbc56912485', name: "right" }))), hAsync("div", { key: 'f2d6d6177bee8c76572eba30f79901df2be090bd', class: "bottom" }))));
|
|
11253
11271
|
}
|
|
11254
11272
|
get element() { return getElement(this); }
|
|
11255
11273
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11316,10 +11334,10 @@ class DuetMenuBarButton {
|
|
|
11316
11334
|
* Always the last one in the class.
|
|
11317
11335
|
*/
|
|
11318
11336
|
render() {
|
|
11319
|
-
return (hAsync(Host, { key: '
|
|
11337
|
+
return (hAsync(Host, { key: '004d0d4f86fba40f9fad10254bbd9a67fde481b3', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '93260868022fcff94e5594b0982729e449aaaf0d', ref: button => (this.nativeButton = button), class: {
|
|
11320
11338
|
"duet-menu-bar-button": true,
|
|
11321
11339
|
"duet-theme-turva": this.theme === "turva",
|
|
11322
|
-
}, "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: '
|
|
11340
|
+
}, "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: '09c43d7c0dc7ee3887710f7fc88a0b290160dd7d', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'b4a30a15fa55995016084db6437987aeec8ff925' }))));
|
|
11323
11341
|
}
|
|
11324
11342
|
get element() { return getElement(this); }
|
|
11325
11343
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11402,17 +11420,17 @@ class DuetMenuBarDropdown {
|
|
|
11402
11420
|
* Always the last one in the class.
|
|
11403
11421
|
*/
|
|
11404
11422
|
render() {
|
|
11405
|
-
return (hAsync(Host, { key: '
|
|
11423
|
+
return (hAsync(Host, { key: 'b66d07696fb73e08c25ee747d2580d086a1f6034', role: "listitem" }, hAsync("div", { key: 'a76407d0613c128ca1c106ab93e5559923b86c60', class: {
|
|
11406
11424
|
"duet-menu-bar-dropdown": true,
|
|
11407
11425
|
"duet-theme-turva": this.theme === "turva",
|
|
11408
11426
|
active: this.open,
|
|
11409
11427
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11410
|
-
} }, hAsync("button", { key: '
|
|
11428
|
+
} }, hAsync("button", { key: '2821837c6d54d1312e3a9722a426b76d94973aa9', 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: {
|
|
11411
11429
|
active: this.open,
|
|
11412
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11430
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'a9e0ee9ccdd4e2e93db53969c5af2e38e3cd40fa', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '65580cab4fb839ee4b520f56e4a048d6d0bae122', class: "label" }, hAsync("slot", { key: 'c62365b60d57413f850d9f1abed85bc109285145', name: "label" }), hAsync("duet-icon", { key: 'be8eea0170768c101754a5bb6244280ed0c431e0', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'be1513d3702db6f94611e3108415b37f0707ab9a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11413
11431
|
items: true,
|
|
11414
11432
|
hidden: !this.open,
|
|
11415
|
-
} }, hAsync("slot", { key: '
|
|
11433
|
+
} }, hAsync("slot", { key: '2bebbcac98c6087f9e03ac9a40a897ecf5d778e6' })))));
|
|
11416
11434
|
}
|
|
11417
11435
|
get element() { return getElement(this); }
|
|
11418
11436
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11472,11 +11490,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11472
11490
|
* Always the last one in the class.
|
|
11473
11491
|
*/
|
|
11474
11492
|
render() {
|
|
11475
|
-
return (hAsync(Host, { key: '
|
|
11493
|
+
return (hAsync(Host, { key: '65d409311019e93c176030ae276b74b780f0722c' }, hAsync("a", { key: '71abec43b5213cece2f6f537220c28f28c174cbe', class: {
|
|
11476
11494
|
"duet-menu-bar-dropdown-link": true,
|
|
11477
11495
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11478
11496
|
"duet-theme-turva": this.theme === "turva",
|
|
11479
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11497
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'abcb3dd527aed658cd2b4bbd23edb20edfce91eb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '7732547ae2fc62149c2250780e40bbe6c108a49a' }))));
|
|
11480
11498
|
}
|
|
11481
11499
|
get element() { return getElement(this); }
|
|
11482
11500
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11540,11 +11558,11 @@ class DuetMenuBarItem {
|
|
|
11540
11558
|
*/
|
|
11541
11559
|
render() {
|
|
11542
11560
|
const TagName = this.url ? "a" : "button";
|
|
11543
|
-
return (hAsync(Host, { key: '
|
|
11561
|
+
return (hAsync(Host, { key: 'bbb7ab55c67b4db51e15236bca4d88bb424285ac', role: "listitem" }, hAsync(TagName, { key: 'fe5e350f27ee0bc5f7284a1a4f042ca07cf8ff09', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11544
11562
|
"duet-menu-bar-item": true,
|
|
11545
11563
|
"duet-theme-turva": this.theme === "turva",
|
|
11546
11564
|
active: this.active,
|
|
11547
|
-
}, 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: '
|
|
11565
|
+
}, 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: 'e726aadf242af86b56407416f363f337830cca5b', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '752e9b002c53afc4a7bc62227afe1f3222e72602' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'b983d7aad90a67857c92d864f4c807fe3f7a7a16', class: {
|
|
11548
11566
|
"trailing-icon": !!this.trailingIcon,
|
|
11549
11567
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11550
11568
|
"external-icon": !!this.external,
|
|
@@ -11599,11 +11617,11 @@ class DuetMenuBarLink {
|
|
|
11599
11617
|
* Always the last one in the class.
|
|
11600
11618
|
*/
|
|
11601
11619
|
render() {
|
|
11602
|
-
return (hAsync(Host, { key: '
|
|
11620
|
+
return (hAsync(Host, { key: 'f682d26a48ec220240975707b35c96a477eeb6be', role: "listitem" }, hAsync("a", { key: '4e3786d460b72263478547c988eb8bde5dd3501e', class: {
|
|
11603
11621
|
"duet-menu-bar-link": true,
|
|
11604
11622
|
"duet-theme-turva": this.theme === "turva",
|
|
11605
11623
|
active: this.active,
|
|
11606
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11624
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '37047bd278cc4b7bb56acdcf3db2937025736dc7', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '014a47458e2dedfad6bf8290061227812e8e4d24' }))));
|
|
11607
11625
|
}
|
|
11608
11626
|
get element() { return getElement(this); }
|
|
11609
11627
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11854,18 +11872,18 @@ class DuetModal {
|
|
|
11854
11872
|
var _a, _b;
|
|
11855
11873
|
let iconColor = "primary";
|
|
11856
11874
|
let closeColor = "secondary";
|
|
11857
|
-
const closingButton = (hAsync("div", { key: '
|
|
11875
|
+
const closingButton = (hAsync("div", { key: 'bb1f923c1ee3e15d3b50b20a34dd3ece51deb0ec', class: "duet-modal-close" }, hAsync("duet-button", { key: '4b17caf93396c246f7d27b6b5042ec86cca9558d', 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 })));
|
|
11858
11876
|
if (this.theme === "turva") {
|
|
11859
11877
|
iconColor = "primary-turva";
|
|
11860
11878
|
closeColor = "secondary-turva";
|
|
11861
11879
|
}
|
|
11862
|
-
return (hAsync("div", { key: '
|
|
11880
|
+
return (hAsync("div", { key: '2f2ce0b1a1b86550adce16addb0ea9ed85592f4a', 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: {
|
|
11863
11881
|
"duet-modal-container": true,
|
|
11864
11882
|
"duet-theme-turva": this.theme === "turva",
|
|
11865
11883
|
"duet-modal-active": this.open,
|
|
11866
11884
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11867
11885
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11868
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11886
|
+
} }, hAsync("duet-overlay", { key: '9a399dda2be352e29770d438c4ca08545c7ea289', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '75e0574642fe5a419ad1387ab6c10c92ba9264c5', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11869
11887
|
"duet-modal-inner": true,
|
|
11870
11888
|
[this.size]: true,
|
|
11871
11889
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11876,18 +11894,18 @@ class DuetModal {
|
|
|
11876
11894
|
this.closeModal(e);
|
|
11877
11895
|
}
|
|
11878
11896
|
}
|
|
11879
|
-
} }, hAsync("div", { key: '
|
|
11897
|
+
} }, hAsync("div", { key: '7e1ae928c1edffb13bdaee92b26d4104f65e303a', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11880
11898
|
"duet-modal": true,
|
|
11881
11899
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11882
11900
|
[this.size]: true,
|
|
11883
11901
|
[this.variation]: true,
|
|
11884
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11902
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '7fad3249b4d7f695cc4f3cb206362ea4f61f266b' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '4b62e97cc1fe90e60d2266c477fccfb2862636e9', class: {
|
|
11885
11903
|
"duet-modal-body": true,
|
|
11886
11904
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11887
11905
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11888
11906
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11889
11907
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11890
|
-
} }, hAsync("div", { key: '
|
|
11908
|
+
} }, hAsync("div", { key: '10f951d353b810d003e3dbd08c9a8486068b0374', class: "duet-modal-header" }, hAsync("span", { key: 'fb7328dea24935b8ea198b2aad27f2b6935539f7', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '23c95e51b7a6a924c51563810b0114112bfa9812', name: "top" })), this.icon && hAsync("duet-icon", { key: '0acaa2a0a64267c885b32599d1342a31fa8d9379', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '4ccc419418e3a9c4fe0baa48df4126ebe89e3d59', "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: '6b60e149a187b71c820169ef1454f89fb6565f39', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '2f2ea4dd35d3459560b14c63c0967d70b4c25eea', size: "large", color: "primary" }))), hAsync("div", { key: '150bcb1ab2988133a66a194f43dd3528dc0165a9', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: 'f6837d986392a94af1497c896af4fc87cb008cf0' })))))));
|
|
11891
11909
|
}
|
|
11892
11910
|
get element() { return getElement(this); }
|
|
11893
11911
|
static get watchers() { return {
|
|
@@ -12152,23 +12170,23 @@ class DuetMultiselect {
|
|
|
12152
12170
|
*/
|
|
12153
12171
|
render() {
|
|
12154
12172
|
var _a;
|
|
12155
|
-
return (hAsync(Host, { key: '
|
|
12173
|
+
return (hAsync(Host, { key: 'a9ce209f6d0ebc295aca6abfb51e7d8b5f916397', class: {
|
|
12156
12174
|
"duet-m-0": this.margin === "none",
|
|
12157
12175
|
"duet-expand": this.expand,
|
|
12158
|
-
} }, hAsync("div", { key: '
|
|
12176
|
+
} }, hAsync("div", { key: '9b63f45acce3faac9c0e5f2d6a50d687539a4d4a', class: {
|
|
12159
12177
|
"duet-multiselect-container": true,
|
|
12160
12178
|
"duet-label-hidden": this.labelHidden,
|
|
12161
12179
|
"duet-theme-turva": this.theme === "turva",
|
|
12162
12180
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12163
12181
|
"has-error": !!this.error,
|
|
12164
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
12182
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '3976aa0ddd2971764fe0f2e627aed6c960f65cef', 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: '24392c70833eeff354b2cd56707b5b63ba5fd59b', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '15ca546366a30b65065c099469b941e08a2bc6c0', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '44d9589c99b1694af3bb860de10875595e2f4bc9', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'd49ca494868a57210724275e7a98c4551ab558ae', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '5b68859ae6b1a9916d96c47002f7c9485382a913', 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: 'c64f308ba8bec99486e788ddb0d7e5adaed8a02d', 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: '2d3e3f55ebf4f964c4d4d04d07177a65df21c42f', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'd38084d0fb7a9f080a234c069d612ccddcb890ab' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: 'df30af3c9e60203a9ca16e1e7a771843962fec60', 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: '32f4205865b6e6d53b6e78a45004da23591018f1', 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: '7c5441c80982d38f49b7128f179ff0a06492a28b', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12165
12183
|
"duet-multiselect-checkboxes": true,
|
|
12166
12184
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12167
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12185
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'e1065494a8222bae0b5c853ae52c1d21259289ac', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'ceed8b74d08ac96e2b79d2efd45b9c93eada86cf', 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: 'a51688c114ff6f86984fc9b04cc1d1faee99f5d1', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12168
12186
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12169
12187
|
var _a, _b;
|
|
12170
12188
|
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 }));
|
|
12171
|
-
})))))), hAsync("span", { key: '
|
|
12189
|
+
})))))), hAsync("span", { key: '782f6132228248e8f4e141138052781c224e9f48', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '0354ff249d65209cda5983cdc85c5dca4ddf0bde' }, this.error)))));
|
|
12172
12190
|
}
|
|
12173
12191
|
get element() { return getElement(this); }
|
|
12174
12192
|
static get watchers() { return {
|
|
@@ -12237,7 +12255,7 @@ class DuetNav {
|
|
|
12237
12255
|
* Always the last one in the class.
|
|
12238
12256
|
*/
|
|
12239
12257
|
render() {
|
|
12240
|
-
return (hAsync(Host, { key: '
|
|
12258
|
+
return (hAsync(Host, { key: 'f5ae3631c0785744d3fb7f34559cee04e5285550' }, hAsync("div", { key: 'd714239fed77dbea052ea2dc8b9d8ca31e7cfa8c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: 'c11135ddebbd766695f4f19800580bce48cc1f80' }), hAsync("slot", { key: '771f6f0c80fda18fc05857077347bad51fc88a04', name: "mobile" }), hAsync("slot", { key: '38f4f4252472f09e56f4d6e901248600df52d2a1', name: "desktop" }))));
|
|
12241
12259
|
}
|
|
12242
12260
|
get element() { return getElement(this); }
|
|
12243
12261
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12296,11 +12314,11 @@ class DuetNotification {
|
|
|
12296
12314
|
this.linkElement.focus(options);
|
|
12297
12315
|
}
|
|
12298
12316
|
render() {
|
|
12299
|
-
return (hAsync("div", { key: '
|
|
12317
|
+
return (hAsync("div", { key: 'eace5033122ee62ee27b591ad47b118c1f9096f7', role: "listitem", class: {
|
|
12300
12318
|
"duet-notification": true,
|
|
12301
12319
|
"duet-notification-highlight": this.highlight,
|
|
12302
12320
|
"duet-theme-turva": this.theme === "turva",
|
|
12303
|
-
} }, hAsync("a", { key: '
|
|
12321
|
+
} }, hAsync("a", { key: '4400c732e537e9c2838a5b5c1c1d9eade1123d43', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '99e87aad2c516c8cb1380fcb67b51123373ed039', class: "duet-notification-container" }, hAsync("div", { key: 'f8d25e2f95cac95692192371a77a00b9022de1f7', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '8d349100089368193d73d23062fd00d9ab342411', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: 'fffab52bd32056bf806777b802a72cf0b606f91c' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'ac061c356306f0677bf89646951e4fbaaba466a1', class: "duet-notification-content" }, hAsync("slot", { key: 'f94d05db7e9897cffad9f9082ec66ffb8efd23fe' })), hAsync("div", { key: '33dec802c87ce665d301f507226c50f3c17e8628', class: "duet-notification-date" }, this.date)))));
|
|
12304
12322
|
}
|
|
12305
12323
|
get element() { return getElement(this); }
|
|
12306
12324
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12418,10 +12436,10 @@ class DuetNotificationDrawer {
|
|
|
12418
12436
|
* Always the last one in the class.
|
|
12419
12437
|
*/
|
|
12420
12438
|
render() {
|
|
12421
|
-
return (hAsync("div", { key: '
|
|
12439
|
+
return (hAsync("div", { key: 'b9e14aa3e19e14ef225ed47f6961b0f88a7cddc4', class: {
|
|
12422
12440
|
"duet-drawer": true,
|
|
12423
12441
|
"duet-theme-turva": this.theme === "turva",
|
|
12424
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12442
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'e2c17fc4f254b3f307734006dbfea982ff6ee382', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: 'a8795ee99eba96b344f89fa3cad551ec7380b966', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'ba43b4fe302bf7acd9f73ddc974d141f455ff4f7', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '528eddbd58dc20742fec9b67347228f83b3aa84d', class: "duet-drawer-badge" }))), hAsync("span", { key: 'e1863d335a91de0ebee61833c5df5cd8dbfe7556', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '1950983a0f5ee70f5f8025f75c3d17e37e1b7a15', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '8eabe2d3fc3083ed7177e0c86103b6f3e72cc86e', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '2618b64bdc7e100de5ef65efa3b3c47f15282f14', id: "duet-drawer-content", class: {
|
|
12425
12443
|
"duet-drawer-content": true,
|
|
12426
12444
|
"duet-drawer-right": this.direction === "right",
|
|
12427
12445
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12888,7 +12906,7 @@ class DuetOverlay {
|
|
|
12888
12906
|
* Always the last one in the class.
|
|
12889
12907
|
*/
|
|
12890
12908
|
render() {
|
|
12891
|
-
return (hAsync(Host, { key: '
|
|
12909
|
+
return (hAsync(Host, { key: '1f48c95511f5fe345d0c954839878ca75143a23f', "aria-hidden": "true" }, hAsync("div", { key: '1a659c3467a8badcf2f3530034358faab19382f5', style: { zIndex: this.zIndex }, class: {
|
|
12892
12910
|
"duet-overlay": true,
|
|
12893
12911
|
"duet-theme-turva": this.theme === "turva",
|
|
12894
12912
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12958,12 +12976,12 @@ class DuetPageHeading {
|
|
|
12958
12976
|
*/
|
|
12959
12977
|
render() {
|
|
12960
12978
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12961
|
-
return (hAsync("div", { key: '
|
|
12979
|
+
return (hAsync("div", { key: 'f84be07f2c33b45360e553051478010014f8ee1f', class: {
|
|
12962
12980
|
"duet-page-heading": true,
|
|
12963
12981
|
"duet-theme-turva": this.theme === "turva",
|
|
12964
12982
|
"has-icon": !!this.icon,
|
|
12965
12983
|
[layout]: true,
|
|
12966
|
-
} }, hAsync("div", { key: '
|
|
12984
|
+
} }, hAsync("div", { key: 'bc767f86b6bd1c690db1716c7871c1f5772efb0a', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'd0159e0adbcc43de58942ec26c6456f25d3be7a3', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '6d44470ea21076c83188847450d3d43cb18cfdcc', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '2e66c27bda85ecc8cf540bb2183683b0c0168d31', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '270cfd764055e1f8635bd5e519191d56356d26f3', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'a43fcc34939632c3d59b94da64283461d3a58faa', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '6a0f42bc5eb7747fde0fde4efc2ddc79792ddea7', class: "heading" }, hAsync("slot", { key: 'f7783da2cb7a1de174229d4a36f9a400ca2ee67a', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '1770423482557be3b25e59a0d4dd66b684afecc3' }, hAsync("duet-spacer", { key: '1d404addde73988e6430a7f090b97646e6264aa4', size: "large" }), hAsync("div", { key: '7149707ed0f09c0c1443d062c88be018637caa05', role: "presentation" }, this.progressIndicator()))))));
|
|
12967
12985
|
}
|
|
12968
12986
|
get element() { return getElement(this); }
|
|
12969
12987
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13318,32 +13336,32 @@ class DuetPagination {
|
|
|
13318
13336
|
* Always the last one in the class.
|
|
13319
13337
|
*/
|
|
13320
13338
|
render() {
|
|
13321
|
-
return (hAsync(Host, { key: '
|
|
13339
|
+
return (hAsync(Host, { key: 'd6ed3352906a8c13c0ba120e63acd5572db61555', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: 'd7cb59047ba6951fb8ec60beb986df51cc646c4a', 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: {
|
|
13322
13340
|
"duet-pagination-nav": true,
|
|
13323
13341
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13324
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13342
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '902c6abd42e246304aae924b1406f8c2bc817bf5', "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: '4861b3a854f12cadae3f5d3f91806f5a50bed294', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '66c09e15df929889c85137de8cdb0d7fbadbfc8f', id: this.listId, class: {
|
|
13325
13343
|
"duet-pagination": true,
|
|
13326
13344
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13327
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13345
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'f06ae0b46625378d53f7d6c968efe6cc37628669', class: {
|
|
13328
13346
|
"duet-pagination-page-button": true,
|
|
13329
13347
|
"duet-pagination-button-first": true,
|
|
13330
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13348
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '53de9f7186c2e9c280d3b987e33d3e50f9394301', 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: 'f1ee58d73ab3ec2e1e7044d16a36495ebb5fc259', class: {
|
|
13331
13349
|
"duet-pagination-page-button": true,
|
|
13332
13350
|
"duet-pagination-button-first": true,
|
|
13333
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13351
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '5e064f5e0b53fe9c04b4e5167dff1b6acbe85c75', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13334
13352
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13335
|
-
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: '
|
|
13336
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13353
|
+
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: '126295d5cf39d121da317412934d570d02b5d122' }, hAsync("li", { key: 'ab615605de67abfa16ba5304450d4fbe4b40c1fd', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '81945909e8e4e70aede95ff3bcec869b59d2faaa', 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: '52a1704bf4e47e97a8165b34b133d75f7cf46ee6', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: 'db56afde04dc1c6ae372db9a7b12f5d8a968afca', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'bbcee542f0a2151957fe8612104cad3762a23972', 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: '63cbd7bc9380da4dee3360c052b0555329c6db24', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13354
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'c7ce3b477074306822ad20b564aade9ec8cdbf5d' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '76bed23b3e4010197e2682b581e2740c8c21158a', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '822ae63ebc41b29721791343bf9209798977c38a', 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: 'f89e2cb2097b4f9b41cd0a1d351ff3e4b7867b4f', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '94ea90a52a62975ec11fac47ab933a7de8afa5ea', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '9eadf95f39e73639515ff03079b8528b2c0c7a59', 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
|
|
13337
13355
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13338
|
-
: undefined }, hAsync("div", { key: '
|
|
13356
|
+
: undefined }, hAsync("div", { key: 'feefef8f45433820ca8e029094b1b4fe216067a5', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '2577b388ea15e24be05de69b308c22dbb298e6d1', class: {
|
|
13339
13357
|
"duet-pagination-page-button": true,
|
|
13340
13358
|
"duet-pagination-button-last": true,
|
|
13341
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13359
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'd7e18ac10323030b3c7e651e9b4598bba5d413f6', disabled: !!((this.current === this.totalPages &&
|
|
13342
13360
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13343
|
-
(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: '
|
|
13361
|
+
(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: 'a71b9d3150493bb242caed7d27ca3c6c2e79efa0', class: {
|
|
13344
13362
|
"duet-pagination-page-button": true,
|
|
13345
13363
|
"duet-pagination-button-last": true,
|
|
13346
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13364
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '1b9192690bdd80a356b64e71a87e44a697ffb9fa', disabled: (this.current === this.totalPages &&
|
|
13347
13365
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13348
13366
|
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 })))))));
|
|
13349
13367
|
}
|
|
@@ -13417,7 +13435,7 @@ class DuetParagraph {
|
|
|
13417
13435
|
const color = getColorByName(this.color);
|
|
13418
13436
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13419
13437
|
// are not announced when placed inside duet-modal
|
|
13420
|
-
return (hAsync(Host, { key: '
|
|
13438
|
+
return (hAsync(Host, { key: '64a84c4df04a399b3f9378b2fc4742c06767e0c3', "aria-describedby": this.id }, hAsync("p", { key: '6d9c8a61f8506ecb6e8e8391ab5d645555e36055', id: this.id, class: {
|
|
13421
13439
|
"duet-paragraph": true,
|
|
13422
13440
|
"duet-paragraph-small": this.size === "small",
|
|
13423
13441
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13425,7 +13443,7 @@ class DuetParagraph {
|
|
|
13425
13443
|
"duet-m-0": this.margin === "none",
|
|
13426
13444
|
[this.variation]: true,
|
|
13427
13445
|
"duet-theme-turva": this.theme === "turva",
|
|
13428
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13446
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '482892006f59215f0d9e7ba05b66bed8c5cee719' }))));
|
|
13429
13447
|
}
|
|
13430
13448
|
get element() { return getElement(this); }
|
|
13431
13449
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15030,9 +15048,11 @@ class DuetPopupMenu {
|
|
|
15030
15048
|
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
15031
15049
|
}
|
|
15032
15050
|
get popupMenuStyleHeight() {
|
|
15033
|
-
|
|
15051
|
+
const selector = ":scope duet-popup-menu-item, :scope duet-notification";
|
|
15052
|
+
const elements = Array.from(this.element.querySelectorAll(selector));
|
|
15053
|
+
if (elements.length > 0 && this.scrollLimit) {
|
|
15034
15054
|
const paddings = Number(spaceXSmall.replace("px", "")) * 2;
|
|
15035
|
-
return `${
|
|
15055
|
+
return `${elements[0].offsetHeight * this.scrollLimit + paddings}px`;
|
|
15036
15056
|
}
|
|
15037
15057
|
else {
|
|
15038
15058
|
return "auto";
|
|
@@ -15055,14 +15075,14 @@ class DuetPopupMenu {
|
|
|
15055
15075
|
overflowY: "auto",
|
|
15056
15076
|
height: this.popupMenuStyleHeight,
|
|
15057
15077
|
};
|
|
15058
|
-
return (hAsync(Host, { key: '
|
|
15078
|
+
return (hAsync(Host, { key: 'df95a1ca83bfed0e3c2e62e4de9a03563491b7a4' }, hAsync("div", { key: '0da0cb7b5bf6b0950b867af9d93a8937d40c4223', ref: element => {
|
|
15059
15079
|
this.menuElement = element;
|
|
15060
15080
|
}, style: styles, class: {
|
|
15061
15081
|
open: this.open,
|
|
15062
15082
|
"duet-popup-menu-list": true,
|
|
15063
15083
|
"duet-theme-turva": this.theme === "turva",
|
|
15064
15084
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15065
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
15085
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: 'f2e56ae51be1d5eb1b8c14a67496079e3dbcd3d1' }))));
|
|
15066
15086
|
}
|
|
15067
15087
|
get element() { return getElement(this); }
|
|
15068
15088
|
static get watchers() { return {
|
|
@@ -15169,11 +15189,11 @@ class DuetPopupMenuItem {
|
|
|
15169
15189
|
"duet-theme-turva": this.theme === "turva",
|
|
15170
15190
|
"active-descendant": this.activeDescendant,
|
|
15171
15191
|
};
|
|
15172
|
-
return (hAsync(Host, { key: '
|
|
15192
|
+
return (hAsync(Host, { key: 'bf1b38aa7684c8cc3959b6b0725f83962341d58d', role: this.accessibleRole }, hAsync(TagName, { key: '71cfa30d7780f2ab9a31f2aa3ff4bec91b8e0b7e', 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 }, this.leadingIcon && (hAsync("duet-icon", { key: '3552f0f0e6e303f23e012a9baa0b646d7f3eeb5e', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '1c26c319a37978618960dce5c0e5de9731a576c9', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c3f9e10b0f5c5af06d79ba6760b924f5abfb02d9' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '2b5f54ffc9063c6ef1dfb38d59724a1ff9307ede', name: this.url && this.external
|
|
15173
15193
|
? actionNewWindowSmall.title
|
|
15174
15194
|
: this.active
|
|
15175
15195
|
? "messaging-checked-small"
|
|
15176
|
-
: 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: '
|
|
15196
|
+
: 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: 'b9a42c7f906f16c62189ce82f8c1bbdeee169a7e', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15177
15197
|
}
|
|
15178
15198
|
get element() { return getElement(this); }
|
|
15179
15199
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15328,12 +15348,12 @@ class DuetPromoCard {
|
|
|
15328
15348
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15329
15349
|
};
|
|
15330
15350
|
const TagName = this.url ? "a" : "div";
|
|
15331
|
-
return (hAsync(Host, { key: '
|
|
15351
|
+
return (hAsync(Host, { key: '369719dba1262d916b787afe98ffd4fa217e2f1a', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'a49708055d9810ca1cecc07070640f389f8b866b', class: {
|
|
15332
15352
|
"duet-promo-card": true,
|
|
15333
15353
|
"duet-theme-turva": this.theme === "turva",
|
|
15334
15354
|
"no-bg-color": !this.backgroundColor,
|
|
15335
15355
|
"duet-promo-card-link": !!this.url,
|
|
15336
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15356
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'c4c5c7f1a09b5641b228a7fc9b62afd950fdc8e1', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '12c2264de14f12da9ec4002afeb5fe978ceaa719', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'ee62d417521f8201dcaf095a8fe86684a935ba2d', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'b5566b2e3ed124323ce8f7f34827e291f082f8e8', class: "pre-heading" }, hAsync("slot", { key: '4db794c53c26048fa69d04b3b1ba1478de36c3d6', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'ca8c079241b93d7193b601a713de4b4e83e44630', class: "heading" }, hAsync("duet-heading", { key: '9f6e20d605a3c35265fdd21d64b7862705ca5aeb', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '72f862b412fe7145d8e96eebdc91e82e38ba4072' }, hAsync("slot", { key: '0933ea8abb5c7b5d70515f2bd685f210a4fb5a85', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'e81b515409efbd9b32ee45e0f930fd2ec5148a4e', class: "description" }, hAsync("duet-paragraph", { key: 'c8483b63083ef1f07e44b49d0b51e21cf6d08f41', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'ec479361b133d65d444b9504d227167e353179e0' }, hAsync("slot", { key: '732371f1f5719157476dd2d73d0750a6614bd88d', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '938ee22a3f9e771bd08ee7d092c002a9f989e289', class: "action" }, hAsync("slot", { key: '91a2a79c7964862a39764fdac8de1a6a1679d1ea', name: "action" }))))))));
|
|
15337
15357
|
}
|
|
15338
15358
|
get element() { return getElement(this); }
|
|
15339
15359
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -15940,10 +15960,10 @@ class DuetRangeStepper {
|
|
|
15940
15960
|
* Always the last one in the class.
|
|
15941
15961
|
*/
|
|
15942
15962
|
render() {
|
|
15943
|
-
return (hAsync("div", { key: '
|
|
15963
|
+
return (hAsync("div", { key: '35bce1f47ba569cc34b6f4627b11c321f7ed7ee0', class: {
|
|
15944
15964
|
"duet-range-stepper": true,
|
|
15945
15965
|
"duet-theme-turva": this.theme === "turva",
|
|
15946
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
15966
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'c4c9faf170e41dd8428464b8084ace48f8704d42', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'c5fe0ebd2197ed50b2b6313f3289f339782ee4af', 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: '26fe2315b7915a46bd40fef5e5941fef008e980f', 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: "" })));
|
|
15947
15967
|
}
|
|
15948
15968
|
get element() { return getElement(this); }
|
|
15949
15969
|
static get watchers() { return {
|
|
@@ -15972,7 +15992,7 @@ class DuetRangeStepper {
|
|
|
15972
15992
|
}; }
|
|
15973
15993
|
}
|
|
15974
15994
|
|
|
15975
|
-
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items
|
|
15995
|
+
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:-2px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:-2px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-inline:2px;margin-inline:-2px;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";
|
|
15976
15996
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
15977
15997
|
|
|
15978
15998
|
/**
|
|
@@ -15993,7 +16013,8 @@ class DuetScrollable {
|
|
|
15993
16013
|
*/
|
|
15994
16014
|
this.resizeObserver = new ResizeObserver(entries => {
|
|
15995
16015
|
if ((entries === null || entries === void 0 ? void 0 : entries.length) === 1) {
|
|
15996
|
-
this.
|
|
16016
|
+
const threshold = this.buttonPosition === "absolute" ? 0 : 5;
|
|
16017
|
+
this.checkScrollingNeeded(entries[0].target, threshold);
|
|
15997
16018
|
}
|
|
15998
16019
|
});
|
|
15999
16020
|
this.collapsedOnClick = () => {
|
|
@@ -16027,7 +16048,8 @@ class DuetScrollable {
|
|
|
16027
16048
|
componentDidLoad() {
|
|
16028
16049
|
requestAnimationFrame(() => {
|
|
16029
16050
|
if (this.scrollPaneElement) {
|
|
16030
|
-
this.
|
|
16051
|
+
const threshold = this.buttonPosition === "absolute" ? 0 : 5;
|
|
16052
|
+
this.checkScrollingNeeded(this.scrollPaneElement, threshold);
|
|
16031
16053
|
this.updateScrollButtons();
|
|
16032
16054
|
this.resizeObserver.observe(this.scrollPaneElement);
|
|
16033
16055
|
}
|
|
@@ -16044,15 +16066,20 @@ class DuetScrollable {
|
|
|
16044
16066
|
}
|
|
16045
16067
|
/**
|
|
16046
16068
|
* Check if scrolling is needed.
|
|
16069
|
+
*
|
|
16070
|
+
* @param element - The element to check.
|
|
16071
|
+
* @param threshold - The threshold to allow content to be slightly wider before showing buttons.
|
|
16072
|
+
* Defaults to half of the overlay width, since gradient is 10px wide with 50/50 split.
|
|
16047
16073
|
*/
|
|
16048
|
-
checkScrollingNeeded(element = this.scrollPaneElement, threshold =
|
|
16074
|
+
checkScrollingNeeded(element = this.scrollPaneElement, threshold = 5) {
|
|
16075
|
+
var _a;
|
|
16049
16076
|
if (!element) {
|
|
16050
16077
|
return;
|
|
16051
16078
|
}
|
|
16052
|
-
const
|
|
16053
|
-
const
|
|
16054
|
-
|
|
16055
|
-
|
|
16079
|
+
const parentWidth = ((_a = element.parentElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
16080
|
+
const contentWidth = element.scrollWidth;
|
|
16081
|
+
const overlayWidth = 10 * 2;
|
|
16082
|
+
this.needsScrolling = contentWidth - overlayWidth > parentWidth + threshold;
|
|
16056
16083
|
if (!this.needsScrolling) {
|
|
16057
16084
|
this.scrollPaneAtStart = true;
|
|
16058
16085
|
this.scrollPaneAtEnd = true;
|
|
@@ -16156,13 +16183,6 @@ class DuetScrollable {
|
|
|
16156
16183
|
const last = this.getLastVisibleElement();
|
|
16157
16184
|
this.scrollToElement(last + 1, "center");
|
|
16158
16185
|
}
|
|
16159
|
-
renderFadeOverlay(direction) {
|
|
16160
|
-
return (hAsync("div", { class: {
|
|
16161
|
-
"duet-scrollable-fade-overlay": true,
|
|
16162
|
-
"duet-scrollable-fade-overlay--hidden": !this.needsScrolling,
|
|
16163
|
-
[`${direction}`]: true,
|
|
16164
|
-
} }));
|
|
16165
|
-
}
|
|
16166
16186
|
renderButton(direction) {
|
|
16167
16187
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
16168
16188
|
const arrowColorDisabled = this.theme === "turva" ? "color-gray-turva" : "color-gray";
|
|
@@ -16197,24 +16217,25 @@ class DuetScrollable {
|
|
|
16197
16217
|
* Always the last one in the class.
|
|
16198
16218
|
*/
|
|
16199
16219
|
render() {
|
|
16200
|
-
return (hAsync(Host, { key: '
|
|
16220
|
+
return (hAsync(Host, { key: 'f9d32985477e8239420fb052f9f621f9f8990f87', class: {
|
|
16201
16221
|
"duet-theme-turva": this.theme === "turva",
|
|
16202
16222
|
"duet-theme-default": this.theme === "default",
|
|
16203
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16223
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'ba59942211ad1695d127b0523114e7a1f9e49e06', class: {
|
|
16204
16224
|
collapse: true,
|
|
16205
16225
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16206
|
-
} }, hAsync("duet-button", { key: '
|
|
16226
|
+
} }, hAsync("duet-button", { key: '76946873948e27b8d40469f07a47ad3e90523b8d', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '05fec97266546725966d97fce471e9fe17a9ca39', name: "collapse-button-label" })))), hAsync("div", { key: '60cc97e2e4231e59a28bd09f51652af060ef6e24', class: {
|
|
16207
16227
|
"duet-scrollable-items": true,
|
|
16208
16228
|
buttons: this.buttons,
|
|
16209
16229
|
center: this.center,
|
|
16210
16230
|
"duet-theme-turva": this.theme === "turva",
|
|
16211
|
-
} }, this.buttons && this.renderButton("left"),
|
|
16231
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'eebe387b2c90a47647bdd16514dfe79fbe2f6436', class: {
|
|
16212
16232
|
"duet-scrollable-list": true,
|
|
16213
16233
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16214
16234
|
[`gap-${this.gap}`]: true,
|
|
16215
16235
|
collapsed: this.collapsed,
|
|
16216
16236
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16217
|
-
|
|
16237
|
+
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
16238
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '365952437c69244c0bd5e4917c3711a300e7509e' })), this.buttons && this.renderButton("right"))));
|
|
16218
16239
|
}
|
|
16219
16240
|
get element() { return getElement(this); }
|
|
16220
16241
|
static get watchers() { return {
|
|
@@ -16246,7 +16267,7 @@ class DuetScrollable {
|
|
|
16246
16267
|
}; }
|
|
16247
16268
|
}
|
|
16248
16269
|
|
|
16249
|
-
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle)
|
|
16270
|
+
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";
|
|
16250
16271
|
var DuetSectionLayoutStyle0 = duetSectionLayoutCss;
|
|
16251
16272
|
|
|
16252
16273
|
class DuetSectionLayout {
|
|
@@ -16261,13 +16282,13 @@ class DuetSectionLayout {
|
|
|
16261
16282
|
* Always the last one in the class.
|
|
16262
16283
|
*/
|
|
16263
16284
|
render() {
|
|
16264
|
-
return (hAsync(Host, { key: '
|
|
16285
|
+
return (hAsync(Host, { key: 'd1c577c30368c8ad2c3b87d2056cdb21191e586e', class: {
|
|
16265
16286
|
"duet-middle": this.middle,
|
|
16266
16287
|
"duet-ie": isInternetExplorer(),
|
|
16267
|
-
} }, hAsync("div", { key: '
|
|
16288
|
+
} }, hAsync("div", { key: 'd5ef07dc367ad7b1bdb54634b8abe80a3ab42595', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e35a1276a667969594305cec29efa7ca74d137a2', class: {
|
|
16268
16289
|
"duet-layout": true,
|
|
16269
16290
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16270
|
-
} }, hAsync("section", { key: '
|
|
16291
|
+
} }, hAsync("section", { key: '97aa517a43663077b98ef7eee06d7e28daac3545', class: "duet-main" }, hAsync("slot", { key: 'b9c7aaae5f0f41eaca7ca3fa8422038548991c13' }))))));
|
|
16271
16292
|
}
|
|
16272
16293
|
get element() { return getElement(this); }
|
|
16273
16294
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -16510,9 +16531,9 @@ class DuetShapedImage {
|
|
|
16510
16531
|
const style = {
|
|
16511
16532
|
"--rotation": `${this.rotation}deg`,
|
|
16512
16533
|
};
|
|
16513
|
-
return (hAsync(Host, { key: '
|
|
16534
|
+
return (hAsync(Host, { key: '4d2509d187900cd728bc7f487c0d5f6d6692fcf6', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '443432050b727b6c2b596eea74a7d991626f3588', class: {
|
|
16514
16535
|
"shaped-image": true,
|
|
16515
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
16536
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '2b158b8d24e6803549c950f701fa1f304b2c5a21', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '84ceabbe108b85db331719cad4aa47ac16c52613', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
16516
16537
|
}
|
|
16517
16538
|
static get style() { return DuetShapedImageStyle0; }
|
|
16518
16539
|
static get cmpMeta() { return {
|
|
@@ -16620,12 +16641,12 @@ class DuetShowMore {
|
|
|
16620
16641
|
* Always the last one of the class.
|
|
16621
16642
|
*/
|
|
16622
16643
|
render() {
|
|
16623
|
-
return (hAsync(Host, { key: '
|
|
16644
|
+
return (hAsync(Host, { key: 'f8b3a4bdc3bdb531b534fa738121b232385abd2f' }, hAsync("div", { key: '4286438cdd90fadc5a9a099d57a1f7ed405f4825', class: {
|
|
16624
16645
|
"duet-show-more": true,
|
|
16625
16646
|
"duet-theme-turva": this.theme === "turva",
|
|
16626
16647
|
"duet-m-0": this.margin === "none",
|
|
16627
16648
|
open: this.open,
|
|
16628
|
-
} }, hAsync("div", { key: '
|
|
16649
|
+
} }, hAsync("div", { key: '3a4f4bedaa980b958342d306e431e6e8eea30b46', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '83db13f0dfda97263e0979963c35e3b8af89b8fa', class: { "slotted-content": true } }, hAsync("slot", { key: '4c7ac0dd5c6c92734c9fbb1b41292b1ab5b9b395' }))), hAsync("duet-button", { key: '8b5673ff853d9c7888ce2d6b532d01d99c85af43', 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.open, 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: 'caea15de13cce76f34b754a3a1dda49a6d17bb89' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
16629
16650
|
}
|
|
16630
16651
|
get element() { return getElement(this); }
|
|
16631
16652
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -16938,6 +16959,7 @@ class DuetSlideout {
|
|
|
16938
16959
|
stickyHeaderTabGroups.forEach(tabGroup => {
|
|
16939
16960
|
tabGroup.style.position = clean ? null : "relative";
|
|
16940
16961
|
tabGroup.style.top = clean ? null : "1px";
|
|
16962
|
+
tabGroup.switchLargeBreakpoint = "always";
|
|
16941
16963
|
});
|
|
16942
16964
|
};
|
|
16943
16965
|
this.openButtonEventListener = (e) => {
|
|
@@ -17121,16 +17143,16 @@ class DuetSlideout {
|
|
|
17121
17143
|
};
|
|
17122
17144
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17123
17145
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17124
|
-
return (hAsync(Host, { key: '
|
|
17146
|
+
return (hAsync(Host, { key: '8d5d42ea1b4ab27296f6b360c4fbb0d31836d039' }, hAsync("div", { key: '1cf8c2cb6f87e429e8c49b2ae55c2a247f5e8a1d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'b1f49d5e1da9b0ef48c21957d5b6da4a266c74e8', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'd4ef90d513a2a1970ce5cb9f3337e852785eb13a', 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: {
|
|
17125
17147
|
dialog: true,
|
|
17126
17148
|
hidden: !this.open,
|
|
17127
17149
|
modal: this.modal,
|
|
17128
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17150
|
+
}, style: styles }, hAsync(FocusGuard, { key: '68ea31fc1367cfffe651a11b7b61dc4fcb5b09fc', moveFocusTo: this.closeButton }), hAsync("div", { key: 'c7e01931fb3c9c1cb4c70bf364cf23ee94c64744', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '1461b0d0fe30eace62ef88fbffec48aa527f316f', class: "top" }, hAsync("button", { key: 'fb6c4634ce62407eda4b349b54cf4c0dffd3f9ad', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17129
17151
|
"slideout-close": true,
|
|
17130
17152
|
active: this.open,
|
|
17131
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17153
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'bc09b7fdfe8c01b5e2ed9c28464ddb09fbb5cae3', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '27b33378e3c3e1fdd221acb6288540aa93633b74', class: "sticky-header" }, hAsync("slot", { key: '38d19fe1d2c6f74004b7e93a591c0c07a2edfad2', name: "sticky-header" }))), hAsync("div", { key: 'a92d3f23efe42d3fff113a6c0ef6205e90bd387c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17132
17154
|
items: true,
|
|
17133
|
-
} }, hAsync("slot", { key: '
|
|
17155
|
+
} }, hAsync("slot", { key: 'aa14239555307c1303b17929cfd48f44c9883cef' })), hAsync(FocusGuard, { key: '8d9f6812015a4184d5e5aa94f91d07491c826969', moveFocusTo: this.closeButton })))));
|
|
17134
17156
|
}
|
|
17135
17157
|
get element() { return getElement(this); }
|
|
17136
17158
|
static get watchers() { return {
|
|
@@ -17197,7 +17219,7 @@ class DuetSlideoutLang {
|
|
|
17197
17219
|
*/
|
|
17198
17220
|
render() {
|
|
17199
17221
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17200
|
-
return (hAsync(Host, { key: '
|
|
17222
|
+
return (hAsync(Host, { key: '31b6e57b23d0936cc4147741caf528521e1e82a1' }, hAsync("div", { key: '74b2d0ddf3a4a21c4d9368e9e7e00e6e223e78c6', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '1f6beba2dcad7302f4e3db4395435d7c5e39730d', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'ead217fcb33aeced035ef571dbe57de7857d0c84' }))));
|
|
17201
17223
|
}
|
|
17202
17224
|
get element() { return getElement(this); }
|
|
17203
17225
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17241,12 +17263,12 @@ class DuetSlideoutLink {
|
|
|
17241
17263
|
* Always the last one in the class.
|
|
17242
17264
|
*/
|
|
17243
17265
|
render() {
|
|
17244
|
-
return (hAsync(Host, { key: '
|
|
17266
|
+
return (hAsync(Host, { key: '397e43c602bd3d9926d0649d5df37f30abc8e122' }, hAsync("a", { key: 'ea5609a4fd536e03d6563b21c05d9d15f024f996', class: {
|
|
17245
17267
|
"duet-slideout-link": true,
|
|
17246
17268
|
"duet-theme-turva": this.theme === "turva",
|
|
17247
17269
|
active: this.active,
|
|
17248
17270
|
[this.size]: true,
|
|
17249
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
17271
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'cd2858752a02bceda1dc86741a5a7588f4c04fc5', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'c0e8b4c5f08ff88b02749475f88ea49699c9f32e', class: "label" }, hAsync("span", { key: '6f32f8b54e0c9927ef11ea6feb0e9f41239f5826' }, hAsync("slot", { key: 'aa5b10e8ed48b56c94a4b92b8f4a4c04fd8751cd' }), hAsync("slot", { key: '3ccb1b5c03782d3df88ce40121c3848abbb7ed21', name: "description" })), this.caret && (hAsync("duet-icon", { key: '7761639943a89d708a9cdc554e8b464538154ab5', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17250
17272
|
}
|
|
17251
17273
|
get element() { return getElement(this); }
|
|
17252
17274
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -17406,23 +17428,23 @@ class DuetSlideoutPanel {
|
|
|
17406
17428
|
};
|
|
17407
17429
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17408
17430
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
17409
|
-
return (hAsync(Host, { key: '
|
|
17431
|
+
return (hAsync(Host, { key: '67ac4db2da51c270872cadbf5219233a9ff49cc4' }, hAsync("div", { key: '7d35e8a8d56f4508b42b4c9e49f891de410b25e5', class: {
|
|
17410
17432
|
"duet-slideout-panel": true,
|
|
17411
17433
|
"duet-theme-turva": this.theme === "turva",
|
|
17412
17434
|
active: this.open,
|
|
17413
|
-
} }, hAsync("button", { key: '
|
|
17435
|
+
} }, hAsync("button", { key: '632d47f161dee0f8454fbce8615efca79e6d2dff', 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: {
|
|
17414
17436
|
link: true,
|
|
17415
17437
|
active: this.active,
|
|
17416
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
17438
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '5b588bebc956c3f46b518419c6b9fd93fe213449', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '1c49b187b6e353af06e65edacac5c316b1fead11', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '1588137970e42a8fbe9144b56362777a655bf9ee', class: "duet-slideout-badge" }))), hAsync("span", { key: 'd1ebea539372c1e0721da0c98d47cd754ce9d112', class: "label" }, hAsync("span", { key: 'ebcd5893f37c3afd09acc0ea3f97b820ff698b89', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '6a87678f0894ca4c4fb7a93637574d97996f4f2e', name: "label" })), hAsync("duet-icon", { key: '08db52555e06b25a4fa86f2edec885fca3daef6a', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '572076d218ff5a3fb537618c6f8d1683b310254f', ref: element => (this.dialog = element), class: {
|
|
17417
17439
|
dialog: true,
|
|
17418
17440
|
hidden: !this.open,
|
|
17419
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17441
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b99c2c59baf028a14b46ace0840415246c59f0e0', moveFocusTo: this.closeButton }), hAsync("div", { key: '396411a19f66abbc40d87c6b9931359667bf81dd', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '9e0dacf6865a2f4f1f629bd8da4d8d23755a1b80', class: "top" }, hAsync("button", { key: '90bc7c889a1bf16041e3ef77f7bb5da7c412553c', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
17420
17442
|
back: true,
|
|
17421
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
17443
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'b1e6ab3413e1547ea61bed770d8c1658b4026781', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '5ecc199ecd47e4f73837a0b259a4322fdaacde7a' }, this.label.innerHTML), hAsync("button", { key: '22ebfee56701b85b67709264e8106eb28ad57395', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '2ff8febe05142b416fee52661fc38cacc36f349c', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3607f16e1cb18fcee43c049c30aba6a43da7a170', class: "sticky-header" }, hAsync("slot", { key: 'e68a32e67f1ea06768c77caa82e6e9176d15872a', name: "sticky-header" }))), hAsync("div", { key: '3c38a1b360d2a753a440a65d9db6d05589220eab', tabindex: "-1", role: "menu",
|
|
17422
17444
|
//TODO: slideout menu fades out, needs to be instant
|
|
17423
17445
|
id: "menu", "aria-labelledby": "button", class: {
|
|
17424
17446
|
items: true,
|
|
17425
|
-
} }, hAsync("slot", { key: '
|
|
17447
|
+
} }, hAsync("slot", { key: '965461798b3a5abff5f298310af54746973d5c31' })), hAsync(FocusGuard, { key: '058d1fc766894b3778f2133b494a6f6b1dfe30be', moveFocusTo: this.closeButton })))));
|
|
17426
17448
|
}
|
|
17427
17449
|
get element() { return getElement(this); }
|
|
17428
17450
|
static get watchers() { return {
|
|
@@ -17492,16 +17514,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
17492
17514
|
* Always the last one in the class.
|
|
17493
17515
|
*/
|
|
17494
17516
|
render() {
|
|
17495
|
-
return (hAsync(Host, { key: '
|
|
17517
|
+
return (hAsync(Host, { key: '3aeb0f6518e111df8282802e65d6c74348cd2367' }, hAsync("div", { key: '27a2c32674a4a98fad156142a9c5f07aaa47cab0', class: {
|
|
17496
17518
|
"duet-slideout-panel-dropdown": true,
|
|
17497
17519
|
"duet-theme-turva": this.theme === "turva",
|
|
17498
17520
|
active: this.open,
|
|
17499
|
-
} }, hAsync("button", { key: '
|
|
17521
|
+
} }, hAsync("button", { key: '9bade63cdca5e3cfbd83e984db86bda5e094008e', 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: {
|
|
17500
17522
|
active: this.active,
|
|
17501
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
17523
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'a1257b1aadd2f1011526e05231fb994cbaf9ff44', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'ecadae30af9fdfe3397e3bbada78b23f9759f124', class: "label" }, hAsync("slot", { key: 'b1faf455a33bf5ad1fec780460f55c83b77d62d7', name: "label" }), hAsync("duet-icon", { key: '11597586080089822d868c152b6aae9155045b94', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'ffd5653ffd46ef59cceb9e61cd5ba59b6c2d54d0', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17502
17524
|
items: true,
|
|
17503
17525
|
hidden: !this.open,
|
|
17504
|
-
} }, hAsync("slot", { key: '
|
|
17526
|
+
} }, hAsync("slot", { key: '46d294db4305ddf9f57bec16fb419eedae4898a0' })))));
|
|
17505
17527
|
}
|
|
17506
17528
|
get element() { return getElement(this); }
|
|
17507
17529
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -17536,7 +17558,7 @@ class DuetSpacer {
|
|
|
17536
17558
|
* Always the last one in the class.
|
|
17537
17559
|
*/
|
|
17538
17560
|
render() {
|
|
17539
|
-
return (hAsync(Host, { key: '
|
|
17561
|
+
return (hAsync(Host, { key: 'aa2a7ac6bd334dc7d419d2dbe89da8b0961f64cf', class: {
|
|
17540
17562
|
"duet-spacer": true,
|
|
17541
17563
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
17542
17564
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -17587,11 +17609,11 @@ class DuetSpinner {
|
|
|
17587
17609
|
*/
|
|
17588
17610
|
render() {
|
|
17589
17611
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
17590
|
-
return (hAsync(Host, { key: '
|
|
17612
|
+
return (hAsync(Host, { key: '5d31dde5f546428f75226d820ca714fe74855a54', class: {
|
|
17591
17613
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
17592
17614
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
17593
17615
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
17594
|
-
} }, hAsync("div", { key: '
|
|
17616
|
+
} }, hAsync("div", { key: '99cefb1d1a1f4d2d6abc9c935e791036279c9911', class: {
|
|
17595
17617
|
"duet-spinner": true,
|
|
17596
17618
|
[this.size]: true,
|
|
17597
17619
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -17612,6 +17634,94 @@ class DuetSpinner {
|
|
|
17612
17634
|
}; }
|
|
17613
17635
|
}
|
|
17614
17636
|
|
|
17637
|
+
class DuetStatusIcon {
|
|
17638
|
+
constructor(hostRef) {
|
|
17639
|
+
registerInstance(this, hostRef);
|
|
17640
|
+
this.bg = {
|
|
17641
|
+
default: {
|
|
17642
|
+
default: "color_lt_blue_100",
|
|
17643
|
+
success: "color_success_200",
|
|
17644
|
+
warning: "color_warning_200",
|
|
17645
|
+
danger: "color_danger_100",
|
|
17646
|
+
},
|
|
17647
|
+
strong: {
|
|
17648
|
+
default: "color_lt_blue_600",
|
|
17649
|
+
success: "color_success_700",
|
|
17650
|
+
warning: "color_warning_500",
|
|
17651
|
+
danger: "color_danger_600",
|
|
17652
|
+
},
|
|
17653
|
+
};
|
|
17654
|
+
this.color = {
|
|
17655
|
+
default: {
|
|
17656
|
+
default: "color_lt_blue_700",
|
|
17657
|
+
success: "color_success_800",
|
|
17658
|
+
warning: "color_warning_800",
|
|
17659
|
+
danger: "color_danger_700",
|
|
17660
|
+
},
|
|
17661
|
+
strong: {
|
|
17662
|
+
default: "color_lt_blue_100",
|
|
17663
|
+
success: "color_gray_lightest",
|
|
17664
|
+
warning: "color_warning_900",
|
|
17665
|
+
danger: "color_gray_lightest",
|
|
17666
|
+
},
|
|
17667
|
+
};
|
|
17668
|
+
this.variation = "default";
|
|
17669
|
+
this.size = "medium";
|
|
17670
|
+
this.margin = "auto";
|
|
17671
|
+
this.strong = false;
|
|
17672
|
+
}
|
|
17673
|
+
getBg() {
|
|
17674
|
+
return tokens$1[this.bg[this.strong ? "strong" : "default"][this.variation]];
|
|
17675
|
+
}
|
|
17676
|
+
getColor() {
|
|
17677
|
+
return tokens$1[this.color[this.strong ? "strong" : "default"][this.variation]];
|
|
17678
|
+
}
|
|
17679
|
+
getIcon() {
|
|
17680
|
+
switch (this.variation) {
|
|
17681
|
+
case "default":
|
|
17682
|
+
return `
|
|
17683
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17684
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
17685
|
+
<path fill="${this.getColor()}" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>
|
|
17686
|
+
<circle fill="${this.getColor()}" cx="11.625" cy="7.125" r="1.125"/>
|
|
17687
|
+
</svg>`;
|
|
17688
|
+
case "success":
|
|
17689
|
+
return `
|
|
17690
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17691
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
17692
|
+
<path fill="${this.getColor()}" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>
|
|
17693
|
+
</svg>`;
|
|
17694
|
+
case "warning":
|
|
17695
|
+
case "danger":
|
|
17696
|
+
return `
|
|
17697
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17698
|
+
<path fill="${this.getBg()}" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>
|
|
17699
|
+
<rect fill="${this.getColor()}" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>
|
|
17700
|
+
<rect fill="${this.getColor()}" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>
|
|
17701
|
+
</svg>`;
|
|
17702
|
+
}
|
|
17703
|
+
}
|
|
17704
|
+
render() {
|
|
17705
|
+
return (hAsync(Host, { key: '513b3e143bc34d530eccc8a15767fa2badbbd9f6', class: {
|
|
17706
|
+
[`duet-status-icon-${this.variation}`]: true,
|
|
17707
|
+
"duet-strong-bg": this.strong,
|
|
17708
|
+
} }, hAsync("duet-icon", { key: 'bdb984f064a33652090f67faf98f420d103fc960', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
17709
|
+
}
|
|
17710
|
+
static get cmpMeta() { return {
|
|
17711
|
+
"$flags$": 9,
|
|
17712
|
+
"$tagName$": "duet-status-icon",
|
|
17713
|
+
"$members$": {
|
|
17714
|
+
"variation": [1],
|
|
17715
|
+
"size": [513],
|
|
17716
|
+
"margin": [1],
|
|
17717
|
+
"strong": [4]
|
|
17718
|
+
},
|
|
17719
|
+
"$listeners$": undefined,
|
|
17720
|
+
"$lazyBundleId$": "-",
|
|
17721
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
17722
|
+
}; }
|
|
17723
|
+
}
|
|
17724
|
+
|
|
17615
17725
|
var actionEdit2={"title":"action-edit-2","tags":"action edit 2 pen pencil","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z\"/></svg>"};
|
|
17616
17726
|
|
|
17617
17727
|
const duetStepCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step{padding:20px !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;background:rgb(255, 255, 255);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)}.duet-step.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\";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)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}";
|
|
@@ -17823,7 +17933,7 @@ class DuetStepper {
|
|
|
17823
17933
|
* Always the last one in the class.
|
|
17824
17934
|
*/
|
|
17825
17935
|
render() {
|
|
17826
|
-
return (hAsync(Host, { key: '
|
|
17936
|
+
return (hAsync(Host, { key: '22b196db710cbed3e8ad8b4dd0650c115a3f88d5', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'a0285f6474768b1dd10b9ed222a69f1d3bdcba88', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'bf50d57a713aa062329cc40685b7441e31dc892c', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'fb7bb222787bd590d30cce8f5619cc8c30c1f4b4' }))));
|
|
17827
17937
|
}
|
|
17828
17938
|
get element() { return getElement(this); }
|
|
17829
17939
|
static get watchers() { return {
|
|
@@ -17968,19 +18078,19 @@ class DuetSubmenuBar {
|
|
|
17968
18078
|
* Always the last one in the class.
|
|
17969
18079
|
*/
|
|
17970
18080
|
render() {
|
|
17971
|
-
return (hAsync(Host, { key: '
|
|
18081
|
+
return (hAsync(Host, { key: '36733ff35a676602cb5664783353722ac32a3f23' }, hAsync("nav", { key: '6c79e18ca14402ba9becc0611cad56215ee0d54d', class: {
|
|
17972
18082
|
"duet-submenu-bar": true,
|
|
17973
18083
|
"duet-theme-turva": this.theme === "turva",
|
|
17974
18084
|
hidden: this.hidden,
|
|
17975
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18085
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '54db29b81a8fd888ddf9094b92ad72d453c30270', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
17976
18086
|
active: this.open,
|
|
17977
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18087
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'fd6fbc391f58b209fb675d1038043ab291ea8765', class: "label" }, hAsync("slot", { key: '26efb16331d21d400c0416df1c54c98fec07fd9c', name: "label" }), hAsync("duet-icon", { key: 'f383299770b09f13b0fc9c89c72b5a2ad495931d', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '71b7b2aefc7c9dbfb546df751e2ef5c5f420e440', class: {
|
|
17978
18088
|
"menu-container": true,
|
|
17979
18089
|
hidden: !this.open,
|
|
17980
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18090
|
+
}, role: "presentation" }, hAsync("div", { key: '3680be7bd688b8448d76f25ed074cb26f00f1bf0', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
17981
18091
|
items: true,
|
|
17982
18092
|
hidden: !this.open,
|
|
17983
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18093
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'd3c022573601ad29c14074a42129b0fec8f8e7e7', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: 'ff8f80314ddf742307286285008a7b7b87e0311a' }), hAsync("div", { key: '4724caa14d11b92502ca9bbf81d83a1f169e0514', class: "list-padding" }))), hAsync("duet-overlay", { key: '96982d748408a3fc7db02df17eb9261732cae2f3', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
17984
18094
|
}
|
|
17985
18095
|
get element() { return getElement(this); }
|
|
17986
18096
|
static get watchers() { return {
|
|
@@ -18101,18 +18211,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18101
18211
|
* Always the last one in the class.
|
|
18102
18212
|
*/
|
|
18103
18213
|
render() {
|
|
18104
|
-
return (hAsync(Host, { key: '
|
|
18214
|
+
return (hAsync(Host, { key: '6b5d2434a5a7d5afdfaf40e2134d1f02d2f8e222', role: "listitem" }, hAsync("div", { key: 'efe625a31b8e3fa67d845250f6802633a3e970d3', class: {
|
|
18105
18215
|
"duet-submenu-bar-dropdown": true,
|
|
18106
18216
|
"duet-theme-turva": this.theme === "turva",
|
|
18107
18217
|
open: this.open,
|
|
18108
18218
|
active: this.active,
|
|
18109
|
-
} }, hAsync("button", { key: '
|
|
18219
|
+
} }, hAsync("button", { key: '7b631206096ecd24fd7018850656a6ab3cf3f89b', 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: {
|
|
18110
18220
|
open: this.open,
|
|
18111
18221
|
active: this.active,
|
|
18112
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18222
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '3c9030513cf42a8633d8359be8003179bd5913b6', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '66fc2c66e8e27bee53464ce406797f4c32ca3b5c', class: "label" }, hAsync("span", { key: 'a073565bff14d28d8cf5167eec655716e3e0e61e', class: "label-text" }, hAsync("slot", { key: '14f7ef42fc76a1363bb5e0eacf4eac6bbb080490', name: "label" })), hAsync("duet-icon", { key: '66884d73e81fa44ca37f1b3fe6d5d5dd02114ac6', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '16f20eb6a5a4f169b34bf32c8dbe1e3f401a97b9', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18113
18223
|
items: true,
|
|
18114
18224
|
hidden: !this.open,
|
|
18115
|
-
} }, hAsync("slot", { key: '
|
|
18225
|
+
} }, hAsync("slot", { key: '39e9087f187e2ed824ae75f02eea9894648c4bba' })))));
|
|
18116
18226
|
}
|
|
18117
18227
|
get element() { return getElement(this); }
|
|
18118
18228
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18164,12 +18274,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18164
18274
|
* Always the last one in the class.
|
|
18165
18275
|
*/
|
|
18166
18276
|
render() {
|
|
18167
|
-
return (hAsync(Host, { key: '
|
|
18277
|
+
return (hAsync(Host, { key: '2e7a0b63fabe8ee0f29cd63e339241722cb0b915' }, hAsync("a", { key: 'c128f0afb1378b9587ee76a62d89bec957d0544b', class: {
|
|
18168
18278
|
"duet-submenu-bar-dropdown-link": true,
|
|
18169
18279
|
"duet-theme-turva": this.theme === "turva",
|
|
18170
18280
|
highlight: this.highlight,
|
|
18171
18281
|
active: this.active,
|
|
18172
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18282
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '88e38d32863145821247bc1d66e48fdb304c64db', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'c2d61e88b734363598485cac9e84636edaa485d9', class: "label-container" }, hAsync("span", { key: 'c15270a7dc528c31fe81b0ac1c0730d1712aa273', class: "label" }, hAsync("slot", { key: 'd3dfc2c82e310183f2b613f55506ae8e661427af' })), this.caret && hAsync("duet-icon", { key: '7f4c469fb9066822bf2bf9d3086cc08734a84a4a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '90c5be1db9e0fb6684d0b8032326b9fd57547a72', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18173
18283
|
}
|
|
18174
18284
|
get element() { return getElement(this); }
|
|
18175
18285
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18243,7 +18353,7 @@ class DuetSubmenuBarItem {
|
|
|
18243
18353
|
render() {
|
|
18244
18354
|
const TagName = this.url ? "a" : "button";
|
|
18245
18355
|
const role = this.url ? "link" : "button";
|
|
18246
|
-
return (hAsync(Host, { key: '
|
|
18356
|
+
return (hAsync(Host, { key: '4d177e3c8fab0bac22778d0bb67cb96b3f16a04c', role: "listitem" }, hAsync(TagName, { key: 'b32f2c34e132612cfa2e2507478f514b83585c5e', 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: 'afa64cadf036d77b203ba09462da022116620c39', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '5163f1bbf922e02e2805a3270e3b25d987bc56c3', class: "label" }, hAsync("span", { key: 'd6da532a7b7d70b375e1be84446fb1dd7ba4c607', class: "label-text" }, hAsync("slot", { key: '2cde0560e036111ed9665d9186bf0d15b7132c78' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'f4f83f5ea741b517a630271ee5bf1ea10840f985', class: {
|
|
18247
18357
|
"trailing-icon": !!this.trailingIcon,
|
|
18248
18358
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18249
18359
|
"external-icon": !!this.external,
|
|
@@ -18304,7 +18414,7 @@ class DuetSubmenuBarLink {
|
|
|
18304
18414
|
* Always the last one in the class.
|
|
18305
18415
|
*/
|
|
18306
18416
|
render() {
|
|
18307
|
-
return (hAsync(Host, { key: '
|
|
18417
|
+
return (hAsync(Host, { key: '7a7d10e6e2c4118a911623476d672630f006784a', role: "listitem" }, hAsync("a", { key: '027009d3d9de4ce94d88b521e399c59538a56753', 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: 'da3c19c52745c356f2917b5796b79bbef53f8df5', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'a325291a240a537079b1103e06e6ee130bd76e8d', class: "label" }, hAsync("slot", { key: '83d70266ae54f9bc2acfffc07a43f45c40010e66' })))));
|
|
18308
18418
|
}
|
|
18309
18419
|
get element() { return getElement(this); }
|
|
18310
18420
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -18444,7 +18554,7 @@ class DuetTab {
|
|
|
18444
18554
|
}; }
|
|
18445
18555
|
}
|
|
18446
18556
|
|
|
18447
|
-
const duetTabGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:15px 28px 17px 28px;overflow:hidden;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{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.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
18557
|
+
const duetTabGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{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.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
18448
18558
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
18449
18559
|
|
|
18450
18560
|
/**
|
|
@@ -18471,7 +18581,7 @@ class DuetTabGroup {
|
|
|
18471
18581
|
}
|
|
18472
18582
|
if (isTabKey(ev) && !isShiftTabKey(ev)) {
|
|
18473
18583
|
ev.preventDefault();
|
|
18474
|
-
this.element.querySelector("duet-tab[selected]").setFocus();
|
|
18584
|
+
this.element.querySelector(":scope > duet-tab[selected]").setFocus();
|
|
18475
18585
|
}
|
|
18476
18586
|
if (button) {
|
|
18477
18587
|
ev.preventDefault();
|
|
@@ -18521,6 +18631,7 @@ class DuetTabGroup {
|
|
|
18521
18631
|
this.padding = "auto";
|
|
18522
18632
|
this.setTabIndex = true;
|
|
18523
18633
|
this.tabChangeConfirm = false;
|
|
18634
|
+
this.switchLargeBreakpoint = "small";
|
|
18524
18635
|
}
|
|
18525
18636
|
/**
|
|
18526
18637
|
* Component lifecycle events.
|
|
@@ -18638,30 +18749,32 @@ class DuetTabGroup {
|
|
|
18638
18749
|
// TODO: get rid of plain-scrolling class, as we always scroll
|
|
18639
18750
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
18640
18751
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
18752
|
+
const largeBreakpoint = `switch-large-at-${this.switchLargeBreakpoint ? this.switchLargeBreakpoint : "small"}`;
|
|
18641
18753
|
const buttons = this.tabs.map((element, index) => (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
18642
18754
|
"duet-p-0": this.padding === "none",
|
|
18643
18755
|
"duet-tab-button": true,
|
|
18644
18756
|
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
18645
18757
|
selected: element.selected,
|
|
18646
18758
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
18759
|
+
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
18647
18760
|
}, 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))));
|
|
18648
|
-
return (hAsync("div", { key: '
|
|
18761
|
+
return (hAsync("div", { key: '207a82ac69bc1e0dc240a920b5cc2c7a8ba9ab62', class: {
|
|
18649
18762
|
"duet-tab-group": true,
|
|
18650
18763
|
"duet-theme-turva": this.theme === "turva",
|
|
18651
18764
|
[variationClass]: true,
|
|
18652
18765
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
18653
18766
|
"duet-tab-group-scrolls": true,
|
|
18654
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
18767
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '71e4268271d5193a1b9c7a8878ca9a3895f2d2d2', role: "tablist", class: {
|
|
18655
18768
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
18656
18769
|
"duet-tab-group-tabs": true,
|
|
18657
18770
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
18658
18771
|
}, ref: el => {
|
|
18659
18772
|
this.tabsContainer = el;
|
|
18660
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap:
|
|
18773
|
+
} }, this.variation === "checked" ? (buttons) : (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" }, buttons))), hAsync("div", { key: 'd0671945a27f612e16f322d4b0a50e1f29ee50af', class: {
|
|
18661
18774
|
"duet-tab-group-content": true,
|
|
18662
18775
|
"duet-m-0": this.margin === "none",
|
|
18663
18776
|
"checked-group-content": this.variation === "checked",
|
|
18664
|
-
} }, hAsync("slot", { key: '
|
|
18777
|
+
} }, hAsync("slot", { key: '90483c74164e3e6a6c9119dffbf9be6cfbd85853' }))));
|
|
18665
18778
|
}
|
|
18666
18779
|
get element() { return getElement(this); }
|
|
18667
18780
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -18683,6 +18796,7 @@ class DuetTabGroup {
|
|
|
18683
18796
|
"padding": [1],
|
|
18684
18797
|
"setTabIndex": [4, "set-tab-index"],
|
|
18685
18798
|
"tabChangeConfirm": [4, "tab-change-confirm"],
|
|
18799
|
+
"switchLargeBreakpoint": [1, "switch-large-breakpoint"],
|
|
18686
18800
|
"tabs": [32],
|
|
18687
18801
|
"selected": [32],
|
|
18688
18802
|
"openTab": [64],
|
|
@@ -18765,7 +18879,7 @@ class DuetTable {
|
|
|
18765
18879
|
}
|
|
18766
18880
|
}
|
|
18767
18881
|
render() {
|
|
18768
|
-
return (hAsync(Host, { key: '
|
|
18882
|
+
return (hAsync(Host, { key: '26ab3b66d99bdff07554198125e8867b84051c9f', class: {
|
|
18769
18883
|
[`duet-table-${this.variation}`]: true,
|
|
18770
18884
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
18771
18885
|
// sticky only valid when in regular table layout
|
|
@@ -18774,7 +18888,7 @@ class DuetTable {
|
|
|
18774
18888
|
"duet-m-0": this.margin === "none",
|
|
18775
18889
|
"duet-theme-turva": this.theme === "turva",
|
|
18776
18890
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
18777
|
-
} }, hAsync("slot", { key: '
|
|
18891
|
+
} }, hAsync("slot", { key: '1df61c45d1faa92385e24949ff773ec71852e0a5' })));
|
|
18778
18892
|
}
|
|
18779
18893
|
get element() { return getElement(this); }
|
|
18780
18894
|
static get watchers() { return {
|
|
@@ -19156,11 +19270,11 @@ class DuetToolbar {
|
|
|
19156
19270
|
: this.variation === "secondary"
|
|
19157
19271
|
? "secondary"
|
|
19158
19272
|
: "default";
|
|
19159
|
-
return (hAsync(Host, { key: '
|
|
19273
|
+
return (hAsync(Host, { key: '562a3b82275cd77dc7f90d6c53776923965415e0' }, hAsync("nav", { key: '074728e56d1f75a560331c1a4a8f12cea3343aa8', class: {
|
|
19160
19274
|
"duet-toolbar": true,
|
|
19161
19275
|
"duet-theme-turva": this.theme === "turva",
|
|
19162
19276
|
[variation]: true,
|
|
19163
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
19277
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f2379c6e218e998c32f8b8a808d3ba1a9fc0602c', class: "container" }, hAsync("div", { key: '6a7a09168fc5ad7f0b8fac5019fca192d800a4dc', class: "list", role: "list" }, hAsync("slot", { key: '45621a40c7ecdb2e834ea94b6e72eeb434113b8f', name: "left" })), hAsync("div", { key: '32c6e4b3e88e5a5226d9d6a33d93dfe16079335c', class: "list", role: "list" }, hAsync("slot", { key: '75e255dcc244d524f02921fc033d9e07789f8e00', name: "right" }))))));
|
|
19164
19278
|
}
|
|
19165
19279
|
get element() { return getElement(this); }
|
|
19166
19280
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -19228,18 +19342,18 @@ class DuetToolbarDropdown {
|
|
|
19228
19342
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
19229
19343
|
}
|
|
19230
19344
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19231
|
-
return (hAsync(Host, { key: '
|
|
19345
|
+
return (hAsync(Host, { key: '8fbd3b46ad171ee7b574657c43ab4b407013d69d', role: "listitem" }, hAsync("div", { key: '165f7588d2a312cf1634787769dfbec7fb2fc9b0', class: {
|
|
19232
19346
|
"duet-toolbar-dropdown": true,
|
|
19233
19347
|
"duet-theme-turva": this.theme === "turva",
|
|
19234
19348
|
[itemsAlign]: true,
|
|
19235
19349
|
[variation]: true,
|
|
19236
|
-
} }, hAsync("button", { key: '
|
|
19350
|
+
} }, hAsync("button", { key: '294a5b99afacd0b5b60fd6401b137a9bb9d12ec0', 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: {
|
|
19237
19351
|
active: this.active,
|
|
19238
19352
|
open: this.open,
|
|
19239
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
19353
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '459f1498c922214c00c2ba2262c7ccd04667cb35', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '07a73618ab9564ed67182f485396666ac047f0e0', class: "label" }, hAsync("slot", { key: '58150ae58e28c2c5632aadfda2f448e7af2ec279', name: "label" }), hAsync("duet-icon", { key: 'eccfdad69e2d56ffc7758dcd76b080636b40bd6e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '3c9a55859599ac5c6588df392d5da459498aff39', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19240
19354
|
items: true,
|
|
19241
19355
|
hidden: !this.open,
|
|
19242
|
-
} }, hAsync("slot", { key: '
|
|
19356
|
+
} }, hAsync("slot", { key: '29bd581d23c750855f88f5c86d47b9cac49085ff' })))));
|
|
19243
19357
|
}
|
|
19244
19358
|
get element() { return getElement(this); }
|
|
19245
19359
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -19292,11 +19406,11 @@ class DuetToolbarDropdownLink {
|
|
|
19292
19406
|
* Always the last one in the class.
|
|
19293
19407
|
*/
|
|
19294
19408
|
render() {
|
|
19295
|
-
return (hAsync(Host, { key: '
|
|
19409
|
+
return (hAsync(Host, { key: '6d0acb25371f7ba29bd7d704652468fc8f468919' }, hAsync("a", { key: '57cb4cb5d070bffe6bec22b4e2cfe89c9ef60c42', class: {
|
|
19296
19410
|
"duet-toolbar-dropdown-link": true,
|
|
19297
19411
|
"duet-theme-turva": this.theme === "turva",
|
|
19298
19412
|
active: this.active,
|
|
19299
|
-
}, 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: '
|
|
19413
|
+
}, 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: '2ea6d01bca873e3a404643caed491464eff38e79', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'c602605a04e30bca8cdfabbf6258fd9c96c2fc2f', class: "label" }, hAsync("slot", { key: 'b8c818584bb0bca390b299377a0a33c91770b3d1' })), this.active && (hAsync("duet-icon", { key: '59301d160c207f3b04992609b29c714c5add7361', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
19300
19414
|
}
|
|
19301
19415
|
get element() { return getElement(this); }
|
|
19302
19416
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -19371,17 +19485,17 @@ class DuetToolbarItem {
|
|
|
19371
19485
|
: this.variation === "secondary"
|
|
19372
19486
|
? "secondary"
|
|
19373
19487
|
: "default";
|
|
19374
|
-
return (hAsync(Host, { key: '
|
|
19488
|
+
return (hAsync(Host, { key: 'fb158728efc0bdd81c51f1d460075fb44285a8a1', role: "listitem" }, hAsync(TagName, { key: '96916988666e74411d5cb7b047b6223e11b3c84e', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
19375
19489
|
"duet-toolbar-item": true,
|
|
19376
19490
|
"duet-theme-turva": this.theme === "turva",
|
|
19377
19491
|
active: this.active,
|
|
19378
19492
|
[variation]: true,
|
|
19379
|
-
}, 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: '
|
|
19493
|
+
}, 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: 'e78b1d52ea395b96e1d08fd76fa8f79038d25165', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'd17013e6997e2b39349287e65497bb8d4c44ba21', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'a64289c5923a1bf0e7caac725c3c73b0774b2f37', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '9f998077db9c78e6a8e9638a45b93f77b93de320' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '09f85c3d0046e30b20f7f819f2bc7e21ef6b4b24', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '9794cce5544abb7000ab9e608aa44333b62c0495', class: {
|
|
19380
19494
|
"trailing-icon": !!this.trailingIcon,
|
|
19381
19495
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
19382
19496
|
"external-icon": !!(this.url && this.external),
|
|
19383
19497
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
19384
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
19498
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'f6a86fcdb6f02444ced9aa44a346bbb61557cb80', class: "duet-toolbar-badge" }))))));
|
|
19385
19499
|
}
|
|
19386
19500
|
get element() { return getElement(this); }
|
|
19387
19501
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -19435,12 +19549,12 @@ class DuetToolbarLink {
|
|
|
19435
19549
|
*/
|
|
19436
19550
|
render() {
|
|
19437
19551
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19438
|
-
return (hAsync(Host, { key: '
|
|
19552
|
+
return (hAsync(Host, { key: '258aa71d94e0e3959eef224ab891ceb4db3886ad', role: "listitem" }, hAsync("a", { key: 'e3557495157f9c6212582f47cf027f1f8389d7e9', class: {
|
|
19439
19553
|
"duet-toolbar-link": true,
|
|
19440
19554
|
"duet-theme-turva": this.theme === "turva",
|
|
19441
19555
|
active: this.active,
|
|
19442
19556
|
[variation]: true,
|
|
19443
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
19557
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '28195a63fb2020c70155284152086fa6fd4be0a1', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '85fdc84a09716bf992dbb7325b9677ed74fec706' }))));
|
|
19444
19558
|
}
|
|
19445
19559
|
get element() { return getElement(this); }
|
|
19446
19560
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -19697,12 +19811,12 @@ class DuetTooltipButton {
|
|
|
19697
19811
|
* Always the last one in the class.
|
|
19698
19812
|
*/
|
|
19699
19813
|
render() {
|
|
19700
|
-
return (hAsync(Host, { key: '
|
|
19814
|
+
return (hAsync(Host, { key: '2a4a781b1045443be8dca56d456bab9ff7d9cdc4' }, hAsync("button", { key: 'da62c139588718b4a57ff95d607cc65683219d20', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
19701
19815
|
"duet-tooltip-button": true,
|
|
19702
19816
|
"duet-tooltip-button-has-label": !!this.label,
|
|
19703
19817
|
"duet-theme-turva": this.theme === "turva",
|
|
19704
19818
|
"duet-tooltip-button-negative": this.negative,
|
|
19705
|
-
} }, hAsync("svg", { key: '
|
|
19819
|
+
} }, hAsync("svg", { key: '9464bd42026038aa453d5035bb27519ebd90bae9', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'fb7040dfd935553c00e6920989b23fc68fb296d5', 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: 'ac6c40e508076470433d4ddff60250249e6667d6', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '4994c9b2523e6629b91505cb4aaa8d9a43b6aa9a', 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)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
19706
19820
|
}
|
|
19707
19821
|
get element() { return getElement(this); }
|
|
19708
19822
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -19770,11 +19884,11 @@ class DuetTooltipPopup {
|
|
|
19770
19884
|
this.contentEl.focus();
|
|
19771
19885
|
}
|
|
19772
19886
|
render() {
|
|
19773
|
-
return (hAsync(Host, { key: '
|
|
19887
|
+
return (hAsync(Host, { key: '5937d404a3288b6afe2b9c8e1d47147e96eef933' }, hAsync("div", { key: 'bc2694a70963dabcaddce627d1abfe51dc36ebac', class: {
|
|
19774
19888
|
"duet-tooltip": true,
|
|
19775
19889
|
"duet-theme-turva": this.theme === "turva",
|
|
19776
19890
|
"duet-tooltip-active": this.active === true,
|
|
19777
|
-
} }, hAsync(FocusGuard, { key: '
|
|
19891
|
+
} }, hAsync(FocusGuard, { key: '461ee4e709c80fae34d04f2bba0fd60e6305f594', moveFocusTo: this.buttonEl }), hAsync("div", { key: '47e8f609387722060e93fc37558a219c2bad2ed6', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '64350c3d73d2560711890254d8be979f07c27f1b' })), hAsync("div", { key: '0544215577fd0b4e6be97eadcbad8f58114ffb38', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '1076a224b4a4f9d455271245e7bd879689a96bf4', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'bf275bd1c1597e42ab29ce57338a37e8ff534bfc', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'e06529abd6465f5e65f57f85ba2392c1df82d59f', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '43cabf152e52e237b886642e66a30875973fac6f' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '47ef9a81ce996efe8d52d06f36799c5a4f3b26cc', moveFocusTo: this.contentEl }))));
|
|
19778
19892
|
}
|
|
19779
19893
|
get element() { return getElement(this); }
|
|
19780
19894
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -19882,14 +19996,14 @@ class DuetTray {
|
|
|
19882
19996
|
* Always the last one in the class.
|
|
19883
19997
|
*/
|
|
19884
19998
|
render() {
|
|
19885
|
-
return (hAsync("div", { key: '
|
|
19999
|
+
return (hAsync("div", { key: '422e3ef16e6442e5e64ddeb7cf159aba8480bb0c', class: {
|
|
19886
20000
|
"duet-tray": true,
|
|
19887
20001
|
"duet-tray-is-active": this.active,
|
|
19888
20002
|
"duet-tray-is-hidden": this.hiddenState,
|
|
19889
20003
|
"duet-tray-is-responsive": this.responsive,
|
|
19890
20004
|
"duet-theme-turva": this.theme === "turva",
|
|
19891
20005
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
19892
|
-
} }, hAsync("div", { key: '
|
|
20006
|
+
} }, hAsync("div", { key: '2a123be4ba03f0ca7097365d9d28501f3e55dfb1', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '170a493490fc917470b22039d4d9205c4925ad48' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '398d11e06e1f271c565170e15ecb307741e1d9c5' }, hAsync("button", { key: 'ee94b64530befedfd2d8388fd4ad18d49f32e1f3', "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: 'af7c543c625487955c4c06b3904ace9e0042bcc1', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '4800b309084526993db20f4e98b9ecd45e6831d0' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '7cd6e21a5665066901ea37827c47e5569bc9ff5e', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'a8912419d82f6acb7eb4e8c4de5a3b083ab059cb', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '9de06515af6bd91e8b82b45e7dfec1ead9b8092d', name: "additional" })))))));
|
|
19893
20007
|
}
|
|
19894
20008
|
get element() { return getElement(this); }
|
|
19895
20009
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -21005,10 +21119,10 @@ class DuetUpload {
|
|
|
21005
21119
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
21006
21120
|
}
|
|
21007
21121
|
// @ts-ignore
|
|
21008
|
-
return (hAsync(Host, { key: '
|
|
21122
|
+
return (hAsync(Host, { key: '7f8970727b44bee3669b221659dd1f5a72df4ee2', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '074fc7ec948f6d0ab5c89c7d2d3d3ec3358343f4', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '84797a77942534e80a641d8a2ce9badef0e77937', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '224610821155dae048fd126b8d517486fa6efd38', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '6d01352482dd687520dd26d8d7c0d3863b61d4a4', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '328346632314eb8a8d0ae41de9761a488fc0bc1c', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'cab1390fc0ff3a6eb197be8e7ea16d719c2b6dc4', 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: '26051e329900efc2b29e6d8ebb6b2f1184ec547c', name: "filefooter" }), hAsync("slot", { key: 'c9018b5e95065813d29ee08ce924794e1ee476ff', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '8fffcc2935df87ccfa5bd89d3df773b9810d2f63', margin: "none", size: "small" }, hAsync("div", { key: '17c320b6eeefbd2b5f047b77eb613aa4e912cbdb', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'ada6f8c46784788c5900ad5a6dddfebed8a70e39', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'f352401910296a33c56ef5bb2e3f0b7e4be0594a' }, hAsync("duet-spacer", { key: 'ae4ae0b0490a4e88dab0a7319fd2dde20f05e400', size: "large" }), hAsync("duet-button", { key: 'ded36c705e15f44936844d057962cb731d47941c', 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 ||
|
|
21009
21123
|
this.bytesMaxReached ||
|
|
21010
21124
|
this.filesToUploadExceedsLimit ||
|
|
21011
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
21125
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '385520d7dc48477cea039a0c71f1bcd5e1730cca' }, hAsync("duet-spacer", { key: '79ea5d94a4eda84e3f8328a2ac1e42890e0bbde2', size: "medium" }), hAsync("duet-alert", { key: '33e5de19e511439a04deeb8478e167558946c4a7', 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: '2fc08bb48c1f47113399c63fd1a81dcef85fc0cf', "aria-hidden": "true" }, hAsync("input", { key: '81268132202065717f2e21b1f8dc4ef3e2173394', ref: input => {
|
|
21012
21126
|
this.nativeInput = input;
|
|
21013
21127
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
21014
21128
|
"duet-upload": true,
|
|
@@ -21329,7 +21443,7 @@ class DuetUploadAriaStatus {
|
|
|
21329
21443
|
* Always the last one in the class.
|
|
21330
21444
|
*/
|
|
21331
21445
|
render() {
|
|
21332
|
-
return (hAsync(Host, { key: '
|
|
21446
|
+
return (hAsync(Host, { key: '86d09688da162133dae76983bbfc285abf03ec4b', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '22fb5bc7a884e3d9b63f68b6720cdf9550418082' }, this.statusMessage)));
|
|
21333
21447
|
}
|
|
21334
21448
|
get element() { return getElement(this); }
|
|
21335
21449
|
static get watchers() { return {
|
|
@@ -21396,7 +21510,7 @@ class DuetUploadItem$1 {
|
|
|
21396
21510
|
inheritGlobalTheme(this);
|
|
21397
21511
|
}
|
|
21398
21512
|
render() {
|
|
21399
|
-
return (hAsync(Host, { key: '
|
|
21513
|
+
return (hAsync(Host, { key: '763537ba02066999a44d5b150b78e695137c94e3' }, hAsync("duet-visually-hidden", { key: '35d3f42318db029c6d554809ecf5ac14088ac89d', "aria-hidden": "true" }, hAsync("input", { key: '14ab29860cfe7da2b3c62da7649a73f6ca33c261', ref: input => {
|
|
21400
21514
|
this.nativeInput = input;
|
|
21401
21515
|
}, type: "file", class: {
|
|
21402
21516
|
"duet-upload": true,
|
|
@@ -21508,9 +21622,9 @@ class DuetUploadItem {
|
|
|
21508
21622
|
const { uid, meta, item } = this.data;
|
|
21509
21623
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
21510
21624
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
21511
|
-
return (hAsync("div", { key: '
|
|
21625
|
+
return (hAsync("div", { key: '9a4a5dc0a101ccb013a41d6b87a8c9ed8b0e2d7b', class: {
|
|
21512
21626
|
"upload-item-row": true,
|
|
21513
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
21627
|
+
} }, this.showCategory && (hAsync("div", { key: 'ecdfc43a5217eb4b917c54c728c751d7457fc4b8', class: "item-categories" }, hAsync("duet-heading", { key: 'd8ebd5747f8a58146523c31cfe9a145fcaccb673', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '8cff3489a1f96f62170c2653c3b10bca450db5e2', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '45f4bbb20e7a4d1f6b3ba0022e54c01c4340a740', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '2e20dafc9e776166217d42e921c942344d61c26f', class: "item-actions" }, this.actions.map(actionItem => {
|
|
21514
21628
|
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) }));
|
|
21515
21629
|
}))));
|
|
21516
21630
|
}
|
|
@@ -21551,7 +21665,7 @@ class DuetVisuallyHidden {
|
|
|
21551
21665
|
* Always the last one in the class.
|
|
21552
21666
|
*/
|
|
21553
21667
|
render() {
|
|
21554
|
-
return (hAsync(Host, { key: '
|
|
21668
|
+
return (hAsync(Host, { key: '1a63587b9972cddb552468bea28f8146b8d302df', class: "duet-visually-hidden" }, hAsync("slot", { key: 'a3e8c6847caa94f67d82569bc769a6397ccc8c56' })));
|
|
21555
21669
|
}
|
|
21556
21670
|
get element() { return getElement(this); }
|
|
21557
21671
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -21640,6 +21754,7 @@ registerComponents([
|
|
|
21640
21754
|
DuetSlideoutPanelDropdown,
|
|
21641
21755
|
DuetSpacer,
|
|
21642
21756
|
DuetSpinner,
|
|
21757
|
+
DuetStatusIcon,
|
|
21643
21758
|
DuetStep,
|
|
21644
21759
|
DuetStepper,
|
|
21645
21760
|
DuetSubmenuBar,
|