@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.4
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 +242 -251
- package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-5ac97fdd.js} +1 -1
- package/lib/cjs/{app-globals-718a3704.js → app-globals-087a6bf3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -9
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -43
- package/lib/cjs/duet-card.cjs.entry.js +8 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +6 -6
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +12 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- 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 +10 -10
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +2 -2
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +4 -4
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- 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 +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +48 -48
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +2 -2
- 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 +19 -16
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-62e9ce86.js} +1 -1
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-d551f3ab.js} +1 -1
- package/lib/cjs/{index-21e67ab3.js → index-b496e711.js} +1 -1
- package/lib/cjs/{label-2abeac23.js → label-65ad1748.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-de99a5da.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-382633cf.js → slot-utils-0a5c7c03.js} +1 -1
- 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-button/duet-button.js +10 -7
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +7 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +7 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-link/duet-link.css +42 -0
- package/lib/collection/components/duet-link/duet-link.js +5 -42
- package/lib/collection/components/duet-list-item/duet-list-item.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-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
- 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-slideout/duet-slideout.js +15 -12
- 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-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/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.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/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 +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- 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 +11 -8
- 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 +10 -10
- package/lib/dist-custom-elements/duet-choice.js +10 -10
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +14 -14
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +19 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +11 -11
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +2 -2
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +8 -8
- package/lib/dist-custom-elements/duet-multiselect.js +8 -8
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +10 -10
- 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 +13 -13
- 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 +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +1 -1
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- 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 +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +19 -16
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +40 -77
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +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-1f4fbc7a.js → p-0562173d.js} +1 -1
- package/lib/dist-custom-elements/{p-4da43fbc.js → p-06932c23.js} +5 -5
- package/lib/dist-custom-elements/{p-3431b690.js → p-09509e38.js} +3 -3
- package/lib/dist-custom-elements/{p-d77db171.js → p-188506d4.js} +1 -1
- package/lib/dist-custom-elements/{p-6b77d4d3.js → p-19a763d1.js} +3 -3
- package/lib/dist-custom-elements/{p-89b10856.js → p-1f07910e.js} +5 -5
- package/lib/dist-custom-elements/{p-de8f018a.js → p-3a8f6bf2.js} +3 -3
- package/lib/dist-custom-elements/{p-a2147aff.js → p-44f0c510.js} +7 -7
- package/lib/dist-custom-elements/{p-ab34075b.js → p-48b9317e.js} +1 -1
- package/lib/dist-custom-elements/{p-68c629a8.js → p-5c3b173b.js} +1 -1
- package/lib/dist-custom-elements/{p-df2042f8.js → p-5ccb11e5.js} +4 -4
- package/lib/dist-custom-elements/{p-3ce1f7b8.js → p-641af615.js} +12 -12
- package/lib/dist-custom-elements/{p-e176f419.js → p-69dae529.js} +3 -3
- package/lib/dist-custom-elements/{p-9f9423c6.js → p-7307e4ef.js} +1 -1
- package/lib/dist-custom-elements/{p-22147601.js → p-77f4f1d9.js} +4 -4
- package/lib/dist-custom-elements/{p-d1f89e90.js → p-7897b8a7.js} +2 -2
- package/lib/dist-custom-elements/{p-de4ee016.js → p-82f4662e.js} +8 -39
- package/lib/dist-custom-elements/{p-29be247b.js → p-8b5ed6f5.js} +1 -1
- package/lib/dist-custom-elements/{p-430f3778.js → p-9263fe36.js} +2 -2
- package/lib/dist-custom-elements/{p-41dca9e4.js → p-9a9bfcd7.js} +2 -2
- package/lib/dist-custom-elements/{p-b8de9a9c.js → p-9b7e188a.js} +5 -5
- package/lib/dist-custom-elements/{p-1ccd7c39.js → p-a6f6eeea.js} +4 -4
- package/lib/dist-custom-elements/{p-dad518a5.js → p-a95aa79f.js} +23 -14
- package/lib/dist-custom-elements/{p-02f97b91.js → p-b3ffc8ec.js} +2 -2
- package/lib/dist-custom-elements/{p-1296f851.js → p-b59bcc0d.js} +4 -4
- package/lib/dist-custom-elements/{p-9fa4eb51.js → p-b59d4ed8.js} +5 -5
- package/lib/dist-custom-elements/{p-087d8c5a.js → p-b605dc21.js} +3 -3
- package/lib/dist-custom-elements/{p-2f25dfb3.js → p-bc8e5d5f.js} +3 -3
- package/lib/dist-custom-elements/{p-956e3bce.js → p-c5766108.js} +3 -3
- package/lib/dist-custom-elements/{p-b0925e24.js → p-ca6c91da.js} +15 -12
- package/lib/dist-custom-elements/{p-d2a5148f.js → p-ceace5a5.js} +3 -3
- package/lib/dist-custom-elements/{p-2c70b9f4.js → p-d3f11b87.js} +3 -3
- package/lib/dist-custom-elements/{p-174a9d1d.js → p-d46e8086.js} +2 -2
- package/lib/dist-custom-elements/{p-e37d189b.js → p-e13570ea.js} +15 -15
- package/lib/dist-custom-elements/{p-36ab2d57.js → p-f08fd5ce.js} +4 -4
- package/lib/dist-custom-elements/{p-43c4a1af.js → p-f459d4e1.js} +3 -3
- package/lib/dist-custom-elements/{p-330bcf1d.js → p-fa0f5c3a.js} +6 -6
- package/lib/dist-custom-elements/{p-fe9e47d9.js → p-fbf7b0a3.js} +5 -5
- package/lib/dist-custom-elements/{p-c7d815f6.js → p-fc1fca67.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-7f5c1da2.entry.js → p-000e222f.entry.js} +1 -1
- package/lib/duet/{p-1183d305.system.entry.js → p-0252f72e.system.entry.js} +1 -1
- package/lib/duet/p-02ed65bb.entry.js +4 -0
- package/lib/duet/{p-3810c7dc.entry.js → p-0591a60a.entry.js} +1 -1
- package/lib/duet/{p-0a305aee.entry.js → p-065b1525.entry.js} +1 -1
- package/lib/duet/{p-3106c658.entry.js → p-07ee8a5a.entry.js} +1 -1
- package/lib/duet/{p-d86d8491.system.entry.js → p-094a08cd.system.entry.js} +1 -1
- package/lib/duet/{p-bcc40139.system.entry.js → p-0ca126ad.system.entry.js} +2 -2
- package/lib/duet/{p-0e348f96.system.entry.js → p-0ede7f02.system.entry.js} +1 -1
- package/lib/duet/{p-34024554.system.entry.js → p-0ee00147.system.entry.js} +1 -1
- package/lib/duet/{p-76563c02.entry.js → p-0f6cce6b.entry.js} +1 -1
- package/lib/duet/p-1098a40f.system.js +4 -0
- package/lib/duet/{p-9b04e4a2.entry.js → p-13dc711a.entry.js} +1 -1
- package/lib/duet/{p-d3c304b5.system.js → p-149b677a.system.js} +1 -1
- package/lib/duet/{p-af209330.entry.js → p-150dbbea.entry.js} +1 -1
- package/lib/duet/{p-5dbd1202.entry.js → p-169b720a.entry.js} +1 -1
- package/lib/duet/{p-209d6065.system.entry.js → p-16d57da2.system.entry.js} +1 -1
- package/lib/duet/{p-7a67ce10.system.entry.js → p-1721c077.system.entry.js} +1 -1
- package/lib/duet/{p-76b84b22.entry.js → p-19119130.entry.js} +1 -1
- package/lib/duet/p-1a570ee1.system.entry.js +4 -0
- package/lib/duet/p-1ac41e38.entry.js +4 -0
- package/lib/duet/{p-1e9e887d.entry.js → p-1bd826bf.entry.js} +1 -1
- package/lib/duet/{p-e258270f.entry.js → p-1e0cebdf.entry.js} +1 -1
- package/lib/duet/{p-4e9052cd.entry.js → p-1e5e00f9.entry.js} +1 -1
- package/lib/duet/{p-6537159a.system.entry.js → p-1feb6b08.system.entry.js} +2 -2
- package/lib/duet/{p-e8dd29e7.entry.js → p-20fd92d9.entry.js} +1 -1
- package/lib/duet/{p-a7d809b4.system.entry.js → p-23e0edcb.system.entry.js} +1 -1
- package/lib/duet/{p-966bd64a.entry.js → p-23f70a40.entry.js} +1 -1
- package/lib/duet/{p-29152853.entry.js → p-25953772.entry.js} +1 -1
- package/lib/duet/{p-efa5ec67.entry.js → p-26807a70.entry.js} +1 -1
- package/lib/duet/{p-c8421271.system.entry.js → p-268864c3.system.entry.js} +1 -1
- package/lib/duet/{p-620d4575.system.entry.js → p-2bd1ad09.system.entry.js} +1 -1
- package/lib/duet/{p-7972306f.entry.js → p-2dcfcae6.entry.js} +1 -1
- package/lib/duet/{p-a19244e5.system.js → p-2e0eb8a4.system.js} +1 -1
- package/lib/duet/{p-cbedbd77.system.entry.js → p-3170270d.system.entry.js} +1 -1
- package/lib/duet/{p-605e69c8.system.js → p-32a09a31.system.js} +1 -1
- package/lib/duet/{p-76d69a18.system.js → p-35a1ffee.system.js} +1 -1
- package/lib/duet/{p-2de0ab3d.system.entry.js → p-3a1eeb98.system.entry.js} +1 -1
- package/lib/duet/{p-629a9c13.entry.js → p-3a76a6b7.entry.js} +1 -1
- package/lib/duet/{p-fee25f59.entry.js → p-3b807b7b.entry.js} +1 -1
- package/lib/duet/{p-58caf53a.system.entry.js → p-3d6d7bad.system.entry.js} +1 -1
- package/lib/duet/{p-670bd483.system.entry.js → p-3d96fc7c.system.entry.js} +1 -1
- package/lib/duet/p-3e39a663.system.entry.js +4 -0
- package/lib/duet/{p-43cc4ad9.system.entry.js → p-3ee6543a.system.entry.js} +1 -1
- package/lib/duet/{p-dfd223d9.entry.js → p-3f4ee42c.entry.js} +1 -1
- package/lib/duet/{p-c3ba8e74.system.entry.js → p-410f94e9.system.entry.js} +1 -1
- package/lib/duet/{p-3fe7e109.system.entry.js → p-477a0ad7.system.entry.js} +1 -1
- package/lib/duet/{p-e2daf94c.entry.js → p-4816c631.entry.js} +1 -1
- package/lib/duet/{p-2814473c.system.entry.js → p-4a96a1cc.system.entry.js} +1 -1
- package/lib/duet/{p-b765710e.entry.js → p-4ac45e30.entry.js} +1 -1
- package/lib/duet/{p-9253e832.system.entry.js → p-4ba72133.system.entry.js} +1 -1
- package/lib/duet/p-4c30f1b5.entry.js +4 -0
- package/lib/duet/{p-021a4763.system.entry.js → p-4cd00958.system.entry.js} +1 -1
- package/lib/duet/{p-3d96186f.system.entry.js → p-4dcf7aab.system.entry.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-51b2f340.js} +1 -1
- package/lib/duet/{p-2fa7ecef.entry.js → p-51b8e39a.entry.js} +1 -1
- package/lib/duet/{p-fd2299b4.entry.js → p-529bb649.entry.js} +1 -1
- package/lib/duet/{p-2a0ad29c.system.entry.js → p-539ee8e9.system.entry.js} +1 -1
- package/lib/duet/{p-031167a1.system.entry.js → p-53b490bf.system.entry.js} +1 -1
- package/lib/duet/{p-79dfc8e6.system.entry.js → p-5428f3f5.system.entry.js} +2 -2
- package/lib/duet/{p-1e904342.entry.js → p-547f2129.entry.js} +1 -1
- package/lib/duet/{p-f43e134e.system.entry.js → p-54a3643a.system.entry.js} +1 -1
- package/lib/duet/p-55309597.system.entry.js +4 -0
- package/lib/duet/{p-2b35de7b.entry.js → p-57930d52.entry.js} +1 -1
- package/lib/duet/{p-b010f56b.system.entry.js → p-57ab6af5.system.entry.js} +2 -2
- package/lib/duet/{p-62bdecfb.system.entry.js → p-58ea29ca.system.entry.js} +1 -1
- package/lib/duet/{p-4ee7eb8a.entry.js → p-59435e55.entry.js} +1 -1
- package/lib/duet/{p-ff4f7076.entry.js → p-5acb3f21.entry.js} +1 -1
- package/lib/duet/{p-43d16748.system.entry.js → p-5ca36d56.system.entry.js} +1 -1
- package/lib/duet/{p-0ee85b71.entry.js → p-5dea17eb.entry.js} +1 -1
- package/lib/duet/{p-4e7f27d8.entry.js → p-5e234865.entry.js} +1 -1
- package/lib/duet/{p-2b45d2e4.entry.js → p-5e780477.entry.js} +1 -1
- package/lib/duet/{p-a47047f2.entry.js → p-5ebe5e38.entry.js} +1 -1
- package/lib/duet/{p-a8a381c9.system.entry.js → p-602843ca.system.entry.js} +1 -1
- package/lib/duet/{p-2dc360ee.entry.js → p-60d2344e.entry.js} +1 -1
- package/lib/duet/{p-f6bd2d4f.system.entry.js → p-645cfb68.system.entry.js} +1 -1
- package/lib/duet/{p-d7d86092.js → p-6817c980.js} +1 -1
- package/lib/duet/{p-2810c6dc.system.entry.js → p-68209f39.system.entry.js} +2 -2
- package/lib/duet/{p-41552571.system.entry.js → p-6898b482.system.entry.js} +1 -1
- package/lib/duet/p-6a263519.entry.js +4 -0
- package/lib/duet/{p-5170726b.system.entry.js → p-6a30f4a1.system.entry.js} +1 -1
- package/lib/duet/{p-fbf89657.system.entry.js → p-6c10d77d.system.entry.js} +1 -1
- package/lib/duet/{p-c8e22ae2.system.entry.js → p-6e72268d.system.entry.js} +1 -1
- package/lib/duet/{p-237efb0c.system.entry.js → p-6fe2f15f.system.entry.js} +1 -1
- package/lib/duet/{p-6b436ca9.entry.js → p-6fe8172a.entry.js} +1 -1
- package/lib/duet/{p-fcb14b31.system.entry.js → p-735aecee.system.entry.js} +2 -2
- package/lib/duet/{p-a3341588.entry.js → p-74f62fcc.entry.js} +1 -1
- package/lib/duet/{p-215f4257.system.entry.js → p-751e58ce.system.entry.js} +1 -1
- package/lib/duet/{p-051c4536.entry.js → p-76a9c7a5.entry.js} +1 -1
- package/lib/duet/{p-d43fc5e9.system.entry.js → p-76ce944a.system.entry.js} +1 -1
- package/lib/duet/{p-b6c584b6.entry.js → p-78368247.entry.js} +1 -1
- package/lib/duet/p-79bdb03d.entry.js +4 -0
- package/lib/duet/{p-6324514a.system.entry.js → p-79e58ba1.system.entry.js} +2 -2
- package/lib/duet/{p-8abb0984.js → p-7a75bff7.js} +1 -1
- package/lib/duet/p-7b47d427.entry.js +4 -0
- package/lib/duet/{p-3c64dab9.entry.js → p-7ee6ca05.entry.js} +1 -1
- package/lib/duet/{p-a2aa619b.system.entry.js → p-80d8a60b.system.entry.js} +1 -1
- package/lib/duet/{p-1e17463d.system.js → p-81835239.system.js} +1 -1
- package/lib/duet/p-85e7cc53.entry.js +4 -0
- package/lib/duet/{p-4a9978a4.entry.js → p-863b96d9.entry.js} +1 -1
- package/lib/duet/{p-c694f12d.system.entry.js → p-885bdca8.system.entry.js} +1 -1
- package/lib/duet/{p-d6dc9819.system.entry.js → p-88f8dcab.system.entry.js} +1 -1
- package/lib/duet/{p-c15cd383.system.entry.js → p-8bee9cd3.system.entry.js} +1 -1
- package/lib/duet/{p-44ee649f.system.entry.js → p-8c0a6ad4.system.entry.js} +1 -1
- package/lib/duet/{p-769a3309.system.entry.js → p-8c7b6794.system.entry.js} +1 -1
- package/lib/duet/{p-7acabaa7.system.js → p-8e540cf9.system.js} +1 -1
- package/lib/duet/{p-3df2981e.system.entry.js → p-8f2cac21.system.entry.js} +1 -1
- package/lib/duet/{p-250fb070.entry.js → p-8fe4cb7b.entry.js} +1 -1
- package/lib/duet/{p-f105f32a.system.entry.js → p-915b2385.system.entry.js} +1 -1
- package/lib/duet/{p-b69f3d9d.system.entry.js → p-942d73b3.system.entry.js} +1 -1
- package/lib/duet/{p-8f4cdf46.system.entry.js → p-97406378.system.entry.js} +1 -1
- package/lib/duet/{p-a2b93336.system.entry.js → p-99c527c4.system.entry.js} +1 -1
- package/lib/duet/{p-20d056ac.entry.js → p-99d8e4b1.entry.js} +1 -1
- package/lib/duet/{p-3faaa469.entry.js → p-9a3a1129.entry.js} +1 -1
- package/lib/duet/p-9bcd8d52.system.js +4 -0
- package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c9e3bf3.system.entry.js} +1 -1
- package/lib/duet/{p-27260106.entry.js → p-9cc7444d.entry.js} +1 -1
- package/lib/duet/{p-cf30c088.entry.js → p-9cdabda3.entry.js} +1 -1
- package/lib/duet/{p-2fb96333.entry.js → p-9d6cf60e.entry.js} +1 -1
- package/lib/duet/{p-c22935bf.system.entry.js → p-9e014353.system.entry.js} +1 -1
- package/lib/duet/p-a030ecff.entry.js +4 -0
- package/lib/duet/{p-25d79094.entry.js → p-a49aa1e4.entry.js} +1 -1
- package/lib/duet/{p-a600451a.entry.js → p-a6ca2484.entry.js} +1 -1
- package/lib/duet/{p-f0b0e2b2.system.entry.js → p-abb0f090.system.entry.js} +1 -1
- package/lib/duet/{p-76b42e90.entry.js → p-af086dc4.entry.js} +1 -1
- package/lib/duet/{p-f5dd7e7e.system.entry.js → p-b065a169.system.entry.js} +1 -1
- package/lib/duet/p-b4f3e81a.js +4 -0
- package/lib/duet/{p-894c1be1.system.entry.js → p-b5ce0b66.system.entry.js} +1 -1
- package/lib/duet/{p-ce543cc1.system.entry.js → p-b6689aeb.system.entry.js} +1 -1
- package/lib/duet/p-b7247c4a.entry.js +4 -0
- package/lib/duet/p-b909d55e.system.entry.js +4 -0
- package/lib/duet/{p-8142169f.system.entry.js → p-c31aff06.system.entry.js} +1 -1
- package/lib/duet/{p-e38edd16.system.entry.js → p-c4b27218.system.entry.js} +1 -1
- package/lib/duet/{p-f75a6d54.system.entry.js → p-c4cd0199.system.entry.js} +1 -1
- package/lib/duet/{p-2b6a7397.js → p-c553a49a.js} +1 -1
- package/lib/duet/{p-5e25b406.entry.js → p-c59bc2db.entry.js} +1 -1
- package/lib/duet/{p-380f74e8.system.entry.js → p-c64eb22a.system.entry.js} +1 -1
- package/lib/duet/{p-7dd3b7d1.entry.js → p-c86a2ae1.entry.js} +1 -1
- package/lib/duet/p-c8bd1ccb.entry.js +4 -0
- package/lib/duet/{p-3d826a58.system.entry.js → p-c90242c5.system.entry.js} +1 -1
- package/lib/duet/{p-f97500ff.system.entry.js → p-cc70a233.system.entry.js} +1 -1
- package/lib/duet/{p-e44da0ff.system.entry.js → p-cc8d3ed0.system.entry.js} +1 -1
- package/lib/duet/{p-e0536bb5.entry.js → p-cd9f1743.entry.js} +1 -1
- package/lib/duet/{p-c52e8007.entry.js → p-cfa7d3f2.entry.js} +1 -1
- package/lib/duet/{p-c79cbfdb.entry.js → p-d07788a4.entry.js} +1 -1
- package/lib/duet/{p-60547899.system.entry.js → p-d146e39b.system.entry.js} +1 -1
- package/lib/duet/{p-7cce22af.system.js → p-d41e4088.system.js} +1 -1
- package/lib/duet/{p-49fa4a07.entry.js → p-d4ccd7cd.entry.js} +1 -1
- package/lib/duet/{p-612fbfcc.entry.js → p-d71ee4e2.entry.js} +1 -1
- package/lib/duet/{p-55674524.entry.js → p-d8e196af.entry.js} +1 -1
- package/lib/duet/{p-c2dd561e.entry.js → p-dd7fb771.entry.js} +1 -1
- package/lib/duet/{p-7d2fffc2.entry.js → p-de4bf9cc.entry.js} +1 -1
- package/lib/duet/{p-c6894b07.system.entry.js → p-e033daf1.system.entry.js} +1 -1
- package/lib/duet/{p-25af4a6c.entry.js → p-e0f5fed4.entry.js} +1 -1
- package/lib/duet/p-e2c7e2d3.entry.js +4 -0
- package/lib/duet/{p-2b2cd3be.entry.js → p-e385f91d.entry.js} +1 -1
- package/lib/duet/{p-5b927db3.entry.js → p-e395172c.entry.js} +1 -1
- package/lib/duet/{p-6447f20d.system.entry.js → p-e4b4cb3c.system.entry.js} +1 -1
- package/lib/duet/{p-c8d3cb52.entry.js → p-e57690a5.entry.js} +1 -1
- package/lib/duet/{p-6be341c4.entry.js → p-e7596a00.entry.js} +1 -1
- package/lib/duet/{p-ee1eb7cb.system.entry.js → p-ea4c67d7.system.entry.js} +1 -1
- package/lib/duet/{p-a51e1b9e.entry.js → p-eb00f684.entry.js} +1 -1
- package/lib/duet/p-ec87c2c0.entry.js +4 -0
- package/lib/duet/{p-eca03d5e.js → p-ecf89776.js} +1 -1
- package/lib/duet/{p-8481bbda.entry.js → p-f0d3cbf0.entry.js} +1 -1
- package/lib/duet/{p-8c9eb171.js → p-f2462d98.js} +1 -1
- package/lib/duet/{p-153b6150.system.entry.js → p-f3e11ae2.system.entry.js} +1 -1
- package/lib/duet/{p-40bab9a0.system.entry.js → p-f4cd0368.system.entry.js} +1 -1
- package/lib/duet/{p-fa3b3dbc.system.entry.js → p-f609ba36.system.entry.js} +1 -1
- package/lib/duet/{p-192bba35.system.entry.js → p-f64fe362.system.entry.js} +1 -1
- package/lib/duet/{p-486576ee.entry.js → p-f691b978.entry.js} +1 -1
- package/lib/duet/{p-aca3a5a9.entry.js → p-f8956559.entry.js} +1 -1
- package/lib/duet/{p-871d7ca1.system.entry.js → p-fb8e8fbf.system.entry.js} +2 -2
- package/lib/duet/{p-2eae4a0b.js → p-fbc347fd.js} +1 -1
- package/lib/duet/{p-07847129.system.entry.js → p-fcd4f841.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +12 -9
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +14 -44
- package/lib/esm/duet-card.entry.js +8 -5
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +6 -6
- package/lib/esm/duet-choice_2.entry.js +11 -11
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +12 -7
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +2 -2
- 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 +10 -10
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +2 -2
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +4 -4
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- 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 +3 -3
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +48 -48
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +2 -2
- 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 +19 -16
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +5 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4226b57a.js} +1 -1
- package/lib/esm/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- 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-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- 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-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm-es5/focus-utils-4226b57a.js +4 -0
- package/lib/esm-es5/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm-es5/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm-es5/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
- package/lib/types/components/duet-link/duet-link.d.ts +0 -7
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
- package/lib/types/components.d.ts +12 -6
- package/package.json +3 -3
- package/lib/duet/p-05ca5aea.entry.js +0 -4
- package/lib/duet/p-0e8e80b1.entry.js +0 -4
- package/lib/duet/p-1268b5a0.system.entry.js +0 -4
- package/lib/duet/p-20eaf445.system.entry.js +0 -4
- package/lib/duet/p-2a979523.entry.js +0 -4
- package/lib/duet/p-2bf17427.entry.js +0 -4
- package/lib/duet/p-5db9497a.entry.js +0 -4
- package/lib/duet/p-7483d86c.entry.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-9fb9ba73.entry.js +0 -4
- package/lib/duet/p-aa82f9a1.entry.js +0 -4
- package/lib/duet/p-ac9460ca.entry.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-e93849fd.system.entry.js +0 -4
- package/lib/duet/p-e9d2f4a1.entry.js +0 -4
- package/lib/duet/p-f3633004.entry.js +0 -4
- package/lib/duet/p-f3cf6b50.entry.js +0 -4
- package/lib/duet/p-fbc396a7.system.entry.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -3986,12 +3986,12 @@ class DuetBadge {
|
|
|
3986
3986
|
*/
|
|
3987
3987
|
render() {
|
|
3988
3988
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3989
|
+
return (hAsync(Host, { key: '525eb1a4fac6b096cf70238684abf6beaccf1b60', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '6a6c8598ed37316d2952574df604014f0f4fcb08', class: {
|
|
3990
3990
|
"duet-badge": true,
|
|
3991
3991
|
[this.variation]: true,
|
|
3992
3992
|
[backgroundClass]: true,
|
|
3993
3993
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3994
|
+
} }, hAsync("slot", { key: '10a0b5fe2c183d0497b8968917b3ea9bb776aab6' }))));
|
|
3995
3995
|
}
|
|
3996
3996
|
get element() { return getElement(this); }
|
|
3997
3997
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4181,14 @@ class DuetBreadcrumb {
|
|
|
4181
4181
|
*/
|
|
4182
4182
|
render() {
|
|
4183
4183
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4184
|
+
return (hAsync(Host, { key: '09a787f19aa1dd12445d76a36fa8924db644b712', role: "listitem" }, hAsync("div", { key: '71f250472e2ff04408cf351e06282bf5c000087f', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'a96cc31bc261fa8b0765361d2f6c6e409903d81b', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '61caff01acc20697e6ef0c257ab8a5fdce7083dd', class: {
|
|
4185
4185
|
"duet-breadcrumb": true,
|
|
4186
4186
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4187
|
}, 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
4188
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4189
|
+
hAsync("duet-icon", { key: 'f6a547c84b34225bf03ad776c92d10e2bd08ca89', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4190
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '9256cacd57acc64ed3624a4f2c9df51cb92aa0b5', size: "x-small", direction: "horizontal" }),
|
|
4191
|
+
], hAsync("slot", { key: '183e95e39e8131bd714ba4c2658194c9673deef7' })))));
|
|
4192
4192
|
}
|
|
4193
4193
|
get element() { return getElement(this); }
|
|
4194
4194
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4249,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
render() {
|
|
4251
4251
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4252
|
+
return (hAsync(Host, { key: 'ffe039bba4cc62518ff8a4edf4e89bf3d9fba425' }, hAsync("nav", { key: '737b1828ee7babafbf81ec04ef95e3a3ead26230', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4253
|
"duet-breadcrumbs": true,
|
|
4254
4254
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4255
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4256
|
+
} }, hAsync("div", { key: '6b92d6297d3c7498300a2c1ef5722317435f18d2', class: "container" }, hAsync("div", { key: '26a88ae5dfc14f715ef17000218c94858b5082b5', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'd5eb86ae00ae840c65739a494970a8815741d755' })), hAsync("div", { key: '4d3b49ff815f667189b446ac736600edd7a59a20', class: "bottom-border bottom-border--container" })), hAsync("div", { key: 'f1ad3d2547626fe4473d8aa1d467772dd65170e2', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4257
|
}
|
|
4258
4258
|
get element() { return getElement(this); }
|
|
4259
4259
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4345,7 +4345,8 @@ class DuetButton {
|
|
|
4345
4345
|
// climb up the dom to see if we're in a <form>
|
|
4346
4346
|
// and if so, then use JS to submit it.
|
|
4347
4347
|
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
4348
|
-
if (!this.url && (this.element.closest("form") || this.form)
|
|
4348
|
+
if (this.submit && !this.url && (this.element.closest("form") || this.form)) {
|
|
4349
|
+
ev.stopPropagation();
|
|
4349
4350
|
ev.preventDefault();
|
|
4350
4351
|
this.proxyButton.click();
|
|
4351
4352
|
}
|
|
@@ -4428,7 +4429,9 @@ class DuetButton {
|
|
|
4428
4429
|
if (this.disabled === false) {
|
|
4429
4430
|
this.element.removeAttribute("disabled");
|
|
4430
4431
|
}
|
|
4431
|
-
this.
|
|
4432
|
+
if (this.submit) {
|
|
4433
|
+
this.proxyButtonSetUp();
|
|
4434
|
+
}
|
|
4432
4435
|
}
|
|
4433
4436
|
getButtonType() {
|
|
4434
4437
|
return this.submit ? "submit" : "button";
|
|
@@ -4466,12 +4469,12 @@ class DuetButton {
|
|
|
4466
4469
|
// enforce consistency for external links
|
|
4467
4470
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4468
4471
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4469
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4472
|
+
const commonChildren = (hAsync("span", { key: '8261e9341625f40cc3443028886ba797e455fd18', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '8de1cf100792030ea48744f69b85891a75b221bd', "aria-hidden": "true", class: {
|
|
4470
4473
|
"duet-button-icon": true,
|
|
4471
4474
|
left: !iconRight,
|
|
4472
4475
|
right: iconRight,
|
|
4473
4476
|
[this.getButtonIconSize()]: true,
|
|
4474
|
-
} }, hAsync("duet-icon", { key: '
|
|
4477
|
+
} }, hAsync("duet-icon", { key: '34d180cb49257dea26208354b7d7af6fa3bbe224', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: 'a80aa7681ff913fb64c194bc8a948cf44013af17', class: "duet-button-contents-slot" }, hAsync("slot", { key: 'a7973447fad08810a13a15347d9e14b47a22d261' }))));
|
|
4475
4478
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4476
4479
|
const commonProps = {
|
|
4477
4480
|
onFocus: this.onFocus,
|
|
@@ -4506,7 +4509,7 @@ class DuetButton {
|
|
|
4506
4509
|
"aria-details": this.accessibleDetails,
|
|
4507
4510
|
"aria-description": this.accessibleDescription,
|
|
4508
4511
|
};
|
|
4509
|
-
return (hAsync(Host, { key: '
|
|
4512
|
+
return (hAsync(Host, { key: 'ec159b1f3d12c0389ca0ad87c1e4a5977711cb55', class: {
|
|
4510
4513
|
"duet-m-0": this.margin === "none",
|
|
4511
4514
|
"duet-small": this.size === "small",
|
|
4512
4515
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4514,13 +4517,13 @@ class DuetButton {
|
|
|
4514
4517
|
"duet-expand": this.expand,
|
|
4515
4518
|
[this.variation]: true,
|
|
4516
4519
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4517
|
-
} }, hAsync("span", { key: '
|
|
4520
|
+
} }, hAsync("span", { key: 'cbefdfe93f79c1fa1dceea5d8796242e00d03221', onClick: this.handleClick, class: {
|
|
4518
4521
|
"duet-button-container": true,
|
|
4519
4522
|
"duet-button-is-loading": this.loading,
|
|
4520
4523
|
"duet-theme-turva": this.theme === "turva",
|
|
4521
4524
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4522
4525
|
[this.variation]: true,
|
|
4523
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "), hAsync("
|
|
4526
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: 'c72fcf5021e1746ba8af63e4e9500ff1303e8ffc', color: "currentColor" })), hAsync("slot", { key: '04a92da59dceb3d0bd30dba5fc3808b1415b42d9', name: "proxybutton" })));
|
|
4524
4527
|
}
|
|
4525
4528
|
get element() { return getElement(this); }
|
|
4526
4529
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4607,11 +4610,11 @@ class DuetCallout {
|
|
|
4607
4610
|
<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"/>
|
|
4608
4611
|
</svg>
|
|
4609
4612
|
`;
|
|
4610
|
-
return (hAsync(Host, { key: '
|
|
4613
|
+
return (hAsync(Host, { key: '24743df01bce253837555ad54345c8f492e0b4c5' }, hAsync("div", { key: 'b2ba8be990977bed0fa72a9144dacc9eed214815', class: {
|
|
4611
4614
|
"duet-callout": true,
|
|
4612
4615
|
"duet-theme-turva": this.theme === "turva",
|
|
4613
4616
|
"duet-m-0": this.margin === "none",
|
|
4614
|
-
} }, hAsync("figure", { key: '
|
|
4617
|
+
} }, hAsync("figure", { key: 'bd4acfa4cd109740e7ce11f808c88996c3de610d', class: "container" }, hAsync("duet-icon", { key: '1167d14a9499a4f32a8b5788d80a81503b3510d5', 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: '6f8d9810300309f121a184574f5e80779ce79dcd' }, hAsync("slot", { key: '5cdf199764e8eeab73e381cd3c6b9db26cc03a27' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '3be814ad571c8f6f307922912ec0a89e78e1128a', class: "author" }, hAsync("span", { key: 'fc22089de32d73977d4183ad9bef52742f38c7eb' }, "\u2014 "), hAsync("slot", { key: '774d12f03b01d112644911373f31c2261e6c0964', name: "author" })))))));
|
|
4615
4618
|
}
|
|
4616
4619
|
get element() { return getElement(this); }
|
|
4617
4620
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4650,13 +4653,13 @@ class DuetCaption {
|
|
|
4650
4653
|
* Always the last one in the class.
|
|
4651
4654
|
*/
|
|
4652
4655
|
render() {
|
|
4653
|
-
return (hAsync(Host, { key: '
|
|
4656
|
+
return (hAsync(Host, { key: 'cefb662c677d5a45cc8e007a68ab67b0698ce2ee', class: {
|
|
4654
4657
|
"duet-caption": true,
|
|
4655
4658
|
"duet-caption-selected": this.selected,
|
|
4656
4659
|
"duet-caption-small": this.size === "small",
|
|
4657
4660
|
"duet-theme-turva": this.theme === "turva",
|
|
4658
4661
|
"duet-m-0": this.margin === "none",
|
|
4659
|
-
} }, hAsync("slot", { key: '
|
|
4662
|
+
} }, hAsync("slot", { key: '4a38bee52925d9c7db4473dd0e5bc92797b0b058' })));
|
|
4660
4663
|
}
|
|
4661
4664
|
get element() { return getElement(this); }
|
|
4662
4665
|
static get style() { return DuetCaptionStyle0; }
|
|
@@ -4740,6 +4743,7 @@ class DuetCard {
|
|
|
4740
4743
|
unsubscribeTabbingChange(this);
|
|
4741
4744
|
}
|
|
4742
4745
|
renderHeading() {
|
|
4746
|
+
var _a;
|
|
4743
4747
|
const safeHeadingLevel = sanitizeString$1(this.headingLevel);
|
|
4744
4748
|
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
4745
4749
|
const headingStyles = {
|
|
@@ -4747,7 +4751,8 @@ class DuetCard {
|
|
|
4747
4751
|
};
|
|
4748
4752
|
const headingContent = (hAsync(Fragment, null, hAsync("div", { class: "duet-card-heading-grid" }, this.icon && (hAsync(Fragment, null, hAsync("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), hAsync("duet-spacer", { direction: "horizontal", size: "small" }))), hAsync("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : hAsync("slot", { name: "heading" })), this.secondaryHeading && (hAsync(Fragment, null, hAsync("duet-spacer", { direction: "horizontal", size: "small" }), hAsync("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (hAsync(Fragment, null, hAsync("duet-spacer", { direction: "horizontal", size: "small" }), hAsync("duet-icon", { class: "duet-card-caret", icon: actionArrowUp.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (hAsync("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), hAsync("slot", { name: "below-heading" })));
|
|
4749
4753
|
if (this.collapsible) {
|
|
4750
|
-
|
|
4754
|
+
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
4755
|
+
return (hAsync(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, hAsync("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
|
|
4751
4756
|
}
|
|
4752
4757
|
else {
|
|
4753
4758
|
return (hAsync(HeadingTag, { style: headingStyles, class: "duet-card-heading" }, headingContent));
|
|
@@ -4772,10 +4777,10 @@ class DuetCard {
|
|
|
4772
4777
|
const styles = {
|
|
4773
4778
|
backgroundColor: getColorByName(this.background),
|
|
4774
4779
|
};
|
|
4775
|
-
return (hAsync(Host, { key: '
|
|
4780
|
+
return (hAsync(Host, { key: '81af7af276b2b67f13855aa9e11bd95e8abeaa2d', class: {
|
|
4776
4781
|
"duet-m-0": this.margin === "none",
|
|
4777
4782
|
"duet-card-info": this.variation === "info",
|
|
4778
|
-
} }, hAsync(TagName, { key: '
|
|
4783
|
+
} }, hAsync(TagName, { key: '9c121ca16ed478f72e8c5976cc73499de2c48de2', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
4779
4784
|
"duet-card": true,
|
|
4780
4785
|
[this.padding]: true,
|
|
4781
4786
|
[this.variation]: true,
|
|
@@ -4785,7 +4790,7 @@ class DuetCard {
|
|
|
4785
4790
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
4786
4791
|
"duet-card-has-icon": !!this.icon,
|
|
4787
4792
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
4788
|
-
} }, this.image && (hAsync("div", { key: '
|
|
4793
|
+
} }, this.image && (hAsync("div", { key: '370ab67ee9e9e00267dfe6a034d9258fc41deb9c', class: "duet-card-image-mask" }, hAsync("img", { key: 'f93b70812e33b71f9057b5a890baba36894012ea', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), hAsync("div", { key: '64b6d8e1e2d02085fa6101f54cf95f15c6c4e3b8', class: "duet-card-content", id: this.cardId }, hAsync("slot", { key: '9a20c3971a53038f5786c9321214cd2dc19bdcef' }), this.hasFooter && (hAsync("div", { key: '5009d44d6ffb5c7d6774a0c22664979d84a12561', class: "duet-card-footer" }, hAsync("slot", { key: 'e177a2f18a636b5e6c093150e52614e56ad56c68', name: "footer" })))))));
|
|
4789
4794
|
}
|
|
4790
4795
|
get element() { return getElement(this); }
|
|
4791
4796
|
static get style() { return DuetCardStyle0; }
|
|
@@ -4914,11 +4919,11 @@ class DuetCheckbox {
|
|
|
4914
4919
|
*/
|
|
4915
4920
|
render() {
|
|
4916
4921
|
const identifier = this.identifier || this.checkboxId;
|
|
4917
|
-
return (hAsync(Host, { key: '
|
|
4922
|
+
return (hAsync(Host, { key: 'b766728b3dfefde1c6deefe6d0db2f549cd8aad3', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'caeaf8e29cbfdc3f684a64a5c7e7e5ef6513432b', class: {
|
|
4918
4923
|
"duet-checkbox-container": true,
|
|
4919
4924
|
"duet-label-hidden": this.labelHidden,
|
|
4920
4925
|
"duet-theme-turva": this.theme === "turva",
|
|
4921
|
-
} }, hAsync("input", { key: '
|
|
4926
|
+
} }, hAsync("input", { key: '6ab801fbe93327d25187b276878076bcfdf48b36', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), hAsync("label", { key: '68e27e7756a0db41709ff8a3ae200ee99ff786b1', class: "duet-label", htmlFor: identifier }, hAsync("span", { key: '3db3ad22a9878f989e6dc47fee0c37c7d5195f42' }, this.label)), hAsync("div", { key: '9d27e662b34db5a4db91e3a7e7d9f989ba933f94', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7901825f9db5ff2a62876fa4324b449155ffac6a' }, this.error)))));
|
|
4922
4927
|
}
|
|
4923
4928
|
get element() { return getElement(this); }
|
|
4924
4929
|
static get style() { return DuetCheckboxStyle0; }
|
|
@@ -4975,11 +4980,11 @@ class DuetCheckmark {
|
|
|
4975
4980
|
inheritGlobalTheme(this);
|
|
4976
4981
|
}
|
|
4977
4982
|
render() {
|
|
4978
|
-
return (hAsync(Host, { key: '
|
|
4983
|
+
return (hAsync(Host, { key: '621afec8eb7b55088937983fdd862cdf3876c01b', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'dd3020a77469f7c8d14006f2495f2fe7a6849290', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '806bb3821f8947e99f10b031f8b20f3d0063f579', class: {
|
|
4979
4984
|
"duet-checkmark-container": true,
|
|
4980
4985
|
center: this.center,
|
|
4981
4986
|
"duet-checkmark-radio": this.type === "radio",
|
|
4982
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4987
|
+
} }, this.checked && hAsync("div", { key: 'cd19c44014e480d7b6a886cdd7200da58f2c8bf1', class: "duet-checkmark" })))));
|
|
4983
4988
|
}
|
|
4984
4989
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4985
4990
|
static get cmpMeta() { return {
|
|
@@ -5301,7 +5306,7 @@ class DuetChip {
|
|
|
5301
5306
|
onBlur: this.onBlur,
|
|
5302
5307
|
ref: el => (this.focusableElement = el),
|
|
5303
5308
|
};
|
|
5304
|
-
return (hAsync(Host, { key: '
|
|
5309
|
+
return (hAsync(Host, { key: 'f5866959a8c96e4c06f87b9da16bb1a1fce05235', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'f118e5cb6fd7e7a36b783b6b136b85848493d7b2', class: classes }, hAsync("button", Object.assign({ key: '8136c5fc8d81b414f102d52af06bef9a4b85bf8c', 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: 'bcbd7ed8bda270105ad63bda748c3e99440e210a', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '878b7a3bd90f777342a9f01ec3b9d6487c84ae62', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '80af3c2e2ed0326f64ba76df23cb013ad6453bc7' })))), this.variation === "input" && (hAsync("span", { key: 'b58b2486ea2a68bf3cb4f7936acd3c1bae7a8f01', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: 'aab83e094723fea4006b2d6d5b7d0c7561741dc0', 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: '7060c0297c7a9ac439e1b8cacf331286076e49d3', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '285b4f499a36e796777a68ac9d625776bd01f8fe', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'abad02d6dc1809c0bed85b1c51e9150835470e24' })), hAsync("button", { key: '89239750f6c9738272cc92142889f59a7c8d4ea0', 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: 'da6a4b111356b20f82bfc083cbaaf35ce9facdaa', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'a7f9ee8ddaf8f256bf6a43ec10e4df16da91fe01', class: classes }, hAsync("input", Object.assign({ key: '9717dd6ef3002cb5bb0382bbcf0c93f4e4b9a7e6', "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: '1cf57481446293957a2a639afea5a72d847f82eb', htmlFor: identifier }, this.icon && (hAsync("span", { key: '491a9eb7a0d9ea0fa1ed30e49826ecc51e5fa394', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '1ca20585deaa344a434a013fac217e8191432b31', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '6bfd6b12f71a7264b657c164a748de134d0e7976', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'f51bf27633eb450f0469f43b569e6dc8ec19a5a2' }), this.popupElement && (hAsync("span", { key: 'c8e24b22bc5dada17637c970f5c240a0ab1432dd', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '77bff8f2d2d4d2bacfd35e466c8917af0dee3712', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '9301ae9f35e1f8b98e9fb22581054a7d9e4e95f7', class: classes }, hAsync("slot", { key: 'ef01900b142a3ccbb3df9609de81c765d171fc7a', name: "input" }), hAsync("label", { key: '5803f303e6073ea2521400ad5a019668752dc72f', htmlFor: identifier }, this.icon && (hAsync("span", { key: '3a02f6262d9409fd67f5dec28333813e00059ee2', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '782a8428f4516926dd572640670084f17f1a0a6c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '20bbe0863bb89ba63507469f3d47c910ca08842c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'b9f66eeaa21825e40fde477edc0928e461ff3b62' }))))));
|
|
5305
5310
|
}
|
|
5306
5311
|
get element() { return getElement(this); }
|
|
5307
5312
|
static get watchers() { return {
|
|
@@ -5679,7 +5684,7 @@ class DuetChoice {
|
|
|
5679
5684
|
*/
|
|
5680
5685
|
render() {
|
|
5681
5686
|
const identifier = this.identifier || this.choiceId;
|
|
5682
|
-
return (hAsync(Host, { key: '
|
|
5687
|
+
return (hAsync(Host, { key: 'e45e3d883ff601f42cda53bb745589a6cff07669', class: {
|
|
5683
5688
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
5684
5689
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
5685
5690
|
"duet-m-0": this.margin === "none",
|
|
@@ -5687,10 +5692,10 @@ class DuetChoice {
|
|
|
5687
5692
|
"duet-theme-turva": this.theme === "turva",
|
|
5688
5693
|
"no-hover": this.isHovering,
|
|
5689
5694
|
disabled: this.getDisabled(),
|
|
5690
|
-
} }, hAsync("div", { key: '
|
|
5695
|
+
} }, hAsync("div", { key: '269cb0465b9088983bb4a9c3b0fab4ee0e4a2bd4', class: {
|
|
5691
5696
|
"duet-choice-card-flextainer": true,
|
|
5692
5697
|
"duet-theme-turva": this.theme === "turva",
|
|
5693
|
-
} }, hAsync("div", { key: '
|
|
5698
|
+
} }, hAsync("div", { key: 'f58dab3ebe6b31f9284d609e62d8c97e3056160a', class: {
|
|
5694
5699
|
"duet-choice-card": true,
|
|
5695
5700
|
"has-icon": !!this.icon,
|
|
5696
5701
|
"has-info": this.hasInfo,
|
|
@@ -5699,16 +5704,16 @@ class DuetChoice {
|
|
|
5699
5704
|
collapsible: this.collapsible,
|
|
5700
5705
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
5701
5706
|
"duet-p-0": this.padding === "none",
|
|
5702
|
-
} }, this.type === "checkbox" && (hAsync("input", { key: '
|
|
5707
|
+
} }, this.type === "checkbox" && (hAsync("input", { key: '0223b78eb319e469137a52e6b64898d0862eafac', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), hAsync("slot", { key: 'b438afa42e1d50c6aa9a145e656aed1b0f801efa', name: "choiceradioinput" }), hAsync("label", { key: 'c08ba3234495038c9dedce7247aef93e9171e4c1', class: {
|
|
5703
5708
|
"duet-choice-label": true,
|
|
5704
5709
|
"has-before-text": this.hasBeforeText,
|
|
5705
5710
|
checked: this.checked,
|
|
5706
5711
|
focus: this.focus,
|
|
5707
5712
|
disabled: this.getDisabled(),
|
|
5708
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
5713
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '822b608190ed8058e5083664364f7802f36bbc12', name: "before-text" }), this.icon && (hAsync("div", { key: '47be54fb7c3c00ab9cdff531a158e3bf8131d1eb', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: 'ba85bd90adcc57f4f3b4641d10417f14c0a3d0a7', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: '9bffd97bdf78929c3e18eed10f9903c068f84284', class: "duet-choice-card-text" }, hAsync("div", { key: '7378526d0c1be754eeef8acb758b800534710af6' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: '2c026043a64085f44ec11e2b59fa7d3625880b98' }, hAsync("duet-spacer", { key: '23bd4874a25550df5c010a4ac2f4753b7bebe095', size: "xx-small" }), hAsync("duet-caption", { key: '1e91ca0d61dcbb29b48095ade98d69f35f8d034e', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: 'af539e1466767e981b523efd118aaadec4c3ac7e' }, hAsync("duet-spacer", { key: '3062fe17e11d61e8e02364762088fc33e3f123fd', size: "xx-small" }), hAsync("slot", { key: '2a4faf03104769cf9c8c12b3700608ccbf353233', name: "additional" })))), hAsync("div", { key: 'a31c056ac9d543e7ee157fd4e2dddfd64cc823a9' }, hAsync("div", { key: '8e139394a6669f009546db7274152790fb099cb0', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: '661c15b7dd0fbe9012e16841c1f082e85fd8f6de', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: 'c8b30535f36197e9f435b806ca23f0c8cbf81e4a', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
5709
5714
|
"duet-choice-info-toggle": true,
|
|
5710
5715
|
"duet-theme-turva": this.theme === "turva",
|
|
5711
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '
|
|
5716
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: 'a658c863b61f1d5f8949e24ed9a59108c8a6fa76', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '6d4aae6cdecafd186807a43914409cb35e8fdb38', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: '9796521f397d0b976a84884108d4138a054c3b92', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
5712
5717
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
5713
5718
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
5714
5719
|
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
|
|
@@ -5882,14 +5887,14 @@ class DuetChoiceGroup {
|
|
|
5882
5887
|
* Always the last one in the class.
|
|
5883
5888
|
*/
|
|
5884
5889
|
render() {
|
|
5885
|
-
return (hAsync(Host, { key: '
|
|
5890
|
+
return (hAsync(Host, { key: 'fda102de643d0654008818d2fcde77410c6cdde2', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
5886
5891
|
horizontal: this.direction === "horizontal",
|
|
5887
5892
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
5888
5893
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
5889
5894
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
5890
5895
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
5891
5896
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
5892
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
5897
|
+
} }, hAsync("duet-fieldset", { key: '3f0fb7608260d92a4e92efedadb5e2a115a6d6c7', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '8c3ec02a326faca65617b165b7746e5e2963cce4', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c5ae2e61d96374bca1b12acdea2f47596401f456', name: "tooltip" }), hAsync("div", { key: '399845c3e169ceca3476e685bcd2ee76f8c45b02', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'ea9969eee1a0c2e454e59bffc03952c2247c119a' })))));
|
|
5893
5898
|
}
|
|
5894
5899
|
get element() { return getElement(this); }
|
|
5895
5900
|
static get watchers() { return {
|
|
@@ -6780,14 +6785,14 @@ class DuetCollapsible {
|
|
|
6780
6785
|
*/
|
|
6781
6786
|
render() {
|
|
6782
6787
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6783
|
-
return (hAsync(Host, { key: '
|
|
6788
|
+
return (hAsync(Host, { key: '249132a1b5e58240d37d3d995a4ef53378eff63f', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '7b9c2682402ac40049fa13406131a1d1a55eb051' }, hAsync("button", { key: 'cb3b234ce9ee241fa3f63c81850ea418af00f045', class: {
|
|
6784
6789
|
"duet-collapsible-heading": true,
|
|
6785
6790
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6786
6791
|
"duet-theme-turva": this.theme === "turva",
|
|
6787
6792
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6788
6793
|
"has-after-heading": this.hasAfterHeading,
|
|
6789
6794
|
"full-width": this.headingFullWidth,
|
|
6790
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
6795
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '4aebb0229f1a8436ef5413b696c8d8674d81bd7d', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'a67ec08b1f5f0ef4e3b7ece52664104d9d2df10b', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'a2a5c24dd64f3bab25c8167c11f738953e78a948', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '9d4820bb70777bfcaee8fc76f47fcba4e9ed9a91', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'cbe50074d804f79c746f29760d3536241e5d2717', name: "after-heading" }))))), hAsync("div", { key: '8cd82a8d4e2aa518cd1c9ca8451ace90a4ff8ec9', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '2bf409c9b05c884ce0c1de5358c4446ed0d6dc34' }))));
|
|
6791
6796
|
}
|
|
6792
6797
|
get element() { return getElement(this); }
|
|
6793
6798
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -7405,10 +7410,10 @@ class DuetContactCard {
|
|
|
7405
7410
|
render() {
|
|
7406
7411
|
const isTurva = this.theme === "turva";
|
|
7407
7412
|
const theme = isTurva ? "turva" : "default";
|
|
7408
|
-
return (hAsync(Host, { key: '
|
|
7413
|
+
return (hAsync(Host, { key: 'cc2e48ee12ea08d98bdcbffb297a6a2ed218e6b9', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '0f5aed0d311a0406993da0a933249ded67a9ad50', class: {
|
|
7409
7414
|
"duet-contact-card": true,
|
|
7410
7415
|
"duet-theme-turva": this.theme === "turva",
|
|
7411
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7416
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'e05a767fb9d0320158709bc7e04b53cf81cac23c' }, this.name && (hAsync("duet-heading", { key: '8af67cd790130a68be2360b74416e56776e07815', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '4e52d9752abdda1c14a711af4d1f0c0b587a661b', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'd5ef84acee777453998cc1094e0f6d3175099764', class: "email" }, hAsync("duet-icon", { key: '891e836d988732d4212878e8eeca2e3e7b1fa06b', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '7a1cc4a7bfa96f42084565ddde8ced1a5bcbdc76', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'aa53d063b0d6ea053a5f7826307d76b46a6687f6', class: "phone" }, hAsync("duet-icon", { key: 'b7fa45571c0ea392949010a31092aed317663f6e', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '70206b481553eec0d32322c2885a7c9a525a4398', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '59e34fec5982ee552dd914d1a40897d2a7d4b04a', class: "call-to-action" }, hAsync("duet-button", { key: '9b6982923e48f4b6ecdd123cf733d162a42ffa5b', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'ec7625ef7d5a327d1bfa192ddd950cfbb26db708' }), hAsync("slot", { key: 'c875ed1c02e6ef4aab02000dbe3e83fda4154315' }))));
|
|
7412
7417
|
}
|
|
7413
7418
|
get element() { return getElement(this); }
|
|
7414
7419
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7475,7 +7480,7 @@ class DuetCookieConsent {
|
|
|
7475
7480
|
* Always the last one in the class.
|
|
7476
7481
|
*/
|
|
7477
7482
|
render() {
|
|
7478
|
-
return (hAsync(Host, { key: '
|
|
7483
|
+
return (hAsync(Host, { key: 'a1ecd4a76baeb20fb29f1b50713568a61720c2eb', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '6b17b8d174b8bc5aa8cc5e8b0df9ddd034a1a2b0', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'd56a7cad1fe926db95e6124f4956d638b87d8002', class: "duet-cookie-consent-content" }, hAsync("div", { key: '7204cfdbde061697e6d8a9f81f446257eadf8c66', class: "expand" }, hAsync("slot", { key: '4a776a6aff7404999fac0ffb8450a35f9446a259' })), hAsync("duet-spacer", { key: 'e7f2aeaa800f7b5ae0e87343e46f59e4e46bf558', size: "large", direction: "horizontal" }), hAsync("div", { key: '35fc1ff56232a1bcf2b56867188ec75017be905f' }, hAsync("duet-button", { key: 'f59636a4e6a53ff79bddabe98ef61cd75b02b45e', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7479
7484
|
}
|
|
7480
7485
|
get element() { return getElement(this); }
|
|
7481
7486
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -7943,6 +7948,11 @@ class DuetDatePicker {
|
|
|
7943
7948
|
fi: "Liian myöhäinen päivämäärä",
|
|
7944
7949
|
sv: "Datum för sent",
|
|
7945
7950
|
},
|
|
7951
|
+
valueMissing: {
|
|
7952
|
+
en: "Date required",
|
|
7953
|
+
fi: "Päivämäärä vaaditaan",
|
|
7954
|
+
sv: "Datum krävs",
|
|
7955
|
+
},
|
|
7946
7956
|
};
|
|
7947
7957
|
this.enableActiveFocus = () => {
|
|
7948
7958
|
this.focusTarget = "day-button";
|
|
@@ -8294,13 +8304,13 @@ class DuetDatePicker {
|
|
|
8294
8304
|
if (maxDate) {
|
|
8295
8305
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
8296
8306
|
}
|
|
8297
|
-
return (hAsync(Host, { key: '
|
|
8307
|
+
return (hAsync(Host, { key: '92c25a766e7e2e60a83e54ac1c7edf470a7ff1a0', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '6cdb1b0f01b6c78d02c671500f191616c0356145', class: "duet-date" }, hAsync(DatePickerInput, { key: '69e8fad5a45210b3dcee7be49c780823598ac8e3', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || this.internalValidityError || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: '1c76a02e5be4e655cd4e0b149af246b207ad15a3', class: {
|
|
8298
8308
|
"duet-theme-turva": this.theme === "turva",
|
|
8299
8309
|
"duet-date-dialog": true,
|
|
8300
8310
|
left: this.direction === "left",
|
|
8301
8311
|
error: !!this.error,
|
|
8302
8312
|
active: this.open,
|
|
8303
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
8313
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'af91b4916f0bc2a1465682928af90a078b6b4e4c', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: '4f9b654ab68252f3632729aafa335e4c4a118c58', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: '9536e14ab5a6e019da01e3556073282f7ad9c638', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: 'f7f40e25da3fdb801a3716cbb6da9bef4908b298', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '89f68b3684a65cdc13c3592a3740f868fcf1e307', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: 'b9329644fbc88727451284e7c22bedba319190f8', margin: "none" }, this.label), hAsync("button", { key: 'f9caca17691f6998d54308443eac7cc094f73169', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: 'd92f0be1a0d6fb6f3d8c932f014c2f514c1319d2', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: '0f85d5bd40d51ad656f14420160bd83ab7ab2e12' }, text.closeLabel))), hAsync("div", { key: 'b7efee982426325152b879ac8795f75c55630ef9', class: "duet-date-dialog-header" }, hAsync("div", { key: '624226cb18e668939b48026df20ea362007d5eb1', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: '64ed0e02afe0315c73e483a212d6714fa9f8c1e6' }, hAsync("h2", { key: '1f10a89bef9824b1ebff2c0835c0cb4fb9847e89', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: 'f85bdb4030a8602df2642c8ff2c8e6a6725c139c' }, hAsync("label", { key: '608c3f38b8de7a92d6eaf74021c9dba15d5c1412', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: '268d9e71e46608d0aaaa19568b225b08089e0081', class: "duet-date-dialog-select" }, hAsync("select", { key: 'ea1b01e8f95fc44ea07b40b3593f2a22996cd33d', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: 'e6ae4d02638eaf53c593c98924733d72312bde26', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '18600d4d1cc074e8baca7a2e343ad92afb12f44d' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'e2d8b0f87130ff502900c86b2cc589b7df303bf8', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: 'c476ea21946afa2e3d484cbf054037435794d5e7' }, hAsync("label", { key: 'e670550be9ec69b1e8831aa4ae6bd223eb4cdc70', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: '853c7d5cd2639552d1c9be5266f4a3c7cb44cccb', class: "duet-date-dialog-select" }, hAsync("select", { key: '5b66d6b7ace30ed705429d96434dd886b39940e7', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: 'c8c57b69fff46d66ec5492bbe51f6c20d5367c7c', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '9faf074f79574e751b74f7a14e312b33aab586cb' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: '14fe782187efaba9c6403446f87a337585386c56', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: 'fbdfdf54c9a1d2133764d8c7465529d65e49e77d', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: 'aedcc0e167b29c902b69313821c454ff08f32693', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '2d872fe81ca740dba603c1c1a214d5bc7cf23be1', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: 'a05b3cf4dd91b6256fa336c2ceddf260fbe64e32', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: 'de51c28da1e9b5d2f87dc636006ad888f2486650', moveFocusTo: this.closeButtonNode }))));
|
|
8304
8314
|
}
|
|
8305
8315
|
get element() { return getElement(this); }
|
|
8306
8316
|
static get watchers() { return {
|
|
@@ -8380,7 +8390,7 @@ class DuetDivider {
|
|
|
8380
8390
|
*/
|
|
8381
8391
|
render() {
|
|
8382
8392
|
const background = getColorByName(this.color);
|
|
8383
|
-
return (hAsync("div", { key: '
|
|
8393
|
+
return (hAsync("div", { key: '25f4714a082e71f77ac7a873e1f4a37a9ba44e1c', class: {
|
|
8384
8394
|
"duet-m-0": this.margin === "none",
|
|
8385
8395
|
"duet-m-s": this.margin === "small",
|
|
8386
8396
|
"duet-divider": true,
|
|
@@ -8565,7 +8575,7 @@ class DuetEditableTable {
|
|
|
8565
8575
|
* Render Methods
|
|
8566
8576
|
*/
|
|
8567
8577
|
render() {
|
|
8568
|
-
return (hAsync(Host, { key: '
|
|
8578
|
+
return (hAsync(Host, { key: 'e0065483ff2e0a3993860c8a4d070937902722aa', class: {
|
|
8569
8579
|
[`duet-editable-table-${this.variation}`]: true,
|
|
8570
8580
|
"duet-editable-table": true,
|
|
8571
8581
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -8575,7 +8585,7 @@ class DuetEditableTable {
|
|
|
8575
8585
|
"duet-editable-table-actions": !!this.actions,
|
|
8576
8586
|
"duet-m-0": this.margin === "none",
|
|
8577
8587
|
"duet-theme-turva": this.theme === "turva",
|
|
8578
|
-
} }, hAsync("duet-table", { key: '
|
|
8588
|
+
} }, hAsync("duet-table", { key: '37756309155291fdc6d3113763314f524036daba', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: '6ed48cc74d29b6c4110eb776fbd4b3afe494a309', role: this.accessibleRole }, hAsync("caption", { key: '54ac0fe11e3828afb9fe55efe2091c051cbf606a' }, hAsync("slot", { key: '0748c8c3a1a86c9bb2e5461bc0ae2febe813ba96', name: "tcaption" })), hAsync("thead", { key: '70a834880f36029abaf6bd4c9b18a41445d5e42f' }, this.hasHeadSlotFirst && (hAsync("tr", { key: 'f2ee281168541b6f200e49a8cf70e92c5a304207' }, hAsync("td", { key: 'cf84d555a041b917cc3d16367f0def966c66575a', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '62be9b17b585a33e2ab03443c35036271077c98c', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '330b1ab67298bbaf5d1e811ddd5f55d25643a85f' }, hAsync("td", { key: '0153682e3091a90a81d47e12f66cbb5eb9147f8c', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '53c665398c691d197be3444a2a4f78da2b433b30', name: "thead-last" }))))), hAsync("tbody", { key: 'c4de0827a831ef580cbf2b3927957aa4e0f74e6e' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: 'b222604c1a1967cc0a214677160d02edb71f6c27' }, hAsync("tr", { key: '3a55e26899ec472bddcecf7031cd139961c9d914' }, hAsync("td", { key: '924929d81c5308e0dbde8379b3ad93afe27339ac', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'f475ebbe8088e6fd696500f6bf3221ebeb0fa8e1', name: "tfoot" })))))))));
|
|
8579
8589
|
}
|
|
8580
8590
|
get element() { return getElement(this); }
|
|
8581
8591
|
static get style() { return DuetEditableTableStyle0; }
|
|
@@ -8625,11 +8635,11 @@ class DuetEmptyState {
|
|
|
8625
8635
|
* Always the last one in the class.
|
|
8626
8636
|
*/
|
|
8627
8637
|
render() {
|
|
8628
|
-
return (hAsync(Host, { key: '
|
|
8638
|
+
return (hAsync(Host, { key: '285d5984f45086c54305c643e1974d8ff23e0207' }, hAsync("div", { key: '169b26d231a957c843b068a66511ea60f11143a3', class: {
|
|
8629
8639
|
"duet-empty-state": true,
|
|
8630
8640
|
"duet-theme-turva": this.theme === "turva",
|
|
8631
8641
|
"duet-is-small": this.size === "small",
|
|
8632
|
-
} }, hAsync("duet-icon", { key: '
|
|
8642
|
+
} }, hAsync("duet-icon", { key: '2a786961ff8018a43ff5ee297fca3a8ba5c0d63d', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: 'd3e51fbeb20d942c4593f1eda4f704e92d481014' }, hAsync("slot", { key: '06438b354c91955053ab1fd5a4f7447673909ea6' })))));
|
|
8633
8643
|
}
|
|
8634
8644
|
get element() { return getElement(this); }
|
|
8635
8645
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8685,20 +8695,20 @@ class DuetFieldset {
|
|
|
8685
8695
|
* Always the last one in the class.
|
|
8686
8696
|
*/
|
|
8687
8697
|
render() {
|
|
8688
|
-
return (hAsync(Host, { key: '
|
|
8698
|
+
return (hAsync(Host, { key: '54b468baaf4dd04309e347b3ad7886a84af47e70', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'f28b6b4150eed4c469cf682559701ba75100bccd', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8689
8699
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8690
8700
|
// once they do, we can remove errors from the aria-describedby
|
|
8691
8701
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8692
8702
|
class: {
|
|
8693
8703
|
"duet-fieldset": true,
|
|
8694
8704
|
"duet-theme-turva": this.theme === "turva",
|
|
8695
|
-
} }, hAsync("legend", { key: '
|
|
8705
|
+
} }, hAsync("legend", { key: '18c10c7e8d4f3e0c8600a139d54f43b09c4e45ab', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '91038b7ead81fc4cff1f45bdd5a115171d27f0e8' }, this.label), this.caption && hAsync("span", { key: 'a651082ad238bc8f7f16728a1144cf03c3df338e' }, this.caption)), hAsync("div", { key: 'e463811e43f250b812d8e7efd14f4955a3f683c7', class: {
|
|
8696
8706
|
"duet-legend-wrapper": true,
|
|
8697
8707
|
"duet-legend-has-caption": !!this.caption,
|
|
8698
8708
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8699
8709
|
"duet-legend-hidden": this.labelHidden,
|
|
8700
8710
|
"duet-legend-compact": this.compactLabel,
|
|
8701
|
-
} }, hAsync("div", { key: '
|
|
8711
|
+
} }, hAsync("div", { key: 'b3644143964cf701cf9821abec4fb6b4f77f46ac', class: "duet-fieldset-label" }, hAsync("span", { key: '9645038dd64c0d028d0fba2bc2d2df9157bdf5c0', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '9bda9a72a19a343ae0b62bfd3e9962f5adb29c2c', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5939d10ccde6c9b1beded70128458a1e7d831b4d', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '9a7631156e00e7bd460fe08e74aec8e68920dc4a', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'df21df9932f6ad85e4682a9216ac816da5369a95' }), hAsync("span", { key: '56f7b06185c295981802aa98bfb06121c6286fea', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '779d4c05e3cf5d5240af36d2338b1a757f1e947e' }, this.error)))));
|
|
8702
8712
|
}
|
|
8703
8713
|
get element() { return getElement(this); }
|
|
8704
8714
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8842,15 +8852,15 @@ class DuetFooter {
|
|
|
8842
8852
|
render() {
|
|
8843
8853
|
const text = getLocaleString(i18n$1, this.language);
|
|
8844
8854
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8845
|
-
return (hAsync("footer", { key: '
|
|
8855
|
+
return (hAsync("footer", { key: '7df55c7d655b77f110d55b85ec86e7884f5c8d7e', class: {
|
|
8846
8856
|
"duet-footer": true,
|
|
8847
8857
|
"duet-m-0": this.margin === "none",
|
|
8848
8858
|
"duet-theme-turva": this.theme === "turva",
|
|
8849
8859
|
"duet-footer-simple": this.variation === "simple",
|
|
8850
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8860
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '2b32d2272dc4dc40168f3e81918a1e1efad970de', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '950af53de6fdcb8affc352bc1d4a7fe129b385d3', class: {
|
|
8851
8861
|
"duet-footer-top": true,
|
|
8852
8862
|
"duet-has-info": this.hasInfoSlot,
|
|
8853
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8863
|
+
}, part: "top" }, hAsync("div", { key: '5fb042ef3a17ff164961e7b73fb765d3911c6d01', class: "footer-top-logo" }, hAsync("duet-logo", { key: '81426531a428181b61571ddc2c008e2fee0b7b31', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: 'efb8ad879b986cf8a0d8921ac83f746c8514d3c3', class: "footer-top-right-container" }, hAsync("slot", { key: '8cfd7e50461e06f6c2138114c599c0222d40a8f8', name: "info" }), hAsync("div", { key: 'ee51536afc0cfc9a8f29f6daad2efaf959f67c07', class: "footer-top-items" }, this.processedItems &&
|
|
8854
8864
|
this.processedItems.map((item, index) => {
|
|
8855
8865
|
var _a, _b, _c, _d, _e, _f;
|
|
8856
8866
|
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:"))
|
|
@@ -8860,7 +8870,7 @@ class DuetFooter {
|
|
|
8860
8870
|
: "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:"))
|
|
8861
8871
|
? "medium"
|
|
8862
8872
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8863
|
-
}))))), hAsync("slot", { key: '
|
|
8873
|
+
}))))), hAsync("slot", { key: 'b745d299193ac3c349416cdc00e0e8fe8b00cc0b', name: "extra" }), hAsync("p", { key: '251e9182681b71b0d07e41d7df3f7469bf1b7e53', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '857bb6f4883ae0656d30b2c47fb955ea64fdf064', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '913d0e1e22975d0a46bdd5f33cf05707c475b8e3', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '99fcb2936895ef6216e4b4e46cdf0910f7128505' }, 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: '3f2de8ce8cb237e92b75d7569811f5ac022d7dc5', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8864
8874
|
}
|
|
8865
8875
|
get element() { return getElement(this); }
|
|
8866
8876
|
static get watchers() { return {
|
|
@@ -9064,7 +9074,7 @@ class DuetGrid {
|
|
|
9064
9074
|
* Always the last one in the class.
|
|
9065
9075
|
*/
|
|
9066
9076
|
render() {
|
|
9067
|
-
return (hAsync(Host, { key: '
|
|
9077
|
+
return (hAsync(Host, { key: 'b719a6d43845829fbda8dbc93e67aecf0894ce57', class: {
|
|
9068
9078
|
"duet-grid": true,
|
|
9069
9079
|
"duet-no-stacking": !this.responsive,
|
|
9070
9080
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -9091,7 +9101,7 @@ class DuetGrid {
|
|
|
9091
9101
|
"duet-grid-row-reverse": this.rowReverse,
|
|
9092
9102
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
9093
9103
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
9094
|
-
} }, hAsync("slot", { key: '
|
|
9104
|
+
} }, hAsync("slot", { key: '9ff8a76a35e45a15ef04f376f5b4387609e0ae7d' })));
|
|
9095
9105
|
}
|
|
9096
9106
|
get element() { return getElement(this); }
|
|
9097
9107
|
static get watchers() { return {
|
|
@@ -9147,7 +9157,7 @@ class DuetGridItem {
|
|
|
9147
9157
|
* Always the last one in the class.
|
|
9148
9158
|
*/
|
|
9149
9159
|
render() {
|
|
9150
|
-
return (hAsync(Host, { key: '
|
|
9160
|
+
return (hAsync(Host, { key: 'cc7ed307e094fa01452cf707961c183c0622b6e7', style: {
|
|
9151
9161
|
"min-width": this.minWidth,
|
|
9152
9162
|
"max-width": this.maxWidth,
|
|
9153
9163
|
}, class: {
|
|
@@ -9164,7 +9174,7 @@ class DuetGridItem {
|
|
|
9164
9174
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
9165
9175
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
9166
9176
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
9167
|
-
} }, hAsync("slot", { key: '
|
|
9177
|
+
} }, hAsync("slot", { key: 'c6d01898a86329bdc57abd35a6a6e71bf80fe2c3' })));
|
|
9168
9178
|
}
|
|
9169
9179
|
static get style() { return DuetGridItemStyle0; }
|
|
9170
9180
|
static get cmpMeta() { return {
|
|
@@ -10028,7 +10038,7 @@ class DuetHeading {
|
|
|
10028
10038
|
render() {
|
|
10029
10039
|
const TagName = sanitizeString$1(this.level);
|
|
10030
10040
|
const color = getColorByName(this.color);
|
|
10031
|
-
return (hAsync(TagName, { key: '
|
|
10041
|
+
return (hAsync(TagName, { key: '639aa76baa836dd1154030602e491d5592976e29', class: {
|
|
10032
10042
|
"duet-heading": true,
|
|
10033
10043
|
"duet-heading-border": this.border !== false,
|
|
10034
10044
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -10039,7 +10049,7 @@ class DuetHeading {
|
|
|
10039
10049
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
10040
10050
|
"duet-theme-turva": this.theme === "turva",
|
|
10041
10051
|
"fixed-size": this.fixedSize,
|
|
10042
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
10052
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '99875cdb1ebbbee0ac5a3b7821dcb8504f2f8bb9' })));
|
|
10043
10053
|
}
|
|
10044
10054
|
get element() { return getElement(this); }
|
|
10045
10055
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -10219,7 +10229,7 @@ class DuetHero {
|
|
|
10219
10229
|
outlineColor = "color-primary-turva";
|
|
10220
10230
|
}
|
|
10221
10231
|
}
|
|
10222
|
-
return (hAsync("div", { key: '
|
|
10232
|
+
return (hAsync("div", { key: 'cd832b5e8188e532f0ecb10d28ece8c2f70620cb', role: "region", class: {
|
|
10223
10233
|
"duet-hero": true,
|
|
10224
10234
|
"duet-theme-turva": this.theme === "turva",
|
|
10225
10235
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -10237,17 +10247,17 @@ class DuetHero {
|
|
|
10237
10247
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
10238
10248
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
10239
10249
|
"duet-hero-narrow": this.layout === "narrow",
|
|
10240
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
10241
|
-
this.processedBack && (hAsync("div", { key: '
|
|
10250
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'a0c0e2a882ce53fc12df229b82f252b93255f01f', class: "background-area" }, hAsync("div", { key: 'cbf3c4d1706429955cd8a96fa1abe704291bf06e', class: "background-container" }, hAsync("div", { key: '71e820f0db414855ce2b04a5ccb9786a7a537bb9', class: "background" }, hAsync("img", { key: 'd4fbd658939268638ca18fe7281ecdea112b2822', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '0cf25b23521910a66642f8209226664a4b0e9822', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '208c56a58ae8d77b3544530d9624a1cb954cf655', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '946e5c4c89f3db22c5b476cc140579df3eddbd94', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '66c7f02ad559c5ac59b073fead93d58fea9e5fe9', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '7e4091890f931854afed8128e6de0e93030f715c', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'adfb7615caee3393c994da443ea9cee8632c5641', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '96c34abde476c7148702505199ec8264136f5b0e', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '229f4a4795ba3417527975deb1e76c6cb3c1ab41', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '3f2ae353726fc0027be26b9a5b3da24693bd6355', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'dfba6947ca623bcc1f3adb1d39f78c9c1fdff562', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'fbd2783758a9fad396d0dd6ccfbe2e7d395c4c62', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'c9d8e628a6373ecaefc574493e1f646e5fe57af5', class: "background-area" }, hAsync("div", { key: '13f4968245418640136214af84e6e6d3b2b69960', class: "background" }, hAsync("div", { key: '174100e1cdae385a217f21d665dbeae19d65842b', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'e7f53e49cde5f440a103ed6fc7213fb4e116f525', class: "brand-shape" }), hAsync("div", { key: '02e2685bcca6c6d575dfcf87341f15a77650a7d2', class: "brand-shaped-image" }, hAsync("div", { key: '8869ad1d98fcec90ecd9e04d2f57d99755f3ce86', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'ff6788133937b451221e626f037477ae3b741a63', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'b73fd95091cdc38b2e0a0a639890795fd553a499', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '753ef04538804cd1dbfe40b6f28a8f2046572a9f', class: "duet-hero-image-mask" }, hAsync("div", { key: 'b7b22993441b9f1d835962bf4a8f7858c3e95fea', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '5c1d3d40b10459331c8a5dfa2976423348bea6b7', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
10251
|
+
this.processedBack && (hAsync("div", { key: '064a08fc1f8d3a39569dd51d6367a8d6ec57f4b7', class: "duet-hero-back" }, hAsync("duet-button", { key: 'a2a72e4fb80142e5b5cd89d465f1666d7b87222b', 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, {
|
|
10242
10252
|
label: this.processedBack.label,
|
|
10243
10253
|
href: this.processedBack.href,
|
|
10244
10254
|
id: this.processedBack.id,
|
|
10245
10255
|
analyticsId: this.processedBack.analyticsId,
|
|
10246
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
10256
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'aed0e3448d26be3fef13e54e4b2fa56de2cba5ad', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'f628fbc033ea3260b0ea60ca86dead17c3f23fec', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'fbdce7136af5984d7515c5e4775e6c113bc90784', 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: 'f797401a3dd28b2359ece9d162edb80a3235c7c4', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'f9c2a9cfdd540ea2ccb8850ddbd6d23ae9777bfe', 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: 'c0ca02639838464301ebc356e61c36e2e3dde253', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'bf4f44822249e6ccb2754c714d090dd8a7f71ef0', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '2014cb831d827c2564c6ae5ad1a7b9dda4b076ac', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'a445e0970b8f7f1558d9b5f262c5442d1891a69e', 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: 'c09844b83722bd18401715d0abf0481155c1e298', 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: '480afbbcede21c5920cd06de678a2d9126f25150' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'b21813206501ea887a74fd8c01fd04c5236e909a', 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 &&
|
|
10247
10257
|
this.variation !== "image" &&
|
|
10248
10258
|
!campaignOrSection &&
|
|
10249
10259
|
this.variation !== "product" &&
|
|
10250
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
10260
|
+
this.variation !== "content" && hAsync("div", { key: 'c3426d3f22c5897a4e6e22c14008146d8e871e6b', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '5d9278bd5f22bba93e4e16d3261d1772eb844c07', name: "bottom" }))));
|
|
10251
10261
|
}
|
|
10252
10262
|
get element() { return getElement(this); }
|
|
10253
10263
|
static get watchers() { return {
|
|
@@ -10373,11 +10383,11 @@ class DuetIcon {
|
|
|
10373
10383
|
: {};
|
|
10374
10384
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10375
10385
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10376
|
-
return (hAsync(Host, { key: '
|
|
10386
|
+
return (hAsync(Host, { key: '629f57b6ddd5d6ae803d93be4da1f502ebc9f7a7', class: {
|
|
10377
10387
|
"duet-m-0": this.margin === "none",
|
|
10378
10388
|
"duet-icon-has-outline": !!this.outline,
|
|
10379
10389
|
"duet-icon-has-background": !!this.background,
|
|
10380
|
-
} }, hAsync("span", { key: '
|
|
10390
|
+
} }, hAsync("span", { key: '8c2fd3cc25c602dbdf95494dc938fb8a0e087b3e', "aria-hidden": "true", style: styles, class: {
|
|
10381
10391
|
"duet-icon": true,
|
|
10382
10392
|
"duet-theme-turva": this.theme === "turva",
|
|
10383
10393
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10386,7 +10396,7 @@ class DuetIcon {
|
|
|
10386
10396
|
[shapeStyle]: true,
|
|
10387
10397
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10388
10398
|
"duet-icon-not-responsive": !this.responsive,
|
|
10389
|
-
} }, hAsync("span", { key: '
|
|
10399
|
+
} }, hAsync("span", { key: 'b0cf55b4aef036582b857703048eb946400388bb', "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 }))));
|
|
10390
10400
|
}
|
|
10391
10401
|
get element() { return getElement(this); }
|
|
10392
10402
|
static get watchers() { return {
|
|
@@ -10901,7 +10911,7 @@ class DuetInput {
|
|
|
10901
10911
|
this.type !== "password" &&
|
|
10902
10912
|
this.type !== "time" &&
|
|
10903
10913
|
this.variation !== "button";
|
|
10904
|
-
return (hAsync(Host, { key: '
|
|
10914
|
+
return (hAsync(Host, { key: '6c1d94f9d544b1fdec23f6993ea8856acb3ec25e', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '1c71f810fadfda464bf37499ef37dd373f610534', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '1aeff156d8453ad8315d3e42af92f095ca7f6328', class: {
|
|
10905
10915
|
"duet-input-container": true,
|
|
10906
10916
|
"duet-theme-turva": this.theme === "turva",
|
|
10907
10917
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -10915,7 +10925,7 @@ class DuetInput {
|
|
|
10915
10925
|
"has-clear": this.clear,
|
|
10916
10926
|
"has-focus": this.isFocused,
|
|
10917
10927
|
disabled: this.disabled,
|
|
10918
|
-
} }, hAsync("div", { key: '
|
|
10928
|
+
} }, hAsync("div", { key: 'a2a51d7bc74afa312058cabb51f94da42f54fc46', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '7859061ce09bb88f1bee4b275a23b05c968b06fd', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '90608b6e873b5ccbda49563f4a04eef3e96ab48d', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'c77595ab15425b05c43c1bd4787f6088ef2e7499', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: '07107c13f7f6269abdf11207be8ba7ce093c735b', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '711e8416c4f16e82aa3efcecf68f9d7fa1cbb384', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: '4a0c67e4968b454c6cc339ae816d8c3eb2142861', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '5c6bc95cfc7149aba9245c5f58e558a6831081d8', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), hAsync("input", Object.assign({ key: '3a70569af48c892b197d5dae77254074120bc185', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
10919
10929
|
"duet-input": true,
|
|
10920
10930
|
disabled: this.disabled,
|
|
10921
10931
|
"is-number": this.component === "number",
|
|
@@ -10923,16 +10933,16 @@ class DuetInput {
|
|
|
10923
10933
|
"after-chip": this.getAllChips().length > 0,
|
|
10924
10934
|
"align-right": this.inputAlign === "right",
|
|
10925
10935
|
[`input-padding-${this.inputPadding}`]: true,
|
|
10926
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
10936
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '0377efc4c565c66f5c14cb741f8ccb3e2545221a', class: "duet-input-icon" }, hAsync("duet-icon", { key: '862ec3d70162837ad3c72e1c648176c1dc771d36', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: '4bbb87e3df3d533e086c2e5b0614e7a5fd1498df', class: {
|
|
10927
10937
|
"duet-input-clear-icon": true,
|
|
10928
10938
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
10929
10939
|
"duet-input-clear-icon-double": !!this.icon,
|
|
10930
10940
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
10931
|
-
} }, hAsync("button", { key: '
|
|
10941
|
+
} }, hAsync("button", { key: '08ead94af1665bdbd5f5ef366b29bba89d7df0c6', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: 'f7a0d73ec05dfd4f0b1bdbd097f6637b18f6c62f', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '555da51b2ccc71bfdc259ee3b80ef0cb550a2757', class: "duet-input-icon" }, hAsync("duet-icon", { key: '4e61179d3006a21c36518b34a198f1ebbcd4ba65', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '1fa648c46fd4dd1929185f0a0216e91724dd234f', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: 'ba539f81b4de281f1f548f858144120a308b7f27', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
10932
10942
|
? this.hidePasswordLabel[this.language]
|
|
10933
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
10943
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: 'f2b57b97cb3de186e3e7cc8fcff5bff2aa0c50f7' }, hAsync("span", { key: '44280ae6250bd248ef4bc32ee3fda8adafb0b922', "aria-live": "polite" }, this.isPasswordRevealed
|
|
10934
10944
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
10935
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
10945
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '37f27ffb2c201fef8f4058dabf29734c1fb596c6' })), hAsync("span", { key: '87b22ac00aca098cc5e076850ca390e29cc022c9', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '961a7bdca67b47c2d4f694095fb9fe6edde487f7', class: "duet-input-error" }, this.error)))));
|
|
10936
10946
|
}
|
|
10937
10947
|
get element() { return getElement(this); }
|
|
10938
10948
|
static get watchers() { return {
|
|
@@ -11161,7 +11171,7 @@ function getAccessibleLinkLabel(component) {
|
|
|
11161
11171
|
return null;
|
|
11162
11172
|
}
|
|
11163
11173
|
|
|
11164
|
-
const duetLinkCss = "*,*::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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;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:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link: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-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);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-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
11174
|
+
const duetLinkCss = "*,*::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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;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:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link: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-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.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(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);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-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
11165
11175
|
var DuetLinkStyle0 = duetLinkCss;
|
|
11166
11176
|
|
|
11167
11177
|
/**
|
|
@@ -11193,7 +11203,6 @@ class DuetLink {
|
|
|
11193
11203
|
this.iconResponsive = false;
|
|
11194
11204
|
this.margin = "auto";
|
|
11195
11205
|
this.padding = "auto";
|
|
11196
|
-
this.isSmallScreen = false;
|
|
11197
11206
|
this.isMediumScreen = false;
|
|
11198
11207
|
}
|
|
11199
11208
|
/**
|
|
@@ -11201,7 +11210,6 @@ class DuetLink {
|
|
|
11201
11210
|
*/
|
|
11202
11211
|
componentWillLoad() {
|
|
11203
11212
|
inheritGlobalTheme(this);
|
|
11204
|
-
this.initMediaQuery();
|
|
11205
11213
|
this.resolvedDownload = this.resolveDownload();
|
|
11206
11214
|
// button variation renders a button element when no url is provided
|
|
11207
11215
|
if (this.variation === "button" && this.url === "#") {
|
|
@@ -11216,7 +11224,6 @@ class DuetLink {
|
|
|
11216
11224
|
}
|
|
11217
11225
|
disconnectedCallback() {
|
|
11218
11226
|
disconnectLanguageChangeObserver(this);
|
|
11219
|
-
this.destroyMediaQuery();
|
|
11220
11227
|
}
|
|
11221
11228
|
/**
|
|
11222
11229
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -11225,20 +11232,6 @@ class DuetLink {
|
|
|
11225
11232
|
async setFocus(options) {
|
|
11226
11233
|
this.nativeLink.focus(options);
|
|
11227
11234
|
}
|
|
11228
|
-
initMediaQuery() {
|
|
11229
|
-
{
|
|
11230
|
-
return;
|
|
11231
|
-
}
|
|
11232
|
-
}
|
|
11233
|
-
destroyMediaQuery() {
|
|
11234
|
-
{
|
|
11235
|
-
return;
|
|
11236
|
-
}
|
|
11237
|
-
}
|
|
11238
|
-
screenTest(event) {
|
|
11239
|
-
this.isSmallScreen = event.matches;
|
|
11240
|
-
this.isMediumScreen = event.matches;
|
|
11241
|
-
}
|
|
11242
11235
|
resolveDownload() {
|
|
11243
11236
|
if (this.download === "") {
|
|
11244
11237
|
return this.url.split("/").pop();
|
|
@@ -11251,19 +11244,13 @@ class DuetLink {
|
|
|
11251
11244
|
return (hAsync(Fragment, null, hAsync("span", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), Build.isBrowser ));
|
|
11252
11245
|
}
|
|
11253
11246
|
renderBlockContent() {
|
|
11254
|
-
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "block__icon" }, hAsync("duet-icon", {
|
|
11247
|
+
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "block__icon" }, hAsync("duet-icon", { class: this.iconResponsive ? "icon-responsive" : "", size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), hAsync("span", { class: "block__content" }, this.renderDefaultContent()), hAsync("span", { class: "block__chevron", part: "block-chevron" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11255
11248
|
}
|
|
11256
11249
|
renderButtonCardContent() {
|
|
11257
11250
|
const iconWrapStyle = {
|
|
11258
11251
|
"background-color": getColorByName(this.iconBackground, this.theme),
|
|
11259
11252
|
};
|
|
11260
|
-
|
|
11261
|
-
if (this.variation === "button") {
|
|
11262
|
-
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
11263
|
-
}
|
|
11264
|
-
return this.isMediumScreen ? "large" : "medium";
|
|
11265
|
-
};
|
|
11266
|
-
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "icon-wrap", style: iconWrapStyle }, hAsync("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), hAsync("div", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), hAsync("span", { class: "chevron-wrap" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11253
|
+
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "icon-wrap", style: iconWrapStyle }, hAsync("duet-icon", { size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), hAsync("div", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), hAsync("span", { class: "chevron-wrap" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11267
11254
|
}
|
|
11268
11255
|
renderContent() {
|
|
11269
11256
|
switch (this.variation) {
|
|
@@ -11283,10 +11270,10 @@ class DuetLink {
|
|
|
11283
11270
|
render() {
|
|
11284
11271
|
const Tag = !this.url ? "button" : "a";
|
|
11285
11272
|
const isButton = Tag === "button";
|
|
11286
|
-
return (hAsync(Host, { key: '
|
|
11273
|
+
return (hAsync(Host, { key: 'abc49b84dd9a522c921d5447f1b2ec451a456f44', class: {
|
|
11287
11274
|
[`duet-link-${this.variation}`]: true,
|
|
11288
11275
|
"duet-m-0": this.margin === "none",
|
|
11289
|
-
} }, hAsync(Tag, { key: '
|
|
11276
|
+
} }, hAsync(Tag, { key: '24ecdb7c1b3bbb33f2cf612170574b06931574fc', href: this.url, class: {
|
|
11290
11277
|
"duet-link": true,
|
|
11291
11278
|
"duet-link-is-external": this.external,
|
|
11292
11279
|
"duet-link-is-download": !!this.download,
|
|
@@ -11327,7 +11314,6 @@ class DuetLink {
|
|
|
11327
11314
|
"iconResponsive": [4, "icon-responsive"],
|
|
11328
11315
|
"margin": [1],
|
|
11329
11316
|
"padding": [1],
|
|
11330
|
-
"isSmallScreen": [32],
|
|
11331
11317
|
"isMediumScreen": [32],
|
|
11332
11318
|
"setFocus": [64]
|
|
11333
11319
|
},
|
|
@@ -11459,14 +11445,14 @@ class DuetListItem {
|
|
|
11459
11445
|
* Always the last one in the class.
|
|
11460
11446
|
*/
|
|
11461
11447
|
render() {
|
|
11462
|
-
return (hAsync(Host, { key: '
|
|
11448
|
+
return (hAsync(Host, { key: 'eb9ff2970967f44ffa2b7b6e2c5364d5e1ca9514', class: {
|
|
11463
11449
|
"duet-no-stacking": !this.responsive,
|
|
11464
11450
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
11465
11451
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
11466
11452
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11467
11453
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11468
11454
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11469
|
-
} }, hAsync("dt", { key: '
|
|
11455
|
+
} }, hAsync("dt", { key: 'ad7a453ca942b71da2961c6f369102c739bb1f5c' }, hAsync("slot", { key: 'b697a80721b971d368b1a079f60dde00a821d236', name: "label" })), hAsync("dd", { key: '2a7d656b698a301e35a9537587f4676302f101b5' }, hAsync("slot", { key: '230ef1772d105ed50286c7dfbe2aac5f51ebffa6', name: "value" }))));
|
|
11470
11456
|
}
|
|
11471
11457
|
static get style() { return DuetListItemStyle0; }
|
|
11472
11458
|
static get cmpMeta() { return {
|
|
@@ -11811,10 +11797,10 @@ class DuetMenuBarButton {
|
|
|
11811
11797
|
* Always the last one in the class.
|
|
11812
11798
|
*/
|
|
11813
11799
|
render() {
|
|
11814
|
-
return (hAsync(Host, { key: '
|
|
11800
|
+
return (hAsync(Host, { key: 'ea08eb1eddf43b131574bef0516845144bf00b7b', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: 'e156fc55985037a6ec644448c3f5c707c2aeac7e', ref: button => (this.nativeButton = button), class: {
|
|
11815
11801
|
"duet-menu-bar-button": true,
|
|
11816
11802
|
"duet-theme-turva": this.theme === "turva",
|
|
11817
|
-
}, "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: '
|
|
11803
|
+
}, "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: 'afdafd0bbf7f48b10fe80db0ad1286b17ef60302', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '69d0a72d7e725db69165b4eed4e8f11de4a52429' }))));
|
|
11818
11804
|
}
|
|
11819
11805
|
get element() { return getElement(this); }
|
|
11820
11806
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11897,17 +11883,17 @@ class DuetMenuBarDropdown {
|
|
|
11897
11883
|
* Always the last one in the class.
|
|
11898
11884
|
*/
|
|
11899
11885
|
render() {
|
|
11900
|
-
return (hAsync(Host, { key: '
|
|
11886
|
+
return (hAsync(Host, { key: 'd71c83e01aa8580e0bd1eaabb91f3cca8734cc1b', role: "listitem" }, hAsync("div", { key: '7d606d5d43394752e02f372c6c1bc2df44fbb977', class: {
|
|
11901
11887
|
"duet-menu-bar-dropdown": true,
|
|
11902
11888
|
"duet-theme-turva": this.theme === "turva",
|
|
11903
11889
|
active: this.open,
|
|
11904
11890
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11905
|
-
} }, hAsync("button", { key: '
|
|
11891
|
+
} }, hAsync("button", { key: '88715073efb8ef87d18ebcbd493eabf5f4b10da5', 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: {
|
|
11906
11892
|
active: this.open,
|
|
11907
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11893
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'f70f97a8ba1769cc7eb214fa8c56f0fd526fd092', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4d2d51d01fa52e5ebeb1aebeedb80d32021938dd', class: "label" }, hAsync("slot", { key: 'ca9b40f144b8a0480fc04c51b336a4df20e30e5d', name: "label" }), hAsync("duet-icon", { key: 'bfca42219c5bd1c00604d68f6d3fe5b392e344ce', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '35cf265e22ea94935890b4029cfd757e6f2a70ff', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11908
11894
|
items: true,
|
|
11909
11895
|
hidden: !this.open,
|
|
11910
|
-
} }, hAsync("slot", { key: '
|
|
11896
|
+
} }, hAsync("slot", { key: '1aa83e543c586acb204c20e6762ffd98e6ad7d33' })))));
|
|
11911
11897
|
}
|
|
11912
11898
|
get element() { return getElement(this); }
|
|
11913
11899
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11967,11 +11953,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11967
11953
|
* Always the last one in the class.
|
|
11968
11954
|
*/
|
|
11969
11955
|
render() {
|
|
11970
|
-
return (hAsync(Host, { key: '
|
|
11956
|
+
return (hAsync(Host, { key: 'ed174973681522fe7f35b14edcf2e8782306e1bc' }, hAsync("a", { key: '0be57e484e5dd38f3375d5387ed7ccfa5a88d0d2', class: {
|
|
11971
11957
|
"duet-menu-bar-dropdown-link": true,
|
|
11972
11958
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11973
11959
|
"duet-theme-turva": this.theme === "turva",
|
|
11974
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11960
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '966909764e92b7255432320ae69566ec4373863f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '65e6a089fd9a1859ef86b3efc9487268c088b8dd' }))));
|
|
11975
11961
|
}
|
|
11976
11962
|
get element() { return getElement(this); }
|
|
11977
11963
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -12035,11 +12021,11 @@ class DuetMenuBarItem {
|
|
|
12035
12021
|
*/
|
|
12036
12022
|
render() {
|
|
12037
12023
|
const TagName = this.url ? "a" : "button";
|
|
12038
|
-
return (hAsync(Host, { key: '
|
|
12024
|
+
return (hAsync(Host, { key: '8346b680f96a6c7fe3fca566391be07cdeede6cb', role: "listitem" }, hAsync(TagName, { key: 'bbd5013aeca3b13a33853b090201f3680c1b4b5c', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
12039
12025
|
"duet-menu-bar-item": true,
|
|
12040
12026
|
"duet-theme-turva": this.theme === "turva",
|
|
12041
12027
|
active: this.active,
|
|
12042
|
-
}, 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: '
|
|
12028
|
+
}, 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: '38d682ecc0709ecfd54ecb8d3e59beee23f76b65', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '0c6c8d102b7ef15a63b82d703f68688933791c8b' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'b5969ef13a137d3801d9f9fa1d6fd4cf4ac8a1b1', class: {
|
|
12043
12029
|
"trailing-icon": !!this.trailingIcon,
|
|
12044
12030
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
12045
12031
|
"external-icon": !!this.external,
|
|
@@ -12094,11 +12080,11 @@ class DuetMenuBarLink {
|
|
|
12094
12080
|
* Always the last one in the class.
|
|
12095
12081
|
*/
|
|
12096
12082
|
render() {
|
|
12097
|
-
return (hAsync(Host, { key: '
|
|
12083
|
+
return (hAsync(Host, { key: '7b49e5fa6febb45032d34e0267d2c4f86fcdb929', role: "listitem" }, hAsync("a", { key: '9a0bc708043462ecb37cddf3a332beb31a44f106', class: {
|
|
12098
12084
|
"duet-menu-bar-link": true,
|
|
12099
12085
|
"duet-theme-turva": this.theme === "turva",
|
|
12100
12086
|
active: this.active,
|
|
12101
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
12087
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8d686c07c24a63b2effd37edcf12a283a2f303b8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd17e247634ebfd380b813f7a4b520e925cf2e966' }))));
|
|
12102
12088
|
}
|
|
12103
12089
|
get element() { return getElement(this); }
|
|
12104
12090
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -12732,7 +12718,7 @@ class DuetNav {
|
|
|
12732
12718
|
* Always the last one in the class.
|
|
12733
12719
|
*/
|
|
12734
12720
|
render() {
|
|
12735
|
-
return (hAsync(Host, { key: '
|
|
12721
|
+
return (hAsync(Host, { key: '94fa159d4668798827aae4cf880b4e201233cd5a' }, hAsync("div", { key: '986b4d35264824461ed8d5eae8c758d85de958cc', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '808bb9c1d6b973959c0224e6b684a2cd32395b8c' }), hAsync("slot", { key: '21d7bd71a8f482748d5edbea809896fa9f0d8ad6', name: "mobile" }), hAsync("slot", { key: 'da07e3716e651f37be80fc1cc9d579cd3660f664', name: "desktop" }))));
|
|
12736
12722
|
}
|
|
12737
12723
|
get element() { return getElement(this); }
|
|
12738
12724
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12791,11 +12777,11 @@ class DuetNotification {
|
|
|
12791
12777
|
this.linkElement.focus(options);
|
|
12792
12778
|
}
|
|
12793
12779
|
render() {
|
|
12794
|
-
return (hAsync("div", { key: '
|
|
12780
|
+
return (hAsync("div", { key: '81e1a7dba20e71dd78f7cda67af1b134f8243a0d', role: "listitem", class: {
|
|
12795
12781
|
"duet-notification": true,
|
|
12796
12782
|
"duet-notification-highlight": this.highlight,
|
|
12797
12783
|
"duet-theme-turva": this.theme === "turva",
|
|
12798
|
-
} }, hAsync("a", { key: '
|
|
12784
|
+
} }, hAsync("a", { key: 'a11fdf578bb85562ad56774479b25b67e6d674cb', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'ffaec64c316d8b207e8981f3255eb19f256e6567', class: "duet-notification-container" }, hAsync("div", { key: 'b9b9574f9349d045f6d6d2c7dfd1f81ae625cff7', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '1159695ff9d59ce3650e2e8c3cb7f897fa623a14', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '0d35c87007f9fab37c0680e701ed813c8d488c79' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '0514c0144473abb2de036c2d1e265bf7be71d490', class: "duet-notification-content" }, hAsync("slot", { key: '936452a25c6eebd842e7cbe32ff2c7a7c3951462' })), hAsync("div", { key: '633f3707f138963432acb2b330a9fe97bcbbc990', class: "duet-notification-date" }, this.date)))));
|
|
12799
12785
|
}
|
|
12800
12786
|
get element() { return getElement(this); }
|
|
12801
12787
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -13466,12 +13452,12 @@ class DuetPageHeading {
|
|
|
13466
13452
|
*/
|
|
13467
13453
|
render() {
|
|
13468
13454
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13469
|
-
return (hAsync("div", { key: '
|
|
13455
|
+
return (hAsync("div", { key: 'b53c67717148c6f485f7d48dc14f8d39ebbda285', class: {
|
|
13470
13456
|
"duet-page-heading": true,
|
|
13471
13457
|
"duet-theme-turva": this.theme === "turva",
|
|
13472
13458
|
"has-icon": !!this.icon,
|
|
13473
13459
|
[layout]: true,
|
|
13474
|
-
} }, hAsync("div", { key: '
|
|
13460
|
+
} }, hAsync("div", { key: 'd03242a40268ceda1ff92bbe42b312c91af0a42c', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'e669b810ab7a753605d49eb75128d612f99beef8', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '92231ecc80fba9f23adfd96d829f12f3b0c2d359', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '70ab0d49b94d16e51b438641ca442d3f2947b4c6', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '68333b604fe8d86e0cb17743116dcd49cc9cd0a6', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'f7c56b3f8301e2a4a8c04e3a3d1cac58ebdab555', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'd3615460a3616369013b7fbdea7420b53168d23e', class: "heading" }, hAsync("slot", { key: '3aa89e5b3d7fd99df1effb42e6c314e3ae27cf85', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '4e7618ea83cb004ec62756e80365bde4038b99ea' }, hAsync("duet-spacer", { key: '4b56573a6b1d7defa3acd2bd6aff10adea36e9f3', size: "large" }), hAsync("div", { key: '4c3662b9c0f90bf4e09ba42e6b2ead138f5c6492', role: "presentation" }, this.progressIndicator()))))));
|
|
13475
13461
|
}
|
|
13476
13462
|
get element() { return getElement(this); }
|
|
13477
13463
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -15563,14 +15549,14 @@ class DuetPopupMenu {
|
|
|
15563
15549
|
overflowY: "auto",
|
|
15564
15550
|
height: this.popupMenuStyleHeight,
|
|
15565
15551
|
};
|
|
15566
|
-
return (hAsync(Host, { key: '
|
|
15552
|
+
return (hAsync(Host, { key: 'c5d59c4859a8b66d3fdc725163b4163599c70a6f' }, hAsync("div", { key: '376869b621cf3f1899ef6d1e9c1e913bb47fc83f', ref: element => {
|
|
15567
15553
|
this.menuElement = element;
|
|
15568
15554
|
}, style: styles, class: {
|
|
15569
15555
|
open: this.open,
|
|
15570
15556
|
"duet-popup-menu-list": true,
|
|
15571
15557
|
"duet-theme-turva": this.theme === "turva",
|
|
15572
15558
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15573
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
15559
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '7a5793c36e4103077f1e8165478b410a5068e4a0' }))));
|
|
15574
15560
|
}
|
|
15575
15561
|
get element() { return getElement(this); }
|
|
15576
15562
|
static get watchers() { return {
|
|
@@ -15836,12 +15822,12 @@ class DuetPromoCard {
|
|
|
15836
15822
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15837
15823
|
};
|
|
15838
15824
|
const TagName = this.url ? "a" : "div";
|
|
15839
|
-
return (hAsync(Host, { key: '
|
|
15825
|
+
return (hAsync(Host, { key: 'cf84dae7441eb54639e24b8cecefaed8387f60c4', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '76e71f258c2a4f15b26cb2954e6c48eb93e1bfeb', class: {
|
|
15840
15826
|
"duet-promo-card": true,
|
|
15841
15827
|
"duet-theme-turva": this.theme === "turva",
|
|
15842
15828
|
"no-bg-color": !this.backgroundColor,
|
|
15843
15829
|
"duet-promo-card-link": !!this.url,
|
|
15844
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15830
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'a621b3f1b8f675a0c7643b80268a1a1fae44634e', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'f81167006440e7d2849bca5b6998f56aef84270c', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '0f57e628e3de81ba03a435591bb79f23765f3e0c', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '004cb19ae4521948a4f3c92efd7749fa2daa65a1', class: "pre-heading" }, hAsync("slot", { key: '891ce96361f3291e64af70299a30cacaa6658305', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '32103b0e907ae34c0f79c49aa4f5a01a15ac622b', class: "heading" }, hAsync("duet-heading", { key: '4d464e8fcfff685c8cff29b09d8b966f7060bc86', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'e75ab8c05ecaa5f16dce99bd818738385315cf5b' }, hAsync("slot", { key: '0f21589923a3be27f2b9e7cd08ff10b87bdcbcbd', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '97bedc93d874049ff15560abac99d4de3617de6c', class: "description" }, hAsync("duet-paragraph", { key: '869c2b82f2915641778bdb2c5f894d7069ac4600', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '55d9c3b34a7c538f6abaaf64268666f3d2fab6d9' }, hAsync("slot", { key: '18fd004f6a5a6d7cd1410a5365de315027b8872d', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2f1dcdd2f0d8a45795c2ca89eedbde7803d27de8', class: "action" }, hAsync("slot", { key: '0f123542154cd285f35d66b4a2ee5b19eaad98ef', name: "action" }))))))));
|
|
15845
15831
|
}
|
|
15846
15832
|
get element() { return getElement(this); }
|
|
15847
15833
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -16190,7 +16176,7 @@ class DuetRadioGroup {
|
|
|
16190
16176
|
* Always the last one in the class.
|
|
16191
16177
|
*/
|
|
16192
16178
|
render() {
|
|
16193
|
-
return (hAsync(Host, { key: '
|
|
16179
|
+
return (hAsync(Host, { key: '58915e6da750001fd46c97b2101776c6631fc02f', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: '8b454dcd733beeea8c9cfb065fc3ea538d628882', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'c2a46c8277ab66b0e5c114465cfe12d4d2b9e8b3', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '3518ff371ea67b21be7abe499770fd0f1e0c7751', name: "tooltip" }), hAsync("div", { key: '797c9eb9ed9fbfc2aeed8387737988edd97196e3', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'ee43ef03fa86da26eff0ee82ae7f828b4b486a88' })))));
|
|
16194
16180
|
}
|
|
16195
16181
|
get element() { return getElement(this); }
|
|
16196
16182
|
static get watchers() { return {
|
|
@@ -16581,7 +16567,7 @@ class DuetRangeStepper {
|
|
|
16581
16567
|
}; }
|
|
16582
16568
|
}
|
|
16583
16569
|
|
|
16584
|
-
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 .duet-scrollable-fade-overlay{position:absolute;bottom:0;z-index:250;display:block;width:10px;height:100%;pointer-events:none;transition:transform 300ms ease}:host .duet-scrollable-items .duet-scrollable-fade-overlay--hidden{display:none}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay{}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.left{left:calc(0px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.right{right:calc(0px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.left{left:calc(40px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.right{right:calc(40px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}: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 .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[hidden]{display:none !important}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;
|
|
16570
|
+
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 .duet-scrollable-fade-overlay{position:absolute;bottom:0;z-index:250;display:block;width:10px;height:100%;pointer-events:none;transition:transform 300ms ease}:host .duet-scrollable-items .duet-scrollable-fade-overlay--hidden{display:none}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay{}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.left{left:calc(0px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.right{right:calc(0px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.left{left:calc(40px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.right{right:calc(40px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}: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;}: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}";
|
|
16585
16571
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
16586
16572
|
|
|
16587
16573
|
/**
|
|
@@ -16617,8 +16603,10 @@ class DuetScrollable {
|
|
|
16617
16603
|
this.collapsed = false;
|
|
16618
16604
|
this.buttons = true;
|
|
16619
16605
|
this.buttonAlignment = "center";
|
|
16606
|
+
this.buttonPosition = "relative";
|
|
16620
16607
|
this.center = false;
|
|
16621
16608
|
this.padding = "none";
|
|
16609
|
+
this.gap = "large";
|
|
16622
16610
|
this.selected = 0;
|
|
16623
16611
|
}
|
|
16624
16612
|
watchPropHandler(newValue) {
|
|
@@ -16786,8 +16774,10 @@ class DuetScrollable {
|
|
|
16786
16774
|
"duet-scrollable-button-container": true,
|
|
16787
16775
|
[`${direction}`]: true,
|
|
16788
16776
|
"duet-scrollable-button-container--occluded": !this.needsScrolling,
|
|
16789
|
-
|
|
16777
|
+
[`duet-scrollable-button-container--${this.buttonPosition}`]: true,
|
|
16778
|
+
}, hidden: !this.buttons || (this.buttonPosition === "absolute" && scrollPaneLocation) }, hAsync("span", { part: `${this.identifier}-button-${direction}`, "aria-hidden": "true", class: {
|
|
16790
16779
|
"duet-scrollable-button": true,
|
|
16780
|
+
[`duet-scrollable-button--${this.buttonPosition}`]: true,
|
|
16791
16781
|
[`duet-scrollable-button--${this.buttonAlignment}`]: true,
|
|
16792
16782
|
[`duet-scrollable-button--${direction}`]: true,
|
|
16793
16783
|
}, onClick: () => {
|
|
@@ -16795,28 +16785,31 @@ class DuetScrollable {
|
|
|
16795
16785
|
if (document.activeElement) {
|
|
16796
16786
|
document.activeElement.blur();
|
|
16797
16787
|
}
|
|
16798
|
-
}, hidden: !this.buttons || scrollPaneLocation }, hAsync("duet-icon", { color: scrollPaneLocation ? arrowColorDisabled : arrowColor, name: direction === "left" ? "action-arrow-left" : "action-arrow-right", size: "small", margin: "none" }))));
|
|
16788
|
+
}, hidden: !this.buttons || scrollPaneLocation }, hAsync("duet-icon", { color: scrollPaneLocation ? arrowColorDisabled : arrowColor, name: direction === "left" ? "action-arrow-left" : "action-arrow-right", size: this.buttonPosition === "absolute" ? "x-small" : "small", margin: "none" }))));
|
|
16799
16789
|
}
|
|
16800
16790
|
/**
|
|
16801
16791
|
* render() function
|
|
16802
16792
|
* Always the last one in the class.
|
|
16803
16793
|
*/
|
|
16804
16794
|
render() {
|
|
16805
|
-
return (hAsync(Host, { key: '
|
|
16795
|
+
return (hAsync(Host, { key: 'e4754f4da3a789373d792ac89a063315e79d7a90', class: {
|
|
16806
16796
|
"duet-theme-turva": this.theme === "turva",
|
|
16807
16797
|
"duet-theme-default": this.theme === "default",
|
|
16808
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16798
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '5f8b8c71a48604022820823f706a6bffd5431910', class: {
|
|
16809
16799
|
collapse: true,
|
|
16810
16800
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16811
|
-
} }, hAsync("duet-button", { key: '
|
|
16801
|
+
} }, hAsync("duet-button", { key: 'da3800a16fdbf957c67b28714265d31e30b0955c', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '3e2ff10c6c3c9117d9ced71e594d6e676d69b13b', name: "collapse-button-label" })))), hAsync("div", { key: '53168397428b88d429118f2f2890453f48c62902', class: {
|
|
16812
16802
|
"duet-scrollable-items": true,
|
|
16813
16803
|
buttons: this.buttons,
|
|
16814
16804
|
center: this.center,
|
|
16815
|
-
|
|
16805
|
+
"duet-theme-turva": this.theme === "turva",
|
|
16806
|
+
} }, this.buttons && this.renderButton("left"), this.buttonPosition !== "absolute" && this.renderFadeOverlay("left"), hAsync("div", { key: '633355fa13bcedb40d620fa7c130e0fee799e1bc', class: {
|
|
16816
16807
|
"duet-scrollable-list": true,
|
|
16808
|
+
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16809
|
+
[`gap-${this.gap}`]: true,
|
|
16817
16810
|
collapsed: this.collapsed,
|
|
16818
16811
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16819
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16812
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '25345f070956f9a6ea3b700bce6c0914bced2d38' })), this.buttonPosition !== "absolute" && this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
16820
16813
|
}
|
|
16821
16814
|
get element() { return getElement(this); }
|
|
16822
16815
|
static get watchers() { return {
|
|
@@ -16832,8 +16825,10 @@ class DuetScrollable {
|
|
|
16832
16825
|
"collapsed": [1540],
|
|
16833
16826
|
"buttons": [4],
|
|
16834
16827
|
"buttonAlignment": [1, "button-alignment"],
|
|
16835
|
-
"
|
|
16828
|
+
"buttonPosition": [1, "button-position"],
|
|
16829
|
+
"center": [516],
|
|
16836
16830
|
"padding": [1],
|
|
16831
|
+
"gap": [1],
|
|
16837
16832
|
"selected": [1026],
|
|
16838
16833
|
"scrollPaneAtStart": [32],
|
|
16839
16834
|
"needsScrolling": [32],
|
|
@@ -16842,7 +16837,7 @@ class DuetScrollable {
|
|
|
16842
16837
|
},
|
|
16843
16838
|
"$listeners$": undefined,
|
|
16844
16839
|
"$lazyBundleId$": "-",
|
|
16845
|
-
"$attrsToReflect$": [["collapsed", "collapsed"]]
|
|
16840
|
+
"$attrsToReflect$": [["collapsed", "collapsed"], ["center", "center"]]
|
|
16846
16841
|
}; }
|
|
16847
16842
|
}
|
|
16848
16843
|
|
|
@@ -16861,13 +16856,13 @@ class DuetSectionLayout {
|
|
|
16861
16856
|
* Always the last one in the class.
|
|
16862
16857
|
*/
|
|
16863
16858
|
render() {
|
|
16864
|
-
return (hAsync(Host, { key: '
|
|
16859
|
+
return (hAsync(Host, { key: 'd59fd803c2d331d93c517799dffba4ba780206c9', class: {
|
|
16865
16860
|
"duet-middle": this.middle,
|
|
16866
16861
|
"duet-ie": isInternetExplorer(),
|
|
16867
|
-
} }, hAsync("div", { key: '
|
|
16862
|
+
} }, hAsync("div", { key: '6199393352b4a25123cc6944b9eb7938b587d8c8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e8b4016587163de6c1257f6bb35a8afb18466622', class: {
|
|
16868
16863
|
"duet-layout": true,
|
|
16869
16864
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16870
|
-
} }, hAsync("section", { key: '
|
|
16865
|
+
} }, hAsync("section", { key: '074cc43ee4127e6ed8b268f081086eeddfb1c066', class: "duet-main" }, hAsync("slot", { key: '387b88c324e3f25cad2b7e3af3b9b6cfb804fce1' }))))));
|
|
16871
16866
|
}
|
|
16872
16867
|
get element() { return getElement(this); }
|
|
16873
16868
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -17125,9 +17120,9 @@ class DuetShapedImage {
|
|
|
17125
17120
|
const style = {
|
|
17126
17121
|
"--rotation": `${this.rotation}deg`,
|
|
17127
17122
|
};
|
|
17128
|
-
return (hAsync(Host, { key: '
|
|
17123
|
+
return (hAsync(Host, { key: 'f1c8d161c2283c6244394301f825cba95d3e9b7e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'bbdaa4aff9bd834201ae92822ff1ad6f249c8b6e', class: {
|
|
17129
17124
|
"shaped-image": true,
|
|
17130
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
17125
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '09a783d38ac534c9a11357afda22e817f64374e7', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'f0d718945e2be9e95e33acfb49e94e102698812f', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
17131
17126
|
}
|
|
17132
17127
|
static get style() { return DuetShapedImageStyle0; }
|
|
17133
17128
|
static get cmpMeta() { return {
|
|
@@ -17522,8 +17517,12 @@ class DuetSlideout {
|
|
|
17522
17517
|
};
|
|
17523
17518
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
17524
17519
|
this.hasStickyHeaderSlot = false;
|
|
17525
|
-
this.setOpenButton = (element) => {
|
|
17520
|
+
this.setOpenButton = (element, addClickListener = false) => {
|
|
17521
|
+
if (this.openButton) {
|
|
17522
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
17523
|
+
}
|
|
17526
17524
|
if (!element) {
|
|
17525
|
+
this.openButton = undefined;
|
|
17527
17526
|
return;
|
|
17528
17527
|
}
|
|
17529
17528
|
try {
|
|
@@ -17531,6 +17530,9 @@ class DuetSlideout {
|
|
|
17531
17530
|
button.accessiblePopup = "true";
|
|
17532
17531
|
button.accessibleExpanded = false;
|
|
17533
17532
|
this.openButton = button;
|
|
17533
|
+
if (addClickListener) {
|
|
17534
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
17535
|
+
}
|
|
17534
17536
|
}
|
|
17535
17537
|
catch (_e) { }
|
|
17536
17538
|
};
|
|
@@ -17578,11 +17580,9 @@ class DuetSlideout {
|
|
|
17578
17580
|
if (this.opener === value) {
|
|
17579
17581
|
return;
|
|
17580
17582
|
}
|
|
17583
|
+
this._opener = value;
|
|
17581
17584
|
if (typeof value === "string") {
|
|
17582
|
-
this.setOpenButton(document.getElementById(value));
|
|
17583
|
-
if (this.openButton) {
|
|
17584
|
-
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
17585
|
-
}
|
|
17585
|
+
this.setOpenButton(document.getElementById(value), true);
|
|
17586
17586
|
}
|
|
17587
17587
|
else {
|
|
17588
17588
|
this.setOpenButton(value);
|
|
@@ -17618,9 +17618,7 @@ class DuetSlideout {
|
|
|
17618
17618
|
if (this.mutationObserver) {
|
|
17619
17619
|
this.mutationObserver.disconnect();
|
|
17620
17620
|
}
|
|
17621
|
-
|
|
17622
|
-
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
17623
|
-
}
|
|
17621
|
+
this.setOpenButton(undefined);
|
|
17624
17622
|
this.setStickHeaderStyleMutations(true);
|
|
17625
17623
|
}
|
|
17626
17624
|
handleOpenChange(newValue, oldValue) {
|
|
@@ -17727,16 +17725,16 @@ class DuetSlideout {
|
|
|
17727
17725
|
};
|
|
17728
17726
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17729
17727
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17730
|
-
return (hAsync(Host, { key: '
|
|
17728
|
+
return (hAsync(Host, { key: '41a80c4595a58da1bcd603e141e24292fc1424cf' }, hAsync("div", { key: '5d7498bbf72f282746fbd98c6598cf0ef64c92fc', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '4c75f1d7efb902c5a085c764f1dd5bd3110690d7', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '02a46010735f650bd529528c654d14e9d86fd162', 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: {
|
|
17731
17729
|
dialog: true,
|
|
17732
17730
|
hidden: !this.open,
|
|
17733
17731
|
modal: this.modal,
|
|
17734
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17732
|
+
}, style: styles }, hAsync(FocusGuard, { key: '336ede420dcd736609210a4f4420359d7d7408ad', moveFocusTo: this.closeButton }), hAsync("div", { key: '992217114a78eb26370dd40654693f3b693dae36', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '2ee4c40418f711ec612e2b1ac9654af56fcd994a', class: "top" }, hAsync("button", { key: '48660c605accd14f318102ece5bcf1b0ee2fecec', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17735
17733
|
"slideout-close": true,
|
|
17736
17734
|
active: this.open,
|
|
17737
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17735
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '8cd881f81db33a16072ef633bebfb5fc4faa7f17', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3b1302d4a8e711ab31b6de50d23518f909cd5194', class: "sticky-header" }, hAsync("slot", { key: 'eca82fca6e9b3eb68aad6092a799fa383f9172db', name: "sticky-header" }))), hAsync("div", { key: 'e0c6e3c281d5a0451300675f7cc6fd808cd3382c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17738
17736
|
items: true,
|
|
17739
|
-
} }, hAsync("slot", { key: '
|
|
17737
|
+
} }, hAsync("slot", { key: '7b2f64fb669a13f1122b71b3a1866d2e3ff71557' })), hAsync(FocusGuard, { key: 'b6bbd2ef228796ced15b024c03457ab37c15478c', moveFocusTo: this.closeButton })))));
|
|
17740
17738
|
}
|
|
17741
17739
|
get element() { return getElement(this); }
|
|
17742
17740
|
static get watchers() { return {
|
|
@@ -17803,7 +17801,7 @@ class DuetSlideoutLang {
|
|
|
17803
17801
|
*/
|
|
17804
17802
|
render() {
|
|
17805
17803
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17806
|
-
return (hAsync(Host, { key: '
|
|
17804
|
+
return (hAsync(Host, { key: '2e3786b9379cc0898afe8242d6261f7f638ee055' }, hAsync("div", { key: 'd732dcd99d2623c69b4ef90da80250d92a181345', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '40bcd65531b9bf0b184b4839edb93999bb1baf8f', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '80aba1c3733a7372e2d923efae445d312ae77eef' }))));
|
|
17807
17805
|
}
|
|
17808
17806
|
get element() { return getElement(this); }
|
|
17809
17807
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17847,12 +17845,12 @@ class DuetSlideoutLink {
|
|
|
17847
17845
|
* Always the last one in the class.
|
|
17848
17846
|
*/
|
|
17849
17847
|
render() {
|
|
17850
|
-
return (hAsync(Host, { key: '
|
|
17848
|
+
return (hAsync(Host, { key: 'a029203320f713bb35536f330eb844dd30a6f642' }, hAsync("a", { key: 'a4330b8ae522bc1f1730777fbb3d2238617cb8bd', class: {
|
|
17851
17849
|
"duet-slideout-link": true,
|
|
17852
17850
|
"duet-theme-turva": this.theme === "turva",
|
|
17853
17851
|
active: this.active,
|
|
17854
17852
|
[this.size]: true,
|
|
17855
|
-
}, 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: '
|
|
17853
|
+
}, 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: '2f6f44567d1d0977a30ccad6fac3c15d6f324ba2', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '10cdd450e97db14094ee2650b9d15fee0d11b8ac', class: "label" }, hAsync("span", { key: 'a7819f3cb48b547fd6a033b048148fb0a0b3d1dc' }, hAsync("slot", { key: '1b4500ab2c18ba67f3b0c356156cbc4939248376' }), hAsync("slot", { key: 'f1b1cab15e6bd356e34438076c4292d998bd5881', name: "description" })), this.caret && (hAsync("duet-icon", { key: '757f3c16fe571ce1743a9175fe99da0b107dc59b', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17856
17854
|
}
|
|
17857
17855
|
get element() { return getElement(this); }
|
|
17858
17856
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -18012,23 +18010,23 @@ class DuetSlideoutPanel {
|
|
|
18012
18010
|
};
|
|
18013
18011
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18014
18012
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
18015
|
-
return (hAsync(Host, { key: '
|
|
18013
|
+
return (hAsync(Host, { key: '1fdecfc05e8d865359ade74def89509ede4b640d' }, hAsync("div", { key: '5f01158076efebc4228dc02f4d2c935c8c2b1b53', class: {
|
|
18016
18014
|
"duet-slideout-panel": true,
|
|
18017
18015
|
"duet-theme-turva": this.theme === "turva",
|
|
18018
18016
|
active: this.open,
|
|
18019
|
-
} }, hAsync("button", { key: '
|
|
18017
|
+
} }, hAsync("button", { key: 'e4a202123cc409499442c9ad9237ef25d91afb9b', 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: {
|
|
18020
18018
|
link: true,
|
|
18021
18019
|
active: this.active,
|
|
18022
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
18020
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '00973456c8c03852e7f3cce1deb832cfb315d151', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'b52abe82284aa610518b113fae26f4d6ee08fb76', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: 'd3d4401ebedef89cb2509a8b9f44b27ff27ffe7a', class: "duet-slideout-badge" }))), hAsync("span", { key: '87803383a92d8ae0298ad3b1a4731f5982215d71', class: "label" }, hAsync("span", { key: '8c0de2a43822dbbad951886d6658a74863fecbb6', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'f3fcc66001ef3f15cc1c179eb26d5b7ddc55b52b', name: "label" })), hAsync("duet-icon", { key: '15a3ad5adc96e793705f455989dc4db44b6510fe', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '618f75004e95a0b85850cc1f8e480c4b4f8f99d0', ref: element => (this.dialog = element), class: {
|
|
18023
18021
|
dialog: true,
|
|
18024
18022
|
hidden: !this.open,
|
|
18025
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
18023
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'be8cbff0348dcb36daf49410a46057911878ab6b', moveFocusTo: this.closeButton }), hAsync("div", { key: '67d750c50b72dbbbb55ce0507634483d107b2afd', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '0ddae96c7a72f15d58196c28827a0e50b378b245', class: "top" }, hAsync("button", { key: '48f823a1ce20d6988bf672ad70f44a52f0ecb56b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
18026
18024
|
back: true,
|
|
18027
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
18025
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '14263fd7430103f651285262e3e26ce785005a40', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '44d2456e6d944ff4e99332a1cc92ea89742251c3' }, this.label.innerHTML), hAsync("button", { key: 'e9a1c830c74e427847185e2f90ca3f82ba582523', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '6cff167e773690ddf3b27a92d60f84186848d58d', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '67d5e9fbee252fe03fba053c529a8f93c07e9193', class: "sticky-header" }, hAsync("slot", { key: '6d8530f7db55035d6999708de1ad3ad010a74f5d', name: "sticky-header" }))), hAsync("div", { key: '30c1508f93d6cc911e96992d8bf3ae1edff54fcc', tabindex: "-1", role: "menu",
|
|
18028
18026
|
//TODO: slideout menu fades out, needs to be instant
|
|
18029
18027
|
id: "menu", "aria-labelledby": "button", class: {
|
|
18030
18028
|
items: true,
|
|
18031
|
-
} }, hAsync("slot", { key: '
|
|
18029
|
+
} }, hAsync("slot", { key: 'ebc44ee8022282e5baaf0141848dc623a819905e' })), hAsync(FocusGuard, { key: 'e5d212d17206f611fc0b18d4566606c3abffe33b', moveFocusTo: this.closeButton })))));
|
|
18032
18030
|
}
|
|
18033
18031
|
get element() { return getElement(this); }
|
|
18034
18032
|
static get watchers() { return {
|
|
@@ -18098,16 +18096,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
18098
18096
|
* Always the last one in the class.
|
|
18099
18097
|
*/
|
|
18100
18098
|
render() {
|
|
18101
|
-
return (hAsync(Host, { key: '
|
|
18099
|
+
return (hAsync(Host, { key: '395dbb7ccae945eb7b868151f9718d1cd6610cb9' }, hAsync("div", { key: 'e20a30d16e26fa8b8d1d79282121aa096ab5eefb', class: {
|
|
18102
18100
|
"duet-slideout-panel-dropdown": true,
|
|
18103
18101
|
"duet-theme-turva": this.theme === "turva",
|
|
18104
18102
|
active: this.open,
|
|
18105
|
-
} }, hAsync("button", { key: '
|
|
18103
|
+
} }, hAsync("button", { key: '66ab3aeaedb579191ea05f7144d49a5a7797da15', 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: {
|
|
18106
18104
|
active: this.active,
|
|
18107
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
18105
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '74325e60be48fe2f61db0abdd0bdfeb4076ac210', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '5b6534465bd89bc9943fe95179d1484e0523cffd', class: "label" }, hAsync("slot", { key: '1a720277e982c04d1ee3c52c5b705a72eb6b639f', name: "label" }), hAsync("duet-icon", { key: '94cdfb7634f121957894a58400797dc9fd0f8fbf', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'dde8244123fcf328f0ff21d34f816078cdf794c4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18108
18106
|
items: true,
|
|
18109
18107
|
hidden: !this.open,
|
|
18110
|
-
} }, hAsync("slot", { key: '
|
|
18108
|
+
} }, hAsync("slot", { key: '6a4ec5ae0afb953b1aa2ba49f564b06a18acfcfa' })))));
|
|
18111
18109
|
}
|
|
18112
18110
|
get element() { return getElement(this); }
|
|
18113
18111
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -18578,19 +18576,19 @@ class DuetSubmenuBar {
|
|
|
18578
18576
|
* Always the last one in the class.
|
|
18579
18577
|
*/
|
|
18580
18578
|
render() {
|
|
18581
|
-
return (hAsync(Host, { key: '
|
|
18579
|
+
return (hAsync(Host, { key: '86badada1aee5007210401a18b909265c6e7da8e' }, hAsync("nav", { key: 'f32fed7e0ce0788624a3e4255ae0db18c1d0a815', class: {
|
|
18582
18580
|
"duet-submenu-bar": true,
|
|
18583
18581
|
"duet-theme-turva": this.theme === "turva",
|
|
18584
18582
|
hidden: this.hidden,
|
|
18585
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18583
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '023f42471735d52798e9b93e0097d092a876d970', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18586
18584
|
active: this.open,
|
|
18587
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18585
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'e2dd228fb84c96175fe18c53885d5d7b29d0c227', class: "label" }, hAsync("slot", { key: '22b3d8b20a06e0ebb32f5389cc4e76b86470cffc', name: "label" }), hAsync("duet-icon", { key: 'aa83f5bb09c66b7b1e167e832c384726a0f39686', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'ab3308f7c02cc8248bb249dd9254e1a6dde9c0f3', class: {
|
|
18588
18586
|
"menu-container": true,
|
|
18589
18587
|
hidden: !this.open,
|
|
18590
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18588
|
+
}, role: "presentation" }, hAsync("div", { key: 'cd19031fc8263a08267dc1338031143f109f97c3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18591
18589
|
items: true,
|
|
18592
18590
|
hidden: !this.open,
|
|
18593
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18591
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'aff4f8d6fe01ca9a2a25dcf4c3255cbea5fe2bb5', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '157ba2c07ca33927c016826805d4abed7f5e2b4d' }), hAsync("div", { key: 'e86d0f34cecc3968fd93a43e4877393c68f518aa', class: "list-padding" }))), hAsync("duet-overlay", { key: 'e9e83e146db0024d79405ba9de389c647aa9f1f6', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18594
18592
|
}
|
|
18595
18593
|
get element() { return getElement(this); }
|
|
18596
18594
|
static get watchers() { return {
|
|
@@ -18711,18 +18709,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18711
18709
|
* Always the last one in the class.
|
|
18712
18710
|
*/
|
|
18713
18711
|
render() {
|
|
18714
|
-
return (hAsync(Host, { key: '
|
|
18712
|
+
return (hAsync(Host, { key: '8c793e9f3f2b70bc3ba493a71a396735f0e95260', role: "listitem" }, hAsync("div", { key: '61f56c228fcf95e781f5b758e827586092b00c6e', class: {
|
|
18715
18713
|
"duet-submenu-bar-dropdown": true,
|
|
18716
18714
|
"duet-theme-turva": this.theme === "turva",
|
|
18717
18715
|
open: this.open,
|
|
18718
18716
|
active: this.active,
|
|
18719
|
-
} }, hAsync("button", { key: '
|
|
18717
|
+
} }, hAsync("button", { key: 'dd194b9b7b3e6235c422d54a9e4d7ccafcd32a9b', 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: {
|
|
18720
18718
|
open: this.open,
|
|
18721
18719
|
active: this.active,
|
|
18722
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18720
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '27106945fae616e8b7c9063fc8ca0316c37c7bdc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'df4d98ea52064c16f5949ccd369dfb33c8b1fa63', class: "label" }, hAsync("span", { key: 'd423278a3e59d916ab8dfbbb1418797c7e521a07', class: "label-text" }, hAsync("slot", { key: '69b4312cce709d0e11a6694e4805d25df6f50ad6', name: "label" })), hAsync("duet-icon", { key: 'c76e9d0a6ac9b26f604939814273461b43b03cec', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '6456fbb229637f05ff2de261a14f67b65e00db9a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18723
18721
|
items: true,
|
|
18724
18722
|
hidden: !this.open,
|
|
18725
|
-
} }, hAsync("slot", { key: '
|
|
18723
|
+
} }, hAsync("slot", { key: '786040677e91481055caf78f49b5372b5360f108' })))));
|
|
18726
18724
|
}
|
|
18727
18725
|
get element() { return getElement(this); }
|
|
18728
18726
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18774,12 +18772,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18774
18772
|
* Always the last one in the class.
|
|
18775
18773
|
*/
|
|
18776
18774
|
render() {
|
|
18777
|
-
return (hAsync(Host, { key: '
|
|
18775
|
+
return (hAsync(Host, { key: '8e6a108958719714fbefbffcef40f07ce8534b02' }, hAsync("a", { key: '12f951166275159eb55697c41c54d05ce416231f', class: {
|
|
18778
18776
|
"duet-submenu-bar-dropdown-link": true,
|
|
18779
18777
|
"duet-theme-turva": this.theme === "turva",
|
|
18780
18778
|
highlight: this.highlight,
|
|
18781
18779
|
active: this.active,
|
|
18782
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18780
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '86b4f1dd2ed617060b2710bb94e62f824d5527a4', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '4c12186535ab8cd78eeb73256f2c5e7b1e1a42dc', class: "label-container" }, hAsync("span", { key: '746e73ea2b480e0300a8879d85170029c5c269ee', class: "label" }, hAsync("slot", { key: '110738471d576d743d9cfa0f615745b8ada02c1a' })), this.caret && hAsync("duet-icon", { key: 'c865298fc0ca62b44faccbcf590c92994ed530f1', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '2b841cf6e37e5f4b7df0505cdc058fda2726019b', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18783
18781
|
}
|
|
18784
18782
|
get element() { return getElement(this); }
|
|
18785
18783
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18853,7 +18851,7 @@ class DuetSubmenuBarItem {
|
|
|
18853
18851
|
render() {
|
|
18854
18852
|
const TagName = this.url ? "a" : "button";
|
|
18855
18853
|
const role = this.url ? "link" : "button";
|
|
18856
|
-
return (hAsync(Host, { key: '
|
|
18854
|
+
return (hAsync(Host, { key: '6e2cee3487328e2c5f7b0c5e947a8f97c739abfe', role: "listitem" }, hAsync(TagName, { key: 'dd06fa4821a6c3d39686c0a35bca3d3e643c7790', 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: 'beedaa0abf90cebfed6a0bc49cdd0f022b97aaad', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f740336fa798b6da2cbaaec645ae829b2587129a', class: "label" }, hAsync("span", { key: 'aaf68d1e5dd57e8e2931d021ac3bec6b101b7b38', class: "label-text" }, hAsync("slot", { key: '1fcd6459e1af576b61871b9c050a31eb2a8b490d' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c43767d76cec897ffda6a9e3718dfb0e624707dd', class: {
|
|
18857
18855
|
"trailing-icon": !!this.trailingIcon,
|
|
18858
18856
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18859
18857
|
"external-icon": !!this.external,
|
|
@@ -18914,7 +18912,7 @@ class DuetSubmenuBarLink {
|
|
|
18914
18912
|
* Always the last one in the class.
|
|
18915
18913
|
*/
|
|
18916
18914
|
render() {
|
|
18917
|
-
return (hAsync(Host, { key: '
|
|
18915
|
+
return (hAsync(Host, { key: 'd44a022e91733242dcf9d0715fdea0dd9413fc8c', role: "listitem" }, hAsync("a", { key: 'a86eeb53bc8714df6212d0a1576df487efd637dd', 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: '46c05eceaaed109253e10fe7f5f4c4e02b71192d', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '999718d74fd76be6b9b89bc6b87877614ddc01ba', class: "label" }, hAsync("slot", { key: 'bce3596e218360bc8f5e19182194a608471e75e3' })))));
|
|
18918
18916
|
}
|
|
18919
18917
|
get element() { return getElement(this); }
|
|
18920
18918
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -19024,7 +19022,7 @@ class DuetTab {
|
|
|
19024
19022
|
* Always the last one in the class.
|
|
19025
19023
|
*/
|
|
19026
19024
|
render() {
|
|
19027
|
-
return (hAsync("div", { key: '
|
|
19025
|
+
return (hAsync("div", { key: '5376b9cb2792c5159fab470027b49f0a665d1e02', ref: element => {
|
|
19028
19026
|
if (!this.contentId) {
|
|
19029
19027
|
this.tabpanelElement = element;
|
|
19030
19028
|
}
|
|
@@ -19033,7 +19031,7 @@ class DuetTab {
|
|
|
19033
19031
|
"duet-tab": true,
|
|
19034
19032
|
selected: this.selected,
|
|
19035
19033
|
"has-content-id": !!this.contentId,
|
|
19036
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
19034
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '2efcb680c2d921e5c1c29d9114f3f997a5ead373' })));
|
|
19037
19035
|
}
|
|
19038
19036
|
get element() { return getElement(this); }
|
|
19039
19037
|
static get watchers() { return {
|
|
@@ -19061,7 +19059,7 @@ class DuetTab {
|
|
|
19061
19059
|
}; }
|
|
19062
19060
|
}
|
|
19063
19061
|
|
|
19064
|
-
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-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.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-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:block;width:100%;padding:20px;margin-top:-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;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border: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);border-color:rgb(222, 224, 228)}.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}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(212, 223, 229);border-radius:0}}.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(255, 255, 255);background:rgb(8, 42, 77);border-color:rgb(8, 42, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.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-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color: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-bottom-color:rgb(0, 119, 179);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)}";
|
|
19062
|
+
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)}";
|
|
19065
19063
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
19066
19064
|
|
|
19067
19065
|
/**
|
|
@@ -19111,35 +19109,18 @@ class DuetTabGroup {
|
|
|
19111
19109
|
}
|
|
19112
19110
|
};
|
|
19113
19111
|
this.scrollToActive = () => {
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19120
|
-
}, 50);
|
|
19121
|
-
}
|
|
19122
|
-
};
|
|
19123
|
-
this.renderTab = () => {
|
|
19124
|
-
const renderedTabs = this.tabs.map((element, index) => {
|
|
19125
|
-
return (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: {
|
|
19126
|
-
"duet-p-0": this.padding === "none",
|
|
19127
|
-
"duet-tab-button": true,
|
|
19128
|
-
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
19129
|
-
selected: element.selected,
|
|
19130
|
-
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19131
|
-
}, 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)));
|
|
19132
|
-
});
|
|
19133
|
-
if (this.scrolls) {
|
|
19134
|
-
return (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier }, renderedTabs));
|
|
19135
|
-
}
|
|
19136
|
-
return renderedTabs;
|
|
19112
|
+
setTimeout(() => {
|
|
19113
|
+
const active = this.tabsContainer.querySelector(".selected");
|
|
19114
|
+
if (active) {
|
|
19115
|
+
active.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
19116
|
+
}
|
|
19117
|
+
}, 50);
|
|
19137
19118
|
};
|
|
19138
19119
|
this.tabs = [];
|
|
19139
19120
|
this.selected = undefined;
|
|
19140
19121
|
this.theme = "";
|
|
19141
|
-
this.scrolls =
|
|
19142
|
-
this.collapses =
|
|
19122
|
+
this.scrolls = true;
|
|
19123
|
+
this.collapses = false;
|
|
19143
19124
|
this.accessibleLabel = undefined;
|
|
19144
19125
|
this.variation = "default";
|
|
19145
19126
|
this.language = getLanguage();
|
|
@@ -19258,34 +19239,44 @@ class DuetTabGroup {
|
|
|
19258
19239
|
}
|
|
19259
19240
|
return;
|
|
19260
19241
|
}
|
|
19242
|
+
/**
|
|
19243
|
+
* To support text-align: center;
|
|
19244
|
+
*/
|
|
19245
|
+
isCentered() {
|
|
19246
|
+
return window && window.getComputedStyle(this.element).textAlign == "center";
|
|
19247
|
+
}
|
|
19261
19248
|
/**
|
|
19262
19249
|
* render() function
|
|
19263
19250
|
* Always the last one in the class.
|
|
19264
19251
|
*/
|
|
19265
19252
|
render() {
|
|
19253
|
+
// TODO: get rid of plain-scrolling class, as we always scroll
|
|
19266
19254
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
19267
19255
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
19268
|
-
|
|
19256
|
+
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: {
|
|
19257
|
+
"duet-p-0": this.padding === "none",
|
|
19258
|
+
"duet-tab-button": true,
|
|
19259
|
+
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
19260
|
+
selected: element.selected,
|
|
19261
|
+
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19262
|
+
}, 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))));
|
|
19263
|
+
return (hAsync("div", { key: '05e714be871fbdeaac2b41a9f846664202b5eac8', class: {
|
|
19269
19264
|
"duet-tab-group": true,
|
|
19270
19265
|
"duet-theme-turva": this.theme === "turva",
|
|
19271
19266
|
[variationClass]: true,
|
|
19272
19267
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
19273
|
-
"duet-tab-group-scrolls":
|
|
19274
|
-
|
|
19275
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '67a5b742600e566ff2217a3145ce9f7ab2a70aa1', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
19276
|
-
return { label: tab.label, value: index.toString() };
|
|
19277
|
-
}) })), hAsync("div", { key: '85da5c9758a9440e31caac2659f44157e65ad2fa', role: "tablist", class: {
|
|
19268
|
+
"duet-tab-group-scrolls": true,
|
|
19269
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'd680490d85ad3d735bb85d4c704cd48fd1feaf66', role: "tablist", class: {
|
|
19278
19270
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
19279
19271
|
"duet-tab-group-tabs": true,
|
|
19280
19272
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
19281
|
-
"duet-tab-group-collapses": this.collapses,
|
|
19282
19273
|
}, ref: el => {
|
|
19283
19274
|
this.tabsContainer = el;
|
|
19284
|
-
} }, this.
|
|
19275
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: this.variation === "default" ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: 'a8aa2ad19a01759d5eed47140ec483e5cb4a8df5', class: {
|
|
19285
19276
|
"duet-tab-group-content": true,
|
|
19286
19277
|
"duet-m-0": this.margin === "none",
|
|
19287
19278
|
"checked-group-content": this.variation === "checked",
|
|
19288
|
-
} }, hAsync("slot", { key: '
|
|
19279
|
+
} }, hAsync("slot", { key: '0b630a0821503c480cf580600c68dbb5a3ab2bfa' }))));
|
|
19289
19280
|
}
|
|
19290
19281
|
get element() { return getElement(this); }
|
|
19291
19282
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -19883,7 +19874,7 @@ class DuetTable {
|
|
|
19883
19874
|
}
|
|
19884
19875
|
}
|
|
19885
19876
|
render() {
|
|
19886
|
-
return (hAsync(Host, { key: '
|
|
19877
|
+
return (hAsync(Host, { key: '15e609b307b99f28efe4daac634c7f978f43b1dc', class: {
|
|
19887
19878
|
[`duet-table-${this.variation}`]: true,
|
|
19888
19879
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
19889
19880
|
// sticky only valid when in regular table layout
|
|
@@ -19892,7 +19883,7 @@ class DuetTable {
|
|
|
19892
19883
|
"duet-m-0": this.margin === "none",
|
|
19893
19884
|
"duet-theme-turva": this.theme === "turva",
|
|
19894
19885
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
19895
|
-
} }, hAsync("slot", { key: '
|
|
19886
|
+
} }, hAsync("slot", { key: '1af0a343ef68668f75358fdbc91a601ef62e8dd4' })));
|
|
19896
19887
|
}
|
|
19897
19888
|
get element() { return getElement(this); }
|
|
19898
19889
|
static get watchers() { return {
|
|
@@ -20085,17 +20076,17 @@ class DuetTextarea {
|
|
|
20085
20076
|
*/
|
|
20086
20077
|
render() {
|
|
20087
20078
|
const identifier = this.identifier || this.textareaId;
|
|
20088
|
-
return (hAsync(Host, { key: '
|
|
20079
|
+
return (hAsync(Host, { key: 'b821aec8b3ee59b348a011e0140e2387f26da39d', class: {
|
|
20089
20080
|
"duet-m-0": this.margin === "none",
|
|
20090
20081
|
"duet-has-counter": this.counter && !this.error,
|
|
20091
20082
|
"duet-expand": this.expand,
|
|
20092
|
-
} }, hAsync("div", { key: '
|
|
20083
|
+
} }, hAsync("div", { key: 'f56d97bff7e94644241d19d049585364157adade', class: {
|
|
20093
20084
|
"duet-textarea-container": true,
|
|
20094
20085
|
"duet-theme-turva": this.theme === "turva",
|
|
20095
20086
|
"duet-label-hidden": this.labelHidden,
|
|
20096
20087
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
20097
20088
|
"has-error": !!this.error,
|
|
20098
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20089
|
+
} }, hAsync(DuetInternalLabel, { key: '7c1e03e07b39d7e6191202bade688fc75728a3aa', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'f708a87ffcb1b8747ca9debe71883387fbddbc6d', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'ac2de37430f5b367a3ca4da1174dba381a7b1f70', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '57784c29c408fb624a5f150f5312ea0037f08e09', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '752b526a970df90cd09e641ce57d6b1b496d4045', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'e72d261a72b99e94fedb8db94bcc02e0f4a92e32', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: 'c25b836cac3ba19e15eb9cf223321da6e2776320', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '996a289b27bce9161f2c1d008a57f8d1ea22e9c0', alignment: "stretch" }, hAsync("duet-grid-item", { key: '028ae3bb7e264bda3d8b4ed4397fcce4057faf6f', margin: "none", fill: true }, hAsync("div", { key: 'a5de4b40049dba2fd5eb737f56691b26aba77026', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f9d50772c6ab039b7d4a7455eb7c15a89d3a0408' }, this.error))), hAsync("duet-grid-item", { key: '9c3b3984287d07b8ac4ebd0f9ed72dbd5ce0596e', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: '8c50c85b05c0df4fad9ebcccdc74b89149b7888d', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '421074dd95f8ba8955cc95554a8efa7fd3df4969', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
20099
20090
|
this.hiddenCounterLabel = el;
|
|
20100
20091
|
} })))));
|
|
20101
20092
|
}
|
|
@@ -20227,12 +20218,12 @@ class DuetToggle {
|
|
|
20227
20218
|
*/
|
|
20228
20219
|
render() {
|
|
20229
20220
|
const identifier = this.identifier || this.toggleId;
|
|
20230
|
-
return (hAsync(Host, { key: '
|
|
20221
|
+
return (hAsync(Host, { key: 'bf8502b497d41349ab2fd1bb0abca6b16c87fb6c', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '17d971af6ec2d5bc251ffd734bea74dd1f3ee749', class: {
|
|
20231
20222
|
"duet-toggle": true,
|
|
20232
20223
|
"duet-theme-turva": this.theme === "turva",
|
|
20233
20224
|
"duet-side-label": this.labelPosition !== "top",
|
|
20234
20225
|
"duet-reverse-label": this.labelPosition === "right",
|
|
20235
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20226
|
+
} }, hAsync(DuetInternalLabel, { key: 'ee79a22afd025e1c86d7f4526eb27af6d5e68d85', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '9c4488aed6bafaf974b4389cb02809bb0ea2c478', class: "duet-switch" }, hAsync("input", { key: '8140d3b60b2e094489f89788cc34d29427bce990', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: '3c207d4e7ede368ebbaf589a9bda47b1f73abfef', class: "duet-slider" })))));
|
|
20236
20227
|
}
|
|
20237
20228
|
get element() { return getElement(this); }
|
|
20238
20229
|
static get watchers() { return {
|
|
@@ -20303,11 +20294,11 @@ class DuetToolbar {
|
|
|
20303
20294
|
: this.variation === "secondary"
|
|
20304
20295
|
? "secondary"
|
|
20305
20296
|
: "default";
|
|
20306
|
-
return (hAsync(Host, { key: '
|
|
20297
|
+
return (hAsync(Host, { key: '623f017e9ed4beb5b7a48bd2e1f2fc84c1c249c3' }, hAsync("nav", { key: 'dacb193ee88a1e8445a0b662de8f5a717f9883dd', class: {
|
|
20307
20298
|
"duet-toolbar": true,
|
|
20308
20299
|
"duet-theme-turva": this.theme === "turva",
|
|
20309
20300
|
[variation]: true,
|
|
20310
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20301
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '10f9e7ede421701301e1e1ee45ae85b61c54184a', class: "container" }, hAsync("div", { key: '7bde8fc12ca6d1267484a0f5d2d0aa9146dfe220', class: "list", role: "list" }, hAsync("slot", { key: '71515d752a76eed3236b91e158221a39ea7f9984', name: "left" })), hAsync("div", { key: 'b731edf335cceac55399e111e45f67425e8c28ae', class: "list", role: "list" }, hAsync("slot", { key: 'b079f0298ca68bdc17d45001797e3b759e0ea226', name: "right" }))))));
|
|
20311
20302
|
}
|
|
20312
20303
|
get element() { return getElement(this); }
|
|
20313
20304
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -20375,18 +20366,18 @@ class DuetToolbarDropdown {
|
|
|
20375
20366
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
20376
20367
|
}
|
|
20377
20368
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20378
|
-
return (hAsync(Host, { key: '
|
|
20369
|
+
return (hAsync(Host, { key: 'fd5e7e1fb2af68f79aa4aa4799dc11bc85403e9a', role: "listitem" }, hAsync("div", { key: 'de3b994b5ec7045967a4736ff96a1e8564dded5b', class: {
|
|
20379
20370
|
"duet-toolbar-dropdown": true,
|
|
20380
20371
|
"duet-theme-turva": this.theme === "turva",
|
|
20381
20372
|
[itemsAlign]: true,
|
|
20382
20373
|
[variation]: true,
|
|
20383
|
-
} }, hAsync("button", { key: '
|
|
20374
|
+
} }, hAsync("button", { key: 'd97d3ac97857caddc2f42cf2d610c7c6bfd5415c', 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: {
|
|
20384
20375
|
active: this.active,
|
|
20385
20376
|
open: this.open,
|
|
20386
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20377
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '75e4c173df866a7dc3a6141bb4d1cbd406877f65', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'b622b49718364a9c18f4fd364029eafd63e7f415', class: "label" }, hAsync("slot", { key: '6d5093ee7b444d1bd73a3ddea2cabb32618d9c83', name: "label" }), hAsync("duet-icon", { key: '0c2bdc620ad95743d6cfba1eb8591f0a195afa48', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '7f06bf77c02ff8113ae54ea64a7e951dac7ff492', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20387
20378
|
items: true,
|
|
20388
20379
|
hidden: !this.open,
|
|
20389
|
-
} }, hAsync("slot", { key: '
|
|
20380
|
+
} }, hAsync("slot", { key: '7b7b9a440494c81a4ea1c8e40bb22a8e48b25c1d' })))));
|
|
20390
20381
|
}
|
|
20391
20382
|
get element() { return getElement(this); }
|
|
20392
20383
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -20439,11 +20430,11 @@ class DuetToolbarDropdownLink {
|
|
|
20439
20430
|
* Always the last one in the class.
|
|
20440
20431
|
*/
|
|
20441
20432
|
render() {
|
|
20442
|
-
return (hAsync(Host, { key: '
|
|
20433
|
+
return (hAsync(Host, { key: '34d25bff907ba75e14bb51f500bffea729b32482' }, hAsync("a", { key: 'e9a8a7450c3e0f3c3835e7646384b52545b8b418', class: {
|
|
20443
20434
|
"duet-toolbar-dropdown-link": true,
|
|
20444
20435
|
"duet-theme-turva": this.theme === "turva",
|
|
20445
20436
|
active: this.active,
|
|
20446
|
-
}, 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: '
|
|
20437
|
+
}, 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: '7f22b9e1f170f2c6b4a08df11be5cb4e11a2efd0', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '78c798a19faa674e60d34672d1db627c8b47ab08', class: "label" }, hAsync("slot", { key: '9f7e624dc12e4e35f51eb97e5bf01b5182f45635' })), this.active && (hAsync("duet-icon", { key: 'a85b6330a153a4d6acb61d74a10f538a7fbf95f7', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20447
20438
|
}
|
|
20448
20439
|
get element() { return getElement(this); }
|
|
20449
20440
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -20518,17 +20509,17 @@ class DuetToolbarItem {
|
|
|
20518
20509
|
: this.variation === "secondary"
|
|
20519
20510
|
? "secondary"
|
|
20520
20511
|
: "default";
|
|
20521
|
-
return (hAsync(Host, { key: '
|
|
20512
|
+
return (hAsync(Host, { key: 'b0ef61c45dc609f951d6d988554f0e8050838bfd', role: "listitem" }, hAsync(TagName, { key: '43b146cd21ed876366c8145f56f1a45e57a9abf6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
20522
20513
|
"duet-toolbar-item": true,
|
|
20523
20514
|
"duet-theme-turva": this.theme === "turva",
|
|
20524
20515
|
active: this.active,
|
|
20525
20516
|
[variation]: true,
|
|
20526
|
-
}, 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: '
|
|
20517
|
+
}, 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: 'fa4ac41c37fa3666d5a1fae9f300c89899c65bd8', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'ce22edd361c76194471a7dc43e22952fdd169f66', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'c13051a6ee99f8b86865c7bcab10501eb968c809', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'feddff8d9331588edfad9119f3586a147cdf783f' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '9df34d52cae2cf7c987f832bfa8ab9e81e322b52', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '6034e2e76014c46c50d45ae2a3d174938941b294', class: {
|
|
20527
20518
|
"trailing-icon": !!this.trailingIcon,
|
|
20528
20519
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20529
20520
|
"external-icon": !!(this.url && this.external),
|
|
20530
20521
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
20531
|
-
}, 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: '
|
|
20522
|
+
}, 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: '74d88721c86afbe9628b68193045d966110a6840', class: "duet-toolbar-badge" }))))));
|
|
20532
20523
|
}
|
|
20533
20524
|
get element() { return getElement(this); }
|
|
20534
20525
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -20582,12 +20573,12 @@ class DuetToolbarLink {
|
|
|
20582
20573
|
*/
|
|
20583
20574
|
render() {
|
|
20584
20575
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20585
|
-
return (hAsync(Host, { key: '
|
|
20576
|
+
return (hAsync(Host, { key: '56d638c52e6ef59f5a1273a2cb5d2cf9d996005c', role: "listitem" }, hAsync("a", { key: '07e65b8ed6600bfb30800874b9c6cf1987e5daea', class: {
|
|
20586
20577
|
"duet-toolbar-link": true,
|
|
20587
20578
|
"duet-theme-turva": this.theme === "turva",
|
|
20588
20579
|
active: this.active,
|
|
20589
20580
|
[variation]: true,
|
|
20590
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
20581
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'fefe79b575bcc816d4d5c803f75f0ea66e2b4eac', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '5c58ccf2a15c5eb4ca70c25fe1bbe45fedb094a5' }))));
|
|
20591
20582
|
}
|
|
20592
20583
|
get element() { return getElement(this); }
|
|
20593
20584
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -20859,12 +20850,12 @@ class DuetTooltipButton {
|
|
|
20859
20850
|
* Always the last one in the class.
|
|
20860
20851
|
*/
|
|
20861
20852
|
render() {
|
|
20862
|
-
return (hAsync(Host, { key: '
|
|
20853
|
+
return (hAsync(Host, { key: '9ecfa8389554baa1f39937ab0a512c5387a024e5' }, hAsync("button", { key: '290e747792e3b12947841bbe77ac3d2f832b426d', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
20863
20854
|
"duet-tooltip-button": true,
|
|
20864
20855
|
"duet-tooltip-button-has-label": !!this.label,
|
|
20865
20856
|
"duet-theme-turva": this.theme === "turva",
|
|
20866
20857
|
"duet-tooltip-button-negative": this.negative,
|
|
20867
|
-
} }, hAsync("svg", { key: '
|
|
20858
|
+
} }, hAsync("svg", { key: '54e93d5c9ca28584a7bff01bc834d7f2dce564f9', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'a3795a55e127915ea04f32fc64f49fd809337d4a', 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: '2983ab7373308584d678aaf5317433834af19669', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '2394310596a8b8d3884eae4f017edeffa8a1209d', 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)))));
|
|
20868
20859
|
}
|
|
20869
20860
|
get element() { return getElement(this); }
|
|
20870
20861
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -20932,11 +20923,11 @@ class DuetTooltipPopup {
|
|
|
20932
20923
|
this.contentEl.focus();
|
|
20933
20924
|
}
|
|
20934
20925
|
render() {
|
|
20935
|
-
return (hAsync(Host, { key: '
|
|
20926
|
+
return (hAsync(Host, { key: 'a006dcdbb0417c5bcd4d99c2694fe8336f638abc' }, hAsync("div", { key: '745d1bca6e406dbe1292cc2d10d926d72317b221', class: {
|
|
20936
20927
|
"duet-tooltip": true,
|
|
20937
20928
|
"duet-theme-turva": this.theme === "turva",
|
|
20938
20929
|
"duet-tooltip-active": this.active === true,
|
|
20939
|
-
} }, hAsync(FocusGuard, { key: '
|
|
20930
|
+
} }, hAsync(FocusGuard, { key: 'e4e54b90267fd9c880259ca05b1c84626044f551', moveFocusTo: this.buttonEl }), hAsync("div", { key: '6ab28294f3a642d0282221b39c6db3b777c9f804', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '824bc8f3f30591acc311d5e1390a4c2aa0c4c491' })), hAsync("div", { key: 'a7f43f3882c59f0b48a9fa4b46b3c9b6959733dd', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'be9fb347ff15db7458db3a9dc29d04fc17dd0e8f', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '0cc5add494ffbe855467a5b35e821a68775989e4', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '6559d3858ce6189f07107c13535d3b080012b446', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '343d9591a9417c5f35ab53c4a066712eb85bea0f' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'a68910e36f5eceb4c768c183629a8c1e1b7627d2', moveFocusTo: this.contentEl }))));
|
|
20940
20931
|
}
|
|
20941
20932
|
get element() { return getElement(this); }
|
|
20942
20933
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -21044,14 +21035,14 @@ class DuetTray {
|
|
|
21044
21035
|
* Always the last one in the class.
|
|
21045
21036
|
*/
|
|
21046
21037
|
render() {
|
|
21047
|
-
return (hAsync("div", { key: '
|
|
21038
|
+
return (hAsync("div", { key: '1168a67d691b43ae65583058555d9cbc782ec776', class: {
|
|
21048
21039
|
"duet-tray": true,
|
|
21049
21040
|
"duet-tray-is-active": this.active,
|
|
21050
21041
|
"duet-tray-is-hidden": this.hiddenState,
|
|
21051
21042
|
"duet-tray-is-responsive": this.responsive,
|
|
21052
21043
|
"duet-theme-turva": this.theme === "turva",
|
|
21053
21044
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
21054
|
-
} }, hAsync("div", { key: '
|
|
21045
|
+
} }, hAsync("div", { key: '7e96d76a09472a654b784cc03f41327bfc11c174', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '5fddc62963d12a976a1d824d9dae22613cf5eaf2' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'cca3e663523e98abb04911903890cffd0de4d92c' }, hAsync("button", { key: '1ff129e010a2c94237554700dc50274a63f841f6', "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: '726ab39d36a0aa043b5aeedf56ed4f3b00fd2f59', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'c9af0896a67dd214edfb616eebcb2b5115324f43' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '334b44753446a8e12ea379fc198a3ef75aa2f75f', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'bb335d116234d2bf3fe135cde05acf86a0601e99', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'ca2e1a5e136523889cd5c48f83c2bb326e45daeb', name: "additional" })))))));
|
|
21055
21046
|
}
|
|
21056
21047
|
get element() { return getElement(this); }
|
|
21057
21048
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -22167,10 +22158,10 @@ class DuetUpload {
|
|
|
22167
22158
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
22168
22159
|
}
|
|
22169
22160
|
// @ts-ignore
|
|
22170
|
-
return (hAsync(Host, { key: '
|
|
22161
|
+
return (hAsync(Host, { key: '288aeb8b8850772a57e4333d8ba5b0ff15c3d7fe', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '26201557f31b33446b6453985c8448bb29be72e9', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'd7e389e3cd4bb3b8379dcc04480aba78bfbfc860', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'cca76f6ea0ece55302e10f31d32214526e8c8666', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '639f5c01310f844c0a2e0704bfa4c39c893301fa', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'f30d995ea8304a2d355ea23b6d0018925aca336d', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'f64a53038b12204aa522fb6ba65171e1b4681f6a', 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: '8a8900866831a642e44f58d10c5e6a580c902a41', name: "filefooter" }), hAsync("slot", { key: 'e05d622ba10f8c8403fc9694a298881c8ee80e00', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '89ddf7c2aeaa3c4e6a55d3d2743a1d4ef5916946', margin: "none", size: "small" }, hAsync("div", { key: '663ee7410aac7691c7ecdcc47d40709011f13f75', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '2fad93888bbaff842a5e3d2e8a1324f194d3c351', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '2f6dd6adb1749ddd99170be40ed26fb29ac43097' }, hAsync("duet-spacer", { key: '15b5257a9a586ff424c4ec3a221d87abdc411474', size: "large" }), hAsync("duet-button", { key: '0420e40d466d4eeaed5f303e6c36f025da72bee2', 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 ||
|
|
22171
22162
|
this.bytesMaxReached ||
|
|
22172
22163
|
this.filesToUploadExceedsLimit ||
|
|
22173
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
22164
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '7a7dfa23e6ed1459f94635e431464e56cede465f' }, hAsync("duet-spacer", { key: 'a8e54f1b3bb6a21b01b0bcdbeca209aa2b3eb1c2', size: "medium" }), hAsync("duet-alert", { key: 'c8324533e240d3c5c19d92f2476b61731c7527f3', 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: '11a0d6c9c0dc638025da4357fc1f7cea158a36a8', "aria-hidden": "true" }, hAsync("input", { key: 'bd2c685b5b4859881e63d9cfa71e0058aef91e97', ref: input => {
|
|
22174
22165
|
this.nativeInput = input;
|
|
22175
22166
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
22176
22167
|
"duet-upload": true,
|
|
@@ -22491,7 +22482,7 @@ class DuetUploadAriaStatus {
|
|
|
22491
22482
|
* Always the last one in the class.
|
|
22492
22483
|
*/
|
|
22493
22484
|
render() {
|
|
22494
|
-
return (hAsync(Host, { key: '
|
|
22485
|
+
return (hAsync(Host, { key: '68e88af39c2e495698149c4934fe34e466db3a45', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'b3ae2e032c905605445f4eb5ad3a29ae11251fa6' }, this.statusMessage)));
|
|
22495
22486
|
}
|
|
22496
22487
|
get element() { return getElement(this); }
|
|
22497
22488
|
static get watchers() { return {
|
|
@@ -22558,7 +22549,7 @@ class DuetUploadItem$1 {
|
|
|
22558
22549
|
inheritGlobalTheme(this);
|
|
22559
22550
|
}
|
|
22560
22551
|
render() {
|
|
22561
|
-
return (hAsync(Host, { key: '
|
|
22552
|
+
return (hAsync(Host, { key: '40bce050cb2886e0a2b1f72e39337986349e4c8b' }, hAsync("duet-visually-hidden", { key: 'c1008bf8a919503c51763361f1174a9d6a50aba6', "aria-hidden": "true" }, hAsync("input", { key: '46d659a947506e98051e952e2b0c2894d8b93f2a', ref: input => {
|
|
22562
22553
|
this.nativeInput = input;
|
|
22563
22554
|
}, type: "file", class: {
|
|
22564
22555
|
"duet-upload": true,
|
|
@@ -22670,9 +22661,9 @@ class DuetUploadItem {
|
|
|
22670
22661
|
const { uid, meta, item } = this.data;
|
|
22671
22662
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
22672
22663
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
22673
|
-
return (hAsync("div", { key: '
|
|
22664
|
+
return (hAsync("div", { key: '4ab1c6316a88d990b67ea8597d4a7fbbfee17149', class: {
|
|
22674
22665
|
"upload-item-row": true,
|
|
22675
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
22666
|
+
} }, this.showCategory && (hAsync("div", { key: '1f7a34acdaf8ec6a9dcb722258a5fd186a57bebe', class: "item-categories" }, hAsync("duet-heading", { key: '10436d1372a207a993d1728730719b7c13c21bc8', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '778f28143ab6bf8b98084c6b4f85125d73ee538a', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '0444becdae05b55a29fdb77b898f55baff7292f1', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: 'e7a63578ffccc5077f77dfb54c11c681bb860956', class: "item-actions" }, this.actions.map(actionItem => {
|
|
22676
22667
|
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) }));
|
|
22677
22668
|
}))));
|
|
22678
22669
|
}
|
|
@@ -22713,7 +22704,7 @@ class DuetVisuallyHidden {
|
|
|
22713
22704
|
* Always the last one in the class.
|
|
22714
22705
|
*/
|
|
22715
22706
|
render() {
|
|
22716
|
-
return (hAsync(Host, { key: '
|
|
22707
|
+
return (hAsync(Host, { key: 'fac7286ada1218049a6883dbb51695caf8bcfb7e', class: "duet-visually-hidden" }, hAsync("slot", { key: 'db7fc7a9ce357394ce67364538fe20fb5b468d48' })));
|
|
22717
22708
|
}
|
|
22718
22709
|
get element() { return getElement(this); }
|
|
22719
22710
|
static get style() { return DuetVisuallyHiddenStyle0; }
|