@duetds/components 9.3.1 → 9.4.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 +319 -201
- package/lib/cjs/{a11y-utils-b489bafd.js → a11y-utils-9a2b3c7b.js} +1 -1
- package/lib/cjs/{app-globals-3993d4ba.js → app-globals-041a56ca.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +8 -7
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -6
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +11 -11
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +29 -28
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +28 -14
- package/lib/cjs/duet-status-icon.cjs.entry.js +86 -0
- package/lib/cjs/duet-step_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-3e4d2f19.js → errorcodes.utils-381e59b0.js} +1 -1
- package/lib/cjs/{focus-utils-5c18768b.js → focus-utils-8b057c75.js} +1 -1
- package/lib/cjs/{index-308de19b.js → index-0885358e.js} +1 -1
- package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-f7c9f980.js} +4 -0
- package/lib/cjs/{language-utils-9e680f03.js → language-utils-ae5d768d.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-5b1180b0.js → slot-utils-63bd5fd6.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +3 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +17 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +33 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +8 -33
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +15 -17
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +23 -9
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +182 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +36 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +28 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +3 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +25 -7
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +12 -12
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +15 -15
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +5 -5
- package/lib/dist-custom-elements/duet-number-input.js +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +25 -25
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +27 -13
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.d.ts +11 -0
- package/lib/dist-custom-elements/duet-status-icon.js +111 -0
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +18 -14
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-fa93d549.js → p-09815b2b.js} +3 -3
- package/lib/dist-custom-elements/{p-f7678084.js → p-0c770b66.js} +3 -3
- package/lib/dist-custom-elements/{p-11ff6ee6.js → p-0f108a55.js} +3 -3
- package/lib/dist-custom-elements/{p-03144d67.js → p-12cf5e61.js} +5 -5
- package/lib/dist-custom-elements/{p-b44cec63.js → p-137df5b8.js} +4 -4
- package/lib/dist-custom-elements/{p-925a14eb.js → p-1565f818.js} +2 -2
- package/lib/dist-custom-elements/{p-10e71cb5.js → p-2307d2d1.js} +5 -5
- package/lib/dist-custom-elements/{p-919ca6dd.js → p-2b22f87f.js} +1 -1
- package/lib/dist-custom-elements/{p-1281e1e4.js → p-2de672fa.js} +3 -3
- package/lib/dist-custom-elements/{p-c0c88c27.js → p-379ead88.js} +8 -8
- package/lib/dist-custom-elements/{p-728ed30b.js → p-43fd1a4e.js} +1 -1
- package/lib/dist-custom-elements/{p-116723b5.js → p-4a5693c1.js} +11 -11
- package/lib/dist-custom-elements/{p-86cda54d.js → p-5e0c9ae3.js} +2 -2
- package/lib/dist-custom-elements/{p-ca500368.js → p-64ac2d82.js} +5 -4
- package/lib/dist-custom-elements/{p-232eed7a.js → p-6800a20c.js} +1 -1
- package/lib/dist-custom-elements/{p-6296e23f.js → p-728d540b.js} +6 -6
- package/lib/dist-custom-elements/{p-72037967.js → p-74a62a18.js} +2 -2
- package/lib/dist-custom-elements/{p-146d2870.js → p-779bb3cb.js} +4 -4
- package/lib/dist-custom-elements/{p-db1bb078.js → p-7a8ebdb7.js} +1 -1
- package/lib/dist-custom-elements/{p-6c0aecd9.js → p-7ef40153.js} +6 -6
- package/lib/dist-custom-elements/{p-aee23cfb.js → p-7ff2883f.js} +4 -4
- package/lib/dist-custom-elements/{p-87c9ca7e.js → p-8756bed2.js} +2 -2
- package/lib/dist-custom-elements/{p-ca700701.js → p-8db11326.js} +4 -1
- package/lib/dist-custom-elements/{p-a8691042.js → p-958921e7.js} +1 -1
- package/lib/dist-custom-elements/{p-8ccceae3.js → p-9b617d26.js} +4 -4
- package/lib/dist-custom-elements/{p-b638e31c.js → p-a20d05a4.js} +2 -2
- package/lib/dist-custom-elements/p-a40c2591.js +80 -0
- package/lib/dist-custom-elements/{p-30b9325f.js → p-ab6edc77.js} +2 -2
- package/lib/dist-custom-elements/{p-d1d9f6b0.js → p-b4bf10b0.js} +2 -2
- package/lib/dist-custom-elements/{p-73ffdef5.js → p-b81ca2db.js} +21 -23
- package/lib/dist-custom-elements/{p-18a8c997.js → p-c93eb05d.js} +7 -7
- package/lib/dist-custom-elements/{p-17527d09.js → p-d8614705.js} +1 -1
- package/lib/dist-custom-elements/{p-4f9534fd.js → p-d98c8b50.js} +3 -3
- package/lib/dist-custom-elements/{p-740f2c93.js → p-dbd1adfc.js} +8 -8
- package/lib/dist-custom-elements/{p-031904df.js → p-e241b5a5.js} +2 -2
- package/lib/dist-custom-elements/{p-1698c5c6.js → p-e867abf5.js} +12 -12
- package/lib/dist-custom-elements/{p-b94d7fea.js → p-ea9b9b2f.js} +3 -3
- package/lib/dist-custom-elements/{p-32cc8d09.js → p-edee5233.js} +4 -4
- package/lib/dist-custom-elements/{p-d4204bb3.js → p-ef22eef0.js} +4 -4
- package/lib/dist-custom-elements/{p-10792647.js → p-fc61e76b.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d4f3806f.system.entry.js → p-01138f48.system.entry.js} +1 -1
- package/lib/duet/{p-15c699cd.system.entry.js → p-03e62726.system.entry.js} +1 -1
- package/lib/duet/{p-cb77c1de.system.entry.js → p-07da24e7.system.entry.js} +1 -1
- package/lib/duet/{p-aa2dec8a.system.entry.js → p-0b35587c.system.entry.js} +1 -1
- package/lib/duet/{p-6002a245.entry.js → p-0b7a9e7e.entry.js} +1 -1
- package/lib/duet/{p-d39de46c.system.entry.js → p-0be1d10e.system.entry.js} +1 -1
- package/lib/duet/{p-7b0299a8.system.entry.js → p-0bf58ef6.system.entry.js} +1 -1
- package/lib/duet/{p-d03e48cd.system.entry.js → p-0c298b66.system.entry.js} +1 -1
- package/lib/duet/{p-3b6a3c28.entry.js → p-0cdced5e.entry.js} +1 -1
- package/lib/duet/p-0d6ace6f.js +4 -0
- package/lib/duet/{p-2af47fcd.system.entry.js → p-0e7d38cc.system.entry.js} +1 -1
- package/lib/duet/{p-5d392e73.system.entry.js → p-0fbac587.system.entry.js} +1 -1
- package/lib/duet/p-11654b49.entry.js +4 -0
- package/lib/duet/{p-28ba70b1.entry.js → p-11be757f.entry.js} +1 -1
- package/lib/duet/{p-101017ca.entry.js → p-122749fb.entry.js} +1 -1
- package/lib/duet/{p-44e8ce81.system.entry.js → p-157dff13.system.entry.js} +1 -1
- package/lib/duet/{p-1d206455.entry.js → p-157e23af.entry.js} +1 -1
- package/lib/duet/{p-94ac429e.system.entry.js → p-15a53691.system.entry.js} +1 -1
- package/lib/duet/{p-3621960b.entry.js → p-162799c6.entry.js} +1 -1
- package/lib/duet/{p-4524ff9c.entry.js → p-16faee9f.entry.js} +1 -1
- package/lib/duet/{p-de1b9216.system.entry.js → p-17895d18.system.entry.js} +1 -1
- package/lib/duet/{p-29b4ce3d.system.js → p-1798db32.system.js} +1 -1
- package/lib/duet/{p-3a916337.entry.js → p-1a79e62b.entry.js} +1 -1
- package/lib/duet/{p-50ad66d1.entry.js → p-1cd57607.entry.js} +1 -1
- package/lib/duet/{p-08f7ea67.system.entry.js → p-21e80fca.system.entry.js} +1 -1
- package/lib/duet/{p-47c7c781.entry.js → p-21e9479b.entry.js} +1 -1
- package/lib/duet/{p-10a0daae.system.entry.js → p-223809b0.system.entry.js} +1 -1
- package/lib/duet/{p-00e5331e.system.entry.js → p-228c4e1a.system.entry.js} +1 -1
- package/lib/duet/{p-be498a29.system.entry.js → p-2333b3be.system.entry.js} +2 -2
- package/lib/duet/{p-b3c2e814.system.entry.js → p-24430da8.system.entry.js} +1 -1
- package/lib/duet/{p-0dbe3c36.system.entry.js → p-255e535e.system.entry.js} +2 -2
- package/lib/duet/{p-dd683304.system.entry.js → p-26673b69.system.entry.js} +1 -1
- package/lib/duet/{p-8367480b.entry.js → p-27c6a5e8.entry.js} +1 -1
- package/lib/duet/{p-79766f1c.system.entry.js → p-289411d8.system.entry.js} +1 -1
- package/lib/duet/{p-b2b6d11a.system.entry.js → p-29ce7512.system.entry.js} +2 -2
- package/lib/duet/p-2b2cc6ec.system.entry.js +4 -0
- package/lib/duet/{p-8093f39c.system.entry.js → p-2c111433.system.entry.js} +1 -1
- package/lib/duet/{p-7f554f9f.system.js → p-2cdacb01.system.js} +1 -1
- package/lib/duet/{p-693a0309.entry.js → p-2d1ba8e7.entry.js} +1 -1
- package/lib/duet/{p-6953a6f7.system.entry.js → p-2de788fb.system.entry.js} +1 -1
- package/lib/duet/{p-96a12ba9.entry.js → p-2e8b6b27.entry.js} +1 -1
- package/lib/duet/p-2ebd7e11.entry.js +4 -0
- package/lib/duet/{p-58571830.system.entry.js → p-3023a9c8.system.entry.js} +1 -1
- package/lib/duet/p-30377b9c.system.entry.js +4 -0
- package/lib/duet/{p-8572f3a7.entry.js → p-30958aff.entry.js} +1 -1
- package/lib/duet/p-309ed04d.entry.js +4 -0
- package/lib/duet/p-31c8a4f9.entry.js +4 -0
- package/lib/duet/{p-d9f56096.system.entry.js → p-32789a75.system.entry.js} +1 -1
- package/lib/duet/{p-5bf5d856.system.entry.js → p-34aaba6d.system.entry.js} +2 -2
- package/lib/duet/p-3670f3bf.js +4 -0
- package/lib/duet/{p-fbe2e4c7.entry.js → p-37f5330c.entry.js} +1 -1
- package/lib/duet/{p-e9979b39.system.entry.js → p-386f4b25.system.entry.js} +1 -1
- package/lib/duet/{p-f83de21f.entry.js → p-390c7d6b.entry.js} +1 -1
- package/lib/duet/{p-2a6a064b.system.js → p-3986c681.system.js} +1 -1
- package/lib/duet/{p-cb105d1c.entry.js → p-3ae84db5.entry.js} +1 -1
- package/lib/duet/{p-40b8cc8d.system.entry.js → p-3ae8a375.system.entry.js} +1 -1
- package/lib/duet/{p-6aa58c2c.js → p-3afaf734.js} +1 -1
- package/lib/duet/{p-47197af7.entry.js → p-3db76aae.entry.js} +1 -1
- package/lib/duet/{p-82a14ed2.entry.js → p-3dfeb490.entry.js} +1 -1
- package/lib/duet/{p-35749d88.entry.js → p-3f3cea24.entry.js} +1 -1
- package/lib/duet/{p-c62f5d52.js → p-402af830.js} +1 -1
- package/lib/duet/{p-3475d53a.system.entry.js → p-40f1f79f.system.entry.js} +1 -1
- package/lib/duet/{p-349e5b05.system.entry.js → p-40f5341f.system.entry.js} +1 -1
- package/lib/duet/{p-d8aa2d16.entry.js → p-412ea70f.entry.js} +1 -1
- package/lib/duet/{p-037e9404.system.js → p-447e1392.system.js} +1 -1
- package/lib/duet/{p-df812be9.entry.js → p-4621935a.entry.js} +1 -1
- package/lib/duet/{p-0c9adf52.entry.js → p-48c4241a.entry.js} +1 -1
- package/lib/duet/{p-9f76aa43.system.entry.js → p-49782d32.system.entry.js} +1 -1
- package/lib/duet/{p-9b7f2415.entry.js → p-4b260d34.entry.js} +1 -1
- package/lib/duet/{p-f3d2fee1.entry.js → p-4ca65f0e.entry.js} +1 -1
- package/lib/duet/{p-dcf5c2c2.entry.js → p-4d6b7fc3.entry.js} +1 -1
- package/lib/duet/{p-b8fecd5a.system.entry.js → p-4dc5c722.system.entry.js} +1 -1
- package/lib/duet/{p-fbc91093.js → p-4dcb6a39.js} +1 -1
- package/lib/duet/{p-41aac653.entry.js → p-4e431348.entry.js} +1 -1
- package/lib/duet/p-4ed3dbdb.entry.js +4 -0
- package/lib/duet/p-537b9b7c.entry.js +4 -0
- package/lib/duet/{p-acfb271d.system.entry.js → p-5a18d272.system.entry.js} +2 -2
- package/lib/duet/{p-52647e6d.entry.js → p-5c24625f.entry.js} +1 -1
- package/lib/duet/p-5c58f1d6.system.js +4 -0
- package/lib/duet/{p-d882fce1.system.entry.js → p-61458b6d.system.entry.js} +1 -1
- package/lib/duet/{p-2e7c2306.system.entry.js → p-677ee7c2.system.entry.js} +1 -1
- package/lib/duet/{p-f47a9dc3.system.entry.js → p-6789bfc3.system.entry.js} +2 -2
- package/lib/duet/{p-559b8005.entry.js → p-67eefd11.entry.js} +1 -1
- package/lib/duet/{p-bc182d55.entry.js → p-689d753c.entry.js} +1 -1
- package/lib/duet/{p-375fd45d.entry.js → p-6b0a411f.entry.js} +1 -1
- package/lib/duet/{p-a1ab523a.js → p-6b7d8a09.js} +1 -1
- package/lib/duet/{p-4ad78094.entry.js → p-6b8e825d.entry.js} +1 -1
- package/lib/duet/{p-676dccd2.entry.js → p-6d21309f.entry.js} +1 -1
- package/lib/duet/{p-3322fce0.entry.js → p-6d979036.entry.js} +1 -1
- package/lib/duet/{p-0d59c909.js → p-7094e51e.js} +1 -1
- package/lib/duet/{p-3cdc41d0.entry.js → p-71088a03.entry.js} +1 -1
- package/lib/duet/{p-dfceca24.entry.js → p-71daec5c.entry.js} +1 -1
- package/lib/duet/{p-d676377f.system.entry.js → p-728018d9.system.entry.js} +1 -1
- package/lib/duet/{p-f3347fc4.system.entry.js → p-72c8f523.system.entry.js} +1 -1
- package/lib/duet/{p-34d7dd10.system.js → p-752fa0fc.system.js} +1 -1
- package/lib/duet/{p-0f78a880.entry.js → p-77300e28.entry.js} +1 -1
- package/lib/duet/{p-bc70d945.system.entry.js → p-787d25f2.system.entry.js} +1 -1
- package/lib/duet/{p-e840989c.system.entry.js → p-7983c4a8.system.entry.js} +1 -1
- package/lib/duet/{p-f5554879.system.entry.js → p-7a14a530.system.entry.js} +1 -1
- package/lib/duet/{p-c81de8ef.entry.js → p-7bd6f4b7.entry.js} +1 -1
- package/lib/duet/{p-cabd0c63.system.entry.js → p-7c8ae4e7.system.entry.js} +1 -1
- package/lib/duet/{p-1dfc4d3d.system.entry.js → p-7ce19618.system.entry.js} +1 -1
- package/lib/duet/{p-9373bf53.system.entry.js → p-7fcef23b.system.entry.js} +1 -1
- package/lib/duet/{p-d293eadd.entry.js → p-80149654.entry.js} +1 -1
- package/lib/duet/{p-ab30e71c.system.js → p-8296c9c2.system.js} +1 -1
- package/lib/duet/p-832b9f34.system.js +4 -0
- package/lib/duet/{p-8a5a4459.entry.js → p-8398084e.entry.js} +1 -1
- package/lib/duet/{p-000c8091.entry.js → p-8687fcc2.entry.js} +1 -1
- package/lib/duet/{p-ce30e9b2.entry.js → p-8735343c.entry.js} +1 -1
- package/lib/duet/{p-1c9a14c5.entry.js → p-88fb65a2.entry.js} +1 -1
- package/lib/duet/{p-ab2ecb6b.entry.js → p-8c6cdf79.entry.js} +1 -1
- package/lib/duet/p-8cb2fdd0.entry.js +4 -0
- package/lib/duet/{p-a4d75a65.entry.js → p-8cc83f72.entry.js} +1 -1
- package/lib/duet/p-8d6f34c7.entry.js +4 -0
- package/lib/duet/p-8e661448.entry.js +4 -0
- package/lib/duet/{p-9aff55d2.system.entry.js → p-8ea78391.system.entry.js} +1 -1
- package/lib/duet/{p-4ca08279.entry.js → p-90deab2b.entry.js} +1 -1
- package/lib/duet/{p-5bc6023c.system.entry.js → p-929a9ac4.system.entry.js} +1 -1
- package/lib/duet/p-95dfc82e.entry.js +4 -0
- package/lib/duet/{p-2ab5e379.entry.js → p-9720b69d.entry.js} +1 -1
- package/lib/duet/{p-8993fa9f.system.entry.js → p-97f5cc5f.system.entry.js} +1 -1
- package/lib/duet/{p-cd414949.entry.js → p-987d35e4.entry.js} +1 -1
- package/lib/duet/{p-4ea54546.entry.js → p-9a51b302.entry.js} +1 -1
- package/lib/duet/{p-93a028f8.entry.js → p-9a699405.entry.js} +1 -1
- package/lib/duet/p-9ab1ed28.entry.js +4 -0
- package/lib/duet/{p-9548b5ad.entry.js → p-9b31aec7.entry.js} +1 -1
- package/lib/duet/p-9b975c4d.system.entry.js +4 -0
- package/lib/duet/{p-34ef022a.system.entry.js → p-9f448577.system.entry.js} +1 -1
- package/lib/duet/p-a45e3f8b.js +4 -0
- package/lib/duet/{p-5285f6cb.system.entry.js → p-a90dbdf5.system.entry.js} +1 -1
- package/lib/duet/{p-c4927a81.system.entry.js → p-a9b15fd2.system.entry.js} +1 -1
- package/lib/duet/{p-b286b3a4.system.entry.js → p-ad829c9c.system.entry.js} +2 -2
- package/lib/duet/{p-bbfa1306.system.entry.js → p-afb94f9d.system.entry.js} +1 -1
- package/lib/duet/{p-77a35713.system.entry.js → p-b4240572.system.entry.js} +1 -1
- package/lib/duet/{p-b2fee964.system.entry.js → p-b4c99a36.system.entry.js} +1 -1
- package/lib/duet/{p-3a183ef9.system.entry.js → p-b6d838f9.system.entry.js} +1 -1
- package/lib/duet/{p-fb47f14d.system.entry.js → p-b9652b11.system.entry.js} +2 -2
- package/lib/duet/{p-83479f79.system.entry.js → p-bade7a64.system.entry.js} +1 -1
- package/lib/duet/{p-3f94c117.system.entry.js → p-baeada3f.system.entry.js} +1 -1
- package/lib/duet/p-c44fa6da.system.js +4 -0
- package/lib/duet/{p-c50ad055.entry.js → p-c65a8fd5.entry.js} +1 -1
- package/lib/duet/{p-bb6c0288.entry.js → p-c7999f61.entry.js} +1 -1
- package/lib/duet/{p-bc7bebb9.system.entry.js → p-ca7e058e.system.entry.js} +1 -1
- package/lib/duet/{p-76fe845d.entry.js → p-cbceab61.entry.js} +1 -1
- package/lib/duet/{p-771cf850.system.entry.js → p-cd19a1eb.system.entry.js} +2 -2
- package/lib/duet/{p-622af6ea.entry.js → p-ce62a521.entry.js} +1 -1
- package/lib/duet/{p-1b3498d6.entry.js → p-ce90eee7.entry.js} +1 -1
- package/lib/duet/{p-64c92e74.system.entry.js → p-d0850ee7.system.entry.js} +2 -2
- package/lib/duet/{p-e8aa5603.system.entry.js → p-d1299867.system.entry.js} +1 -1
- package/lib/duet/p-d1c50a7f.entry.js +4 -0
- package/lib/duet/{p-5901c2b4.system.entry.js → p-d2cca9d5.system.entry.js} +1 -1
- package/lib/duet/p-d3c0331b.system.entry.js +4 -0
- package/lib/duet/{p-9d3970f3.entry.js → p-d4cb4cd0.entry.js} +1 -1
- package/lib/duet/{p-e2060a86.system.entry.js → p-d603dd16.system.entry.js} +1 -1
- package/lib/duet/{p-d3f8f2ca.system.entry.js → p-d68f8928.system.entry.js} +1 -1
- package/lib/duet/p-d9bf3529.system.entry.js +4 -0
- package/lib/duet/{p-8194bb99.entry.js → p-dc575c6f.entry.js} +1 -1
- package/lib/duet/{p-635737ff.system.entry.js → p-e039b7fb.system.entry.js} +1 -1
- package/lib/duet/{p-c8fb283f.entry.js → p-e08b5b39.entry.js} +1 -1
- package/lib/duet/{p-292a85f3.entry.js → p-e6e0246c.entry.js} +1 -1
- package/lib/duet/p-e8c1027b.system.entry.js +4 -0
- package/lib/duet/{p-823521aa.entry.js → p-ea3c0f7a.entry.js} +1 -1
- package/lib/duet/{p-7598a3e2.entry.js → p-ea44e8dd.entry.js} +1 -1
- package/lib/duet/p-eb17346a.system.entry.js +4 -0
- package/lib/duet/{p-ce8db2b5.entry.js → p-eb66b734.entry.js} +1 -1
- package/lib/duet/{p-a1ba1ce3.system.entry.js → p-ed2ba463.system.entry.js} +1 -1
- package/lib/duet/{p-344eb22a.system.entry.js → p-edc41e58.system.entry.js} +1 -1
- package/lib/duet/{p-2dda809f.system.entry.js → p-edf6efb7.system.entry.js} +1 -1
- package/lib/duet/{p-06bcf0f6.entry.js → p-f02aa41c.entry.js} +1 -1
- package/lib/duet/{p-bda6b275.entry.js → p-f2e8bda0.entry.js} +1 -1
- package/lib/duet/p-f4328c39.entry.js +4 -0
- package/lib/duet/{p-3e949daf.system.entry.js → p-f53fb433.system.entry.js} +1 -1
- package/lib/duet/{p-5e797987.system.entry.js → p-f80d1698.system.entry.js} +1 -1
- package/lib/duet/{p-d2305166.system.entry.js → p-f8f61f7d.system.entry.js} +1 -1
- package/lib/duet/{p-7fb35f58.entry.js → p-fa569461.entry.js} +1 -1
- package/lib/duet/p-fa88cac4.system.entry.js +4 -0
- package/lib/duet/{p-bdea7ea0.entry.js → p-fc30d695.entry.js} +1 -1
- package/lib/esm/{a11y-utils-f2222b42.js → a11y-utils-efd1151b.js} +1 -1
- package/lib/esm/{app-globals-ea4c814c.js → app-globals-8f12ab47.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +8 -7
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +17 -6
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +11 -11
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +4 -4
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +29 -28
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +28 -14
- package/lib/esm/duet-status-icon.entry.js +82 -0
- package/lib/esm/duet-step_2.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +7 -7
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-1ac5fe3d.js → errorcodes.utils-66d99a23.js} +1 -1
- package/lib/esm/{focus-utils-4430bb1e.js → focus-utils-b48493c9.js} +1 -1
- package/lib/esm/{index-eedb042d.js → index-5a27eaf5.js} +1 -1
- package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +4 -1
- package/lib/esm/{language-utils-238c5ed0.js → language-utils-2c1dd412.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-866b1fd5.js → slot-utils-2823028d.js} +1 -1
- package/lib/esm-es5/{a11y-utils-f2222b42.js → a11y-utils-efd1151b.js} +1 -1
- package/lib/esm-es5/{app-globals-ea4c814c.js → app-globals-8f12ab47.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +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 +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +4 -0
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +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-1ac5fe3d.js → errorcodes.utils-66d99a23.js} +1 -1
- package/lib/esm-es5/{focus-utils-4430bb1e.js → focus-utils-b48493c9.js} +1 -1
- package/lib/esm-es5/{index-eedb042d.js → index-5a27eaf5.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +1 -1
- package/lib/esm-es5/{language-utils-238c5ed0.js → language-utils-2c1dd412.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-866b1fd5.js → slot-utils-2823028d.js} +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +2 -0
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +26 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +5 -0
- package/lib/types/components.d.ts +61 -0
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-18c1f644.js +0 -80
- package/lib/duet/p-0613dcbe.entry.js +0 -4
- package/lib/duet/p-0f009884.system.js +0 -4
- package/lib/duet/p-15f176e9.entry.js +0 -4
- package/lib/duet/p-2c09278a.entry.js +0 -4
- package/lib/duet/p-2fec0954.system.entry.js +0 -4
- package/lib/duet/p-45adef32.system.js +0 -4
- package/lib/duet/p-48d70be1.system.entry.js +0 -4
- package/lib/duet/p-5d29704d.entry.js +0 -4
- package/lib/duet/p-6f16fc4f.system.entry.js +0 -4
- package/lib/duet/p-7002577a.entry.js +0 -4
- package/lib/duet/p-7e6375aa.system.entry.js +0 -4
- package/lib/duet/p-96486337.js +0 -4
- package/lib/duet/p-970edda4.entry.js +0 -4
- package/lib/duet/p-a1b7f2a0.js +0 -4
- package/lib/duet/p-a399d9d6.entry.js +0 -4
- package/lib/duet/p-a42586fb.entry.js +0 -4
- package/lib/duet/p-a47eff30.system.entry.js +0 -4
- package/lib/duet/p-af179120.system.entry.js +0 -4
- package/lib/duet/p-b22a0621.entry.js +0 -4
- package/lib/duet/p-ca57993e.entry.js +0 -4
- package/lib/duet/p-d7c1c367.entry.js +0 -4
- package/lib/duet/p-e6294bbd.entry.js +0 -4
- package/lib/duet/p-ee5fe94f.system.js +0 -4
- package/lib/duet/p-f3c9648a.system.entry.js +0 -4
- package/lib/duet/p-f4cfdc49.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -2762,6 +2762,9 @@ const subscribeTabbingChange = component => {
|
|
|
2762
2762
|
const unsubscribeTabbingChange = component => {
|
|
2763
2763
|
tabbingChangeSubscribers.delete(component);
|
|
2764
2764
|
};
|
|
2765
|
+
const enableUserIsTabbing = () => {
|
|
2766
|
+
listenKeys({ key: "Tab" });
|
|
2767
|
+
};
|
|
2765
2768
|
|
|
2766
2769
|
function isObject(maybeObj) {
|
|
2767
2770
|
return Object.prototype.toString.call(maybeObj) === "[object Object]";
|
|
@@ -3986,12 +3989,12 @@ class DuetBadge {
|
|
|
3986
3989
|
*/
|
|
3987
3990
|
render() {
|
|
3988
3991
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3992
|
+
return (hAsync(Host, { key: '476d97ea43489404fd6d0a849a6ee02f83502fd9', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '28e5db061b847ada8068335166ff8ff1d86f24d1', class: {
|
|
3990
3993
|
"duet-badge": true,
|
|
3991
3994
|
[this.variation]: true,
|
|
3992
3995
|
[backgroundClass]: true,
|
|
3993
3996
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3997
|
+
} }, hAsync("slot", { key: '0c934f9b98dcc493a7bf27588c22eb3f37795927' }))));
|
|
3995
3998
|
}
|
|
3996
3999
|
get element() { return getElement(this); }
|
|
3997
4000
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4184,14 @@ class DuetBreadcrumb {
|
|
|
4181
4184
|
*/
|
|
4182
4185
|
render() {
|
|
4183
4186
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4187
|
+
return (hAsync(Host, { key: '86f359b6ae37d52eefe60d2524b28e90389853a3', role: "listitem" }, hAsync("div", { key: 'a7e38d3f15c6b459db45ee75194892c626dda720', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '271bc89989282bafdc1c02251786cc4ff9d29c94', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '27e40d9d4b5213650880dc8fd347708c8074ba7b', class: {
|
|
4185
4188
|
"duet-breadcrumb": true,
|
|
4186
4189
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4190
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4188
4191
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4192
|
+
hAsync("duet-icon", { key: 'f7693293ba453f019340e643224ae2d4bc615892', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4193
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '9f5a4594c9c261eb89dad2e969993c776a71dcec', size: "x-small", direction: "horizontal" }),
|
|
4194
|
+
], hAsync("slot", { key: '7103eb6d7c67af60d40d4eb4c01df8cb60d8f122' })))));
|
|
4192
4195
|
}
|
|
4193
4196
|
get element() { return getElement(this); }
|
|
4194
4197
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4252,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4252
|
*/
|
|
4250
4253
|
render() {
|
|
4251
4254
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4255
|
+
return (hAsync(Host, { key: 'c415b13be8e9488af4ea05f6cb7683f800e784d2' }, hAsync("nav", { key: 'cdc999fc5feb95f3e86817c96e27310878069077', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4256
|
"duet-breadcrumbs": true,
|
|
4254
4257
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4258
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4259
|
+
} }, hAsync("div", { key: '3deb22c5304308a401f0d0bd813b2db2b52a9e82', class: "container" }, hAsync("div", { key: '5cd6fb7973bd6bdaee4608400ba37fb772ee87a3', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'c1a43f4a9067038018295d862a76158551bfaaee' })), hAsync("div", { key: 'aabc2c2960849710bf8629f1581a2b8f36603277', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '773551300797191fabd148e89c25847a02805bd0', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4260
|
}
|
|
4258
4261
|
get element() { return getElement(this); }
|
|
4259
4262
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4610,11 +4613,11 @@ class DuetCallout {
|
|
|
4610
4613
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
4611
4614
|
</svg>
|
|
4612
4615
|
`;
|
|
4613
|
-
return (hAsync(Host, { key: '
|
|
4616
|
+
return (hAsync(Host, { key: '6c2f849981a4d7c83b0980a79e44db7a51d71cc2' }, hAsync("div", { key: 'c3a6f40936c21dbe492f9790c71698f492c82092', class: {
|
|
4614
4617
|
"duet-callout": true,
|
|
4615
4618
|
"duet-theme-turva": this.theme === "turva",
|
|
4616
4619
|
"duet-m-0": this.margin === "none",
|
|
4617
|
-
} }, hAsync("figure", { key: '
|
|
4620
|
+
} }, hAsync("figure", { key: 'c4dadc943944d9b2501f84c59101d7c8bfa780ba', class: "container" }, hAsync("duet-icon", { key: '328934a3141ec35008240e6e2ca58c2c3d3cf291', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: 'a12401bf972a3a0eb0817b51286a0448ec4fbdd6' }, hAsync("slot", { key: '87396622c6078253736cbe43a1cac55c6f90754f' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'c7ecac8d10789ad47a17e795267d8eb584c119f3', class: "author" }, hAsync("span", { key: '169f299b6b65721127a409a51292761b14aa7b78' }, "\u2014 "), hAsync("slot", { key: '38fa9b0ebd195d75dec72b2bbdd5e239dc099f53', name: "author" })))))));
|
|
4618
4621
|
}
|
|
4619
4622
|
get element() { return getElement(this); }
|
|
4620
4623
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4977,11 +4980,11 @@ class DuetCheckmark {
|
|
|
4977
4980
|
inheritGlobalTheme(this);
|
|
4978
4981
|
}
|
|
4979
4982
|
render() {
|
|
4980
|
-
return (hAsync(Host, { key: '
|
|
4983
|
+
return (hAsync(Host, { key: 'ca4d8a12c903e5b3b1880b8e537028a5120a3481', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'b3bc47aa4bb81f22fa18fa2ed11bd416790f5d74', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '0fd6069ae4f1425ca9c90aaf514e2a9c75e3c62f', class: {
|
|
4981
4984
|
"duet-checkmark-container": true,
|
|
4982
4985
|
center: this.center,
|
|
4983
4986
|
"duet-checkmark-radio": this.type === "radio",
|
|
4984
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4987
|
+
} }, this.checked && hAsync("div", { key: '3002be9f9a97b5382377d9888e821ff15d1eb062', class: "duet-checkmark" })))));
|
|
4985
4988
|
}
|
|
4986
4989
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4987
4990
|
static get cmpMeta() { return {
|
|
@@ -5264,6 +5267,7 @@ class DuetChip {
|
|
|
5264
5267
|
* Sets focus. Use this method instead of the global focus().
|
|
5265
5268
|
*/
|
|
5266
5269
|
async setFocus(options) {
|
|
5270
|
+
enableUserIsTabbing();
|
|
5267
5271
|
setTimeout(() => this.focusableElement.focus(options), 200);
|
|
5268
5272
|
}
|
|
5269
5273
|
/**
|
|
@@ -5303,7 +5307,7 @@ class DuetChip {
|
|
|
5303
5307
|
onBlur: this.onBlur,
|
|
5304
5308
|
ref: el => (this.focusableElement = el),
|
|
5305
5309
|
};
|
|
5306
|
-
return (hAsync(Host, { key: '
|
|
5310
|
+
return (hAsync(Host, { key: '9744df63cb819948b4401b0a183075e06e05993a', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'f1196acf73fad509f63d9d5ee7b1b229a97b6de5', class: classes }, hAsync("button", Object.assign({ key: '986350b1dd5311b2f1b9585aa22950be404fcd11', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), hAsync("span", { key: 'ec9da82d7446582b80604c4044bb1c2e2c33434e', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '0618249ebe7e1730490d3b948a6422efbf800961', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '793eb28356ec292e5360c1b8c063885212d06ffd' })))), this.variation === "input" && (hAsync("span", { key: '388021b0a136f62f0a109ada43373c35da0a4e8f', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '1283a1fdca15be377e87b61b4de2dcdd6ce746e7', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), hAsync("span", { key: '206e76916c75132db630ca16ec6b9508106d35db', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'dc2ef3071d7d513f4b7824647f124e8d511736cf', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'bba4b597056e523568f4b206fb9e2d8aa91c038d' })), hAsync("button", { key: '7c5288c6b31c536e5207c12bafddc8561d09a517', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, hAsync("duet-icon", { key: '603805c1d49c206fe45df07094b254a1dc42501f', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'ddc64c0114199e163fafb89f3acf4b38be73cc03', class: classes }, hAsync("input", Object.assign({ key: 'f45b6a35cc164b2f222e3c2960c645dada127b8b', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), hAsync("label", { key: '472a8c3fda4e3dc0458590aafbff6f1921693138', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'c071e1fc1ac5cdbd9a9ca45d1024a7a73ee06dfc', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'b70a24fda17573ec50255ebf7e107039225bb9d4', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'c67b405024d17935c9bf10e5dd496279c08919b9', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'ddeff851785a39c1af8f0762319303bf050ab4b0' }), this.popupElement && (hAsync("span", { key: '51dbf16b24b66a7a33fc0e3bc000966f7418d448', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '89dcbc13e8d3a14017015c8d0b60255ee04e18ac', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: 'ecc96b01329f5374b126f097104af8a174ba8fcc', class: classes }, hAsync("slot", { key: '7064ff157645871b9bcc5fe0ab9f88678d45113d', name: "input" }), hAsync("label", { key: '396d9f1a6d3b5df0d535c1e6e07dff7128e61498', htmlFor: identifier }, this.icon && (hAsync("span", { key: '8c494c405c54e6412db4b74ab485988213694846', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'e88ed80700f22666b71b1a4d9fd16f2685d40ed0', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '6f8451e77db9250922ed8587fc3c461d150ca0cf', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '9b91511cfd547f4f1ffb1be117165410d435fed3' }))))));
|
|
5307
5311
|
}
|
|
5308
5312
|
get element() { return getElement(this); }
|
|
5309
5313
|
static get watchers() { return {
|
|
@@ -6562,7 +6566,7 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
6562
6566
|
'default': tokens
|
|
6563
6567
|
});
|
|
6564
6568
|
|
|
6565
|
-
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;
|
|
6569
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.duet-theme-turva){font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading:focus{border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
6566
6570
|
var DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
6567
6571
|
|
|
6568
6572
|
/**
|
|
@@ -6614,6 +6618,15 @@ class DuetCollapsible {
|
|
|
6614
6618
|
return "xx-small";
|
|
6615
6619
|
}
|
|
6616
6620
|
};
|
|
6621
|
+
this.getAccessibleLabel = () => {
|
|
6622
|
+
if (this.accessibleLabel) {
|
|
6623
|
+
return this.accessibleLabel;
|
|
6624
|
+
}
|
|
6625
|
+
if (this.heading && this.caption) {
|
|
6626
|
+
return `${this.heading}. ${this.caption}`;
|
|
6627
|
+
}
|
|
6628
|
+
return this.heading || null;
|
|
6629
|
+
};
|
|
6617
6630
|
this.handleClick = (e) => {
|
|
6618
6631
|
e.preventDefault();
|
|
6619
6632
|
this.open = !this.open;
|
|
@@ -6626,6 +6639,7 @@ class DuetCollapsible {
|
|
|
6626
6639
|
this.negative = false;
|
|
6627
6640
|
this.accessibleLabel = undefined;
|
|
6628
6641
|
this.heading = "";
|
|
6642
|
+
this.caption = "";
|
|
6629
6643
|
this.headingFullWidth = false;
|
|
6630
6644
|
this.centerHeading = false;
|
|
6631
6645
|
this.headingWeight = "semibold";
|
|
@@ -6663,14 +6677,15 @@ class DuetCollapsible {
|
|
|
6663
6677
|
*/
|
|
6664
6678
|
render() {
|
|
6665
6679
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6666
|
-
return (hAsync(Host, { key: '
|
|
6680
|
+
return (hAsync(Host, { key: 'b6781c86d34d4f4b9560b111474a413c954818d2', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '1b59bc43bad54d7ba36951b5fc5cb27c8d197498' }, hAsync("button", { key: '073aa9d20b4f508e991443273c16f43b15577183', class: {
|
|
6667
6681
|
"duet-collapsible-heading": true,
|
|
6668
6682
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6669
6683
|
"duet-theme-turva": this.theme === "turva",
|
|
6670
6684
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6671
6685
|
"has-after-heading": this.hasAfterHeading,
|
|
6672
6686
|
"full-width": this.headingFullWidth,
|
|
6673
|
-
|
|
6687
|
+
"has-caption": !!this.caption,
|
|
6688
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: 'b584a9f03de635516bab995166943fbe55139177', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: 'ebd0e8c2d793c6eaf9afcfeefde3822025b0f591', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'cb40e56e922d146a4c799d307a36bcb5de2bf909', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '29f73be47a8506407f8e151b103c0d953a175448', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '26c25d0365c8243c7ea36101f6e49743346363bb', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'f1a9005c38fd4310d76dfeea3f50a695bb732195', name: "after-heading" })))), this.caption && (hAsync("div", { key: '7d8785de6f4478030bc6422749201f23f3625e3f', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '2f930fc5ca5fb0169c5b16f181ce5b7267ebc4ca', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: 'fb0d95a53dfa760ec0aa59d2b7e8eab8d9fe5313', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '8df7d36426b0c3390fba071740ca60ddc2ee4931' }))));
|
|
6674
6689
|
}
|
|
6675
6690
|
get element() { return getElement(this); }
|
|
6676
6691
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -6682,6 +6697,7 @@ class DuetCollapsible {
|
|
|
6682
6697
|
"negative": [4],
|
|
6683
6698
|
"accessibleLabel": [1, "accessible-label"],
|
|
6684
6699
|
"heading": [1],
|
|
6700
|
+
"caption": [1],
|
|
6685
6701
|
"headingFullWidth": [4, "heading-full-width"],
|
|
6686
6702
|
"centerHeading": [4, "center-heading"],
|
|
6687
6703
|
"headingWeight": [1, "heading-weight"],
|
|
@@ -7288,10 +7304,10 @@ class DuetContactCard {
|
|
|
7288
7304
|
render() {
|
|
7289
7305
|
const isTurva = this.theme === "turva";
|
|
7290
7306
|
const theme = isTurva ? "turva" : "default";
|
|
7291
|
-
return (hAsync(Host, { key: '
|
|
7307
|
+
return (hAsync(Host, { key: '4e145f7fe0409bb47b6ea71c0cf970e436b7a520', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'da28555843c0a763d34c7ddef8727090e373da67', class: {
|
|
7292
7308
|
"duet-contact-card": true,
|
|
7293
7309
|
"duet-theme-turva": this.theme === "turva",
|
|
7294
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7310
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'e161cae8447cf17c85499d5b8ac46d7eda58172c' }, this.name && (hAsync("duet-heading", { key: '454c6abe2d28decaa07122742bee22e711c3f81b', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '4dfc4f572e57af544c10b32c66e9afb93eac8080', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '96f61bbb0c884d374d10e94bf4aefb0b63adafb0', class: "email" }, hAsync("duet-icon", { key: '2f6608cc7d1e2a2b5da95109823d2e1bab216005', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'd4e80f8aee1fc9997b959e005935fdffafc6dfdb', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '374a1f36f5a62d9888b932000a52a10b63ac7cd4', class: "phone" }, hAsync("duet-icon", { key: '2d3c419e0d321f361a9993116fed27845238801f', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '07d80aaadfd5963717d64d3733d0ae886c71bc6b', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '15123cac72ca836226d307ada922cf2f8544a1d3', class: "call-to-action" }, hAsync("duet-button", { key: 'a254a916c0f5916e8e39f76cae6724b73198d017', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6c527c0e2c594d19b06fb842c4d8a0967b7f04b6' }), hAsync("slot", { key: '8291bc130ee09e6b1aa1e71bd15ccf6024c7d3c2' }))));
|
|
7295
7311
|
}
|
|
7296
7312
|
get element() { return getElement(this); }
|
|
7297
7313
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7358,7 +7374,7 @@ class DuetCookieConsent {
|
|
|
7358
7374
|
* Always the last one in the class.
|
|
7359
7375
|
*/
|
|
7360
7376
|
render() {
|
|
7361
|
-
return (hAsync(Host, { key: '
|
|
7377
|
+
return (hAsync(Host, { key: 'b30b45dd5bc6022a8da609883e28a272bf823c6c', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '457f367350cef4ec39f323925e64518b0b5a056f', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '681bb01d1031d8e7cdfac21539f49a9445a22fac', class: "duet-cookie-consent-content" }, hAsync("div", { key: '6bc301cad7c45d36c5d7846bf96abe989a185ef1', class: "expand" }, hAsync("slot", { key: '55da0877e4c6e55b827af651416e6eaeb908c550' })), hAsync("duet-spacer", { key: 'bf00aa77836feb5b8cacbc6c76712e6a3b4aa451', size: "large", direction: "horizontal" }), hAsync("div", { key: '86ed0f3ff48a2c916fa4174417677a6dfa737a0a' }, hAsync("duet-button", { key: '75003f25f1f75e9d40ff2143b4a53441be2ed54f', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7362
7378
|
}
|
|
7363
7379
|
get element() { return getElement(this); }
|
|
7364
7380
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8023,7 +8039,7 @@ class DuetDivider {
|
|
|
8023
8039
|
*/
|
|
8024
8040
|
render() {
|
|
8025
8041
|
const background = getColorByName(this.color);
|
|
8026
|
-
return (hAsync("div", { key: '
|
|
8042
|
+
return (hAsync("div", { key: '419938cb054cda71d1fa4d0de273ecce67debfa7', class: {
|
|
8027
8043
|
"duet-m-0": this.margin === "none",
|
|
8028
8044
|
"duet-m-s": this.margin === "small",
|
|
8029
8045
|
"duet-divider": true,
|
|
@@ -8260,11 +8276,11 @@ class DuetEmptyState {
|
|
|
8260
8276
|
* Always the last one in the class.
|
|
8261
8277
|
*/
|
|
8262
8278
|
render() {
|
|
8263
|
-
return (hAsync(Host, { key: '
|
|
8279
|
+
return (hAsync(Host, { key: '227d54f00e9a51140efcb258a3b9aabd0403e53c' }, hAsync("div", { key: 'ec272041ba4a302da9529e32cd67fc782102a783', class: {
|
|
8264
8280
|
"duet-empty-state": true,
|
|
8265
8281
|
"duet-theme-turva": this.theme === "turva",
|
|
8266
8282
|
"duet-is-small": this.size === "small",
|
|
8267
|
-
} }, hAsync("duet-icon", { key: '
|
|
8283
|
+
} }, hAsync("duet-icon", { key: '0a04c1df954274e9e5371101e9756eafacfc803c', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: 'be984ad3dd5092ed1ae6207f72e383cd4398cdc4' }, hAsync("slot", { key: '440fab721d208b694cab78140c322242812e708f' })))));
|
|
8268
8284
|
}
|
|
8269
8285
|
get element() { return getElement(this); }
|
|
8270
8286
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8320,20 +8336,20 @@ class DuetFieldset {
|
|
|
8320
8336
|
* Always the last one in the class.
|
|
8321
8337
|
*/
|
|
8322
8338
|
render() {
|
|
8323
|
-
return (hAsync(Host, { key: '
|
|
8339
|
+
return (hAsync(Host, { key: '157a9e3785dd0d5d73a7e5e2de69f367a89542a4', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '99df4bd364f76865e2faff62363fd808a48721e5', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8324
8340
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8325
8341
|
// once they do, we can remove errors from the aria-describedby
|
|
8326
8342
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8327
8343
|
class: {
|
|
8328
8344
|
"duet-fieldset": true,
|
|
8329
8345
|
"duet-theme-turva": this.theme === "turva",
|
|
8330
|
-
} }, hAsync("legend", { key: '
|
|
8346
|
+
} }, hAsync("legend", { key: '068d96c7fc93e8ce64c9e22dd1bcbfe160d34920', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'e7cdb11c3979b3cdeebd80b7dc856b97ad037207' }, this.label), this.caption && hAsync("span", { key: '80e0de6c351bc8450455812b961a08c43f0bdf92' }, this.caption)), hAsync("div", { key: 'db529ad1162564e990f7ccbb03fedf4735507c83', class: {
|
|
8331
8347
|
"duet-legend-wrapper": true,
|
|
8332
8348
|
"duet-legend-has-caption": !!this.caption,
|
|
8333
8349
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8334
8350
|
"duet-legend-hidden": this.labelHidden,
|
|
8335
8351
|
"duet-legend-compact": this.compactLabel,
|
|
8336
|
-
} }, hAsync("div", { key: '
|
|
8352
|
+
} }, hAsync("div", { key: 'a0cc74b7472ca06a305a45924c8e39c945b05243', class: "duet-fieldset-label" }, hAsync("span", { key: '46f40ac902b5e8d166f6673f538b93d7b4126426', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '328d6c4b910ee12d2a3219f863fff82f9df10bb3', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '7ba9fbacf0b68889efe22cb4859b5bd1da3a2667', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '0e83f76e722791658c7c05ac99c9ba8affb52d95', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '81e9a395cd365be7ded540edd8eb68c83a9cc6a0' }), hAsync("span", { key: '007112c1b89077612e5478a1d71ecdbf62ad2b36', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f93d85eb2d47ac6261a6a3cf1367f22c09656f92' }, this.error)))));
|
|
8337
8353
|
}
|
|
8338
8354
|
get element() { return getElement(this); }
|
|
8339
8355
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8477,15 +8493,15 @@ class DuetFooter {
|
|
|
8477
8493
|
render() {
|
|
8478
8494
|
const text = getLocaleString(i18n$1, this.language);
|
|
8479
8495
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8480
|
-
return (hAsync("footer", { key: '
|
|
8496
|
+
return (hAsync("footer", { key: '8fd345b0b7ccb794b603dc1fa9164ebf8c495060', class: {
|
|
8481
8497
|
"duet-footer": true,
|
|
8482
8498
|
"duet-m-0": this.margin === "none",
|
|
8483
8499
|
"duet-theme-turva": this.theme === "turva",
|
|
8484
8500
|
"duet-footer-simple": this.variation === "simple",
|
|
8485
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8501
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '773caa00c8f629d512537cfab5771e918c78ba57', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '4541d65907daf88fe8fd3c740eabd4bd9ad82307', class: {
|
|
8486
8502
|
"duet-footer-top": true,
|
|
8487
8503
|
"duet-has-info": this.hasInfoSlot,
|
|
8488
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8504
|
+
}, part: "top" }, hAsync("div", { key: '549ec0600b48e174d161cbdfe01544126440da66', class: "footer-top-logo" }, hAsync("duet-logo", { key: '840cb0600e17103f1501cb248b89dd819f7a661e', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '3327e1009bfc9721b5e2529dcc938cc8f4257854', class: "footer-top-right-container" }, hAsync("slot", { key: 'a00901969c97143af27151402579f4ca5c12a84e', name: "info" }), hAsync("div", { key: 'e2e6e62fd027d2b77460546d9ab74f69a9f258bb', class: "footer-top-items" }, this.processedItems &&
|
|
8489
8505
|
this.processedItems.map((item, index) => {
|
|
8490
8506
|
var _a, _b, _c, _d, _e, _f;
|
|
8491
8507
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8495,7 +8511,7 @@ class DuetFooter {
|
|
|
8495
8511
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8496
8512
|
? "medium"
|
|
8497
8513
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8498
|
-
}))))), hAsync("slot", { key: '
|
|
8514
|
+
}))))), hAsync("slot", { key: '288da5793cca9b97494edad50ec731ebdb8cd008', name: "extra" }), hAsync("p", { key: 'd6e5f190770d85f7f23997fb3010940568a11da9', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: 'd03cd42008101259ae77c5dfadad2fc719c3bc6f', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'abf31941139f2bfcaa290710ce02a3151815d6f5', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '45e583b238584d4f699cf8d80d7e8c77d4204eea' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: '673765574f21e139f2e25c722cf7e3f38fd7b2d3', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8499
8515
|
}
|
|
8500
8516
|
get element() { return getElement(this); }
|
|
8501
8517
|
static get watchers() { return {
|
|
@@ -9591,7 +9607,7 @@ class DuetHeader {
|
|
|
9591
9607
|
}; }
|
|
9592
9608
|
}
|
|
9593
9609
|
|
|
9594
|
-
const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
9610
|
+
const duetHeadingCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}.duet-heading{margin-bottom:16px !important;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
9595
9611
|
var DuetHeadingStyle0 = duetHeadingCss;
|
|
9596
9612
|
|
|
9597
9613
|
/**
|
|
@@ -9623,7 +9639,7 @@ class DuetHeading {
|
|
|
9623
9639
|
render() {
|
|
9624
9640
|
const TagName = sanitizeString$1(this.level);
|
|
9625
9641
|
const color = getColorByName(this.color);
|
|
9626
|
-
return (hAsync(TagName, { key: '
|
|
9642
|
+
return (hAsync(TagName, { key: '9a91dd0a097a00c6412b6b759df13aaa814430e8', class: {
|
|
9627
9643
|
"duet-heading": true,
|
|
9628
9644
|
"duet-heading-border": this.border !== false,
|
|
9629
9645
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -9634,7 +9650,7 @@ class DuetHeading {
|
|
|
9634
9650
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
9635
9651
|
"duet-theme-turva": this.theme === "turva",
|
|
9636
9652
|
"fixed-size": this.fixedSize,
|
|
9637
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
9653
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '01f466dbadd345dac83e12dea63809ad46a70f2b' })));
|
|
9638
9654
|
}
|
|
9639
9655
|
get element() { return getElement(this); }
|
|
9640
9656
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -9814,7 +9830,7 @@ class DuetHero {
|
|
|
9814
9830
|
outlineColor = "color-primary-turva";
|
|
9815
9831
|
}
|
|
9816
9832
|
}
|
|
9817
|
-
return (hAsync("div", { key: '
|
|
9833
|
+
return (hAsync("div", { key: 'c35513eb060ccad4d0be7152579a8c1ef1843ce7', role: "region", class: {
|
|
9818
9834
|
"duet-hero": true,
|
|
9819
9835
|
"duet-theme-turva": this.theme === "turva",
|
|
9820
9836
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -9832,17 +9848,17 @@ class DuetHero {
|
|
|
9832
9848
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
9833
9849
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
9834
9850
|
"duet-hero-narrow": this.layout === "narrow",
|
|
9835
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
9836
|
-
this.processedBack && (hAsync("div", { key: '
|
|
9851
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '27e85adc78bb62294cbb7d9dc59a8444bee27e5e', class: "background-area" }, hAsync("div", { key: '181d77ba32e718bf11e087391ebec1de91a0f436', class: "background-container" }, hAsync("div", { key: '4a83099c17f49e81652b150776eb96cf030f13ca', class: "background" }, hAsync("img", { key: '6a7248c64c31e24f90145362bb9f846c91bf8375', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: 'b4eb38ad6851945f2d29b24329ba465a0c0563a2', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'cc3cb69b3e1f33c09eb1017af5c2d373f03b68ec', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: 'd6965e50c72e29e3503d5308a0ff7fa8770607c2', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '2a124e12ce9cce7f1d581c787f5006ce7403dfd4', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '2bd79bb7fadcca8400f1133e05d4b4193eadcf9d', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '39e6fb6705c3799d1b09b5ad2ea0f637926cfa19', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '3177707b2a5c89884edf3ab2bb2951f56871532b', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'e1059a46a707b5f23a2963bf1006d80f348ac57a', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: 'f049418b2d2d39e7d69181d3780a8683002ed844', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '429e6ca56f295e1a3e04209a473a8c7ca07ca127', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'a324ce3be8d51d6848bf82609a8443b637f7c7e9', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '20ced3a9311746eb034ba4efba7cdb0176157dd1', class: "background-area" }, hAsync("div", { key: 'a6d3a68bb41519b1924f59fd4ad03159af93a582', class: "background" }, hAsync("div", { key: '6f96b2049aec609732afe98450ec5f3e7022e9b1', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '72e6e5d2e797abaf09dd722327fb5bdba7715b44', class: "brand-shape" }), hAsync("div", { key: '21a64cef40034dd82aea23a2480fc7a5ef223f55', class: "brand-shaped-image" }, hAsync("div", { key: '7c3e55707f87964db8ea0917b74d253c9d695abc', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '895025e62003249bc64ea166629961963d81e88a', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '0e72a22d7b52754a6ce5f31a4add3f6704079b5b', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '28eaa864dab07e83921548498cfd9290fedacc34', class: "duet-hero-image-mask" }, hAsync("div", { key: 'f7205d85c99bf061e83559976c132ac0a079591a', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '12b774da3703ea05be8f8d53476af5704d0fe2c4', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
9852
|
+
this.processedBack && (hAsync("div", { key: 'd1421d7dc9f15977eba7c662979bb871d495a98f', class: "duet-hero-back" }, hAsync("duet-button", { key: 'e24850de6b220e820248e612bb64fbc94c4fdc99', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
9837
9853
|
label: this.processedBack.label,
|
|
9838
9854
|
href: this.processedBack.href,
|
|
9839
9855
|
id: this.processedBack.id,
|
|
9840
9856
|
analyticsId: this.processedBack.analyticsId,
|
|
9841
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
9857
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'b077407e1c34a48740ce354c5481dac73b654e3d', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '631a6b29fe9919cf69720cb81573e801dd36d99b', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '92b822dc6914886aab5ae1b0528fc285695c0be2', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '3216721c8773b44c4f3d8635fe5eea31ba9489a7', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '75e19684ffefb463170efcc7067969e952099230', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? this.heading : hAsync("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: '9b7567102fe9d70e1bc20806cd1a953c2330e731', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'da172940a007cfa192370d8c268bcbf88e0950d6', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: 'bcd14cbbda4449532fd26b2233706371d362558d', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'e79783580f4c322fb7d0ba7851d25e15f785f5dc', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: '8c03af3ace34f2f0b1138e9a32f7ce01515fbd36', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '2fd60c758679df458ef2feed22817bf1e932446f' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'ee562f5589037be7d2de3491c62de4795cd00d66', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
9842
9858
|
this.variation !== "image" &&
|
|
9843
9859
|
!campaignOrSection &&
|
|
9844
9860
|
this.variation !== "product" &&
|
|
9845
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
9861
|
+
this.variation !== "content" && hAsync("div", { key: 'a1d05e33342d55d19db68851c3bd6109aff70182', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '04f905e4192d1b6542d830398f024b04ed0fe521', name: "bottom" }))));
|
|
9846
9862
|
}
|
|
9847
9863
|
get element() { return getElement(this); }
|
|
9848
9864
|
static get watchers() { return {
|
|
@@ -9968,11 +9984,11 @@ class DuetIcon {
|
|
|
9968
9984
|
: {};
|
|
9969
9985
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9970
9986
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9971
|
-
return (hAsync(Host, { key: '
|
|
9987
|
+
return (hAsync(Host, { key: '2c8d063e4f6194f02c63a231c7905ce4477ebefe', class: {
|
|
9972
9988
|
"duet-m-0": this.margin === "none",
|
|
9973
9989
|
"duet-icon-has-outline": !!this.outline,
|
|
9974
9990
|
"duet-icon-has-background": !!this.background,
|
|
9975
|
-
} }, hAsync("span", { key: '
|
|
9991
|
+
} }, hAsync("span", { key: '9d9b159d2531f6269a434a617d95533d65a33fff', "aria-hidden": "true", style: styles, class: {
|
|
9976
9992
|
"duet-icon": true,
|
|
9977
9993
|
"duet-theme-turva": this.theme === "turva",
|
|
9978
9994
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9981,7 +9997,7 @@ class DuetIcon {
|
|
|
9981
9997
|
[shapeStyle]: true,
|
|
9982
9998
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
9983
9999
|
"duet-icon-not-responsive": !this.responsive,
|
|
9984
|
-
} }, hAsync("span", { key: '
|
|
10000
|
+
} }, hAsync("span", { key: 'ca9fce62fea6508b49944defe645c230de66b14f', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
9985
10001
|
}
|
|
9986
10002
|
get element() { return getElement(this); }
|
|
9987
10003
|
static get watchers() { return {
|
|
@@ -10630,24 +10646,24 @@ class DuetLayout {
|
|
|
10630
10646
|
* Always the last one in the class.
|
|
10631
10647
|
*/
|
|
10632
10648
|
render() {
|
|
10633
|
-
return (hAsync(Host, { key: '
|
|
10649
|
+
return (hAsync(Host, { key: '77e2f191178d05f54711416debb0c7f64780a0fd', class: {
|
|
10634
10650
|
center: this.center,
|
|
10635
10651
|
"duet-middle": this.middle,
|
|
10636
10652
|
"duet-ie": isInternetExplorer(),
|
|
10637
|
-
} }, hAsync("div", { key: '
|
|
10653
|
+
} }, hAsync("div", { key: '905dcf1de42b34427d89e098f157126507d12aa5', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'aff4d94915e6db5fec05f1591702ddf5d32309b8', class: {
|
|
10638
10654
|
"duet-layout-top": true,
|
|
10639
10655
|
"duet-center": this.center,
|
|
10640
|
-
} }, hAsync("div", { key: '
|
|
10656
|
+
} }, hAsync("div", { key: 'e9a78a2f90f64572d0f9eb0095696f7292231b90', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '5c8632796fc97f96a9db17cb193730d394d63bc6', name: "top" })))), hAsync("div", { key: '7e0243ab692a0f95ae46a7f41afaac27ab6f8c2f', class: {
|
|
10641
10657
|
"duet-layout": true,
|
|
10642
10658
|
"has-sidebar": this.hasSidebar,
|
|
10643
10659
|
"duet-center": this.center,
|
|
10644
10660
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10645
|
-
} }, hAsync("main", { key: '
|
|
10661
|
+
} }, hAsync("main", { key: 'e0eb98840d79da68f19c18dfb6b0b738c50a8563', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: 'a8dc3953ae2de7c4d6cdfb7b732a0a2f6ff59ba8', name: "page-heading" }), hAsync("slot", { key: '9dc9657dba0718b7553aa79d2ba525fdfeb14279', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '2ca95869b0244da856be5a537d4781fcba395eda', class: "duet-sidebar" }, hAsync("div", { key: '63c6ea53fff4a0f22940410c70619ce468179c20', class: {
|
|
10646
10662
|
"duet-sidebar-container": true,
|
|
10647
10663
|
"has-tabs": this.tabs,
|
|
10648
10664
|
sticky: this.sticky,
|
|
10649
10665
|
[this.stickyDistance]: this.sticky,
|
|
10650
|
-
} }, hAsync("slot", { key: '
|
|
10666
|
+
} }, hAsync("slot", { key: '7329e6f47779d50e1ce873a0bb93e67b3a5cdcfb', name: "sidebar" }))))))));
|
|
10651
10667
|
}
|
|
10652
10668
|
get element() { return getElement(this); }
|
|
10653
10669
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10789,10 +10805,10 @@ class DuetLink {
|
|
|
10789
10805
|
render() {
|
|
10790
10806
|
const Tag = !this.url ? "button" : "a";
|
|
10791
10807
|
const isButton = Tag === "button";
|
|
10792
|
-
return (hAsync(Host, { key: '
|
|
10808
|
+
return (hAsync(Host, { key: '70bc31e1d10efda3453e16b689e38d3a4834a4bc', class: {
|
|
10793
10809
|
[`duet-link-${this.variation}`]: true,
|
|
10794
10810
|
"duet-m-0": this.margin === "none",
|
|
10795
|
-
} }, hAsync(Tag, { key: '
|
|
10811
|
+
} }, hAsync(Tag, { key: '1989da3829486cf23e4a50a7e36d93156f816404', href: this.url, class: {
|
|
10796
10812
|
"duet-link": true,
|
|
10797
10813
|
"duet-link-is-external": this.external,
|
|
10798
10814
|
"duet-link-is-download": !!this.download,
|
|
@@ -10914,7 +10930,7 @@ class DuetList {
|
|
|
10914
10930
|
* Always the last one in the class.
|
|
10915
10931
|
*/
|
|
10916
10932
|
render() {
|
|
10917
|
-
return (hAsync("dl", { key: '
|
|
10933
|
+
return (hAsync("dl", { key: 'fb75b5a512a993e8478f5c82e38b8b82a5e199cc', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'b8c6ed37ea89e194ef5a2f9fb603b60cd204ff69' })));
|
|
10918
10934
|
}
|
|
10919
10935
|
get element() { return getElement(this); }
|
|
10920
10936
|
static get watchers() { return {
|
|
@@ -10964,14 +10980,14 @@ class DuetListItem {
|
|
|
10964
10980
|
* Always the last one in the class.
|
|
10965
10981
|
*/
|
|
10966
10982
|
render() {
|
|
10967
|
-
return (hAsync(Host, { key: '
|
|
10983
|
+
return (hAsync(Host, { key: '22e6cfe329bfdf6f2f1c374bbf9bf9ab79241c52', class: {
|
|
10968
10984
|
"duet-no-stacking": !this.responsive,
|
|
10969
10985
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10970
10986
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10971
10987
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10972
10988
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10973
10989
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10974
|
-
} }, hAsync("dt", { key: '
|
|
10990
|
+
} }, hAsync("dt", { key: 'ac210602fa781f3a400b0268c29612b3feda2882' }, hAsync("slot", { key: '3e79d41cc7272db352845896debfd271df16fb70', name: "label" })), hAsync("dd", { key: '441336e69ff97fb2b7b94e19ce909b7936bc9519' }, hAsync("slot", { key: '884a75fd16b595aaf8ca7aeaec1d345e2760e4b4', name: "value" }))));
|
|
10975
10991
|
}
|
|
10976
10992
|
static get style() { return DuetListItemStyle0; }
|
|
10977
10993
|
static get cmpMeta() { return {
|
|
@@ -11064,7 +11080,7 @@ class DuetLogo {
|
|
|
11064
11080
|
*/
|
|
11065
11081
|
render() {
|
|
11066
11082
|
const TagName = this.href ? "a" : "div";
|
|
11067
|
-
return (hAsync(Host, { key: '
|
|
11083
|
+
return (hAsync(Host, { key: 'cf1b972f91235031706d26f97708213a8f7a2f8e', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'a88838e36a8db0445b441e1e5a18239e70f91672', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11068
11084
|
"duet-logo": true,
|
|
11069
11085
|
[this.size]: true,
|
|
11070
11086
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11242,14 +11258,14 @@ class DuetMenuBar {
|
|
|
11242
11258
|
render() {
|
|
11243
11259
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11244
11260
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11245
|
-
return (hAsync(Host, { key: '
|
|
11261
|
+
return (hAsync(Host, { key: 'bcad938ec9d36146a03cfe0f700b6634c1f46958' }, hAsync("nav", { key: 'b7323bf93dd036b635a2252547c632e031c39225', class: {
|
|
11246
11262
|
"duet-menu-bar": true,
|
|
11247
11263
|
"duet-theme-turva": this.theme === "turva",
|
|
11248
11264
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11249
11265
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11250
11266
|
hidden: this.hidden && this.hideOnScroll,
|
|
11251
11267
|
bottom: this.onBottom,
|
|
11252
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11268
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '694c45482cf6cd2c1d227696eee86efa9f46a3f5', class: "top" }), hAsync("div", { key: '5b9c0fbfb801099a8f5e6071c5eebcb5ec0339c2', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '9a7f4a50cf92efe098b290fa5226a38b64cb742f' }, hAsync("duet-logo", { key: '4cd17a664e1b676281232cf9957d7e27790172d7', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '212ccefe739a5ee560da239fe9b87d4d7a9d6f76', class: "list center", role: "list" }, hAsync("div", { key: '64e4c3298055047e7454a8ed83052a0964039b07', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'd31c10e443b0578aa254e39dbcb50d31de587ac2', name: "center" }), hAsync("div", { key: '22833b4443643c532f6dbbceeb8cf76785fe4ace', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'e2612b209d40d795c7cca2f1486cb9e94d527e96', class: "list right", role: "list" }, hAsync("slot", { key: '3bfee649190a701ced101c72af35477164842c94', name: "right" }))), hAsync("div", { key: '561c073cd4af726db6a62d7d150c1814d9ef3621', class: "bottom" }))));
|
|
11253
11269
|
}
|
|
11254
11270
|
get element() { return getElement(this); }
|
|
11255
11271
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11316,10 +11332,10 @@ class DuetMenuBarButton {
|
|
|
11316
11332
|
* Always the last one in the class.
|
|
11317
11333
|
*/
|
|
11318
11334
|
render() {
|
|
11319
|
-
return (hAsync(Host, { key: '
|
|
11335
|
+
return (hAsync(Host, { key: '004d0d4f86fba40f9fad10254bbd9a67fde481b3', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '93260868022fcff94e5594b0982729e449aaaf0d', ref: button => (this.nativeButton = button), class: {
|
|
11320
11336
|
"duet-menu-bar-button": true,
|
|
11321
11337
|
"duet-theme-turva": this.theme === "turva",
|
|
11322
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
11338
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '09c43d7c0dc7ee3887710f7fc88a0b290160dd7d', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'b4a30a15fa55995016084db6437987aeec8ff925' }))));
|
|
11323
11339
|
}
|
|
11324
11340
|
get element() { return getElement(this); }
|
|
11325
11341
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11402,17 +11418,17 @@ class DuetMenuBarDropdown {
|
|
|
11402
11418
|
* Always the last one in the class.
|
|
11403
11419
|
*/
|
|
11404
11420
|
render() {
|
|
11405
|
-
return (hAsync(Host, { key: '
|
|
11421
|
+
return (hAsync(Host, { key: 'b66d07696fb73e08c25ee747d2580d086a1f6034', role: "listitem" }, hAsync("div", { key: 'a76407d0613c128ca1c106ab93e5559923b86c60', class: {
|
|
11406
11422
|
"duet-menu-bar-dropdown": true,
|
|
11407
11423
|
"duet-theme-turva": this.theme === "turva",
|
|
11408
11424
|
active: this.open,
|
|
11409
11425
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11410
|
-
} }, hAsync("button", { key: '
|
|
11426
|
+
} }, hAsync("button", { key: '2821837c6d54d1312e3a9722a426b76d94973aa9', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
11411
11427
|
active: this.open,
|
|
11412
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11428
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'a9e0ee9ccdd4e2e93db53969c5af2e38e3cd40fa', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '65580cab4fb839ee4b520f56e4a048d6d0bae122', class: "label" }, hAsync("slot", { key: 'c62365b60d57413f850d9f1abed85bc109285145', name: "label" }), hAsync("duet-icon", { key: 'be8eea0170768c101754a5bb6244280ed0c431e0', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'be1513d3702db6f94611e3108415b37f0707ab9a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11413
11429
|
items: true,
|
|
11414
11430
|
hidden: !this.open,
|
|
11415
|
-
} }, hAsync("slot", { key: '
|
|
11431
|
+
} }, hAsync("slot", { key: '2bebbcac98c6087f9e03ac9a40a897ecf5d778e6' })))));
|
|
11416
11432
|
}
|
|
11417
11433
|
get element() { return getElement(this); }
|
|
11418
11434
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11472,11 +11488,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11472
11488
|
* Always the last one in the class.
|
|
11473
11489
|
*/
|
|
11474
11490
|
render() {
|
|
11475
|
-
return (hAsync(Host, { key: '
|
|
11491
|
+
return (hAsync(Host, { key: '65d409311019e93c176030ae276b74b780f0722c' }, hAsync("a", { key: '71abec43b5213cece2f6f537220c28f28c174cbe', class: {
|
|
11476
11492
|
"duet-menu-bar-dropdown-link": true,
|
|
11477
11493
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11478
11494
|
"duet-theme-turva": this.theme === "turva",
|
|
11479
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11495
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'abcb3dd527aed658cd2b4bbd23edb20edfce91eb', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '7732547ae2fc62149c2250780e40bbe6c108a49a' }))));
|
|
11480
11496
|
}
|
|
11481
11497
|
get element() { return getElement(this); }
|
|
11482
11498
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11540,11 +11556,11 @@ class DuetMenuBarItem {
|
|
|
11540
11556
|
*/
|
|
11541
11557
|
render() {
|
|
11542
11558
|
const TagName = this.url ? "a" : "button";
|
|
11543
|
-
return (hAsync(Host, { key: '
|
|
11559
|
+
return (hAsync(Host, { key: 'bbb7ab55c67b4db51e15236bca4d88bb424285ac', role: "listitem" }, hAsync(TagName, { key: 'fe5e350f27ee0bc5f7284a1a4f042ca07cf8ff09', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11544
11560
|
"duet-menu-bar-item": true,
|
|
11545
11561
|
"duet-theme-turva": this.theme === "turva",
|
|
11546
11562
|
active: this.active,
|
|
11547
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
11563
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'e726aadf242af86b56407416f363f337830cca5b', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '752e9b002c53afc4a7bc62227afe1f3222e72602' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'b983d7aad90a67857c92d864f4c807fe3f7a7a16', class: {
|
|
11548
11564
|
"trailing-icon": !!this.trailingIcon,
|
|
11549
11565
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11550
11566
|
"external-icon": !!this.external,
|
|
@@ -11599,11 +11615,11 @@ class DuetMenuBarLink {
|
|
|
11599
11615
|
* Always the last one in the class.
|
|
11600
11616
|
*/
|
|
11601
11617
|
render() {
|
|
11602
|
-
return (hAsync(Host, { key: '
|
|
11618
|
+
return (hAsync(Host, { key: 'f682d26a48ec220240975707b35c96a477eeb6be', role: "listitem" }, hAsync("a", { key: '4e3786d460b72263478547c988eb8bde5dd3501e', class: {
|
|
11603
11619
|
"duet-menu-bar-link": true,
|
|
11604
11620
|
"duet-theme-turva": this.theme === "turva",
|
|
11605
11621
|
active: this.active,
|
|
11606
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11622
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '37047bd278cc4b7bb56acdcf3db2937025736dc7', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '014a47458e2dedfad6bf8290061227812e8e4d24' }))));
|
|
11607
11623
|
}
|
|
11608
11624
|
get element() { return getElement(this); }
|
|
11609
11625
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11854,18 +11870,18 @@ class DuetModal {
|
|
|
11854
11870
|
var _a, _b;
|
|
11855
11871
|
let iconColor = "primary";
|
|
11856
11872
|
let closeColor = "secondary";
|
|
11857
|
-
const closingButton = (hAsync("div", { key: '
|
|
11873
|
+
const closingButton = (hAsync("div", { key: 'bb1f923c1ee3e15d3b50b20a34dd3ece51deb0ec', class: "duet-modal-close" }, hAsync("duet-button", { key: '4b17caf93396c246f7d27b6b5042ec86cca9558d', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
11858
11874
|
if (this.theme === "turva") {
|
|
11859
11875
|
iconColor = "primary-turva";
|
|
11860
11876
|
closeColor = "secondary-turva";
|
|
11861
11877
|
}
|
|
11862
|
-
return (hAsync("div", { key: '
|
|
11878
|
+
return (hAsync("div", { key: '2f2ce0b1a1b86550adce16addb0ea9ed85592f4a', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
11863
11879
|
"duet-modal-container": true,
|
|
11864
11880
|
"duet-theme-turva": this.theme === "turva",
|
|
11865
11881
|
"duet-modal-active": this.open,
|
|
11866
11882
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11867
11883
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11868
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11884
|
+
} }, hAsync("duet-overlay", { key: '9a399dda2be352e29770d438c4ca08545c7ea289', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '75e0574642fe5a419ad1387ab6c10c92ba9264c5', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11869
11885
|
"duet-modal-inner": true,
|
|
11870
11886
|
[this.size]: true,
|
|
11871
11887
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11876,18 +11892,18 @@ class DuetModal {
|
|
|
11876
11892
|
this.closeModal(e);
|
|
11877
11893
|
}
|
|
11878
11894
|
}
|
|
11879
|
-
} }, hAsync("div", { key: '
|
|
11895
|
+
} }, hAsync("div", { key: '7e1ae928c1edffb13bdaee92b26d4104f65e303a', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11880
11896
|
"duet-modal": true,
|
|
11881
11897
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11882
11898
|
[this.size]: true,
|
|
11883
11899
|
[this.variation]: true,
|
|
11884
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11900
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '7fad3249b4d7f695cc4f3cb206362ea4f61f266b' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '4b62e97cc1fe90e60d2266c477fccfb2862636e9', class: {
|
|
11885
11901
|
"duet-modal-body": true,
|
|
11886
11902
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11887
11903
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11888
11904
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11889
11905
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11890
|
-
} }, hAsync("div", { key: '
|
|
11906
|
+
} }, hAsync("div", { key: '10f951d353b810d003e3dbd08c9a8486068b0374', class: "duet-modal-header" }, hAsync("span", { key: 'fb7328dea24935b8ea198b2aad27f2b6935539f7', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '23c95e51b7a6a924c51563810b0114112bfa9812', name: "top" })), this.icon && hAsync("duet-icon", { key: '0acaa2a0a64267c885b32599d1342a31fa8d9379', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '4ccc419418e3a9c4fe0baa48df4126ebe89e3d59', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: '6b60e149a187b71c820169ef1454f89fb6565f39', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '2f2ea4dd35d3459560b14c63c0967d70b4c25eea', size: "large", color: "primary" }))), hAsync("div", { key: '150bcb1ab2988133a66a194f43dd3528dc0165a9', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: 'f6837d986392a94af1497c896af4fc87cb008cf0' })))))));
|
|
11891
11907
|
}
|
|
11892
11908
|
get element() { return getElement(this); }
|
|
11893
11909
|
static get watchers() { return {
|
|
@@ -12152,23 +12168,23 @@ class DuetMultiselect {
|
|
|
12152
12168
|
*/
|
|
12153
12169
|
render() {
|
|
12154
12170
|
var _a;
|
|
12155
|
-
return (hAsync(Host, { key: '
|
|
12171
|
+
return (hAsync(Host, { key: 'a9ce209f6d0ebc295aca6abfb51e7d8b5f916397', class: {
|
|
12156
12172
|
"duet-m-0": this.margin === "none",
|
|
12157
12173
|
"duet-expand": this.expand,
|
|
12158
|
-
} }, hAsync("div", { key: '
|
|
12174
|
+
} }, hAsync("div", { key: '9b63f45acce3faac9c0e5f2d6a50d687539a4d4a', class: {
|
|
12159
12175
|
"duet-multiselect-container": true,
|
|
12160
12176
|
"duet-label-hidden": this.labelHidden,
|
|
12161
12177
|
"duet-theme-turva": this.theme === "turva",
|
|
12162
12178
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12163
12179
|
"has-error": !!this.error,
|
|
12164
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
12180
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '3976aa0ddd2971764fe0f2e627aed6c960f65cef', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '24392c70833eeff354b2cd56707b5b63ba5fd59b', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '15ca546366a30b65065c099469b941e08a2bc6c0', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '44d9589c99b1694af3bb860de10875595e2f4bc9', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'd49ca494868a57210724275e7a98c4551ab558ae', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '5b68859ae6b1a9916d96c47002f7c9485382a913', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: 'c64f308ba8bec99486e788ddb0d7e5adaed8a02d', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: '2d3e3f55ebf4f964c4d4d04d07177a65df21c42f', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'd38084d0fb7a9f080a234c069d612ccddcb890ab' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: 'df30af3c9e60203a9ca16e1e7a771843962fec60', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '32f4205865b6e6d53b6e78a45004da23591018f1', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: '7c5441c80982d38f49b7128f179ff0a06492a28b', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12165
12181
|
"duet-multiselect-checkboxes": true,
|
|
12166
12182
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12167
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12183
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'e1065494a8222bae0b5c853ae52c1d21259289ac', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'ceed8b74d08ac96e2b79d2efd45b9c93eada86cf', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: 'a51688c114ff6f86984fc9b04cc1d1faee99f5d1', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12168
12184
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12169
12185
|
var _a, _b;
|
|
12170
12186
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
12171
|
-
})))))), hAsync("span", { key: '
|
|
12187
|
+
})))))), hAsync("span", { key: '782f6132228248e8f4e141138052781c224e9f48', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '0354ff249d65209cda5983cdc85c5dca4ddf0bde' }, this.error)))));
|
|
12172
12188
|
}
|
|
12173
12189
|
get element() { return getElement(this); }
|
|
12174
12190
|
static get watchers() { return {
|
|
@@ -12237,7 +12253,7 @@ class DuetNav {
|
|
|
12237
12253
|
* Always the last one in the class.
|
|
12238
12254
|
*/
|
|
12239
12255
|
render() {
|
|
12240
|
-
return (hAsync(Host, { key: '
|
|
12256
|
+
return (hAsync(Host, { key: 'f5ae3631c0785744d3fb7f34559cee04e5285550' }, hAsync("div", { key: 'd714239fed77dbea052ea2dc8b9d8ca31e7cfa8c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: 'c11135ddebbd766695f4f19800580bce48cc1f80' }), hAsync("slot", { key: '771f6f0c80fda18fc05857077347bad51fc88a04', name: "mobile" }), hAsync("slot", { key: '38f4f4252472f09e56f4d6e901248600df52d2a1', name: "desktop" }))));
|
|
12241
12257
|
}
|
|
12242
12258
|
get element() { return getElement(this); }
|
|
12243
12259
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12296,11 +12312,11 @@ class DuetNotification {
|
|
|
12296
12312
|
this.linkElement.focus(options);
|
|
12297
12313
|
}
|
|
12298
12314
|
render() {
|
|
12299
|
-
return (hAsync("div", { key: '
|
|
12315
|
+
return (hAsync("div", { key: 'eace5033122ee62ee27b591ad47b118c1f9096f7', role: "listitem", class: {
|
|
12300
12316
|
"duet-notification": true,
|
|
12301
12317
|
"duet-notification-highlight": this.highlight,
|
|
12302
12318
|
"duet-theme-turva": this.theme === "turva",
|
|
12303
|
-
} }, hAsync("a", { key: '
|
|
12319
|
+
} }, hAsync("a", { key: '4400c732e537e9c2838a5b5c1c1d9eade1123d43', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '99e87aad2c516c8cb1380fcb67b51123373ed039', class: "duet-notification-container" }, hAsync("div", { key: 'f8d25e2f95cac95692192371a77a00b9022de1f7', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '8d349100089368193d73d23062fd00d9ab342411', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: 'fffab52bd32056bf806777b802a72cf0b606f91c' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'ac061c356306f0677bf89646951e4fbaaba466a1', class: "duet-notification-content" }, hAsync("slot", { key: 'f94d05db7e9897cffad9f9082ec66ffb8efd23fe' })), hAsync("div", { key: '33dec802c87ce665d301f507226c50f3c17e8628', class: "duet-notification-date" }, this.date)))));
|
|
12304
12320
|
}
|
|
12305
12321
|
get element() { return getElement(this); }
|
|
12306
12322
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12418,10 +12434,10 @@ class DuetNotificationDrawer {
|
|
|
12418
12434
|
* Always the last one in the class.
|
|
12419
12435
|
*/
|
|
12420
12436
|
render() {
|
|
12421
|
-
return (hAsync("div", { key: '
|
|
12437
|
+
return (hAsync("div", { key: 'b9e14aa3e19e14ef225ed47f6961b0f88a7cddc4', class: {
|
|
12422
12438
|
"duet-drawer": true,
|
|
12423
12439
|
"duet-theme-turva": this.theme === "turva",
|
|
12424
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12440
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'e2c17fc4f254b3f307734006dbfea982ff6ee382', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: 'a8795ee99eba96b344f89fa3cad551ec7380b966', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: 'ba43b4fe302bf7acd9f73ddc974d141f455ff4f7', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '528eddbd58dc20742fec9b67347228f83b3aa84d', class: "duet-drawer-badge" }))), hAsync("span", { key: 'e1863d335a91de0ebee61833c5df5cd8dbfe7556', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '1950983a0f5ee70f5f8025f75c3d17e37e1b7a15', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '8eabe2d3fc3083ed7177e0c86103b6f3e72cc86e', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '2618b64bdc7e100de5ef65efa3b3c47f15282f14', id: "duet-drawer-content", class: {
|
|
12425
12441
|
"duet-drawer-content": true,
|
|
12426
12442
|
"duet-drawer-right": this.direction === "right",
|
|
12427
12443
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12888,7 +12904,7 @@ class DuetOverlay {
|
|
|
12888
12904
|
* Always the last one in the class.
|
|
12889
12905
|
*/
|
|
12890
12906
|
render() {
|
|
12891
|
-
return (hAsync(Host, { key: '
|
|
12907
|
+
return (hAsync(Host, { key: '1f48c95511f5fe345d0c954839878ca75143a23f', "aria-hidden": "true" }, hAsync("div", { key: '1a659c3467a8badcf2f3530034358faab19382f5', style: { zIndex: this.zIndex }, class: {
|
|
12892
12908
|
"duet-overlay": true,
|
|
12893
12909
|
"duet-theme-turva": this.theme === "turva",
|
|
12894
12910
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12958,12 +12974,12 @@ class DuetPageHeading {
|
|
|
12958
12974
|
*/
|
|
12959
12975
|
render() {
|
|
12960
12976
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12961
|
-
return (hAsync("div", { key: '
|
|
12977
|
+
return (hAsync("div", { key: 'f84be07f2c33b45360e553051478010014f8ee1f', class: {
|
|
12962
12978
|
"duet-page-heading": true,
|
|
12963
12979
|
"duet-theme-turva": this.theme === "turva",
|
|
12964
12980
|
"has-icon": !!this.icon,
|
|
12965
12981
|
[layout]: true,
|
|
12966
|
-
} }, hAsync("div", { key: '
|
|
12982
|
+
} }, hAsync("div", { key: 'bc767f86b6bd1c690db1716c7871c1f5772efb0a', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'd0159e0adbcc43de58942ec26c6456f25d3be7a3', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '6d44470ea21076c83188847450d3d43cb18cfdcc', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '2e66c27bda85ecc8cf540bb2183683b0c0168d31', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '270cfd764055e1f8635bd5e519191d56356d26f3', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'a43fcc34939632c3d59b94da64283461d3a58faa', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '6a0f42bc5eb7747fde0fde4efc2ddc79792ddea7', class: "heading" }, hAsync("slot", { key: 'f7783da2cb7a1de174229d4a36f9a400ca2ee67a', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '1770423482557be3b25e59a0d4dd66b684afecc3' }, hAsync("duet-spacer", { key: '1d404addde73988e6430a7f090b97646e6264aa4', size: "large" }), hAsync("div", { key: '7149707ed0f09c0c1443d062c88be018637caa05', role: "presentation" }, this.progressIndicator()))))));
|
|
12967
12983
|
}
|
|
12968
12984
|
get element() { return getElement(this); }
|
|
12969
12985
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13318,32 +13334,32 @@ class DuetPagination {
|
|
|
13318
13334
|
* Always the last one in the class.
|
|
13319
13335
|
*/
|
|
13320
13336
|
render() {
|
|
13321
|
-
return (hAsync(Host, { key: '
|
|
13337
|
+
return (hAsync(Host, { key: 'd6ed3352906a8c13c0ba120e63acd5572db61555', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: 'd7cb59047ba6951fb8ec60beb986df51cc646c4a', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
13322
13338
|
"duet-pagination-nav": true,
|
|
13323
13339
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13324
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13340
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '902c6abd42e246304aae924b1406f8c2bc817bf5', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: '4861b3a854f12cadae3f5d3f91806f5a50bed294', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '66c09e15df929889c85137de8cdb0d7fbadbfc8f', id: this.listId, class: {
|
|
13325
13341
|
"duet-pagination": true,
|
|
13326
13342
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13327
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13343
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'f06ae0b46625378d53f7d6c968efe6cc37628669', class: {
|
|
13328
13344
|
"duet-pagination-page-button": true,
|
|
13329
13345
|
"duet-pagination-button-first": true,
|
|
13330
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13346
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '53de9f7186c2e9c280d3b987e33d3e50f9394301', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: 'f1ee58d73ab3ec2e1e7044d16a36495ebb5fc259', class: {
|
|
13331
13347
|
"duet-pagination-page-button": true,
|
|
13332
13348
|
"duet-pagination-button-first": true,
|
|
13333
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13349
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '5e064f5e0b53fe9c04b4e5167dff1b6acbe85c75', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13334
13350
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13335
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13336
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13351
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '126295d5cf39d121da317412934d570d02b5d122' }, hAsync("li", { key: 'ab615605de67abfa16ba5304450d4fbe4b40c1fd', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '81945909e8e4e70aede95ff3bcec869b59d2faaa', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: '52a1704bf4e47e97a8165b34b133d75f7cf46ee6', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: 'db56afde04dc1c6ae372db9a7b12f5d8a968afca', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'bbcee542f0a2151957fe8612104cad3762a23972', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: '63cbd7bc9380da4dee3360c052b0555329c6db24', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13352
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'c7ce3b477074306822ad20b564aade9ec8cdbf5d' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '76bed23b3e4010197e2682b581e2740c8c21158a', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '822ae63ebc41b29721791343bf9209798977c38a', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: 'f89e2cb2097b4f9b41cd0a1d351ff3e4b7867b4f', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '94ea90a52a62975ec11fac47ab933a7de8afa5ea', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '9eadf95f39e73639515ff03079b8528b2c0c7a59', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
13337
13353
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13338
|
-
: undefined }, hAsync("div", { key: '
|
|
13354
|
+
: undefined }, hAsync("div", { key: 'feefef8f45433820ca8e029094b1b4fe216067a5', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '2577b388ea15e24be05de69b308c22dbb298e6d1', class: {
|
|
13339
13355
|
"duet-pagination-page-button": true,
|
|
13340
13356
|
"duet-pagination-button-last": true,
|
|
13341
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13357
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'd7e18ac10323030b3c7e651e9b4598bba5d413f6', disabled: !!((this.current === this.totalPages &&
|
|
13342
13358
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13343
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13359
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'a71b9d3150493bb242caed7d27ca3c6c2e79efa0', class: {
|
|
13344
13360
|
"duet-pagination-page-button": true,
|
|
13345
13361
|
"duet-pagination-button-last": true,
|
|
13346
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13362
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '1b9192690bdd80a356b64e71a87e44a697ffb9fa', disabled: (this.current === this.totalPages &&
|
|
13347
13363
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13348
13364
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
13349
13365
|
}
|
|
@@ -13417,7 +13433,7 @@ class DuetParagraph {
|
|
|
13417
13433
|
const color = getColorByName(this.color);
|
|
13418
13434
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13419
13435
|
// are not announced when placed inside duet-modal
|
|
13420
|
-
return (hAsync(Host, { key: '
|
|
13436
|
+
return (hAsync(Host, { key: '64a84c4df04a399b3f9378b2fc4742c06767e0c3', "aria-describedby": this.id }, hAsync("p", { key: '6d9c8a61f8506ecb6e8e8391ab5d645555e36055', id: this.id, class: {
|
|
13421
13437
|
"duet-paragraph": true,
|
|
13422
13438
|
"duet-paragraph-small": this.size === "small",
|
|
13423
13439
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13425,7 +13441,7 @@ class DuetParagraph {
|
|
|
13425
13441
|
"duet-m-0": this.margin === "none",
|
|
13426
13442
|
[this.variation]: true,
|
|
13427
13443
|
"duet-theme-turva": this.theme === "turva",
|
|
13428
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13444
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '482892006f59215f0d9e7ba05b66bed8c5cee719' }))));
|
|
13429
13445
|
}
|
|
13430
13446
|
get element() { return getElement(this); }
|
|
13431
13447
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15169,11 +15185,11 @@ class DuetPopupMenuItem {
|
|
|
15169
15185
|
"duet-theme-turva": this.theme === "turva",
|
|
15170
15186
|
"active-descendant": this.activeDescendant,
|
|
15171
15187
|
};
|
|
15172
|
-
return (hAsync(Host, { key: '
|
|
15188
|
+
return (hAsync(Host, { key: 'bf1b38aa7684c8cc3959b6b0725f83962341d58d', role: this.accessibleRole }, hAsync(TagName, { key: '71cfa30d7780f2ab9a31f2aa3ff4bec91b8e0b7e', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '3552f0f0e6e303f23e012a9baa0b646d7f3eeb5e', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '1c26c319a37978618960dce5c0e5de9731a576c9', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c3f9e10b0f5c5af06d79ba6760b924f5abfb02d9' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '2b5f54ffc9063c6ef1dfb38d59724a1ff9307ede', name: this.url && this.external
|
|
15173
15189
|
? actionNewWindowSmall.title
|
|
15174
15190
|
: this.active
|
|
15175
15191
|
? "messaging-checked-small"
|
|
15176
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
15192
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'b9a42c7f906f16c62189ce82f8c1bbdeee169a7e', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15177
15193
|
}
|
|
15178
15194
|
get element() { return getElement(this); }
|
|
15179
15195
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15328,12 +15344,12 @@ class DuetPromoCard {
|
|
|
15328
15344
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15329
15345
|
};
|
|
15330
15346
|
const TagName = this.url ? "a" : "div";
|
|
15331
|
-
return (hAsync(Host, { key: '
|
|
15347
|
+
return (hAsync(Host, { key: '369719dba1262d916b787afe98ffd4fa217e2f1a', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'a49708055d9810ca1cecc07070640f389f8b866b', class: {
|
|
15332
15348
|
"duet-promo-card": true,
|
|
15333
15349
|
"duet-theme-turva": this.theme === "turva",
|
|
15334
15350
|
"no-bg-color": !this.backgroundColor,
|
|
15335
15351
|
"duet-promo-card-link": !!this.url,
|
|
15336
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15352
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'c4c5c7f1a09b5641b228a7fc9b62afd950fdc8e1', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '12c2264de14f12da9ec4002afeb5fe978ceaa719', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'ee62d417521f8201dcaf095a8fe86684a935ba2d', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'b5566b2e3ed124323ce8f7f34827e291f082f8e8', class: "pre-heading" }, hAsync("slot", { key: '4db794c53c26048fa69d04b3b1ba1478de36c3d6', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'ca8c079241b93d7193b601a713de4b4e83e44630', class: "heading" }, hAsync("duet-heading", { key: '9f6e20d605a3c35265fdd21d64b7862705ca5aeb', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '72f862b412fe7145d8e96eebdc91e82e38ba4072' }, hAsync("slot", { key: '0933ea8abb5c7b5d70515f2bd685f210a4fb5a85', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'e81b515409efbd9b32ee45e0f930fd2ec5148a4e', class: "description" }, hAsync("duet-paragraph", { key: 'c8483b63083ef1f07e44b49d0b51e21cf6d08f41', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'ec479361b133d65d444b9504d227167e353179e0' }, hAsync("slot", { key: '732371f1f5719157476dd2d73d0750a6614bd88d', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '938ee22a3f9e771bd08ee7d092c002a9f989e289', class: "action" }, hAsync("slot", { key: '91a2a79c7964862a39764fdac8de1a6a1679d1ea', name: "action" }))))))));
|
|
15337
15353
|
}
|
|
15338
15354
|
get element() { return getElement(this); }
|
|
15339
15355
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -15940,10 +15956,10 @@ class DuetRangeStepper {
|
|
|
15940
15956
|
* Always the last one in the class.
|
|
15941
15957
|
*/
|
|
15942
15958
|
render() {
|
|
15943
|
-
return (hAsync("div", { key: '
|
|
15959
|
+
return (hAsync("div", { key: '35bce1f47ba569cc34b6f4627b11c321f7ed7ee0', class: {
|
|
15944
15960
|
"duet-range-stepper": true,
|
|
15945
15961
|
"duet-theme-turva": this.theme === "turva",
|
|
15946
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
15962
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'c4c9faf170e41dd8428464b8084ace48f8704d42', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'c5fe0ebd2197ed50b2b6313f3289f339782ee4af', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: '26fe2315b7915a46bd40fef5e5941fef008e980f', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
15947
15963
|
}
|
|
15948
15964
|
get element() { return getElement(this); }
|
|
15949
15965
|
static get watchers() { return {
|
|
@@ -15972,7 +15988,7 @@ class DuetRangeStepper {
|
|
|
15972
15988
|
}; }
|
|
15973
15989
|
}
|
|
15974
15990
|
|
|
15975
|
-
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items
|
|
15991
|
+
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-right:10px;padding-left:10px;margin:0 -10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";
|
|
15976
15992
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
15977
15993
|
|
|
15978
15994
|
/**
|
|
@@ -16044,15 +16060,20 @@ class DuetScrollable {
|
|
|
16044
16060
|
}
|
|
16045
16061
|
/**
|
|
16046
16062
|
* Check if scrolling is needed.
|
|
16063
|
+
*
|
|
16064
|
+
* @param element - The element to check.
|
|
16065
|
+
* @param threshold - The threshold to allow content to be slightly wider before showing buttons.
|
|
16066
|
+
* Defaults to half of the overlay width, since gradient is 10px wide with 50/50 split.
|
|
16047
16067
|
*/
|
|
16048
|
-
checkScrollingNeeded(element = this.scrollPaneElement, threshold =
|
|
16068
|
+
checkScrollingNeeded(element = this.scrollPaneElement, threshold = 5) {
|
|
16069
|
+
var _a;
|
|
16049
16070
|
if (!element) {
|
|
16050
16071
|
return;
|
|
16051
16072
|
}
|
|
16052
|
-
const
|
|
16053
|
-
const
|
|
16054
|
-
|
|
16055
|
-
|
|
16073
|
+
const parentWidth = ((_a = element.parentElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
16074
|
+
const contentWidth = element.scrollWidth;
|
|
16075
|
+
const overlayWidth = 10 * 2;
|
|
16076
|
+
this.needsScrolling = contentWidth - overlayWidth > parentWidth + threshold;
|
|
16056
16077
|
if (!this.needsScrolling) {
|
|
16057
16078
|
this.scrollPaneAtStart = true;
|
|
16058
16079
|
this.scrollPaneAtEnd = true;
|
|
@@ -16156,13 +16177,6 @@ class DuetScrollable {
|
|
|
16156
16177
|
const last = this.getLastVisibleElement();
|
|
16157
16178
|
this.scrollToElement(last + 1, "center");
|
|
16158
16179
|
}
|
|
16159
|
-
renderFadeOverlay(direction) {
|
|
16160
|
-
return (hAsync("div", { class: {
|
|
16161
|
-
"duet-scrollable-fade-overlay": true,
|
|
16162
|
-
"duet-scrollable-fade-overlay--hidden": !this.needsScrolling,
|
|
16163
|
-
[`${direction}`]: true,
|
|
16164
|
-
} }));
|
|
16165
|
-
}
|
|
16166
16180
|
renderButton(direction) {
|
|
16167
16181
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
16168
16182
|
const arrowColorDisabled = this.theme === "turva" ? "color-gray-turva" : "color-gray";
|
|
@@ -16197,24 +16211,24 @@ class DuetScrollable {
|
|
|
16197
16211
|
* Always the last one in the class.
|
|
16198
16212
|
*/
|
|
16199
16213
|
render() {
|
|
16200
|
-
return (hAsync(Host, { key: '
|
|
16214
|
+
return (hAsync(Host, { key: 'b732f961598d764b333e1e33f7183bc0271da072', class: {
|
|
16201
16215
|
"duet-theme-turva": this.theme === "turva",
|
|
16202
16216
|
"duet-theme-default": this.theme === "default",
|
|
16203
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16217
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'ac484092dc09d764722364df2ed0fc204f2ba34d', class: {
|
|
16204
16218
|
collapse: true,
|
|
16205
16219
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16206
|
-
} }, hAsync("duet-button", { key: '
|
|
16220
|
+
} }, hAsync("duet-button", { key: '594ede3fc99d1a0c8170ce850ce792ba3fee61ee', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '539a24d8b56e8064d0d899256651139239d264e1', name: "collapse-button-label" })))), hAsync("div", { key: 'a09b5182e99e0632903c8d58983e19e63570700c', class: {
|
|
16207
16221
|
"duet-scrollable-items": true,
|
|
16208
16222
|
buttons: this.buttons,
|
|
16209
16223
|
center: this.center,
|
|
16210
16224
|
"duet-theme-turva": this.theme === "turva",
|
|
16211
|
-
} }, this.buttons && this.renderButton("left"),
|
|
16225
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: 'd5318b1e8e47d2ca46b65572ea718d8669e741cc', class: {
|
|
16212
16226
|
"duet-scrollable-list": true,
|
|
16213
16227
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16214
16228
|
[`gap-${this.gap}`]: true,
|
|
16215
16229
|
collapsed: this.collapsed,
|
|
16216
16230
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16217
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16231
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'c607b4e0e2d65674f157e2fdc6fdf890f95a77c0' })), this.buttons && this.renderButton("right"))));
|
|
16218
16232
|
}
|
|
16219
16233
|
get element() { return getElement(this); }
|
|
16220
16234
|
static get watchers() { return {
|
|
@@ -16261,13 +16275,13 @@ class DuetSectionLayout {
|
|
|
16261
16275
|
* Always the last one in the class.
|
|
16262
16276
|
*/
|
|
16263
16277
|
render() {
|
|
16264
|
-
return (hAsync(Host, { key: '
|
|
16278
|
+
return (hAsync(Host, { key: 'd1c577c30368c8ad2c3b87d2056cdb21191e586e', class: {
|
|
16265
16279
|
"duet-middle": this.middle,
|
|
16266
16280
|
"duet-ie": isInternetExplorer(),
|
|
16267
|
-
} }, hAsync("div", { key: '
|
|
16281
|
+
} }, hAsync("div", { key: 'd5ef07dc367ad7b1bdb54634b8abe80a3ab42595', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e35a1276a667969594305cec29efa7ca74d137a2', class: {
|
|
16268
16282
|
"duet-layout": true,
|
|
16269
16283
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16270
|
-
} }, hAsync("section", { key: '
|
|
16284
|
+
} }, hAsync("section", { key: '97aa517a43663077b98ef7eee06d7e28daac3545', class: "duet-main" }, hAsync("slot", { key: 'b9c7aaae5f0f41eaca7ca3fa8422038548991c13' }))))));
|
|
16271
16285
|
}
|
|
16272
16286
|
get element() { return getElement(this); }
|
|
16273
16287
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -16510,9 +16524,9 @@ class DuetShapedImage {
|
|
|
16510
16524
|
const style = {
|
|
16511
16525
|
"--rotation": `${this.rotation}deg`,
|
|
16512
16526
|
};
|
|
16513
|
-
return (hAsync(Host, { key: '
|
|
16527
|
+
return (hAsync(Host, { key: '4d2509d187900cd728bc7f487c0d5f6d6692fcf6', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '443432050b727b6c2b596eea74a7d991626f3588', class: {
|
|
16514
16528
|
"shaped-image": true,
|
|
16515
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
16529
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '2b158b8d24e6803549c950f701fa1f304b2c5a21', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '84ceabbe108b85db331719cad4aa47ac16c52613', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
16516
16530
|
}
|
|
16517
16531
|
static get style() { return DuetShapedImageStyle0; }
|
|
16518
16532
|
static get cmpMeta() { return {
|
|
@@ -16620,12 +16634,12 @@ class DuetShowMore {
|
|
|
16620
16634
|
* Always the last one of the class.
|
|
16621
16635
|
*/
|
|
16622
16636
|
render() {
|
|
16623
|
-
return (hAsync(Host, { key: '
|
|
16637
|
+
return (hAsync(Host, { key: 'f8b3a4bdc3bdb531b534fa738121b232385abd2f' }, hAsync("div", { key: '4286438cdd90fadc5a9a099d57a1f7ed405f4825', class: {
|
|
16624
16638
|
"duet-show-more": true,
|
|
16625
16639
|
"duet-theme-turva": this.theme === "turva",
|
|
16626
16640
|
"duet-m-0": this.margin === "none",
|
|
16627
16641
|
open: this.open,
|
|
16628
|
-
} }, hAsync("div", { key: '
|
|
16642
|
+
} }, hAsync("div", { key: '3a4f4bedaa980b958342d306e431e6e8eea30b46', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '83db13f0dfda97263e0979963c35e3b8af89b8fa', class: { "slotted-content": true } }, hAsync("slot", { key: '4c7ac0dd5c6c92734c9fbb1b41292b1ab5b9b395' }))), hAsync("duet-button", { key: '8b5673ff853d9c7888ce2d6b532d01d99c85af43', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: 'caea15de13cce76f34b754a3a1dda49a6d17bb89' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
16629
16643
|
}
|
|
16630
16644
|
get element() { return getElement(this); }
|
|
16631
16645
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -16907,9 +16921,11 @@ class DuetSlideout {
|
|
|
16907
16921
|
};
|
|
16908
16922
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
16909
16923
|
this.hasStickyHeaderSlot = false;
|
|
16924
|
+
this.disconnectController = new AbortController();
|
|
16925
|
+
this.eventListenerController = new AbortController();
|
|
16910
16926
|
this.setOpenButton = (element, addClickListener = false) => {
|
|
16911
|
-
if (this.
|
|
16912
|
-
this.
|
|
16927
|
+
if (this.eventListenerController) {
|
|
16928
|
+
this.eventListenerController.abort();
|
|
16913
16929
|
}
|
|
16914
16930
|
if (!element) {
|
|
16915
16931
|
this.openButton = undefined;
|
|
@@ -16920,17 +16936,23 @@ class DuetSlideout {
|
|
|
16920
16936
|
button.accessiblePopup = "true";
|
|
16921
16937
|
button.accessibleExpanded = false;
|
|
16922
16938
|
this.openButton = button;
|
|
16923
|
-
if (addClickListener) {
|
|
16924
|
-
this.
|
|
16939
|
+
if (addClickListener && !this.disconnectController.signal.aborted) {
|
|
16940
|
+
this.eventListenerController = new AbortController();
|
|
16941
|
+
this.openButton.addEventListener("click", this.openButtonEventListener, {
|
|
16942
|
+
signal: this.eventListenerController.signal,
|
|
16943
|
+
});
|
|
16925
16944
|
}
|
|
16926
16945
|
}
|
|
16927
|
-
catch (
|
|
16946
|
+
catch (e) {
|
|
16947
|
+
console.error(e);
|
|
16948
|
+
}
|
|
16928
16949
|
};
|
|
16929
16950
|
this.setStickHeaderStyleMutations = (clean = false) => {
|
|
16930
16951
|
const stickyHeaderTabGroups = this.element.querySelectorAll('[slot="sticky-header"] duet-tab-group');
|
|
16931
16952
|
stickyHeaderTabGroups.forEach(tabGroup => {
|
|
16932
16953
|
tabGroup.style.position = clean ? null : "relative";
|
|
16933
16954
|
tabGroup.style.top = clean ? null : "1px";
|
|
16955
|
+
tabGroup.switchLargeBreakpoint = "always";
|
|
16934
16956
|
});
|
|
16935
16957
|
};
|
|
16936
16958
|
this.openButtonEventListener = (e) => {
|
|
@@ -17004,6 +17026,9 @@ class DuetSlideout {
|
|
|
17004
17026
|
if (this.mutationObserver) {
|
|
17005
17027
|
this.mutationObserver.disconnect();
|
|
17006
17028
|
}
|
|
17029
|
+
if (this.disconnectController) {
|
|
17030
|
+
this.disconnectController.abort();
|
|
17031
|
+
}
|
|
17007
17032
|
this.setOpenButton(undefined);
|
|
17008
17033
|
this.setStickHeaderStyleMutations(true);
|
|
17009
17034
|
}
|
|
@@ -17111,16 +17136,16 @@ class DuetSlideout {
|
|
|
17111
17136
|
};
|
|
17112
17137
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17113
17138
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17114
|
-
return (hAsync(Host, { key: '
|
|
17139
|
+
return (hAsync(Host, { key: '8d5d42ea1b4ab27296f6b360c4fbb0d31836d039' }, hAsync("div", { key: '1cf8c2cb6f87e429e8c49b2ae55c2a247f5e8a1d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'b1f49d5e1da9b0ef48c21957d5b6da4a266c74e8', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'd4ef90d513a2a1970ce5cb9f3337e852785eb13a', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
17115
17140
|
dialog: true,
|
|
17116
17141
|
hidden: !this.open,
|
|
17117
17142
|
modal: this.modal,
|
|
17118
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17143
|
+
}, style: styles }, hAsync(FocusGuard, { key: '68ea31fc1367cfffe651a11b7b61dc4fcb5b09fc', moveFocusTo: this.closeButton }), hAsync("div", { key: 'c7e01931fb3c9c1cb4c70bf364cf23ee94c64744', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '1461b0d0fe30eace62ef88fbffec48aa527f316f', class: "top" }, hAsync("button", { key: 'fb6c4634ce62407eda4b349b54cf4c0dffd3f9ad', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17119
17144
|
"slideout-close": true,
|
|
17120
17145
|
active: this.open,
|
|
17121
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17146
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'bc09b7fdfe8c01b5e2ed9c28464ddb09fbb5cae3', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '27b33378e3c3e1fdd221acb6288540aa93633b74', class: "sticky-header" }, hAsync("slot", { key: '38d19fe1d2c6f74004b7e93a591c0c07a2edfad2', name: "sticky-header" }))), hAsync("div", { key: 'a92d3f23efe42d3fff113a6c0ef6205e90bd387c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17122
17147
|
items: true,
|
|
17123
|
-
} }, hAsync("slot", { key: '
|
|
17148
|
+
} }, hAsync("slot", { key: 'aa14239555307c1303b17929cfd48f44c9883cef' })), hAsync(FocusGuard, { key: '8d9f6812015a4184d5e5aa94f91d07491c826969', moveFocusTo: this.closeButton })))));
|
|
17124
17149
|
}
|
|
17125
17150
|
get element() { return getElement(this); }
|
|
17126
17151
|
static get watchers() { return {
|
|
@@ -17187,7 +17212,7 @@ class DuetSlideoutLang {
|
|
|
17187
17212
|
*/
|
|
17188
17213
|
render() {
|
|
17189
17214
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17190
|
-
return (hAsync(Host, { key: '
|
|
17215
|
+
return (hAsync(Host, { key: '31b6e57b23d0936cc4147741caf528521e1e82a1' }, hAsync("div", { key: '74b2d0ddf3a4a21c4d9368e9e7e00e6e223e78c6', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '1f6beba2dcad7302f4e3db4395435d7c5e39730d', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'ead217fcb33aeced035ef571dbe57de7857d0c84' }))));
|
|
17191
17216
|
}
|
|
17192
17217
|
get element() { return getElement(this); }
|
|
17193
17218
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17231,12 +17256,12 @@ class DuetSlideoutLink {
|
|
|
17231
17256
|
* Always the last one in the class.
|
|
17232
17257
|
*/
|
|
17233
17258
|
render() {
|
|
17234
|
-
return (hAsync(Host, { key: '
|
|
17259
|
+
return (hAsync(Host, { key: '397e43c602bd3d9926d0649d5df37f30abc8e122' }, hAsync("a", { key: 'ea5609a4fd536e03d6563b21c05d9d15f024f996', class: {
|
|
17235
17260
|
"duet-slideout-link": true,
|
|
17236
17261
|
"duet-theme-turva": this.theme === "turva",
|
|
17237
17262
|
active: this.active,
|
|
17238
17263
|
[this.size]: true,
|
|
17239
|
-
}, 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: '
|
|
17264
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'cd2858752a02bceda1dc86741a5a7588f4c04fc5', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'c0e8b4c5f08ff88b02749475f88ea49699c9f32e', class: "label" }, hAsync("span", { key: '6f32f8b54e0c9927ef11ea6feb0e9f41239f5826' }, hAsync("slot", { key: 'aa5b10e8ed48b56c94a4b92b8f4a4c04fd8751cd' }), hAsync("slot", { key: '3ccb1b5c03782d3df88ce40121c3848abbb7ed21', name: "description" })), this.caret && (hAsync("duet-icon", { key: '7761639943a89d708a9cdc554e8b464538154ab5', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17240
17265
|
}
|
|
17241
17266
|
get element() { return getElement(this); }
|
|
17242
17267
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -17396,23 +17421,23 @@ class DuetSlideoutPanel {
|
|
|
17396
17421
|
};
|
|
17397
17422
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17398
17423
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
17399
|
-
return (hAsync(Host, { key: '
|
|
17424
|
+
return (hAsync(Host, { key: '67ac4db2da51c270872cadbf5219233a9ff49cc4' }, hAsync("div", { key: '7d35e8a8d56f4508b42b4c9e49f891de410b25e5', class: {
|
|
17400
17425
|
"duet-slideout-panel": true,
|
|
17401
17426
|
"duet-theme-turva": this.theme === "turva",
|
|
17402
17427
|
active: this.open,
|
|
17403
|
-
} }, hAsync("button", { key: '
|
|
17428
|
+
} }, hAsync("button", { key: '632d47f161dee0f8454fbce8615efca79e6d2dff', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
17404
17429
|
link: true,
|
|
17405
17430
|
active: this.active,
|
|
17406
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
17431
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '5b588bebc956c3f46b518419c6b9fd93fe213449', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '1c49b187b6e353af06e65edacac5c316b1fead11', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '1588137970e42a8fbe9144b56362777a655bf9ee', class: "duet-slideout-badge" }))), hAsync("span", { key: 'd1ebea539372c1e0721da0c98d47cd754ce9d112', class: "label" }, hAsync("span", { key: 'ebcd5893f37c3afd09acc0ea3f97b820ff698b89', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '6a87678f0894ca4c4fb7a93637574d97996f4f2e', name: "label" })), hAsync("duet-icon", { key: '08db52555e06b25a4fa86f2edec885fca3daef6a', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '572076d218ff5a3fb537618c6f8d1683b310254f', ref: element => (this.dialog = element), class: {
|
|
17407
17432
|
dialog: true,
|
|
17408
17433
|
hidden: !this.open,
|
|
17409
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17434
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b99c2c59baf028a14b46ace0840415246c59f0e0', moveFocusTo: this.closeButton }), hAsync("div", { key: '396411a19f66abbc40d87c6b9931359667bf81dd', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '9e0dacf6865a2f4f1f629bd8da4d8d23755a1b80', class: "top" }, hAsync("button", { key: '90bc7c889a1bf16041e3ef77f7bb5da7c412553c', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
17410
17435
|
back: true,
|
|
17411
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
17436
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'b1e6ab3413e1547ea61bed770d8c1658b4026781', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '5ecc199ecd47e4f73837a0b259a4322fdaacde7a' }, this.label.innerHTML), hAsync("button", { key: '22ebfee56701b85b67709264e8106eb28ad57395', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '2ff8febe05142b416fee52661fc38cacc36f349c', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3607f16e1cb18fcee43c049c30aba6a43da7a170', class: "sticky-header" }, hAsync("slot", { key: 'e68a32e67f1ea06768c77caa82e6e9176d15872a', name: "sticky-header" }))), hAsync("div", { key: '3c38a1b360d2a753a440a65d9db6d05589220eab', tabindex: "-1", role: "menu",
|
|
17412
17437
|
//TODO: slideout menu fades out, needs to be instant
|
|
17413
17438
|
id: "menu", "aria-labelledby": "button", class: {
|
|
17414
17439
|
items: true,
|
|
17415
|
-
} }, hAsync("slot", { key: '
|
|
17440
|
+
} }, hAsync("slot", { key: '965461798b3a5abff5f298310af54746973d5c31' })), hAsync(FocusGuard, { key: '058d1fc766894b3778f2133b494a6f6b1dfe30be', moveFocusTo: this.closeButton })))));
|
|
17416
17441
|
}
|
|
17417
17442
|
get element() { return getElement(this); }
|
|
17418
17443
|
static get watchers() { return {
|
|
@@ -17482,16 +17507,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
17482
17507
|
* Always the last one in the class.
|
|
17483
17508
|
*/
|
|
17484
17509
|
render() {
|
|
17485
|
-
return (hAsync(Host, { key: '
|
|
17510
|
+
return (hAsync(Host, { key: '3aeb0f6518e111df8282802e65d6c74348cd2367' }, hAsync("div", { key: '27a2c32674a4a98fad156142a9c5f07aaa47cab0', class: {
|
|
17486
17511
|
"duet-slideout-panel-dropdown": true,
|
|
17487
17512
|
"duet-theme-turva": this.theme === "turva",
|
|
17488
17513
|
active: this.open,
|
|
17489
|
-
} }, hAsync("button", { key: '
|
|
17514
|
+
} }, hAsync("button", { key: '9bade63cdca5e3cfbd83e984db86bda5e094008e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
17490
17515
|
active: this.active,
|
|
17491
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
17516
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'a1257b1aadd2f1011526e05231fb994cbaf9ff44', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'ecadae30af9fdfe3397e3bbada78b23f9759f124', class: "label" }, hAsync("slot", { key: 'b1faf455a33bf5ad1fec780460f55c83b77d62d7', name: "label" }), hAsync("duet-icon", { key: '11597586080089822d868c152b6aae9155045b94', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'ffd5653ffd46ef59cceb9e61cd5ba59b6c2d54d0', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17492
17517
|
items: true,
|
|
17493
17518
|
hidden: !this.open,
|
|
17494
|
-
} }, hAsync("slot", { key: '
|
|
17519
|
+
} }, hAsync("slot", { key: '46d294db4305ddf9f57bec16fb419eedae4898a0' })))));
|
|
17495
17520
|
}
|
|
17496
17521
|
get element() { return getElement(this); }
|
|
17497
17522
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -17526,7 +17551,7 @@ class DuetSpacer {
|
|
|
17526
17551
|
* Always the last one in the class.
|
|
17527
17552
|
*/
|
|
17528
17553
|
render() {
|
|
17529
|
-
return (hAsync(Host, { key: '
|
|
17554
|
+
return (hAsync(Host, { key: 'aa2a7ac6bd334dc7d419d2dbe89da8b0961f64cf', class: {
|
|
17530
17555
|
"duet-spacer": true,
|
|
17531
17556
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
17532
17557
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -17577,11 +17602,11 @@ class DuetSpinner {
|
|
|
17577
17602
|
*/
|
|
17578
17603
|
render() {
|
|
17579
17604
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
17580
|
-
return (hAsync(Host, { key: '
|
|
17605
|
+
return (hAsync(Host, { key: '5d31dde5f546428f75226d820ca714fe74855a54', class: {
|
|
17581
17606
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
17582
17607
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
17583
17608
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
17584
|
-
} }, hAsync("div", { key: '
|
|
17609
|
+
} }, hAsync("div", { key: '99cefb1d1a1f4d2d6abc9c935e791036279c9911', class: {
|
|
17585
17610
|
"duet-spinner": true,
|
|
17586
17611
|
[this.size]: true,
|
|
17587
17612
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -17602,6 +17627,94 @@ class DuetSpinner {
|
|
|
17602
17627
|
}; }
|
|
17603
17628
|
}
|
|
17604
17629
|
|
|
17630
|
+
class DuetStatusIcon {
|
|
17631
|
+
constructor(hostRef) {
|
|
17632
|
+
registerInstance(this, hostRef);
|
|
17633
|
+
this.bg = {
|
|
17634
|
+
default: {
|
|
17635
|
+
default: "color_lt_blue_100",
|
|
17636
|
+
success: "color_success_200",
|
|
17637
|
+
warning: "color_warning_200",
|
|
17638
|
+
danger: "color_danger_100",
|
|
17639
|
+
},
|
|
17640
|
+
strong: {
|
|
17641
|
+
default: "color_lt_blue_600",
|
|
17642
|
+
success: "color_success_700",
|
|
17643
|
+
warning: "color_warning_500",
|
|
17644
|
+
danger: "color_danger_600",
|
|
17645
|
+
},
|
|
17646
|
+
};
|
|
17647
|
+
this.color = {
|
|
17648
|
+
default: {
|
|
17649
|
+
default: "color_lt_blue_700",
|
|
17650
|
+
success: "color_success_800",
|
|
17651
|
+
warning: "color_warning_800",
|
|
17652
|
+
danger: "color_danger_700",
|
|
17653
|
+
},
|
|
17654
|
+
strong: {
|
|
17655
|
+
default: "color_lt_blue_100",
|
|
17656
|
+
success: "color_gray_lightest",
|
|
17657
|
+
warning: "color_warning_900",
|
|
17658
|
+
danger: "color_gray_lightest",
|
|
17659
|
+
},
|
|
17660
|
+
};
|
|
17661
|
+
this.variation = "default";
|
|
17662
|
+
this.size = "medium";
|
|
17663
|
+
this.margin = "auto";
|
|
17664
|
+
this.strong = false;
|
|
17665
|
+
}
|
|
17666
|
+
getBg() {
|
|
17667
|
+
return tokens$1[this.bg[this.strong ? "strong" : "default"][this.variation]];
|
|
17668
|
+
}
|
|
17669
|
+
getColor() {
|
|
17670
|
+
return tokens$1[this.color[this.strong ? "strong" : "default"][this.variation]];
|
|
17671
|
+
}
|
|
17672
|
+
getIcon() {
|
|
17673
|
+
switch (this.variation) {
|
|
17674
|
+
case "default":
|
|
17675
|
+
return `
|
|
17676
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17677
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
17678
|
+
<path fill="${this.getColor()}" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>
|
|
17679
|
+
<circle fill="${this.getColor()}" cx="11.625" cy="7.125" r="1.125"/>
|
|
17680
|
+
</svg>`;
|
|
17681
|
+
case "success":
|
|
17682
|
+
return `
|
|
17683
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17684
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
17685
|
+
<path fill="${this.getColor()}" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>
|
|
17686
|
+
</svg>`;
|
|
17687
|
+
case "warning":
|
|
17688
|
+
case "danger":
|
|
17689
|
+
return `
|
|
17690
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
17691
|
+
<path fill="${this.getBg()}" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>
|
|
17692
|
+
<rect fill="${this.getColor()}" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>
|
|
17693
|
+
<rect fill="${this.getColor()}" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>
|
|
17694
|
+
</svg>`;
|
|
17695
|
+
}
|
|
17696
|
+
}
|
|
17697
|
+
render() {
|
|
17698
|
+
return (hAsync(Host, { key: '513b3e143bc34d530eccc8a15767fa2badbbd9f6', class: {
|
|
17699
|
+
[`duet-status-icon-${this.variation}`]: true,
|
|
17700
|
+
"duet-strong-bg": this.strong,
|
|
17701
|
+
} }, hAsync("duet-icon", { key: 'bdb984f064a33652090f67faf98f420d103fc960', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
17702
|
+
}
|
|
17703
|
+
static get cmpMeta() { return {
|
|
17704
|
+
"$flags$": 9,
|
|
17705
|
+
"$tagName$": "duet-status-icon",
|
|
17706
|
+
"$members$": {
|
|
17707
|
+
"variation": [1],
|
|
17708
|
+
"size": [513],
|
|
17709
|
+
"margin": [1],
|
|
17710
|
+
"strong": [4]
|
|
17711
|
+
},
|
|
17712
|
+
"$listeners$": undefined,
|
|
17713
|
+
"$lazyBundleId$": "-",
|
|
17714
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
17715
|
+
}; }
|
|
17716
|
+
}
|
|
17717
|
+
|
|
17605
17718
|
var actionEdit2={"title":"action-edit-2","tags":"action edit 2 pen pencil","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z\"/></svg>"};
|
|
17606
17719
|
|
|
17607
17720
|
const duetStepCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-step{padding:20px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}";
|
|
@@ -17813,7 +17926,7 @@ class DuetStepper {
|
|
|
17813
17926
|
* Always the last one in the class.
|
|
17814
17927
|
*/
|
|
17815
17928
|
render() {
|
|
17816
|
-
return (hAsync(Host, { key: '
|
|
17929
|
+
return (hAsync(Host, { key: '22b196db710cbed3e8ad8b4dd0650c115a3f88d5', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'a0285f6474768b1dd10b9ed222a69f1d3bdcba88', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'bf50d57a713aa062329cc40685b7441e31dc892c', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'fb7bb222787bd590d30cce8f5619cc8c30c1f4b4' }))));
|
|
17817
17930
|
}
|
|
17818
17931
|
get element() { return getElement(this); }
|
|
17819
17932
|
static get watchers() { return {
|
|
@@ -17958,19 +18071,19 @@ class DuetSubmenuBar {
|
|
|
17958
18071
|
* Always the last one in the class.
|
|
17959
18072
|
*/
|
|
17960
18073
|
render() {
|
|
17961
|
-
return (hAsync(Host, { key: '
|
|
18074
|
+
return (hAsync(Host, { key: '36733ff35a676602cb5664783353722ac32a3f23' }, hAsync("nav", { key: '6c79e18ca14402ba9becc0611cad56215ee0d54d', class: {
|
|
17962
18075
|
"duet-submenu-bar": true,
|
|
17963
18076
|
"duet-theme-turva": this.theme === "turva",
|
|
17964
18077
|
hidden: this.hidden,
|
|
17965
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18078
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '54db29b81a8fd888ddf9094b92ad72d453c30270', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
17966
18079
|
active: this.open,
|
|
17967
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18080
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'fd6fbc391f58b209fb675d1038043ab291ea8765', class: "label" }, hAsync("slot", { key: '26efb16331d21d400c0416df1c54c98fec07fd9c', name: "label" }), hAsync("duet-icon", { key: 'f383299770b09f13b0fc9c89c72b5a2ad495931d', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '71b7b2aefc7c9dbfb546df751e2ef5c5f420e440', class: {
|
|
17968
18081
|
"menu-container": true,
|
|
17969
18082
|
hidden: !this.open,
|
|
17970
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18083
|
+
}, role: "presentation" }, hAsync("div", { key: '3680be7bd688b8448d76f25ed074cb26f00f1bf0', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
17971
18084
|
items: true,
|
|
17972
18085
|
hidden: !this.open,
|
|
17973
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18086
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'd3c022573601ad29c14074a42129b0fec8f8e7e7', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: 'ff8f80314ddf742307286285008a7b7b87e0311a' }), hAsync("div", { key: '4724caa14d11b92502ca9bbf81d83a1f169e0514', class: "list-padding" }))), hAsync("duet-overlay", { key: '96982d748408a3fc7db02df17eb9261732cae2f3', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
17974
18087
|
}
|
|
17975
18088
|
get element() { return getElement(this); }
|
|
17976
18089
|
static get watchers() { return {
|
|
@@ -18091,18 +18204,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18091
18204
|
* Always the last one in the class.
|
|
18092
18205
|
*/
|
|
18093
18206
|
render() {
|
|
18094
|
-
return (hAsync(Host, { key: '
|
|
18207
|
+
return (hAsync(Host, { key: '6b5d2434a5a7d5afdfaf40e2134d1f02d2f8e222', role: "listitem" }, hAsync("div", { key: 'efe625a31b8e3fa67d845250f6802633a3e970d3', class: {
|
|
18095
18208
|
"duet-submenu-bar-dropdown": true,
|
|
18096
18209
|
"duet-theme-turva": this.theme === "turva",
|
|
18097
18210
|
open: this.open,
|
|
18098
18211
|
active: this.active,
|
|
18099
|
-
} }, hAsync("button", { key: '
|
|
18212
|
+
} }, hAsync("button", { key: '7b631206096ecd24fd7018850656a6ab3cf3f89b', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
18100
18213
|
open: this.open,
|
|
18101
18214
|
active: this.active,
|
|
18102
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18215
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '3c9030513cf42a8633d8359be8003179bd5913b6', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '66fc2c66e8e27bee53464ce406797f4c32ca3b5c', class: "label" }, hAsync("span", { key: 'a073565bff14d28d8cf5167eec655716e3e0e61e', class: "label-text" }, hAsync("slot", { key: '14f7ef42fc76a1363bb5e0eacf4eac6bbb080490', name: "label" })), hAsync("duet-icon", { key: '66884d73e81fa44ca37f1b3fe6d5d5dd02114ac6', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '16f20eb6a5a4f169b34bf32c8dbe1e3f401a97b9', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18103
18216
|
items: true,
|
|
18104
18217
|
hidden: !this.open,
|
|
18105
|
-
} }, hAsync("slot", { key: '
|
|
18218
|
+
} }, hAsync("slot", { key: '39e9087f187e2ed824ae75f02eea9894648c4bba' })))));
|
|
18106
18219
|
}
|
|
18107
18220
|
get element() { return getElement(this); }
|
|
18108
18221
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18154,12 +18267,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18154
18267
|
* Always the last one in the class.
|
|
18155
18268
|
*/
|
|
18156
18269
|
render() {
|
|
18157
|
-
return (hAsync(Host, { key: '
|
|
18270
|
+
return (hAsync(Host, { key: '2e7a0b63fabe8ee0f29cd63e339241722cb0b915' }, hAsync("a", { key: 'c128f0afb1378b9587ee76a62d89bec957d0544b', class: {
|
|
18158
18271
|
"duet-submenu-bar-dropdown-link": true,
|
|
18159
18272
|
"duet-theme-turva": this.theme === "turva",
|
|
18160
18273
|
highlight: this.highlight,
|
|
18161
18274
|
active: this.active,
|
|
18162
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18275
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '88e38d32863145821247bc1d66e48fdb304c64db', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'c2d61e88b734363598485cac9e84636edaa485d9', class: "label-container" }, hAsync("span", { key: 'c15270a7dc528c31fe81b0ac1c0730d1712aa273', class: "label" }, hAsync("slot", { key: 'd3dfc2c82e310183f2b613f55506ae8e661427af' })), this.caret && hAsync("duet-icon", { key: '7f4c469fb9066822bf2bf9d3086cc08734a84a4a', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '90c5be1db9e0fb6684d0b8032326b9fd57547a72', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18163
18276
|
}
|
|
18164
18277
|
get element() { return getElement(this); }
|
|
18165
18278
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18233,7 +18346,7 @@ class DuetSubmenuBarItem {
|
|
|
18233
18346
|
render() {
|
|
18234
18347
|
const TagName = this.url ? "a" : "button";
|
|
18235
18348
|
const role = this.url ? "link" : "button";
|
|
18236
|
-
return (hAsync(Host, { key: '
|
|
18349
|
+
return (hAsync(Host, { key: '4d177e3c8fab0bac22778d0bb67cb96b3f16a04c', role: "listitem" }, hAsync(TagName, { key: 'b32f2c34e132612cfa2e2507478f514b83585c5e', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'afa64cadf036d77b203ba09462da022116620c39', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '5163f1bbf922e02e2805a3270e3b25d987bc56c3', class: "label" }, hAsync("span", { key: 'd6da532a7b7d70b375e1be84446fb1dd7ba4c607', class: "label-text" }, hAsync("slot", { key: '2cde0560e036111ed9665d9186bf0d15b7132c78' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'f4f83f5ea741b517a630271ee5bf1ea10840f985', class: {
|
|
18237
18350
|
"trailing-icon": !!this.trailingIcon,
|
|
18238
18351
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18239
18352
|
"external-icon": !!this.external,
|
|
@@ -18294,7 +18407,7 @@ class DuetSubmenuBarLink {
|
|
|
18294
18407
|
* Always the last one in the class.
|
|
18295
18408
|
*/
|
|
18296
18409
|
render() {
|
|
18297
|
-
return (hAsync(Host, { key: '
|
|
18410
|
+
return (hAsync(Host, { key: '7a7d10e6e2c4118a911623476d672630f006784a', role: "listitem" }, hAsync("a", { key: '027009d3d9de4ce94d88b521e399c59538a56753', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: 'da3c19c52745c356f2917b5796b79bbef53f8df5', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'a325291a240a537079b1103e06e6ee130bd76e8d', class: "label" }, hAsync("slot", { key: '83d70266ae54f9bc2acfffc07a43f45c40010e66' })))));
|
|
18298
18411
|
}
|
|
18299
18412
|
get element() { return getElement(this); }
|
|
18300
18413
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -18434,7 +18547,7 @@ class DuetTab {
|
|
|
18434
18547
|
}; }
|
|
18435
18548
|
}
|
|
18436
18549
|
|
|
18437
|
-
const duetTabGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:15px 28px 17px 28px;overflow:hidden;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.selected{border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
18550
|
+
const duetTabGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
18438
18551
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
18439
18552
|
|
|
18440
18553
|
/**
|
|
@@ -18461,7 +18574,7 @@ class DuetTabGroup {
|
|
|
18461
18574
|
}
|
|
18462
18575
|
if (isTabKey(ev) && !isShiftTabKey(ev)) {
|
|
18463
18576
|
ev.preventDefault();
|
|
18464
|
-
this.element.querySelector("duet-tab[selected]").setFocus();
|
|
18577
|
+
this.element.querySelector(":scope > duet-tab[selected]").setFocus();
|
|
18465
18578
|
}
|
|
18466
18579
|
if (button) {
|
|
18467
18580
|
ev.preventDefault();
|
|
@@ -18511,6 +18624,7 @@ class DuetTabGroup {
|
|
|
18511
18624
|
this.padding = "auto";
|
|
18512
18625
|
this.setTabIndex = true;
|
|
18513
18626
|
this.tabChangeConfirm = false;
|
|
18627
|
+
this.switchLargeBreakpoint = "small";
|
|
18514
18628
|
}
|
|
18515
18629
|
/**
|
|
18516
18630
|
* Component lifecycle events.
|
|
@@ -18628,30 +18742,32 @@ class DuetTabGroup {
|
|
|
18628
18742
|
// TODO: get rid of plain-scrolling class, as we always scroll
|
|
18629
18743
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
18630
18744
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
18745
|
+
const largeBreakpoint = `switch-large-at-${this.switchLargeBreakpoint ? this.switchLargeBreakpoint : "small"}`;
|
|
18631
18746
|
const buttons = this.tabs.map((element, index) => (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
18632
18747
|
"duet-p-0": this.padding === "none",
|
|
18633
18748
|
"duet-tab-button": true,
|
|
18634
18749
|
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
18635
18750
|
selected: element.selected,
|
|
18636
18751
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
18752
|
+
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
18637
18753
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
18638
|
-
return (hAsync("div", { key: '
|
|
18754
|
+
return (hAsync("div", { key: '207a82ac69bc1e0dc240a920b5cc2c7a8ba9ab62', class: {
|
|
18639
18755
|
"duet-tab-group": true,
|
|
18640
18756
|
"duet-theme-turva": this.theme === "turva",
|
|
18641
18757
|
[variationClass]: true,
|
|
18642
18758
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
18643
18759
|
"duet-tab-group-scrolls": true,
|
|
18644
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
18760
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '71e4268271d5193a1b9c7a8878ca9a3895f2d2d2', role: "tablist", class: {
|
|
18645
18761
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
18646
18762
|
"duet-tab-group-tabs": true,
|
|
18647
18763
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
18648
18764
|
}, ref: el => {
|
|
18649
18765
|
this.tabsContainer = el;
|
|
18650
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap:
|
|
18766
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: 'd0671945a27f612e16f322d4b0a50e1f29ee50af', class: {
|
|
18651
18767
|
"duet-tab-group-content": true,
|
|
18652
18768
|
"duet-m-0": this.margin === "none",
|
|
18653
18769
|
"checked-group-content": this.variation === "checked",
|
|
18654
|
-
} }, hAsync("slot", { key: '
|
|
18770
|
+
} }, hAsync("slot", { key: '90483c74164e3e6a6c9119dffbf9be6cfbd85853' }))));
|
|
18655
18771
|
}
|
|
18656
18772
|
get element() { return getElement(this); }
|
|
18657
18773
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -18673,6 +18789,7 @@ class DuetTabGroup {
|
|
|
18673
18789
|
"padding": [1],
|
|
18674
18790
|
"setTabIndex": [4, "set-tab-index"],
|
|
18675
18791
|
"tabChangeConfirm": [4, "tab-change-confirm"],
|
|
18792
|
+
"switchLargeBreakpoint": [1, "switch-large-breakpoint"],
|
|
18676
18793
|
"tabs": [32],
|
|
18677
18794
|
"selected": [32],
|
|
18678
18795
|
"openTab": [64],
|
|
@@ -18755,7 +18872,7 @@ class DuetTable {
|
|
|
18755
18872
|
}
|
|
18756
18873
|
}
|
|
18757
18874
|
render() {
|
|
18758
|
-
return (hAsync(Host, { key: '
|
|
18875
|
+
return (hAsync(Host, { key: '26ab3b66d99bdff07554198125e8867b84051c9f', class: {
|
|
18759
18876
|
[`duet-table-${this.variation}`]: true,
|
|
18760
18877
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
18761
18878
|
// sticky only valid when in regular table layout
|
|
@@ -18764,7 +18881,7 @@ class DuetTable {
|
|
|
18764
18881
|
"duet-m-0": this.margin === "none",
|
|
18765
18882
|
"duet-theme-turva": this.theme === "turva",
|
|
18766
18883
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
18767
|
-
} }, hAsync("slot", { key: '
|
|
18884
|
+
} }, hAsync("slot", { key: '1df61c45d1faa92385e24949ff773ec71852e0a5' })));
|
|
18768
18885
|
}
|
|
18769
18886
|
get element() { return getElement(this); }
|
|
18770
18887
|
static get watchers() { return {
|
|
@@ -19146,11 +19263,11 @@ class DuetToolbar {
|
|
|
19146
19263
|
: this.variation === "secondary"
|
|
19147
19264
|
? "secondary"
|
|
19148
19265
|
: "default";
|
|
19149
|
-
return (hAsync(Host, { key: '
|
|
19266
|
+
return (hAsync(Host, { key: '562a3b82275cd77dc7f90d6c53776923965415e0' }, hAsync("nav", { key: '074728e56d1f75a560331c1a4a8f12cea3343aa8', class: {
|
|
19150
19267
|
"duet-toolbar": true,
|
|
19151
19268
|
"duet-theme-turva": this.theme === "turva",
|
|
19152
19269
|
[variation]: true,
|
|
19153
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
19270
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f2379c6e218e998c32f8b8a808d3ba1a9fc0602c', class: "container" }, hAsync("div", { key: '6a7a09168fc5ad7f0b8fac5019fca192d800a4dc', class: "list", role: "list" }, hAsync("slot", { key: '45621a40c7ecdb2e834ea94b6e72eeb434113b8f', name: "left" })), hAsync("div", { key: '32c6e4b3e88e5a5226d9d6a33d93dfe16079335c', class: "list", role: "list" }, hAsync("slot", { key: '75e255dcc244d524f02921fc033d9e07789f8e00', name: "right" }))))));
|
|
19154
19271
|
}
|
|
19155
19272
|
get element() { return getElement(this); }
|
|
19156
19273
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -19218,18 +19335,18 @@ class DuetToolbarDropdown {
|
|
|
19218
19335
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
19219
19336
|
}
|
|
19220
19337
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19221
|
-
return (hAsync(Host, { key: '
|
|
19338
|
+
return (hAsync(Host, { key: '8fbd3b46ad171ee7b574657c43ab4b407013d69d', role: "listitem" }, hAsync("div", { key: '165f7588d2a312cf1634787769dfbec7fb2fc9b0', class: {
|
|
19222
19339
|
"duet-toolbar-dropdown": true,
|
|
19223
19340
|
"duet-theme-turva": this.theme === "turva",
|
|
19224
19341
|
[itemsAlign]: true,
|
|
19225
19342
|
[variation]: true,
|
|
19226
|
-
} }, hAsync("button", { key: '
|
|
19343
|
+
} }, hAsync("button", { key: '294a5b99afacd0b5b60fd6401b137a9bb9d12ec0', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
19227
19344
|
active: this.active,
|
|
19228
19345
|
open: this.open,
|
|
19229
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
19346
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '459f1498c922214c00c2ba2262c7ccd04667cb35', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '07a73618ab9564ed67182f485396666ac047f0e0', class: "label" }, hAsync("slot", { key: '58150ae58e28c2c5632aadfda2f448e7af2ec279', name: "label" }), hAsync("duet-icon", { key: 'eccfdad69e2d56ffc7758dcd76b080636b40bd6e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '3c9a55859599ac5c6588df392d5da459498aff39', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19230
19347
|
items: true,
|
|
19231
19348
|
hidden: !this.open,
|
|
19232
|
-
} }, hAsync("slot", { key: '
|
|
19349
|
+
} }, hAsync("slot", { key: '29bd581d23c750855f88f5c86d47b9cac49085ff' })))));
|
|
19233
19350
|
}
|
|
19234
19351
|
get element() { return getElement(this); }
|
|
19235
19352
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -19282,11 +19399,11 @@ class DuetToolbarDropdownLink {
|
|
|
19282
19399
|
* Always the last one in the class.
|
|
19283
19400
|
*/
|
|
19284
19401
|
render() {
|
|
19285
|
-
return (hAsync(Host, { key: '
|
|
19402
|
+
return (hAsync(Host, { key: '6d0acb25371f7ba29bd7d704652468fc8f468919' }, hAsync("a", { key: '57cb4cb5d070bffe6bec22b4e2cfe89c9ef60c42', class: {
|
|
19286
19403
|
"duet-toolbar-dropdown-link": true,
|
|
19287
19404
|
"duet-theme-turva": this.theme === "turva",
|
|
19288
19405
|
active: this.active,
|
|
19289
|
-
}, 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: '
|
|
19406
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '2ea6d01bca873e3a404643caed491464eff38e79', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'c602605a04e30bca8cdfabbf6258fd9c96c2fc2f', class: "label" }, hAsync("slot", { key: 'b8c818584bb0bca390b299377a0a33c91770b3d1' })), this.active && (hAsync("duet-icon", { key: '59301d160c207f3b04992609b29c714c5add7361', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
19290
19407
|
}
|
|
19291
19408
|
get element() { return getElement(this); }
|
|
19292
19409
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -19361,17 +19478,17 @@ class DuetToolbarItem {
|
|
|
19361
19478
|
: this.variation === "secondary"
|
|
19362
19479
|
? "secondary"
|
|
19363
19480
|
: "default";
|
|
19364
|
-
return (hAsync(Host, { key: '
|
|
19481
|
+
return (hAsync(Host, { key: 'fb158728efc0bdd81c51f1d460075fb44285a8a1', role: "listitem" }, hAsync(TagName, { key: '96916988666e74411d5cb7b047b6223e11b3c84e', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
19365
19482
|
"duet-toolbar-item": true,
|
|
19366
19483
|
"duet-theme-turva": this.theme === "turva",
|
|
19367
19484
|
active: this.active,
|
|
19368
19485
|
[variation]: true,
|
|
19369
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
19486
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: 'e78b1d52ea395b96e1d08fd76fa8f79038d25165', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'd17013e6997e2b39349287e65497bb8d4c44ba21', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'a64289c5923a1bf0e7caac725c3c73b0774b2f37', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '9f998077db9c78e6a8e9638a45b93f77b93de320' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '09f85c3d0046e30b20f7f819f2bc7e21ef6b4b24', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '9794cce5544abb7000ab9e608aa44333b62c0495', class: {
|
|
19370
19487
|
"trailing-icon": !!this.trailingIcon,
|
|
19371
19488
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
19372
19489
|
"external-icon": !!(this.url && this.external),
|
|
19373
19490
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
19374
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
19491
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'f6a86fcdb6f02444ced9aa44a346bbb61557cb80', class: "duet-toolbar-badge" }))))));
|
|
19375
19492
|
}
|
|
19376
19493
|
get element() { return getElement(this); }
|
|
19377
19494
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -19425,12 +19542,12 @@ class DuetToolbarLink {
|
|
|
19425
19542
|
*/
|
|
19426
19543
|
render() {
|
|
19427
19544
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19428
|
-
return (hAsync(Host, { key: '
|
|
19545
|
+
return (hAsync(Host, { key: '258aa71d94e0e3959eef224ab891ceb4db3886ad', role: "listitem" }, hAsync("a", { key: 'e3557495157f9c6212582f47cf027f1f8389d7e9', class: {
|
|
19429
19546
|
"duet-toolbar-link": true,
|
|
19430
19547
|
"duet-theme-turva": this.theme === "turva",
|
|
19431
19548
|
active: this.active,
|
|
19432
19549
|
[variation]: true,
|
|
19433
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
19550
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '28195a63fb2020c70155284152086fa6fd4be0a1', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '85fdc84a09716bf992dbb7325b9677ed74fec706' }))));
|
|
19434
19551
|
}
|
|
19435
19552
|
get element() { return getElement(this); }
|
|
19436
19553
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -19687,12 +19804,12 @@ class DuetTooltipButton {
|
|
|
19687
19804
|
* Always the last one in the class.
|
|
19688
19805
|
*/
|
|
19689
19806
|
render() {
|
|
19690
|
-
return (hAsync(Host, { key: '
|
|
19807
|
+
return (hAsync(Host, { key: '2a4a781b1045443be8dca56d456bab9ff7d9cdc4' }, hAsync("button", { key: 'da62c139588718b4a57ff95d607cc65683219d20', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
19691
19808
|
"duet-tooltip-button": true,
|
|
19692
19809
|
"duet-tooltip-button-has-label": !!this.label,
|
|
19693
19810
|
"duet-theme-turva": this.theme === "turva",
|
|
19694
19811
|
"duet-tooltip-button-negative": this.negative,
|
|
19695
|
-
} }, hAsync("svg", { key: '
|
|
19812
|
+
} }, hAsync("svg", { key: '9464bd42026038aa453d5035bb27519ebd90bae9', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'fb7040dfd935553c00e6920989b23fc68fb296d5', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: 'ac6c40e508076470433d4ddff60250249e6667d6', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '4994c9b2523e6629b91505cb4aaa8d9a43b6aa9a', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
19696
19813
|
}
|
|
19697
19814
|
get element() { return getElement(this); }
|
|
19698
19815
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -19760,11 +19877,11 @@ class DuetTooltipPopup {
|
|
|
19760
19877
|
this.contentEl.focus();
|
|
19761
19878
|
}
|
|
19762
19879
|
render() {
|
|
19763
|
-
return (hAsync(Host, { key: '
|
|
19880
|
+
return (hAsync(Host, { key: '5937d404a3288b6afe2b9c8e1d47147e96eef933' }, hAsync("div", { key: 'bc2694a70963dabcaddce627d1abfe51dc36ebac', class: {
|
|
19764
19881
|
"duet-tooltip": true,
|
|
19765
19882
|
"duet-theme-turva": this.theme === "turva",
|
|
19766
19883
|
"duet-tooltip-active": this.active === true,
|
|
19767
|
-
} }, hAsync(FocusGuard, { key: '
|
|
19884
|
+
} }, hAsync(FocusGuard, { key: '461ee4e709c80fae34d04f2bba0fd60e6305f594', moveFocusTo: this.buttonEl }), hAsync("div", { key: '47e8f609387722060e93fc37558a219c2bad2ed6', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '64350c3d73d2560711890254d8be979f07c27f1b' })), hAsync("div", { key: '0544215577fd0b4e6be97eadcbad8f58114ffb38', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '1076a224b4a4f9d455271245e7bd879689a96bf4', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'bf275bd1c1597e42ab29ce57338a37e8ff534bfc', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'e06529abd6465f5e65f57f85ba2392c1df82d59f', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '43cabf152e52e237b886642e66a30875973fac6f' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '47ef9a81ce996efe8d52d06f36799c5a4f3b26cc', moveFocusTo: this.contentEl }))));
|
|
19768
19885
|
}
|
|
19769
19886
|
get element() { return getElement(this); }
|
|
19770
19887
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -19872,14 +19989,14 @@ class DuetTray {
|
|
|
19872
19989
|
* Always the last one in the class.
|
|
19873
19990
|
*/
|
|
19874
19991
|
render() {
|
|
19875
|
-
return (hAsync("div", { key: '
|
|
19992
|
+
return (hAsync("div", { key: '422e3ef16e6442e5e64ddeb7cf159aba8480bb0c', class: {
|
|
19876
19993
|
"duet-tray": true,
|
|
19877
19994
|
"duet-tray-is-active": this.active,
|
|
19878
19995
|
"duet-tray-is-hidden": this.hiddenState,
|
|
19879
19996
|
"duet-tray-is-responsive": this.responsive,
|
|
19880
19997
|
"duet-theme-turva": this.theme === "turva",
|
|
19881
19998
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
19882
|
-
} }, hAsync("div", { key: '
|
|
19999
|
+
} }, hAsync("div", { key: '2a123be4ba03f0ca7097365d9d28501f3e55dfb1', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '170a493490fc917470b22039d4d9205c4925ad48' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '398d11e06e1f271c565170e15ecb307741e1d9c5' }, hAsync("button", { key: 'ee94b64530befedfd2d8388fd4ad18d49f32e1f3', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: 'af7c543c625487955c4c06b3904ace9e0042bcc1', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '4800b309084526993db20f4e98b9ecd45e6831d0' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '7cd6e21a5665066901ea37827c47e5569bc9ff5e', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'a8912419d82f6acb7eb4e8c4de5a3b083ab059cb', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '9de06515af6bd91e8b82b45e7dfec1ead9b8092d', name: "additional" })))))));
|
|
19883
20000
|
}
|
|
19884
20001
|
get element() { return getElement(this); }
|
|
19885
20002
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -20995,10 +21112,10 @@ class DuetUpload {
|
|
|
20995
21112
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
20996
21113
|
}
|
|
20997
21114
|
// @ts-ignore
|
|
20998
|
-
return (hAsync(Host, { key: '
|
|
21115
|
+
return (hAsync(Host, { key: '7f8970727b44bee3669b221659dd1f5a72df4ee2', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '074fc7ec948f6d0ab5c89c7d2d3d3ec3358343f4', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '84797a77942534e80a641d8a2ce9badef0e77937', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '224610821155dae048fd126b8d517486fa6efd38', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '6d01352482dd687520dd26d8d7c0d3863b61d4a4', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '328346632314eb8a8d0ae41de9761a488fc0bc1c', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'cab1390fc0ff3a6eb197be8e7ea16d719c2b6dc4', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '26051e329900efc2b29e6d8ebb6b2f1184ec547c', name: "filefooter" }), hAsync("slot", { key: 'c9018b5e95065813d29ee08ce924794e1ee476ff', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '8fffcc2935df87ccfa5bd89d3df773b9810d2f63', margin: "none", size: "small" }, hAsync("div", { key: '17c320b6eeefbd2b5f047b77eb613aa4e912cbdb', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'ada6f8c46784788c5900ad5a6dddfebed8a70e39', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'f352401910296a33c56ef5bb2e3f0b7e4be0594a' }, hAsync("duet-spacer", { key: 'ae4ae0b0490a4e88dab0a7319fd2dde20f05e400', size: "large" }), hAsync("duet-button", { key: 'ded36c705e15f44936844d057962cb731d47941c', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
20999
21116
|
this.bytesMaxReached ||
|
|
21000
21117
|
this.filesToUploadExceedsLimit ||
|
|
21001
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
21118
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '385520d7dc48477cea039a0c71f1bcd5e1730cca' }, hAsync("duet-spacer", { key: '79ea5d94a4eda84e3f8328a2ac1e42890e0bbde2', size: "medium" }), hAsync("duet-alert", { key: '33e5de19e511439a04deeb8478e167558946c4a7', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '2fc08bb48c1f47113399c63fd1a81dcef85fc0cf', "aria-hidden": "true" }, hAsync("input", { key: '81268132202065717f2e21b1f8dc4ef3e2173394', ref: input => {
|
|
21002
21119
|
this.nativeInput = input;
|
|
21003
21120
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
21004
21121
|
"duet-upload": true,
|
|
@@ -21319,7 +21436,7 @@ class DuetUploadAriaStatus {
|
|
|
21319
21436
|
* Always the last one in the class.
|
|
21320
21437
|
*/
|
|
21321
21438
|
render() {
|
|
21322
|
-
return (hAsync(Host, { key: '
|
|
21439
|
+
return (hAsync(Host, { key: '86d09688da162133dae76983bbfc285abf03ec4b', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '22fb5bc7a884e3d9b63f68b6720cdf9550418082' }, this.statusMessage)));
|
|
21323
21440
|
}
|
|
21324
21441
|
get element() { return getElement(this); }
|
|
21325
21442
|
static get watchers() { return {
|
|
@@ -21386,7 +21503,7 @@ class DuetUploadItem$1 {
|
|
|
21386
21503
|
inheritGlobalTheme(this);
|
|
21387
21504
|
}
|
|
21388
21505
|
render() {
|
|
21389
|
-
return (hAsync(Host, { key: '
|
|
21506
|
+
return (hAsync(Host, { key: '763537ba02066999a44d5b150b78e695137c94e3' }, hAsync("duet-visually-hidden", { key: '35d3f42318db029c6d554809ecf5ac14088ac89d', "aria-hidden": "true" }, hAsync("input", { key: '14ab29860cfe7da2b3c62da7649a73f6ca33c261', ref: input => {
|
|
21390
21507
|
this.nativeInput = input;
|
|
21391
21508
|
}, type: "file", class: {
|
|
21392
21509
|
"duet-upload": true,
|
|
@@ -21498,9 +21615,9 @@ class DuetUploadItem {
|
|
|
21498
21615
|
const { uid, meta, item } = this.data;
|
|
21499
21616
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
21500
21617
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
21501
|
-
return (hAsync("div", { key: '
|
|
21618
|
+
return (hAsync("div", { key: '9a4a5dc0a101ccb013a41d6b87a8c9ed8b0e2d7b', class: {
|
|
21502
21619
|
"upload-item-row": true,
|
|
21503
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
21620
|
+
} }, this.showCategory && (hAsync("div", { key: 'ecdfc43a5217eb4b917c54c728c751d7457fc4b8', class: "item-categories" }, hAsync("duet-heading", { key: 'd8ebd5747f8a58146523c31cfe9a145fcaccb673', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '8cff3489a1f96f62170c2653c3b10bca450db5e2', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '45f4bbb20e7a4d1f6b3ba0022e54c01c4340a740', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '2e20dafc9e776166217d42e921c942344d61c26f', class: "item-actions" }, this.actions.map(actionItem => {
|
|
21504
21621
|
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) }));
|
|
21505
21622
|
}))));
|
|
21506
21623
|
}
|
|
@@ -21541,7 +21658,7 @@ class DuetVisuallyHidden {
|
|
|
21541
21658
|
* Always the last one in the class.
|
|
21542
21659
|
*/
|
|
21543
21660
|
render() {
|
|
21544
|
-
return (hAsync(Host, { key: '
|
|
21661
|
+
return (hAsync(Host, { key: '1a63587b9972cddb552468bea28f8146b8d302df', class: "duet-visually-hidden" }, hAsync("slot", { key: 'a3e8c6847caa94f67d82569bc769a6397ccc8c56' })));
|
|
21545
21662
|
}
|
|
21546
21663
|
get element() { return getElement(this); }
|
|
21547
21664
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -21630,6 +21747,7 @@ registerComponents([
|
|
|
21630
21747
|
DuetSlideoutPanelDropdown,
|
|
21631
21748
|
DuetSpacer,
|
|
21632
21749
|
DuetSpinner,
|
|
21750
|
+
DuetStatusIcon,
|
|
21633
21751
|
DuetStep,
|
|
21634
21752
|
DuetStepper,
|
|
21635
21753
|
DuetSubmenuBar,
|