@duetds/components 9.1.1 → 9.2.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 +291 -194
- package/lib/cjs/{app-globals-bbbc26ee.js → app-globals-8b08f415.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +6 -6
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/{duet-chip.cjs.entry.js → duet-chip_3.cjs.entry.js} +327 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +42 -32
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +38 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-layout.cjs.entry.js +7 -10
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -5
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- 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 +3 -3
- 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-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 +13 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +5 -6
- 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 +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +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 +2 -2
- 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 +7 -7
- 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 +11 -5
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +11 -5
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- 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-6fe27aab.js → errorcodes.utils-79df4fcd.js} +1 -1
- package/lib/cjs/{focus-utils-b8926034.js → focus-utils-87585a09.js} +1 -1
- package/lib/cjs/{index-0c9fd2f8.js → index-290ab697.js} +1 -1
- package/lib/cjs/{language-utils-8f7743a1.js → language-utils-3372de6f.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-85cd307f.js → slot-utils-8015a7e6.js} +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +1 -1
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox-select.js +4 -8
- package/lib/collection/components/duet-combobox/duet-combobox.css +2 -79
- package/lib/collection/components/duet-combobox/duet-combobox.js +38 -20
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +40 -7
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- 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 +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.css +24 -20
- package/lib/collection/components/duet-layout/duet-layout.js +5 -8
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- 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.css +2 -0
- 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.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 +4 -4
- 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-popup-menu/duet-popup-menu.js +45 -11
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +8 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +28 -5
- 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.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +24 -16
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -4
- 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-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.js +10 -10
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +9 -12
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.css +10 -4
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +12 -6
- 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.css +28 -12
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +12 -6
- 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/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +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 +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +78 -50
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +49 -16
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +7 -7
- 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 +9 -9
- 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 -9
- 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 +5 -5
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- 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 +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- 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-popup-menu-item.js +1 -111
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -277
- 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 +5 -6
- 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 +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +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 +18 -18
- 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 +16 -15
- 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 +12 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +11 -5
- 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 +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-33a40488.js → p-0403f6da.js} +3 -3
- package/lib/dist-custom-elements/{p-bcc759f6.js → p-0bb6686b.js} +4 -4
- package/lib/dist-custom-elements/{p-9587e63e.js → p-0fb7a267.js} +2 -2
- package/lib/dist-custom-elements/{p-5d15bc28.js → p-10f0fddb.js} +3 -3
- package/lib/dist-custom-elements/{p-976cffee.js → p-1dbac987.js} +8 -8
- package/lib/dist-custom-elements/{p-1a0717b2.js → p-20420946.js} +3 -3
- package/lib/dist-custom-elements/{p-6ded6ab0.js → p-2e9f301d.js} +5 -5
- package/lib/dist-custom-elements/{p-fa97c257.js → p-33b260ff.js} +1 -1
- package/lib/dist-custom-elements/p-3bc3ac8a.js +119 -0
- package/lib/dist-custom-elements/{p-78c42188.js → p-3f00c32a.js} +1 -1
- package/lib/dist-custom-elements/{p-4e2ad0e0.js → p-43a7f93f.js} +2 -2
- package/lib/dist-custom-elements/{p-08ba0c8e.js → p-43f6f1e6.js} +2 -2
- package/lib/dist-custom-elements/{p-c25a991b.js → p-4e532364.js} +1 -1
- package/lib/dist-custom-elements/{p-f5199769.js → p-52535b60.js} +12 -12
- package/lib/dist-custom-elements/{p-4c7eab86.js → p-550504de.js} +3 -3
- package/lib/dist-custom-elements/{p-eca652e9.js → p-684cca0d.js} +3 -3
- package/lib/dist-custom-elements/{p-ccc48f38.js → p-6a5c7011.js} +10 -10
- package/lib/dist-custom-elements/{p-2f3cb54b.js → p-6d83f337.js} +4 -4
- package/lib/dist-custom-elements/{p-1195ba92.js → p-7e6cdbe3.js} +1 -1
- package/lib/dist-custom-elements/{p-f474833e.js → p-8b0dee3e.js} +1 -1
- package/lib/dist-custom-elements/{p-092cf346.js → p-8e557451.js} +2 -2
- package/lib/dist-custom-elements/{p-003f07d0.js → p-936d5746.js} +2 -2
- package/lib/dist-custom-elements/{p-151ba4af.js → p-95971567.js} +1 -1
- package/lib/dist-custom-elements/{p-d656dd95.js → p-ae262553.js} +2 -2
- package/lib/dist-custom-elements/{p-717f62de.js → p-b3773c10.js} +3 -3
- package/lib/dist-custom-elements/{p-5faf2571.js → p-bdeb5fba.js} +10 -10
- package/lib/dist-custom-elements/{p-41222b8d.js → p-c775f5b9.js} +1 -1
- package/lib/dist-custom-elements/{p-203e91c1.js → p-cdf8041c.js} +7 -7
- package/lib/dist-custom-elements/{p-13259f25.js → p-d6a8840d.js} +5 -5
- package/lib/dist-custom-elements/{p-7a4e27a2.js → p-e0913e76.js} +6 -6
- package/lib/dist-custom-elements/{p-6b4d1a90.js → p-e416ccec.js} +3 -3
- package/lib/dist-custom-elements/{p-2ad70bfb.js → p-e5f6aaab.js} +2 -2
- package/lib/dist-custom-elements/{p-7f7ad9b6.js → p-e7918410.js} +5 -5
- package/lib/dist-custom-elements/{p-f58dfec6.js → p-e8d60da0.js} +2 -2
- package/lib/dist-custom-elements/{p-0f98be73.js → p-e9361277.js} +4 -4
- package/lib/{esm/duet-popup-menu.entry.js → dist-custom-elements/p-ec4d6856.js} +68 -19
- package/lib/dist-custom-elements/{p-d7d32738.js → p-ecc803b3.js} +1 -1
- package/lib/dist-custom-elements/{p-7ecba39f.js → p-f055bb61.js} +3 -3
- package/lib/dist-custom-elements/{p-8027f9ce.js → p-f2f2bcca.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-022f9a30.entry.js → p-002c99c1.entry.js} +1 -1
- package/lib/duet/p-0258c8de.entry.js +4 -0
- package/lib/duet/{p-1512ddad.system.entry.js → p-04734a93.system.entry.js} +2 -2
- package/lib/duet/{p-5799fe5f.system.entry.js → p-04efd66c.system.entry.js} +2 -2
- package/lib/duet/p-06051dcb.entry.js +4 -0
- package/lib/duet/{p-78b5469b.system.entry.js → p-0660a0ef.system.entry.js} +1 -1
- package/lib/duet/{p-df0168af.entry.js → p-07293953.entry.js} +1 -1
- package/lib/duet/{p-78fe82c7.system.js → p-0740edce.system.js} +1 -1
- package/lib/duet/{p-8707a699.system.entry.js → p-083353cb.system.entry.js} +1 -1
- package/lib/duet/{p-2725220b.system.entry.js → p-0bfe2f53.system.entry.js} +1 -1
- package/lib/duet/p-0bfee3a1.system.entry.js +4 -0
- package/lib/duet/{p-06ad5d11.system.js → p-0c12d3cd.system.js} +1 -1
- package/lib/duet/{p-2c40be98.system.entry.js → p-0ce0c979.system.entry.js} +1 -1
- package/lib/duet/p-0e1e68bc.system.entry.js +4 -0
- package/lib/duet/{p-45746854.system.js → p-0e2c37c7.system.js} +1 -1
- package/lib/duet/{p-e5ecf940.entry.js → p-0fdbde27.entry.js} +1 -1
- package/lib/duet/{p-c62788a1.system.entry.js → p-11e4c749.system.entry.js} +1 -1
- package/lib/duet/{p-0bd39158.entry.js → p-17077f57.entry.js} +1 -1
- package/lib/duet/p-17b64351.system.entry.js +4 -0
- package/lib/duet/{p-b6269765.entry.js → p-18917d49.entry.js} +1 -1
- package/lib/duet/{p-c6584315.system.entry.js → p-18cd13be.system.entry.js} +1 -1
- package/lib/duet/{p-ae095513.entry.js → p-18e6e7fe.entry.js} +1 -1
- package/lib/duet/{p-d78d6df5.entry.js → p-199d505a.entry.js} +1 -1
- package/lib/duet/{p-20490634.system.entry.js → p-1abf7d11.system.entry.js} +1 -1
- package/lib/duet/{p-6b76b443.entry.js → p-1db515c6.entry.js} +1 -1
- package/lib/duet/{p-18b40fa3.system.entry.js → p-210715c1.system.entry.js} +1 -1
- package/lib/duet/{p-3fb27027.system.entry.js → p-21ad7b3a.system.entry.js} +1 -1
- package/lib/duet/{p-11a2ab97.system.entry.js → p-231c6724.system.entry.js} +1 -1
- package/lib/duet/{p-c646d135.entry.js → p-277fd80e.entry.js} +1 -1
- package/lib/duet/{p-f0806e36.system.entry.js → p-27aa38b5.system.entry.js} +1 -1
- package/lib/duet/{p-dd813d4e.entry.js → p-281fa7a1.entry.js} +1 -1
- package/lib/duet/{p-40c557ff.system.entry.js → p-29072d2d.system.entry.js} +1 -1
- package/lib/duet/{p-ccc30136.system.entry.js → p-2a2f7fe9.system.entry.js} +2 -2
- package/lib/duet/{p-9bfeb191.entry.js → p-2b790430.entry.js} +1 -1
- package/lib/duet/{p-e35347a0.system.entry.js → p-357fba0e.system.entry.js} +1 -1
- package/lib/duet/{p-ac0130a8.entry.js → p-372b1880.entry.js} +1 -1
- package/lib/duet/{p-3720efca.system.entry.js → p-3958bcfa.system.entry.js} +1 -1
- package/lib/duet/{p-e219a93f.entry.js → p-39630105.entry.js} +1 -1
- package/lib/duet/{p-b5074ff6.entry.js → p-39dab293.entry.js} +1 -1
- package/lib/duet/{p-8ff34272.system.entry.js → p-3daaefaf.system.entry.js} +1 -1
- package/lib/duet/{p-8afd53b2.system.entry.js → p-40b33a43.system.entry.js} +1 -1
- package/lib/duet/{p-e18e5311.system.entry.js → p-40ee32f0.system.entry.js} +1 -1
- package/lib/duet/p-410c17b6.system.entry.js +4 -0
- package/lib/duet/{p-cbbeefba.system.entry.js → p-434bda24.system.entry.js} +1 -1
- package/lib/duet/{p-920ab643.entry.js → p-4407ea5a.entry.js} +1 -1
- package/lib/duet/{p-20e0094b.entry.js → p-4451f3eb.entry.js} +1 -1
- package/lib/duet/{p-4b5fdaa5.entry.js → p-44c19fe9.entry.js} +1 -1
- package/lib/duet/{p-a209fed5.entry.js → p-44d2dbb7.entry.js} +1 -1
- package/lib/duet/{p-335bfe63.entry.js → p-44ecb79f.entry.js} +1 -1
- package/lib/duet/p-4543f9e7.entry.js +4 -0
- package/lib/duet/{p-07802adc.system.entry.js → p-477d4c2a.system.entry.js} +1 -1
- package/lib/duet/p-48836fcc.system.entry.js +4 -0
- package/lib/duet/{p-b2b147c9.entry.js → p-49051d57.entry.js} +1 -1
- package/lib/duet/{p-e0e090bb.system.entry.js → p-49e6e791.system.entry.js} +2 -2
- package/lib/duet/{p-a79114c3.system.entry.js → p-4a59b12a.system.entry.js} +1 -1
- package/lib/duet/{p-bca879ba.system.entry.js → p-4cc5c937.system.entry.js} +1 -1
- package/lib/duet/{p-b832a5eb.system.entry.js → p-4e485c1c.system.entry.js} +1 -1
- package/lib/duet/{p-a3e5abb2.entry.js → p-50f8076d.entry.js} +1 -1
- package/lib/duet/{p-87b3fb3e.system.entry.js → p-51675591.system.entry.js} +1 -1
- package/lib/duet/{p-01e57a3b.system.entry.js → p-522e0468.system.entry.js} +1 -1
- package/lib/duet/{p-2aa3dfc5.entry.js → p-52fc5c3b.entry.js} +1 -1
- package/lib/duet/{p-20b2b9af.system.entry.js → p-54460ce3.system.entry.js} +1 -1
- package/lib/duet/{p-18494c5d.entry.js → p-546ca397.entry.js} +1 -1
- package/lib/duet/{p-f1cb7fa4.entry.js → p-54d7e599.entry.js} +1 -1
- package/lib/duet/{p-b7453f14.entry.js → p-554cff02.entry.js} +1 -1
- package/lib/duet/{p-9e927d04.system.entry.js → p-5839bb7a.system.entry.js} +1 -1
- package/lib/duet/{p-f80687b8.entry.js → p-58400179.entry.js} +1 -1
- package/lib/duet/{p-a56e060b.entry.js → p-584be931.entry.js} +1 -1
- package/lib/duet/{p-49da095c.system.entry.js → p-5899db41.system.entry.js} +1 -1
- package/lib/duet/{p-9fd3ced5.system.entry.js → p-5a8ca9f7.system.entry.js} +1 -1
- package/lib/duet/{p-b4ed38ea.system.entry.js → p-5c5202c1.system.entry.js} +1 -1
- package/lib/duet/p-5e0a2a78.system.entry.js +4 -0
- package/lib/duet/{p-21429748.system.entry.js → p-5e46b67c.system.entry.js} +1 -1
- package/lib/duet/{p-b08d87b0.system.entry.js → p-5eda45d0.system.entry.js} +1 -1
- package/lib/duet/{p-c331a8ef.system.entry.js → p-6014d518.system.entry.js} +1 -1
- package/lib/duet/{p-be8aa52a.entry.js → p-6119ef0a.entry.js} +1 -1
- package/lib/duet/{p-c01aa549.system.entry.js → p-61fe999e.system.entry.js} +1 -1
- package/lib/duet/{p-f52d988b.entry.js → p-66da99e1.entry.js} +1 -1
- package/lib/duet/p-681afce7.js +4 -0
- package/lib/duet/{p-63f481c7.system.entry.js → p-69bb93ee.system.entry.js} +1 -1
- package/lib/duet/{p-84f32ade.system.entry.js → p-6b2a8199.system.entry.js} +2 -2
- package/lib/duet/p-6db337db.entry.js +4 -0
- package/lib/duet/{p-7b93c24f.entry.js → p-6f1fc369.entry.js} +1 -1
- package/lib/duet/{p-494fc947.entry.js → p-73f290b1.entry.js} +1 -1
- package/lib/duet/p-747505e8.entry.js +4 -0
- package/lib/duet/p-765f640d.js +4 -0
- package/lib/duet/{p-d30a413a.system.entry.js → p-77009e02.system.entry.js} +1 -1
- package/lib/duet/{p-6fc66353.system.entry.js → p-7776b2e3.system.entry.js} +1 -1
- package/lib/duet/{p-7f779fb0.system.entry.js → p-77bd02b8.system.entry.js} +1 -1
- package/lib/duet/{p-c106aa51.entry.js → p-7bc8a7ba.entry.js} +1 -1
- package/lib/duet/{p-36f89415.system.entry.js → p-7ca5fee5.system.entry.js} +1 -1
- package/lib/duet/{p-251392d6.entry.js → p-80ebdba0.entry.js} +1 -1
- package/lib/duet/{p-593b4911.system.entry.js → p-82557326.system.entry.js} +1 -1
- package/lib/duet/p-83dc6278.entry.js +4 -0
- package/lib/duet/{p-8a162701.js → p-8483586d.js} +1 -1
- package/lib/duet/{p-eda3baff.entry.js → p-8575f97e.entry.js} +1 -1
- package/lib/duet/{p-a0699de6.system.entry.js → p-86ddbb9f.system.entry.js} +1 -1
- package/lib/duet/{p-e0dc3a1e.entry.js → p-88a370ef.entry.js} +1 -1
- package/lib/duet/{p-8464bb3e.system.entry.js → p-89bc2c76.system.entry.js} +1 -1
- package/lib/duet/{p-d7a4a799.system.entry.js → p-8d6d407f.system.entry.js} +1 -1
- package/lib/duet/{p-e5a5248f.entry.js → p-8d7d23ca.entry.js} +1 -1
- package/lib/duet/{p-888cf6df.system.entry.js → p-8e8ac460.system.entry.js} +1 -1
- package/lib/duet/{p-382da2ee.entry.js → p-907e01e1.entry.js} +1 -1
- package/lib/duet/{p-14ffc1f0.entry.js → p-90e39ad6.entry.js} +1 -1
- package/lib/duet/{p-2b92ea13.entry.js → p-912860f0.entry.js} +1 -1
- package/lib/duet/{p-6e904090.entry.js → p-98d9fcfc.entry.js} +1 -1
- package/lib/duet/{p-deef8ec0.system.entry.js → p-995b0ea5.system.entry.js} +1 -1
- package/lib/duet/{p-a7e281f2.system.entry.js → p-9b70444f.system.entry.js} +2 -2
- package/lib/duet/{p-4d0be2e2.entry.js → p-9bbdecc7.entry.js} +1 -1
- package/lib/duet/{p-36dab1b1.entry.js → p-9df917b9.entry.js} +1 -1
- package/lib/duet/{p-7d7efba3.entry.js → p-9f08395f.entry.js} +1 -1
- package/lib/duet/p-9fa9db50.entry.js +4 -0
- package/lib/duet/{p-624552e4.system.js → p-9fdb1552.system.js} +1 -1
- package/lib/duet/{p-b35f871e.system.entry.js → p-a2023033.system.entry.js} +1 -1
- package/lib/duet/{p-77af0e90.system.entry.js → p-a25f447e.system.entry.js} +1 -1
- package/lib/duet/{p-b7166c29.system.entry.js → p-a37a7f5f.system.entry.js} +1 -1
- package/lib/duet/{p-5765427b.entry.js → p-a4d2aea7.entry.js} +1 -1
- package/lib/duet/{p-c91b3c9f.system.entry.js → p-a4d589fb.system.entry.js} +2 -2
- package/lib/duet/p-a623fa7e.entry.js +4 -0
- package/lib/duet/{p-f492378f.entry.js → p-a696a103.entry.js} +1 -1
- package/lib/duet/{p-17279a7b.entry.js → p-a710fd68.entry.js} +1 -1
- package/lib/duet/{p-087fbd73.entry.js → p-a89f11eb.entry.js} +1 -1
- package/lib/duet/{p-0ce89e2e.system.entry.js → p-ab487d80.system.entry.js} +1 -1
- package/lib/duet/{p-ce1b8c29.entry.js → p-ab5f9de6.entry.js} +1 -1
- package/lib/duet/{p-bb027e2f.entry.js → p-acd9cb61.entry.js} +1 -1
- package/lib/duet/{p-faf67509.js → p-ae8d9deb.js} +1 -1
- package/lib/duet/p-af311c80.entry.js +4 -0
- package/lib/duet/{p-1362dce1.entry.js → p-b01e1603.entry.js} +1 -1
- package/lib/duet/p-b24bbdc0.entry.js +4 -0
- package/lib/duet/{p-5395dceb.entry.js → p-b5329846.entry.js} +1 -1
- package/lib/duet/p-b5dabfe2.entry.js +4 -0
- package/lib/duet/{p-198dd1e6.entry.js → p-b69d6f0f.entry.js} +1 -1
- package/lib/duet/{p-74bfeccb.js → p-b6e8a587.js} +1 -1
- package/lib/duet/{p-64c3bff5.system.entry.js → p-b7efe3b3.system.entry.js} +1 -1
- package/lib/duet/{p-e6517fd1.system.entry.js → p-b97c6e73.system.entry.js} +1 -1
- package/lib/duet/{p-7ed9e2a8.entry.js → p-b9ca5786.entry.js} +1 -1
- package/lib/duet/{p-8767b8b2.system.entry.js → p-ba7657d2.system.entry.js} +1 -1
- package/lib/duet/p-bb896f73.system.js +4 -0
- package/lib/duet/{p-64901815.entry.js → p-bc188b4d.entry.js} +1 -1
- package/lib/duet/{p-38c82b27.entry.js → p-bd60816f.entry.js} +1 -1
- package/lib/duet/{p-6b1eff48.system.entry.js → p-be7c8c61.system.entry.js} +1 -1
- package/lib/duet/{p-276354d7.system.entry.js → p-bff7ece1.system.entry.js} +1 -1
- package/lib/duet/{p-66819401.system.entry.js → p-c02efffc.system.entry.js} +1 -1
- package/lib/duet/p-c162e573.system.entry.js +4 -0
- package/lib/duet/{p-a843b8a9.system.entry.js → p-c1e4c10f.system.entry.js} +1 -1
- package/lib/duet/{p-ff92b024.system.entry.js → p-c999ea8d.system.entry.js} +1 -1
- package/lib/duet/{p-a9ed4cb0.entry.js → p-cb7626f8.entry.js} +1 -1
- package/lib/duet/{p-7cb4b92c.system.entry.js → p-cb833d34.system.entry.js} +1 -1
- package/lib/duet/p-d19b027a.system.js +4 -0
- package/lib/duet/p-d1c6861d.system.entry.js +4 -0
- package/lib/duet/{p-bb153ecd.entry.js → p-d2b0c35d.entry.js} +1 -1
- package/lib/duet/p-d40e8899.system.js +4 -0
- package/lib/duet/p-d64e3229.entry.js +4 -0
- package/lib/duet/p-d7d9526b.entry.js +4 -0
- package/lib/duet/{p-4649b4a3.entry.js → p-d9f0722f.entry.js} +1 -1
- package/lib/duet/{p-a2301b59.system.entry.js → p-da60c177.system.entry.js} +1 -1
- package/lib/duet/{p-2c4294f8.system.entry.js → p-dd48441b.system.entry.js} +1 -1
- package/lib/duet/{p-92466b4a.system.entry.js → p-deaa6b23.system.entry.js} +1 -1
- package/lib/duet/{p-fa1bebb0.entry.js → p-e021729d.entry.js} +1 -1
- package/lib/duet/{p-fb3d3226.system.entry.js → p-e3bf718e.system.entry.js} +1 -1
- package/lib/duet/{p-07df4f67.system.entry.js → p-e43ff11c.system.entry.js} +1 -1
- package/lib/duet/{p-b85b3fb8.entry.js → p-e8daf1e2.entry.js} +1 -1
- package/lib/duet/{p-ca7c0e04.entry.js → p-ec809c70.entry.js} +1 -1
- package/lib/duet/p-ed4d1a8b.js +4 -0
- package/lib/duet/{p-0fa9b797.entry.js → p-ede1eb73.entry.js} +1 -1
- package/lib/duet/{p-c127c18e.entry.js → p-ee6bfb1e.entry.js} +1 -1
- package/lib/duet/{p-26c32975.entry.js → p-f00a57c0.entry.js} +1 -1
- package/lib/duet/{p-a91a3cf2.system.entry.js → p-f3a6603e.system.entry.js} +1 -1
- package/lib/duet/{p-1f66ca2d.entry.js → p-f4b2f2e8.entry.js} +1 -1
- package/lib/duet/{p-1c4895df.entry.js → p-f7845fea.entry.js} +1 -1
- package/lib/duet/{p-9965b2bb.system.entry.js → p-fef50246.system.entry.js} +1 -1
- package/lib/esm/{app-globals-96009d83.js → app-globals-01df0e2e.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +6 -6
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/{duet-chip.entry.js → duet-chip_3.entry.js} +327 -3
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +42 -32
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +38 -6
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +3 -3
- package/lib/esm/duet-layout.entry.js +7 -10
- 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 +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +5 -5
- package/lib/esm/duet-modal.entry.js +10 -10
- 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 +3 -3
- 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-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 +13 -13
- package/lib/esm/duet-section-layout.entry.js +5 -6
- 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 +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +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 +2 -2
- 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 +7 -7
- 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 +11 -5
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +11 -5
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- 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-568ea028.js → errorcodes.utils-ac65ace8.js} +1 -1
- package/lib/esm/{focus-utils-003541f7.js → focus-utils-3e81bca4.js} +1 -1
- package/lib/esm/{index-bbae2d5d.js → index-5d196317.js} +1 -1
- package/lib/esm/{language-utils-5a2b4259.js → language-utils-97f0a1bb.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-0a3b9dfc.js → slot-utils-4442cc08.js} +1 -1
- package/lib/esm-es5/{app-globals-96009d83.js → app-globals-01df0e2e.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +4 -0
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +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-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 +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-568ea028.js → errorcodes.utils-ac65ace8.js} +1 -1
- package/lib/esm-es5/focus-utils-3e81bca4.js +4 -0
- package/lib/esm-es5/{index-bbae2d5d.js → index-5d196317.js} +1 -1
- package/lib/esm-es5/{language-utils-5a2b4259.js → language-utils-97f0a1bb.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-0a3b9dfc.js → slot-utils-4442cc08.js} +1 -1
- package/lib/types/components/duet-combobox/duet-combobox-select.d.ts +2 -1
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +3 -1
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +7 -2
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +6 -1
- package/lib/types/components/duet-toolbar/duet-toolbar.d.ts +2 -2
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +2 -2
- package/lib/types/components.d.ts +23 -14
- package/package.json +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +0 -83
- package/lib/cjs/duet-popup-menu.cjs.entry.js +0 -250
- package/lib/duet/p-0d0aa77d.entry.js +0 -4
- package/lib/duet/p-117dff79.entry.js +0 -4
- package/lib/duet/p-26f57aa1.entry.js +0 -4
- package/lib/duet/p-389cd1f2.js +0 -4
- package/lib/duet/p-3f4a41a0.entry.js +0 -4
- package/lib/duet/p-49ba4a7f.system.entry.js +0 -4
- package/lib/duet/p-4efba746.system.entry.js +0 -4
- package/lib/duet/p-613b429d.system.entry.js +0 -4
- package/lib/duet/p-6435fa0f.system.entry.js +0 -4
- package/lib/duet/p-69f68431.entry.js +0 -4
- package/lib/duet/p-6d32e2a5.entry.js +0 -4
- package/lib/duet/p-6e74ac45.system.entry.js +0 -4
- package/lib/duet/p-7213e4f9.system.js +0 -4
- package/lib/duet/p-72e384da.entry.js +0 -4
- package/lib/duet/p-863b1517.entry.js +0 -4
- package/lib/duet/p-8bee0043.entry.js +0 -4
- package/lib/duet/p-90cfb998.system.entry.js +0 -4
- package/lib/duet/p-a24aa183.entry.js +0 -4
- package/lib/duet/p-a376dd1d.js +0 -4
- package/lib/duet/p-a47059b7.system.entry.js +0 -4
- package/lib/duet/p-a918531a.entry.js +0 -4
- package/lib/duet/p-aaa77eee.entry.js +0 -4
- package/lib/duet/p-b01fbe26.system.js +0 -4
- package/lib/duet/p-b2eb57ef.entry.js +0 -4
- package/lib/duet/p-bde12c72.system.js +0 -4
- package/lib/duet/p-c00ac038.system.entry.js +0 -4
- package/lib/duet/p-d316ecf3.entry.js +0 -4
- package/lib/duet/p-d87a08ee.system.entry.js +0 -4
- package/lib/duet/p-e3d92f42.entry.js +0 -4
- package/lib/duet/p-e5435f92.system.entry.js +0 -4
- package/lib/duet/p-fd60b2ff.js +0 -4
- package/lib/esm/duet-popup-menu-item.entry.js +0 -79
- package/lib/esm-es5/duet-chip.entry.js +0 -4
- package/lib/esm-es5/duet-popup-menu-item.entry.js +0 -4
- package/lib/esm-es5/duet-popup-menu.entry.js +0 -4
- package/lib/esm-es5/focus-utils-003541f7.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -3743,12 +3743,12 @@ class DuetBadge {
|
|
|
3743
3743
|
*/
|
|
3744
3744
|
render() {
|
|
3745
3745
|
const backgroundClass = `background-${this.background}`;
|
|
3746
|
-
return (hAsync(Host, { key: '
|
|
3746
|
+
return (hAsync(Host, { key: '9961997225b2be95620a2bb6cd925a38ca781319', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '7f60092c2cbd3243ae62c54ffd64714b967feb4c', class: {
|
|
3747
3747
|
"duet-badge": true,
|
|
3748
3748
|
[this.variation]: true,
|
|
3749
3749
|
[backgroundClass]: true,
|
|
3750
3750
|
"duet-theme-turva": this.theme === "turva",
|
|
3751
|
-
} }, hAsync("slot", { key: '
|
|
3751
|
+
} }, hAsync("slot", { key: 'bfe777ba2975bdc4fe654dbbe7fcadd9c74a4de9' }))));
|
|
3752
3752
|
}
|
|
3753
3753
|
get element() { return getElement(this); }
|
|
3754
3754
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -3938,14 +3938,14 @@ class DuetBreadcrumb {
|
|
|
3938
3938
|
*/
|
|
3939
3939
|
render() {
|
|
3940
3940
|
var _a;
|
|
3941
|
-
return (hAsync(Host, { key: '
|
|
3941
|
+
return (hAsync(Host, { key: '896f47e7da60d222d4069e1dbc464df5d2860a5e', role: "listitem" }, hAsync("div", { key: '542c2f9e39019092a4b8710dce3d91204d8e7ea6', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'f02c8e0e89966baaaa60ce01e0d60327f43df4a7', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: 'def35f8a0cd68ed2bcb029b516fdcd3988bc612c', class: {
|
|
3942
3942
|
"duet-breadcrumb": true,
|
|
3943
3943
|
"duet-theme-turva": this.theme === "turva",
|
|
3944
3944
|
}, 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" &&
|
|
3945
3945
|
this.icon && [
|
|
3946
|
-
hAsync("duet-icon", { key: '
|
|
3947
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
3948
|
-
], hAsync("slot", { key: '
|
|
3946
|
+
hAsync("duet-icon", { key: '9315b8b7b1c4515db35b986214df2a5fe712e90d', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
3947
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'a1e4e13b0624db398595819130a944e37e67f729', size: "x-small", direction: "horizontal" }),
|
|
3948
|
+
], hAsync("slot", { key: '7017579590087fda79cb5ec5621d06c0a83b1134' })))));
|
|
3949
3949
|
}
|
|
3950
3950
|
get element() { return getElement(this); }
|
|
3951
3951
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4006,11 +4006,11 @@ class DuetBreadcrumbs {
|
|
|
4006
4006
|
*/
|
|
4007
4007
|
render() {
|
|
4008
4008
|
const color = getColorByName(this.color);
|
|
4009
|
-
return (hAsync(Host, { key: '
|
|
4009
|
+
return (hAsync(Host, { key: '8efa7a115e6f54542e88d47bcd82dd45f22dfa5a' }, hAsync("nav", { key: 'e33a8eeb307ff1ce61375ac5d7b7d06516ef9748', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4010
4010
|
"duet-breadcrumbs": true,
|
|
4011
4011
|
"duet-theme-turva": this.theme === "turva",
|
|
4012
4012
|
[this.variation]: true,
|
|
4013
|
-
} }, hAsync("div", { key: '
|
|
4013
|
+
} }, hAsync("div", { key: 'b316b4613355477852547aeca63cf3ebc2aebd18', class: "container" }, hAsync("div", { key: '80bbfecc44dc1ffcd17c34b63fb1023c387267a7', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '774275bab13a098e5d095e108a2081ce7a0e7350' })), hAsync("div", { key: '7db4bba62ed327f314745e0960c6e550ac865582', class: "bottom-border bottom-border--container" })), hAsync("div", { key: 'b8c2c068f97243f47efbdb0eb808a784932bc795', class: "bottom-border bottom-border--nav" }))));
|
|
4014
4014
|
}
|
|
4015
4015
|
get element() { return getElement(this); }
|
|
4016
4016
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4353,11 +4353,11 @@ class DuetCallout {
|
|
|
4353
4353
|
<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"/>
|
|
4354
4354
|
</svg>
|
|
4355
4355
|
`;
|
|
4356
|
-
return (hAsync(Host, { key: '
|
|
4356
|
+
return (hAsync(Host, { key: '7d5a168da918f73ac6199624717b0722ae637b5f' }, hAsync("div", { key: '6901480796257cefd5276a5ca6eb2194030970bf', class: {
|
|
4357
4357
|
"duet-callout": true,
|
|
4358
4358
|
"duet-theme-turva": this.theme === "turva",
|
|
4359
4359
|
"duet-m-0": this.margin === "none",
|
|
4360
|
-
} }, hAsync("figure", { key: '
|
|
4360
|
+
} }, hAsync("figure", { key: 'ceddfb8142f1dca7af00139f28b776cd1e0b3ba3', class: "container" }, hAsync("duet-icon", { key: '85e94a538b36121aaac3d755ee7bddad98312c24', 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: '46bc56966d4eface501dfc1a57715f6d2600e27f' }, hAsync("slot", { key: '1974940d51ac7946d1f139fb3c444b0915c6ea75' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '7173e7c7927111e0d9f1b13def6a08c487ebfff0', class: "author" }, hAsync("span", { key: 'dedb46a4fff0eedd8f95275e608378c8fc021cea' }, "\u2014 "), hAsync("slot", { key: 'fb955af2c57c5d113dc34d9d292ad5bf835ddb99', name: "author" })))))));
|
|
4361
4361
|
}
|
|
4362
4362
|
get element() { return getElement(this); }
|
|
4363
4363
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4718,11 +4718,11 @@ class DuetCheckmark {
|
|
|
4718
4718
|
inheritGlobalTheme(this);
|
|
4719
4719
|
}
|
|
4720
4720
|
render() {
|
|
4721
|
-
return (hAsync(Host, { key: '
|
|
4721
|
+
return (hAsync(Host, { key: '694951f0c8763ee7206e40f195d801b161cb970d', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '81371523be24dcc91313d7933103e74bbab2bda3', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '30578b86f60822622e625e5baf2356f550c33a6d', class: {
|
|
4722
4722
|
"duet-checkmark-container": true,
|
|
4723
4723
|
center: this.center,
|
|
4724
4724
|
"duet-checkmark-radio": this.type === "radio",
|
|
4725
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4725
|
+
} }, this.checked && hAsync("div", { key: 'd5b3c5f15bffdea7d89a80621c1aa4e96ae7ee0f', class: "duet-checkmark" })))));
|
|
4726
4726
|
}
|
|
4727
4727
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4728
4728
|
static get cmpMeta() { return {
|
|
@@ -6396,7 +6396,7 @@ class DuetCollapsible {
|
|
|
6396
6396
|
}; }
|
|
6397
6397
|
}
|
|
6398
6398
|
|
|
6399
|
-
const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;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\";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.
|
|
6399
|
+
const duetComboboxCss = ".sc-duet-combobox-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;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\";color:rgb(0, 41, 77)}.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(0, 41, 77);transition:none}.duet-theme-turva.sc-duet-combobox-h{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.sc-duet-combobox-h a.sc-duet-combobox{color:rgb(23, 28, 58)}.combobox-menu-container.sc-duet-combobox{width:var(--popup-width);max-height:200px}";
|
|
6400
6400
|
var DuetComboboxStyle0 = duetComboboxCss;
|
|
6401
6401
|
|
|
6402
6402
|
class DuetCombobox {
|
|
@@ -6405,14 +6405,16 @@ class DuetCombobox {
|
|
|
6405
6405
|
this.duetChange = createEvent$2(this, "duetChange", 3);
|
|
6406
6406
|
var _a, _b;
|
|
6407
6407
|
this.listBoxId = createID("duet-combobox-list-element");
|
|
6408
|
+
this.inputId = createID("duet-combobox-input-id");
|
|
6409
|
+
this.activeDescendantId = createID("duet-combobox-active-descendant");
|
|
6408
6410
|
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;
|
|
6409
6411
|
this.resizeObserver = new ResizeObserver(debounce(entries => {
|
|
6410
|
-
var _a, _b;
|
|
6412
|
+
var _a, _b, _c;
|
|
6411
6413
|
// otherwise, something is wrong, expecting 1 element only
|
|
6412
6414
|
if ((entries === null || entries === void 0 ? void 0 : entries.length) === 1) {
|
|
6413
6415
|
const currentWidth = (_b = (_a = entries[0]) === null || _a === void 0 ? void 0 : _a.target) === null || _b === void 0 ? void 0 : _b.getBoundingClientRect().width;
|
|
6414
|
-
this.listContainer.
|
|
6415
|
-
|
|
6416
|
+
const popupMenuPadding = parseInt((_c = getComputedStyle(this.listContainer.shadowRoot.querySelector(".duet-popup-menu-list"))) === null || _c === void 0 ? void 0 : _c.padding);
|
|
6417
|
+
this.listContainer.style.setProperty("--popup-width", `${currentWidth - 2 * popupMenuPadding}px`);
|
|
6416
6418
|
}
|
|
6417
6419
|
}, 100));
|
|
6418
6420
|
this.onInputChange = async (e) => {
|
|
@@ -6437,6 +6439,9 @@ class DuetCombobox {
|
|
|
6437
6439
|
if (!this.force && !this.multiple && this.selectedItems.size > 0 && newValue !== this.getSelectedItemLabel()) {
|
|
6438
6440
|
this.selectedItems.clear();
|
|
6439
6441
|
}
|
|
6442
|
+
if (!this.force && !this.multiple && newValue === "") {
|
|
6443
|
+
this.value = undefined;
|
|
6444
|
+
}
|
|
6440
6445
|
this.listOpen = String(newValue).length >= this.minCharacters && ((_a = this.getFilteredItems()) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
6441
6446
|
};
|
|
6442
6447
|
this.onKeyDown = (e) => {
|
|
@@ -6467,6 +6472,9 @@ class DuetCombobox {
|
|
|
6467
6472
|
return;
|
|
6468
6473
|
}
|
|
6469
6474
|
if (isEscapeKey(e) || isTabKey(e)) {
|
|
6475
|
+
if (this.listOpen) {
|
|
6476
|
+
e.preventDefault();
|
|
6477
|
+
}
|
|
6470
6478
|
this.updateInputText(true);
|
|
6471
6479
|
this.activeItem = undefined;
|
|
6472
6480
|
this.listOpen = false;
|
|
@@ -6499,7 +6507,7 @@ class DuetCombobox {
|
|
|
6499
6507
|
}
|
|
6500
6508
|
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
6501
6509
|
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
6502
|
-
this.input.accessibleActiveDescendant =
|
|
6510
|
+
this.input.accessibleActiveDescendant = this.activeDescendantId;
|
|
6503
6511
|
this.activeItem = nextActiveItem;
|
|
6504
6512
|
this.scrollToActive();
|
|
6505
6513
|
}
|
|
@@ -6540,8 +6548,16 @@ class DuetCombobox {
|
|
|
6540
6548
|
this.openListOnClick = false;
|
|
6541
6549
|
this.filterType = "startsWith";
|
|
6542
6550
|
}
|
|
6551
|
+
popupMenuOpenHandler() {
|
|
6552
|
+
if (this.listOpen) {
|
|
6553
|
+
this.listContainer.show();
|
|
6554
|
+
}
|
|
6555
|
+
else {
|
|
6556
|
+
this.listContainer.hide();
|
|
6557
|
+
}
|
|
6558
|
+
}
|
|
6543
6559
|
activeItemHandler(state) {
|
|
6544
|
-
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ?
|
|
6560
|
+
this.input.accessibleActiveDescendant = this.listOpen && (state || state === 0) ? this.activeDescendantId : "";
|
|
6545
6561
|
}
|
|
6546
6562
|
handleDocumentClick(e) {
|
|
6547
6563
|
//we want to remove all user text if they have NOT selected from the dropdown
|
|
@@ -6681,6 +6697,7 @@ class DuetCombobox {
|
|
|
6681
6697
|
this.value = this.processedItems.filter(item => this.selectedItems.has(item.id)).map(item => item.value);
|
|
6682
6698
|
this.input.value = "";
|
|
6683
6699
|
this.updateChips();
|
|
6700
|
+
this.input.setFocus();
|
|
6684
6701
|
}
|
|
6685
6702
|
/**
|
|
6686
6703
|
* Add item with id to the selectedItems set. Used only when multiple is true.
|
|
@@ -6715,6 +6732,8 @@ class DuetCombobox {
|
|
|
6715
6732
|
if (this.selectedItems.has(id)) {
|
|
6716
6733
|
this.selectedItems.delete(id);
|
|
6717
6734
|
this.value = undefined;
|
|
6735
|
+
this.input.value = "";
|
|
6736
|
+
await this.input.setFocus();
|
|
6718
6737
|
}
|
|
6719
6738
|
else {
|
|
6720
6739
|
this.selectedItems.clear();
|
|
@@ -6722,7 +6741,7 @@ class DuetCombobox {
|
|
|
6722
6741
|
this.value = this.processedItems.find(item => item.id === id).value;
|
|
6723
6742
|
}
|
|
6724
6743
|
if (emitEvent) {
|
|
6725
|
-
this.emitChangeEvent(id);
|
|
6744
|
+
this.emitChangeEvent(this.value && id);
|
|
6726
6745
|
}
|
|
6727
6746
|
await this.updateInputText();
|
|
6728
6747
|
}
|
|
@@ -6786,6 +6805,7 @@ class DuetCombobox {
|
|
|
6786
6805
|
this.input.value = ""; // set value to empty so that cursor position follows accordingly
|
|
6787
6806
|
this.input.value = await this.getSelectedItemLabel();
|
|
6788
6807
|
this.input.scrollLeft = this.input.scrollWidth;
|
|
6808
|
+
await this.input.setFocus();
|
|
6789
6809
|
}
|
|
6790
6810
|
}
|
|
6791
6811
|
// Event handlers
|
|
@@ -6805,7 +6825,7 @@ class DuetCombobox {
|
|
|
6805
6825
|
}
|
|
6806
6826
|
//function that scrolls to the li element with the class "active"
|
|
6807
6827
|
scrollToActive() {
|
|
6808
|
-
const activeElement =
|
|
6828
|
+
const activeElement = document.getElementById(`${this.activeDescendantId}`); // this is undefined on 1st keydown, make it be valid to fix the issue
|
|
6809
6829
|
if (activeElement) {
|
|
6810
6830
|
activeElement.scrollIntoView({
|
|
6811
6831
|
behavior: "smooth",
|
|
@@ -6879,10 +6899,10 @@ class DuetCombobox {
|
|
|
6879
6899
|
}
|
|
6880
6900
|
get element() { return getElement(this); }
|
|
6881
6901
|
static get watchers() { return {
|
|
6902
|
+
"listOpen": ["popupMenuOpenHandler", "processListOpenChange"],
|
|
6882
6903
|
"activeItem": ["activeItemHandler"],
|
|
6883
6904
|
"items": ["processItems"],
|
|
6884
|
-
"value": ["processValue"]
|
|
6885
|
-
"listOpen": ["processListOpenChange"]
|
|
6905
|
+
"value": ["processValue"]
|
|
6886
6906
|
}; }
|
|
6887
6907
|
static get style() { return DuetComboboxStyle0; }
|
|
6888
6908
|
static get cmpMeta() { return {
|
|
@@ -6898,7 +6918,7 @@ class DuetCombobox {
|
|
|
6898
6918
|
"multiple": [4],
|
|
6899
6919
|
"items": [1032],
|
|
6900
6920
|
"formatter": [16],
|
|
6901
|
-
"value": [
|
|
6921
|
+
"value": [1025],
|
|
6902
6922
|
"minCharacters": [2, "min-characters"],
|
|
6903
6923
|
"openListOnClick": [4, "open-list-on-click"],
|
|
6904
6924
|
"filterType": [1, "filter-type"],
|
|
@@ -6911,7 +6931,7 @@ class DuetCombobox {
|
|
|
6911
6931
|
},
|
|
6912
6932
|
"$listeners$": [[4, "click", "handleDocumentClick"]],
|
|
6913
6933
|
"$lazyBundleId$": "-",
|
|
6914
|
-
"$attrsToReflect$": [
|
|
6934
|
+
"$attrsToReflect$": []
|
|
6915
6935
|
}; }
|
|
6916
6936
|
}
|
|
6917
6937
|
|
|
@@ -6960,10 +6980,10 @@ class DuetContactCard {
|
|
|
6960
6980
|
render() {
|
|
6961
6981
|
const isTurva = this.theme === "turva";
|
|
6962
6982
|
const theme = isTurva ? "turva" : "default";
|
|
6963
|
-
return (hAsync(Host, { key: '
|
|
6983
|
+
return (hAsync(Host, { key: '74f85ad21c040a5a98dee8c360b9958be3109855', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'd11d8de783ddd26e09d9e96923dc781f569e93f9', class: {
|
|
6964
6984
|
"duet-contact-card": true,
|
|
6965
6985
|
"duet-theme-turva": this.theme === "turva",
|
|
6966
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
6986
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '7e934c796778de29e95e94bebec6937048b78566' }, this.name && (hAsync("duet-heading", { key: '26031bfeb5a46a69ebba836bd1cc714b077bb121', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '8768df03c1a5dfb04cdf1eda46da5a327bbf3324', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '92235e6bd3a7012a478cfd8100e4f5701f9ea950', class: "email" }, hAsync("duet-icon", { key: '3fe17e7cc18b9f724be2627dcb4e0adf667aaf5b', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'cc356db4a9b7f198504873d3e335cd6f83d7c70c', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'b9e6b3cc84f4aa81599ff5b7cd626f3e5f03ab33', class: "phone" }, hAsync("duet-icon", { key: '3223b182ee564f36ec8994536981eb6bc9fba82d', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '2396ee622e62c5a5be8dde2ecc9edecbb823cc9a', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: 'b5d4135434a9627822c9569ae9945bc5c3c2441a', class: "call-to-action" }, hAsync("duet-button", { key: '7ebaddbe3b97f9916fada3f248c343eb7bd6bdde', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '12212314eff53718f85f30af84592ee6447b6b7b' }), hAsync("slot", { key: 'd1d55182364ac381b7f4ce0bcdecc6c0643739bc' }))));
|
|
6967
6987
|
}
|
|
6968
6988
|
get element() { return getElement(this); }
|
|
6969
6989
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7260,6 +7280,23 @@ class DuetDatePicker {
|
|
|
7260
7280
|
this.initialTouchX = null;
|
|
7261
7281
|
this.initialTouchY = null;
|
|
7262
7282
|
this.focusTarget = null;
|
|
7283
|
+
this.dateErrorMessages = {
|
|
7284
|
+
badInput: {
|
|
7285
|
+
en: "Wrong date format",
|
|
7286
|
+
fi: "Väärä päivämäärämuoto",
|
|
7287
|
+
sv: "Fel datumformat",
|
|
7288
|
+
},
|
|
7289
|
+
rangeUnderflow: {
|
|
7290
|
+
en: "Date too early",
|
|
7291
|
+
fi: "Päivämäärä liian aikainen",
|
|
7292
|
+
sv: "Datum för tidigt",
|
|
7293
|
+
},
|
|
7294
|
+
rangeOverflow: {
|
|
7295
|
+
en: "Date too late",
|
|
7296
|
+
fi: "Päivämäärä liian aikainen",
|
|
7297
|
+
sv: "Datum för sent",
|
|
7298
|
+
},
|
|
7299
|
+
};
|
|
7263
7300
|
this.enableActiveFocus = () => {
|
|
7264
7301
|
this.focusTarget = "day-button";
|
|
7265
7302
|
};
|
|
@@ -7272,6 +7309,11 @@ class DuetDatePicker {
|
|
|
7272
7309
|
};
|
|
7273
7310
|
this.handleBlur = (event) => {
|
|
7274
7311
|
event.stopPropagation();
|
|
7312
|
+
if (!this.validity.valid) {
|
|
7313
|
+
this.value = null;
|
|
7314
|
+
const errorKey = Object.entries(this.validity).find(entry => !!entry[1])[0];
|
|
7315
|
+
this.internalValidityError = getLocaleString(this.dateErrorMessages[errorKey]);
|
|
7316
|
+
}
|
|
7275
7317
|
this.duetBlur.emit({
|
|
7276
7318
|
component: "duet-date-picker",
|
|
7277
7319
|
});
|
|
@@ -7361,6 +7403,7 @@ class DuetDatePicker {
|
|
|
7361
7403
|
this.open = false;
|
|
7362
7404
|
this.focusedDay = new Date();
|
|
7363
7405
|
this.inputValue = "";
|
|
7406
|
+
this.internalValidityError = "";
|
|
7364
7407
|
this.theme = "";
|
|
7365
7408
|
this.expand = false;
|
|
7366
7409
|
this.name = "";
|
|
@@ -7395,10 +7438,19 @@ class DuetDatePicker {
|
|
|
7395
7438
|
this.validity = undefined;
|
|
7396
7439
|
this.accessibleLiveError = "polite";
|
|
7397
7440
|
}
|
|
7398
|
-
updateValidity() {
|
|
7441
|
+
updateValidity(newValue, _oldValue, propName) {
|
|
7442
|
+
if (propName === "value" && newValue === null) {
|
|
7443
|
+
return;
|
|
7444
|
+
}
|
|
7399
7445
|
this.determineValidity(parseISODate(this.value));
|
|
7446
|
+
if (this.validity.valid) {
|
|
7447
|
+
this.internalValidityError = "";
|
|
7448
|
+
}
|
|
7400
7449
|
}
|
|
7401
7450
|
updateInternalValue() {
|
|
7451
|
+
if (this.value === null) {
|
|
7452
|
+
return;
|
|
7453
|
+
}
|
|
7402
7454
|
const parsedValue = parseISODate(this.value);
|
|
7403
7455
|
const parsedInputValue = parseDate(this.inputValue);
|
|
7404
7456
|
// an invalid or empty value should clear the input
|
|
@@ -7607,6 +7659,7 @@ class DuetDatePicker {
|
|
|
7607
7659
|
"open": [32],
|
|
7608
7660
|
"focusedDay": [32],
|
|
7609
7661
|
"inputValue": [32],
|
|
7662
|
+
"internalValidityError": [32],
|
|
7610
7663
|
"setFocus": [64],
|
|
7611
7664
|
"show": [64],
|
|
7612
7665
|
"hide": [64]
|
|
@@ -7936,20 +7989,20 @@ class DuetFieldset {
|
|
|
7936
7989
|
* Always the last one in the class.
|
|
7937
7990
|
*/
|
|
7938
7991
|
render() {
|
|
7939
|
-
return (hAsync(Host, { key: '
|
|
7992
|
+
return (hAsync(Host, { key: 'f1f3d444a12a63dc805ed39d5df2127e5bb1a6b0', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'ee4f9a2ecd2929ec5c3a8ef1451d576455fdeb3c', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
7940
7993
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
7941
7994
|
// once they do, we can remove errors from the aria-describedby
|
|
7942
7995
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
7943
7996
|
class: {
|
|
7944
7997
|
"duet-fieldset": true,
|
|
7945
7998
|
"duet-theme-turva": this.theme === "turva",
|
|
7946
|
-
} }, hAsync("legend", { key: '
|
|
7999
|
+
} }, hAsync("legend", { key: 'f28701a95d80391e51b4da87c959632b5a8d1ffb', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '00174cf4da53b36e02cbb1baa6e7f394e4837013' }, this.label), this.caption && hAsync("span", { key: 'c9cd441e8bca0154ef1813ddfbde9dfaf340c5aa' }, this.caption)), hAsync("div", { key: '50f3f035319e6d60aef074d6469e4a61577fc15b', class: {
|
|
7947
8000
|
"duet-legend-wrapper": true,
|
|
7948
8001
|
"duet-legend-has-caption": !!this.caption,
|
|
7949
8002
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
7950
8003
|
"duet-legend-hidden": this.labelHidden,
|
|
7951
8004
|
"duet-legend-compact": this.compactLabel,
|
|
7952
|
-
} }, hAsync("div", { key: '
|
|
8005
|
+
} }, hAsync("div", { key: '3295a828e865f3a098633a3dc6ef7a3be348aa26', class: "duet-fieldset-label" }, hAsync("span", { key: '72f62a24e4815ff4a9807c030c32b6dedef0d667', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '890f95bd218c8b0bbdfc1a408c1449fa2b56afbb', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '8dc56ad89eb4bac4a5e4563f45200a8d2993dc47', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '2321bfb5f6e91b96fbdf2514e697e9de2265b22d', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '27c31b44f71cdf4b5a4a7902c4df395f175f2e8e' }), hAsync("span", { key: '31d68af77217b877f00493b906a41a03eb67672c', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '131471978f9b59dad56ad633dd52609578c66c62' }, this.error)))));
|
|
7953
8006
|
}
|
|
7954
8007
|
get element() { return getElement(this); }
|
|
7955
8008
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -9576,11 +9629,11 @@ class DuetIcon {
|
|
|
9576
9629
|
: {};
|
|
9577
9630
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9578
9631
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9579
|
-
return (hAsync(Host, { key: '
|
|
9632
|
+
return (hAsync(Host, { key: 'e2a6207edfe7af905325a3fe412f97a529c93ed8', class: {
|
|
9580
9633
|
"duet-m-0": this.margin === "none",
|
|
9581
9634
|
"duet-icon-has-outline": !!this.outline,
|
|
9582
9635
|
"duet-icon-has-background": !!this.background,
|
|
9583
|
-
} }, hAsync("span", { key: '
|
|
9636
|
+
} }, hAsync("span", { key: '0bd4b9de6c7c4fb0a2663fc16d742e9e0223aa5d', "aria-hidden": "true", style: styles, class: {
|
|
9584
9637
|
"duet-icon": true,
|
|
9585
9638
|
"duet-theme-turva": this.theme === "turva",
|
|
9586
9639
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9589,7 +9642,7 @@ class DuetIcon {
|
|
|
9589
9642
|
[shapeStyle]: true,
|
|
9590
9643
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
9591
9644
|
"duet-icon-not-responsive": !this.responsive,
|
|
9592
|
-
} }, hAsync("span", { key: '
|
|
9645
|
+
} }, hAsync("span", { key: 'dca93a95c7f578585dcd6030f7d2bbdf50766ed5', "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 }))));
|
|
9593
9646
|
}
|
|
9594
9647
|
get element() { return getElement(this); }
|
|
9595
9648
|
static get watchers() { return {
|
|
@@ -10106,7 +10159,7 @@ function isInternetExplorer() {
|
|
|
10106
10159
|
return "documentMode" in document || /Edge/.test(ua);
|
|
10107
10160
|
}
|
|
10108
10161
|
|
|
10109
|
-
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{
|
|
10162
|
+
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
10110
10163
|
var DuetLayoutStyle0 = duetLayoutCss;
|
|
10111
10164
|
|
|
10112
10165
|
/**
|
|
@@ -10153,23 +10206,20 @@ class DuetLayout {
|
|
|
10153
10206
|
center: this.center,
|
|
10154
10207
|
"duet-middle": this.middle,
|
|
10155
10208
|
"duet-ie": isInternetExplorer(),
|
|
10156
|
-
} }, this.hasTop && (hAsync("div", { key: '
|
|
10209
|
+
} }, hAsync("div", { key: '0db8d45f16f7bec516c0b831393cb05f962bfdb8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'b65a92ce153b41318cb757b3457dfc470c11c4c6', class: {
|
|
10157
10210
|
"duet-layout-top": true,
|
|
10158
|
-
"duet-m-0": this.margin === "none",
|
|
10159
10211
|
"duet-center": this.center,
|
|
10160
|
-
} }, hAsync("div", { key: '
|
|
10212
|
+
} }, hAsync("div", { key: '777fc5b75ff85428b7234d94739f7471f5dc8011', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '513fa6d80b00980efc02c454889726f24b3af6a9', name: "top" })))), hAsync("div", { key: '8d24cdd9f0a38cadf71cf74df0f44c547a9fb4f3', class: {
|
|
10161
10213
|
"duet-layout": true,
|
|
10162
|
-
"duet-layout-has-top": this.hasTop,
|
|
10163
10214
|
"has-sidebar": this.hasSidebar,
|
|
10164
|
-
"duet-m-0": this.margin === "none",
|
|
10165
10215
|
"duet-center": this.center,
|
|
10166
10216
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10167
|
-
} }, hAsync("main", { key: '
|
|
10217
|
+
} }, hAsync("main", { key: 'e98b4d6704819e6a07f5ccc7b29227d6623e2bc2', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '642f458827bfce2732c708d5cff00b382180a202', name: "page-heading" }), hAsync("slot", { key: '929847b72cf01ed5be66b9fdc6e0e204281d0eab', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '9cf127c89c37b47642d7d3234476c16d5c38fd11', class: "duet-sidebar" }, hAsync("div", { key: '043863761695cf57b596ab6759e99ae32e09f432', class: {
|
|
10168
10218
|
"duet-sidebar-container": true,
|
|
10169
10219
|
"has-tabs": this.tabs,
|
|
10170
10220
|
sticky: this.sticky,
|
|
10171
10221
|
[this.stickyDistance]: this.sticky,
|
|
10172
|
-
} }, hAsync("slot", { key: '
|
|
10222
|
+
} }, hAsync("slot", { key: '772f164951137306ec8289a095a829fd2fc0a87b', name: "sidebar" }))))))));
|
|
10173
10223
|
}
|
|
10174
10224
|
get element() { return getElement(this); }
|
|
10175
10225
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10321,10 +10371,10 @@ class DuetLink {
|
|
|
10321
10371
|
render() {
|
|
10322
10372
|
const Tag = !this.url ? "button" : "a";
|
|
10323
10373
|
const isButton = Tag === "button";
|
|
10324
|
-
return (hAsync(Host, { key: '
|
|
10374
|
+
return (hAsync(Host, { key: 'd41fb8c7164bbecec224e9e2fa972eb7b1a293d6', class: {
|
|
10325
10375
|
[`duet-link-${this.variation}`]: true,
|
|
10326
10376
|
"duet-m-0": this.margin === "none",
|
|
10327
|
-
} }, hAsync(Tag, { key: '
|
|
10377
|
+
} }, hAsync(Tag, { key: 'e6918074f43470311a133ff2141b23ec25e927a0', href: this.url, class: {
|
|
10328
10378
|
"duet-link": true,
|
|
10329
10379
|
"duet-link-is-external": this.external,
|
|
10330
10380
|
"duet-link-is-download": !!this.download,
|
|
@@ -10447,7 +10497,7 @@ class DuetList {
|
|
|
10447
10497
|
* Always the last one in the class.
|
|
10448
10498
|
*/
|
|
10449
10499
|
render() {
|
|
10450
|
-
return (hAsync("dl", { key: '
|
|
10500
|
+
return (hAsync("dl", { key: 'be789bab546df8b0ac070d09a5f5c47f5f428afe', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '645ee0c7c623eeed042e25ac2ea7aab51ef1a2bc' })));
|
|
10451
10501
|
}
|
|
10452
10502
|
get element() { return getElement(this); }
|
|
10453
10503
|
static get watchers() { return {
|
|
@@ -10497,14 +10547,14 @@ class DuetListItem {
|
|
|
10497
10547
|
* Always the last one in the class.
|
|
10498
10548
|
*/
|
|
10499
10549
|
render() {
|
|
10500
|
-
return (hAsync(Host, { key: '
|
|
10550
|
+
return (hAsync(Host, { key: '8d0b6c3347c4a27c4860fab966fe6bc260b67a86', class: {
|
|
10501
10551
|
"duet-no-stacking": !this.responsive,
|
|
10502
10552
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10503
10553
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10504
10554
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10505
10555
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10506
10556
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10507
|
-
} }, hAsync("dt", { key: '
|
|
10557
|
+
} }, hAsync("dt", { key: '2240e7c58ae5f995ae07f4ef72d1196e2098a01c' }, hAsync("slot", { key: '0bd7d924731a9f4cbe0583160ea8c36ef97cc810', name: "label" })), hAsync("dd", { key: 'c4c449fcf008b4d2b068fd36f0d3a982b43a3aac' }, hAsync("slot", { key: 'a655dde8debcffe6b0569772902072ede9790cab', name: "value" }))));
|
|
10508
10558
|
}
|
|
10509
10559
|
static get style() { return DuetListItemStyle0; }
|
|
10510
10560
|
static get cmpMeta() { return {
|
|
@@ -10597,7 +10647,7 @@ class DuetLogo {
|
|
|
10597
10647
|
*/
|
|
10598
10648
|
render() {
|
|
10599
10649
|
const TagName = this.href ? "a" : "div";
|
|
10600
|
-
return (hAsync(Host, { key: '
|
|
10650
|
+
return (hAsync(Host, { key: 'cd53d85f163bc76250be1e5514b00bf6769e7f54', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '8ec59c6823257e298b0e298a7d6eda2c40725d83', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
10601
10651
|
"duet-logo": true,
|
|
10602
10652
|
[this.size]: true,
|
|
10603
10653
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -10627,7 +10677,7 @@ class DuetLogo {
|
|
|
10627
10677
|
}; }
|
|
10628
10678
|
}
|
|
10629
10679
|
|
|
10630
|
-
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
10680
|
+
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
10631
10681
|
var DuetMenuBarStyle0 = duetMenuBarCss;
|
|
10632
10682
|
|
|
10633
10683
|
/**
|
|
@@ -10766,13 +10816,13 @@ class DuetMenuBar {
|
|
|
10766
10816
|
render() {
|
|
10767
10817
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
10768
10818
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
10769
|
-
return (hAsync(Host, { key: '
|
|
10819
|
+
return (hAsync(Host, { key: '9a82d643e803955587245cdeab312b2e3cc0daf1' }, hAsync("nav", { key: '8c7c326745b8bc593357acbd1fd629b827f3d6fa', class: {
|
|
10770
10820
|
"duet-menu-bar": true,
|
|
10771
10821
|
"duet-theme-turva": this.theme === "turva",
|
|
10772
10822
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
10773
10823
|
hidden: this.hidden && this.hideOnScroll,
|
|
10774
10824
|
bottom: this.onBottom,
|
|
10775
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
10825
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'e24739d56af15972f61b6ab77023cc406065ca18', class: "top" }), hAsync("div", { key: '7417f19867c76f8892ba6afb4186f0f1ac63fe30', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'bb310c770913b93feaa0fa0eb6b7ddb4999a5768' }, hAsync("duet-logo", { key: '98d0d4582de1eae55df9525d27894c879905c9db', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: 'de2176bb51370d7555b957aaae4ba39f4edac589', class: "list center", role: "list" }, hAsync("div", { key: '754756436eefdf6c3573c140bf82efadfd52230b', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '1b9d20d9511d4e256bf43032f7ca6e8410e92ff8', name: "center" }), hAsync("div", { key: 'b286c85435057052db5a16825e200f19a3362a45', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '9f8c33c495e38d6e4097c09c241021f4dfac2e7c', class: "list right", role: "list" }, hAsync("slot", { key: '60044dd369d475608a15825dc4f4ab37002bb7c4', name: "right" }))), hAsync("div", { key: 'd2867a4033941a35a3c5aab6f513654c6d7ae46b', class: "bottom" }))));
|
|
10776
10826
|
}
|
|
10777
10827
|
get element() { return getElement(this); }
|
|
10778
10828
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -10838,10 +10888,10 @@ class DuetMenuBarButton {
|
|
|
10838
10888
|
* Always the last one in the class.
|
|
10839
10889
|
*/
|
|
10840
10890
|
render() {
|
|
10841
|
-
return (hAsync(Host, { key: '
|
|
10891
|
+
return (hAsync(Host, { key: 'b75681de13f1b56aba468bbeaf6c91cff06f04c8', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '8e420bc9b912c9086a8c2a8f630ca6adf00975cd', ref: button => (this.nativeButton = button), class: {
|
|
10842
10892
|
"duet-menu-bar-button": true,
|
|
10843
10893
|
"duet-theme-turva": this.theme === "turva",
|
|
10844
|
-
}, "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: '
|
|
10894
|
+
}, "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: 'd9d2925556a2dbc47b47bf619153776cc22748a3', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '84fc4d829c7c9265000de9c26f9b3eaaa49a0ee2' }))));
|
|
10845
10895
|
}
|
|
10846
10896
|
get element() { return getElement(this); }
|
|
10847
10897
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -10924,17 +10974,17 @@ class DuetMenuBarDropdown {
|
|
|
10924
10974
|
* Always the last one in the class.
|
|
10925
10975
|
*/
|
|
10926
10976
|
render() {
|
|
10927
|
-
return (hAsync(Host, { key: '
|
|
10977
|
+
return (hAsync(Host, { key: '159a72c1a2553cb3e60dc3dc0c65b26dbdb5f127', role: "listitem" }, hAsync("div", { key: 'f785855ea709c8c72a24bb21358f0c1d88f64ea9', class: {
|
|
10928
10978
|
"duet-menu-bar-dropdown": true,
|
|
10929
10979
|
"duet-theme-turva": this.theme === "turva",
|
|
10930
10980
|
active: this.open,
|
|
10931
10981
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
10932
|
-
} }, hAsync("button", { key: '
|
|
10982
|
+
} }, hAsync("button", { key: '5bd18b653e56b118010f0d4666499248536c8191', 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: {
|
|
10933
10983
|
active: this.open,
|
|
10934
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
10984
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'ee1a6c98ef2fa2fd6cd8163bb0100679898343a1', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'c2580c2db45875b7aa575780a374d3f4e0d160bc', class: "label" }, hAsync("slot", { key: 'ccb43b624e73ef5787ebd4be857b6c8062542ace', name: "label" }), hAsync("duet-icon", { key: 'a22ff13f9b06f00a83bc8bdcba71e283b6d209b8', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'ef1d06be5ca34c8f4b08abca38c2a8cad73a462e', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
10935
10985
|
items: true,
|
|
10936
10986
|
hidden: !this.open,
|
|
10937
|
-
} }, hAsync("slot", { key: '
|
|
10987
|
+
} }, hAsync("slot", { key: 'd433708b350f67749fd32d1db41a0e0f24f2a664' })))));
|
|
10938
10988
|
}
|
|
10939
10989
|
get element() { return getElement(this); }
|
|
10940
10990
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -10994,11 +11044,11 @@ class DuetMenuBarDropdownLink {
|
|
|
10994
11044
|
* Always the last one in the class.
|
|
10995
11045
|
*/
|
|
10996
11046
|
render() {
|
|
10997
|
-
return (hAsync(Host, { key: '
|
|
11047
|
+
return (hAsync(Host, { key: 'd465ea161313c153d8d4d829f94fc48567a9f16b' }, hAsync("a", { key: '77aba96c14938f35bdc65b30a39a1c4798513b8c', class: {
|
|
10998
11048
|
"duet-menu-bar-dropdown-link": true,
|
|
10999
11049
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11000
11050
|
"duet-theme-turva": this.theme === "turva",
|
|
11001
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11051
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '760f86354100f4dc150606892788094ab5e393ab', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd7e78f0c2a70ad6eb71c0929fe4254c48dbd0b2c' }))));
|
|
11002
11052
|
}
|
|
11003
11053
|
get element() { return getElement(this); }
|
|
11004
11054
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11050,11 +11100,11 @@ class DuetMenuBarItem {
|
|
|
11050
11100
|
*/
|
|
11051
11101
|
render() {
|
|
11052
11102
|
const TagName = this.url ? "a" : "button";
|
|
11053
|
-
return (hAsync(Host, { key: '
|
|
11103
|
+
return (hAsync(Host, { key: '61c0988644daa9a5cbd52db81fe2b158347d691c', role: "listitem" }, hAsync(TagName, { key: 'dc943150a89fbd84b002cfc41e5158403aa24dc9', ref: element => (this.itemElement = element), class: {
|
|
11054
11104
|
"duet-menu-bar-item": true,
|
|
11055
11105
|
"duet-theme-turva": this.theme === "turva",
|
|
11056
11106
|
active: this.active,
|
|
11057
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
11107
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '575cc29397b227cbcf0299c53cb7f2aa5ab535b3', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '53dbb1f8f6348906f6cf5a58b3e4f9670b0294fa' }), this.trailingIcon && (hAsync("duet-icon", { key: '7ee1c4e3032e1fe1f9a27a5b03cf4457a797534c', class: {
|
|
11058
11108
|
"trailing-icon": true,
|
|
11059
11109
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11060
11110
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
@@ -11105,11 +11155,11 @@ class DuetMenuBarLink {
|
|
|
11105
11155
|
* Always the last one in the class.
|
|
11106
11156
|
*/
|
|
11107
11157
|
render() {
|
|
11108
|
-
return (hAsync(Host, { key: '
|
|
11158
|
+
return (hAsync(Host, { key: 'fcc0c89c9c6e809e8b2bb0a264146d81e8c93c6e', role: "listitem" }, hAsync("a", { key: '1d290fada8ee026de4e189c9f937a2aca26467c8', class: {
|
|
11109
11159
|
"duet-menu-bar-link": true,
|
|
11110
11160
|
"duet-theme-turva": this.theme === "turva",
|
|
11111
11161
|
active: this.active,
|
|
11112
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11162
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '4cdeef2295998ece7f565164f12ce598a6eaecad', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'f55132877b4b03b3861054f8165e9ae78b3e17df' }))));
|
|
11113
11163
|
}
|
|
11114
11164
|
get element() { return getElement(this); }
|
|
11115
11165
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11360,18 +11410,18 @@ class DuetModal {
|
|
|
11360
11410
|
var _a, _b;
|
|
11361
11411
|
let iconColor = "primary";
|
|
11362
11412
|
let closeColor = "secondary";
|
|
11363
|
-
const closingButton = (hAsync("div", { key: '
|
|
11413
|
+
const closingButton = (hAsync("div", { key: '1da278102e1c18bced35701804e9217102015179', class: "duet-modal-close" }, hAsync("duet-button", { key: '8a90526b27671c22fc55532ddcb94fd3c1e32606', 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 })));
|
|
11364
11414
|
if (this.theme === "turva") {
|
|
11365
11415
|
iconColor = "primary-turva";
|
|
11366
11416
|
closeColor = "secondary-turva";
|
|
11367
11417
|
}
|
|
11368
|
-
return (hAsync("div", { key: '
|
|
11418
|
+
return (hAsync("div", { key: '58c17910a720462e06df9bc4b987c2e889c89d8f', 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: {
|
|
11369
11419
|
"duet-modal-container": true,
|
|
11370
11420
|
"duet-theme-turva": this.theme === "turva",
|
|
11371
11421
|
"duet-modal-active": this.open,
|
|
11372
11422
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11373
11423
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11374
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11424
|
+
} }, hAsync("duet-overlay", { key: '914408c9f5bd3059edf6197e12bb51827be71395', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'cee4a64292d3212c0913fca099acdd6da119a300', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11375
11425
|
"duet-modal-inner": true,
|
|
11376
11426
|
[this.size]: true,
|
|
11377
11427
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11382,18 +11432,18 @@ class DuetModal {
|
|
|
11382
11432
|
this.closeModal(e);
|
|
11383
11433
|
}
|
|
11384
11434
|
}
|
|
11385
|
-
} }, hAsync("div", { key: '
|
|
11435
|
+
} }, hAsync("div", { key: '10aadd51aa5a43d7158b2ba901e72dec73dff0c1', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11386
11436
|
"duet-modal": true,
|
|
11387
11437
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11388
11438
|
[this.size]: true,
|
|
11389
11439
|
[this.variation]: true,
|
|
11390
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11440
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'fb858b05b255dc1928c79212ac0460dfc0bc2fb7' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'e30440c57234f2f47213b1443939bc334f6984d2', class: {
|
|
11391
11441
|
"duet-modal-body": true,
|
|
11392
11442
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11393
11443
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11394
11444
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11395
11445
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11396
|
-
} }, hAsync("div", { key: '
|
|
11446
|
+
} }, hAsync("div", { key: 'c905a56349275111b507b046c34db4d99befff51', class: "duet-modal-header" }, hAsync("span", { key: '481ee67583a42d430318be206b08d3976eb9bb4e', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '55f8c5bb8575960783ea74eb7ea882aaad8bddea', name: "top" })), this.icon && hAsync("duet-icon", { key: 'c488922a98c16bf38e06085f1e9a673b12cf9b82', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'b850658878de554dfc27a4978e34bfced4432e00', "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: '4355986a4863d9f0d8359b95def6411f65d5c314', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: 'cf8f38d7b53c41cca414993f4a16d709c197f95e', size: "large", color: "primary" }))), hAsync("div", { key: '08c10e61fe189fb99f218eac37ace4084141b94f', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: 'f7c981e29d90accd5e7313a3f26de39788225287' })))))));
|
|
11397
11447
|
}
|
|
11398
11448
|
get element() { return getElement(this); }
|
|
11399
11449
|
static get watchers() { return {
|
|
@@ -11658,23 +11708,23 @@ class DuetMultiselect {
|
|
|
11658
11708
|
*/
|
|
11659
11709
|
render() {
|
|
11660
11710
|
var _a;
|
|
11661
|
-
return (hAsync(Host, { key: '
|
|
11711
|
+
return (hAsync(Host, { key: 'd88436c71fa360266440b8574bb2d35536cc65bd', class: {
|
|
11662
11712
|
"duet-m-0": this.margin === "none",
|
|
11663
11713
|
"duet-expand": this.expand,
|
|
11664
|
-
} }, hAsync("div", { key: '
|
|
11714
|
+
} }, hAsync("div", { key: '212b648e8147fb2e58294009eb8aef03556f8684', class: {
|
|
11665
11715
|
"duet-multiselect-container": true,
|
|
11666
11716
|
"duet-label-hidden": this.labelHidden,
|
|
11667
11717
|
"duet-theme-turva": this.theme === "turva",
|
|
11668
11718
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
11669
11719
|
"has-error": !!this.error,
|
|
11670
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
11720
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '9d4bec69691f6adc615c9366e86abf5f59fc39a6', 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: '3ba3a824ae8535ecafbfc73d0477da38e8146867', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c8fccccab9473eeb7d81b2b947b6732f6fe31111', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '7ccb8a12ae76b75762161f444d3a058be2d35b84', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '1c61620d8dfeec8fdc4448028951b9a1a4a9968e', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '3f2902a54d79a81144128cae9b62641ce234802a', 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: '04aec38aa6af20357b28bee3373c830bd34c0580', 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: '3dfe64b81ce62342b83ec4ea44bc1a1ec7544355', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '1dbd858425faeae0a323b3313913feec214549cd' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '40b599d5cfa8362c2edeb63aa59c9be3cecf3e80', 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: '6c28e4b2bb0c486a8698fa0615fff12df29e157a', 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: '6ea881d05fcbdeb899a1eb41b84f8b9653446eb4', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
11671
11721
|
"duet-multiselect-checkboxes": true,
|
|
11672
11722
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
11673
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
11723
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '63392964c348477e8b375b96084d4c4cbbf2143a', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'b7e0f951cd805058fc5ba9376ada31d42dcceb8e', 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: 'a8d826e0afeaf86fbcaa2289f41ffeca9cd04b43', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
11674
11724
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
11675
11725
|
var _a, _b;
|
|
11676
11726
|
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 }));
|
|
11677
|
-
})))))), hAsync("span", { key: '
|
|
11727
|
+
})))))), hAsync("span", { key: '78597a6d044e0186dcb06a22bdb897884e24739e', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '6b33900eb2e81a104b8370a520aaf378d18155cf' }, this.error)))));
|
|
11678
11728
|
}
|
|
11679
11729
|
get element() { return getElement(this); }
|
|
11680
11730
|
static get watchers() { return {
|
|
@@ -11743,7 +11793,7 @@ class DuetNav {
|
|
|
11743
11793
|
* Always the last one in the class.
|
|
11744
11794
|
*/
|
|
11745
11795
|
render() {
|
|
11746
|
-
return (hAsync(Host, { key: '
|
|
11796
|
+
return (hAsync(Host, { key: '478d3e1e1531078b464aae5753629362fc516832' }, hAsync("div", { key: 'be95c4c6556145aaa36f8191183fdf8f42e1f67c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '1fbc5c81afb252eee8adaf26e7e77108de0995bb' }), hAsync("slot", { key: 'ef5b3ef2e502f1990980ff8d3b4cc487703a76ca', name: "mobile" }), hAsync("slot", { key: 'b50d92d4f5a7f166f66178bf4cf7b03c6aa48692', name: "desktop" }))));
|
|
11747
11797
|
}
|
|
11748
11798
|
get element() { return getElement(this); }
|
|
11749
11799
|
static get style() { return DuetNavStyle0; }
|
|
@@ -11802,11 +11852,11 @@ class DuetNotification {
|
|
|
11802
11852
|
this.linkElement.focus(options);
|
|
11803
11853
|
}
|
|
11804
11854
|
render() {
|
|
11805
|
-
return (hAsync("div", { key: '
|
|
11855
|
+
return (hAsync("div", { key: '422e04582691291269942900a1279c343aef0fd6', role: "listitem", class: {
|
|
11806
11856
|
"duet-notification": true,
|
|
11807
11857
|
"duet-notification-highlight": this.highlight,
|
|
11808
11858
|
"duet-theme-turva": this.theme === "turva",
|
|
11809
|
-
} }, hAsync("a", { key: '
|
|
11859
|
+
} }, hAsync("a", { key: 'ca0b58b6e37c962ed94b50f7ec8984b2213f1156', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'dc7f017341005cc24213cdd7bc205e379b8887eb', class: "duet-notification-container" }, hAsync("div", { key: 'a6b105d9df9c08ab0b3080bf80d65c695fe6acd8', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '9a65564d31555396c437147ff3f69811c358ff8a', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: 'b37d3a8df717072e9a8b1df03966f7f3874f5b57' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'efedb3045f0522eb5350fd987da79b3247470bdf', class: "duet-notification-content" }, hAsync("slot", { key: '8ccf0b0088d6fe2729948d5bca6fd4b35db7b7d1' })), hAsync("div", { key: 'a752d182e944651bf0c5e6531d992a03acb743b0', class: "duet-notification-date" }, this.date)))));
|
|
11810
11860
|
}
|
|
11811
11861
|
get element() { return getElement(this); }
|
|
11812
11862
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -11924,10 +11974,10 @@ class DuetNotificationDrawer {
|
|
|
11924
11974
|
* Always the last one in the class.
|
|
11925
11975
|
*/
|
|
11926
11976
|
render() {
|
|
11927
|
-
return (hAsync("div", { key: '
|
|
11977
|
+
return (hAsync("div", { key: '181a6a82f04afb895830cf36e265a4f770f05188', class: {
|
|
11928
11978
|
"duet-drawer": true,
|
|
11929
11979
|
"duet-theme-turva": this.theme === "turva",
|
|
11930
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
11980
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'f4276d12063ff62d10998b80cd7621c3ceadc302', 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: '0c1a27d913b2ba53d8f6ef2eef3f0d05c251fabc', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'c32b7ae6a90f0d32f0d6b46aad6e9ba0fb0bf952', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: 'e698da96829cac38cfeab0a15734f3be7a679455', class: "duet-drawer-badge" }))), hAsync("span", { key: '2725ba4970bcc2e6213f69c64d25a3dc7d9f005b', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '71ae5369660c95fed7635cb7d5ae25fa5b9dde7a', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '1ac223f256804f95ff4a35f8fc115999d86fec8c', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: 'aaa99d0c45b1f8218f0f999c9558f374799dc6a5', id: "duet-drawer-content", class: {
|
|
11931
11981
|
"duet-drawer-content": true,
|
|
11932
11982
|
"duet-drawer-right": this.direction === "right",
|
|
11933
11983
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12388,7 +12438,7 @@ class DuetOverlay {
|
|
|
12388
12438
|
* Always the last one in the class.
|
|
12389
12439
|
*/
|
|
12390
12440
|
render() {
|
|
12391
|
-
return (hAsync(Host, { key: '
|
|
12441
|
+
return (hAsync(Host, { key: 'b97ad015b5683c5bf102b82383615099b3c3c8e5', "aria-hidden": "true" }, hAsync("div", { key: 'c41a21343f6350020a9deb5c1208aed416714531', style: { zIndex: this.zIndex }, class: {
|
|
12392
12442
|
"duet-overlay": true,
|
|
12393
12443
|
"duet-theme-turva": this.theme === "turva",
|
|
12394
12444
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12447,12 +12497,12 @@ class DuetPageHeading {
|
|
|
12447
12497
|
*/
|
|
12448
12498
|
render() {
|
|
12449
12499
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12450
|
-
return (hAsync("div", { key: '
|
|
12500
|
+
return (hAsync("div", { key: '9d96b26d203b8d57c0869d095572ec670ac5118f', class: {
|
|
12451
12501
|
"duet-page-heading": true,
|
|
12452
12502
|
"duet-theme-turva": this.theme === "turva",
|
|
12453
12503
|
"has-icon": !!this.icon,
|
|
12454
12504
|
[layout]: true,
|
|
12455
|
-
} }, hAsync("div", { key: '
|
|
12505
|
+
} }, hAsync("div", { key: 'ccae0c1de7c79e9af8be98af89e5e98624a8cfe3', class: "background" }, this.theme === "turva" && hAsync("div", { key: '3b1579dc4acdc50baf1bec8cc5e9fc82c4380807', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '987fd998a596513fd8c3c5de61d6d24b6b44b504', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'b1ba4eae34659ef4662ad34bbb93fd46139a159c', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'dfb95409b76b02cde19eecaaaef50a9c618ffc51', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'decdcbde482844fbb493010ff2e7fbd9a26c83a7', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '0dc922a094e4f7d0e1b68d7e72675ec83ed14e1d', class: "heading" }, hAsync("slot", { key: 'f1922d4f41d344867b4c336faaf1acbf94b3b4d0', name: "heading" }))));
|
|
12456
12506
|
}
|
|
12457
12507
|
get element() { return getElement(this); }
|
|
12458
12508
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -12805,32 +12855,32 @@ class DuetPagination {
|
|
|
12805
12855
|
* Always the last one in the class.
|
|
12806
12856
|
*/
|
|
12807
12857
|
render() {
|
|
12808
|
-
return (hAsync(Host, { key: '
|
|
12858
|
+
return (hAsync(Host, { key: '756ad0511064e85742b3bb271bdd2a468f3f1eb0', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '4d235370cef9fc2b6d9448b2b02a02eefc04b97b', 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: {
|
|
12809
12859
|
"duet-pagination-nav": true,
|
|
12810
12860
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
12811
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
12861
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '4e98bb73d78c7cb713ac1de78d9d5ccbdce1687d', "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: '9d16f94604abbcfbbd8b538395e46c024b88c0a2', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '7bbec70a660779cabba7847dd76732e9bfb71f1b', id: this.listId, class: {
|
|
12812
12862
|
"duet-pagination": true,
|
|
12813
12863
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
12814
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
12864
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '974c29ddf4de1b7aca6e24f289be9fbb4177eb56', class: {
|
|
12815
12865
|
"duet-pagination-page-button": true,
|
|
12816
12866
|
"duet-pagination-button-first": true,
|
|
12817
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
12867
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'd8fd5f3a859d470c11c15ae197313cc6c8983fc2', 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: 'c03e92b8f6ba758dd49e881380c964c87f155dcc', class: {
|
|
12818
12868
|
"duet-pagination-page-button": true,
|
|
12819
12869
|
"duet-pagination-button-first": true,
|
|
12820
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
12870
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '71b346d9a35b397951223fb32bdd449441dab0bf', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
12821
12871
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
12822
|
-
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: '
|
|
12823
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
12872
|
+
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: '142ba228678916f8f9a69de0c8f38430c6db7623' }, hAsync("li", { key: '6e2370fdf3f65c69d30ccee081b6426c12267a11', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '887ee7242f007578beb3b1a59702ab619d0a7e5e', 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: '0b5d04b555f074972abcc93a70a0d80bdadabcd4', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '3cbe3bbf9ef3406f2a98aa736f692aaf87119857', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '462643a69aeecc463a23ba22f0bf79ea8c4456c3', 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: 'fa748ff5b134b6a0a3a4550f0073fbf45baf2337', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
12873
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '0459e62e54d351fa5f22afa7afb3a3a6027df6c1' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'fb76ad813a83768da7a52230342170198efc321d', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '14b9164e41b63d0adbbfe5ef29074a46695a44d6', 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: '551f91a348760b5101e88adc3a3d8a3d692fc804', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '454ccc661d104be10d0a3908fa7516e1f627fb57', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '01eeca39b9de17e25c39ffec6296c26920b86380', 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
|
|
12824
12874
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
12825
|
-
: undefined }, hAsync("div", { key: '
|
|
12875
|
+
: undefined }, hAsync("div", { key: 'f4c0ca8a738f21233a966611c8ce15d7f776c7d7', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '3dc850213f9f9c7aac8cabba1901740d6068cdde', class: {
|
|
12826
12876
|
"duet-pagination-page-button": true,
|
|
12827
12877
|
"duet-pagination-button-last": true,
|
|
12828
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
12878
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'ddf5b89fac538ccdae84e031bea7a2830f656bc0', disabled: !!((this.current === this.totalPages &&
|
|
12829
12879
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
12830
|
-
(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: '
|
|
12880
|
+
(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: '78c2482a7d36358e53000e55c19057c2b4585165', class: {
|
|
12831
12881
|
"duet-pagination-page-button": true,
|
|
12832
12882
|
"duet-pagination-button-last": true,
|
|
12833
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
12883
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '330747e12a1e3d8bc0fb74f3945d99c06d8132d0', disabled: (this.current === this.totalPages &&
|
|
12834
12884
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
12835
12885
|
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 })))))));
|
|
12836
12886
|
}
|
|
@@ -12904,7 +12954,7 @@ class DuetParagraph {
|
|
|
12904
12954
|
const color = getColorByName(this.color);
|
|
12905
12955
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
12906
12956
|
// are not announced when placed inside duet-modal
|
|
12907
|
-
return (hAsync(Host, { key: '
|
|
12957
|
+
return (hAsync(Host, { key: 'e9f8164c6795c950d1f1340cc8a723113f2e231a', "aria-describedby": this.id }, hAsync("p", { key: '87942327cc0a685a6d1435adc090b8c0aa5c54ac', id: this.id, class: {
|
|
12908
12958
|
"duet-paragraph": true,
|
|
12909
12959
|
"duet-paragraph-small": this.size === "small",
|
|
12910
12960
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -12912,7 +12962,7 @@ class DuetParagraph {
|
|
|
12912
12962
|
"duet-m-0": this.margin === "none",
|
|
12913
12963
|
[this.variation]: true,
|
|
12914
12964
|
"duet-theme-turva": this.theme === "turva",
|
|
12915
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
12965
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '858b0de4a678c0320e76f1479d7e9a7202a749ac' }))));
|
|
12916
12966
|
}
|
|
12917
12967
|
get element() { return getElement(this); }
|
|
12918
12968
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -14292,7 +14342,9 @@ class DuetPopupMenu {
|
|
|
14292
14342
|
const button = element;
|
|
14293
14343
|
button.accessiblePopup = "true";
|
|
14294
14344
|
button.accessibleExpanded = false;
|
|
14295
|
-
|
|
14345
|
+
if (this.controllerIcon) {
|
|
14346
|
+
button.setAttribute("trailing-icon", "action-arrow-down-small");
|
|
14347
|
+
}
|
|
14296
14348
|
this.openButton = button;
|
|
14297
14349
|
}
|
|
14298
14350
|
catch (_e) { }
|
|
@@ -14329,6 +14381,7 @@ class DuetPopupMenu {
|
|
|
14329
14381
|
this.position = "absolute";
|
|
14330
14382
|
this.mainAxisOffset = 0;
|
|
14331
14383
|
this.crossAxisOffset = 0;
|
|
14384
|
+
this.controllerIcon = "action-arrow-down-small";
|
|
14332
14385
|
}
|
|
14333
14386
|
/**
|
|
14334
14387
|
* Component lifecycle events.
|
|
@@ -14347,7 +14400,9 @@ class DuetPopupMenu {
|
|
|
14347
14400
|
disconnectedCallback() {
|
|
14348
14401
|
if (this.openButton) {
|
|
14349
14402
|
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
14350
|
-
this.
|
|
14403
|
+
if (this.controllerIcon) {
|
|
14404
|
+
this.openButton.removeAttribute("trailing-icon");
|
|
14405
|
+
}
|
|
14351
14406
|
}
|
|
14352
14407
|
}
|
|
14353
14408
|
/**
|
|
@@ -14451,7 +14506,9 @@ class DuetPopupMenu {
|
|
|
14451
14506
|
if (this.openButton) {
|
|
14452
14507
|
this.openButton.accessibleExpanded = true;
|
|
14453
14508
|
}
|
|
14454
|
-
this.
|
|
14509
|
+
if (this.accessibleRole !== "listbox") {
|
|
14510
|
+
this.teleport.makeSiblingsInert();
|
|
14511
|
+
}
|
|
14455
14512
|
this.updatePlacement();
|
|
14456
14513
|
setTimeout(() => {
|
|
14457
14514
|
if (this.accessibleRole === "menu") {
|
|
@@ -14469,7 +14526,9 @@ class DuetPopupMenu {
|
|
|
14469
14526
|
this.focusOpenButton();
|
|
14470
14527
|
}
|
|
14471
14528
|
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
14472
|
-
this.
|
|
14529
|
+
if (this.accessibleRole !== "listbox") {
|
|
14530
|
+
this.teleport.removeInertFromSiblings();
|
|
14531
|
+
}
|
|
14473
14532
|
}, 200);
|
|
14474
14533
|
}
|
|
14475
14534
|
}
|
|
@@ -14491,12 +14550,15 @@ class DuetPopupMenu {
|
|
|
14491
14550
|
return -1;
|
|
14492
14551
|
}
|
|
14493
14552
|
render() {
|
|
14494
|
-
const
|
|
14553
|
+
const styles = {
|
|
14495
14554
|
top: `${this.menuY}px`,
|
|
14496
14555
|
left: `${this.menuX}px`,
|
|
14497
14556
|
position: this.position,
|
|
14557
|
+
overflowY: "auto",
|
|
14498
14558
|
};
|
|
14499
|
-
return (hAsync(Host, { key: '
|
|
14559
|
+
return (hAsync(Host, { key: '389d4d1b46db081d29a7fa8d57fd65f9c113f7a9' }, hAsync("div", { key: '8d5e47a1dac1f4a7b17aed4aa69afed4cfa44a39', ref: element => {
|
|
14560
|
+
this.menuElement = element;
|
|
14561
|
+
}, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '09fc711a6dc838d9e345a694c5e45c09a01bf4ed' }))));
|
|
14500
14562
|
}
|
|
14501
14563
|
get element() { return getElement(this); }
|
|
14502
14564
|
static get watchers() { return {
|
|
@@ -14518,6 +14580,7 @@ class DuetPopupMenu {
|
|
|
14518
14580
|
"position": [1025],
|
|
14519
14581
|
"mainAxisOffset": [2, "main-axis-offset"],
|
|
14520
14582
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
14583
|
+
"controllerIcon": [1, "controller-icon"],
|
|
14521
14584
|
"open": [32],
|
|
14522
14585
|
"menuY": [32],
|
|
14523
14586
|
"menuX": [32],
|
|
@@ -14532,7 +14595,7 @@ class DuetPopupMenu {
|
|
|
14532
14595
|
}; }
|
|
14533
14596
|
}
|
|
14534
14597
|
|
|
14535
|
-
const duetPopupMenuItemCss = "*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}";
|
|
14598
|
+
const duetPopupMenuItemCss = "*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(243, 249, 252)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 245, 247)}.duet-popup-menu-item:hover{background:rgb(230, 242, 248)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(228, 228, 230)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
14536
14599
|
var DuetPopupMenuItemStyle0 = duetPopupMenuItemCss;
|
|
14537
14600
|
|
|
14538
14601
|
class DuetPopupMenuItem {
|
|
@@ -14572,6 +14635,7 @@ class DuetPopupMenuItem {
|
|
|
14572
14635
|
this.trailingIcon = undefined;
|
|
14573
14636
|
this.trailingText = undefined;
|
|
14574
14637
|
this.active = false;
|
|
14638
|
+
this.activeDescendant = false;
|
|
14575
14639
|
}
|
|
14576
14640
|
/**
|
|
14577
14641
|
* Component lifecycle events.
|
|
@@ -14597,8 +14661,9 @@ class DuetPopupMenuItem {
|
|
|
14597
14661
|
"duet-popup-menu-item": true,
|
|
14598
14662
|
active: this.active,
|
|
14599
14663
|
"duet-theme-turva": this.theme === "turva",
|
|
14664
|
+
"active-descendant": this.activeDescendant,
|
|
14600
14665
|
};
|
|
14601
|
-
return (hAsync(Host, { key: '
|
|
14666
|
+
return (hAsync(Host, { key: 'e53141f7390844d3bd55d5204d7dac9334248fdc', role: this.accessibleRole }, hAsync(TagName, { key: '73fe7bb5b8cc6fa57b12e0d210edc4ef25dd401b', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" || "option" ? -1 : 0, 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: '3fd892272f52814da4c8f14ea7bec580a160e858', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '51b7da7f29ef0f85344e02b1a85aa185bca9b26a', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '9a72c7fcaeeafe89741760d84c91382b31ab798f' })), (this.trailingIcon || this.active) && (hAsync("duet-icon", { key: '1ddf8f956adbe24208d16c33fe28fde167babcb2', name: this.active ? "messaging-checked-small" : this.trailingIcon, size: this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '30aa34505231dbe1a78af9256920294e967a559a', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
14602
14667
|
}
|
|
14603
14668
|
get element() { return getElement(this); }
|
|
14604
14669
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -14618,6 +14683,7 @@ class DuetPopupMenuItem {
|
|
|
14618
14683
|
"trailingIcon": [1, "trailing-icon"],
|
|
14619
14684
|
"trailingText": [1, "trailing-text"],
|
|
14620
14685
|
"active": [1028],
|
|
14686
|
+
"activeDescendant": [4, "active-descendant"],
|
|
14621
14687
|
"focus": [32],
|
|
14622
14688
|
"setFocus": [64],
|
|
14623
14689
|
"isFocused": [64]
|
|
@@ -14752,12 +14818,12 @@ class DuetPromoCard {
|
|
|
14752
14818
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
14753
14819
|
};
|
|
14754
14820
|
const TagName = this.url ? "a" : "div";
|
|
14755
|
-
return (hAsync(Host, { key: '
|
|
14821
|
+
return (hAsync(Host, { key: 'b73cdd4f3dcd554706a13aeaa706543b681529ec', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '76f17c86f64af2cea4a60ce9882f8e76bc475ab6', class: {
|
|
14756
14822
|
"duet-promo-card": true,
|
|
14757
14823
|
"duet-theme-turva": this.theme === "turva",
|
|
14758
14824
|
"no-bg-color": !this.backgroundColor,
|
|
14759
14825
|
"duet-promo-card-link": !!this.url,
|
|
14760
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
14826
|
+
}, 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" }))))))));
|
|
14761
14827
|
}
|
|
14762
14828
|
get element() { return getElement(this); }
|
|
14763
14829
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -15364,10 +15430,10 @@ class DuetRangeStepper {
|
|
|
15364
15430
|
* Always the last one in the class.
|
|
15365
15431
|
*/
|
|
15366
15432
|
render() {
|
|
15367
|
-
return (hAsync("div", { key: '
|
|
15433
|
+
return (hAsync("div", { key: '43d93bf62ed3c3b091933da841d015662b158e50', class: {
|
|
15368
15434
|
"duet-range-stepper": true,
|
|
15369
15435
|
"duet-theme-turva": this.theme === "turva",
|
|
15370
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
15436
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '0eb7fa8f8e1f5853a16c85f8d9670c70d531f13a', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'b89f2b93dfe5a510bf6acbdf30ce694ff1ac59dc', 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: 'a9d84ec5096ae382828ee82ba75bd558b08d49ea', 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: "" })));
|
|
15371
15437
|
}
|
|
15372
15438
|
get element() { return getElement(this); }
|
|
15373
15439
|
static get watchers() { return {
|
|
@@ -15596,21 +15662,21 @@ class DuetScrollable {
|
|
|
15596
15662
|
* Always the last one in the class.
|
|
15597
15663
|
*/
|
|
15598
15664
|
render() {
|
|
15599
|
-
return (hAsync(Host, { key: '
|
|
15665
|
+
return (hAsync(Host, { key: '6a2f3a6f4036a13721ebcfbb3bb25b8643158e56', class: {
|
|
15600
15666
|
"duet-theme-turva": this.theme === "turva",
|
|
15601
15667
|
"duet-theme-default": this.theme === "default",
|
|
15602
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
15668
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '4bb215f5191f36166ecd690b990d98d8b5734924', class: {
|
|
15603
15669
|
collapse: true,
|
|
15604
15670
|
hide: !this.needsScrolling && !this.collapsed,
|
|
15605
|
-
} }, hAsync("duet-button", { key: '
|
|
15671
|
+
} }, hAsync("duet-button", { key: '5613531c8bf0412aa04c37ae90faa516b16b30ac', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'fce3a449acdf28e2a89942dc6a9acc436e457656', name: "collapse-button-label" })))), hAsync("div", { key: '39a8fc136ad07b789f6bfdd6901c1e806744a059', class: {
|
|
15606
15672
|
"duet-scrollable-items": true,
|
|
15607
15673
|
buttons: this.buttons,
|
|
15608
15674
|
center: this.center,
|
|
15609
|
-
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '
|
|
15675
|
+
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: 'c3929264d3c94505dd43827593f1702671629427', class: {
|
|
15610
15676
|
"duet-scrollable-list": true,
|
|
15611
15677
|
collapsed: this.collapsed,
|
|
15612
15678
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
15613
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
15679
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '3b0b1fde6ad0500b0bf893c4b4e8ae3ac90c426b' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
15614
15680
|
}
|
|
15615
15681
|
get element() { return getElement(this); }
|
|
15616
15682
|
static get watchers() { return {
|
|
@@ -15640,7 +15706,7 @@ class DuetScrollable {
|
|
|
15640
15706
|
}; }
|
|
15641
15707
|
}
|
|
15642
15708
|
|
|
15643
|
-
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout{
|
|
15709
|
+
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle){display:flex}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";
|
|
15644
15710
|
var DuetSectionLayoutStyle0 = duetSectionLayoutCss;
|
|
15645
15711
|
|
|
15646
15712
|
class DuetSectionLayout {
|
|
@@ -15655,14 +15721,13 @@ class DuetSectionLayout {
|
|
|
15655
15721
|
* Always the last one in the class.
|
|
15656
15722
|
*/
|
|
15657
15723
|
render() {
|
|
15658
|
-
return (hAsync(Host, { key: '
|
|
15724
|
+
return (hAsync(Host, { key: '3cdda64194aabb0bf4cef5f273b4eb35d956c63a', class: {
|
|
15659
15725
|
"duet-middle": this.middle,
|
|
15660
15726
|
"duet-ie": isInternetExplorer(),
|
|
15661
|
-
} }, hAsync("div", { key: '
|
|
15727
|
+
} }, hAsync("div", { key: '167f4d34166d423a1ece6a4699ddf139e54f1c9f', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '156a1bfcfb46fecb6c73120927bae1788efd32a1', class: {
|
|
15662
15728
|
"duet-layout": true,
|
|
15663
|
-
"duet-m-0": this.margin === "none",
|
|
15664
15729
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
15665
|
-
} }, hAsync("section", { key: '
|
|
15730
|
+
} }, hAsync("section", { key: '4aa12807146fee156f174be8670802f0d79f9974', class: "duet-main" }, hAsync("slot", { key: 'b3fb02f84266a65c67156bef474f9f6f2531623f' }))))));
|
|
15666
15731
|
}
|
|
15667
15732
|
get element() { return getElement(this); }
|
|
15668
15733
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -15905,9 +15970,9 @@ class DuetShapedImage {
|
|
|
15905
15970
|
const style = {
|
|
15906
15971
|
"--rotation": `${this.rotation}deg`,
|
|
15907
15972
|
};
|
|
15908
|
-
return (hAsync(Host, { key: '
|
|
15973
|
+
return (hAsync(Host, { key: '1014997f5cd5d7115313762e6ba18827e1a10f15', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '46afc61323d3dd569cd651a4720693cab08addfc', class: {
|
|
15909
15974
|
"shaped-image": true,
|
|
15910
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
15975
|
+
}, 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}")` } })))));
|
|
15911
15976
|
}
|
|
15912
15977
|
static get style() { return DuetShapedImageStyle0; }
|
|
15913
15978
|
static get cmpMeta() { return {
|
|
@@ -16015,12 +16080,12 @@ class DuetShowMore {
|
|
|
16015
16080
|
* Always the last one of the class.
|
|
16016
16081
|
*/
|
|
16017
16082
|
render() {
|
|
16018
|
-
return (hAsync(Host, { key: '
|
|
16083
|
+
return (hAsync(Host, { key: 'f2ae77fcd733d57404b733d43ffb049d3503ecd0' }, hAsync("div", { key: 'a0a01d9f4ef3065ced4d4de652969744e6e1e227', class: {
|
|
16019
16084
|
"duet-show-more": true,
|
|
16020
16085
|
"duet-theme-turva": this.theme === "turva",
|
|
16021
16086
|
"duet-m-0": this.margin === "none",
|
|
16022
16087
|
open: this.open,
|
|
16023
|
-
} }, hAsync("div", { key: '
|
|
16088
|
+
} }, hAsync("div", { key: '8b799e3b59a456e4873357daa72313f0d29bffcf', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'e5e04fa045ab43f00086e8799f87ab2b57f0a13b', class: { "slotted-content": true } }, hAsync("slot", { key: 'ca94e5187354a6debb373955df2d046a9c9271a4' }))), hAsync("duet-button", { key: 'cb4a2fc05e0e917e157458f31c75efb92b0258c1', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, 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" }, this.open ? this.showLessLabel : this.showMoreLabel))));
|
|
16024
16089
|
}
|
|
16025
16090
|
get element() { return getElement(this); }
|
|
16026
16091
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -16469,15 +16534,15 @@ class DuetSlideout {
|
|
|
16469
16534
|
};
|
|
16470
16535
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
16471
16536
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
16472
|
-
return (hAsync(Host, { key: '
|
|
16537
|
+
return (hAsync(Host, { key: 'b133285a9f8082e26a3cb91adf9975db7b2d39c3' }, hAsync("div", { key: '66082dd9a38534a3a03518b962a12173dc5e8d51', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-overlay", { key: 'f5aea071c9b0dd8e3478466fac64d74e5a8b137e', onClick: this.bgOnClick, visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '6d41981818265cbe3eb6ab711ee5aefe593cf8d6', 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: {
|
|
16473
16538
|
dialog: true,
|
|
16474
16539
|
hidden: !this.open,
|
|
16475
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
16540
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'd469b01ae84bc9f2c064148b7820d7310ad60a49', moveFocusTo: this.closeButton }), hAsync("div", { key: '240e4b1276c42176866343c057ede222be046065', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '18bfdc09a33746c205d0e3ba164a9d7ec18d9901', class: "top" }, hAsync("button", { key: '47311364dd458561055b3f59b7bf391e92fcdab3', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
16476
16541
|
"slideout-close": true,
|
|
16477
16542
|
active: this.open,
|
|
16478
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
16543
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'bf7abca5a1b60e78a0b3c7dce6d0920ee7cc304d', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'd9b04adb7db8c6e30c0de28c58003eb4ce9f6e73', class: "sticky-header" }, hAsync("slot", { key: '0e2a3aed3efff80773a2b48ba6977ad435a04d42', name: "sticky-header" }))), hAsync("div", { key: '56905d228e5f503ddda3303575c5e52f349503ea', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
16479
16544
|
items: true,
|
|
16480
|
-
} }, hAsync("slot", { key: '
|
|
16545
|
+
} }, hAsync("slot", { key: 'fa8953a31231244b9e5539417dfc32619c3e23f4' })), hAsync(FocusGuard, { key: '2cfc0d16d1eb738dc3bced0653c9486191cc3732', moveFocusTo: this.closeButton })))));
|
|
16481
16546
|
}
|
|
16482
16547
|
get element() { return getElement(this); }
|
|
16483
16548
|
static get watchers() { return {
|
|
@@ -16542,7 +16607,7 @@ class DuetSlideoutLang {
|
|
|
16542
16607
|
*/
|
|
16543
16608
|
render() {
|
|
16544
16609
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
16545
|
-
return (hAsync(Host, { key: '
|
|
16610
|
+
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' }))));
|
|
16546
16611
|
}
|
|
16547
16612
|
get element() { return getElement(this); }
|
|
16548
16613
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -16586,12 +16651,12 @@ class DuetSlideoutLink {
|
|
|
16586
16651
|
* Always the last one in the class.
|
|
16587
16652
|
*/
|
|
16588
16653
|
render() {
|
|
16589
|
-
return (hAsync(Host, { key: '
|
|
16654
|
+
return (hAsync(Host, { key: '09e56868e9109c72560a96db767efc154bce8e93' }, hAsync("a", { key: '06c5bf4091cd8d28c2ef09783da5ec924a598ae7', class: {
|
|
16590
16655
|
"duet-slideout-link": true,
|
|
16591
16656
|
"duet-theme-turva": this.theme === "turva",
|
|
16592
16657
|
active: this.active,
|
|
16593
16658
|
[this.size]: true,
|
|
16594
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
16659
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'd3649e9fdc0d46d249079e80015d31d0809283e7', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '21bc61aa08c8e259bef3845115c1d3def2b9528f', class: "label" }, hAsync("span", { key: '9d3c455f8776388201b9e263a3e8f9cfa4cf8cfd' }, hAsync("slot", { key: '05330b7c102e31a4e543713159048f747fcea958' }), hAsync("slot", { key: 'c63eab53cf753fb61ff69076b213c37f06e77f41', name: "description" })), this.caret && (hAsync("duet-icon", { key: '295ebf34531a451c1888310e6abbf8e97eff723f', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
16595
16660
|
}
|
|
16596
16661
|
get element() { return getElement(this); }
|
|
16597
16662
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -16750,21 +16815,21 @@ class DuetSlideoutPanel {
|
|
|
16750
16815
|
};
|
|
16751
16816
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
16752
16817
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
16753
|
-
return (hAsync(Host, { key: '
|
|
16818
|
+
return (hAsync(Host, { key: '70bd33cf81bea6e0e21a3acc777e62f9615c960c' }, hAsync("div", { key: '173d84b1e9630496dfd75f1d1788ceb258aa65dd', class: {
|
|
16754
16819
|
"duet-slideout-panel": true,
|
|
16755
16820
|
"duet-theme-turva": this.theme === "turva",
|
|
16756
16821
|
active: this.open,
|
|
16757
|
-
} }, hAsync("button", { key: '
|
|
16822
|
+
} }, hAsync("button", { key: '8af158a56baed0c99a678a13c70679a2e37d4641', 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: {
|
|
16758
16823
|
link: true,
|
|
16759
16824
|
active: this.active,
|
|
16760
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: '
|
|
16825
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: 'ef8953eeeb735665fefc41627200a2939df9fc91', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '1e1ce042634306e70595feab772ea1986020dbe5', class: "label" }, hAsync("span", { key: 'b91e1f83f96194cad5fbccca121036d68667faad', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '6fe342d4f1cc5128f50bd68287713bf2b743bb1a', name: "label" })), hAsync("duet-icon", { key: '56091986d5dec8dca5ab057fc3bbd59ac5459bd7', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'f639893ab35cb5c6362f692cb909e734232dcb6f', ref: element => (this.dialog = element), class: {
|
|
16761
16826
|
dialog: true,
|
|
16762
16827
|
hidden: !this.open,
|
|
16763
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
16828
|
+
}, style: styles }, hAsync(FocusGuard, { key: '44ead66ea6ff8418096d578f6a822357b186ac4d', moveFocusTo: this.closeButton }), hAsync("div", { key: 'b3de10fc0e5139011798a6f9dc45fda74e66f2a8', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'b25a3a1c91eb4daf74a5a43e6a38916b055e3e2b', class: "top" }, hAsync("button", { key: '9c898e5bc439ae96e4fa636f15d1e4c9880791bf', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
16764
16829
|
back: true,
|
|
16765
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
16830
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '647666d32da78fd122547b29b2d6366a74cac38d', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'c137000b706a49614251aab9978772f7f032c35b' }, this.label.innerHTML), hAsync("button", { key: 'f96fa6523e3cc9dda0142e2e79598be943ed14df', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '17e401b299082405fe58d6e2ebe0183e1480b1b4', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'e40d94664116f4e4ee26c9c9e85d0d98a807445e', class: "sticky-header" }, hAsync("slot", { key: 'f1d9bc10ab424bcebaf8c7d5ac28937df83fb988', name: "sticky-header" }))), hAsync("div", { key: '027b1f8a337474484867affa518ceb3f95984518', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
16766
16831
|
items: true,
|
|
16767
|
-
} }, hAsync("slot", { key: '
|
|
16832
|
+
} }, hAsync("slot", { key: '8b7aefc4d72e80a1e8b2f5095484d5680a1d96e1' })), hAsync(FocusGuard, { key: '542e145cc71bb24977c5e2a35fedaa2928c0fcd1', moveFocusTo: this.closeButton })))));
|
|
16768
16833
|
}
|
|
16769
16834
|
get element() { return getElement(this); }
|
|
16770
16835
|
static get watchers() { return {
|
|
@@ -16833,16 +16898,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
16833
16898
|
* Always the last one in the class.
|
|
16834
16899
|
*/
|
|
16835
16900
|
render() {
|
|
16836
|
-
return (hAsync(Host, { key: '
|
|
16901
|
+
return (hAsync(Host, { key: 'fe4d5c5f27f9f4106de41db6681937d60bcb59c4' }, hAsync("div", { key: '284adde9302682c56b971fe73f7705f2fee91eb0', class: {
|
|
16837
16902
|
"duet-slideout-panel-dropdown": true,
|
|
16838
16903
|
"duet-theme-turva": this.theme === "turva",
|
|
16839
16904
|
active: this.open,
|
|
16840
|
-
} }, hAsync("button", { key: '
|
|
16905
|
+
} }, hAsync("button", { key: 'ca4402750442dc3cfe434984c80381d1cdfd3b74', 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: {
|
|
16841
16906
|
active: this.active,
|
|
16842
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
16907
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '34c2d5cf9bb779eec11f8852eb8c2bd279028baf', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '6834d3f1b9b057b877641b1f000065f8a4813250', class: "label" }, hAsync("slot", { key: 'f1856cf9b4ce8ca515babc2163da4ef36482e49e', name: "label" }), hAsync("duet-icon", { key: 'ae906904ed9255d48b47f705ea8653b65c76df90', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '071dc719524009f86906d4204464cdcd14aaa36c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
16843
16908
|
items: true,
|
|
16844
16909
|
hidden: !this.open,
|
|
16845
|
-
} }, hAsync("slot", { key: '
|
|
16910
|
+
} }, hAsync("slot", { key: '35141accc2735d157bf80d8c76346585fa47cff1' })))));
|
|
16846
16911
|
}
|
|
16847
16912
|
get element() { return getElement(this); }
|
|
16848
16913
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -16877,7 +16942,7 @@ class DuetSpacer {
|
|
|
16877
16942
|
* Always the last one in the class.
|
|
16878
16943
|
*/
|
|
16879
16944
|
render() {
|
|
16880
|
-
return (hAsync(Host, { key: '
|
|
16945
|
+
return (hAsync(Host, { key: 'e3fa9f7e7f3f55ab6819a10d50c42a54a172f3c3', class: {
|
|
16881
16946
|
"duet-spacer": true,
|
|
16882
16947
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
16883
16948
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -16928,11 +16993,11 @@ class DuetSpinner {
|
|
|
16928
16993
|
*/
|
|
16929
16994
|
render() {
|
|
16930
16995
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
16931
|
-
return (hAsync(Host, { key: '
|
|
16996
|
+
return (hAsync(Host, { key: 'aeea2098d956a68366b4671b449702d6f28c45a0', class: {
|
|
16932
16997
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
16933
16998
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
16934
16999
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
16935
|
-
} }, hAsync("div", { key: '
|
|
17000
|
+
} }, hAsync("div", { key: '2073bfea9ac6ef08ff83f350bd0984f0aeda883a', class: {
|
|
16936
17001
|
"duet-spinner": true,
|
|
16937
17002
|
[this.size]: true,
|
|
16938
17003
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -17164,7 +17229,7 @@ class DuetStepper {
|
|
|
17164
17229
|
* Always the last one in the class.
|
|
17165
17230
|
*/
|
|
17166
17231
|
render() {
|
|
17167
|
-
return (hAsync(Host, { key: '
|
|
17232
|
+
return (hAsync(Host, { key: 'f9004c43445eb7a88448511b9d940b66f9de4c70', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '80977e593bd91142216f4485cd05fd00166874d6', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '7eb30a7ae2c00676571f99679fac2bf89ef1c180', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '5510415c2d52a2e2a1f06e1ccaa153cc2b50bf2e' }))));
|
|
17168
17233
|
}
|
|
17169
17234
|
get element() { return getElement(this); }
|
|
17170
17235
|
static get watchers() { return {
|
|
@@ -17309,19 +17374,19 @@ class DuetSubmenuBar {
|
|
|
17309
17374
|
* Always the last one in the class.
|
|
17310
17375
|
*/
|
|
17311
17376
|
render() {
|
|
17312
|
-
return (hAsync(Host, { key: '
|
|
17377
|
+
return (hAsync(Host, { key: 'fec25f6c8b5983923f591d756decc5ae3404de5e' }, hAsync("nav", { key: '6f812f5da82df3218d6de29f655d2596ed865a4d', class: {
|
|
17313
17378
|
"duet-submenu-bar": true,
|
|
17314
17379
|
"duet-theme-turva": this.theme === "turva",
|
|
17315
17380
|
hidden: this.hidden,
|
|
17316
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
17381
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '5e8ab90a4e09dbd7746b1405d3ea92615a439dd7', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
17317
17382
|
active: this.open,
|
|
17318
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
17383
|
+
}, onClick: this.onClick }, hAsync("span", { key: '1f2ed95c73d93faf4ba71d7984e00488137250d1', class: "label" }, hAsync("slot", { key: '5ca819d2a6f97bb4c9e75f2ea024187f76af67e2', name: "label" }), hAsync("duet-icon", { key: '3b1a4bcac49bec29f344a38e5f743aaeb63f59a0', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '01e35b212a44a4bb39a8fd5cc5a694b94dcb1ccb', class: {
|
|
17319
17384
|
"menu-container": true,
|
|
17320
17385
|
hidden: !this.open,
|
|
17321
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
17386
|
+
}, role: "presentation" }, hAsync("div", { key: '5f94254c66db242ce904ddfd963f6dbe7f4337b6', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
17322
17387
|
items: true,
|
|
17323
17388
|
hidden: !this.open,
|
|
17324
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
17389
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'be03e176ea88bf9b83e506a67470747a4f30b9ee', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '1ba101226680d98cffade2702cbe6f6c40432146' }), hAsync("div", { key: 'c51c2e13e3f5a24edf28dba162ee0602666ca1f9', class: "list-padding" }))), hAsync("duet-overlay", { key: '5b93e09b26a80acce10526710c818c0017d74627', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
17325
17390
|
}
|
|
17326
17391
|
get element() { return getElement(this); }
|
|
17327
17392
|
static get watchers() { return {
|
|
@@ -17442,18 +17507,18 @@ class DuetSubmenuBarDropdown {
|
|
|
17442
17507
|
* Always the last one in the class.
|
|
17443
17508
|
*/
|
|
17444
17509
|
render() {
|
|
17445
|
-
return (hAsync(Host, { key: '
|
|
17510
|
+
return (hAsync(Host, { key: 'b3ceba0158daeda5a08cdbb24998e6a5621a3703', role: "listitem" }, hAsync("div", { key: '7151474e27716eb431d4e91c40df63183b3a7aa3', class: {
|
|
17446
17511
|
"duet-submenu-bar-dropdown": true,
|
|
17447
17512
|
"duet-theme-turva": this.theme === "turva",
|
|
17448
17513
|
open: this.open,
|
|
17449
17514
|
active: this.active,
|
|
17450
|
-
} }, hAsync("button", { key: '
|
|
17515
|
+
} }, hAsync("button", { key: '5c52390b4c51542e2f964c334678b69bbd579520', 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: {
|
|
17451
17516
|
open: this.open,
|
|
17452
17517
|
active: this.active,
|
|
17453
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
17518
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b54bb41ddf9a8743c91ca00b851f278ed01be2d3', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '5e48f0afd254dc828b65347ed8b9503a258cf2fa', class: "label" }, hAsync("span", { key: '11e104876c90fb056e2ec497e48a8ab634bcaf90', class: "label-text" }, hAsync("slot", { key: 'a5eba5494cfa87a94cfa0f7a6b9614f5e84127e5', name: "label" })), hAsync("duet-icon", { key: '954b21321b8f10dda0da3e8b049157bd6ac52b49', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'f2cbdcc7f153986c5d76351fb27070eb233cf68c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17454
17519
|
items: true,
|
|
17455
17520
|
hidden: !this.open,
|
|
17456
|
-
} }, hAsync("slot", { key: '
|
|
17521
|
+
} }, hAsync("slot", { key: '4e14b8e2e6c20c4fa8e9e90b34047a6a790ff5e6' })))));
|
|
17457
17522
|
}
|
|
17458
17523
|
get element() { return getElement(this); }
|
|
17459
17524
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -17505,12 +17570,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
17505
17570
|
* Always the last one in the class.
|
|
17506
17571
|
*/
|
|
17507
17572
|
render() {
|
|
17508
|
-
return (hAsync(Host, { key: '
|
|
17573
|
+
return (hAsync(Host, { key: 'f80ee91cccb915e476e1f572f9656985c2028978' }, hAsync("a", { key: '8a53200290262940ac11346d9d7526afed459893', class: {
|
|
17509
17574
|
"duet-submenu-bar-dropdown-link": true,
|
|
17510
17575
|
"duet-theme-turva": this.theme === "turva",
|
|
17511
17576
|
highlight: this.highlight,
|
|
17512
17577
|
active: this.active,
|
|
17513
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
17578
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '006a4ba73b60083703dbcc084263b8a721c320d7', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '9450f9f49041afd67cd79bf8c9b3ea0094cef6ce', class: "label-container" }, hAsync("span", { key: 'f0e0d4882fd97aeb7c33c29e68be8c4ee40302f8', class: "label" }, hAsync("slot", { key: 'a72b1bcc2fcd65022d09fea90b1c7c957e54ffb5' })), this.caret && hAsync("duet-icon", { key: '795f6f318bde5239cf79fa96a4a915e42032e5d1', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'd79f93df8837c4e201869a960f8f7a53783b7852', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
17514
17579
|
}
|
|
17515
17580
|
get element() { return getElement(this); }
|
|
17516
17581
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -17572,7 +17637,7 @@ class DuetSubmenuBarItem {
|
|
|
17572
17637
|
render() {
|
|
17573
17638
|
const TagName = this.url ? "a" : "button";
|
|
17574
17639
|
const role = this.url ? "link" : "button";
|
|
17575
|
-
return (hAsync(Host, { key: '
|
|
17640
|
+
return (hAsync(Host, { key: '235d62294980430d719692b42954af6eacd305e8', role: "listitem" }, hAsync(TagName, { key: 'e847552fc82cf3ea6c8ca1dd11e2dc3fd8593f3e', 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.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role }, this.leadingIcon && (hAsync("duet-icon", { key: '4a084254a6ee575e72d98fc83203e34d24dfdab3', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '480d23a3ddeab5d0359f95e51ea8ce7f4c893aa4', class: "label" }, hAsync("span", { key: '72936339ba118cad5aaccb094d4c727e2bbf5b4f', class: "label-text" }, hAsync("slot", { key: 'a1009b487801d8be2c9a103f8e7ec4cc8c3f48eb' })), this.trailingIcon && (hAsync("duet-icon", { key: '7c92ee5886afdb53c6c750e27b0a86976f87cbbf', class: {
|
|
17576
17641
|
"trailing-icon": true,
|
|
17577
17642
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
17578
17643
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
@@ -17629,7 +17694,7 @@ class DuetSubmenuBarLink {
|
|
|
17629
17694
|
* Always the last one in the class.
|
|
17630
17695
|
*/
|
|
17631
17696
|
render() {
|
|
17632
|
-
return (hAsync(Host, { key: '
|
|
17697
|
+
return (hAsync(Host, { key: '51e5c82b88f45b2a32b9007c1cba3c28bebb0f76', role: "listitem" }, hAsync("a", { key: '777ef8ad98f32b4be821e576e7085b767e2c80ac', 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: 'eb80ccc57229a8a448d32e17695c7f573805f967', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '3dc063ad2c8b8fb92d1d292205dcf5ea82889b4f', class: "label" }, hAsync("slot", { key: '2274f12f2198558e45a4b79c828c06cf9bb7f1c0' })))));
|
|
17633
17698
|
}
|
|
17634
17699
|
get element() { return getElement(this); }
|
|
17635
17700
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -17978,27 +18043,27 @@ class DuetTabGroup {
|
|
|
17978
18043
|
render() {
|
|
17979
18044
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
17980
18045
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
17981
|
-
return (hAsync("div", { key: '
|
|
18046
|
+
return (hAsync("div", { key: 'ebe04fec966d8b545c6efd5b34b43551fc2ad1d3', class: {
|
|
17982
18047
|
"duet-tab-group": true,
|
|
17983
18048
|
"duet-theme-turva": this.theme === "turva",
|
|
17984
18049
|
[variationClass]: true,
|
|
17985
18050
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
17986
18051
|
"duet-tab-group-scrolls": this.scrolls,
|
|
17987
18052
|
"duet-tab-group-collapses": this.collapses,
|
|
17988
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '
|
|
18053
|
+
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '2f5a55d27e5e0483129fd2bdc8aa0cc7bb641a8f', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
17989
18054
|
return { label: tab.label, value: index.toString() };
|
|
17990
|
-
}) })), hAsync("div", { key: '
|
|
18055
|
+
}) })), hAsync("div", { key: '05b06b0a5fcaa80f09e8d0550e5a9af194d397dc', role: "tablist", class: {
|
|
17991
18056
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
17992
18057
|
"duet-tab-group-tabs": true,
|
|
17993
18058
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
17994
18059
|
"duet-tab-group-collapses": this.collapses,
|
|
17995
18060
|
}, ref: el => {
|
|
17996
18061
|
this.tabsContainer = el;
|
|
17997
|
-
} }, this.renderTab()), hAsync("div", { key: '
|
|
18062
|
+
} }, this.renderTab()), hAsync("div", { key: '66d70f586ee16b2b6be97013971fdb0a320d34c0', class: {
|
|
17998
18063
|
"duet-tab-group-content": true,
|
|
17999
18064
|
"duet-m-0": this.margin === "none",
|
|
18000
18065
|
"checked-group-content": this.variation === "checked",
|
|
18001
|
-
} }, hAsync("slot", { key: '
|
|
18066
|
+
} }, hAsync("slot", { key: 'c18fde90ff76c6f71fbeae6a2d04a193cb64917f' }))));
|
|
18002
18067
|
}
|
|
18003
18068
|
get element() { return getElement(this); }
|
|
18004
18069
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -18102,7 +18167,7 @@ class DuetTable {
|
|
|
18102
18167
|
}
|
|
18103
18168
|
}
|
|
18104
18169
|
render() {
|
|
18105
|
-
return (hAsync(Host, { key: '
|
|
18170
|
+
return (hAsync(Host, { key: 'b3ed604b2b5f0b8e31f7b90abc64693662bfef3d', class: {
|
|
18106
18171
|
[`duet-table-${this.variation}`]: true,
|
|
18107
18172
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
18108
18173
|
// sticky only valid when in regular table layout
|
|
@@ -18111,7 +18176,7 @@ class DuetTable {
|
|
|
18111
18176
|
"duet-m-0": this.margin === "none",
|
|
18112
18177
|
"duet-theme-turva": this.theme === "turva",
|
|
18113
18178
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
18114
|
-
} }, hAsync("slot", { key: '
|
|
18179
|
+
} }, hAsync("slot", { key: '29df6d3c640fbf3a7fa51b73323c3628246d3095' })));
|
|
18115
18180
|
}
|
|
18116
18181
|
get element() { return getElement(this); }
|
|
18117
18182
|
static get watchers() { return {
|
|
@@ -18138,9 +18203,18 @@ class DuetTable {
|
|
|
18138
18203
|
}; }
|
|
18139
18204
|
}
|
|
18140
18205
|
|
|
18141
|
-
const duetTextareaCss = "
|
|
18206
|
+
const duetTextareaCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}duet-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-textarea-container{position:relative;width:100%;height:100%}.duet-textarea-container .duet-input-top-caption{display:none}.duet-textarea-container.duet-input-top-caption-shown .duet-input-top-caption{display:flex !important}.duet-textarea-wrapper{position:relative}.duet-textarea-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(0, 41, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-theme-turva .duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.has-error .duet-textarea{border-color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-textarea{border-color:rgb(224, 42, 13) !important}.duet-textarea::-webkit-input-placeholder{color:rgb(101, 119, 135);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea::-webkit-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus::-webkit-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea::-moz-placeholder{color:rgb(101, 119, 135);opacity:1 !important}.duet-theme-turva .duet-textarea::-moz-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus::-moz-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus::-moz-placeholder{color:rgb(207, 207, 209)}.duet-textarea:-ms-input-placeholder{color:rgb(101, 119, 135)}.duet-theme-turva .duet-textarea:-ms-input-placeholder{color:rgb(116, 116, 117)}.duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 210, 212)}.duet-theme-turva .duet-textarea:focus:-ms-input-placeholder{color:rgb(207, 207, 209)}.duet-textarea[disabled]{color:rgb(101, 119, 135) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva .duet-textarea[disabled]{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important}.duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(0, 41, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-textarea[disabled]::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]::-moz-placeholder{color:rgb(0, 41, 77);opacity:1 !important}.duet-theme-turva .duet-textarea[disabled]::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled]:-ms-input-placeholder{color:rgb(0, 41, 77)}.duet-theme-turva .duet-textarea[disabled]:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help span{display:block;margin-top:8px}.duet-theme-turva .duet-textarea-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(116, 116, 117)}.has-error .duet-textarea-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-textarea-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count{display:block;margin:8px 0 0 auto}";
|
|
18142
18207
|
var DuetTextareaStyle0 = duetTextareaCss;
|
|
18143
18208
|
|
|
18209
|
+
const CharacterCount = ({ value, maxlength, label, theme }) => {
|
|
18210
|
+
if (maxlength == null) {
|
|
18211
|
+
return;
|
|
18212
|
+
}
|
|
18213
|
+
const length = value.length;
|
|
18214
|
+
const remainder = Math.max(maxlength - length, 0); // ensure we never have negative numbers
|
|
18215
|
+
const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
|
|
18216
|
+
return (hAsync("div", { class: "duet-character-count" }, hAsync("duet-caption", { margin: "none", theme: theme, size: "small" }, hAsync("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), hAsync("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
18217
|
+
};
|
|
18144
18218
|
/**
|
|
18145
18219
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
18146
18220
|
*/
|
|
@@ -18292,9 +18366,20 @@ class DuetTextarea {
|
|
|
18292
18366
|
* Always the last one in the class.
|
|
18293
18367
|
*/
|
|
18294
18368
|
render() {
|
|
18295
|
-
|
|
18296
|
-
|
|
18297
|
-
|
|
18369
|
+
const identifier = this.identifier || this.textareaId;
|
|
18370
|
+
return (hAsync(Host, { key: 'c3b31db31b22c40183466910b4762d2476cd3b4b', class: {
|
|
18371
|
+
"duet-m-0": this.margin === "none",
|
|
18372
|
+
"duet-has-counter": this.counter && !this.error,
|
|
18373
|
+
"duet-expand": this.expand,
|
|
18374
|
+
} }, hAsync("div", { key: 'fb7b1f655a8d8519ad38cf110ef4d0aac5e0dbd5', class: {
|
|
18375
|
+
"duet-textarea-container": true,
|
|
18376
|
+
"duet-theme-turva": this.theme === "turva",
|
|
18377
|
+
"duet-label-hidden": this.labelHidden,
|
|
18378
|
+
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
18379
|
+
"has-error": !!this.error,
|
|
18380
|
+
} }, hAsync("duet-label", { key: 'ca8b81cd836c5b413d7ef2efd8d0e20d88677709', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '509fbb9ca662d38fa8f3d66013459141592c04bd', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'e90c6afcf38a563122b32c71d2b8a74c9df980dc', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '9bb362d665f0cf1898ebf380b4989d3f65f14371', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '601f1bea634594d73b983373107c175a76c1100a', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'e9a43999996749d5d172eacfaa42597ba5dbb7fe', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '505944e9722ecc367ee4f395132c39b367af7a31', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '2a9345c695c8f798c88444446c7fe3a4d6073b3f', alignment: "stretch" }, hAsync("duet-grid-item", { key: '603a4279b24566e2bf0f52bbc6f5106a92f1fccf', margin: "none", fill: true }, hAsync("div", { key: 'c7dc521f37c36b761ed4fc78150efe59c1fb98fb', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '11f69f46dc6822dc9942f64056310c8eac7a2861' }, this.error))), hAsync("duet-grid-item", { key: 'b7dcc318f6911b52a959c2162980272260419b1d', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: '590c05e0b251e46af19c479733281a0b8b7a2fa1', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: 'c279b238edfcc355fb7243bed0afa94b544661e8', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
18381
|
+
this.hiddenCounterLabel = el;
|
|
18382
|
+
} })))));
|
|
18298
18383
|
}
|
|
18299
18384
|
get element() { return getElement(this); }
|
|
18300
18385
|
static get watchers() { return {
|
|
@@ -18302,7 +18387,7 @@ class DuetTextarea {
|
|
|
18302
18387
|
}; }
|
|
18303
18388
|
static get style() { return DuetTextareaStyle0; }
|
|
18304
18389
|
static get cmpMeta() { return {
|
|
18305
|
-
"$flags$":
|
|
18390
|
+
"$flags$": 9,
|
|
18306
18391
|
"$tagName$": "duet-textarea",
|
|
18307
18392
|
"$members$": {
|
|
18308
18393
|
"margin": [1],
|
|
@@ -18461,7 +18546,7 @@ class DuetToggle {
|
|
|
18461
18546
|
}; }
|
|
18462
18547
|
}
|
|
18463
18548
|
|
|
18464
|
-
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.
|
|
18549
|
+
const duetToolbarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-toolbar{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255)}.duet-toolbar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1384px;height:36px;margin:0 28px;border-bottom:1px solid rgb(225, 227, 230)}.duet-toolbar .list{display:flex;align-items:center;justify-content:space-between;height:100%;list-style-type:none}.duet-toolbar ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-toolbar.primary{background:rgb(0, 119, 179)}.duet-toolbar.primary .container{border-bottom:0}.duet-toolbar.secondary{background:rgb(8, 42, 77)}.duet-toolbar.secondary .container{border-bottom:0}.duet-toolbar.duet-theme-turva{background:rgb(255, 255, 255)}.duet-toolbar.duet-theme-turva .container{border-bottom:1px solid rgb(228, 228, 230)}.duet-toolbar.duet-theme-turva.primary{background:rgb(198, 12, 48)}.duet-toolbar.duet-theme-turva.primary .container{border-bottom:0}";
|
|
18465
18550
|
var DuetToolbarStyle0 = duetToolbarCss;
|
|
18466
18551
|
|
|
18467
18552
|
/**
|
|
@@ -18486,12 +18571,18 @@ class DuetToolbar {
|
|
|
18486
18571
|
* Always the last one in the class.
|
|
18487
18572
|
*/
|
|
18488
18573
|
render() {
|
|
18489
|
-
const variation = this.variation === "
|
|
18490
|
-
|
|
18574
|
+
const variation = this.variation === "primary" ||
|
|
18575
|
+
this.variation === "negative" ||
|
|
18576
|
+
(this.theme === "turva" && this.variation === "secondary")
|
|
18577
|
+
? "primary"
|
|
18578
|
+
: this.variation === "secondary"
|
|
18579
|
+
? "secondary"
|
|
18580
|
+
: "default";
|
|
18581
|
+
return (hAsync(Host, { key: '6ea0ca6e03a956c5c11e6b6b67802a8344e6f3d8' }, hAsync("nav", { key: '8937fd46b558b273ee838a47b14b9810c074829d', class: {
|
|
18491
18582
|
"duet-toolbar": true,
|
|
18492
18583
|
"duet-theme-turva": this.theme === "turva",
|
|
18493
18584
|
[variation]: true,
|
|
18494
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
18585
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c8aa7075e8ab33484f13a8ef7ac8b2127b30ffe2', class: "container" }, hAsync("div", { key: '76d2daf0e82846945f3510cbc21fc26e8d29936c', class: "list", role: "list" }, hAsync("slot", { key: '12bced2c765270ea94a844b9c68d993e9d43f245', name: "left" })), hAsync("div", { key: 'fed6a6058becea2b85d0131488e212967ee9530f', class: "list", role: "list" }, hAsync("slot", { key: 'e51cf22766660164cbd150a6203d8e55929dd40c', name: "right" }))))));
|
|
18495
18586
|
}
|
|
18496
18587
|
get element() { return getElement(this); }
|
|
18497
18588
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -18559,18 +18650,18 @@ class DuetToolbarDropdown {
|
|
|
18559
18650
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
18560
18651
|
}
|
|
18561
18652
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
18562
|
-
return (hAsync(Host, { key: '
|
|
18653
|
+
return (hAsync(Host, { key: '71c0427eecb0676263c35bff4557210701d27e6f', role: "listitem" }, hAsync("div", { key: 'a5038335629483dcf2d049129ebfed49eae6a457', class: {
|
|
18563
18654
|
"duet-toolbar-dropdown": true,
|
|
18564
18655
|
"duet-theme-turva": this.theme === "turva",
|
|
18565
18656
|
[itemsAlign]: true,
|
|
18566
18657
|
[variation]: true,
|
|
18567
|
-
} }, hAsync("button", { key: '
|
|
18658
|
+
} }, hAsync("button", { key: '5be6ce290e94c6e03c8c49336f4ef50e4283a92a', 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: {
|
|
18568
18659
|
active: this.active,
|
|
18569
18660
|
open: this.open,
|
|
18570
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18661
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'e4e5076e21a084d205cb550946f6a7914911a4e9', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '4a79cbc7d59d30c5f763050c44c61c03ae502e74', class: "label" }, hAsync("slot", { key: 'adecb2560eba25c9bdb1872fedc29c6b98c4d343', name: "label" }), hAsync("duet-icon", { key: 'ef92b887f19bd4145ae89b3d6ab05be6c3b2fcd0', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '61bb1eff472548331aab26b636fb4606fbc982f7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18571
18662
|
items: true,
|
|
18572
18663
|
hidden: !this.open,
|
|
18573
|
-
} }, hAsync("slot", { key: '
|
|
18664
|
+
} }, hAsync("slot", { key: 'bdbb39527038baf411f9f4770cf594bdb3e86378' })))));
|
|
18574
18665
|
}
|
|
18575
18666
|
get element() { return getElement(this); }
|
|
18576
18667
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -18623,11 +18714,11 @@ class DuetToolbarDropdownLink {
|
|
|
18623
18714
|
* Always the last one in the class.
|
|
18624
18715
|
*/
|
|
18625
18716
|
render() {
|
|
18626
|
-
return (hAsync(Host, { key: '
|
|
18717
|
+
return (hAsync(Host, { key: '1c874f9ed81beb0ee19f1675e95dffd0a193e2ce' }, hAsync("a", { key: '8b04559cb61b8c25ecfd1511cc07de5a260f70bf', class: {
|
|
18627
18718
|
"duet-toolbar-dropdown-link": true,
|
|
18628
18719
|
"duet-theme-turva": this.theme === "turva",
|
|
18629
18720
|
active: this.active,
|
|
18630
|
-
}, 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: '
|
|
18721
|
+
}, 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: 'c58dd6c5edc6a41fe20c73876cbe5637b9d389ba', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '93d7b57557f9999e2a790a94407e098a3b43350f', class: "label" }, hAsync("slot", { key: '3ef98fd8e64aebc17df819a375c2e38207ccf3aa' })), this.active && (hAsync("duet-icon", { key: 'a77c71f91778c5e70c0c23decc3ea9e23168422d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18631
18722
|
}
|
|
18632
18723
|
get element() { return getElement(this); }
|
|
18633
18724
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -18648,7 +18739,7 @@ class DuetToolbarDropdownLink {
|
|
|
18648
18739
|
}; }
|
|
18649
18740
|
}
|
|
18650
18741
|
|
|
18651
|
-
const duetToolbarItemCss = "*,*::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;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.
|
|
18742
|
+
const duetToolbarItemCss = "*,*::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;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 77, 128);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(205, 229, 241)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(244, 207, 214)}.duet-toolbar-item:hover{color:rgb(0, 41, 77);background:rgb(243, 249, 252)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 245, 247)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(0, 41, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(0, 41, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
18652
18743
|
var DuetToolbarItemStyle0 = duetToolbarItemCss;
|
|
18653
18744
|
|
|
18654
18745
|
class DuetToolbarItem {
|
|
@@ -18682,13 +18773,19 @@ class DuetToolbarItem {
|
|
|
18682
18773
|
*/
|
|
18683
18774
|
render() {
|
|
18684
18775
|
const TagName = this.url ? "a" : "button";
|
|
18685
|
-
const variation = this.variation === "
|
|
18686
|
-
|
|
18776
|
+
const variation = this.variation === "primary" ||
|
|
18777
|
+
this.variation === "negative" ||
|
|
18778
|
+
(this.theme === "turva" && this.variation === "secondary")
|
|
18779
|
+
? "primary"
|
|
18780
|
+
: this.variation === "secondary"
|
|
18781
|
+
? "secondary"
|
|
18782
|
+
: "default";
|
|
18783
|
+
return (hAsync(Host, { key: '908f975e881c8970ba45c0642b3390dfd7589f19', role: "listitem" }, hAsync(TagName, { key: 'b374d84a34a1219cdd56ab4955cf19ba363540bc', ref: element => (this.itemElement = element), class: {
|
|
18687
18784
|
"duet-toolbar-item": true,
|
|
18688
18785
|
"duet-theme-turva": this.theme === "turva",
|
|
18689
18786
|
active: this.active,
|
|
18690
18787
|
[variation]: true,
|
|
18691
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
18788
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '98e109ae48826ed28f9de9f2318e4498c71ddcaf', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '53104daf6c306c9a09771e266100ded5ac4596fc' }), this.trailingIcon && (hAsync("duet-icon", { key: '5df62f15ed1c718bec00adbfa2be048683446520', class: {
|
|
18692
18789
|
"trailing-icon": true,
|
|
18693
18790
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
18694
18791
|
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: this.trailingIcon === "action-arrow-down-small" ? "xxx-small" : "x-small", color: "currentColor" })))));
|
|
@@ -18741,12 +18838,12 @@ class DuetToolbarLink {
|
|
|
18741
18838
|
*/
|
|
18742
18839
|
render() {
|
|
18743
18840
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
18744
|
-
return (hAsync(Host, { key: '
|
|
18841
|
+
return (hAsync(Host, { key: '694d29ef22d448dab54882fe7134fbd1ad312807', role: "listitem" }, hAsync("a", { key: '1b15f80ca9ca005e38270486f35d54e24ed9d1d7', class: {
|
|
18745
18842
|
"duet-toolbar-link": true,
|
|
18746
18843
|
"duet-theme-turva": this.theme === "turva",
|
|
18747
18844
|
active: this.active,
|
|
18748
18845
|
[variation]: true,
|
|
18749
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
18846
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '0c59b1eb514f11e97ae11551086d601eda908397', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '0686a4460ff9e29ed306e60e92312e4d26e9749b' }))));
|
|
18750
18847
|
}
|
|
18751
18848
|
get element() { return getElement(this); }
|
|
18752
18849
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -19000,11 +19097,11 @@ class DuetTooltipButton {
|
|
|
19000
19097
|
* Always the last one in the class.
|
|
19001
19098
|
*/
|
|
19002
19099
|
render() {
|
|
19003
|
-
return (hAsync(Host, { key: '
|
|
19100
|
+
return (hAsync(Host, { key: 'efa80105fab1c39e1494f3bfc1de5296147b2627' }, hAsync("button", { key: 'f9cb29eb9d8de7c648f1352e05646ae6dbbfabfa', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
19004
19101
|
"duet-tooltip-button": true,
|
|
19005
19102
|
"duet-tooltip-button-has-label": !!this.label,
|
|
19006
19103
|
"duet-theme-turva": this.theme === "turva",
|
|
19007
|
-
} }, hAsync("svg", { key: '
|
|
19104
|
+
} }, hAsync("svg", { key: 'e8505f0be91fa2bf49fefbdd415a5f42dc7b5212', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '414c12df66406a3ad2b2980b3ae3df69b6824113', 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: '0faf277a23d1d335b7bc294bfd4716c71e2d8e9d', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '3493b88ce899857eac5d99a9d7738d49de377308', 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)))));
|
|
19008
19105
|
}
|
|
19009
19106
|
get element() { return getElement(this); }
|
|
19010
19107
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -19071,11 +19168,11 @@ class DuetTooltipPopup {
|
|
|
19071
19168
|
this.contentEl.focus();
|
|
19072
19169
|
}
|
|
19073
19170
|
render() {
|
|
19074
|
-
return (hAsync(Host, { key: '
|
|
19171
|
+
return (hAsync(Host, { key: 'dd9c74d0d1cc665bc19371525c8f0e34bbf3cf8b' }, hAsync("div", { key: '7267d10766b72402661236f995f5a97d46c23c52', class: {
|
|
19075
19172
|
"duet-tooltip": true,
|
|
19076
19173
|
"duet-theme-turva": this.theme === "turva",
|
|
19077
19174
|
"duet-tooltip-active": this.active === true,
|
|
19078
|
-
} }, hAsync(FocusGuard, { key: '
|
|
19175
|
+
} }, hAsync(FocusGuard, { key: 'dce0d22d8078fa456e02a73b91166a822a3a5c14', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'b00e807866589a3b23d8df3bd0544a6d8174736a', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '87e590edcc68e65af17e5dfcc950395b02397b8a' })), hAsync("div", { key: '15c29c70a6d455c3e72a057bf4c39735b3125f0f', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '24b1ffb0c4e1fc0d13d0767af14bf0489e301384', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'e442b3e6601ea6dd4e3c13aaabfac5bdc19f0700', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '317ce79e24d62bf4fb04818075ac66dded5efe1a', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'ab36a28b7e0e72e77e38d0dfe4a4010e34c7f37a' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '957fd21d8182f67c90212865356b3e8e1f7f2e80', moveFocusTo: this.contentEl }))));
|
|
19079
19176
|
}
|
|
19080
19177
|
get element() { return getElement(this); }
|
|
19081
19178
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -19183,14 +19280,14 @@ class DuetTray {
|
|
|
19183
19280
|
* Always the last one in the class.
|
|
19184
19281
|
*/
|
|
19185
19282
|
render() {
|
|
19186
|
-
return (hAsync("div", { key: '
|
|
19283
|
+
return (hAsync("div", { key: '13bd39115bce0b912b02ba3bea98630e5b59f5a1', class: {
|
|
19187
19284
|
"duet-tray": true,
|
|
19188
19285
|
"duet-tray-is-active": this.active,
|
|
19189
19286
|
"duet-tray-is-hidden": this.hiddenState,
|
|
19190
19287
|
"duet-tray-is-responsive": this.responsive,
|
|
19191
19288
|
"duet-theme-turva": this.theme === "turva",
|
|
19192
19289
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
19193
|
-
} }, hAsync("div", { key: '
|
|
19290
|
+
} }, hAsync("div", { key: '62b6ccc2d61862c864bdb1b1df1335c293df25b6', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: 'f3ceb53ff7070c68575b652e7f319c0e026ab558' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '2e8c7514a2690495709d1df955bcf6cd9ed488c8' }, hAsync("button", { key: 'd801cfaad3368a06de1c66c062926cbb5a20ef6a', "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: '400d87022ceb93037233d751bcf37a1f71c141a5', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '5b869593b8143e03b6cd70aff5a2cc00d6f74311' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '60be918ec73ac961785128be2940c1caea1ba62f', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '2fb56e0a871d2aaeaf3463d37b1b7e1d077adbb7', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '92ed88e9db8b97bbba2b8721dbc9dce86b35a8c9', name: "additional" })))))));
|
|
19194
19291
|
}
|
|
19195
19292
|
get element() { return getElement(this); }
|
|
19196
19293
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -20306,10 +20403,10 @@ class DuetUpload {
|
|
|
20306
20403
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
20307
20404
|
}
|
|
20308
20405
|
// @ts-ignore
|
|
20309
|
-
return (hAsync(Host, { key: '
|
|
20406
|
+
return (hAsync(Host, { key: '0928fe31d31d2ec7481d2d183030d0ca5d1947ef', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '2c93b996af34d507e34e023448f0c1e4549a880d', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '3bb648923cccffaa69e98860d83872f73916163e', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '234af7db63e4a6a80b7377fa9f10119dceafeea5', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '0f19455051783737acd9e1bc63e6110769259e03', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'da0921ac4e50a44e73754896b764ae09006b3108', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '628029484dce4779a873ec34178db780b1c2d6c8', 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: '26e663f865b1cbdf0ba90075874e802de9305004', name: "filefooter" }), hAsync("slot", { key: '6b916ac61c96bf8bca9538028970758dd4e4b5b5', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'c20ad82bc20844b36bebfa2992b6cac433cccf09', margin: "none", size: "small" }, hAsync("div", { key: '4889907ac986c5f36a946c9f3d04c9a6821e7e4f', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '995c37faba55c6bc4b08b36aae53fce3a94cfd7d', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '99f5276b9cef93ba5d427fc0d2074acb97902c39' }, hAsync("duet-spacer", { key: '35fcdf7b38b7378541215a124a08c533d41b5f8b', size: "large" }), hAsync("duet-button", { key: '310afacbfe68294b874e78c69a8a1dc8c5386681', 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 ||
|
|
20310
20407
|
this.bytesMaxReached ||
|
|
20311
20408
|
this.filesToUploadExceedsLimit ||
|
|
20312
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
20409
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '71f40749e207e7619be153e162dd06f86e594e74' }, hAsync("duet-spacer", { key: 'c1b60f29904f00337d6a5fb5a27c264cda066af3', size: "medium" }), hAsync("duet-alert", { key: 'f531e160c81ff5d39a4d1a7ceb212df79f87f247', 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: 'eaf2283056f5c33fc56a2df78c6e0889c2f5858c', "aria-hidden": "true" }, hAsync("input", { key: '832fa6c617a6316638d9cfffad7c90bc34612deb', ref: input => {
|
|
20313
20410
|
this.nativeInput = input;
|
|
20314
20411
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
20315
20412
|
"duet-upload": true,
|
|
@@ -20630,7 +20727,7 @@ class DuetUploadAriaStatus {
|
|
|
20630
20727
|
* Always the last one in the class.
|
|
20631
20728
|
*/
|
|
20632
20729
|
render() {
|
|
20633
|
-
return (hAsync(Host, { key: '
|
|
20730
|
+
return (hAsync(Host, { key: '28cd5bb1f92c9b403b91c6abf2cbedb12415069f', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'fbc14d38d44e631ace4e2e9c2f6b4b79119c36fd' }, this.statusMessage)));
|
|
20634
20731
|
}
|
|
20635
20732
|
get element() { return getElement(this); }
|
|
20636
20733
|
static get watchers() { return {
|
|
@@ -20809,9 +20906,9 @@ class DuetUploadItem {
|
|
|
20809
20906
|
const { uid, meta, item } = this.data;
|
|
20810
20907
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
20811
20908
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
20812
|
-
return (hAsync("div", { key: '
|
|
20909
|
+
return (hAsync("div", { key: '6068d22652581c24a76529c17789f273ef783fe5', class: {
|
|
20813
20910
|
"upload-item-row": true,
|
|
20814
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
20911
|
+
} }, this.showCategory && (hAsync("div", { key: 'bcb47afffee8efb622819a52f7ba10463c5e328f', class: "item-categories" }, hAsync("duet-heading", { key: '021af13718fefc9993bcaa88de91dbfb21297339', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '040671e2048b29b787ac9b479e1c8eb025c8e7d9', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: 'bd2ac730e76d30ada414f82940529f25c5d49227', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '6a9d59dfa89eb36625d54238b0e2dd1e30853b34', class: "item-actions" }, this.actions.map(actionItem => {
|
|
20815
20912
|
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) }));
|
|
20816
20913
|
}))));
|
|
20817
20914
|
}
|
|
@@ -20852,7 +20949,7 @@ class DuetVisuallyHidden {
|
|
|
20852
20949
|
* Always the last one in the class.
|
|
20853
20950
|
*/
|
|
20854
20951
|
render() {
|
|
20855
|
-
return (hAsync(Host, { key: '
|
|
20952
|
+
return (hAsync(Host, { key: '75782b03708912eba3e0d42dc1d48cc33d81a01a', class: "duet-visually-hidden" }, hAsync("slot", { key: '5e1d99058a2a17144777554316c1b03c22d1b283' })));
|
|
20856
20953
|
}
|
|
20857
20954
|
get element() { return getElement(this); }
|
|
20858
20955
|
static get style() { return DuetVisuallyHiddenStyle0; }
|