@duetds/components 9.5.2 → 9.7.0
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 +287 -234
- package/lib/cjs/{a11y-utils-8e2be21b.js → a11y-utils-25ba7ab3.js} +1 -1
- package/lib/cjs/{app-globals-617d939b.js → app-globals-f3fcb8f4.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +16 -16
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +30 -13
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- 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.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +8 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +7 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- 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 +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- 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 +9 -3
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- 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 +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +12 -12
- package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- 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 +15 -15
- package/lib/cjs/duet-phone-input.cjs.entry.js +9 -3
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +20 -9
- 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 +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +28 -26
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- 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 +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- 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 +9 -9
- package/lib/cjs/duet-status-icon.cjs.entry.js +8 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- 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 +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- 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 +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- 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-a69cd631.js → errorcodes.utils-6adb39b6.js} +1 -1
- package/lib/cjs/{focus-utils-2a54eb7a.js → focus-utils-f0ed0617.js} +1 -1
- package/lib/cjs/{index-206506a2.js → index-bd0d3a3a.js} +6 -6
- package/lib/cjs/{language-utils-6754f426.js → language-utils-38c8559b.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-aa13b3a0.js → slot-utils-e7a090af.js} +1 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-c0eede18.js} +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.css +75 -36
- package/lib/collection/components/duet-alert/duet-alert.js +38 -17
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +10 -10
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +3 -3
- package/lib/collection/components/duet-card/duet-card.js +6 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +7 -7
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +4 -4
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.js +8 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +27 -6
- package/lib/collection/components/duet-divider/duet-divider.js +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
- package/lib/collection/components/duet-footer/duet-footer.js +11 -11
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +3 -3
- package/lib/collection/components/duet-hero/duet-hero.js +10 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +36 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +6 -6
- package/lib/collection/components/duet-link/duet-link.js +25 -4
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.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.css +3 -13
- package/lib/collection/components/duet-modal/duet-modal.js +10 -10
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
- 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 +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +6 -6
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +32 -4
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +16 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +4 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +35 -17
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
- 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 +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +7 -7
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- 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 +90 -14
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +56 -9
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- 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-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +16 -16
- 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 +4 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/teleport.js +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- 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 +6 -6
- 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 +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +20 -16
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +17 -15
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +11 -11
- 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 +8 -8
- 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 +6 -6
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- 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 +4 -4
- package/lib/dist-custom-elements/duet-modal.js +16 -16
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- 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 +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +23 -16
- 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 +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- 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 +8 -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.js +1 -103
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -12
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- 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 +5 -5
- 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 +42 -36
- 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-1cc451fc.js → p-03ab6108.js} +2 -2
- package/lib/dist-custom-elements/{p-53b3bd2d.js → p-1a622e52.js} +3 -3
- package/lib/dist-custom-elements/{p-1f86efd7.js → p-1d3954cb.js} +3 -3
- package/lib/dist-custom-elements/{p-673093b5.js → p-1dd720f0.js} +17 -10
- package/lib/dist-custom-elements/{p-ce7d290f.js → p-1f125fa8.js} +19 -23
- package/lib/dist-custom-elements/{p-c3d01088.js → p-233b4c3c.js} +28 -16
- package/lib/dist-custom-elements/{p-a571ab43.js → p-25c3394c.js} +3 -3
- package/lib/dist-custom-elements/{p-a317fac9.js → p-25ea4fbc.js} +2 -2
- package/lib/dist-custom-elements/{p-8882b67b.js → p-2a7ecb51.js} +5 -5
- package/lib/dist-custom-elements/{p-6dd74d76.js → p-3132451c.js} +2 -2
- package/lib/dist-custom-elements/{p-ec26aeea.js → p-3a9b4b57.js} +3 -3
- package/lib/dist-custom-elements/{p-495fa25d.js → p-52e36342.js} +1 -1
- package/lib/dist-custom-elements/{p-6f36f4f3.js → p-55d85326.js} +5 -5
- package/lib/dist-custom-elements/p-59f0edd5.js +108 -0
- package/lib/dist-custom-elements/{p-69756ccb.js → p-60f2dd6f.js} +1 -1
- package/lib/dist-custom-elements/{p-519df228.js → p-677769ce.js} +3 -3
- package/lib/dist-custom-elements/{p-5a892951.js → p-6c6dbfe6.js} +12 -12
- package/lib/dist-custom-elements/p-6f0f0340.js +213 -0
- package/lib/dist-custom-elements/{p-6888c8d6.js → p-70bef044.js} +3 -3
- package/lib/dist-custom-elements/{p-935c69ca.js → p-7408a383.js} +4 -4
- package/lib/dist-custom-elements/{p-b54dea97.js → p-78076fd7.js} +3 -3
- package/lib/dist-custom-elements/{p-1b7f952f.js → p-81505f0b.js} +2 -2
- package/lib/dist-custom-elements/{p-fba92a7b.js → p-86162600.js} +7 -7
- package/lib/dist-custom-elements/{p-136dc3af.js → p-8c022d66.js} +4 -4
- package/lib/dist-custom-elements/{p-ca3cb21e.js → p-8cb0e6bd.js} +2 -2
- package/lib/dist-custom-elements/{p-accb4fa9.js → p-9091f589.js} +9 -9
- package/lib/dist-custom-elements/{p-2bb0877f.js → p-9760ce0e.js} +2 -2
- package/lib/dist-custom-elements/{p-79957fa3.js → p-992b1ceb.js} +1 -1
- package/lib/dist-custom-elements/{p-9f5cc4e3.js → p-99a2aeb6.js} +3 -3
- package/lib/dist-custom-elements/{p-fd01fff8.js → p-9d87ca15.js} +3 -3
- package/lib/dist-custom-elements/{p-aedaa6be.js → p-a97b2383.js} +2 -2
- package/lib/dist-custom-elements/{p-9126e8a2.js → p-bda6f3f9.js} +6 -6
- package/lib/dist-custom-elements/{p-d3f39f5e.js → p-bff79ef5.js} +8 -8
- package/lib/dist-custom-elements/{p-320da2a2.js → p-c6b96452.js} +3 -3
- package/lib/dist-custom-elements/{p-6646e07d.js → p-cf873d23.js} +2 -2
- package/lib/dist-custom-elements/{p-ef2dcc5a.js → p-d6ce295d.js} +4 -4
- package/lib/dist-custom-elements/{p-f7a60dd8.js → p-e0fa87f3.js} +3 -3
- package/lib/dist-custom-elements/{p-9614cc57.js → p-eb167bf0.js} +4 -4
- package/lib/dist-custom-elements/{p-1a4430e2.js → p-ec479ece.js} +2 -2
- package/lib/dist-custom-elements/{p-dbea5087.js → p-f5c940d5.js} +1 -1
- package/lib/dist-custom-elements/{p-38cb34bf.js → p-fe23c57b.js} +25 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-9936eb61.entry.js → p-008d13f6.entry.js} +1 -1
- package/lib/duet/{p-b2a64677.system.entry.js → p-00eb86f7.system.entry.js} +1 -1
- package/lib/duet/{p-0d512165.entry.js → p-02624d47.entry.js} +1 -1
- package/lib/duet/{p-6c8361b8.entry.js → p-035193bd.entry.js} +1 -1
- package/lib/duet/{p-d6f8386e.entry.js → p-03c79def.entry.js} +1 -1
- package/lib/duet/{p-4994dbf2.system.entry.js → p-03d9ea48.system.entry.js} +1 -1
- package/lib/duet/{p-42868a02.system.entry.js → p-047bf506.system.entry.js} +1 -1
- package/lib/duet/{p-8e40c17e.entry.js → p-04acf023.entry.js} +1 -1
- package/lib/duet/p-07f563b1.js +4 -0
- package/lib/duet/{p-0c115b39.js → p-09e6f01c.js} +1 -1
- package/lib/duet/{p-64542862.entry.js → p-0aec719a.entry.js} +1 -1
- package/lib/duet/{p-976918a1.system.entry.js → p-0b44f354.system.entry.js} +1 -1
- package/lib/duet/{p-818b5277.entry.js → p-0cdbf1c3.entry.js} +1 -1
- package/lib/duet/{p-cf900c12.system.entry.js → p-0d9c8f18.system.entry.js} +1 -1
- package/lib/duet/p-0e0c1abe.system.js +4 -0
- package/lib/duet/{p-bd5bc40f.system.entry.js → p-0f6140cf.system.entry.js} +1 -1
- package/lib/duet/{p-a4650edb.entry.js → p-1013472f.entry.js} +1 -1
- package/lib/duet/p-11b053ad.entry.js +4 -0
- package/lib/duet/{p-4460ee6c.js → p-11d704ac.js} +1 -1
- package/lib/duet/{p-031f13b0.system.entry.js → p-12a60f38.system.entry.js} +1 -1
- package/lib/duet/{p-a9f4cfe4.entry.js → p-136be903.entry.js} +1 -1
- package/lib/duet/p-16494063.entry.js +4 -0
- package/lib/duet/{p-57d70be4.system.entry.js → p-171de312.system.entry.js} +1 -1
- package/lib/duet/{p-b4151081.system.entry.js → p-18775501.system.entry.js} +1 -1
- package/lib/duet/{p-915e55ec.entry.js → p-19682bba.entry.js} +1 -1
- package/lib/duet/{p-5f56c425.system.entry.js → p-1ba8274b.system.entry.js} +1 -1
- package/lib/duet/p-1d02ebd2.entry.js +4 -0
- package/lib/duet/p-20f3f09a.entry.js +4 -0
- package/lib/duet/{p-5c91da22.entry.js → p-215c864f.entry.js} +1 -1
- package/lib/duet/{p-53d7ea2c.entry.js → p-2217828e.entry.js} +1 -1
- package/lib/duet/{p-0b986e9b.entry.js → p-223c20f3.entry.js} +1 -1
- package/lib/duet/{p-7373389d.entry.js → p-23005ca3.entry.js} +1 -1
- package/lib/duet/{p-009738f9.entry.js → p-233ca05d.entry.js} +1 -1
- package/lib/duet/{p-f91f1fc4.system.entry.js → p-241e75c1.system.entry.js} +1 -1
- package/lib/duet/{p-67ea455b.system.entry.js → p-24749cae.system.entry.js} +1 -1
- package/lib/duet/{p-de32ceff.system.entry.js → p-24bfae26.system.entry.js} +1 -1
- package/lib/duet/{p-8741bd70.entry.js → p-27848324.entry.js} +1 -1
- package/lib/duet/{p-679b55fe.entry.js → p-289149a6.entry.js} +1 -1
- package/lib/duet/p-2926c851.system.entry.js +4 -0
- package/lib/duet/p-292b14e4.entry.js +4 -0
- package/lib/duet/{p-419bca5b.system.entry.js → p-29c15fc5.system.entry.js} +1 -1
- package/lib/duet/{p-280063be.system.entry.js → p-2b159e34.system.entry.js} +1 -1
- package/lib/duet/{p-70a7f815.entry.js → p-2c8199ef.entry.js} +1 -1
- package/lib/duet/{p-225d100c.entry.js → p-2daa1149.entry.js} +1 -1
- package/lib/duet/p-3277aae2.entry.js +4 -0
- package/lib/duet/{p-b1487aa4.system.entry.js → p-388fb6f4.system.entry.js} +1 -1
- package/lib/duet/{p-9eeaf2e9.js → p-3b75c778.js} +1 -1
- package/lib/duet/p-3c07985a.system.js +5 -0
- package/lib/duet/{p-fd7ff8da.system.entry.js → p-3c8ffc42.system.entry.js} +1 -1
- package/lib/duet/{p-226aa2e9.system.entry.js → p-3d0ce27c.system.entry.js} +1 -1
- package/lib/duet/{p-accd2829.system.entry.js → p-3e1757d6.system.entry.js} +1 -1
- package/lib/duet/{p-f3c5e966.system.entry.js → p-3eba0ef4.system.entry.js} +1 -1
- package/lib/duet/{p-538e55e5.entry.js → p-417300dc.entry.js} +1 -1
- package/lib/duet/{p-d3b2d5de.system.entry.js → p-419c2f7d.system.entry.js} +1 -1
- package/lib/duet/{p-fda88cec.system.entry.js → p-42ab25f5.system.entry.js} +1 -1
- package/lib/duet/{p-013c9fff.entry.js → p-42e199a5.entry.js} +1 -1
- package/lib/duet/{p-b994aa71.system.entry.js → p-442cd997.system.entry.js} +1 -1
- package/lib/duet/{p-24898376.entry.js → p-466faf9e.entry.js} +1 -1
- package/lib/duet/p-4a67f962.entry.js +4 -0
- package/lib/duet/{p-948b038a.system.entry.js → p-4da60c16.system.entry.js} +1 -1
- package/lib/duet/{p-8b353b35.system.entry.js → p-4f8c34d8.system.entry.js} +1 -1
- package/lib/duet/{p-81e906ff.system.entry.js → p-52a04950.system.entry.js} +1 -1
- package/lib/duet/{p-5b86d3c0.entry.js → p-560c1d62.entry.js} +1 -1
- package/lib/duet/{p-05e3b483.system.entry.js → p-5715df68.system.entry.js} +1 -1
- package/lib/duet/{p-7c74b0a5.system.entry.js → p-57c54c6b.system.entry.js} +2 -2
- package/lib/duet/{p-b92193a6.system.entry.js → p-583bed26.system.entry.js} +1 -1
- package/lib/duet/{p-9b702bc1.system.entry.js → p-5a44810f.system.entry.js} +1 -1
- package/lib/duet/{p-9261386e.system.entry.js → p-5b3edba3.system.entry.js} +2 -2
- package/lib/duet/{p-f12a93a9.system.entry.js → p-5c1f23fb.system.entry.js} +1 -1
- package/lib/duet/{p-8beb97fe.system.entry.js → p-5c6462f5.system.entry.js} +1 -1
- package/lib/duet/{p-7b5c18ba.system.entry.js → p-5ef3fea9.system.entry.js} +1 -1
- package/lib/duet/{p-053ef6d1.system.entry.js → p-5ef95413.system.entry.js} +1 -1
- package/lib/duet/{p-8b2056f0.system.js → p-604c0163.system.js} +1 -1
- package/lib/duet/{p-3af95762.system.js → p-619c9d96.system.js} +1 -1
- package/lib/duet/{p-b86a869b.entry.js → p-6355cee3.entry.js} +1 -1
- package/lib/duet/{p-6365f418.system.entry.js → p-636f9d1d.system.entry.js} +1 -1
- package/lib/duet/{p-591ce092.entry.js → p-64345805.entry.js} +1 -1
- package/lib/duet/{p-426d835f.entry.js → p-644ed943.entry.js} +1 -1
- package/lib/duet/{p-7ff034b0.system.entry.js → p-64e4169d.system.entry.js} +2 -2
- package/lib/duet/{p-dd8cad8a.entry.js → p-66472ff9.entry.js} +1 -1
- package/lib/duet/{p-82cf9d43.entry.js → p-6699249f.entry.js} +1 -1
- package/lib/duet/{p-7e0e5b92.entry.js → p-67837d32.entry.js} +1 -1
- package/lib/duet/{p-580978f0.system.entry.js → p-6800f4a8.system.entry.js} +1 -1
- package/lib/duet/{p-f6c800dd.system.entry.js → p-6865c3ad.system.entry.js} +1 -1
- package/lib/duet/{p-caf28e68.system.entry.js → p-691cd3b2.system.entry.js} +1 -1
- package/lib/duet/{p-38487de7.system.entry.js → p-6ab3400e.system.entry.js} +1 -1
- package/lib/duet/{p-f36f2f4b.entry.js → p-6d384417.entry.js} +1 -1
- package/lib/duet/{p-72809aec.system.js → p-6f71d987.system.js} +1 -1
- package/lib/duet/{p-0121cfad.entry.js → p-6f7f6164.entry.js} +1 -1
- package/lib/duet/{p-519297ed.system.entry.js → p-6fb2114f.system.entry.js} +1 -1
- package/lib/duet/{p-fb4c1c0a.system.entry.js → p-759dc158.system.entry.js} +1 -1
- package/lib/duet/{p-af55cef5.entry.js → p-78ee75a3.entry.js} +1 -1
- package/lib/duet/{p-04dcf198.entry.js → p-79a0ae27.entry.js} +1 -1
- package/lib/duet/{p-94179cd5.system.entry.js → p-7a586e24.system.entry.js} +1 -1
- package/lib/duet/{p-204e76d3.entry.js → p-7a974bb3.entry.js} +1 -1
- package/lib/duet/{p-d1464455.system.entry.js → p-7cec26c0.system.entry.js} +1 -1
- package/lib/duet/{p-580d4d53.entry.js → p-7e12ea5d.entry.js} +1 -1
- package/lib/duet/{p-d0edb7b9.system.entry.js → p-7eb542cb.system.entry.js} +1 -1
- package/lib/duet/{p-936b8007.system.entry.js → p-802dabda.system.entry.js} +2 -2
- package/lib/duet/p-822babea.entry.js +4 -0
- package/lib/duet/{p-8c2bc346.system.entry.js → p-834c5688.system.entry.js} +1 -1
- package/lib/duet/{p-c35a3eb6.system.entry.js → p-8360e947.system.entry.js} +1 -1
- package/lib/duet/{p-955ccb5a.system.entry.js → p-84c8fa96.system.entry.js} +1 -1
- package/lib/duet/{p-430404c6.entry.js → p-85747aeb.entry.js} +1 -1
- package/lib/duet/{p-31f93fec.system.entry.js → p-8b84e7d1.system.entry.js} +1 -1
- package/lib/duet/{p-ea29ebbb.system.entry.js → p-8bc6d884.system.entry.js} +1 -1
- package/lib/duet/p-8cb0e6bd.js +4 -0
- package/lib/duet/{p-318498a5.entry.js → p-8d3ca486.entry.js} +1 -1
- package/lib/duet/{p-ddd70eeb.system.entry.js → p-928ad147.system.entry.js} +1 -1
- package/lib/duet/{p-df82459a.entry.js → p-94cb0a4d.entry.js} +1 -1
- package/lib/duet/p-95020901.js +5 -0
- package/lib/duet/{p-fb4f24c4.system.entry.js → p-9560ca18.system.entry.js} +1 -1
- package/lib/duet/p-95b4c987.system.js +4 -0
- package/lib/duet/{p-07f8adab.entry.js → p-9637810d.entry.js} +1 -1
- package/lib/duet/{p-d287e564.entry.js → p-9640580e.entry.js} +1 -1
- package/lib/duet/{p-6c6981db.system.entry.js → p-973ce37e.system.entry.js} +1 -1
- package/lib/duet/p-98c5e8a1.entry.js +4 -0
- package/lib/duet/{p-0fdf67d6.system.entry.js → p-9965e073.system.entry.js} +1 -1
- package/lib/duet/{p-fc4861d9.system.entry.js → p-9ae862fd.system.entry.js} +1 -1
- package/lib/duet/p-9cd2590a.entry.js +4 -0
- package/lib/duet/{p-618b1c12.entry.js → p-a2f7581b.entry.js} +1 -1
- package/lib/duet/{p-818fd2f6.entry.js → p-a3e89f27.entry.js} +1 -1
- package/lib/duet/{p-d98c8e4e.system.entry.js → p-a42257c5.system.entry.js} +1 -1
- package/lib/duet/{p-f248e320.system.entry.js → p-a6cf0ec6.system.entry.js} +1 -1
- package/lib/duet/{p-897f21a7.system.js → p-a777581b.system.js} +1 -1
- package/lib/duet/{p-8bed7caf.entry.js → p-a8094216.entry.js} +1 -1
- package/lib/duet/{p-44e4cc6f.entry.js → p-a82320be.entry.js} +1 -1
- package/lib/duet/p-a9028d0d.system.entry.js +4 -0
- package/lib/duet/{p-20b0dacc.system.entry.js → p-a9cb1a1c.system.entry.js} +1 -1
- package/lib/duet/{p-572bf138.entry.js → p-ab05fb0b.entry.js} +1 -1
- package/lib/duet/{p-827c2a0d.system.entry.js → p-ad1e8555.system.entry.js} +1 -1
- package/lib/duet/{p-6a689584.system.entry.js → p-b0fa3186.system.entry.js} +1 -1
- package/lib/duet/p-b1f33063.system.js +4 -0
- package/lib/duet/p-b201f9a1.entry.js +4 -0
- package/lib/duet/{p-1370b18f.entry.js → p-b550a913.entry.js} +1 -1
- package/lib/duet/{p-c613e449.system.entry.js → p-b58600dd.system.entry.js} +1 -1
- package/lib/duet/p-bb631281.system.entry.js +4 -0
- package/lib/duet/{p-9192b71d.system.entry.js → p-c02504cf.system.entry.js} +1 -1
- package/lib/duet/p-c0709af2.system.js +4 -0
- package/lib/duet/p-c15142f5.entry.js +4 -0
- package/lib/duet/{p-d2f008ef.entry.js → p-c501d02b.entry.js} +1 -1
- package/lib/duet/{p-f57f0b8c.entry.js → p-c52e55a7.entry.js} +1 -1
- package/lib/duet/p-c7b93da9.entry.js +4 -0
- package/lib/duet/{p-6d1f93c1.entry.js → p-c847be46.entry.js} +1 -1
- package/lib/duet/{p-d046f3f0.system.entry.js → p-c85ccca5.system.entry.js} +2 -2
- package/lib/duet/{p-cb5d825f.system.entry.js → p-ce22fae3.system.entry.js} +1 -1
- package/lib/duet/{p-3c466cd8.entry.js → p-ce3b6d30.entry.js} +1 -1
- package/lib/duet/{p-c1380dcb.system.entry.js → p-ceb10175.system.entry.js} +2 -2
- package/lib/duet/{p-b1db69df.entry.js → p-d38c3f99.entry.js} +1 -1
- package/lib/duet/{p-8acb2a04.entry.js → p-d5d810e3.entry.js} +1 -1
- package/lib/duet/p-d68b2e69.entry.js +4 -0
- package/lib/duet/{p-35950181.entry.js → p-d6f95f08.entry.js} +1 -1
- package/lib/duet/{p-f2f75690.entry.js → p-da05b632.entry.js} +1 -1
- package/lib/duet/{p-6270b097.entry.js → p-da245696.entry.js} +1 -1
- package/lib/duet/{p-eab15c94.system.entry.js → p-dae00c9e.system.entry.js} +1 -1
- package/lib/duet/{p-ee5c74bc.system.entry.js → p-db32bf8d.system.entry.js} +1 -1
- package/lib/duet/{p-cb15af71.entry.js → p-dbf45e6e.entry.js} +1 -1
- package/lib/duet/p-dc1bbd4a.entry.js +4 -0
- package/lib/duet/{p-0dcc1a8b.system.entry.js → p-dce091f0.system.entry.js} +1 -1
- package/lib/duet/p-defffdba.entry.js +4 -0
- package/lib/duet/p-e0fd88f6.system.entry.js +4 -0
- package/lib/duet/{p-759dca5c.system.entry.js → p-e1044629.system.entry.js} +1 -1
- package/lib/duet/{p-8594d015.system.entry.js → p-e2b8bf66.system.entry.js} +1 -1
- package/lib/duet/{p-68ab87cc.entry.js → p-e324d239.entry.js} +1 -1
- package/lib/duet/p-e3d07bc5.entry.js +4 -0
- package/lib/duet/p-e61d5b18.entry.js +4 -0
- package/lib/duet/p-e62b1dce.js +4 -0
- package/lib/duet/{p-04b258fd.entry.js → p-e773ef6f.entry.js} +1 -1
- package/lib/duet/p-e8cddd7e.system.entry.js +4 -0
- package/lib/duet/{p-12b625a8.entry.js → p-ea48ed7c.entry.js} +1 -1
- package/lib/duet/{p-78b02eb3.system.entry.js → p-ea555470.system.entry.js} +1 -1
- package/lib/duet/{p-32ef55ff.system.entry.js → p-eb56df32.system.entry.js} +2 -2
- package/lib/duet/{p-9db6f107.system.entry.js → p-ebd74504.system.entry.js} +1 -1
- package/lib/duet/{p-420817c5.system.entry.js → p-eed5a31c.system.entry.js} +1 -1
- package/lib/duet/p-f24b08b0.entry.js +4 -0
- package/lib/duet/{p-1428de02.entry.js → p-f325a273.entry.js} +1 -1
- package/lib/duet/{p-74f81150.entry.js → p-f3a1ae8c.entry.js} +1 -1
- package/lib/duet/{p-c936b330.system.entry.js → p-f3ccef8a.system.entry.js} +1 -1
- package/lib/duet/{p-b9231b8e.entry.js → p-fd2afc4b.entry.js} +1 -1
- package/lib/duet/{p-a1c6f370.entry.js → p-ff6fefe1.entry.js} +1 -1
- package/lib/duet/{p-5baa6a33.js → p-ff8513b0.js} +1 -1
- package/lib/esm/{a11y-utils-d3187c9b.js → a11y-utils-164dbfa3.js} +1 -1
- package/lib/esm/{app-globals-aa323b86.js → app-globals-ae08927b.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +16 -16
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +9 -9
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +30 -13
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +8 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +7 -6
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- 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 +7 -7
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- 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 +9 -3
- package/lib/esm/duet-layout.entry.js +7 -7
- 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 +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- 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 +4 -4
- package/lib/esm/duet-modal.entry.js +12 -12
- package/lib/esm/duet-multiselect.entry.js +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- 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 +15 -15
- package/lib/esm/duet-phone-input.entry.js +9 -3
- package/lib/esm/duet-popup-menu_2.entry.js +20 -9
- 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 +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +28 -26
- package/lib/esm/duet-section-layout.entry.js +4 -4
- 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 +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- 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 +9 -9
- package/lib/esm/duet-status-icon.entry.js +8 -8
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- 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 +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- 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 +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- 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-2a62c871.js → errorcodes.utils-9f14b707.js} +1 -1
- package/lib/esm/{focus-utils-27172227.js → focus-utils-abef2c27.js} +1 -1
- package/lib/esm/{index-2ab7ff5a.js → index-4a2cda26.js} +6 -6
- package/lib/esm/{language-utils-579bbfe7.js → language-utils-84825af4.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-2fa37472.js → slot-utils-b8ef3101.js} +1 -1
- package/lib/esm/{teleport-546f382d.js → teleport-aa27d5f9.js} +2 -2
- package/lib/esm-es5/{a11y-utils-d3187c9b.js → a11y-utils-164dbfa3.js} +1 -1
- package/lib/esm-es5/{app-globals-aa323b86.js → app-globals-ae08927b.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +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 +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-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 +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-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 +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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-2a62c871.js → errorcodes.utils-9f14b707.js} +1 -1
- package/lib/esm-es5/{focus-utils-27172227.js → focus-utils-abef2c27.js} +1 -1
- package/lib/esm-es5/index-4a2cda26.js +4 -0
- package/lib/esm-es5/{language-utils-579bbfe7.js → language-utils-84825af4.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-2fa37472.js → slot-utils-b8ef3101.js} +1 -1
- package/lib/esm-es5/teleport-aa27d5f9.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +13 -5
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
- package/lib/types/components/duet-input/duet-input.d.ts +4 -0
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +2 -1
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +4 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +2 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +5 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
- package/lib/types/components.d.ts +66 -10
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-9fda1d1d.js +0 -205
- package/lib/duet/p-0ac49d24.entry.js +0 -4
- package/lib/duet/p-0f99e898.entry.js +0 -4
- package/lib/duet/p-1219c4af.system.js +0 -4
- package/lib/duet/p-12b57efb.entry.js +0 -4
- package/lib/duet/p-14fe190e.system.js +0 -5
- package/lib/duet/p-1a73d27a.entry.js +0 -4
- package/lib/duet/p-1b269e8b.system.entry.js +0 -4
- package/lib/duet/p-2100fda2.system.entry.js +0 -4
- package/lib/duet/p-277c4782.entry.js +0 -4
- package/lib/duet/p-2f8ffc2b.system.entry.js +0 -4
- package/lib/duet/p-336da573.entry.js +0 -4
- package/lib/duet/p-38ff8286.js +0 -4
- package/lib/duet/p-3acc8647.system.js +0 -4
- package/lib/duet/p-43cbc2bf.entry.js +0 -4
- package/lib/duet/p-43f0aaf5.entry.js +0 -4
- package/lib/duet/p-4670cbd2.entry.js +0 -4
- package/lib/duet/p-530e612b.js +0 -4
- package/lib/duet/p-5c3998b7.entry.js +0 -4
- package/lib/duet/p-5e0bfce0.entry.js +0 -4
- package/lib/duet/p-5ff9214f.entry.js +0 -4
- package/lib/duet/p-7d396a31.entry.js +0 -4
- package/lib/duet/p-85c02068.entry.js +0 -4
- package/lib/duet/p-88f046a0.entry.js +0 -4
- package/lib/duet/p-98012c62.entry.js +0 -4
- package/lib/duet/p-a5fac26c.entry.js +0 -4
- package/lib/duet/p-aada68bf.entry.js +0 -4
- package/lib/duet/p-bf039477.system.entry.js +0 -4
- package/lib/duet/p-c46cff2a.system.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-d693003b.entry.js +0 -4
- package/lib/duet/p-ecb2aca6.js +0 -5
- package/lib/duet/p-ed82b53d.system.entry.js +0 -4
- package/lib/duet/p-f6b21d17.system.js +0 -4
- package/lib/esm-es5/index-2ab7ff5a.js +0 -4
- package/lib/esm-es5/teleport-546f382d.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -479,7 +479,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
var parseClassListRegex = /\s/;
|
|
482
|
-
var parseClassList=
|
|
482
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
483
483
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
484
484
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
485
485
|
|
|
@@ -3805,7 +3805,7 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
|
|
|
3805
3805
|
}
|
|
3806
3806
|
};
|
|
3807
3807
|
|
|
3808
|
-
const duetAlertCss = "*,*::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;width:100%;max-height:999px;
|
|
3808
|
+
const duetAlertCss = "*,*::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;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing: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-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229);border-radius:0}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 72px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:flex-start;width:100%;margin:0 auto !important}.duet-alert-container .duet-alert-content{flex-grow:1;line-height:1.5}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{position:relative;top:2px;display:inline-block;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander .expanding-title{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}";
|
|
3809
3809
|
var DuetAlertStyle0 = duetAlertCss;
|
|
3810
3810
|
|
|
3811
3811
|
/**
|
|
@@ -3819,12 +3819,6 @@ class DuetAlert {
|
|
|
3819
3819
|
this.duetCloseComplete = createEvent$2(this, "duetCloseComplete", 7);
|
|
3820
3820
|
this.descriptiveId = createID("DuetAlert");
|
|
3821
3821
|
this.hasShowMoreSlot = false;
|
|
3822
|
-
this.iconVariationMap = {
|
|
3823
|
-
default: "messaging-info",
|
|
3824
|
-
success: "messaging-success",
|
|
3825
|
-
warning: "messaging-alert",
|
|
3826
|
-
danger: "messaging-danger-alert",
|
|
3827
|
-
};
|
|
3828
3822
|
this.handleDismiss = (ev) => {
|
|
3829
3823
|
this.handleHide();
|
|
3830
3824
|
this.duetDismiss.emit({
|
|
@@ -3839,8 +3833,12 @@ class DuetAlert {
|
|
|
3839
3833
|
this.isDismissed = true;
|
|
3840
3834
|
this.element.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
|
|
3841
3835
|
};
|
|
3836
|
+
this.handleExpandToggle = () => {
|
|
3837
|
+
this.isExpanded = !this.isExpanded;
|
|
3838
|
+
};
|
|
3842
3839
|
this.theme = "";
|
|
3843
3840
|
this.isDismissed = false;
|
|
3841
|
+
this.isExpanded = false;
|
|
3844
3842
|
this.timeoutID = undefined;
|
|
3845
3843
|
this.accessibleLabelDefaults = {
|
|
3846
3844
|
fi: "Painike viestin sulkemiseen",
|
|
@@ -3857,6 +3855,7 @@ class DuetAlert {
|
|
|
3857
3855
|
this.position = "content";
|
|
3858
3856
|
this.dismissible = false;
|
|
3859
3857
|
this.focusable = false;
|
|
3858
|
+
this.expandingTitle = "";
|
|
3860
3859
|
}
|
|
3861
3860
|
/**
|
|
3862
3861
|
* Component lifecycle events.
|
|
@@ -3912,19 +3911,20 @@ class DuetAlert {
|
|
|
3912
3911
|
* Always the last one in the class.
|
|
3913
3912
|
*/
|
|
3914
3913
|
render() {
|
|
3915
|
-
|
|
3916
|
-
return (hAsync(Host, { key: 'd3c53bc46ae4d9f94d286a8ca55a1891afaec2d1', class: {
|
|
3914
|
+
return (hAsync(Host, { key: 'ae55751444a59a0630329e55f88711761506aa5f', class: {
|
|
3917
3915
|
"duet-theme-turva": this.theme === "turva",
|
|
3918
3916
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
3919
|
-
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: '
|
|
3917
|
+
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: '03074d2258592e0ffa63f933f291667050116d87', class: {
|
|
3920
3918
|
"duet-alert-wrapper": true,
|
|
3921
3919
|
"duet-p-0": this.padding === "none",
|
|
3922
3920
|
"duet-m-0": this.margin === "none",
|
|
3923
3921
|
[this.variation]: true,
|
|
3924
3922
|
[this.position]: true,
|
|
3925
3923
|
"duet-theme-turva": this.theme === "turva",
|
|
3926
|
-
} }, hAsync("div", { key: '
|
|
3924
|
+
} }, hAsync("div", { key: '8a8ba0be00f76fc59c9e6f800ab5e7187c1708d9', class: {
|
|
3927
3925
|
"duet-alert": true,
|
|
3926
|
+
"duet-alert-expandable": !!this.expandingTitle,
|
|
3927
|
+
"duet-alert-expanded": this.isExpanded,
|
|
3928
3928
|
"duet-alert-has-icon": !!this.icon || this.position === "below-nav",
|
|
3929
3929
|
"duet-alert-has-show-more": this.hasShowMoreSlot,
|
|
3930
3930
|
"duet-alert-is-dismissible": this.dismissible,
|
|
@@ -3932,9 +3932,9 @@ class DuetAlert {
|
|
|
3932
3932
|
"duet-m-0": this.margin === "none",
|
|
3933
3933
|
[this.variation]: true,
|
|
3934
3934
|
"duet-theme-turva": this.theme === "turva",
|
|
3935
|
-
} }, hAsync("div", { key: '
|
|
3935
|
+
} }, hAsync("div", { key: '7ea557b2dbf25762a9382fb05a562dd92ba94a0d', class: "duet-alert-container", ref: element => {
|
|
3936
3936
|
this.alertContainer = element;
|
|
3937
|
-
}, tabindex: this.focusable ? "0" : undefined }, this.
|
|
3937
|
+
}, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (hAsync("div", { key: '8e1ffa6107c2cd63f831bdfa0d80fdc0565bdfc1', class: "duet-alert-icon" }, (this.icon && hAsync("duet-icon", { key: '0e2cddc6680f121ac6837f426c135d94fec8fd4f', size: "auto", name: this.icon, color: "currentColor" })) || (hAsync("duet-status-icon", { key: '22400d9ead5d0d2153077460773ac2dc3b60b0ec', strong: true, variation: this.variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (hAsync("div", { key: '5b40ce74518e3cd6d0bb90d925578b1b8118ca82', class: "duet-alert-icon below-nav" }, hAsync("duet-status-icon", { key: '2be267d6749de5f4ba1694b82c2117b2553834e3', strong: true, variation: this.variation, margin: "none", size: "auto" }))), hAsync("div", { key: 'b806ffa20525c37ea87b4e57b5354181fa4cb8ea', class: "duet-alert-content", id: this.descriptiveId }, this.expandingTitle && (hAsync("button", { key: '04956e8168dbd2e3dc200b0c0a4ccd5da3290f2a', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, hAsync("span", { key: '63ae4a87fbe7e728c81183def7afdf108588f83e', class: "expanding-title" }, this.expandingTitle), hAsync("duet-icon", { key: 'fb34541b1a576e13e5505e38a944b03a4799a0cf', name: "action-arrow-down", color: this.variation === "default" ? "lt-blue-800" : `${this.variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (hAsync("div", { key: '05754aa30c0d0f9062047c766c0a1151b4599a26', id: `${this.descriptiveId}-content` }, hAsync("slot", { key: '213940d0f233bd4762584448579ad48477d564dd' }))))), this.hasShowMoreSlot && (hAsync("duet-show-more", { key: '328837aa4a239bdad2e1a63811ccf64d818863b1', margin: "none", class: "duet-alert-show-more" }, hAsync("slot", { key: '6200788cc7facca8507701008dfdb22d5034a974', name: "show-more" }))), this.dismissible && !this.expandingTitle && (hAsync("div", { key: '0302d1c6d386bdca47034e4e08f694d6dcd64149', class: "duet-alert-dismiss" }, hAsync("duet-button", { key: '73c78cce1ec34e97b139d267d7efd56d231a8a95', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: this.variation === "default" ? "lt-blue-800" : `${this.variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
|
|
3938
3938
|
}
|
|
3939
3939
|
get element() { return getElement(this); }
|
|
3940
3940
|
static get style() { return DuetAlertStyle0; }
|
|
@@ -3954,7 +3954,9 @@ class DuetAlert {
|
|
|
3954
3954
|
"position": [1],
|
|
3955
3955
|
"dismissible": [4],
|
|
3956
3956
|
"focusable": [4],
|
|
3957
|
+
"expandingTitle": [1, "expanding-title"],
|
|
3957
3958
|
"isDismissed": [32],
|
|
3959
|
+
"isExpanded": [32],
|
|
3958
3960
|
"timeoutID": [32],
|
|
3959
3961
|
"show": [64],
|
|
3960
3962
|
"hide": [64],
|
|
@@ -3989,12 +3991,12 @@ class DuetBadge {
|
|
|
3989
3991
|
*/
|
|
3990
3992
|
render() {
|
|
3991
3993
|
const backgroundClass = `background-${this.background}`;
|
|
3992
|
-
return (hAsync(Host, { key: '
|
|
3994
|
+
return (hAsync(Host, { key: '9623fc33248326ca42a44f8ffd8d61ab48c21af5', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '639c1fcb5564297151bb401e3289344702c1f25e', class: {
|
|
3993
3995
|
"duet-badge": true,
|
|
3994
3996
|
[this.variation]: true,
|
|
3995
3997
|
[backgroundClass]: true,
|
|
3996
3998
|
"duet-theme-turva": this.theme === "turva",
|
|
3997
|
-
} }, hAsync("slot", { key: '
|
|
3999
|
+
} }, hAsync("slot", { key: '7c6daca7a06dde1cd98dfd61c4eecdd59ee011e8' }))));
|
|
3998
4000
|
}
|
|
3999
4001
|
get element() { return getElement(this); }
|
|
4000
4002
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4108,14 +4110,14 @@ class DuetBanner {
|
|
|
4108
4110
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
4109
4111
|
sources: parsePossibleJSON(this.sources),
|
|
4110
4112
|
};
|
|
4111
|
-
return (hAsync(Host, { key: '
|
|
4113
|
+
return (hAsync(Host, { key: '0af3739adf8f70478714148e8c932e6c26034be1', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '912afc7d42b05ef67242da0d0038e7b1892e420c', class: {
|
|
4112
4114
|
"duet-banner": true,
|
|
4113
4115
|
"duet-theme-turva": this.theme === "turva",
|
|
4114
4116
|
[this.currentSize]: true,
|
|
4115
4117
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
4116
4118
|
"size-large": this.size === "large",
|
|
4117
4119
|
"no-image": !this.image,
|
|
4118
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
4120
|
+
}, style: bannerStyles }, hAsync("div", { key: '4213a9062ef79c32430faf2230b896cdcf686fab', class: "visual" }, hAsync("div", { key: '28cc855a769f28823c4501268ac578dc00d177be', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: 'ef1257956d87c2dd2e40a309d784cf92680ff193' }, pictureSource))), 1 > 2 , hAsync("div", { key: 'c21b74c5b8af201787e8c502cab1fe5e7c6f11d5', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '8f2a9fa44b18a35442b056f6d52d73a3804dc536', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: '7003386020f8944006ea5c7f8479aef1908f4773', class: "heading" }, hAsync("duet-heading", { key: '3bb18ccbae1989efaaf587de4985e01aa50db691', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, hAsync("span", { key: 'b32d9f049c16b5521ad96d823c6d2325c6a80b98' }, hAsync("slot", { key: '83c445eca1d63aa91847fbe090eb8afdaec130d7', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '2a885bb4ddd277b9a56e00addc82784c469dcdfa', class: "description", style: { color } }, hAsync("slot", { key: 'f79f7fdb5137692c0ffa3fa2dd6044f9f5a1f799', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: '21306ab0e66e7a6c5830df04387c89af2b01cfe8', class: "action" }, hAsync("slot", { key: '7f9c1b80831ae7e2baa3e89ff91bd2802b4c4fb9', name: "action" })))))));
|
|
4119
4121
|
}
|
|
4120
4122
|
get element() { return getElement(this); }
|
|
4121
4123
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -4184,14 +4186,14 @@ class DuetBreadcrumb {
|
|
|
4184
4186
|
*/
|
|
4185
4187
|
render() {
|
|
4186
4188
|
var _a;
|
|
4187
|
-
return (hAsync(Host, { key: '
|
|
4189
|
+
return (hAsync(Host, { key: 'fb8525d8da1761cf7ec289bf2ebcdab006edcbaa', role: "listitem" }, hAsync("div", { key: 'a2a3cf5e15c5ccb962c0da35ae1c4b9efab68590', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'bbf4f84cae4467ae42f85af283947d23f8649a64', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: 'e89ba01440a8d69033de4710b1c943c211c07e5e', class: {
|
|
4188
4190
|
"duet-breadcrumb": true,
|
|
4189
4191
|
"duet-theme-turva": this.theme === "turva",
|
|
4190
4192
|
}, 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" &&
|
|
4191
4193
|
this.icon && [
|
|
4192
|
-
hAsync("duet-icon", { key: '
|
|
4193
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4194
|
-
], hAsync("slot", { key: '
|
|
4194
|
+
hAsync("duet-icon", { key: '93d11f8f8eb831623d0157b205ed0b0745804ccb', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4195
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'fe74c144a1765dd1fe1de6d463892fa7470651fe', size: "x-small", direction: "horizontal" }),
|
|
4196
|
+
], hAsync("slot", { key: '5ad471b0521af2799e4ac7a5934d02e77e6be8d5' })))));
|
|
4195
4197
|
}
|
|
4196
4198
|
get element() { return getElement(this); }
|
|
4197
4199
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4252,11 +4254,11 @@ class DuetBreadcrumbs {
|
|
|
4252
4254
|
*/
|
|
4253
4255
|
render() {
|
|
4254
4256
|
const color = getColorByName(this.color);
|
|
4255
|
-
return (hAsync(Host, { key: '
|
|
4257
|
+
return (hAsync(Host, { key: 'e40c7f2324bab83282f93d08c7543a6fbda0cd62' }, hAsync("nav", { key: 'f399d4b1f69708cefacb29ea6360cd6dfabc0c28', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4256
4258
|
"duet-breadcrumbs": true,
|
|
4257
4259
|
"duet-theme-turva": this.theme === "turva",
|
|
4258
4260
|
[this.variation]: true,
|
|
4259
|
-
} }, hAsync("div", { key: '
|
|
4261
|
+
} }, hAsync("div", { key: 'ce6966271f4abef55194c0a47a3b4a0b7ceb652f', class: "container" }, hAsync("div", { key: 'd6ddbc6527ff4de43ab048479a66959ce6a79f77', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '7e18d5f338e0313e997f6796208328fa841649f6' })), hAsync("div", { key: 'c2cd24eb1795af2aad5b56a9497a579346b3e4c9', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '97fc1ae51d8e3d2063d79f07b875920725bb5e1e', class: "bottom-border bottom-border--nav" }))));
|
|
4260
4262
|
}
|
|
4261
4263
|
get element() { return getElement(this); }
|
|
4262
4264
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4472,12 +4474,12 @@ class DuetButton {
|
|
|
4472
4474
|
// enforce consistency for external links
|
|
4473
4475
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4474
4476
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4475
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4477
|
+
const commonChildren = (hAsync("span", { key: '6df4a72f66f9fd4ae02883ad8ab231bf6b20f6a6', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '690ebfa2995cd90691f4fc4e2e5deb62f89b5e29', "aria-hidden": "true", class: {
|
|
4476
4478
|
"duet-button-icon": true,
|
|
4477
4479
|
left: !iconRight,
|
|
4478
4480
|
right: iconRight,
|
|
4479
4481
|
[this.getButtonIconSize()]: true,
|
|
4480
|
-
} }, hAsync("duet-icon", { key: '
|
|
4482
|
+
} }, hAsync("duet-icon", { key: 'c6e2fc503c4a4f104a0b7d1508342ecac6f0db32', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: 'edbff7f759d1b849b74a736e6ef6a99294d44289', class: "duet-button-contents-slot" }, hAsync("slot", { key: '4379b5ff8076f808776bcf763c59a39d51b7b569' }))));
|
|
4481
4483
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4482
4484
|
const commonProps = {
|
|
4483
4485
|
onFocus: this.onFocus,
|
|
@@ -4512,7 +4514,7 @@ class DuetButton {
|
|
|
4512
4514
|
"aria-details": this.accessibleDetails,
|
|
4513
4515
|
"aria-description": this.accessibleDescription,
|
|
4514
4516
|
};
|
|
4515
|
-
return (hAsync(Host, { key: '
|
|
4517
|
+
return (hAsync(Host, { key: '1d74b0a85872e849c86b8a3ffe589d4a443c72ca', class: {
|
|
4516
4518
|
"duet-m-0": this.margin === "none",
|
|
4517
4519
|
"duet-small": this.size === "small",
|
|
4518
4520
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4520,13 +4522,13 @@ class DuetButton {
|
|
|
4520
4522
|
"duet-expand": this.expand,
|
|
4521
4523
|
[this.variation]: true,
|
|
4522
4524
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4523
|
-
} }, hAsync("span", { key: '
|
|
4525
|
+
} }, hAsync("span", { key: '744d6dacf5f2d588382d024d36d0cbc1b2236929', onClick: this.handleClick, class: {
|
|
4524
4526
|
"duet-button-container": true,
|
|
4525
4527
|
"duet-button-is-loading": this.loading,
|
|
4526
4528
|
"duet-theme-turva": this.theme === "turva",
|
|
4527
4529
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4528
4530
|
[this.variation]: true,
|
|
4529
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
4531
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '902914bbba7d1a08b8f028d8a6235dc84f9ae0f7', color: "currentColor" })), hAsync("slot", { key: 'e5a8158694af4cebd82e33faf28e6214be2823de', name: "proxybutton" })));
|
|
4530
4532
|
}
|
|
4531
4533
|
get element() { return getElement(this); }
|
|
4532
4534
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4613,11 +4615,11 @@ class DuetCallout {
|
|
|
4613
4615
|
<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"/>
|
|
4614
4616
|
</svg>
|
|
4615
4617
|
`;
|
|
4616
|
-
return (hAsync(Host, { key: '
|
|
4618
|
+
return (hAsync(Host, { key: '6ff31c274248d365aca970c4e45121be580da7af' }, hAsync("div", { key: '322bdf154b041ab1ec721021f668e52371fee91f', class: {
|
|
4617
4619
|
"duet-callout": true,
|
|
4618
4620
|
"duet-theme-turva": this.theme === "turva",
|
|
4619
4621
|
"duet-m-0": this.margin === "none",
|
|
4620
|
-
} }, hAsync("figure", { key: '
|
|
4622
|
+
} }, hAsync("figure", { key: '40790b7c44b4ee3a34a71d6ef0beb37b6fd6a4d2', class: "container" }, hAsync("duet-icon", { key: 'bb56fef27123e9067f797d2cda9efad69cbbceb5', 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: 'f8c76a1ea16947bafb7831897f8f07fb45112668' }, hAsync("slot", { key: '513d3b47def761dfd445d5d0302266b8dbbeb0fd' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'b10664d604f41b24b0665e4c408408b2bc55c3fc', class: "author" }, hAsync("span", { key: '080d91a9e3496544dbcdec79aa4d5ea0f5736f32' }, "\u2014 "), hAsync("slot", { key: 'b6f21e38600829d5cae75b6f1987796abb0dbd16', name: "author" })))))));
|
|
4621
4623
|
}
|
|
4622
4624
|
get element() { return getElement(this); }
|
|
4623
4625
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4656,13 +4658,13 @@ class DuetCaption {
|
|
|
4656
4658
|
* Always the last one in the class.
|
|
4657
4659
|
*/
|
|
4658
4660
|
render() {
|
|
4659
|
-
return (hAsync(Host, { key: '
|
|
4661
|
+
return (hAsync(Host, { key: '46c245b72ac2d6f4641a58e56dccecdce8421151', class: {
|
|
4660
4662
|
"duet-caption": true,
|
|
4661
4663
|
"duet-caption-selected": this.selected,
|
|
4662
4664
|
"duet-caption-small": this.size === "small",
|
|
4663
4665
|
"duet-theme-turva": this.theme === "turva",
|
|
4664
4666
|
"duet-m-0": this.margin === "none",
|
|
4665
|
-
} }, hAsync("slot", { key: '
|
|
4667
|
+
} }, hAsync("slot", { key: '56d458c5573dda5e0b8f6ec7d376a9eb327e0628' })));
|
|
4666
4668
|
}
|
|
4667
4669
|
get element() { return getElement(this); }
|
|
4668
4670
|
static get style() { return DuetCaptionStyle0; }
|
|
@@ -4780,10 +4782,10 @@ class DuetCard {
|
|
|
4780
4782
|
const styles = {
|
|
4781
4783
|
backgroundColor: getColorByName(this.background),
|
|
4782
4784
|
};
|
|
4783
|
-
return (hAsync(Host, { key: '
|
|
4785
|
+
return (hAsync(Host, { key: '00c59be2ab7c40755629602f9e85ea64ab612158', class: {
|
|
4784
4786
|
"duet-m-0": this.margin === "none",
|
|
4785
4787
|
"duet-card-info": this.variation === "info",
|
|
4786
|
-
} }, hAsync(TagName, { key: '
|
|
4788
|
+
} }, hAsync(TagName, { key: '8578ca3d024c5846a36cac0e767622b7eaabcb88', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
4787
4789
|
"duet-card": true,
|
|
4788
4790
|
[this.padding]: true,
|
|
4789
4791
|
[this.variation]: true,
|
|
@@ -4793,7 +4795,7 @@ class DuetCard {
|
|
|
4793
4795
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
4794
4796
|
"duet-card-has-icon": !!this.icon,
|
|
4795
4797
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
4796
|
-
} }, this.image && (hAsync("div", { key: '
|
|
4798
|
+
} }, this.image && (hAsync("div", { key: '2609ba055ac602c074c2a545688284f99afc3105', class: "duet-card-image-mask" }, hAsync("img", { key: '59572ec1bd938cb3fb54d511031d170980129026', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), hAsync("div", { key: 'ae06ad0ca9a5828a10dfcf8aa54aa44967acd203', class: "duet-card-content", id: this.cardId }, hAsync("slot", { key: '751c8dd97e06452610214c242a67843d86e0e8f8' }), this.hasFooter && (hAsync("div", { key: '5fc1bc24f217f51984ffa8fb82b05a8022a1bc13', class: "duet-card-footer" }, hAsync("slot", { key: '3225e28c9fae8e9a7d712ec2f7edca2848c81bac', name: "footer" })))))));
|
|
4797
4799
|
}
|
|
4798
4800
|
get element() { return getElement(this); }
|
|
4799
4801
|
static get style() { return DuetCardStyle0; }
|
|
@@ -4980,11 +4982,11 @@ class DuetCheckmark {
|
|
|
4980
4982
|
inheritGlobalTheme(this);
|
|
4981
4983
|
}
|
|
4982
4984
|
render() {
|
|
4983
|
-
return (hAsync(Host, { key: '
|
|
4985
|
+
return (hAsync(Host, { key: '265d69c7fac47ab340e1bce60afeecacfad74b6a', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '450d7b7f3fcc4e48c25b138b2faa1c948a1c3bea', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'cbc25ccaf46a53ec786f3fa24eeed574666d93cc', class: {
|
|
4984
4986
|
"duet-checkmark-container": true,
|
|
4985
4987
|
center: this.center,
|
|
4986
4988
|
"duet-checkmark-radio": this.type === "radio",
|
|
4987
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4989
|
+
} }, this.checked && hAsync("div", { key: '034ea9806dbba29937fdf57e3fba5f1ff5130160', class: "duet-checkmark" })))));
|
|
4988
4990
|
}
|
|
4989
4991
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4990
4992
|
static get cmpMeta() { return {
|
|
@@ -5308,7 +5310,7 @@ class DuetChip {
|
|
|
5308
5310
|
onBlur: this.onBlur,
|
|
5309
5311
|
ref: el => (this.focusableElement = el),
|
|
5310
5312
|
};
|
|
5311
|
-
return (hAsync(Host, { key: '
|
|
5313
|
+
return (hAsync(Host, { key: '7be8a97618afcc5aa95a73b6999cbd21a9efe66d', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: '20a79f42019bb5456940c408f16cfe4398ce752b', class: classes }, hAsync("button", Object.assign({ key: '0da848870e5d364e5a0c96286863abb8846f3b43', 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: '65963c49ac15e31be9e6c155d713895011247c75', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '6bdaf78c4129a2e195b2c8d8615fbc030892b35f', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '115c67252b400a3796064d80b48c940f5db630f6' })))), this.variation === "input" && (hAsync("span", { key: 'f88e9e882256e176835645274c7f3ad5feeb43f4', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '8966730749b28a27a8d9c3ad0cc5384d7365a224', 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: '0c5090f2ae94e37ca202aecfdd26793617d96fcb', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '296fc12572a339b123691ad64e5140187bc8ce6f', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '52de610f0eef8aaf1fc353e4832460823b3483b9' })), hAsync("button", { key: '863d5afcb642ad16aea0567cf6043106231e7947', 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: 'bccf50bd40c6e81cb150f8667065b2951b592aa5', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'd4d7899b9a4398b11426408014e383041393a0cf', class: classes }, hAsync("input", Object.assign({ key: 'b0ba6a4dbe7b1539188e433a26bfd8610619e4c5', "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: '8facc59cf10af72eec36071be9ae95556591d1cf', htmlFor: identifier }, this.icon && (hAsync("span", { key: '91f1eac1be716140991470852ed8a0844f2b9cec', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '27053a7b32e80be22bcc07e6b59f224cd3c6cc6d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '912f00ad9abb15c939e0ab857b89ae94252335c7', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '549f86327697adc292e4ea26d3c5b582b5b19509' }), this.popupElement && (hAsync("span", { key: 'e6f6c8d0996bbfa904d27deeec7e3c51ce2f4a6d', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: 'b0e8c8db27bb4f226c36d84c1cfe5b9d09da4b54', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: 'a7810754fc8da2acf0e7c1509202f358b5b01589', class: classes }, hAsync("slot", { key: '282c8898695898de513270a8e885762aa0ddab6b', name: "input" }), hAsync("label", { key: 'e5563a86a6e3f9d948a0edaded7230f2eb99410d', htmlFor: identifier }, this.icon && (hAsync("span", { key: '606119672d3bcb9d2db6d7650ed4009a241588e7', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '1dfd234360874e73c5b7b6cdef3893909db3a529', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '81134c606d6e65e10af40eb97d708c4591f31ff6', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '2a3b27a04ab0e0d14a65cd3aef6ea4bcee9e5367' }))))));
|
|
5312
5314
|
}
|
|
5313
5315
|
get element() { return getElement(this); }
|
|
5314
5316
|
static get watchers() { return {
|
|
@@ -5554,7 +5556,7 @@ class DuetChoice {
|
|
|
5554
5556
|
if (this.accessibleDescribedBy) {
|
|
5555
5557
|
return this.accessibleDescribedBy;
|
|
5556
5558
|
}
|
|
5557
|
-
if (this.collapsible || this.hasInfo) {
|
|
5559
|
+
if ((this.collapsible || this.hasInfo) && this.getExpanded()) {
|
|
5558
5560
|
if (this.hasHeader) {
|
|
5559
5561
|
return this.headerId;
|
|
5560
5562
|
}
|
|
@@ -6678,7 +6680,7 @@ class DuetCollapsible {
|
|
|
6678
6680
|
*/
|
|
6679
6681
|
render() {
|
|
6680
6682
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6681
|
-
return (hAsync(Host, { key: '
|
|
6683
|
+
return (hAsync(Host, { key: '635e0fbe69079d10e22ad538aa801af89c4cde51', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '21b389ec1a302511cf0d06887dda85b929e60cf6' }, hAsync("button", { key: 'ae26817023a1fd98f2f499452ae013e1e0625839', class: {
|
|
6682
6684
|
"duet-collapsible-heading": true,
|
|
6683
6685
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6684
6686
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -6686,7 +6688,7 @@ class DuetCollapsible {
|
|
|
6686
6688
|
"has-after-heading": this.hasAfterHeading,
|
|
6687
6689
|
"full-width": this.headingFullWidth,
|
|
6688
6690
|
"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: '
|
|
6691
|
+
}, 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: 'f6a80e26d50292e133d2e0cfc963102d12f83acf', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: 'b3a38601ed2de77a2a1c3b2235494c6b91f546ff', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '2f66e1bdfa846ae83fd953fc6558f69491930ca2', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '6a501a3c2a7db57fd374274990a19dd39909c536', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: 'd71fd226576c7e177732289ecf57f0f0ef382ada', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'c845fa7c1d90a10810db86cead6b17b2314c1175', name: "after-heading" })))), this.caption && (hAsync("div", { key: 'f12be1abf64e46a18b6bf128ad1bd0b2594d694b', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '4d13deac84f03a1349e73c7e3bb079a2760822d1', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '75020eebce7bcb86e8617c38c11a6fc15b57f7f8', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '2e06b159d1dcc2c3ecbde2ade71464ceb6604d5e' }))));
|
|
6690
6692
|
}
|
|
6691
6693
|
get element() { return getElement(this); }
|
|
6692
6694
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -6726,6 +6728,7 @@ class DuetCombobox {
|
|
|
6726
6728
|
this.inputId = createID("duet-combobox-input-id");
|
|
6727
6729
|
this.activeDescendantId = createID("duet-combobox-active-descendant");
|
|
6728
6730
|
this.isAndroidDevice = ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.indexOf("android")) > -1 || null;
|
|
6731
|
+
this.isInsideModal = false;
|
|
6729
6732
|
this.resizeObserver = new ResizeObserver(debounce(entries => {
|
|
6730
6733
|
var _a, _b, _c;
|
|
6731
6734
|
// otherwise, something is wrong, expecting 1 element only
|
|
@@ -6972,6 +6975,9 @@ class DuetCombobox {
|
|
|
6972
6975
|
* Component lifecycle events.
|
|
6973
6976
|
*/
|
|
6974
6977
|
componentWillLoad() {
|
|
6978
|
+
if (this.element.closest("duet-modal")) {
|
|
6979
|
+
this.isInsideModal = true;
|
|
6980
|
+
}
|
|
6975
6981
|
inheritGlobalTheme(this);
|
|
6976
6982
|
}
|
|
6977
6983
|
connectedCallback() {
|
|
@@ -7305,10 +7311,10 @@ class DuetContactCard {
|
|
|
7305
7311
|
render() {
|
|
7306
7312
|
const isTurva = this.theme === "turva";
|
|
7307
7313
|
const theme = isTurva ? "turva" : "default";
|
|
7308
|
-
return (hAsync(Host, { key: '
|
|
7314
|
+
return (hAsync(Host, { key: 'de2706d6aba03e8de9dc6c048f81eb8d334af5f7', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '762f5154121fbf1dc8bafb92595b291f82a011f1', class: {
|
|
7309
7315
|
"duet-contact-card": true,
|
|
7310
7316
|
"duet-theme-turva": this.theme === "turva",
|
|
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: '
|
|
7317
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '5842b3cf401981d0c06cd644916669eab604bae3' }, this.name && (hAsync("duet-heading", { key: 'fde8f62fc3664388be9644f1a3c38966adfd298c', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '1b036c57a6e3e0a9e4669b0e12304c5a6977c112', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '6545c1be32cff4f5aa0ff43cee338c9b857730fd', class: "email" }, hAsync("duet-icon", { key: 'c5f1abb56941064a201337bb44f8b773853e60ff', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'ddc6c729a1abea64a502403b75221fb813fa4c8b', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '5dc0b7078b20a9f1790fe2a04b4fa74bfeea65b0', class: "phone" }, hAsync("duet-icon", { key: '1d29a1b982d4efeb7f685b8ecbee8db257ab63cb', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '989b6d03684dcab0b99031e05e323185d5aa19bf', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '20263d42cf642136939c5920bc235c599ca8cb01', class: "call-to-action" }, hAsync("duet-button", { key: '5a84ba6f2d66651f03caf0338050bb7dd8c21a7d', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '0f4bbbefc3beccbd9d81bfa65af65c44cfdbb231' }), hAsync("slot", { key: '0a50d298edbb6dc88d428e3ddae6c00bf84658ae' }))));
|
|
7312
7318
|
}
|
|
7313
7319
|
get element() { return getElement(this); }
|
|
7314
7320
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7375,7 +7381,7 @@ class DuetCookieConsent {
|
|
|
7375
7381
|
* Always the last one in the class.
|
|
7376
7382
|
*/
|
|
7377
7383
|
render() {
|
|
7378
|
-
return (hAsync(Host, { key: '
|
|
7384
|
+
return (hAsync(Host, { key: 'db3ddd8a0a2407a2e384bde79d7127ef256fb6b3', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '1276595c32686fa653ce214b91bb84d99227a5a8', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '5a0ca08d5d0367f808b47aa8407a8dd19bf4027e', class: "duet-cookie-consent-content" }, hAsync("div", { key: 'e448fd48efdeaa9f910feecf6351e70568881717', class: "expand" }, hAsync("slot", { key: 'ead0e808039184f468a7f0947673d0067b7a7884' })), hAsync("duet-spacer", { key: '5153035c18f03ee55385cc55596d311f333e6f0b', size: "large", direction: "horizontal" }), hAsync("div", { key: '4cc34ed5e5ad66f7fe5df3feddfde240006acbd7' }, hAsync("duet-button", { key: '852c21cf5ff585330d3c323b785bb284a0a097e1', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7379
7385
|
}
|
|
7380
7386
|
get element() { return getElement(this); }
|
|
7381
7387
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -7761,6 +7767,7 @@ class DuetDatePicker {
|
|
|
7761
7767
|
this.echoPlaceholder = false;
|
|
7762
7768
|
this.disabled = false;
|
|
7763
7769
|
this.error = "";
|
|
7770
|
+
this.disableBuiltInErrors = false;
|
|
7764
7771
|
this.labelHidden = false;
|
|
7765
7772
|
this.role = undefined;
|
|
7766
7773
|
this.accessibleActiveDescendant = undefined;
|
|
@@ -7912,10 +7919,10 @@ class DuetDatePicker {
|
|
|
7912
7919
|
tooLong: false,
|
|
7913
7920
|
tooShort: false,
|
|
7914
7921
|
typeMismatch: false,
|
|
7915
|
-
valueMissing,
|
|
7916
7922
|
badInput,
|
|
7917
7923
|
rangeUnderflow,
|
|
7918
7924
|
rangeOverflow,
|
|
7925
|
+
valueMissing,
|
|
7919
7926
|
valid: !(valueMissing || badInput || rangeUnderflow || rangeOverflow),
|
|
7920
7927
|
};
|
|
7921
7928
|
}
|
|
@@ -7987,6 +7994,7 @@ class DuetDatePicker {
|
|
|
7987
7994
|
"echoPlaceholder": [1540, "echo-placeholder"],
|
|
7988
7995
|
"disabled": [516],
|
|
7989
7996
|
"error": [1],
|
|
7997
|
+
"disableBuiltInErrors": [4, "disable-built-in-errors"],
|
|
7990
7998
|
"labelHidden": [4, "label-hidden"],
|
|
7991
7999
|
"role": [1],
|
|
7992
8000
|
"accessibleActiveDescendant": [1, "accessible-active-descendant"],
|
|
@@ -8040,7 +8048,7 @@ class DuetDivider {
|
|
|
8040
8048
|
*/
|
|
8041
8049
|
render() {
|
|
8042
8050
|
const background = getColorByName(this.color);
|
|
8043
|
-
return (hAsync("div", { key: '
|
|
8051
|
+
return (hAsync("div", { key: '6f7070cd1039fa6f21a079e0d3c6b3682678ad91', class: {
|
|
8044
8052
|
"duet-m-0": this.margin === "none",
|
|
8045
8053
|
"duet-m-s": this.margin === "small",
|
|
8046
8054
|
"duet-divider": true,
|
|
@@ -8277,11 +8285,11 @@ class DuetEmptyState {
|
|
|
8277
8285
|
* Always the last one in the class.
|
|
8278
8286
|
*/
|
|
8279
8287
|
render() {
|
|
8280
|
-
return (hAsync(Host, { key: '
|
|
8288
|
+
return (hAsync(Host, { key: 'd9379ed3e41dcc39f9fdd2e7f79e8b9c56e1043d' }, hAsync("div", { key: '6294425e1d8ad0ce15267d9e3173683af71e7c7b', class: {
|
|
8281
8289
|
"duet-empty-state": true,
|
|
8282
8290
|
"duet-theme-turva": this.theme === "turva",
|
|
8283
8291
|
"duet-is-small": this.size === "small",
|
|
8284
|
-
} }, hAsync("duet-icon", { key: '
|
|
8292
|
+
} }, hAsync("duet-icon", { key: '8d899d8c9828c5b711b2ef343f47eee033465db2', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '2787d3e6c2ffc6d20d09a14271dd39f10e37fb93' }, hAsync("slot", { key: 'b155444859f180ff4772185c09bc055820c11585' })))));
|
|
8285
8293
|
}
|
|
8286
8294
|
get element() { return getElement(this); }
|
|
8287
8295
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8337,20 +8345,20 @@ class DuetFieldset {
|
|
|
8337
8345
|
* Always the last one in the class.
|
|
8338
8346
|
*/
|
|
8339
8347
|
render() {
|
|
8340
|
-
return (hAsync(Host, { key: '
|
|
8348
|
+
return (hAsync(Host, { key: '689308ad380f1776b68044eececf0a1b6a970a26', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '154a0abb50c3f8e73f18743ebb0df6561f0cc545', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8341
8349
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8342
8350
|
// once they do, we can remove errors from the aria-describedby
|
|
8343
8351
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8344
8352
|
class: {
|
|
8345
8353
|
"duet-fieldset": true,
|
|
8346
8354
|
"duet-theme-turva": this.theme === "turva",
|
|
8347
|
-
} }, hAsync("legend", { key: '
|
|
8355
|
+
} }, hAsync("legend", { key: 'e179e8a70e0e2ec56fa5c03fbf61c80d93f2ee39', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '345404d0d1633085c69e7b4eb8a91a0968d855e5' }, this.label), this.caption && hAsync("span", { key: '68ea692153d49a86d5dc7ef6a1025010bd300562' }, this.caption)), hAsync("div", { key: '14abd8ce6ae960076ca6c1f1cd4784331ace1cd9', class: {
|
|
8348
8356
|
"duet-legend-wrapper": true,
|
|
8349
8357
|
"duet-legend-has-caption": !!this.caption,
|
|
8350
8358
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8351
8359
|
"duet-legend-hidden": this.labelHidden,
|
|
8352
8360
|
"duet-legend-compact": this.compactLabel,
|
|
8353
|
-
} }, hAsync("div", { key: '
|
|
8361
|
+
} }, hAsync("div", { key: 'a449833d46bf641a644477fa2e3f5a1994dabdda', class: "duet-fieldset-label" }, hAsync("span", { key: '8fd39462a54b101788bd32d0300e5a1fc5218170', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '801025782345d17a110ef0c6f950ca6390d4b26a', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5748cd9834d5bff9eca0f4ae738adb570610b309', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'dc6d8bf5191b312be93a94cdfa1546041f9faeec', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'cf69ca768a09d44ff8a64b2bf0e30e300034306d' }), hAsync("span", { key: '0a7d9b4619f2f712ad87224bf2c89690b64e151c', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'd593737a2a9c22e9a0c2c22911e9a22ec892cbab' }, this.error)))));
|
|
8354
8362
|
}
|
|
8355
8363
|
get element() { return getElement(this); }
|
|
8356
8364
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8494,15 +8502,15 @@ class DuetFooter {
|
|
|
8494
8502
|
render() {
|
|
8495
8503
|
const text = getLocaleString(i18n$1, this.language);
|
|
8496
8504
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8497
|
-
return (hAsync("footer", { key: '
|
|
8505
|
+
return (hAsync("footer", { key: '2f5358cae2af364591436b923621558a7db0b892', class: {
|
|
8498
8506
|
"duet-footer": true,
|
|
8499
8507
|
"duet-m-0": this.margin === "none",
|
|
8500
8508
|
"duet-theme-turva": this.theme === "turva",
|
|
8501
8509
|
"duet-footer-simple": this.variation === "simple",
|
|
8502
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8510
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '55bd20ce5008bacebb5258d6abb3060f79055cc8', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '439a668cb7bf800d15a16e04cb65c0db890821f1', class: {
|
|
8503
8511
|
"duet-footer-top": true,
|
|
8504
8512
|
"duet-has-info": this.hasInfoSlot,
|
|
8505
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8513
|
+
}, part: "top" }, hAsync("div", { key: 'a050517126f6e7b7387a40d4780f31fd8c61df96', class: "footer-top-logo" }, hAsync("duet-logo", { key: 'a3d3dfd589b1a6a2c28942b7bbf06146e2117a2b', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '464c8146c94cf0d301777700924b7fb446b86526', class: "footer-top-right-container" }, hAsync("slot", { key: '15486e3da1f50b0b42875f81c92739bb47ee0988', name: "info" }), hAsync("div", { key: '6f6addf850f9abf70a3bec2d7fb990c6ee8bc79d', class: "footer-top-items" }, this.processedItems &&
|
|
8506
8514
|
this.processedItems.map((item, index) => {
|
|
8507
8515
|
var _a, _b, _c, _d, _e, _f;
|
|
8508
8516
|
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:"))
|
|
@@ -8512,7 +8520,7 @@ class DuetFooter {
|
|
|
8512
8520
|
: "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:"))
|
|
8513
8521
|
? "medium"
|
|
8514
8522
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8515
|
-
}))))), hAsync("slot", { key: '
|
|
8523
|
+
}))))), hAsync("slot", { key: '9abeaa9ef15e10aa69f0c481f8cd3b1b65ab4273', name: "extra" }), hAsync("p", { key: '9266f09430c4ab355227d765ebb47019453cd175', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '0b9db71f2534e447db290320c03af61e719c2d20', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '5d989664700ee20c32bc3debcfc71fa167976514', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: 'c38f8fa4d356c5f83159e94c445bf6779b357c8b' }, 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: 'c9a5926823a901f267f0369a97a244bc2596b6f8', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8516
8524
|
}
|
|
8517
8525
|
get element() { return getElement(this); }
|
|
8518
8526
|
static get watchers() { return {
|
|
@@ -9641,7 +9649,7 @@ class DuetHeading {
|
|
|
9641
9649
|
render() {
|
|
9642
9650
|
const TagName = sanitizeString$1(this.level);
|
|
9643
9651
|
const color = getColorByName(this.color);
|
|
9644
|
-
return (hAsync(TagName, { key: '
|
|
9652
|
+
return (hAsync(TagName, { key: '503e72f1d157423d41337a6ac71c1032e611b72b', class: {
|
|
9645
9653
|
"duet-heading": true,
|
|
9646
9654
|
"duet-heading-border": this.border !== false,
|
|
9647
9655
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -9652,7 +9660,7 @@ class DuetHeading {
|
|
|
9652
9660
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
9653
9661
|
"duet-theme-turva": this.theme === "turva",
|
|
9654
9662
|
"fixed-size": this.fixedSize,
|
|
9655
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
9663
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '5d267eda1aea3d9d8284864c0386c4099823a6c9' })));
|
|
9656
9664
|
}
|
|
9657
9665
|
get element() { return getElement(this); }
|
|
9658
9666
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -9833,7 +9841,7 @@ class DuetHero {
|
|
|
9833
9841
|
outlineColor = "color-primary-turva";
|
|
9834
9842
|
}
|
|
9835
9843
|
}
|
|
9836
|
-
return (hAsync("div", { key: '
|
|
9844
|
+
return (hAsync("div", { key: '1f3ac3d92ecbcce710c1b1b1a9d0b2871bc959da', role: "region", class: {
|
|
9837
9845
|
"duet-hero": true,
|
|
9838
9846
|
"duet-theme-turva": this.theme === "turva",
|
|
9839
9847
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -9851,17 +9859,17 @@ class DuetHero {
|
|
|
9851
9859
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
9852
9860
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
9853
9861
|
"duet-hero-narrow": this.layout === "narrow",
|
|
9854
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
9855
|
-
this.processedBack && (hAsync("div", { key: '
|
|
9862
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'cc2b5fc035028fcc794ebc4fed0e47dabf113d14', class: "background-area" }, hAsync("div", { key: '877d4f3dbb1c55e57746583bd7222cfd36f85f19', class: "background-container" }, hAsync("div", { key: '13f15b3bca9e43ce9f5eb6b6e09d4e1fe64eed0f', class: "background" }, hAsync("img", { key: '78fdbfeef361e5738c92247d813d265217cab7c2', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '40d2607ed6cba7db994f26e29141aac3afa9a93e', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '94f7dc4bba3edfd18b4174f24adee009cfedc08f', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: 'd21b011ee9c6f31e0e62a05448b3451cc901a405', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '4bb1fbc995849a06011a753d187b050dd7c082d9', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'f57332554b74dfc95610754c40a8917cf5ef150f', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '60c4bdd140fe90cfd574875a0e5702d92f59816d', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '13a71f7719f4528fcc3dedfd223162bd44c31ace', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '7ed75e8fbc0244c6cbdcb80812d7397ce0eedcd9', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: 'e7f3c6c6da1826756b8fc7335dd7c34f60040e28', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '8d9c4885e88db588b6fb74a2c912750fce37eb29', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'f949a84adeb136052263e5315c12cf74db11f0b9', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '3bbe9c16d041643fa4aab737aab1784a22ecedb7', class: "background-area" }, hAsync("div", { key: '09cd70418a676ea606b35aeb695ca543f419349c', class: "background" }, hAsync("div", { key: '238c817aad225e31a79cfc9c2b913e284f280c21', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '603dac6307834d67c9ff5838a6512b8d331c4d70', class: "brand-shape" }), hAsync("div", { key: 'ca6013e79a7fa6592529e73f006f0a65d61da30d', class: "brand-shaped-image" }, hAsync("div", { key: '2af6e66e338db1f59510d26140d6f22fbd4fc53a', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'd94d4375f19d9992e8376a209248af0d821d86a6', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '5bd169d99ec295465cd442414254a56c2b2aa556', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '2ea4c3d50109f0295d2795cd1ba14da29222328f', class: "duet-hero-image-mask" }, hAsync("div", { key: '18f68ef6e0bbd4d73ce1d3eab2e909d1fe569dde', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '7173fe4d9704f189673615c5877a9dc292e6e9eb', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
9863
|
+
this.processedBack && (hAsync("div", { key: '63f757c91f431dffdb8a18ca7629a7340997cfdc', class: "duet-hero-back" }, hAsync("duet-button", { key: '709ec6ccebdb62de70ff4632ac20665ca3286da3', 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, {
|
|
9856
9864
|
label: this.processedBack.label,
|
|
9857
9865
|
href: this.processedBack.href,
|
|
9858
9866
|
id: this.processedBack.id,
|
|
9859
9867
|
analyticsId: this.processedBack.analyticsId,
|
|
9860
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
9868
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '5ff479166e75d460f603ee928d959bddb4a44dce', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'ea705ceb8a51176d217265edd8a2f76f3a726806', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'b9d587e2e61f76270c94e8ef58562e8cfe0bfa24', 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: '2f6b898a9602d833c8d2cde11ba1287c51ba01d7', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '90e1e86e436e68c1a9410ca6743a2fd875ba276d', 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: '139eabc311c52d61f83ef865bb45dcb857e956c1', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: '86a8736f020e2a5744cafb06820469980becd78d', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '182bde149927947501491d1b747d8da9b9c6dbde', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '769173505401a66b7c095d8bf89d2ecbe096d26c', 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: 'cd7db97f12cc48a175dd03da7eba2b20a5802fe9', 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: '743f4dd9f52dc86018e9a77423c2decda8db47ad' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '7160eed21c1700d656830b87f020ae689540a176', 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 &&
|
|
9861
9869
|
this.variation !== "image" &&
|
|
9862
9870
|
!campaignOrSection &&
|
|
9863
9871
|
this.variation !== "product" &&
|
|
9864
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
9872
|
+
this.variation !== "content" && hAsync("div", { key: 'b577acd6ebd8dd68e8cfd6bce02044114ead3dc4', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '064ceca16eab6353c44a273ebb766a544e085667', name: "bottom" }))));
|
|
9865
9873
|
}
|
|
9866
9874
|
get element() { return getElement(this); }
|
|
9867
9875
|
static get watchers() { return {
|
|
@@ -9987,11 +9995,11 @@ class DuetIcon {
|
|
|
9987
9995
|
: {};
|
|
9988
9996
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9989
9997
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9990
|
-
return (hAsync(Host, { key: '
|
|
9998
|
+
return (hAsync(Host, { key: '84c42b49ccdbce122db670bd99c0390de4ac152a', class: {
|
|
9991
9999
|
"duet-m-0": this.margin === "none",
|
|
9992
10000
|
"duet-icon-has-outline": !!this.outline,
|
|
9993
10001
|
"duet-icon-has-background": !!this.background,
|
|
9994
|
-
} }, hAsync("span", { key: '
|
|
10002
|
+
} }, hAsync("span", { key: '20eba260f00af16a6b59a0fe9a92b2fbdebeba48', "aria-hidden": "true", style: styles, class: {
|
|
9995
10003
|
"duet-icon": true,
|
|
9996
10004
|
"duet-theme-turva": this.theme === "turva",
|
|
9997
10005
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10000,7 +10008,7 @@ class DuetIcon {
|
|
|
10000
10008
|
[shapeStyle]: true,
|
|
10001
10009
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10002
10010
|
"duet-icon-not-responsive": !this.responsive,
|
|
10003
|
-
} }, hAsync("span", { key: '
|
|
10011
|
+
} }, hAsync("span", { key: '2092b7fff365bcdf2260d992c78e346fed24b3ca', "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 }))));
|
|
10004
10012
|
}
|
|
10005
10013
|
get element() { return getElement(this); }
|
|
10006
10014
|
static get watchers() { return {
|
|
@@ -10330,6 +10338,12 @@ class DuetInput {
|
|
|
10330
10338
|
this.timeoutId = setTimeout(emitEvent, this.debounce);
|
|
10331
10339
|
}
|
|
10332
10340
|
}
|
|
10341
|
+
/**
|
|
10342
|
+
* This is a proxy for the enclosed native inputs validity
|
|
10343
|
+
*/
|
|
10344
|
+
get validity() {
|
|
10345
|
+
return this.nativeInput.validity;
|
|
10346
|
+
}
|
|
10333
10347
|
/**
|
|
10334
10348
|
* Component lifecycle events.
|
|
10335
10349
|
*/
|
|
@@ -10535,6 +10549,7 @@ class DuetInput {
|
|
|
10535
10549
|
"autoComplete": [1, "auto-complete"],
|
|
10536
10550
|
"disallowPattern": [1, "disallow-pattern"],
|
|
10537
10551
|
"value": [1025],
|
|
10552
|
+
"validity": [2064],
|
|
10538
10553
|
"tooltip": [1],
|
|
10539
10554
|
"tooltipDirection": [1, "tooltip-direction"],
|
|
10540
10555
|
"language": [32],
|
|
@@ -10649,24 +10664,24 @@ class DuetLayout {
|
|
|
10649
10664
|
* Always the last one in the class.
|
|
10650
10665
|
*/
|
|
10651
10666
|
render() {
|
|
10652
|
-
return (hAsync(Host, { key: '
|
|
10667
|
+
return (hAsync(Host, { key: '939cedfacbeb6cc0069fdca4c80909580937143f', class: {
|
|
10653
10668
|
center: this.center,
|
|
10654
10669
|
"duet-middle": this.middle,
|
|
10655
10670
|
"duet-ie": isInternetExplorer(),
|
|
10656
|
-
} }, hAsync("div", { key: '
|
|
10671
|
+
} }, hAsync("div", { key: '04e36c83cf0d51f536377f6679e455765e98c837', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: '316f74d7dbf89cd2da0122cf0c169af3c1abca94', class: {
|
|
10657
10672
|
"duet-layout-top": true,
|
|
10658
10673
|
"duet-center": this.center,
|
|
10659
|
-
} }, hAsync("div", { key: '
|
|
10674
|
+
} }, hAsync("div", { key: '4ab63842f267fca4adadd6bed7c88a5509e6b792', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: 'c512f4e7f30bb6a1e7159a79d3bc24ba05cf3640', name: "top" })))), hAsync("div", { key: '9d6a034aa4a5e0a1c4e5293b2755be1d304be851', class: {
|
|
10660
10675
|
"duet-layout": true,
|
|
10661
10676
|
"has-sidebar": this.hasSidebar,
|
|
10662
10677
|
"duet-center": this.center,
|
|
10663
10678
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10664
|
-
} }, hAsync("main", { key: '
|
|
10679
|
+
} }, hAsync("main", { key: '5d98c6a1feb7e641bf95140b957f1c23add97d4e', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '3f321ec210469b09507b8d1f3f457a4486912eba', name: "page-heading" }), hAsync("slot", { key: 'df7d9350f8cfcaadde996fb8507570e80a4b542f', name: "main" })), this.hasSidebar && (hAsync("aside", { key: 'ab2cde3f205725d4e4994aa68a93ab79a5df2b7e', class: "duet-sidebar" }, hAsync("div", { key: '66865fbd9febf8a642c39db1b1f37a915bef1a1a', class: {
|
|
10665
10680
|
"duet-sidebar-container": true,
|
|
10666
10681
|
"has-tabs": this.tabs,
|
|
10667
10682
|
sticky: this.sticky,
|
|
10668
10683
|
[this.stickyDistance]: this.sticky,
|
|
10669
|
-
} }, hAsync("slot", { key: '
|
|
10684
|
+
} }, hAsync("slot", { key: '4869dd5a533b2adb3d166e27a81820df7b6a7692', name: "sidebar" }))))))));
|
|
10670
10685
|
}
|
|
10671
10686
|
get element() { return getElement(this); }
|
|
10672
10687
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10742,6 +10757,7 @@ class DuetLink {
|
|
|
10742
10757
|
this.margin = "auto";
|
|
10743
10758
|
this.padding = "auto";
|
|
10744
10759
|
this.isMediumScreen = false;
|
|
10760
|
+
this.ariaLabel = undefined;
|
|
10745
10761
|
}
|
|
10746
10762
|
/**
|
|
10747
10763
|
* Component lifecycle events.
|
|
@@ -10759,9 +10775,13 @@ class DuetLink {
|
|
|
10759
10775
|
prop: "accessibleLabelExternal",
|
|
10760
10776
|
defaults: "accessibleLabelExternalDefaults",
|
|
10761
10777
|
});
|
|
10778
|
+
this.setAriaLabel();
|
|
10762
10779
|
}
|
|
10763
10780
|
disconnectedCallback() {
|
|
10764
10781
|
disconnectLanguageChangeObserver(this);
|
|
10782
|
+
if (this.mutationObserver) {
|
|
10783
|
+
this.mutationObserver.disconnect();
|
|
10784
|
+
}
|
|
10765
10785
|
}
|
|
10766
10786
|
/**
|
|
10767
10787
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -10770,6 +10790,11 @@ class DuetLink {
|
|
|
10770
10790
|
async setFocus(options) {
|
|
10771
10791
|
this.nativeLink.focus(options);
|
|
10772
10792
|
}
|
|
10793
|
+
setAriaLabel() {
|
|
10794
|
+
setTimeout(() => {
|
|
10795
|
+
this.ariaLabel = (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel;
|
|
10796
|
+
});
|
|
10797
|
+
}
|
|
10773
10798
|
resolveDownload() {
|
|
10774
10799
|
if (this.download === "") {
|
|
10775
10800
|
return this.url.split("/").pop();
|
|
@@ -10808,10 +10833,10 @@ class DuetLink {
|
|
|
10808
10833
|
render() {
|
|
10809
10834
|
const Tag = !this.url ? "button" : "a";
|
|
10810
10835
|
const isButton = Tag === "button";
|
|
10811
|
-
return (hAsync(Host, { key: '
|
|
10836
|
+
return (hAsync(Host, { key: 'bcde4f333a3bd278709dddda0e90ceae4c6a705d', class: {
|
|
10812
10837
|
[`duet-link-${this.variation}`]: true,
|
|
10813
10838
|
"duet-m-0": this.margin === "none",
|
|
10814
|
-
} }, hAsync(Tag, { key: '
|
|
10839
|
+
} }, hAsync(Tag, { key: 'ab2c62a98d88a54965ab7be9cc45907e6e07e5d7', href: this.url, class: {
|
|
10815
10840
|
"duet-link": true,
|
|
10816
10841
|
"duet-link-is-external": this.external,
|
|
10817
10842
|
"duet-link-is-download": !!this.download,
|
|
@@ -10822,10 +10847,13 @@ class DuetLink {
|
|
|
10822
10847
|
"duet-p-0": this.padding === "none",
|
|
10823
10848
|
[this.padding]: true,
|
|
10824
10849
|
[this.variation]: true,
|
|
10825
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label":
|
|
10850
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
10826
10851
|
}
|
|
10827
10852
|
static get delegatesFocus() { return true; }
|
|
10828
10853
|
get element() { return getElement(this); }
|
|
10854
|
+
static get watchers() { return {
|
|
10855
|
+
"language": ["setAriaLabel"]
|
|
10856
|
+
}; }
|
|
10829
10857
|
static get style() { return DuetLinkStyle0; }
|
|
10830
10858
|
static get cmpMeta() { return {
|
|
10831
10859
|
"$flags$": 25,
|
|
@@ -10853,6 +10881,7 @@ class DuetLink {
|
|
|
10853
10881
|
"margin": [1],
|
|
10854
10882
|
"padding": [1],
|
|
10855
10883
|
"isMediumScreen": [32],
|
|
10884
|
+
"ariaLabel": [32],
|
|
10856
10885
|
"setFocus": [64]
|
|
10857
10886
|
},
|
|
10858
10887
|
"$listeners$": undefined,
|
|
@@ -10933,7 +10962,7 @@ class DuetList {
|
|
|
10933
10962
|
* Always the last one in the class.
|
|
10934
10963
|
*/
|
|
10935
10964
|
render() {
|
|
10936
|
-
return (hAsync("dl", { key: '
|
|
10965
|
+
return (hAsync("dl", { key: '9e004e8a4752dd9ebcb4faf2881a2520823e231b', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'c7678a8d8ad217e33c8c69398cdbe18f23f5fa1d' })));
|
|
10937
10966
|
}
|
|
10938
10967
|
get element() { return getElement(this); }
|
|
10939
10968
|
static get watchers() { return {
|
|
@@ -10983,14 +11012,14 @@ class DuetListItem {
|
|
|
10983
11012
|
* Always the last one in the class.
|
|
10984
11013
|
*/
|
|
10985
11014
|
render() {
|
|
10986
|
-
return (hAsync(Host, { key: '
|
|
11015
|
+
return (hAsync(Host, { key: 'dbea429576ed1f52ed1c3fc26b2ad7d235a0a413', class: {
|
|
10987
11016
|
"duet-no-stacking": !this.responsive,
|
|
10988
11017
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10989
11018
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10990
11019
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10991
11020
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10992
11021
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10993
|
-
} }, hAsync("dt", { key: '
|
|
11022
|
+
} }, hAsync("dt", { key: '21f820ef81ada72e006b22a14634b2ba57fe9ce3' }, hAsync("slot", { key: '3650e03253950a189ca684b374220b0edd9f6e37', name: "label" })), hAsync("dd", { key: '9e704a02a57e3d1809b3ee7895ffb554a37e24c0' }, hAsync("slot", { key: '8bd4afe4da261e270cfa9dd2b946946dd4cb12ad', name: "value" }))));
|
|
10994
11023
|
}
|
|
10995
11024
|
static get style() { return DuetListItemStyle0; }
|
|
10996
11025
|
static get cmpMeta() { return {
|
|
@@ -11083,7 +11112,7 @@ class DuetLogo {
|
|
|
11083
11112
|
*/
|
|
11084
11113
|
render() {
|
|
11085
11114
|
const TagName = this.href ? "a" : "div";
|
|
11086
|
-
return (hAsync(Host, { key: '
|
|
11115
|
+
return (hAsync(Host, { key: '8028936edab2ebf0d354511650b7fee94fd47a1a', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'dab66b31a829a45902377e958bda7fc5de27bdf2', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11087
11116
|
"duet-logo": true,
|
|
11088
11117
|
[this.size]: true,
|
|
11089
11118
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11262,14 +11291,14 @@ class DuetMenuBar {
|
|
|
11262
11291
|
render() {
|
|
11263
11292
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11264
11293
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11265
|
-
return (hAsync(Host, { key: '
|
|
11294
|
+
return (hAsync(Host, { key: 'ba51ccb8c54c3fe7671eddff8378534eb0aa4503' }, hAsync("nav", { key: '77477660c912b5e361daedbcf8dce77d85e1fdaa', class: {
|
|
11266
11295
|
"duet-menu-bar": true,
|
|
11267
11296
|
"duet-theme-turva": this.theme === "turva",
|
|
11268
11297
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11269
11298
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11270
11299
|
hidden: this.hidden && this.hideOnScroll,
|
|
11271
11300
|
bottom: this.onBottom,
|
|
11272
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11301
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'b78519eb96e7fce14819a328e80794bdaaeb4614', class: "top" }), hAsync("div", { key: '569571f9f4fea275f14d8cf27bed3d9c9ebaccfe', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '204c1ae8618cfdb39f1e05e23375a10e2872c194' }, hAsync("duet-logo", { key: 'b0175b7ed2254da32ad9495cb1b089d72ad0f3e4', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: 'a1dfa3d10da3c0f2d0b999dffbd24366d6285128', class: "list center", role: "list" }, hAsync("div", { key: '60d126975451f170fc5c38d1804fff0ac95c3037', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'ea4b5d602de4baf6ebea7142e3d9617eda1c8cff', name: "center" }), hAsync("div", { key: 'd0b27d21ad85f447011cbdde964b255bcb9c1375', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'd7b1e7dbbf01436ab09d792ce9c47736cdc9fe52', class: "list right", role: "list" }, hAsync("slot", { key: 'd0ff87de435ef2a5e3c4f96d6992704957542c84', name: "right" }))), hAsync("div", { key: 'c5ac242c2634edc9c46423f4051d98a47bac300a', class: "bottom" }))));
|
|
11273
11302
|
}
|
|
11274
11303
|
get element() { return getElement(this); }
|
|
11275
11304
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11336,10 +11365,10 @@ class DuetMenuBarButton {
|
|
|
11336
11365
|
* Always the last one in the class.
|
|
11337
11366
|
*/
|
|
11338
11367
|
render() {
|
|
11339
|
-
return (hAsync(Host, { key: '
|
|
11368
|
+
return (hAsync(Host, { key: '0f70c9bf0735937ee494cce289b4c7c328004e55', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '5cfdeebb375e5e684b85846a22dcbdb0d643fc95', ref: button => (this.nativeButton = button), class: {
|
|
11340
11369
|
"duet-menu-bar-button": true,
|
|
11341
11370
|
"duet-theme-turva": this.theme === "turva",
|
|
11342
|
-
}, "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: '
|
|
11371
|
+
}, "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: '9ad195dc758838b1b924da7c78f1b64f9cee8db6', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'c15fb81cfbfaecfad8eb0132b14f5390a301cd29' }))));
|
|
11343
11372
|
}
|
|
11344
11373
|
get element() { return getElement(this); }
|
|
11345
11374
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11422,17 +11451,17 @@ class DuetMenuBarDropdown {
|
|
|
11422
11451
|
* Always the last one in the class.
|
|
11423
11452
|
*/
|
|
11424
11453
|
render() {
|
|
11425
|
-
return (hAsync(Host, { key: '
|
|
11454
|
+
return (hAsync(Host, { key: 'b7fd730a9ca29fe66b3fb47968d97882881dc46c', role: "listitem" }, hAsync("div", { key: '8375747f96bce65f0079f3a9e32f597ebfdea259', class: {
|
|
11426
11455
|
"duet-menu-bar-dropdown": true,
|
|
11427
11456
|
"duet-theme-turva": this.theme === "turva",
|
|
11428
11457
|
active: this.open,
|
|
11429
11458
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11430
|
-
} }, hAsync("button", { key: '
|
|
11459
|
+
} }, hAsync("button", { key: '216c022acdd13b07237e09675ca2a3e5619d8945', 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: {
|
|
11431
11460
|
active: this.open,
|
|
11432
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11461
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '8f871b50abc91e0d0cbe53d7ce94eb975926c893', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '99691e6483647ec36e53d362eb63f67a77c5e86d', class: "label" }, hAsync("slot", { key: 'b875b758547563e0b9f4c64540b8893a06172f87', name: "label" }), hAsync("duet-icon", { key: '241cebbb03717f5a56aaf6299742ef72c4d1d03f', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'f6e8d54ef1e4cfa3512485a136d52dbe386d0755', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11433
11462
|
items: true,
|
|
11434
11463
|
hidden: !this.open,
|
|
11435
|
-
} }, hAsync("slot", { key: '
|
|
11464
|
+
} }, hAsync("slot", { key: '059b1fa4eb5ccb1e4adbbb775c4d8cd9c9f2fb93' })))));
|
|
11436
11465
|
}
|
|
11437
11466
|
get element() { return getElement(this); }
|
|
11438
11467
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11492,11 +11521,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11492
11521
|
* Always the last one in the class.
|
|
11493
11522
|
*/
|
|
11494
11523
|
render() {
|
|
11495
|
-
return (hAsync(Host, { key: '
|
|
11524
|
+
return (hAsync(Host, { key: '6068b6651363acfa5a38ce76f97eef97c617ae40' }, hAsync("a", { key: '7181016d9299aae44bfabcb59504bc1cb839d794', class: {
|
|
11496
11525
|
"duet-menu-bar-dropdown-link": true,
|
|
11497
11526
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11498
11527
|
"duet-theme-turva": this.theme === "turva",
|
|
11499
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11528
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'd188538d34c86debcdcea72edb4453b58ce86bb7', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '4dc908e75b92425aa98d33349389a063c96d6417' }))));
|
|
11500
11529
|
}
|
|
11501
11530
|
get element() { return getElement(this); }
|
|
11502
11531
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11560,11 +11589,11 @@ class DuetMenuBarItem {
|
|
|
11560
11589
|
*/
|
|
11561
11590
|
render() {
|
|
11562
11591
|
const TagName = this.url ? "a" : "button";
|
|
11563
|
-
return (hAsync(Host, { key: '
|
|
11592
|
+
return (hAsync(Host, { key: 'df9bbe4dc4bf8f4e51209669b9d338d294a9eeaa', role: "listitem" }, hAsync(TagName, { key: '549949b05fc9290ade7bd94fff4cfbee0bae8f04', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11564
11593
|
"duet-menu-bar-item": true,
|
|
11565
11594
|
"duet-theme-turva": this.theme === "turva",
|
|
11566
11595
|
active: this.active,
|
|
11567
|
-
}, 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: '
|
|
11596
|
+
}, 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: '2bf91a8c0f70bc9a0a4dff411757e41900c049b7', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '3d72b9e811d6caeb973f5e21ac995d21da6444a6' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '81b25dce0c79f0b71cc832e7ac6da9197c69e1f9', class: {
|
|
11568
11597
|
"trailing-icon": !!this.trailingIcon,
|
|
11569
11598
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11570
11599
|
"external-icon": !!this.external,
|
|
@@ -11619,11 +11648,11 @@ class DuetMenuBarLink {
|
|
|
11619
11648
|
* Always the last one in the class.
|
|
11620
11649
|
*/
|
|
11621
11650
|
render() {
|
|
11622
|
-
return (hAsync(Host, { key: '
|
|
11651
|
+
return (hAsync(Host, { key: '1dc7db637e4e3d95dfde93025a2e7a9b8f9bb800', role: "listitem" }, hAsync("a", { key: '5bf081aadd270657505210b7b12189e6b9abda64', class: {
|
|
11623
11652
|
"duet-menu-bar-link": true,
|
|
11624
11653
|
"duet-theme-turva": this.theme === "turva",
|
|
11625
11654
|
active: this.active,
|
|
11626
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11655
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8a98386d15f2e32cb70769c1b92ac2a92cf124df', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'efd02f3e67a3480cc42cb47b9155983163c35b77' }))));
|
|
11627
11656
|
}
|
|
11628
11657
|
get element() { return getElement(this); }
|
|
11629
11658
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11643,7 +11672,7 @@ class DuetMenuBarLink {
|
|
|
11643
11672
|
}; }
|
|
11644
11673
|
}
|
|
11645
11674
|
|
|
11646
|
-
const duetModalCss = "*,*::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}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:
|
|
11675
|
+
const duetModalCss = "*,*::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}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{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-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:12px;right:12px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;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-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}";
|
|
11647
11676
|
var DuetModalStyle0 = duetModalCss;
|
|
11648
11677
|
|
|
11649
11678
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
@@ -11874,18 +11903,18 @@ class DuetModal {
|
|
|
11874
11903
|
var _a, _b;
|
|
11875
11904
|
let iconColor = "primary";
|
|
11876
11905
|
let closeColor = "secondary";
|
|
11877
|
-
const closingButton = (hAsync("div", { key: '
|
|
11906
|
+
const closingButton = (hAsync("div", { key: '9bd3048e4d9313e5c9af47dbc33af4eb66ed3a5a', class: "duet-modal-close" }, hAsync("duet-button", { key: 'ab6131730c34219274154937f6f57aca53dbbdb5', 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 })));
|
|
11878
11907
|
if (this.theme === "turva") {
|
|
11879
11908
|
iconColor = "primary-turva";
|
|
11880
11909
|
closeColor = "secondary-turva";
|
|
11881
11910
|
}
|
|
11882
|
-
return (hAsync("div", { key: '
|
|
11911
|
+
return (hAsync("div", { key: '3161f0487179b9f75ec61b82ce3b6c5faa246539', 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: {
|
|
11883
11912
|
"duet-modal-container": true,
|
|
11884
11913
|
"duet-theme-turva": this.theme === "turva",
|
|
11885
11914
|
"duet-modal-active": this.open,
|
|
11886
11915
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11887
11916
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11888
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11917
|
+
} }, hAsync("duet-overlay", { key: 'b81c8fe6ffd00fa450ed6cc3f752e55ad337892c', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'dca19f7447b771f47b47e976f73544b47b2b736d', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11889
11918
|
"duet-modal-inner": true,
|
|
11890
11919
|
[this.size]: true,
|
|
11891
11920
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11896,18 +11925,18 @@ class DuetModal {
|
|
|
11896
11925
|
this.closeModal(e);
|
|
11897
11926
|
}
|
|
11898
11927
|
}
|
|
11899
|
-
} }, hAsync("div", { key: '
|
|
11928
|
+
} }, hAsync("div", { key: 'e21d68503cd3507f94b63280f1b8fda4333e3a58', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11900
11929
|
"duet-modal": true,
|
|
11901
11930
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11902
11931
|
[this.size]: true,
|
|
11903
11932
|
[this.variation]: true,
|
|
11904
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11933
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '27491137eba94ef6a4f244dc0f89bae403048f9e' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'ae43c8158067a7111ebaf5fb712e5f35dda5fcea', class: {
|
|
11905
11934
|
"duet-modal-body": true,
|
|
11906
11935
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11907
11936
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11908
11937
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11909
11938
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11910
|
-
} }, hAsync("div", { key: '
|
|
11939
|
+
} }, hAsync("div", { key: '76fec413d37c3b45fde13b208024a3abb3f6fb44', class: "duet-modal-header" }, hAsync("span", { key: 'a013002e8b1471967659999a6cec3c26020c2850', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'a1b38d58fcffb2b67b15ea27b831109144235773', name: "top" })), this.icon && hAsync("duet-icon", { key: '909e82f5051f2118d366ffc2d7d6387250d995e3', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '3b5de36ab65d6025941ddbd822da4296422756a1', "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: 'a46059a4b80c8551d56d8848b75f2823711a3c3b', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '6e3e934c35c7be05854d7fe19d26b1d8fa082167', size: "large", color: "primary" }))), hAsync("div", { key: 'b94e2c9f6f7995f2bb66d9738dd1a22636359455', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: 'a3d455bffeae35e973dd16cda76c36f3a6370f48' })))))));
|
|
11911
11940
|
}
|
|
11912
11941
|
get element() { return getElement(this); }
|
|
11913
11942
|
static get watchers() { return {
|
|
@@ -12172,23 +12201,23 @@ class DuetMultiselect {
|
|
|
12172
12201
|
*/
|
|
12173
12202
|
render() {
|
|
12174
12203
|
var _a;
|
|
12175
|
-
return (hAsync(Host, { key: '
|
|
12204
|
+
return (hAsync(Host, { key: '12170f8be275e60b4d5ddeb08290e9d6b2ae382d', class: {
|
|
12176
12205
|
"duet-m-0": this.margin === "none",
|
|
12177
12206
|
"duet-expand": this.expand,
|
|
12178
|
-
} }, hAsync("div", { key: '
|
|
12207
|
+
} }, hAsync("div", { key: 'c1cf56cc0dbea83bc0dc8bd51b04c65e3a4a62da', class: {
|
|
12179
12208
|
"duet-multiselect-container": true,
|
|
12180
12209
|
"duet-label-hidden": this.labelHidden,
|
|
12181
12210
|
"duet-theme-turva": this.theme === "turva",
|
|
12182
12211
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12183
12212
|
"has-error": !!this.error,
|
|
12184
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
12213
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '6effc20be696697551ca552dc2c08e89c1991d33', 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: '8847e95c055d431271613d959357b4eff10a0a85', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c39db470cb4e12aae320718e5fda0dfa9c6af37b', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '66615cbbb7c28be30c42e3c62d0f9021d7e69acb', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'c820a692595b614996842c8053be2a3f1e49fce0', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '36a79be02186955c4ab72fa75b9e6cb386dda866', 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: '357672ff8738ba4131b01fa16f82280f91b6edc9', 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: '9b9435791f8d06644948cd64c00180f6f50d1495', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'f89f17cf73ebff720a1f903643f21858c6ed96b5' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '737cbc3a387b07a9728ea6e5d47cfa949312f3ad', 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: 'ccadad6740d38fe5b128a708ddb9ae24699a4502', 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: '60c40e1702ee751fda1fed334809896f56411a6f', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12185
12214
|
"duet-multiselect-checkboxes": true,
|
|
12186
12215
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12187
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12216
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'e56b2012308e8950adb1ee3276c2b5153309431e', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'b53465b5f581e60b218dc7e1a50860042489bfcc', 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: '127953e8ffd8b0002380092bb7929bb2fe1f2790', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12188
12217
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12189
12218
|
var _a, _b;
|
|
12190
12219
|
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 }));
|
|
12191
|
-
})))))), hAsync("span", { key: '
|
|
12220
|
+
})))))), hAsync("span", { key: 'a14ad0ccd012ac5577347b0063a8aea18ef0f173', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '95982728671a531c3173eecda1f6f7961629fdce' }, this.error)))));
|
|
12192
12221
|
}
|
|
12193
12222
|
get element() { return getElement(this); }
|
|
12194
12223
|
static get watchers() { return {
|
|
@@ -12257,7 +12286,7 @@ class DuetNav {
|
|
|
12257
12286
|
* Always the last one in the class.
|
|
12258
12287
|
*/
|
|
12259
12288
|
render() {
|
|
12260
|
-
return (hAsync(Host, { key: '
|
|
12289
|
+
return (hAsync(Host, { key: '00a512aca74e896f68c7f089bc805af77083caa0' }, hAsync("div", { key: '63db60712546a4917778c2d361db15683e57d370', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '618adba4dcf96b0461ed60f8ed931080f06cdf46' }), hAsync("slot", { key: '4cf1e97401cd3ff6a4ffb16900186228c0851da9', name: "mobile" }), hAsync("slot", { key: '67d4aaae5584a1c2ee205da75e719fb9c320097a', name: "desktop" }))));
|
|
12261
12290
|
}
|
|
12262
12291
|
get element() { return getElement(this); }
|
|
12263
12292
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12316,11 +12345,11 @@ class DuetNotification {
|
|
|
12316
12345
|
this.linkElement.focus(options);
|
|
12317
12346
|
}
|
|
12318
12347
|
render() {
|
|
12319
|
-
return (hAsync("div", { key: '
|
|
12348
|
+
return (hAsync("div", { key: '50b14b431dd3fa0271fed4ad88b3844db5d470c2', role: "listitem", class: {
|
|
12320
12349
|
"duet-notification": true,
|
|
12321
12350
|
"duet-notification-highlight": this.highlight,
|
|
12322
12351
|
"duet-theme-turva": this.theme === "turva",
|
|
12323
|
-
} }, hAsync("a", { key: '
|
|
12352
|
+
} }, hAsync("a", { key: '69d83dd84ef5cb3e5cadc59ef13262ba5a2403b5', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'c84b368567d5c30a73d072a857d09546762d4e3b', class: "duet-notification-container" }, hAsync("div", { key: 'b643d6050a37393d3014f04d1255b39a1db22be7', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'f2ffc87634082ee3ca83962e5be69f8521a8ca8a', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '150e736d8b12304b0a2bf4341462b861f7e1dfdb' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '17934b56fbc1d360d9caf028b545edb6a8fe06e3', class: "duet-notification-content" }, hAsync("slot", { key: '3546c2b5e14a00d7b254f59985315a13d79bcc4f' })), hAsync("div", { key: 'ac03337c739922c3db5c1e8b63593f92edba315d', class: "duet-notification-date" }, this.date)))));
|
|
12324
12353
|
}
|
|
12325
12354
|
get element() { return getElement(this); }
|
|
12326
12355
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12438,10 +12467,10 @@ class DuetNotificationDrawer {
|
|
|
12438
12467
|
* Always the last one in the class.
|
|
12439
12468
|
*/
|
|
12440
12469
|
render() {
|
|
12441
|
-
return (hAsync("div", { key: '
|
|
12470
|
+
return (hAsync("div", { key: '52951b68e698b9c831642c1c135dfcb53a48a40c', class: {
|
|
12442
12471
|
"duet-drawer": true,
|
|
12443
12472
|
"duet-theme-turva": this.theme === "turva",
|
|
12444
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12473
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'e713e9ace0ffc56428e71ca55c37a360971cbe15', 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: 'a4c21f480f37e714d9c62d75bf787ba7216fb381', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'e95aeefaa6b5323e37f0852fe9e5fd4b6f5f8233', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '9944b7bc548e2d8b9c753cbc5e2ee9e60817bdb9', class: "duet-drawer-badge" }))), hAsync("span", { key: 'cb880634e09f12b30bf67452ac7563ac80b6fcc0', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '6416fe4067667f4b7b9977d824ff5570ae86def0', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '6e3e61d447a93c57946cde7067668047a5e6506a', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '982db8ff68314474dd59f68b9caa66c57634d5ac', id: "duet-drawer-content", class: {
|
|
12445
12474
|
"duet-drawer-content": true,
|
|
12446
12475
|
"duet-drawer-right": this.direction === "right",
|
|
12447
12476
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12652,7 +12681,7 @@ class DuetNumberInput {
|
|
|
12652
12681
|
};
|
|
12653
12682
|
this.localizeValue = (value) => {
|
|
12654
12683
|
// Returns a localized string that can be used as input value.
|
|
12655
|
-
return value.toLocaleString(this.locale);
|
|
12684
|
+
return value.toLocaleString(this.locale, { useGrouping: false });
|
|
12656
12685
|
};
|
|
12657
12686
|
this.setValue = (value) => {
|
|
12658
12687
|
// Set the localized prop value.
|
|
@@ -12908,7 +12937,7 @@ class DuetOverlay {
|
|
|
12908
12937
|
* Always the last one in the class.
|
|
12909
12938
|
*/
|
|
12910
12939
|
render() {
|
|
12911
|
-
return (hAsync(Host, { key: '
|
|
12940
|
+
return (hAsync(Host, { key: '630cf19ec25638aba0f6031c109f0b9c7813961e', "aria-hidden": "true" }, hAsync("div", { key: '1b2b98da2ddf66ae1ef4ef862eab832b08c87f7a', style: { zIndex: this.zIndex }, class: {
|
|
12912
12941
|
"duet-overlay": true,
|
|
12913
12942
|
"duet-theme-turva": this.theme === "turva",
|
|
12914
12943
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12978,12 +13007,12 @@ class DuetPageHeading {
|
|
|
12978
13007
|
*/
|
|
12979
13008
|
render() {
|
|
12980
13009
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12981
|
-
return (hAsync("div", { key: '
|
|
13010
|
+
return (hAsync("div", { key: 'b04b3ab93aea9b8a1bd56c40f3a7f22d882606d9', class: {
|
|
12982
13011
|
"duet-page-heading": true,
|
|
12983
13012
|
"duet-theme-turva": this.theme === "turva",
|
|
12984
13013
|
"has-icon": !!this.icon,
|
|
12985
13014
|
[layout]: true,
|
|
12986
|
-
} }, hAsync("div", { key: '
|
|
13015
|
+
} }, hAsync("div", { key: '050ef867894329ee70c71f317b3d2a9b0ab43b22', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'db65bb0d2a262fbea17f2325a68d302f82f78774', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '25b6e020582c7de6a6016fcde0c8b7625bce9450', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'df61981c4b6dd90c38cf7b4c66d1b979f3136b35', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '7f4a88d4b8cb503a154e9fd949dd14165c158295', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'dcd6fb724ae34c563a9bd16fd4f4d1b19218cf2d', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'ad53793ece4f7d8cada5f4eda9197fa7777a290e', class: "heading" }, hAsync("slot", { key: '0641ba331d0528c6e6d6e7219e763a6081700223', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: 'db105221674c1f3b1c996bf4f1f75d76fc811da4' }, hAsync("duet-spacer", { key: '660c06f502b4f3294e1c3c67dd7da73088ef906f', size: "large" }), hAsync("div", { key: '14a89035e8866eee60de3a2f14f078e877d70bbe', role: "presentation" }, this.progressIndicator()))))));
|
|
12987
13016
|
}
|
|
12988
13017
|
get element() { return getElement(this); }
|
|
12989
13018
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13338,32 +13367,32 @@ class DuetPagination {
|
|
|
13338
13367
|
* Always the last one in the class.
|
|
13339
13368
|
*/
|
|
13340
13369
|
render() {
|
|
13341
|
-
return (hAsync(Host, { key: '
|
|
13370
|
+
return (hAsync(Host, { key: 'bbd85aaf7cec037863e62449e53dc79850615e68', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: 'c94a34a3f69d9f743499a00ace0f273ecc64384a', 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: {
|
|
13342
13371
|
"duet-pagination-nav": true,
|
|
13343
13372
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13344
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13373
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'ed7656da1a3a9f606cc63018833c8ad54fd2da2a', "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: 'c2457234d5e4827da9730d753f05d5a8d1c06756', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '86efc4ee55dcd2ac47af68e39db42f26e8b2e8fe', id: this.listId, class: {
|
|
13345
13374
|
"duet-pagination": true,
|
|
13346
13375
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13347
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13376
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'e6e7af25d894edcf0549bc37c437952f6e2a5768', class: {
|
|
13348
13377
|
"duet-pagination-page-button": true,
|
|
13349
13378
|
"duet-pagination-button-first": true,
|
|
13350
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13379
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '4b68b2b1661169ab04879656a2e965a50f9f1849', 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: 'e118983480f408814517696235620d6ca7c52e28', class: {
|
|
13351
13380
|
"duet-pagination-page-button": true,
|
|
13352
13381
|
"duet-pagination-button-first": true,
|
|
13353
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13382
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '952f820c61dbd46f107da9982473c44c92d1654b', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13354
13383
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13355
|
-
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: '
|
|
13356
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13384
|
+
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: '64b3f4da24ce028db1125795596beaf6cfd65aeb' }, hAsync("li", { key: 'c477461d7d68392025f704c5a2df666822b3c1c4', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '8198df04fb593ebcf8a50918c8ffd3fc96bce3bc', 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: '0d1ecd17b7660a6c2ca5ead362b19a39922526f1', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '068cc3aa779f838d88e5946716ac2179bd7284c7', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'a3737335bec51de3f6721d2ebd59fa005d8bf3b3', 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: '403386bfcdb3933adefbbff420f237daa67c2480', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13385
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'b8f9ec799fc41d772075e4cf385cbb2805168fcd' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'ba47f6c267f218fddf7ef826806e3bd77a72d52f', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'e04c5a6f32318c61562edd6303e049294a3af437', 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: '0f3ec8318ff63e99860219c2f25d0b70068be1a3', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '59c7ba37271b7c8dfb09f8bc251160519adaa324', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'ba66d5bd4910f5f0e3afabb3856e55d9d8a1c734', 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
|
|
13357
13386
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13358
|
-
: undefined }, hAsync("div", { key: '
|
|
13387
|
+
: undefined }, hAsync("div", { key: 'fc7212709dc3ed1839226979c3cd3b123bd3c9af', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '49845c246a1bc03efc19cc2fb0d72f1d002edad6', class: {
|
|
13359
13388
|
"duet-pagination-page-button": true,
|
|
13360
13389
|
"duet-pagination-button-last": true,
|
|
13361
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13390
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '63003ee428957aabe687072ab56094d17d00c6a6', disabled: !!((this.current === this.totalPages &&
|
|
13362
13391
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13363
|
-
(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: '
|
|
13392
|
+
(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: '4017283c7ba18818612767cf4d1c940bb13bbaba', class: {
|
|
13364
13393
|
"duet-pagination-page-button": true,
|
|
13365
13394
|
"duet-pagination-button-last": true,
|
|
13366
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13395
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '9625bd8c9071ec35ed43439fbb84334e04f071da', disabled: (this.current === this.totalPages &&
|
|
13367
13396
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13368
13397
|
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 })))))));
|
|
13369
13398
|
}
|
|
@@ -13437,7 +13466,7 @@ class DuetParagraph {
|
|
|
13437
13466
|
const color = getColorByName(this.color);
|
|
13438
13467
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13439
13468
|
// are not announced when placed inside duet-modal
|
|
13440
|
-
return (hAsync(Host, { key: '
|
|
13469
|
+
return (hAsync(Host, { key: 'c40c5ba6cbe85a63b4175aaedcd83594adc10734', "aria-describedby": this.id }, hAsync("p", { key: '96d0dad61f9e9b74f6c0945723b401dc179c87df', id: this.id, class: {
|
|
13441
13470
|
"duet-paragraph": true,
|
|
13442
13471
|
"duet-paragraph-small": this.size === "small",
|
|
13443
13472
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13445,7 +13474,7 @@ class DuetParagraph {
|
|
|
13445
13474
|
"duet-m-0": this.margin === "none",
|
|
13446
13475
|
[this.variation]: true,
|
|
13447
13476
|
"duet-theme-turva": this.theme === "turva",
|
|
13448
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13477
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'b8d26076ea382a76379fb587c13f05eadb91da4e' }))));
|
|
13449
13478
|
}
|
|
13450
13479
|
get element() { return getElement(this); }
|
|
13451
13480
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15372,6 +15401,12 @@ class DuetPhoneInput {
|
|
|
15372
15401
|
set value(val) {
|
|
15373
15402
|
this._value = val;
|
|
15374
15403
|
}
|
|
15404
|
+
/**
|
|
15405
|
+
* This is a proxy for the enclosed native inputs validity
|
|
15406
|
+
*/
|
|
15407
|
+
get validity() {
|
|
15408
|
+
return this.duetInputElement.validity;
|
|
15409
|
+
}
|
|
15375
15410
|
/**t
|
|
15376
15411
|
* Component lifecycle events.
|
|
15377
15412
|
*/
|
|
@@ -15473,6 +15508,7 @@ class DuetPhoneInput {
|
|
|
15473
15508
|
"error": [1],
|
|
15474
15509
|
"tooltip": [1],
|
|
15475
15510
|
"value": [6145],
|
|
15511
|
+
"validity": [2064],
|
|
15476
15512
|
"listFirst": [1, "list-first"],
|
|
15477
15513
|
"language": [32],
|
|
15478
15514
|
"currentCountry": [32],
|
|
@@ -16840,6 +16876,11 @@ class DuetPopupMenu {
|
|
|
16840
16876
|
fi: "Suodata valikkoa",
|
|
16841
16877
|
sv: "Filtrera meny",
|
|
16842
16878
|
};
|
|
16879
|
+
this.filterResultCountLabel = {
|
|
16880
|
+
en: "items match filter",
|
|
16881
|
+
fi: "kohtaa vastaa suodatinta",
|
|
16882
|
+
sv: "menyalternativ matchar filtret",
|
|
16883
|
+
};
|
|
16843
16884
|
this.setOpenButton = (element) => {
|
|
16844
16885
|
if (!element) {
|
|
16845
16886
|
return;
|
|
@@ -16883,13 +16924,15 @@ class DuetPopupMenu {
|
|
|
16883
16924
|
const filterText = (_a = this.filterInput.value) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase();
|
|
16884
16925
|
const items = this.itemElements;
|
|
16885
16926
|
items.forEach(item => {
|
|
16927
|
+
var _a;
|
|
16886
16928
|
item.style.display =
|
|
16887
16929
|
!filterText ||
|
|
16888
16930
|
item.textContent.toLowerCase().includes(filterText) ||
|
|
16889
|
-
item.value.toLowerCase().includes(filterText)
|
|
16931
|
+
((_a = item.value) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(filterText))
|
|
16890
16932
|
? ""
|
|
16891
16933
|
: "none";
|
|
16892
16934
|
});
|
|
16935
|
+
this.filterResultCount = items.filter(i => i.style.display !== "none").length;
|
|
16893
16936
|
};
|
|
16894
16937
|
this.handleKeyDownOnFilter = (ev) => {
|
|
16895
16938
|
var _a;
|
|
@@ -16900,6 +16943,7 @@ class DuetPopupMenu {
|
|
|
16900
16943
|
this.open = false;
|
|
16901
16944
|
this.menuY = undefined;
|
|
16902
16945
|
this.menuX = undefined;
|
|
16946
|
+
this.filterResultCount = undefined;
|
|
16903
16947
|
this.language = getLanguage();
|
|
16904
16948
|
this.accessibleLabel = undefined;
|
|
16905
16949
|
this.accessibleRole = "menu";
|
|
@@ -17134,14 +17178,17 @@ class DuetPopupMenu {
|
|
|
17134
17178
|
overflowY: "auto",
|
|
17135
17179
|
height: this.popupMenuStyleHeight,
|
|
17136
17180
|
};
|
|
17137
|
-
return (hAsync(Host, { key: '
|
|
17181
|
+
return (hAsync(Host, { key: '4f4ca864cfb97bc6556bf03328bf67aebe9e87e8' }, hAsync("div", { key: 'e9b910938c461f74532f3bcf0c70ace1334dfeb2', ref: element => {
|
|
17138
17182
|
this.menuElement = element;
|
|
17139
17183
|
}, style: styles, class: {
|
|
17140
17184
|
open: this.open,
|
|
17141
17185
|
"duet-popup-menu-list": true,
|
|
17142
17186
|
"duet-theme-turva": this.theme === "turva",
|
|
17143
17187
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
17144
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '
|
|
17188
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '6c501ae153f306bad04eadbc02917c07f7beed3d' }, hAsync("duet-input", { key: '427f1ab729a887ca89925bbbf2aeb3e803c92428', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), hAsync("duet-visually-hidden", { key: '726ba29261adca2c956588370b1c41b79cd6fb68' }, hAsync("span", { key: '1ede14ac5d046b1d5b1a30e3ab58c3d3f19c09e4', role: "status" }, `
|
|
17189
|
+
${this.filterResultCount}/${this.itemElements.length}
|
|
17190
|
+
${this.filterResultCountLabel[this.language]}
|
|
17191
|
+
`)), hAsync("duet-spacer", { key: '1c1cfce92b76b59e5c5be5bb625da22768c979ec', size: "xx-small" }))), hAsync("slot", { key: '8490807b5f19ca1bb49f1e5432b20b3be5924844' }))));
|
|
17145
17192
|
}
|
|
17146
17193
|
get element() { return getElement(this); }
|
|
17147
17194
|
static get watchers() { return {
|
|
@@ -17170,6 +17217,7 @@ class DuetPopupMenu {
|
|
|
17170
17217
|
"open": [32],
|
|
17171
17218
|
"menuY": [32],
|
|
17172
17219
|
"menuX": [32],
|
|
17220
|
+
"filterResultCount": [32],
|
|
17173
17221
|
"language": [32],
|
|
17174
17222
|
"isOpen": [64],
|
|
17175
17223
|
"show": [64],
|
|
@@ -17250,11 +17298,11 @@ class DuetPopupMenuItem {
|
|
|
17250
17298
|
"duet-theme-turva": this.theme === "turva",
|
|
17251
17299
|
"active-descendant": this.activeDescendant,
|
|
17252
17300
|
};
|
|
17253
|
-
return (hAsync(Host, { key: '
|
|
17301
|
+
return (hAsync(Host, { key: 'ec9a97488880d6513ce756f9816356ab2a3ef1ae', role: this.accessibleRole }, hAsync(TagName, { key: '6bb037d35469526f830d2767f9b94aa3e401730a', 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: 'aeb1363d0e70572dcead578251332bc61047313b', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '815b720a77e1ff6a7ecceffa4d1a42a876c9ca5f', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '32a806ebff96ce81bd67c42ab95df5d170a6305c' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '0fd375db736e280b9c2157fadce9f8319328fe27', name: this.url && this.external
|
|
17254
17302
|
? actionNewWindowSmall.title
|
|
17255
17303
|
: this.active
|
|
17256
17304
|
? "messaging-checked-small"
|
|
17257
|
-
: 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: '
|
|
17305
|
+
: 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: '3a8c841ef1ec29f2174c1d62da75f692f73cb2fe', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
17258
17306
|
}
|
|
17259
17307
|
get element() { return getElement(this); }
|
|
17260
17308
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -17409,12 +17457,12 @@ class DuetPromoCard {
|
|
|
17409
17457
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
17410
17458
|
};
|
|
17411
17459
|
const TagName = this.url ? "a" : "div";
|
|
17412
|
-
return (hAsync(Host, { key: '
|
|
17460
|
+
return (hAsync(Host, { key: 'b73cdd4f3dcd554706a13aeaa706543b681529ec', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '76f17c86f64af2cea4a60ce9882f8e76bc475ab6', class: {
|
|
17413
17461
|
"duet-promo-card": true,
|
|
17414
17462
|
"duet-theme-turva": this.theme === "turva",
|
|
17415
17463
|
"no-bg-color": !this.backgroundColor,
|
|
17416
17464
|
"duet-promo-card-link": !!this.url,
|
|
17417
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
17465
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'db345f3d904fc72e3f25618c91ab3f30a0b9e4c7', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'ac5645fb64cf5872e0735ce3d97939e37fb10f0a', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'c82dc662a938ca4849089a048c57caa8efc54531', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'cd9ce432bdf6f8ffaa63796a258837e9136e1ea4', class: "pre-heading" }, hAsync("slot", { key: '257b9408b4489f1cc79f503473a8d458a3cb5456', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '1e93652845c4b65d0ab67a0e05889304064fd7b3', class: "heading" }, hAsync("duet-heading", { key: '9e40a46f24aadcee4d43fc36167ed434c2cc8e79', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'd230dbaecd853de2b4b58be416d720048b6ea43b' }, hAsync("slot", { key: '1f99efac6f9a6ebdf6e72066b50d3fe647dfc3f1', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'e61cf4abe59d58e15cefb7f7ff7aa573922154b0', class: "description" }, hAsync("duet-paragraph", { key: '9594eba29974b0176a2fc986df802c8a5afb43f1', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'e800d7bb777802912b16ad4f5c76bb7f9df8c9fe' }, hAsync("slot", { key: '709d27fb9d198c57c8ca8abbbaaedac0790483a8', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2a72594c99d4142f7b1f453df4e24ce794833370', class: "action" }, hAsync("slot", { key: '07f8ccc33355d4fc7be72c64fd758363f76f609e', name: "action" }))))))));
|
|
17418
17466
|
}
|
|
17419
17467
|
get element() { return getElement(this); }
|
|
17420
17468
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -18021,10 +18069,10 @@ class DuetRangeStepper {
|
|
|
18021
18069
|
* Always the last one in the class.
|
|
18022
18070
|
*/
|
|
18023
18071
|
render() {
|
|
18024
|
-
return (hAsync("div", { key: '
|
|
18072
|
+
return (hAsync("div", { key: 'fa2c2642d5a39d629ac91c1bba26a684b132847e', class: {
|
|
18025
18073
|
"duet-range-stepper": true,
|
|
18026
18074
|
"duet-theme-turva": this.theme === "turva",
|
|
18027
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
18075
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'b13479a4081d1c96598a9a6a155a7ba13bb571a7', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '929da802a06c142ef0bf763b8d1ef05ddf296c8a', 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: 'cb496f9a6d6776c1083ca280ad2770c6f8ca489b', 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: "" })));
|
|
18028
18076
|
}
|
|
18029
18077
|
get element() { return getElement(this); }
|
|
18030
18078
|
static get watchers() { return {
|
|
@@ -18053,7 +18101,7 @@ class DuetRangeStepper {
|
|
|
18053
18101
|
}; }
|
|
18054
18102
|
}
|
|
18055
18103
|
|
|
18056
|
-
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:
|
|
18104
|
+
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:210;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:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}: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-right:0;padding-left:2px;margin-inline:0;-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 .duet-scrollable-list.duet-scrollable-stretch{width:100%}: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}";
|
|
18057
18105
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
18058
18106
|
|
|
18059
18107
|
/**
|
|
@@ -18095,6 +18143,7 @@ class DuetScrollable {
|
|
|
18095
18143
|
this.padding = "none";
|
|
18096
18144
|
this.gap = "large";
|
|
18097
18145
|
this.selected = 0;
|
|
18146
|
+
this.stretch = false;
|
|
18098
18147
|
}
|
|
18099
18148
|
watchPropHandler(newValue) {
|
|
18100
18149
|
this.scrollToElement(newValue, "center");
|
|
@@ -18193,12 +18242,10 @@ class DuetScrollable {
|
|
|
18193
18242
|
else if (container.scrollLeft > 0) {
|
|
18194
18243
|
this.scrollPaneAtStart = false;
|
|
18195
18244
|
}
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
|
|
18199
|
-
|
|
18200
|
-
this.scrollPaneAtEnd = false;
|
|
18201
|
-
}
|
|
18245
|
+
// Round both values to handle sub-pixel precision issues
|
|
18246
|
+
const visibleContentWidth = Math.round(container.clientWidth + container.scrollLeft + this.getOverlayWidth());
|
|
18247
|
+
const totalContentWidth = Math.round(container.scrollWidth);
|
|
18248
|
+
this.scrollPaneAtEnd = visibleContentWidth >= totalContentWidth;
|
|
18202
18249
|
}
|
|
18203
18250
|
scrollToElement(index = this.currentIndex, inline) {
|
|
18204
18251
|
const elements = this.getScrollPaneElements();
|
|
@@ -18245,12 +18292,7 @@ class DuetScrollable {
|
|
|
18245
18292
|
this.scrollToElement(last + 1, "center");
|
|
18246
18293
|
}
|
|
18247
18294
|
getOverlayWidth() {
|
|
18248
|
-
|
|
18249
|
-
// working properly with turva theme. This should be properly fixed in the future.
|
|
18250
|
-
if (this.buttonPosition === "absolute") {
|
|
18251
|
-
return this.theme === "turva" ? 1 : 0;
|
|
18252
|
-
}
|
|
18253
|
-
return 10;
|
|
18295
|
+
return this.buttonPosition === "absolute" ? 0 : 10;
|
|
18254
18296
|
}
|
|
18255
18297
|
renderButton(direction) {
|
|
18256
18298
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
@@ -18286,25 +18328,26 @@ class DuetScrollable {
|
|
|
18286
18328
|
* Always the last one in the class.
|
|
18287
18329
|
*/
|
|
18288
18330
|
render() {
|
|
18289
|
-
return (hAsync(Host, { key: '
|
|
18331
|
+
return (hAsync(Host, { key: '13b04f9678d2d876b3813ff3be4400c6d3cb8706', class: {
|
|
18290
18332
|
"duet-theme-turva": this.theme === "turva",
|
|
18291
18333
|
"duet-theme-default": this.theme === "default",
|
|
18292
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
18334
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '5459a8a656904d8cf5930623b0590b533055be36', class: {
|
|
18293
18335
|
collapse: true,
|
|
18294
18336
|
hide: !this.needsScrolling && !this.collapsed,
|
|
18295
|
-
} }, hAsync("duet-button", { key: '
|
|
18337
|
+
} }, hAsync("duet-button", { key: '0e1a7e9dd6e442d653ce8dbdc19831b3299d47c5', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '8c534bbeea9b0f15915958ae3947ca479a141a07', name: "collapse-button-label" })))), hAsync("div", { key: '333736ff3035d3ba6e12b6f73c38fad12af6ec6a', class: {
|
|
18296
18338
|
"duet-scrollable-items": true,
|
|
18297
18339
|
buttons: this.buttons,
|
|
18298
18340
|
center: this.center,
|
|
18299
18341
|
"duet-theme-turva": this.theme === "turva",
|
|
18300
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
18342
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '78c52fc83f55f4e9ab7bd9a3d12ec2c7a88f2e3f', class: {
|
|
18301
18343
|
"duet-scrollable-list": true,
|
|
18302
18344
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
18303
18345
|
[`gap-${this.gap}`]: true,
|
|
18304
18346
|
collapsed: this.collapsed,
|
|
18305
18347
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
18306
18348
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
18307
|
-
|
|
18349
|
+
"duet-scrollable-stretch": this.stretch,
|
|
18350
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '95205e7b789573b3f5bfa2e542d81e2068968e93' })), this.buttons && this.renderButton("right"))));
|
|
18308
18351
|
}
|
|
18309
18352
|
get element() { return getElement(this); }
|
|
18310
18353
|
static get watchers() { return {
|
|
@@ -18325,6 +18368,7 @@ class DuetScrollable {
|
|
|
18325
18368
|
"padding": [1],
|
|
18326
18369
|
"gap": [1],
|
|
18327
18370
|
"selected": [1026],
|
|
18371
|
+
"stretch": [4],
|
|
18328
18372
|
"scrollPaneAtStart": [32],
|
|
18329
18373
|
"needsScrolling": [32],
|
|
18330
18374
|
"scrollPaneAtEnd": [32],
|
|
@@ -18351,13 +18395,13 @@ class DuetSectionLayout {
|
|
|
18351
18395
|
* Always the last one in the class.
|
|
18352
18396
|
*/
|
|
18353
18397
|
render() {
|
|
18354
|
-
return (hAsync(Host, { key: '
|
|
18398
|
+
return (hAsync(Host, { key: '3cdda64194aabb0bf4cef5f273b4eb35d956c63a', class: {
|
|
18355
18399
|
"duet-middle": this.middle,
|
|
18356
18400
|
"duet-ie": isInternetExplorer(),
|
|
18357
|
-
} }, hAsync("div", { key: '
|
|
18401
|
+
} }, hAsync("div", { key: '167f4d34166d423a1ece6a4699ddf139e54f1c9f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '156a1bfcfb46fecb6c73120927bae1788efd32a1', class: {
|
|
18358
18402
|
"duet-layout": true,
|
|
18359
18403
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
18360
|
-
} }, hAsync("section", { key: '
|
|
18404
|
+
} }, hAsync("section", { key: '4aa12807146fee156f174be8670802f0d79f9974', class: "duet-main" }, hAsync("slot", { key: 'b3fb02f84266a65c67156bef474f9f6f2531623f' }))))));
|
|
18361
18405
|
}
|
|
18362
18406
|
get element() { return getElement(this); }
|
|
18363
18407
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -18600,9 +18644,9 @@ class DuetShapedImage {
|
|
|
18600
18644
|
const style = {
|
|
18601
18645
|
"--rotation": `${this.rotation}deg`,
|
|
18602
18646
|
};
|
|
18603
|
-
return (hAsync(Host, { key: '
|
|
18647
|
+
return (hAsync(Host, { key: '1014997f5cd5d7115313762e6ba18827e1a10f15', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '46afc61323d3dd569cd651a4720693cab08addfc', class: {
|
|
18604
18648
|
"shaped-image": true,
|
|
18605
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
18649
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '3f2dd1fff15551bc6477b2d837d6174777f3497a', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '77941a17559185e4068b39b3f72cce8d3059de99', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
18606
18650
|
}
|
|
18607
18651
|
static get style() { return DuetShapedImageStyle0; }
|
|
18608
18652
|
static get cmpMeta() { return {
|
|
@@ -18710,12 +18754,12 @@ class DuetShowMore {
|
|
|
18710
18754
|
* Always the last one of the class.
|
|
18711
18755
|
*/
|
|
18712
18756
|
render() {
|
|
18713
|
-
return (hAsync(Host, { key: '
|
|
18757
|
+
return (hAsync(Host, { key: '27f636be53efea5d69dd3bc537087167b463b8e2' }, hAsync("div", { key: '4faa618e7991c20efcea923a14a462625bc9c7a1', class: {
|
|
18714
18758
|
"duet-show-more": true,
|
|
18715
18759
|
"duet-theme-turva": this.theme === "turva",
|
|
18716
18760
|
"duet-m-0": this.margin === "none",
|
|
18717
18761
|
open: this.open,
|
|
18718
|
-
} }, hAsync("div", { key: '
|
|
18762
|
+
} }, hAsync("div", { key: '7b411cbfaac4891d278a40bcc55ea191699c59c4', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '56a5a7a895ad551d195b2460853ffed16074d6d4', class: { "slotted-content": true } }, hAsync("slot", { key: '77d2f9c3a4bd70b70955833703783aeb378adc84' }))), hAsync("duet-button", { key: '090cffb717634d720c36011499331772b94ef4f3', 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: '7e21c6b742df95374d04e6b8345115fbd5e38189' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
18719
18763
|
}
|
|
18720
18764
|
get element() { return getElement(this); }
|
|
18721
18765
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -19212,16 +19256,16 @@ class DuetSlideout {
|
|
|
19212
19256
|
};
|
|
19213
19257
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
19214
19258
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19215
|
-
return (hAsync(Host, { key: '
|
|
19259
|
+
return (hAsync(Host, { key: 'dcefec6bb011072769a403f67849797e5fa8f3ae' }, hAsync("div", { key: 'd498c18cb535e4750ce2b9af9d19a7e2197c8a0a', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '032de240d334b8653caab29e94d72abafa1807fc', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '48ed352b83ed43e36bc3689f5606500b549fd871', 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: {
|
|
19216
19260
|
dialog: true,
|
|
19217
19261
|
hidden: !this.open,
|
|
19218
19262
|
modal: this.modal,
|
|
19219
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19263
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b434b224c99a059a8ac6f764eaa6a37a8aefd142', moveFocusTo: this.closeButton }), hAsync("div", { key: 'be5f535c7ed0347040bedca4a4b4834666d6c327', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'f74dce46123f8bb14f06a5a69bea2de111f53a69', class: "top" }, hAsync("button", { key: '1054e241cbd47253774aeb9fa51631ae94688592', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
19220
19264
|
"slideout-close": true,
|
|
19221
19265
|
active: this.open,
|
|
19222
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
19266
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '41709242489fff542f2db4560557795af2620408', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'fa2eeb005c1d625af0c792b735128a22fb33169c', class: "sticky-header" }, hAsync("slot", { key: 'c2754ffd21e986a6038fb5cac5fd50f8823cf933', name: "sticky-header" }))), hAsync("div", { key: '5a42ff8d5bc2a3e3749460bc71b6792530295993', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
19223
19267
|
items: true,
|
|
19224
|
-
} }, hAsync("slot", { key: '
|
|
19268
|
+
} }, hAsync("slot", { key: 'ef27791ecc42176dffccc3b5aa9bab77a736d4fb' })), hAsync(FocusGuard, { key: '94f2649dff2bcebaa1b716aa4bd15e472d1730e8', moveFocusTo: this.closeButton })))));
|
|
19225
19269
|
}
|
|
19226
19270
|
get element() { return getElement(this); }
|
|
19227
19271
|
static get watchers() { return {
|
|
@@ -19288,7 +19332,7 @@ class DuetSlideoutLang {
|
|
|
19288
19332
|
*/
|
|
19289
19333
|
render() {
|
|
19290
19334
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
19291
|
-
return (hAsync(Host, { key: '
|
|
19335
|
+
return (hAsync(Host, { key: '26940a9efe3228ad051940cfb903980d683cf614' }, hAsync("div", { key: 'a031d990d2bf459e73678e682d1952e7225a67e7', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '7ff54cdd19c444cb9d8c8a67b5e563df53f13e0b', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '2c0a83341839a6953c176fd68882dbd05151948a' }))));
|
|
19292
19336
|
}
|
|
19293
19337
|
get element() { return getElement(this); }
|
|
19294
19338
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -19344,12 +19388,12 @@ class DuetSlideoutLink {
|
|
|
19344
19388
|
* Always the last one in the class.
|
|
19345
19389
|
*/
|
|
19346
19390
|
render() {
|
|
19347
|
-
return (hAsync(Host, { key: '
|
|
19391
|
+
return (hAsync(Host, { key: 'e58e7e022f359b763fff57c4794d9581204ae9f1' }, hAsync("a", { key: 'b02485b104f43923bb51c25449ad782669da2a3f', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
19348
19392
|
"duet-slideout-link": true,
|
|
19349
19393
|
"duet-theme-turva": this.theme === "turva",
|
|
19350
19394
|
active: this.active,
|
|
19351
19395
|
[this.size]: true,
|
|
19352
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
19396
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: 'f2a699889f3e342915733dc322f5607d4dc1b381', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '67777983021ac91e35b68e9b8bdb6f0b56279107', class: "label" }, hAsync("span", { key: 'd0ac662968dec767e9a095843f32f7dcea698190' }, hAsync("span", { key: '1e75583ea91cbe3bf1ff4720f9b2d9efc96be742', class: "label-container" }, hAsync("span", { key: 'c8be5ead58f8ae2669a818f2d552c91d2f95804f', class: "label-content" }, hAsync("slot", { key: 'fd51bd2d2971917a7259abc816268bfa38cb439d' })), this.external && (hAsync("duet-icon", { key: '7ef7af0a841d9241becd86c1364c89f6cae59c6a', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: 'fb1da47dfd02a661c7286b0c523a8c3ac5f83cf1', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'c4f51f17072cd66112993ed45421a5a8ccb59058', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
19353
19397
|
}
|
|
19354
19398
|
get element() { return getElement(this); }
|
|
19355
19399
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -19512,23 +19556,23 @@ class DuetSlideoutPanel {
|
|
|
19512
19556
|
};
|
|
19513
19557
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19514
19558
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
19515
|
-
return (hAsync(Host, { key: '
|
|
19559
|
+
return (hAsync(Host, { key: '2b36b05ce039386747c09abf0e5323c48b5e0488' }, hAsync("div", { key: 'd58f2b9732c3ab38b13bd4f0439efe9012b9d515', class: {
|
|
19516
19560
|
"duet-slideout-panel": true,
|
|
19517
19561
|
"duet-theme-turva": this.theme === "turva",
|
|
19518
19562
|
active: this.open,
|
|
19519
|
-
} }, hAsync("button", { key: '
|
|
19563
|
+
} }, hAsync("button", { key: '529140519e744fd8e36ff8afea01ca18938414b0', 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: {
|
|
19520
19564
|
link: true,
|
|
19521
19565
|
active: this.active,
|
|
19522
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
19566
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '4f8d0249d6221a523a3a0b3836933b432829d8c8', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '230b927f9771d593709e791c14618db90d7aa895', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '33617258b158f4f59b6e9655b058a84a3ee47af1', class: "duet-slideout-badge" }))), hAsync("span", { key: '7da950982ae9adb1e9d37515b3e271e506836d41', class: "label" }, hAsync("span", { key: '6046719acd63d608ed7a2a47452f5dba66c99d8b', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '4d7b76d2d25171390101ef25f431af7c8ef1a008', name: "label" })), hAsync("duet-icon", { key: 'd9c3ae0d685375bc29e8901f2c41bf8e2028a1db', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '4e5a633d2f18f22bcf2cb69252f8f497def373fe', ref: element => (this.dialog = element), class: {
|
|
19523
19567
|
dialog: true,
|
|
19524
19568
|
hidden: !this.open,
|
|
19525
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19569
|
+
}, style: styles }, hAsync(FocusGuard, { key: '9f810bf575701688ab08f60726de6da69bc12635', moveFocusTo: this.closeButton }), hAsync("div", { key: '13828354ebc908614edfa649b633c78b5ca040d0', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'd3a965830f5cb2f31d767b925c9f35470dab844d', class: "top" }, hAsync("button", { key: 'c07c0504cb16358d05e42cce8554b99f034d07b9', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
19526
19570
|
back: true,
|
|
19527
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
19571
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '521c0a3724fe426035c1c941752d1498e41034be', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'e9727f3f182d3bbfd2aa5f65d3f750b0e1da6131' }, this.label.innerHTML), hAsync("button", { key: '6132ffcdc5f194d857698b0a8e4bb6b725113af2', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '2aa67d1f3468592b7886bafa0b168db8a8156b9b', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'bc7eec6649885a979ed139c6742de251672a9821', class: "sticky-header" }, hAsync("slot", { key: 'b9983428eb3d8232c5d68154a8bb200cd4cc7e2a', name: "sticky-header" }))), hAsync("div", { key: '20ea66396b8e7d802a44d36c7aa326294e7a95cb', tabindex: "-1", role: "menu",
|
|
19528
19572
|
//TODO: slideout menu fades out, needs to be instant
|
|
19529
19573
|
id: "menu", "aria-labelledby": "button", class: {
|
|
19530
19574
|
items: true,
|
|
19531
|
-
} }, hAsync("slot", { key: '
|
|
19575
|
+
} }, hAsync("slot", { key: '625703e33ae89586ed068b86912c37721035c645' })), hAsync(FocusGuard, { key: 'e34b98e036503d08b5d653169fbff5bd8dea058f', moveFocusTo: this.closeButton })))));
|
|
19532
19576
|
}
|
|
19533
19577
|
get element() { return getElement(this); }
|
|
19534
19578
|
static get watchers() { return {
|
|
@@ -19598,16 +19642,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
19598
19642
|
* Always the last one in the class.
|
|
19599
19643
|
*/
|
|
19600
19644
|
render() {
|
|
19601
|
-
return (hAsync(Host, { key: '
|
|
19645
|
+
return (hAsync(Host, { key: '35bf0d91a006cd0fb6a50012f5f48b8b84d5ecac' }, hAsync("div", { key: 'aebfdab784d0a2921fc1f5b461b881c241ef5066', class: {
|
|
19602
19646
|
"duet-slideout-panel-dropdown": true,
|
|
19603
19647
|
"duet-theme-turva": this.theme === "turva",
|
|
19604
19648
|
active: this.open,
|
|
19605
|
-
} }, hAsync("button", { key: '
|
|
19649
|
+
} }, hAsync("button", { key: 'f3174e8f9f070b3c8cd4da9e6db8b695982f236b', 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: {
|
|
19606
19650
|
active: this.active,
|
|
19607
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
19651
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '02b31af38cf8ef821d9bd8b83ede34c900b58c41', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '1244f292f215410cba0750e205392e5d5fcd9ab7', class: "label" }, hAsync("slot", { key: 'a55379905e5ec24ec617910fccdba8f351494d11', name: "label" }), hAsync("duet-icon", { key: 'c63d4943d43087e6ec52e7e54f8a4211daebeadd', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '31e1e8a311b9ee173852bcbf3733cc846d7f87da', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19608
19652
|
items: true,
|
|
19609
19653
|
hidden: !this.open,
|
|
19610
|
-
} }, hAsync("slot", { key: '
|
|
19654
|
+
} }, hAsync("slot", { key: 'b7365965b0950b899e494162007d51130444478d' })))));
|
|
19611
19655
|
}
|
|
19612
19656
|
get element() { return getElement(this); }
|
|
19613
19657
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -19642,7 +19686,7 @@ class DuetSpacer {
|
|
|
19642
19686
|
* Always the last one in the class.
|
|
19643
19687
|
*/
|
|
19644
19688
|
render() {
|
|
19645
|
-
return (hAsync(Host, { key: '
|
|
19689
|
+
return (hAsync(Host, { key: '8f58f01a032554c469822d7f0529e3a1a5f5bc72', class: {
|
|
19646
19690
|
"duet-spacer": true,
|
|
19647
19691
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
19648
19692
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -19693,11 +19737,11 @@ class DuetSpinner {
|
|
|
19693
19737
|
*/
|
|
19694
19738
|
render() {
|
|
19695
19739
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
19696
|
-
return (hAsync(Host, { key: '
|
|
19740
|
+
return (hAsync(Host, { key: 'dcb6140eeae0e31c85319ee668193865ba6a5e57', class: {
|
|
19697
19741
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
19698
19742
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
19699
19743
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
19700
|
-
} }, hAsync("div", { key: '
|
|
19744
|
+
} }, hAsync("div", { key: 'd3d38db9f52dbd35af639463194130c6c265d24d', class: {
|
|
19701
19745
|
"duet-spinner": true,
|
|
19702
19746
|
[this.size]: true,
|
|
19703
19747
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -19723,13 +19767,13 @@ class DuetStatusIcon {
|
|
|
19723
19767
|
registerInstance(this, hostRef);
|
|
19724
19768
|
this.bg = {
|
|
19725
19769
|
default: {
|
|
19726
|
-
default: "
|
|
19770
|
+
default: "color_lt_blue_200",
|
|
19727
19771
|
success: "color_success_200",
|
|
19728
19772
|
warning: "color_warning_200",
|
|
19729
|
-
danger: "
|
|
19773
|
+
danger: "color_danger_200",
|
|
19730
19774
|
},
|
|
19731
19775
|
strong: {
|
|
19732
|
-
default: "
|
|
19776
|
+
default: "color_lt_blue_700",
|
|
19733
19777
|
success: "color_success_700",
|
|
19734
19778
|
warning: "color_warning_500",
|
|
19735
19779
|
danger: "color_danger_600",
|
|
@@ -19737,10 +19781,10 @@ class DuetStatusIcon {
|
|
|
19737
19781
|
};
|
|
19738
19782
|
this.color = {
|
|
19739
19783
|
default: {
|
|
19740
|
-
default: "
|
|
19784
|
+
default: "color_lt_blue_800",
|
|
19741
19785
|
success: "color_success_800",
|
|
19742
19786
|
warning: "color_warning_800",
|
|
19743
|
-
danger: "
|
|
19787
|
+
danger: "color_danger_800",
|
|
19744
19788
|
},
|
|
19745
19789
|
strong: {
|
|
19746
19790
|
default: "color_lt_blue_100",
|
|
@@ -19786,10 +19830,10 @@ class DuetStatusIcon {
|
|
|
19786
19830
|
}
|
|
19787
19831
|
}
|
|
19788
19832
|
render() {
|
|
19789
|
-
return (hAsync(Host, { key: '
|
|
19833
|
+
return (hAsync(Host, { key: '62f4a599636b2d283b9f41c94c9b6a1425e2c1a4', class: {
|
|
19790
19834
|
[`duet-status-icon-${this.variation}`]: true,
|
|
19791
19835
|
"duet-strong-bg": this.strong,
|
|
19792
|
-
} }, hAsync("duet-icon", { key: '
|
|
19836
|
+
} }, hAsync("duet-icon", { key: '8223a11f889eeb219bd27b1c70601904bca84ade', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
19793
19837
|
}
|
|
19794
19838
|
static get cmpMeta() { return {
|
|
19795
19839
|
"$flags$": 9,
|
|
@@ -20017,7 +20061,7 @@ class DuetStepper {
|
|
|
20017
20061
|
* Always the last one in the class.
|
|
20018
20062
|
*/
|
|
20019
20063
|
render() {
|
|
20020
|
-
return (hAsync(Host, { key: '
|
|
20064
|
+
return (hAsync(Host, { key: 'd8655560066e926969cdbfc73ec98098886dbd5d', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '664fc460cb80dc283a4569bd43466fea99d9611b', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '023543f1d0738023d8841a6bd4755662d63fffcd', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'c7d59ff95b0a833472f364bace7b06b9c292545c' }))));
|
|
20021
20065
|
}
|
|
20022
20066
|
get element() { return getElement(this); }
|
|
20023
20067
|
static get watchers() { return {
|
|
@@ -20162,19 +20206,19 @@ class DuetSubmenuBar {
|
|
|
20162
20206
|
* Always the last one in the class.
|
|
20163
20207
|
*/
|
|
20164
20208
|
render() {
|
|
20165
|
-
return (hAsync(Host, { key: '
|
|
20209
|
+
return (hAsync(Host, { key: '2720db892c55577581be1f5cff69e6b56d0eddb1' }, hAsync("nav", { key: '6450c2d32c229ffc2cdefffaf4d0824c927f2dfe', class: {
|
|
20166
20210
|
"duet-submenu-bar": true,
|
|
20167
20211
|
"duet-theme-turva": this.theme === "turva",
|
|
20168
20212
|
hidden: this.hidden,
|
|
20169
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
20213
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: 'fbf58c54a86a16f1c9c9b018800e74dc86ad7827', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
20170
20214
|
active: this.open,
|
|
20171
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
20215
|
+
}, onClick: this.onClick }, hAsync("span", { key: '95c4226bedf3122965ef044122688e824788fad4', class: "label" }, hAsync("slot", { key: '93a3fb333e252ee09987a9832a782a86dd15e13c', name: "label" }), hAsync("duet-icon", { key: '125465c2c40457117a28f562c60eb2b63ae061ad', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '4d23eea3732698f64ec388a4c65d29016c4b0b47', class: {
|
|
20172
20216
|
"menu-container": true,
|
|
20173
20217
|
hidden: !this.open,
|
|
20174
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
20218
|
+
}, role: "presentation" }, hAsync("div", { key: 'cedb273340657fe22fdcbd234b632079ba8bae94', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
20175
20219
|
items: true,
|
|
20176
20220
|
hidden: !this.open,
|
|
20177
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
20221
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'c0c2a1cdea75e574b2a5136164422716db80e020', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '43c189da567108214e33bd29bd5ecadf396c3be4' }), hAsync("div", { key: '4e7ee2bf92b8446dbee5ac9e81a6cf6c4e424950', class: "list-padding" }))), hAsync("duet-overlay", { key: 'df603367a1254cd933205e844295693c5d40e7b5', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
20178
20222
|
}
|
|
20179
20223
|
get element() { return getElement(this); }
|
|
20180
20224
|
static get watchers() { return {
|
|
@@ -20295,18 +20339,18 @@ class DuetSubmenuBarDropdown {
|
|
|
20295
20339
|
* Always the last one in the class.
|
|
20296
20340
|
*/
|
|
20297
20341
|
render() {
|
|
20298
|
-
return (hAsync(Host, { key: '
|
|
20342
|
+
return (hAsync(Host, { key: '1eb547e5709ea63b23354ca9c59b1b19c038c102', role: "listitem" }, hAsync("div", { key: '570a652c6c926ccebcb1a9541fd676558a2239a4', class: {
|
|
20299
20343
|
"duet-submenu-bar-dropdown": true,
|
|
20300
20344
|
"duet-theme-turva": this.theme === "turva",
|
|
20301
20345
|
open: this.open,
|
|
20302
20346
|
active: this.active,
|
|
20303
|
-
} }, hAsync("button", { key: '
|
|
20347
|
+
} }, hAsync("button", { key: 'cb6806df3c0914e15d8b5fdfa96cdaba6b36ad6d', 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: {
|
|
20304
20348
|
open: this.open,
|
|
20305
20349
|
active: this.active,
|
|
20306
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20350
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '3c866f7cb7ccf04b91b02bd01fa4a2e57462bc10', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'a5aa098f80c23566bb2c91b50ce002a36c18a0ba', class: "label" }, hAsync("span", { key: 'dbc5f7743345200a326a2367107b0b1fa3245ded', class: "label-text" }, hAsync("slot", { key: '5da6e5fcef0e333fe29fb08b72696251cb067436', name: "label" })), hAsync("duet-icon", { key: '875a3ffcc5d12b13e2d52fc338373c160f77939a', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '0d53fb12a29c3ef496d588e07565c47bf07c9fee', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20307
20351
|
items: true,
|
|
20308
20352
|
hidden: !this.open,
|
|
20309
|
-
} }, hAsync("slot", { key: '
|
|
20353
|
+
} }, hAsync("slot", { key: 'aca1769900ed458bdfd1e8da0bd6cd516b0026db' })))));
|
|
20310
20354
|
}
|
|
20311
20355
|
get element() { return getElement(this); }
|
|
20312
20356
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -20358,12 +20402,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
20358
20402
|
* Always the last one in the class.
|
|
20359
20403
|
*/
|
|
20360
20404
|
render() {
|
|
20361
|
-
return (hAsync(Host, { key: '
|
|
20405
|
+
return (hAsync(Host, { key: '8e171bfdd3a97a208d76852cad10497303cc6a41' }, hAsync("a", { key: '6ef3bedf1b242e3564a6a32b5e564e50c0ca6e08', class: {
|
|
20362
20406
|
"duet-submenu-bar-dropdown-link": true,
|
|
20363
20407
|
"duet-theme-turva": this.theme === "turva",
|
|
20364
20408
|
highlight: this.highlight,
|
|
20365
20409
|
active: this.active,
|
|
20366
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20410
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '696a5c14ddf44486ccd7ae685987d3ae73819eda', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '0066ac29350ba089295585f001dde093e303028b', class: "label-container" }, hAsync("span", { key: '003bfe108d7aa853d32238e6b888587965e63710', class: "label" }, hAsync("slot", { key: '82c97684842fa6839700732f1bc75ef2b7eeda68' })), this.caret && hAsync("duet-icon", { key: 'e85bc1b85802155eb3044d8ab5c78d7e4e8a247b', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'ba3841ab9bd427fb8b9b31fb1f9340b59afd2949', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20367
20411
|
}
|
|
20368
20412
|
get element() { return getElement(this); }
|
|
20369
20413
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -20437,7 +20481,7 @@ class DuetSubmenuBarItem {
|
|
|
20437
20481
|
render() {
|
|
20438
20482
|
const TagName = this.url ? "a" : "button";
|
|
20439
20483
|
const role = this.url ? "link" : "button";
|
|
20440
|
-
return (hAsync(Host, { key: '
|
|
20484
|
+
return (hAsync(Host, { key: 'fcd533d6b3dfc93e0e759de65ecb3454a157d32f', role: "listitem" }, hAsync(TagName, { key: '0ca1f847b9660fe205bf77e5bbe78a9f7c8616df', 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: '3f0da6b4b7ef1b9b6630a170fd6175125c849dd4', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'c8406d5e73d587f29c3b8c5b09f2522c70fd4ea8', class: "label" }, hAsync("span", { key: '7d6a4ad4c5358a5c16d4986946df79dcc040633c', class: "label-text" }, hAsync("slot", { key: '3e615ac54c970f4f3576c2dd2451d93f1bb06fd1' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'ce7aa0ea2fc8cecc831ecf940a2aca520b420c93', class: {
|
|
20441
20485
|
"trailing-icon": !!this.trailingIcon,
|
|
20442
20486
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20443
20487
|
"external-icon": !!this.external,
|
|
@@ -20498,7 +20542,7 @@ class DuetSubmenuBarLink {
|
|
|
20498
20542
|
* Always the last one in the class.
|
|
20499
20543
|
*/
|
|
20500
20544
|
render() {
|
|
20501
|
-
return (hAsync(Host, { key: '
|
|
20545
|
+
return (hAsync(Host, { key: 'b569ba8e1407349d04924791421693d47d99c224', role: "listitem" }, hAsync("a", { key: '632ba619dd762a3041bf7c17d2aa02d18d9c7033', 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: 'f69a20105e32823478e19579230083c4b08e97ac', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '53b5b5dc9e1f66785096f307bb980aa734cbb67c', class: "label" }, hAsync("slot", { key: '937a94eda35d6fbb713f4a9b5073778ba6cb2e23' })))));
|
|
20502
20546
|
}
|
|
20503
20547
|
get element() { return getElement(this); }
|
|
20504
20548
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -20638,7 +20682,7 @@ class DuetTab {
|
|
|
20638
20682
|
}; }
|
|
20639
20683
|
}
|
|
20640
20684
|
|
|
20641
|
-
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)}";
|
|
20685
|
+
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}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:\"\";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@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-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.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:rgba(199, 202, 207, 0.8)}.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:205;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}: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}.duet-tab-variation-default .duet-tab-button{z-index:200;padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(62, 84, 102);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);transition:none}.duet-tab-variation-default .duet-tab-button.selected::before{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.selected:focus-visible{outline:2px solid rgba(0, 119, 179, 0.8);outline-offset:-5px;box-shadow:none !important}.duet-tab-variation-default .duet-tab-button.selected:focus-visible::before{height:0}.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(30, 45, 59);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-tab-variation-default .duet-tab-group-fill-space .duet-tab-button{z-index:200}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-theme-turva.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button::before{height:3px}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(71, 78, 101)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(23, 28, 58);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::before{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){z-index:200;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){z-index:200;color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:focus-visible{border-color:rgb(222, 224, 228);outline-color:rgba(199, 202, 207, 0.8)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(81, 105, 123);border-width:0;border-bottom:2px solid transparent;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);border-bottom:2px solid rgb(0, 119, 179)}.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(71, 78, 101)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(45, 52, 79);border-bottom:2px solid rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(23, 28, 58);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)}";
|
|
20642
20686
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
20643
20687
|
|
|
20644
20688
|
/**
|
|
@@ -20716,6 +20760,8 @@ class DuetTabGroup {
|
|
|
20716
20760
|
this.setTabIndex = true;
|
|
20717
20761
|
this.tabChangeConfirm = false;
|
|
20718
20762
|
this.switchLargeBreakpoint = "small";
|
|
20763
|
+
this.fillSpace = false;
|
|
20764
|
+
this.stretch = false;
|
|
20719
20765
|
}
|
|
20720
20766
|
/**
|
|
20721
20767
|
* Component lifecycle events.
|
|
@@ -20848,23 +20894,28 @@ class DuetTabGroup {
|
|
|
20848
20894
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
20849
20895
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
20850
20896
|
}, 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))));
|
|
20851
|
-
return (hAsync("div", { key: '
|
|
20897
|
+
return (hAsync("div", { key: 'b7f2848d57cafb3d41287f90b8c48b6870ca6e02', class: {
|
|
20852
20898
|
"duet-tab-group": true,
|
|
20853
20899
|
"duet-theme-turva": this.theme === "turva",
|
|
20854
20900
|
[variationClass]: true,
|
|
20855
20901
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
20856
20902
|
"duet-tab-group-scrolls": true,
|
|
20857
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20903
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'd96384958ba83c00c34e4e49d08ea6d90ace8b96', role: "tablist", class: {
|
|
20858
20904
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
20859
20905
|
"duet-tab-group-tabs": true,
|
|
20860
20906
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
20907
|
+
"duet-tab-group-fill-space": this.fillSpace && !this.stretch && this.variation === "default",
|
|
20908
|
+
"duet-tab-group-stretch": this.stretch,
|
|
20861
20909
|
}, ref: el => {
|
|
20862
20910
|
this.tabsContainer = el;
|
|
20863
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("
|
|
20911
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
20912
|
+
"duet-tab-group-scrollable-wrapper": true,
|
|
20913
|
+
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
20914
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '1af41aa98fb13ebd5fb4f8913a8ae2a990007271', class: {
|
|
20864
20915
|
"duet-tab-group-content": true,
|
|
20865
20916
|
"duet-m-0": this.margin === "none",
|
|
20866
20917
|
"checked-group-content": this.variation === "checked",
|
|
20867
|
-
} }, hAsync("slot", { key: '
|
|
20918
|
+
} }, hAsync("slot", { key: '2a232778878cbcd955bf24d008384d1dc02659e9' }))));
|
|
20868
20919
|
}
|
|
20869
20920
|
get element() { return getElement(this); }
|
|
20870
20921
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -20887,6 +20938,8 @@ class DuetTabGroup {
|
|
|
20887
20938
|
"setTabIndex": [4, "set-tab-index"],
|
|
20888
20939
|
"tabChangeConfirm": [4, "tab-change-confirm"],
|
|
20889
20940
|
"switchLargeBreakpoint": [1, "switch-large-breakpoint"],
|
|
20941
|
+
"fillSpace": [4, "fill-space"],
|
|
20942
|
+
"stretch": [4],
|
|
20890
20943
|
"tabs": [32],
|
|
20891
20944
|
"selected": [32],
|
|
20892
20945
|
"openTab": [64],
|
|
@@ -20969,7 +21022,7 @@ class DuetTable {
|
|
|
20969
21022
|
}
|
|
20970
21023
|
}
|
|
20971
21024
|
render() {
|
|
20972
|
-
return (hAsync(Host, { key: '
|
|
21025
|
+
return (hAsync(Host, { key: '27ca97cd0ab8838a914fad68c44307707b13c646', class: {
|
|
20973
21026
|
[`duet-table-${this.variation}`]: true,
|
|
20974
21027
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
20975
21028
|
// sticky only valid when in regular table layout
|
|
@@ -20978,7 +21031,7 @@ class DuetTable {
|
|
|
20978
21031
|
"duet-m-0": this.margin === "none",
|
|
20979
21032
|
"duet-theme-turva": this.theme === "turva",
|
|
20980
21033
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
20981
|
-
} }, hAsync("slot", { key: '
|
|
21034
|
+
} }, hAsync("slot", { key: 'ef1fc8226a4cbf04cac71ba4e5a9968791806281' })));
|
|
20982
21035
|
}
|
|
20983
21036
|
get element() { return getElement(this); }
|
|
20984
21037
|
static get watchers() { return {
|
|
@@ -21360,11 +21413,11 @@ class DuetToolbar {
|
|
|
21360
21413
|
: this.variation === "secondary"
|
|
21361
21414
|
? "secondary"
|
|
21362
21415
|
: "default";
|
|
21363
|
-
return (hAsync(Host, { key: '
|
|
21416
|
+
return (hAsync(Host, { key: '5d1928ecfa31b291fb49392ed2a925b7c44f874c' }, hAsync("nav", { key: '77ed3f9e5d74496b37eb2d2cae82ed1b1bf41a27', class: {
|
|
21364
21417
|
"duet-toolbar": true,
|
|
21365
21418
|
"duet-theme-turva": this.theme === "turva",
|
|
21366
21419
|
[variation]: true,
|
|
21367
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21420
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '2dee9cb750eeff0f3503f7cc6089e099121846bf', class: "container" }, hAsync("div", { key: 'a2ce0113b8f5449a6e9444d2c7f7f236ef1453c7', class: "list", role: "list" }, hAsync("slot", { key: '0cb2afde21b99b45b1c77342373646c30bc4a596', name: "left" })), hAsync("div", { key: 'fd0b99b6894243e88baff62fdc90afb219f098ea', class: "list", role: "list" }, hAsync("slot", { key: '3a923f1f78fedb5a60d267d1631a4c2bd2fa62c0', name: "right" }))))));
|
|
21368
21421
|
}
|
|
21369
21422
|
get element() { return getElement(this); }
|
|
21370
21423
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -21432,18 +21485,18 @@ class DuetToolbarDropdown {
|
|
|
21432
21485
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
21433
21486
|
}
|
|
21434
21487
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21435
|
-
return (hAsync(Host, { key: '
|
|
21488
|
+
return (hAsync(Host, { key: '8b511c738a8995c5a277b0614abeead7e2c64643', role: "listitem" }, hAsync("div", { key: '923faa507cfc2540840b56073010bec405c42e43', class: {
|
|
21436
21489
|
"duet-toolbar-dropdown": true,
|
|
21437
21490
|
"duet-theme-turva": this.theme === "turva",
|
|
21438
21491
|
[itemsAlign]: true,
|
|
21439
21492
|
[variation]: true,
|
|
21440
|
-
} }, hAsync("button", { key: '
|
|
21493
|
+
} }, hAsync("button", { key: '52a182352b7b15c90547a0f6c9f410b80945dffc', 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: {
|
|
21441
21494
|
active: this.active,
|
|
21442
21495
|
open: this.open,
|
|
21443
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
21496
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'd071a84e8a5177e0d83000985acf64d710ce9b97', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '8a377bd964f4d7e8d843ede3783696ee083c711e', class: "label" }, hAsync("slot", { key: '21a44500f70a23ec00e000847361dc0cd01cd47e', name: "label" }), hAsync("duet-icon", { key: '0d9fce9714df81c477058c8f9c4a167e5bbc8f87', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'f1e87be086a8065e38316c0b1acb3df977b3f245', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
21444
21497
|
items: true,
|
|
21445
21498
|
hidden: !this.open,
|
|
21446
|
-
} }, hAsync("slot", { key: '
|
|
21499
|
+
} }, hAsync("slot", { key: 'f431ba4cbd6d6bbc66603726a04b9f2f1a041735' })))));
|
|
21447
21500
|
}
|
|
21448
21501
|
get element() { return getElement(this); }
|
|
21449
21502
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -21496,11 +21549,11 @@ class DuetToolbarDropdownLink {
|
|
|
21496
21549
|
* Always the last one in the class.
|
|
21497
21550
|
*/
|
|
21498
21551
|
render() {
|
|
21499
|
-
return (hAsync(Host, { key: '
|
|
21552
|
+
return (hAsync(Host, { key: '934f131ff69a3fb16c5255f19ab67c074c67d97e' }, hAsync("a", { key: '9df6ae3bfff7fcb220bc06917fd5afec8770970f', class: {
|
|
21500
21553
|
"duet-toolbar-dropdown-link": true,
|
|
21501
21554
|
"duet-theme-turva": this.theme === "turva",
|
|
21502
21555
|
active: this.active,
|
|
21503
|
-
}, 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: '
|
|
21556
|
+
}, 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: '0bbf55cbc6c77128aa15f9f886af498579ca9568', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '38a3e232109349816237d3e1be59d3771cf7cb6a', class: "label" }, hAsync("slot", { key: '782f4a9b43d0f399ea44bedf98d51558728c494c' })), this.active && (hAsync("duet-icon", { key: 'e9d4fd6e46d65868ef1604ab6ac9767de1682f06', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
21504
21557
|
}
|
|
21505
21558
|
get element() { return getElement(this); }
|
|
21506
21559
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -21575,17 +21628,17 @@ class DuetToolbarItem {
|
|
|
21575
21628
|
: this.variation === "secondary"
|
|
21576
21629
|
? "secondary"
|
|
21577
21630
|
: "default";
|
|
21578
|
-
return (hAsync(Host, { key: '
|
|
21631
|
+
return (hAsync(Host, { key: '4c676c7e5ec6deadf4f2ccfeb1212a329ad31a83', role: "listitem" }, hAsync(TagName, { key: 'ae93e8f9dc15663f92819a9612446f78fe8d3b6b', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
21579
21632
|
"duet-toolbar-item": true,
|
|
21580
21633
|
"duet-theme-turva": this.theme === "turva",
|
|
21581
21634
|
active: this.active,
|
|
21582
21635
|
[variation]: true,
|
|
21583
|
-
}, 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: '
|
|
21636
|
+
}, 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: '0cbcd4f6525dfb5a0d1406a0a1e35931e6288bdd', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'c25a832e644474f8bb338a0b7f62d21ae58f5269', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '508ccd1988d068dc636aad97b374a3601b74b507', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'ebba43c92305fc7ebbb6196d8892690eb1df3562' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '188c7bb368121e35d75a66a970782c180d349d80', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'bd851ec1bd852a90739eb790bc7a4853110d48c7', class: {
|
|
21584
21637
|
"trailing-icon": !!this.trailingIcon,
|
|
21585
21638
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
21586
21639
|
"external-icon": !!(this.url && this.external),
|
|
21587
21640
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
21588
|
-
}, 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: '
|
|
21641
|
+
}, 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: '433ab564808774541b59ca860b34b0f6e9d8c422', class: "duet-toolbar-badge" }))))));
|
|
21589
21642
|
}
|
|
21590
21643
|
get element() { return getElement(this); }
|
|
21591
21644
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -21639,12 +21692,12 @@ class DuetToolbarLink {
|
|
|
21639
21692
|
*/
|
|
21640
21693
|
render() {
|
|
21641
21694
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21642
|
-
return (hAsync(Host, { key: '
|
|
21695
|
+
return (hAsync(Host, { key: 'e5423c219a30144ea3b3e40ba6aa83ebda9f2b24', role: "listitem" }, hAsync("a", { key: 'f517898e695b37ef3037e7c217d70c135f4d0030', class: {
|
|
21643
21696
|
"duet-toolbar-link": true,
|
|
21644
21697
|
"duet-theme-turva": this.theme === "turva",
|
|
21645
21698
|
active: this.active,
|
|
21646
21699
|
[variation]: true,
|
|
21647
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
21700
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '2d36bd6a40eadf4167c8fe7560c6bba4f2199cac', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '930758dcbadf30a2808bcc19c4787a4279aafa67' }))));
|
|
21648
21701
|
}
|
|
21649
21702
|
get element() { return getElement(this); }
|
|
21650
21703
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -21901,12 +21954,12 @@ class DuetTooltipButton {
|
|
|
21901
21954
|
* Always the last one in the class.
|
|
21902
21955
|
*/
|
|
21903
21956
|
render() {
|
|
21904
|
-
return (hAsync(Host, { key: '
|
|
21957
|
+
return (hAsync(Host, { key: 'bc36621b7fc830cfb8ca434188d7f50ba4e4542b' }, hAsync("button", { key: 'db275d682c9270a6fda156c50776662d94816b1a', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
21905
21958
|
"duet-tooltip-button": true,
|
|
21906
21959
|
"duet-tooltip-button-has-label": !!this.label,
|
|
21907
21960
|
"duet-theme-turva": this.theme === "turva",
|
|
21908
21961
|
"duet-tooltip-button-negative": this.negative,
|
|
21909
|
-
} }, hAsync("svg", { key: '
|
|
21962
|
+
} }, hAsync("svg", { key: '6f74e7cd6e8ec203590038e36b1351d2245707ee', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '47704ecc8941cdcb856f6882b36ea67b17e2c4cb', 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: '5787a0fd9287e4706445dc87620523fa4cb71868', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '78de402d0a039784299b486eb685bb06e3f3459a', 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)))));
|
|
21910
21963
|
}
|
|
21911
21964
|
get element() { return getElement(this); }
|
|
21912
21965
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -21974,11 +22027,11 @@ class DuetTooltipPopup {
|
|
|
21974
22027
|
this.contentEl.focus();
|
|
21975
22028
|
}
|
|
21976
22029
|
render() {
|
|
21977
|
-
return (hAsync(Host, { key: '
|
|
22030
|
+
return (hAsync(Host, { key: '8474dad9661249e8ba481e360e8f42a7321c5412' }, hAsync("div", { key: 'f1e70b81c3d3398a5074b07a60e791eca97e2881', class: {
|
|
21978
22031
|
"duet-tooltip": true,
|
|
21979
22032
|
"duet-theme-turva": this.theme === "turva",
|
|
21980
22033
|
"duet-tooltip-active": this.active === true,
|
|
21981
|
-
} }, hAsync(FocusGuard, { key: '
|
|
22034
|
+
} }, hAsync(FocusGuard, { key: 'd21aeccf6723db71c44cf16f15a322c1cdc85fdc', moveFocusTo: this.buttonEl }), hAsync("div", { key: '36fe75956cac98e1ecc917dd4eccaebc7ac3659a', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '7e7930c17ae679c7c49f7c6d727ff9d5e33b098a' })), hAsync("div", { key: '05feacb8b46d298d0b789b8e1ba2ef6e291e8d62', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'bf3d5ad0aa7fcd59514e32be36406abad9bdf42a', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '8667096436686fb84ebac5d92d5e15c4d7940d1c', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'dca41a670fb8f3fb7b36261932f0caec193c8fbc', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'f3737f4bc108eba91b5520fbf3ff39ef55d82b3c' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'b702d271e89ba15b2ab3b6f01854238b57a3875d', moveFocusTo: this.contentEl }))));
|
|
21982
22035
|
}
|
|
21983
22036
|
get element() { return getElement(this); }
|
|
21984
22037
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -22086,14 +22139,14 @@ class DuetTray {
|
|
|
22086
22139
|
* Always the last one in the class.
|
|
22087
22140
|
*/
|
|
22088
22141
|
render() {
|
|
22089
|
-
return (hAsync("div", { key: '
|
|
22142
|
+
return (hAsync("div", { key: '4eadeeff8f0c1a1047ece3ce7074bbe330b27304', class: {
|
|
22090
22143
|
"duet-tray": true,
|
|
22091
22144
|
"duet-tray-is-active": this.active,
|
|
22092
22145
|
"duet-tray-is-hidden": this.hiddenState,
|
|
22093
22146
|
"duet-tray-is-responsive": this.responsive,
|
|
22094
22147
|
"duet-theme-turva": this.theme === "turva",
|
|
22095
22148
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
22096
|
-
} }, hAsync("div", { key: '
|
|
22149
|
+
} }, hAsync("div", { key: '7fc02b5732546c8f7b90fb6cde20a3113c1e1e27', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '35394a91f0596c48bc44fcb27b9981dc2fe1c669' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'a202a321ce7400dc6fb261ea98e2c3d7f4224fe1' }, hAsync("button", { key: 'ef99d0253c90ccbbba2cd35803dc1cf8b8b5bcb6', "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: '56ae22d34327fe1cc19dd4cfb1fdca4ab3b8f583', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '1cc8e44778131120961b882dee53268530f7a73a' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '1f258521cc9fc825c60c8392ac3a8a8b63f3f2b6', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '5def2cf12a83a28a4e8331134ba05c2d918316b0', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '3c08dcd0fc017f732f8ad8681e59a886eb2be346', name: "additional" })))))));
|
|
22097
22150
|
}
|
|
22098
22151
|
get element() { return getElement(this); }
|
|
22099
22152
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -23209,10 +23262,10 @@ class DuetUpload {
|
|
|
23209
23262
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
23210
23263
|
}
|
|
23211
23264
|
// @ts-ignore
|
|
23212
|
-
return (hAsync(Host, { key: '
|
|
23265
|
+
return (hAsync(Host, { key: '3289ebfcf7be2cb204e3109f4bd774c023c1311b', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'd7df1dc6a9f7d71d9f2dc5cfea209bae0767111e', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '0cc5766408e69476d186039cce9325df4a0cea3d', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '8441562b8677278cadc9f054163de15716507753', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'd077aa4e3663bf9faca0ba05ec2dce5ba4666286', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'e70ef44d5bc02d5e0eefdd0cdd34ebc6323cd85a', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '16b0035978c73e97c5148ba569a318b2736f53e2', 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: 'f500f8ede694b648fc115e2c9c0a575958c39bbb', name: "filefooter" }), hAsync("slot", { key: '1ee35a65d6b56561a9c17f5a6dea294826eca780', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '37e7c183776e7103f0e68cf130fce9cdf0215055', margin: "none", size: "small" }, hAsync("div", { key: '66ae65e6cadb22b5373cb54019885615facb8ea0', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '2e8ef445f7637398102d0be1547e27081c9ecf2d', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '0449ef097df354a51990e2694ce270b43e0920f4' }, hAsync("duet-spacer", { key: '76fcd53d37a524972a778bd974d156eb03a9aba6', size: "large" }), hAsync("duet-button", { key: '4cd5efca2ac98ee8ea478e9a7269a5d2e702b7ef', 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 ||
|
|
23213
23266
|
this.bytesMaxReached ||
|
|
23214
23267
|
this.filesToUploadExceedsLimit ||
|
|
23215
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
23268
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '2f4db6f88150427eb99c623c1404f0556848a3e2' }, hAsync("duet-spacer", { key: 'd9a182225a80cf3b31272bc3f45db3ae7f8456a2', size: "medium" }), hAsync("duet-alert", { key: '8d2209357e096a6c47fe1465d8ca66d900c8935b', 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: '4be261bd112017729973d2def23f9b384d11b556', "aria-hidden": "true" }, hAsync("input", { key: '03b8b40bd9488b6de5091aa5ae46e4d146732f17', ref: input => {
|
|
23216
23269
|
this.nativeInput = input;
|
|
23217
23270
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
23218
23271
|
"duet-upload": true,
|
|
@@ -23533,7 +23586,7 @@ class DuetUploadAriaStatus {
|
|
|
23533
23586
|
* Always the last one in the class.
|
|
23534
23587
|
*/
|
|
23535
23588
|
render() {
|
|
23536
|
-
return (hAsync(Host, { key: '
|
|
23589
|
+
return (hAsync(Host, { key: '8948ec63ae13945fc073c3d4f00a6581a31b7912', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'a38c48be4058bfc510ff185cb29dc4b187c9cbd2' }, this.statusMessage)));
|
|
23537
23590
|
}
|
|
23538
23591
|
get element() { return getElement(this); }
|
|
23539
23592
|
static get watchers() { return {
|
|
@@ -23600,7 +23653,7 @@ class DuetUploadItem$1 {
|
|
|
23600
23653
|
inheritGlobalTheme(this);
|
|
23601
23654
|
}
|
|
23602
23655
|
render() {
|
|
23603
|
-
return (hAsync(Host, { key: '
|
|
23656
|
+
return (hAsync(Host, { key: '8396e4f72037611465afcc4864baefce0b0adcbb' }, hAsync("duet-visually-hidden", { key: '3760925c4f8909f5904fa42640a975782296c311', "aria-hidden": "true" }, hAsync("input", { key: '8a696fbc3046b041f50ce5212bf0e1696a0661f0', ref: input => {
|
|
23604
23657
|
this.nativeInput = input;
|
|
23605
23658
|
}, type: "file", class: {
|
|
23606
23659
|
"duet-upload": true,
|
|
@@ -23712,9 +23765,9 @@ class DuetUploadItem {
|
|
|
23712
23765
|
const { uid, meta, item } = this.data;
|
|
23713
23766
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
23714
23767
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
23715
|
-
return (hAsync("div", { key: '
|
|
23768
|
+
return (hAsync("div", { key: 'b14fdbb2f16400a53a4269659df8ebf3e1cfec92', class: {
|
|
23716
23769
|
"upload-item-row": true,
|
|
23717
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
23770
|
+
} }, this.showCategory && (hAsync("div", { key: '65d197165ef566a815bfeccdfc85d21bceb92b1f', class: "item-categories" }, hAsync("duet-heading", { key: 'a7d319c7697fbee37136fde75512a21d1ee7c7f7', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'ac4044e19bcd895ebbaf36ebfc0df98e8adf89d1', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '393e8d136d8feff8cc906eaa8717da986e79ecac', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: 'd5e95656970dbdb409b2334025380b8e91350a7d', class: "item-actions" }, this.actions.map(actionItem => {
|
|
23718
23771
|
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) }));
|
|
23719
23772
|
}))));
|
|
23720
23773
|
}
|
|
@@ -23755,7 +23808,7 @@ class DuetVisuallyHidden {
|
|
|
23755
23808
|
* Always the last one in the class.
|
|
23756
23809
|
*/
|
|
23757
23810
|
render() {
|
|
23758
|
-
return (hAsync(Host, { key: '
|
|
23811
|
+
return (hAsync(Host, { key: '6563b3eb72eca7f7fc6ada1c16f665323fa2f50a', class: "duet-visually-hidden" }, hAsync("slot", { key: '519ee0a9f051b05113347a2458b0fc82805558ba' })));
|
|
23759
23812
|
}
|
|
23760
23813
|
get element() { return getElement(this); }
|
|
23761
23814
|
static get style() { return DuetVisuallyHiddenStyle0; }
|