@duetds/components 8.7.1 → 8.7.3
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 +172 -152
- package/lib/cjs/{app-globals-5d4ff905.js → app-globals-4bdf3e04.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 +6 -5
- 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 +10 -6
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +20 -6
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +8 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +19 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +6 -3
- package/lib/cjs/duet-modal.cjs.entry.js +5 -5
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- 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 +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-popup-menu.cjs.entry.js +3 -3
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +17 -17
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -12
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +3 -2
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -9
- package/lib/cjs/duet-textarea.cjs.entry.js +2 -2
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-f498312c.js → errorcodes.utils-e98c8bfb.js} +1 -1
- package/lib/cjs/{focus-utils-b14858f6.js → focus-utils-32fb1216.js} +1 -1
- package/lib/cjs/{index-55675708.js → index-ba1e23fb.js} +1 -1
- package/lib/cjs/{language-utils-77724bd3.js → language-utils-a0632bf3.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-52a96ddb.js → slot-utils-71bdce18.js} +1 -1
- package/lib/cjs/{teleport-79c30f0b.js → teleport-c6f8391a.js} +2 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +22 -0
- package/lib/collection/components/duet-banner/duet-banner.js +4 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +13 -10
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +6 -6
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +20 -6
- 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/date-picker-input.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +24 -5
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +12 -12
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-icon/icon-utils.js +15 -3
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +35 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +4 -4
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +6 -6
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +10 -6
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +3 -3
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.css +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -7
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -8
- 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 +2 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +10 -10
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
- 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 +2 -2
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +17 -17
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/teleport.js +2 -1
- package/lib/collection/utils/test-utils.js +3 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +7 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +29 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +18 -16
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +12 -12
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +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 +7 -4
- package/lib/dist-custom-elements/duet-modal.js +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +9 -9
- 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 +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +13 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +3 -3
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +9 -11
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +7 -11
- package/lib/dist-custom-elements/duet-tab-group.js +18 -18
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +2 -2
- 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 +22 -22
- 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-5b0cb66f.js → p-085a1971.js} +6 -6
- package/lib/dist-custom-elements/{p-efe437a1.js → p-0cb2d3d2.js} +12 -9
- package/lib/dist-custom-elements/{p-d339cfdf.js → p-23afb5e4.js} +8 -8
- package/lib/dist-custom-elements/{p-6283825d.js → p-25553b11.js} +7 -3
- package/lib/dist-custom-elements/{p-6dfa516f.js → p-2cd41f40.js} +4 -4
- package/lib/dist-custom-elements/{p-f2ab5dbd.js → p-387255f0.js} +3 -3
- package/lib/dist-custom-elements/{p-47d2df62.js → p-3b6dad71.js} +1 -1
- package/lib/dist-custom-elements/{p-60263446.js → p-411c0efc.js} +5 -5
- package/lib/dist-custom-elements/{p-222d5824.js → p-43f82d58.js} +19 -6
- package/lib/dist-custom-elements/{p-e0c7447c.js → p-47c3a7d1.js} +2 -2
- package/lib/dist-custom-elements/{p-1c8b0160.js → p-542c1f6e.js} +3 -3
- package/lib/dist-custom-elements/{p-54ce88c6.js → p-54654aef.js} +1 -1
- package/lib/dist-custom-elements/{p-2f934066.js → p-5a20d788.js} +2 -2
- package/lib/dist-custom-elements/{p-2765da13.js → p-63219fc9.js} +2 -2
- package/lib/dist-custom-elements/{p-96bfd386.js → p-6a8cc6b0.js} +3 -3
- package/lib/dist-custom-elements/{p-bba3d126.js → p-6eb22e51.js} +5 -5
- package/lib/dist-custom-elements/{p-0178c1f7.js → p-76594c11.js} +1 -1
- package/lib/dist-custom-elements/{p-4af37889.js → p-810bf022.js} +6 -6
- package/lib/dist-custom-elements/{p-718dcff0.js → p-86e22012.js} +7 -7
- package/lib/dist-custom-elements/{p-ce849bf1.js → p-878d87b2.js} +3 -3
- package/lib/dist-custom-elements/{p-cba919a8.js → p-8d49b51c.js} +3 -3
- package/lib/dist-custom-elements/{p-f296759e.js → p-8ff75665.js} +1 -1
- package/lib/dist-custom-elements/{p-4beff602.js → p-906bfe4b.js} +3 -3
- package/lib/dist-custom-elements/{p-7d29b44a.js → p-9ffa0264.js} +1 -1
- package/lib/dist-custom-elements/{p-7363d02d.js → p-ac4d9cdd.js} +14 -14
- package/lib/dist-custom-elements/{p-285822b1.js → p-b1698020.js} +1 -1
- package/lib/dist-custom-elements/{p-ad323d99.js → p-b713da48.js} +2 -2
- package/lib/dist-custom-elements/{p-7218e2bf.js → p-b85e4143.js} +10 -10
- package/lib/dist-custom-elements/{p-c1b83453.js → p-ba535c6a.js} +1 -1
- package/lib/{esm/teleport-3d49d902.js → dist-custom-elements/p-ca3cb21e.js} +2 -1
- package/lib/dist-custom-elements/{p-48461ce0.js → p-d61727bb.js} +1 -1
- package/lib/dist-custom-elements/{p-9e08f3d1.js → p-e43de9cb.js} +3 -3
- package/lib/dist-custom-elements/{p-c61b3f44.js → p-e491d8d2.js} +2 -2
- package/lib/dist-custom-elements/{p-bae7deca.js → p-e61ae27d.js} +12 -12
- package/lib/dist-custom-elements/{p-53c5cbe8.js → p-eab7e6e0.js} +1 -1
- package/lib/dist-custom-elements/{p-4c8d5fc1.js → p-ebf428c3.js} +1 -1
- package/lib/dist-custom-elements/{p-c4cd2644.js → p-f089c3c3.js} +1 -1
- package/lib/dist-custom-elements/{p-95c3b618.js → p-fc4d041c.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-c12eee98.system.entry.js → p-0151f6d9.system.entry.js} +1 -1
- package/lib/duet/{p-082c6fc8.entry.js → p-01fc4d34.entry.js} +1 -1
- package/lib/duet/p-02897a21.entry.js +4 -0
- package/lib/duet/{p-06c2bd18.entry.js → p-08027bd5.entry.js} +1 -1
- package/lib/duet/{p-3bf4a091.system.entry.js → p-08b4d68d.system.entry.js} +1 -1
- package/lib/duet/{p-9d78c216.system.entry.js → p-0a9b4a74.system.entry.js} +1 -1
- package/lib/duet/{p-af53e318.entry.js → p-0b206da0.entry.js} +1 -1
- package/lib/duet/{p-f6c161bd.system.entry.js → p-0c339f86.system.entry.js} +1 -1
- package/lib/duet/{p-5fb83ec3.entry.js → p-0cdb37a6.entry.js} +1 -1
- package/lib/duet/p-0d4b6211.entry.js +4 -0
- package/lib/duet/{p-d8e509b6.entry.js → p-0e6a5f78.entry.js} +1 -1
- package/lib/duet/{p-3428bafb.entry.js → p-0f62c8c5.entry.js} +1 -1
- package/lib/duet/{p-1165a753.system.entry.js → p-173274f4.system.entry.js} +1 -1
- package/lib/duet/{p-eea12d45.system.entry.js → p-18e23282.system.entry.js} +1 -1
- package/lib/duet/p-1a7bce00.entry.js +4 -0
- package/lib/duet/{p-06eebebd.system.entry.js → p-1b0c4d42.system.entry.js} +1 -1
- package/lib/duet/p-1d06cb09.entry.js +4 -0
- package/lib/duet/{p-59e685ac.system.entry.js → p-1d3367ab.system.entry.js} +1 -1
- package/lib/duet/{p-0365cd3e.system.entry.js → p-240ccb24.system.entry.js} +2 -2
- package/lib/duet/{p-2f560668.system.entry.js → p-2462dae2.system.entry.js} +1 -1
- package/lib/duet/{p-d0546654.system.entry.js → p-24a714b4.system.entry.js} +2 -2
- package/lib/duet/{p-de616b16.entry.js → p-27ccaefd.entry.js} +1 -1
- package/lib/duet/{p-35abed4c.system.entry.js → p-29af6c88.system.entry.js} +1 -1
- package/lib/duet/{p-f669120a.entry.js → p-2c7206d0.entry.js} +1 -1
- package/lib/duet/{p-28bf7466.entry.js → p-2d2eb1e9.entry.js} +1 -1
- package/lib/duet/{p-5b108bfb.system.entry.js → p-2d2ed637.system.entry.js} +1 -1
- package/lib/duet/p-2dda109b.entry.js +4 -0
- package/lib/duet/p-2e99b4f3.system.js +4 -0
- package/lib/duet/{p-16c870b3.entry.js → p-2f27b3da.entry.js} +1 -1
- package/lib/duet/{p-524a57fb.entry.js → p-2f4059b6.entry.js} +1 -1
- package/lib/duet/{p-93dd9299.system.entry.js → p-30fde042.system.entry.js} +1 -1
- package/lib/duet/{p-ff4e3ef4.entry.js → p-3407e65b.entry.js} +1 -1
- package/lib/duet/{p-4aaedf8d.entry.js → p-3502dc9a.entry.js} +1 -1
- package/lib/duet/p-3614789f.entry.js +4 -0
- package/lib/duet/{p-c521fe97.system.entry.js → p-37405ffa.system.entry.js} +1 -1
- package/lib/duet/{p-a58fcf5a.entry.js → p-3a7ff1ef.entry.js} +1 -1
- package/lib/duet/{p-90ae4e20.system.entry.js → p-3aa2e709.system.entry.js} +1 -1
- package/lib/duet/{p-35d26573.system.entry.js → p-3b5483cb.system.entry.js} +1 -1
- package/lib/duet/{p-a89fc669.system.entry.js → p-3bc89ec6.system.entry.js} +1 -1
- package/lib/duet/{p-83c7547a.system.entry.js → p-3e45f5ef.system.entry.js} +1 -1
- package/lib/duet/{p-92f9a89a.system.js → p-3e6f92d8.system.js} +1 -1
- package/lib/duet/p-3f6183cb.system.entry.js +4 -0
- package/lib/duet/{p-fa597917.system.entry.js → p-41c307bf.system.entry.js} +1 -1
- package/lib/duet/{p-8a010422.entry.js → p-42fdb19b.entry.js} +1 -1
- package/lib/duet/{p-b48e15c7.system.entry.js → p-452e7a19.system.entry.js} +2 -2
- package/lib/duet/{p-5ed07d2e.system.entry.js → p-4657fd97.system.entry.js} +2 -2
- package/lib/duet/{p-13f71f1e.system.entry.js → p-47270f8d.system.entry.js} +1 -1
- package/lib/duet/{p-42e959f8.system.entry.js → p-479d0193.system.entry.js} +1 -1
- package/lib/duet/{p-17065933.entry.js → p-488f7870.entry.js} +1 -1
- package/lib/duet/{p-da80a351.system.entry.js → p-49cedc59.system.entry.js} +1 -1
- package/lib/duet/{p-cfdeda11.entry.js → p-49fe016d.entry.js} +1 -1
- package/lib/duet/{p-da88a111.system.entry.js → p-4aa49de6.system.entry.js} +1 -1
- package/lib/duet/{p-b4e41293.system.entry.js → p-4b66fc4c.system.entry.js} +1 -1
- package/lib/duet/{p-85be6926.system.entry.js → p-4fe3e0e7.system.entry.js} +1 -1
- package/lib/duet/p-518a359d.entry.js +4 -0
- package/lib/duet/p-51c37238.entry.js +4 -0
- package/lib/duet/{p-e773ddcb.entry.js → p-53e0951b.entry.js} +1 -1
- package/lib/duet/{p-3e00f3bc.system.entry.js → p-55988964.system.entry.js} +1 -1
- package/lib/duet/{p-1a07aa12.entry.js → p-58a8048d.entry.js} +1 -1
- package/lib/duet/{p-a56596cd.system.entry.js → p-59c37777.system.entry.js} +1 -1
- package/lib/duet/{p-e7ec3ca2.system.entry.js → p-5a79d9de.system.entry.js} +1 -1
- package/lib/duet/{p-993a2ac9.system.entry.js → p-64111c02.system.entry.js} +1 -1
- package/lib/duet/{p-f6577375.system.js → p-6457a796.system.js} +1 -1
- package/lib/duet/{p-043edcc8.system.entry.js → p-669e4c07.system.entry.js} +1 -1
- package/lib/duet/{p-0b805dcf.entry.js → p-674b17de.entry.js} +1 -1
- package/lib/duet/{p-de59eb8b.entry.js → p-6842920d.entry.js} +1 -1
- package/lib/duet/{p-c43da34d.entry.js → p-68d24c63.entry.js} +1 -1
- package/lib/duet/{p-6a4a3905.entry.js → p-6a5bc5a1.entry.js} +1 -1
- package/lib/duet/{p-a2001d8e.system.entry.js → p-6ab1db0d.system.entry.js} +1 -1
- package/lib/duet/{p-7ab7e5a7.entry.js → p-6c680a1f.entry.js} +1 -1
- package/lib/duet/{p-c5149c2a.entry.js → p-6cb0b05d.entry.js} +1 -1
- package/lib/duet/{p-4df1b4d1.entry.js → p-6e960c9c.entry.js} +1 -1
- package/lib/duet/{p-14c83f39.entry.js → p-6edda39f.entry.js} +1 -1
- package/lib/duet/{p-954a60ef.system.entry.js → p-6f2ae515.system.entry.js} +1 -1
- package/lib/duet/{p-fcdec265.system.entry.js → p-6f316c3c.system.entry.js} +1 -1
- package/lib/duet/{p-28e32f2e.entry.js → p-6f95a0ba.entry.js} +1 -1
- package/lib/duet/{p-2a3cecae.system.entry.js → p-711265b1.system.entry.js} +1 -1
- package/lib/duet/{p-d5bcf272.entry.js → p-73c52042.entry.js} +1 -1
- package/lib/duet/{p-1e98ecf4.system.js → p-757bcd12.system.js} +1 -1
- package/lib/duet/{p-58404dee.entry.js → p-79718edb.entry.js} +1 -1
- package/lib/duet/{p-7cc5d7d1.system.entry.js → p-7e17ca68.system.entry.js} +1 -1
- package/lib/duet/{p-fec4c9b4.entry.js → p-7e55ac0c.entry.js} +1 -1
- package/lib/duet/{p-63acca4f.entry.js → p-81ba8231.entry.js} +1 -1
- package/lib/duet/{p-ecfc7f69.system.entry.js → p-82d2bac0.system.entry.js} +1 -1
- package/lib/duet/{p-1934afa3.system.entry.js → p-837c4b0c.system.entry.js} +2 -2
- package/lib/duet/{p-0b8281d6.entry.js → p-89749799.entry.js} +1 -1
- package/lib/duet/{p-6f2aebfe.system.entry.js → p-89d19bc5.system.entry.js} +1 -1
- package/lib/duet/{p-cac0df4a.system.js → p-8ecb557c.system.js} +1 -1
- package/lib/duet/p-8f0b4985.entry.js +4 -0
- package/lib/duet/{p-6737ac10.system.entry.js → p-9266be3a.system.entry.js} +1 -1
- package/lib/duet/{p-65c8f29a.system.entry.js → p-9462f8de.system.entry.js} +1 -1
- package/lib/duet/{p-9e788bee.system.entry.js → p-9589d903.system.entry.js} +1 -1
- package/lib/duet/p-963f148f.entry.js +4 -0
- package/lib/duet/{p-0e9d7493.system.entry.js → p-97489308.system.entry.js} +2 -2
- package/lib/duet/{p-1a05fabd.js → p-9768bb29.js} +1 -1
- package/lib/duet/{p-13ee0ddb.entry.js → p-991b0b18.entry.js} +1 -1
- package/lib/duet/{p-0cdebca9.system.entry.js → p-9af8d623.system.entry.js} +1 -1
- package/lib/duet/p-9fa820d5.entry.js +4 -0
- package/lib/duet/{p-52f86ac2.entry.js → p-9ff8c011.entry.js} +1 -1
- package/lib/duet/{p-16e2b9eb.js → p-a1899d19.js} +1 -1
- package/lib/duet/{p-2d5abb0d.entry.js → p-a1982d5f.entry.js} +1 -1
- package/lib/duet/{p-bee7eed9.entry.js → p-a530d1cd.entry.js} +1 -1
- package/lib/duet/{p-991dcc96.entry.js → p-a56484ea.entry.js} +1 -1
- package/lib/duet/{p-f93844fc.entry.js → p-a6b42954.entry.js} +1 -1
- package/lib/duet/{p-a0e4d435.system.entry.js → p-a755f410.system.entry.js} +1 -1
- package/lib/duet/{p-cbb27e03.system.entry.js → p-ab6676e3.system.entry.js} +1 -1
- package/lib/duet/{p-ac9f1c4c.system.entry.js → p-b041a2ff.system.entry.js} +1 -1
- package/lib/duet/{p-78d8ef6e.system.entry.js → p-b1e9dad0.system.entry.js} +1 -1
- package/lib/duet/{p-ffac0bc8.entry.js → p-b24c06ed.entry.js} +1 -1
- package/lib/duet/{p-6211324f.system.entry.js → p-b39d51b3.system.entry.js} +1 -1
- package/lib/duet/{p-7721062e.system.entry.js → p-b515bef9.system.entry.js} +1 -1
- package/lib/duet/{p-0ade5b90.entry.js → p-b6380384.entry.js} +1 -1
- package/lib/duet/{p-420a9ce6.system.entry.js → p-b73d0326.system.entry.js} +1 -1
- package/lib/duet/{p-a042c13e.entry.js → p-b7d1822b.entry.js} +1 -1
- package/lib/duet/{p-ae3d7c3b.entry.js → p-b912ab9c.entry.js} +1 -1
- package/lib/duet/{p-7bca9133.entry.js → p-bc308f20.entry.js} +1 -1
- package/lib/duet/{p-4f94e3a9.system.entry.js → p-bcf293bf.system.entry.js} +1 -1
- package/lib/duet/{p-1373f8cd.entry.js → p-bd877062.entry.js} +1 -1
- package/lib/duet/{p-8f678422.entry.js → p-bdd2a92b.entry.js} +1 -1
- package/lib/duet/{p-c9b334f0.system.entry.js → p-bddb0a20.system.entry.js} +1 -1
- package/lib/duet/{p-4573506e.system.entry.js → p-bec9a9d0.system.entry.js} +1 -1
- package/lib/duet/{p-c60815e7.entry.js → p-bf5745c6.entry.js} +1 -1
- package/lib/duet/{p-db0c0441.entry.js → p-c1910e48.entry.js} +1 -1
- package/lib/duet/p-c1a9a926.js +4 -0
- package/lib/duet/p-c246dc47.system.entry.js +4 -0
- package/lib/duet/{p-3d4fe186.entry.js → p-c326507b.entry.js} +1 -1
- package/lib/duet/{p-2dd625a9.entry.js → p-c37930c4.entry.js} +1 -1
- package/lib/duet/{p-84234f7e.entry.js → p-c40174a7.entry.js} +1 -1
- package/lib/duet/{p-091e4448.system.entry.js → p-c5ca406d.system.entry.js} +2 -2
- package/lib/duet/{p-4bcd9032.entry.js → p-c5cf73a3.entry.js} +1 -1
- package/lib/duet/{p-a8691dca.entry.js → p-c6b95597.entry.js} +1 -1
- package/lib/duet/{p-d2a33d19.system.entry.js → p-c7709155.system.entry.js} +1 -1
- package/lib/duet/{p-ede8e276.system.entry.js → p-c8820fe8.system.entry.js} +1 -1
- package/lib/duet/p-ca3cb21e.js +4 -0
- package/lib/duet/{p-426b6f2c.entry.js → p-cb8de952.entry.js} +1 -1
- package/lib/duet/{p-b424743f.system.entry.js → p-cba1921b.system.entry.js} +1 -1
- package/lib/duet/p-cc39ffd6.entry.js +4 -0
- package/lib/duet/{p-99218063.entry.js → p-cc947473.entry.js} +1 -1
- package/lib/duet/{p-1cc31d11.system.entry.js → p-ce50b05b.system.entry.js} +1 -1
- package/lib/duet/{p-b0945d94.system.entry.js → p-cf6d25ee.system.entry.js} +1 -1
- package/lib/duet/{p-7eb7b040.entry.js → p-d03377cb.entry.js} +1 -1
- package/lib/duet/p-d1600d3d.js +4 -0
- package/lib/duet/{p-58d818b5.entry.js → p-d1a6aaae.entry.js} +1 -1
- package/lib/duet/p-d5c98e0d.entry.js +4 -0
- package/lib/duet/{p-8be50cf9.entry.js → p-d641d8a3.entry.js} +1 -1
- package/lib/duet/{p-05b73e60.system.entry.js → p-d65ce603.system.entry.js} +1 -1
- package/lib/duet/{p-60236861.system.entry.js → p-d7e819a4.system.entry.js} +1 -1
- package/lib/duet/{p-29d596b1.system.js → p-d9623b60.system.js} +1 -1
- package/lib/duet/{p-a72ee4e4.system.entry.js → p-da15b66e.system.entry.js} +1 -1
- package/lib/duet/{p-7368f2d1.system.entry.js → p-da1d2c32.system.entry.js} +1 -1
- package/lib/duet/{p-ef1b9655.system.entry.js → p-dcb8e451.system.entry.js} +1 -1
- package/lib/duet/{p-fb9acaec.system.js → p-dd27b04e.system.js} +1 -1
- package/lib/duet/{p-43f786d2.entry.js → p-dd4599af.entry.js} +1 -1
- package/lib/duet/{p-c191abaf.system.entry.js → p-e0173b1e.system.entry.js} +1 -1
- package/lib/duet/{p-d356d51d.entry.js → p-e07fa16f.entry.js} +1 -1
- package/lib/duet/{p-f72e9294.entry.js → p-e0927619.entry.js} +1 -1
- package/lib/duet/p-e16d075b.entry.js +4 -0
- package/lib/duet/{p-6395958b.js → p-e415c932.js} +1 -1
- package/lib/duet/p-e479e499.system.entry.js +4 -0
- package/lib/duet/p-e4d156bc.system.entry.js +4 -0
- package/lib/duet/p-e5ef359e.entry.js +4 -0
- package/lib/duet/{p-3000e5e8.entry.js → p-e6733338.entry.js} +1 -1
- package/lib/duet/{p-8514af02.system.entry.js → p-e7243578.system.entry.js} +1 -1
- package/lib/duet/{p-ab3c195d.system.entry.js → p-e77c8cd4.system.entry.js} +1 -1
- package/lib/duet/{p-da34f46f.system.entry.js → p-e7ec54d9.system.entry.js} +1 -1
- package/lib/duet/{p-ccb65433.system.entry.js → p-ec09a443.system.entry.js} +1 -1
- package/lib/duet/{p-e15e4863.entry.js → p-eed32f32.entry.js} +1 -1
- package/lib/duet/p-f2bd948d.entry.js +4 -0
- package/lib/duet/{p-18479908.entry.js → p-f30d5a7f.entry.js} +1 -1
- package/lib/duet/{p-51945bc6.system.entry.js → p-f3c24379.system.entry.js} +1 -1
- package/lib/duet/{p-6e16b9f3.entry.js → p-f3f3f84f.entry.js} +1 -1
- package/lib/duet/{p-f6c23cae.system.entry.js → p-f599d1f3.system.entry.js} +1 -1
- package/lib/duet/p-f6b21d17.system.js +4 -0
- package/lib/duet/{p-74323d3f.system.entry.js → p-f7eb104c.system.entry.js} +1 -1
- package/lib/duet/{p-2c1e0d16.system.entry.js → p-fb307e00.system.entry.js} +1 -1
- package/lib/duet/{p-0d455891.system.entry.js → p-fd9d8da6.system.entry.js} +1 -1
- package/lib/duet/{p-79f07f14.js → p-fe246b98.js} +1 -1
- package/lib/esm/{app-globals-6aa4ff30.js → app-globals-c0f14928.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 +6 -5
- 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 +10 -6
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +20 -6
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +8 -7
- package/lib/esm/duet-divider_2.entry.js +2 -2
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +19 -6
- package/lib/esm/duet-input_2.entry.js +3 -3
- package/lib/esm/duet-layout.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +6 -3
- package/lib/esm/duet-modal.entry.js +5 -5
- package/lib/esm/duet-multiselect.entry.js +3 -3
- 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 +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm/duet-popup-menu.entry.js +3 -3
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +17 -17
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +10 -12
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +3 -2
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +5 -9
- package/lib/esm/duet-textarea.entry.js +2 -2
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +7 -7
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-c62cd48b.js → errorcodes.utils-09a1130e.js} +1 -1
- package/lib/esm/{focus-utils-8a70928b.js → focus-utils-222c942d.js} +1 -1
- package/lib/esm/{index-2a83afcb.js → index-bb52e777.js} +1 -1
- package/lib/esm/{language-utils-351b0ba1.js → language-utils-dc4b408c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-938e3bc4.js → slot-utils-cd1f6806.js} +1 -1
- package/lib/{dist-custom-elements/p-5c488cf4.js → esm/teleport-546f382d.js} +2 -1
- package/lib/esm-es5/{app-globals-6aa4ff30.js → app-globals-c0f14928.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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 +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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-c62cd48b.js → errorcodes.utils-09a1130e.js} +1 -1
- package/lib/esm-es5/focus-utils-222c942d.js +4 -0
- package/lib/esm-es5/{index-2a83afcb.js → index-bb52e777.js} +1 -1
- package/lib/esm-es5/{language-utils-351b0ba1.js → language-utils-dc4b408c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-938e3bc4.js → slot-utils-cd1f6806.js} +1 -1
- package/lib/esm-es5/teleport-546f382d.js +4 -0
- package/lib/types/components/duet-date-picker/date-picker-input.d.ts +1 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +7 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +8 -1
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components.d.ts +20 -0
- package/lib/types/utils/teleport.d.ts +1 -0
- package/package.json +4 -4
- package/lib/duet/p-12303d3f.system.entry.js +0 -4
- package/lib/duet/p-163b1470.entry.js +0 -4
- package/lib/duet/p-1a2c400a.entry.js +0 -4
- package/lib/duet/p-21cd3b7a.entry.js +0 -4
- package/lib/duet/p-2af91b00.entry.js +0 -4
- package/lib/duet/p-2bed90a7.js +0 -4
- package/lib/duet/p-32b0db61.entry.js +0 -4
- package/lib/duet/p-33ca2b8b.js +0 -4
- package/lib/duet/p-41c75b0f.system.entry.js +0 -4
- package/lib/duet/p-4c568948.system.js +0 -4
- package/lib/duet/p-5060af77.entry.js +0 -4
- package/lib/duet/p-5c488cf4.js +0 -4
- package/lib/duet/p-72857c31.entry.js +0 -4
- package/lib/duet/p-7838fd97.entry.js +0 -4
- package/lib/duet/p-7e7f13b3.system.entry.js +0 -4
- package/lib/duet/p-81f54a62.system.entry.js +0 -4
- package/lib/duet/p-8aba914d.entry.js +0 -4
- package/lib/duet/p-97c8cfbe.entry.js +0 -4
- package/lib/duet/p-b6f2538b.system.js +0 -4
- package/lib/duet/p-c171c4d4.entry.js +0 -4
- package/lib/duet/p-c237eba5.entry.js +0 -4
- package/lib/duet/p-dd62f6ef.entry.js +0 -4
- package/lib/duet/p-ded1d3e9.entry.js +0 -4
- package/lib/duet/p-e442f0f4.entry.js +0 -4
- package/lib/duet/p-f8e173f6.entry.js +0 -4
- package/lib/esm-es5/focus-utils-8a70928b.js +0 -4
- package/lib/esm-es5/teleport-3d49d902.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -3575,12 +3575,12 @@ class DuetBadge {
|
|
|
3575
3575
|
*/
|
|
3576
3576
|
render() {
|
|
3577
3577
|
const backgroundClass = `background-${this.background}`;
|
|
3578
|
-
return (hAsync(Host, { key: '
|
|
3578
|
+
return (hAsync(Host, { key: '813fa2ff37c4116616bb1c74af786cf596dc2301', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'faaface854b590a790bc1fbf98a9b79adcba3fa7', class: {
|
|
3579
3579
|
"duet-badge": true,
|
|
3580
3580
|
[this.variation]: true,
|
|
3581
3581
|
[backgroundClass]: true,
|
|
3582
3582
|
"duet-theme-turva": this.theme === "turva",
|
|
3583
|
-
} }, hAsync("slot", { key: '
|
|
3583
|
+
} }, hAsync("slot", { key: 'e05dee56ece896025bfe134a6ae5c45e15366232' }))));
|
|
3584
3584
|
}
|
|
3585
3585
|
get element() { return getElement(this); }
|
|
3586
3586
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -3606,7 +3606,7 @@ const DuetPicture = ({ img, sources }) => {
|
|
|
3606
3606
|
hAsync("img", Object.assign({}, img))));
|
|
3607
3607
|
};
|
|
3608
3608
|
|
|
3609
|
-
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}";
|
|
3609
|
+
const duetBannerCss = "*,\n*::after,\n*::before {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n\n:host {\n box-sizing: border-box;\n padding: 0;\n margin: 0;\n background: transparent;\n border: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin-right: 36px !important;\n margin-bottom: 36px !important;\n display: flex;\n justify-content: center;\n width: auto;\n container: duet-banner-container;\n container-type: inline-size;\n}\n:host:last-child, :host:last-of-type {\n margin-right: 0 !important;\n}\n\n:host(.duet-m-0) {\n margin: 0 !important;\n}\n\n.duet-banner {\n display: grid;\n grid-template-rows: min-content 1fr;\n width: 100%;\n height: 100%;\n font-family: \"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n font-style: normal;\n text-align: left;\n border-radius: 16px;\n}\n.duet-banner.duet-p-0 {\n padding: 0 !important;\n}\n.duet-banner.duet-m-0 {\n margin: 0 !important;\n}\n.duet-banner .visual {\n position: relative;\n display: none;\n overflow: hidden;\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 0px) {\n .duet-banner .visual {\n /* stylelint-enable */\n display: block;\n }\n}\n.duet-banner .visual .image-container {\n position: relative;\n aspect-ratio: 2/1;\n overflow: hidden;\n}\n.duet-banner .visual .image {\n position: relative;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center;\n}\n.duet-banner .visual .icon {\n position: absolute;\n}\n.duet-banner .visual .brand-shape {\n position: absolute;\n top: 0;\n left: 72%;\n display: none;\n width: 100%;\n height: 100%;\n mask-image: url(\"data:image/svg+xml,%3Csvg%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20344%22%20fill%3D%22none%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.72641e-07%2091.1902C0.000476976%2097.9034%200.626077%20104.726%201.92282%20111.592L42.7493%20327.771C43.8045%20333.358%2045.2667%20338.776%2047.0996%20344H160V0H51.1439C19.7799%2019.1253%200.00268143%2053.4178%202.72641e-07%2091.1749C-9.08807e-08%2091.18%20-9.08875e-08%2091.1851%202.72641e-07%2091.1902Z%22%20fill%3D%22%23E6F2F8%22%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E\");\n}\n.duet-banner .content {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 16px 20px 28px;\n}\n.duet-banner .content .description {\n hyphens: auto;\n}\n.duet-banner .action {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n align-items: flex-start;\n justify-content: flex-end;\n padding-top: 16px;\n}\n.duet-banner .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n}\n.duet-banner .visual .image-container {\n width: 100%;\n height: auto;\n border-radius: 0;\n}\n.duet-banner .visual .icon {\n bottom: 30px;\n left: 15px;\n}\n.duet-banner.duet-theme-turva {\n font-family: \"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n}\n.duet-banner.duet-theme-turva .visual .brand-shape {\n mask-image: url(\"data:image/svg+xml,%3Csvg viewBox='0 0 160 344' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7920_3801)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.58983 142.533C0.751086 155.147 0.0746585 167.857 0.00796847 179.225C0.00263853 179.814 0 180.409 0 181.007C0 194.845 1.41172 210.806 3.58065 223.171C5.6528 234.934 8.58716 246.495 12.5981 257.779C21.2249 282.059 34.0151 304.109 50.8401 323.977C56.7824 330.993 63.0921 337.68 69.8162 344H160V0H65.0733C52.1771 10.7866 41.4339 23.4177 32.7528 37.7978C21.1154 57.0822 14.0367 77.9583 9.75424 99.7913C9.09214 103.157 8.55049 106.545 8.00901 109.933C7.75185 111.542 7.49474 113.15 7.22478 114.756C6.74308 117.618 6.24543 120.479 5.74776 123.34C4.6361 129.729 3.52432 136.12 2.58983 142.533Z' fill='%23F5F5F7'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7920_3801'%3E%3Crect width='160' height='344' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A\");\n}\n.duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-disable */\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-medium .visual, .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-top-right-radius: 0;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-medium .visual .image-container, .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-medium .visual .image, .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-medium .visual .icon, .duet-banner.size-large .visual .icon {\n top: 36px;\n left: 168px;\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-medium .content, .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 28px 28px 28px 0;\n }\n .duet-banner.size-medium .action, .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n@container duet-banner-container (min-width: 586px) {\n .duet-banner.size-medium, .duet-banner.size-large {\n /* stylelint-enable */\n }\n .duet-banner.size-medium .visual .brand-shape, .duet-banner.size-large .visual .brand-shape {\n left: 80%;\n }\n}\n.duet-banner.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 900px) {\n .duet-banner.size-large {\n /* stylelint-enable */\n grid-template-rows: none;\n grid-template-columns: 50% 50%;\n }\n .duet-banner.size-large .visual {\n border-top-left-radius: 16px;\n border-bottom-left-radius: 16px;\n }\n .duet-banner.size-large .visual .image-container {\n height: 100%;\n }\n .duet-banner.size-large .visual .image {\n width: 100%;\n height: 100%;\n }\n .duet-banner.size-large .visual .icon {\n top: 40px;\n bottom: auto;\n left: 335px;\n }\n .duet-banner.size-large .visual .brand-shape {\n display: block;\n }\n .duet-banner.size-large .content {\n align-items: flex-start;\n justify-content: center;\n padding: 48px 48px 48px 0;\n }\n .duet-banner.size-large .action {\n flex-grow: 0;\n }\n}\n.duet-banner.no-image {\n display: flex;\n justify-content: center;\n padding: 36px 20px;\n}\n.duet-banner.no-image .visual {\n display: none;\n}\n.duet-banner.no-image .content {\n width: 100%;\n max-width: 720px;\n padding: 0;\n}\n.duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-disable */\n}\n@container duet-banner-container (min-width: 486px) {\n .duet-banner.no-image.size-medium, .duet-banner.no-image.size-large {\n /* stylelint-enable */\n padding: 48px;\n }\n}";
|
|
3610
3610
|
var DuetBannerStyle0 = duetBannerCss;
|
|
3611
3611
|
|
|
3612
3612
|
/**
|
|
@@ -3694,13 +3694,14 @@ class DuetBanner {
|
|
|
3694
3694
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
3695
3695
|
sources: parsePossibleJSON(this.sources),
|
|
3696
3696
|
};
|
|
3697
|
-
return (hAsync(Host, { key: 'b8716b8067524ae7e4c29e56cdc37d6219c7743a', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '
|
|
3697
|
+
return (hAsync(Host, { key: 'b8716b8067524ae7e4c29e56cdc37d6219c7743a', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '7c4b420d5a203fa5066f4a71a801c9fc288e179c', class: {
|
|
3698
3698
|
"duet-banner": true,
|
|
3699
3699
|
"duet-theme-turva": this.theme === "turva",
|
|
3700
3700
|
[this.currentSize]: true,
|
|
3701
3701
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
3702
3702
|
"size-large": this.size === "large",
|
|
3703
|
-
|
|
3703
|
+
"no-image": !this.image,
|
|
3704
|
+
}, style: bannerStyles }, hAsync("div", { key: 'dd84b698336d0c159b692bde709c6f10bfe414bf', class: "visual" }, hAsync("div", { key: 'c92d3fdabc120fa760c30ae44e90a29439817940', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: 'bab1712aa5f1ab77a6c96babc607a9a9d4359dd2' }, pictureSource))), 1 > 2 , hAsync("div", { key: '411fc99b5c017a4b89f4aa375d6725e9e85314e6', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '6ba154b92216b98f00b33d740175760049157d14', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: 'ba3ab430999ab6f0823ab957b06bcc4077799c5a', class: "heading" }, hAsync("duet-heading", { key: '256ed05f27e6c6c3ec987d4039d6a7caf713458b', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, hAsync("span", { key: '197dbc447ca8910b13c8317cd00507e034e84e6f' }, hAsync("slot", { key: 'cba3fcc030b0412d981e7cc94626e90aa628cb25', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: 'dbcc6142fe33db74bccac1d54a1fe2a8e8ccc064', class: "description", style: { color } }, hAsync("slot", { key: '1806ab5f5be1ee076c3978f1fcb676cef6b62893', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: 'bf9fd56968048a53d15cc1849c2a3b4619851c49', class: "action" }, hAsync("slot", { key: '367d2a86cb83fe2d2bdb91ae1e133453e35ce895', name: "action" })))))));
|
|
3704
3705
|
}
|
|
3705
3706
|
get element() { return getElement(this); }
|
|
3706
3707
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -3769,14 +3770,14 @@ class DuetBreadcrumb {
|
|
|
3769
3770
|
*/
|
|
3770
3771
|
render() {
|
|
3771
3772
|
var _a;
|
|
3772
|
-
return (hAsync(Host, { key: '
|
|
3773
|
+
return (hAsync(Host, { key: 'b6f3e1e75bd42d8d41e89e0f0ddc460735d0d5f7', role: "listitem" }, hAsync("div", { key: 'b331039ab43444323d0376d7a97501edd62bca26', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'dd9a5aa7cb2de0c4fc03d45994ec4f176b9da83b', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: 'a8e1e00fe3965f650d56054bbe9416cb4a2f96d8', class: {
|
|
3773
3774
|
"duet-breadcrumb": true,
|
|
3774
3775
|
"duet-theme-turva": this.theme === "turva",
|
|
3775
3776
|
}, 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" &&
|
|
3776
3777
|
this.icon && [
|
|
3777
|
-
hAsync("duet-icon", { key: '
|
|
3778
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
3779
|
-
], hAsync("slot", { key: '
|
|
3778
|
+
hAsync("duet-icon", { key: 'd6bfff88d0862ec2dcf3278067695169a528a6c0', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
3779
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'af6ac987fcfc1b3756a4d8143f2624f54ccec31a', size: "x-small", direction: "horizontal" }),
|
|
3780
|
+
], hAsync("slot", { key: '431112825f7667756b9bfb13e641fe290b60f244' })))));
|
|
3780
3781
|
}
|
|
3781
3782
|
get element() { return getElement(this); }
|
|
3782
3783
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -3837,11 +3838,11 @@ class DuetBreadcrumbs {
|
|
|
3837
3838
|
*/
|
|
3838
3839
|
render() {
|
|
3839
3840
|
const color = getColorByName(this.color);
|
|
3840
|
-
return (hAsync(Host, { key: '
|
|
3841
|
+
return (hAsync(Host, { key: '6005094e7bac41c2a8a29adf8046ca5231d34066' }, hAsync("nav", { key: 'ac2500d659dd3c902963e7af0edd1e6432f2aa3f', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
3841
3842
|
"duet-breadcrumbs": true,
|
|
3842
3843
|
"duet-theme-turva": this.theme === "turva",
|
|
3843
3844
|
[this.variation]: true,
|
|
3844
|
-
} }, hAsync("div", { key: '
|
|
3845
|
+
} }, hAsync("div", { key: '829e9f818a87449b89d41f32386e08ae6839497b', class: "container" }, hAsync("div", { key: 'd9c34522bc6d2ad205c847e4e8fe95a71a4d3ff9', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '3ee81fac7e560f04536acc9aa13e3b342bdfc2bf' })), hAsync("div", { key: '13b589c5fb63ca7ff2e8d7129a1cc835a2b6f424', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '9fa7fe0d22b33a77ba92f41eaff08fe3f5a739d2', class: "bottom-border bottom-border--nav" }))));
|
|
3845
3846
|
}
|
|
3846
3847
|
get element() { return getElement(this); }
|
|
3847
3848
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -3983,6 +3984,9 @@ class DuetButton {
|
|
|
3983
3984
|
disconnectLanguageChangeObserver(this);
|
|
3984
3985
|
}
|
|
3985
3986
|
syncToProxyButton() {
|
|
3987
|
+
if (this.disabled === false) {
|
|
3988
|
+
this.element.removeAttribute("disabled");
|
|
3989
|
+
}
|
|
3986
3990
|
this.proxyButton.type = this.getButtonType();
|
|
3987
3991
|
this.proxyButton.disabled = this.disabled;
|
|
3988
3992
|
// attributes should be removed in cases where name/value is not set
|
|
@@ -4035,12 +4039,12 @@ class DuetButton {
|
|
|
4035
4039
|
// enforce consistency for external links
|
|
4036
4040
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4037
4041
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4038
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4042
|
+
const commonChildren = (hAsync("span", { key: '175bb8af989887b1f3c09549b95757984fafda22', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: 'c27d4012076d19e697ca12056499d02bbaaf5667', "aria-hidden": "true", class: {
|
|
4039
4043
|
"duet-button-icon": true,
|
|
4040
4044
|
left: !iconRight,
|
|
4041
4045
|
right: iconRight,
|
|
4042
4046
|
[this.getButtonIconSize()]: true,
|
|
4043
|
-
} }, hAsync("duet-icon", { key: '
|
|
4047
|
+
} }, hAsync("duet-icon", { key: '55ff5f4e621ff4396287b2478b626805f6b4cc18', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: '2686f673bf2aa13133b810e9aa8e2a2041e426b3', class: "duet-button-contents-slot" }, hAsync("slot", { key: '11a7a6dac5f579e19e7ded9914c954d0edd1e8db' }))));
|
|
4044
4048
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4045
4049
|
const commonProps = {
|
|
4046
4050
|
onFocus: this.onFocus,
|
|
@@ -4075,7 +4079,7 @@ class DuetButton {
|
|
|
4075
4079
|
"aria-details": this.accessibleDetails,
|
|
4076
4080
|
"aria-description": this.accessibleDescription,
|
|
4077
4081
|
};
|
|
4078
|
-
return (hAsync(Host, { key: '
|
|
4082
|
+
return (hAsync(Host, { key: '00b0b4bff689bbe5c51d3fabdfb8093c13816cd0', onClick: this.handleClick, class: {
|
|
4079
4083
|
"duet-m-0": this.margin === "none",
|
|
4080
4084
|
"duet-small": this.size === "small",
|
|
4081
4085
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4083,13 +4087,13 @@ class DuetButton {
|
|
|
4083
4087
|
"duet-expand": this.expand,
|
|
4084
4088
|
[this.variation]: true,
|
|
4085
4089
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4086
|
-
} }, hAsync("span", { key: '
|
|
4090
|
+
} }, hAsync("span", { key: '21b30db85548fad9886350e172f74455407d9f6d', class: {
|
|
4087
4091
|
"duet-button-container": true,
|
|
4088
4092
|
"duet-button-is-loading": this.loading,
|
|
4089
4093
|
"duet-theme-turva": this.theme === "turva",
|
|
4090
4094
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4091
4095
|
[this.variation]: true,
|
|
4092
|
-
} }, 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: '
|
|
4096
|
+
} }, 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: 'dc75e3801e61c06621520d7589945b59a61664fc', color: "currentColor" }))));
|
|
4093
4097
|
}
|
|
4094
4098
|
get element() { return getElement(this); }
|
|
4095
4099
|
static get watchers() { return {
|
|
@@ -4181,11 +4185,11 @@ class DuetCallout {
|
|
|
4181
4185
|
<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"/>
|
|
4182
4186
|
</svg>
|
|
4183
4187
|
`;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4188
|
+
return (hAsync(Host, { key: '063480653c78ec3af7af88f78668f46b1cd68344' }, hAsync("div", { key: 'fc589663d377d0ca46888f970824e02d154a62f4', class: {
|
|
4185
4189
|
"duet-callout": true,
|
|
4186
4190
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4191
|
"duet-m-0": this.margin === "none",
|
|
4188
|
-
} }, hAsync("figure", { key: '
|
|
4192
|
+
} }, hAsync("figure", { key: '8c2c3b0181f3b62104132bef2a8c6e2a1875012d', class: "container" }, hAsync("duet-icon", { key: 'dbc8bfb4314be5079691951629f3639c3042e23c', 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: '7c441757835f32794f60ace1881cc4e0e4a54ee6' }, hAsync("slot", { key: '6fee2ce133ad3d735590e7f9bf740e2aa39ae0ba' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '7f04066eceba4db7584cc676678e012601819204', class: "author" }, hAsync("span", { key: 'f38084061413441a935186b4f4fd75e2048ea8a8' }, "\u2014 "), hAsync("slot", { key: '0512a40598cdb8c637761a05fe0b3b90ed7bf22c', name: "author" })))))));
|
|
4189
4193
|
}
|
|
4190
4194
|
get element() { return getElement(this); }
|
|
4191
4195
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4546,11 +4550,11 @@ class DuetCheckmark {
|
|
|
4546
4550
|
inheritGlobalTheme(this);
|
|
4547
4551
|
}
|
|
4548
4552
|
render() {
|
|
4549
|
-
return (hAsync(Host, { key: '
|
|
4553
|
+
return (hAsync(Host, { key: '7fd977069f6d90e931bc1cc546dd5dcb1b3327a4', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '6248db0eebc16f273f2e09182664e9aff4c8fc69', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'b2462908bca83b11023bd66451750e232403dbd7', class: {
|
|
4550
4554
|
"duet-checkmark-container": true,
|
|
4551
4555
|
center: this.center,
|
|
4552
4556
|
"duet-checkmark-radio": this.type === "radio",
|
|
4553
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4557
|
+
} }, this.checked && hAsync("div", { key: '58f1dfa0f6414c0b6e339562a7474d88f6ed593d', class: "duet-checkmark" })))));
|
|
4554
4558
|
}
|
|
4555
4559
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4556
4560
|
static get cmpMeta() { return {
|
|
@@ -6004,6 +6008,7 @@ class DuetCombobox {
|
|
|
6004
6008
|
this.onKeyDown = (e) => {
|
|
6005
6009
|
//if selection is made, close the list and update internal and external values
|
|
6006
6010
|
const listItems = this.returnFilteredOrNonFiltered();
|
|
6011
|
+
const listItemsSuggestions = listItems.filter(i => !this.selectedItems.has(i.id));
|
|
6007
6012
|
// this should be set to undefined on everything BUT up/down arrow according to the aria 1.1 specs
|
|
6008
6013
|
// https://www.w3.org/TR/wai-aria-practices-1.1/#combobox
|
|
6009
6014
|
this.input.accessibleActiveDescendant = undefined;
|
|
@@ -6017,6 +6022,12 @@ class DuetCombobox {
|
|
|
6017
6022
|
this.updateSelectedItem(listItems[this.activeItem].id, true);
|
|
6018
6023
|
}
|
|
6019
6024
|
}
|
|
6025
|
+
else if (!this.multiple &&
|
|
6026
|
+
this.listOpen &&
|
|
6027
|
+
listItemsSuggestions.length === 1 &&
|
|
6028
|
+
listItemsSuggestions[0].name.toLowerCase() === this.input.value.toLowerCase()) {
|
|
6029
|
+
this.updateSelectedItem(listItemsSuggestions[0].id, true);
|
|
6030
|
+
}
|
|
6020
6031
|
this.activeItem = undefined;
|
|
6021
6032
|
this.listOpen = false;
|
|
6022
6033
|
return;
|
|
@@ -6323,6 +6334,13 @@ class DuetCombobox {
|
|
|
6323
6334
|
return;
|
|
6324
6335
|
}
|
|
6325
6336
|
if (isBlurred && this.force) {
|
|
6337
|
+
const listItems = this.returnFilteredOrNonFiltered();
|
|
6338
|
+
if (!this.multiple &&
|
|
6339
|
+
this.listOpen &&
|
|
6340
|
+
listItems.length === 1 &&
|
|
6341
|
+
listItems[0].name.toLowerCase() === this.input.value.toLowerCase()) {
|
|
6342
|
+
this.updateSelectedItem(listItems[0].id, true);
|
|
6343
|
+
}
|
|
6326
6344
|
if (this.selectedItems.size === 0) {
|
|
6327
6345
|
this.input.value = "";
|
|
6328
6346
|
}
|
|
@@ -6361,14 +6379,14 @@ class DuetCombobox {
|
|
|
6361
6379
|
});
|
|
6362
6380
|
}
|
|
6363
6381
|
}
|
|
6364
|
-
formatLabel(item, length, itemsLength) {
|
|
6382
|
+
formatLabel(item, itemIndex, length, itemsLength) {
|
|
6365
6383
|
if (!item || itemsLength === undefined) {
|
|
6366
6384
|
return "";
|
|
6367
6385
|
}
|
|
6368
6386
|
const labelString = length === itemsLength ? this.accessibleLabels.item : this.accessibleLabels.itemFiltered;
|
|
6369
6387
|
return labelString
|
|
6370
6388
|
.replace("{name}", String(item.name))
|
|
6371
|
-
.replace("{current}", String(
|
|
6389
|
+
.replace("{current}", String(itemIndex + 1))
|
|
6372
6390
|
.replace("{total}", String(length))
|
|
6373
6391
|
.replace("{hiddenItems}", String(itemsLength - length));
|
|
6374
6392
|
}
|
|
@@ -6508,10 +6526,10 @@ class DuetContactCard {
|
|
|
6508
6526
|
render() {
|
|
6509
6527
|
const isTurva = this.theme === "turva";
|
|
6510
6528
|
const theme = isTurva ? "turva" : "default";
|
|
6511
|
-
return (hAsync(Host, { key: '
|
|
6529
|
+
return (hAsync(Host, { key: '3c9fa25aeb7c045d4b6125136452fbc000e917b0', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '305d81e0a0ca2879b9ae99198f5625aa72d7055a', class: {
|
|
6512
6530
|
"duet-contact-card": true,
|
|
6513
6531
|
"duet-theme-turva": this.theme === "turva",
|
|
6514
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
6532
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '097d0fa2b4bcdd11fc20ab44ef4efb0cdee60e64' }, this.name && (hAsync("duet-heading", { key: '2685492ee8f93e0bdfbbcc06069bede6254b95e7', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '3e7ecd91d78612587c26fb59efeba51318ff23fa', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'db60baa08a325146189f570058a4eed39719794d', class: "email" }, hAsync("duet-icon", { key: '73f29608b716dba93b17aaf31b35343084bae481', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'aa4a3b2e81e0abe7fbfffae19f728330da02ed94', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '8f357ececb303367c0f9e7a29b08a73e291696f0', class: "phone" }, hAsync("duet-icon", { key: '95623b4884cd04f1ccf7a05dd6e0fdd29ea0efc2', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'debe51d2602cabd67192beb8e2a6b33f42cdc0ae', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '0c53c226300fe7fe2430b096cb755865f239e58b', class: "call-to-action" }, hAsync("duet-button", { key: '59badc81218dbc05a54b0447d1487468cabe8024', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'e08bd939ffbeb843e958c046566bba918fdf1f01' }), hAsync("slot", { key: '5e6b4e8be69e1b5fd6babd5d616e3d3cbaa78138' }))));
|
|
6515
6533
|
}
|
|
6516
6534
|
get element() { return getElement(this); }
|
|
6517
6535
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -6941,6 +6959,7 @@ class DuetDatePicker {
|
|
|
6941
6959
|
this.max = "";
|
|
6942
6960
|
this.incrementYears = 10;
|
|
6943
6961
|
this.validity = undefined;
|
|
6962
|
+
this.accessibleLiveError = "polite";
|
|
6944
6963
|
}
|
|
6945
6964
|
updateValidity() {
|
|
6946
6965
|
this.determineValidity(parseISODate(this.value));
|
|
@@ -7150,6 +7169,7 @@ class DuetDatePicker {
|
|
|
7150
7169
|
"max": [1],
|
|
7151
7170
|
"incrementYears": [2, "increment"],
|
|
7152
7171
|
"validity": [1040],
|
|
7172
|
+
"accessibleLiveError": [1, "accessible-live-error"],
|
|
7153
7173
|
"open": [32],
|
|
7154
7174
|
"focusedDay": [32],
|
|
7155
7175
|
"inputValue": [32],
|
|
@@ -7482,20 +7502,20 @@ class DuetFieldset {
|
|
|
7482
7502
|
* Always the last one in the class.
|
|
7483
7503
|
*/
|
|
7484
7504
|
render() {
|
|
7485
|
-
return (hAsync(Host, { key: '
|
|
7505
|
+
return (hAsync(Host, { key: '4b7d0d8326673fbc6e1e7c775e7fa4ee12d1bf33', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '24c00f00cb4bc4d9e765732e9aca337f8081e523', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
7486
7506
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
7487
7507
|
// once they do, we can remove errors from the aria-describedby
|
|
7488
7508
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
7489
7509
|
class: {
|
|
7490
7510
|
"duet-fieldset": true,
|
|
7491
7511
|
"duet-theme-turva": this.theme === "turva",
|
|
7492
|
-
} }, hAsync("legend", { key: '
|
|
7512
|
+
} }, hAsync("legend", { key: '25cc5a4565627e7253cf51ddd8387242901e5291', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'b6fbd1a1aec1d5417c0402ca6e620989a214243d' }, this.label), this.caption && hAsync("span", { key: '8f2d3a785504eff5b08dacdd91f7563ea8d23556' }, this.caption)), hAsync("div", { key: '321ba668ccd5893bacfc4504144fe72afb9d7423', class: {
|
|
7493
7513
|
"duet-legend-wrapper": true,
|
|
7494
7514
|
"duet-legend-has-caption": !!this.caption,
|
|
7495
7515
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
7496
7516
|
"duet-legend-hidden": this.labelHidden,
|
|
7497
7517
|
"duet-legend-compact": this.compactLabel,
|
|
7498
|
-
} }, hAsync("div", { key: '
|
|
7518
|
+
} }, hAsync("div", { key: '829ebed3b5303fc9745a4188341bc0f3265ab43c', class: "duet-fieldset-label" }, hAsync("span", { key: '8b510fdf1f3986a02a9c0bf8d68af86958d74d7c', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '7cb0efc0b6f5790887cd1d1f971738d0050d03fc', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '60587899d57d4c56f83f2cc0419eed5e5d74fbc9', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '503211941d2c58bb3b7b84c5c4dfa587b01f2ae5', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'b37c634b0db76801085598ab9b9e2b06321448f3' }), hAsync("span", { key: 'eb6c9de533eb068ef21e322df6d8e5f30ac75e07', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'ed99f6a92ade89c6e1f971dc4aa03985e3d87d57' }, this.error)))));
|
|
7499
7519
|
}
|
|
7500
7520
|
get element() { return getElement(this); }
|
|
7501
7521
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -7629,17 +7649,17 @@ class DuetFooter {
|
|
|
7629
7649
|
* Always the last one in the class.
|
|
7630
7650
|
*/
|
|
7631
7651
|
render() {
|
|
7632
|
-
const text = getLocaleString(i18n$1);
|
|
7652
|
+
const text = getLocaleString(i18n$1, this.language);
|
|
7633
7653
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
7634
|
-
return (hAsync("footer", { key: '
|
|
7654
|
+
return (hAsync("footer", { key: '75ce11161efe6855a6a5b9ea3ac69f765607dc76', class: {
|
|
7635
7655
|
"duet-footer": true,
|
|
7636
7656
|
"duet-m-0": this.margin === "none",
|
|
7637
7657
|
"duet-theme-turva": this.theme === "turva",
|
|
7638
7658
|
"duet-footer-simple": this.variation === "simple",
|
|
7639
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
7659
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '23c753fba06a5ed4b0de30765fce8e919e291f05', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'd7e9578069a59e30d214706e33de6956ffe2cf3a', class: {
|
|
7640
7660
|
"duet-footer-top": true,
|
|
7641
7661
|
"duet-has-info": this.hasInfoSlot,
|
|
7642
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
7662
|
+
}, part: "top" }, hAsync("div", { key: '8ad9d1ea07a57748f5ebdd059988938a21267931', class: "footer-top-logo" }, hAsync("duet-logo", { key: '25ea3935ef88a5d3c1e42e9fdf64872588002a9e', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '2006d743a6ed3d7488253961c4340f66496823a4', class: "footer-top-right-container" }, hAsync("slot", { key: 'd327dab130eabe791f9ae1018e5c4e9561ff565b', name: "info" }), hAsync("div", { key: 'ad543c47ee44aec916299a4bd621fbdfb8b926bb', class: "footer-top-items" }, this.processedItems &&
|
|
7643
7663
|
this.processedItems.map((item, index) => {
|
|
7644
7664
|
var _a, _b, _c, _d, _e, _f;
|
|
7645
7665
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { 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:"))
|
|
@@ -7649,7 +7669,7 @@ class DuetFooter {
|
|
|
7649
7669
|
: "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:"))
|
|
7650
7670
|
? "medium"
|
|
7651
7671
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
7652
|
-
}))))), hAsync("slot", { key: '
|
|
7672
|
+
}))))), hAsync("slot", { key: '290581e40b6f214b20375b6aaa687ef30d2f8277', name: "extra" }), hAsync("p", { key: '9ed4238b3f37a84cc206e43f67b0c72fea3810ab', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '388d43bba3aef1e0a88f65a2416217c6d76a236a', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'e7f66b6f310a9770ae74eb507f09824c8c3fff1c', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: 'f5e52871d8d27400126ee19b4720a45598d561cf' }, this.processedMenu.map(item => (hAsync("a", { 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: 'f8bd86bfb9707786b07f5e49ac957a0c0f3c0380', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
7653
7673
|
}
|
|
7654
7674
|
get element() { return getElement(this); }
|
|
7655
7675
|
static get watchers() { return {
|
|
@@ -9119,11 +9139,11 @@ class DuetIcon {
|
|
|
9119
9139
|
: {};
|
|
9120
9140
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9121
9141
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9122
|
-
return (hAsync(Host, { key: '
|
|
9142
|
+
return (hAsync(Host, { key: '56b942a1ac469f7ccd921c88b0824a31f43192f7', class: {
|
|
9123
9143
|
"duet-m-0": this.margin === "none",
|
|
9124
9144
|
"duet-icon-has-outline": !!this.outline,
|
|
9125
9145
|
"duet-icon-has-background": !!this.background,
|
|
9126
|
-
} }, hAsync("span", { key: '
|
|
9146
|
+
} }, hAsync("span", { key: '0c151b14def0111c53d55b2af24a8484211dfc8a', "aria-hidden": "true", style: styles, class: {
|
|
9127
9147
|
"duet-icon": true,
|
|
9128
9148
|
"duet-theme-turva": this.theme === "turva",
|
|
9129
9149
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9132,7 +9152,7 @@ class DuetIcon {
|
|
|
9132
9152
|
[shapeStyle]: true,
|
|
9133
9153
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
9134
9154
|
"duet-icon-not-responsive": !this.responsive,
|
|
9135
|
-
} }, hAsync("span", { key: '
|
|
9155
|
+
} }, hAsync("span", { key: '971aea6375e7dda9fbef44d886a032c9214e09a5', "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 }))));
|
|
9136
9156
|
}
|
|
9137
9157
|
get element() { return getElement(this); }
|
|
9138
9158
|
static get watchers() { return {
|
|
@@ -9856,10 +9876,10 @@ class DuetLink {
|
|
|
9856
9876
|
render() {
|
|
9857
9877
|
const Tag = !this.url ? "button" : "a";
|
|
9858
9878
|
const isButton = Tag === "button";
|
|
9859
|
-
return (hAsync(Host, { key: '
|
|
9879
|
+
return (hAsync(Host, { key: 'e36e1eeaa70e3b27fdd7bedc29d5cc1eefd6bee4', class: {
|
|
9860
9880
|
[`duet-link-${this.variation}`]: true,
|
|
9861
9881
|
"duet-m-0": this.margin === "none",
|
|
9862
|
-
} }, hAsync(Tag, { key: '
|
|
9882
|
+
} }, hAsync(Tag, { key: '67c80605b613db0d14289361318d4bfe090beca6', href: this.url, class: {
|
|
9863
9883
|
"duet-link": true,
|
|
9864
9884
|
"duet-link-is-external": this.external,
|
|
9865
9885
|
"duet-link-is-download": !!this.download,
|
|
@@ -10032,14 +10052,14 @@ class DuetListItem {
|
|
|
10032
10052
|
* Always the last one in the class.
|
|
10033
10053
|
*/
|
|
10034
10054
|
render() {
|
|
10035
|
-
return (hAsync(Host, { key: '
|
|
10055
|
+
return (hAsync(Host, { key: '0df4c6498653a7f20f8ac8d21f1044cd5ffd509b', class: {
|
|
10036
10056
|
"duet-no-stacking": !this.responsive,
|
|
10037
10057
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10038
10058
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10039
10059
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10040
10060
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10041
10061
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10042
|
-
} }, hAsync("dt", { key: '
|
|
10062
|
+
} }, hAsync("dt", { key: 'dc9ead4dada3ad614b7099be0e86d80e05971257' }, hAsync("slot", { key: '48f7393a2af77be1e716dbb617de3951d5bfae8c', name: "label" })), hAsync("dd", { key: '571e2c23a8de7facceb48bf8bf2924f34e7a9505' }, hAsync("slot", { key: '2b5f6420744bbac07db85a58d9b3524f86b51549', name: "value" }))));
|
|
10043
10063
|
}
|
|
10044
10064
|
static get style() { return DuetListItemStyle0; }
|
|
10045
10065
|
static get cmpMeta() { return {
|
|
@@ -10222,6 +10242,7 @@ class DuetMenuBar {
|
|
|
10222
10242
|
this.leftMoreVisible = false;
|
|
10223
10243
|
this.rightMoreVisible = false;
|
|
10224
10244
|
this.theme = "";
|
|
10245
|
+
this.language = getLanguage();
|
|
10225
10246
|
this.logo = true;
|
|
10226
10247
|
this.logoHref = undefined;
|
|
10227
10248
|
this.logoLinkAccessibleLabel = undefined;
|
|
@@ -10271,11 +10292,11 @@ class DuetMenuBar {
|
|
|
10271
10292
|
render() {
|
|
10272
10293
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
10273
10294
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
10274
|
-
return (hAsync(Host, { key: '
|
|
10295
|
+
return (hAsync(Host, { key: '9386904e22c17ede07fce421b4ececdcc4462311' }, hAsync("nav", { key: 'ba224a6339f5402655e10937fb21812c7c174dc8', class: {
|
|
10275
10296
|
"duet-menu-bar": true,
|
|
10276
10297
|
"duet-theme-turva": this.theme === "turva",
|
|
10277
10298
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
10278
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
10299
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c0da13104e0e312f453ba493cebc3d523635e2b2', class: "top" }), hAsync("div", { key: '03aaa19f264070866cc7e6536a7679972d53e3f5', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '72234559418bbf0fbe2749343faa2e0d7cb07f46' }, hAsync("duet-logo", { key: 'dbbf0ecca199c2a470390441038c014ac147a7c9', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '55048a334800842fbd6b6cf55917d10f8eea6642', class: "list center", role: "list" }, hAsync("div", { key: '6934aeb5d219dd31d7ad22993b08fd025e0c0e37', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'edf21f84609df58a98fca817a3a5f25b4128bfb0', name: "center" }), hAsync("div", { key: '30d07068be15b133106e2ab6e6953029e08ca792', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'ead4201e0e8df9a2e1ec43254c3a63d167ff09da', class: "list right", role: "list" }, hAsync("slot", { key: '66cb29f7147b514d6944de416aacaa15b21fc730', name: "right" }))), hAsync("div", { key: '4e99473e810bac89400b9493887e9289340d0bdf', class: "bottom" }))));
|
|
10279
10300
|
}
|
|
10280
10301
|
get element() { return getElement(this); }
|
|
10281
10302
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -10284,6 +10305,7 @@ class DuetMenuBar {
|
|
|
10284
10305
|
"$tagName$": "duet-menu-bar",
|
|
10285
10306
|
"$members$": {
|
|
10286
10307
|
"theme": [1025],
|
|
10308
|
+
"language": [1025],
|
|
10287
10309
|
"logo": [1028],
|
|
10288
10310
|
"logoHref": [1025, "logo-href"],
|
|
10289
10311
|
"logoLinkAccessibleLabel": [1025, "logo-link-accessible-label"],
|
|
@@ -10337,10 +10359,10 @@ class DuetMenuBarButton {
|
|
|
10337
10359
|
* Always the last one in the class.
|
|
10338
10360
|
*/
|
|
10339
10361
|
render() {
|
|
10340
|
-
return (hAsync(Host, { key: '
|
|
10362
|
+
return (hAsync(Host, { key: '2d7d290b93ece34e74dbecb9b7d30a3a899b37b0', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '99cb1fbd3aab73f4c75484ee7755c00fdf521965', ref: button => (this.nativeButton = button), class: {
|
|
10341
10363
|
"duet-menu-bar-button": true,
|
|
10342
10364
|
"duet-theme-turva": this.theme === "turva",
|
|
10343
|
-
}, "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: '
|
|
10365
|
+
}, "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: '811e8d68347707cf1011a541db3e857ec947e8d4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '543ce298b12035fd8ebe69dfa5ca25f4c431a277' }))));
|
|
10344
10366
|
}
|
|
10345
10367
|
get element() { return getElement(this); }
|
|
10346
10368
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -10423,17 +10445,17 @@ class DuetMenuBarDropdown {
|
|
|
10423
10445
|
* Always the last one in the class.
|
|
10424
10446
|
*/
|
|
10425
10447
|
render() {
|
|
10426
|
-
return (hAsync(Host, { key: '
|
|
10448
|
+
return (hAsync(Host, { key: 'f7cb616fbeb0e89cd04e89f7a19b73e4f6305b57', role: "listitem" }, hAsync("div", { key: 'a3f4701b11e9317377629b5fe2148530dab3c0a7', class: {
|
|
10427
10449
|
"duet-menu-bar-dropdown": true,
|
|
10428
10450
|
"duet-theme-turva": this.theme === "turva",
|
|
10429
10451
|
active: this.open,
|
|
10430
10452
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
10431
|
-
} }, hAsync("button", { key: '
|
|
10453
|
+
} }, hAsync("button", { key: '928feac0a153bab46435694b95f4b0cbb2930874', 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: {
|
|
10432
10454
|
active: this.open,
|
|
10433
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
10455
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '7bd089cdec793c5853d3a2fb50c3f5c4ba579a4a', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'baf4943655e0fd4ec680eec5ecf523828ddb2584', class: "label" }, hAsync("slot", { key: '726942f2da202ad37393a7979a5ee49d3c830561', name: "label" }), hAsync("duet-icon", { key: '68c1eb71b7c4112ebc3ea30d62324c7c1b0aea4e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '0f1c939e3cc1b537f176ca076a2e20bc38f804d7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
10434
10456
|
items: true,
|
|
10435
10457
|
hidden: !this.open,
|
|
10436
|
-
} }, hAsync("slot", { key: '
|
|
10458
|
+
} }, hAsync("slot", { key: '62b2f301e57348d2308017ceaff0f22b8858eaef' })))));
|
|
10437
10459
|
}
|
|
10438
10460
|
get element() { return getElement(this); }
|
|
10439
10461
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -10493,11 +10515,11 @@ class DuetMenuBarDropdownLink {
|
|
|
10493
10515
|
* Always the last one in the class.
|
|
10494
10516
|
*/
|
|
10495
10517
|
render() {
|
|
10496
|
-
return (hAsync(Host, { key: '
|
|
10518
|
+
return (hAsync(Host, { key: 'f7702f6502c6ec2bed8ef4d87146a6523456a5e4' }, hAsync("a", { key: '5923a9d404aaa1b183edef94c7f66e305a0d4a46', class: {
|
|
10497
10519
|
"duet-menu-bar-dropdown-link": true,
|
|
10498
10520
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
10499
10521
|
"duet-theme-turva": this.theme === "turva",
|
|
10500
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
10522
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '29ac748920ac962f47fd43548ccdedb42b8517e1', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '6e1f0d21b27a696c4bc2ba6369d884e7acc77db4' }))));
|
|
10501
10523
|
}
|
|
10502
10524
|
get element() { return getElement(this); }
|
|
10503
10525
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -10549,11 +10571,11 @@ class DuetMenuBarItem {
|
|
|
10549
10571
|
*/
|
|
10550
10572
|
render() {
|
|
10551
10573
|
const TagName = this.url ? "a" : "button";
|
|
10552
|
-
return (hAsync(Host, { key: '
|
|
10574
|
+
return (hAsync(Host, { key: 'a8d19e16b23cd70c744f29a603093db8846d522d', role: "listitem" }, hAsync(TagName, { key: '84e76a7bc574e20f77c1e8a09531e40c80d3d7f1', ref: element => (this.itemElement = element), class: {
|
|
10553
10575
|
"duet-menu-bar-item": true,
|
|
10554
10576
|
"duet-theme-turva": this.theme === "turva",
|
|
10555
10577
|
active: this.active,
|
|
10556
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
10578
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '4a80b815a0d9ee32e7ab84210bfd0f004a754bd6', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '334e9b3d14cf86e8b3757f34953b047219b23a98' }), this.trailingIcon && (hAsync("duet-icon", { key: '8faee80d1e563ad7abca96c635f193a203ae44c2', class: {
|
|
10557
10579
|
"trailing-icon": true,
|
|
10558
10580
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
10559
10581
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
@@ -10604,11 +10626,11 @@ class DuetMenuBarLink {
|
|
|
10604
10626
|
* Always the last one in the class.
|
|
10605
10627
|
*/
|
|
10606
10628
|
render() {
|
|
10607
|
-
return (hAsync(Host, { key: '
|
|
10629
|
+
return (hAsync(Host, { key: '094d7e86967446a1b42ad3c0bd117815807d119c', role: "listitem" }, hAsync("a", { key: '0b7f1206828ff009f5470b77f6bfbf35cea8a096', class: {
|
|
10608
10630
|
"duet-menu-bar-link": true,
|
|
10609
10631
|
"duet-theme-turva": this.theme === "turva",
|
|
10610
10632
|
active: this.active,
|
|
10611
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
10633
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '38082080f6bc0ac1ba5bb01a007424ed85c681ad', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'c1b71a2b6af96adb50d6b47daaff277e4d369527' }))));
|
|
10612
10634
|
}
|
|
10613
10635
|
get element() { return getElement(this); }
|
|
10614
10636
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11241,7 +11263,7 @@ class DuetNav {
|
|
|
11241
11263
|
* Always the last one in the class.
|
|
11242
11264
|
*/
|
|
11243
11265
|
render() {
|
|
11244
|
-
return (hAsync(Host, { key: '
|
|
11266
|
+
return (hAsync(Host, { key: '9a0c3b353b5d18b60eaef2baf47a0b862216472b' }, hAsync("div", { key: '8e5cbd87881f498c82ab93c4047b87e6129c20d4', class: "container" }, hAsync("slot", { key: 'ff7f551d2833d0d4fe53c335694d973c02d5bc40' }), hAsync("slot", { key: 'd33c124ed54d4897ebd773650e1eacbb8bb9c1d8', name: "mobile" }), hAsync("slot", { key: 'c8423dcbb9873fd7fa4b6e6d7af566c0c7ea3e6b', name: "desktop" }))));
|
|
11245
11267
|
}
|
|
11246
11268
|
get element() { return getElement(this); }
|
|
11247
11269
|
static get style() { return DuetNavStyle0; }
|
|
@@ -11299,11 +11321,11 @@ class DuetNotification {
|
|
|
11299
11321
|
this.linkElement.focus(options);
|
|
11300
11322
|
}
|
|
11301
11323
|
render() {
|
|
11302
|
-
return (hAsync("div", { key: '
|
|
11324
|
+
return (hAsync("div", { key: '31926a96290eaa70a332805dc930bab97aa91ee2', role: "listitem", class: {
|
|
11303
11325
|
"duet-notification": true,
|
|
11304
11326
|
"duet-notification-highlight": this.highlight,
|
|
11305
11327
|
"duet-theme-turva": this.theme === "turva",
|
|
11306
|
-
} }, hAsync("a", { key: '
|
|
11328
|
+
} }, hAsync("a", { key: '14e0e4e81c9d231084e314a981304362de7758be', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '123fd56a88e760764c221f99d5a092f6f86c53c4', class: "duet-notification-container" }, hAsync("div", { key: '9c5ba90262fae4edc38fbb51cf615cfcf1f7b1fb', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '28988c4eae8aff0ba8beea8ea0ff59836d2c1010', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '8625af9a335b53772307bc39c487bfa204ad7fef' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: 'c4e97807e5b766fe36cfdfe01f54e102a827de33', class: "duet-notification-content" }, hAsync("slot", { key: 'b6f2f399ba2d3b6016560ea8d45996bea0de10b1' })), hAsync("div", { key: 'a546eca5e3f2b25723040fe49ce6330a452a55a8', class: "duet-notification-date" }, this.date)))));
|
|
11307
11329
|
}
|
|
11308
11330
|
get element() { return getElement(this); }
|
|
11309
11331
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -11943,12 +11965,12 @@ class DuetPageHeading {
|
|
|
11943
11965
|
* Always the last one in the class.
|
|
11944
11966
|
*/
|
|
11945
11967
|
render() {
|
|
11946
|
-
return (hAsync("div", { key: '
|
|
11968
|
+
return (hAsync("div", { key: '9a346b268bb3820e5c79d76269fb5c413944661e', class: {
|
|
11947
11969
|
"duet-page-heading": true,
|
|
11948
11970
|
"duet-theme-turva": this.theme === "turva",
|
|
11949
11971
|
"has-icon": !!this.icon,
|
|
11950
11972
|
[this.layout]: true,
|
|
11951
|
-
} }, hAsync("div", { key: '
|
|
11973
|
+
} }, hAsync("div", { key: 'b177f432a795af434c7f40cf3e284bca548a2b80', class: "background" }, this.theme === "turva" && hAsync("div", { key: '9215c53675f84ff571474af2024d1f6947e29567', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'cbbea6d65b3986f9e43bb75bf2802f7ce8e084b4', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'd1d7d38dd810028e3e8f1f63827803983c7f56a2', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '07c767fa56d088367b4c9b52ce507c328be20e3f', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'b224ae5b9b2dc1ea219d54dfb5f6fb830f0e0557', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '24bad9ec98a8d14773f43d2218da6c9ae6227d56', class: "heading" }, hAsync("slot", { key: '34d1eedc45a21089b9b3ca71634373285e83b8ba', name: "heading" }))));
|
|
11952
11974
|
}
|
|
11953
11975
|
get element() { return getElement(this); }
|
|
11954
11976
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -12378,6 +12400,7 @@ var DuetParagraphStyle0 = duetParagraphCss;
|
|
|
12378
12400
|
class DuetParagraph {
|
|
12379
12401
|
constructor(hostRef) {
|
|
12380
12402
|
registerInstance(this, hostRef);
|
|
12403
|
+
this.id = createID("duet-paragraph");
|
|
12381
12404
|
this.theme = "";
|
|
12382
12405
|
this.margin = "auto";
|
|
12383
12406
|
this.size = "medium";
|
|
@@ -12397,7 +12420,9 @@ class DuetParagraph {
|
|
|
12397
12420
|
*/
|
|
12398
12421
|
render() {
|
|
12399
12422
|
const color = getColorByName(this.color);
|
|
12400
|
-
|
|
12423
|
+
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
12424
|
+
// are not announced when placed inside duet-modal
|
|
12425
|
+
return (hAsync(Host, { key: 'c7b5b351b124c27505e15e2299a6a4d5772fe8d5', "aria-describedby": this.id }, hAsync("p", { key: '5d22488efc06c58bf883e6b450388e18c41a1f1d', id: this.id, class: {
|
|
12401
12426
|
"duet-paragraph": true,
|
|
12402
12427
|
"duet-paragraph-small": this.size === "small",
|
|
12403
12428
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -12405,7 +12430,7 @@ class DuetParagraph {
|
|
|
12405
12430
|
"duet-m-0": this.margin === "none",
|
|
12406
12431
|
[this.variation]: true,
|
|
12407
12432
|
"duet-theme-turva": this.theme === "turva",
|
|
12408
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
12433
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '1cf4198632e008eadea9b0d3bdf6f33cd66b7007' }))));
|
|
12409
12434
|
}
|
|
12410
12435
|
get element() { return getElement(this); }
|
|
12411
12436
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -14091,7 +14116,7 @@ class DuetPopupMenuItem {
|
|
|
14091
14116
|
active: this.active,
|
|
14092
14117
|
"duet-theme-turva": this.theme === "turva",
|
|
14093
14118
|
};
|
|
14094
|
-
return (hAsync(Host, { key: '
|
|
14119
|
+
return (hAsync(Host, { key: '80b018046d69005fdb9011144b2de9fd3adc731b', role: this.accessibleRole }, hAsync(TagName, { key: 'a7b5c05a5fb1b7b6999eb9a32418ac2f255980c8', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: 'beaef9eece706f94f8e9b5a5e1bd69bb1764e979', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '43bf3e1bd920656c855169445b45ed5cfbdae448', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: '3503f15d4cf7e9bd7b966a4dcb08f75c0a9d3c7b' })), (this.trailingIcon || this.active) && (hAsync("duet-icon", { key: '259b2cfe7a3f190672a053051e83152a1fcda298', name: this.active ? "messaging-checked-small" : this.trailingIcon, size: this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'facbf7915ac26f2258689873544f3cebcda6bdb8', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
14095
14120
|
}
|
|
14096
14121
|
get element() { return getElement(this); }
|
|
14097
14122
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -14245,12 +14270,12 @@ class DuetPromoCard {
|
|
|
14245
14270
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
14246
14271
|
};
|
|
14247
14272
|
const TagName = this.url ? "a" : "div";
|
|
14248
|
-
return (hAsync(Host, { key: '
|
|
14273
|
+
return (hAsync(Host, { key: '1fceac86194cde8be8411df802fce3cbc32c2a33', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'a2972cefc7eda90ddb8d3cec9ffc47bce867b819', class: {
|
|
14249
14274
|
"duet-promo-card": true,
|
|
14250
14275
|
"duet-theme-turva": this.theme === "turva",
|
|
14251
14276
|
"no-bg-color": !this.backgroundColor,
|
|
14252
14277
|
"duet-promo-card-link": !!this.url,
|
|
14253
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
14278
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '884ba6e7c8e1e3d8327d28379f7b3592712e459d', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'd97956583131c433fed96a5c5c78e48aea7dcf4d', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'ffd8ae45e80d9f814aefce601c9075ea14005565', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'bd86de82e0bee45cfd934dffabf7151b96b12d0f', class: "pre-heading" }, hAsync("slot", { key: 'f49fbc6582907f002cdc221b56915a488ba27654', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'bf88ef5d8a33217e0e427e449aaaddf56bc02f29', class: "heading" }, hAsync("duet-heading", { key: 'e8246c04add20ee8a57965cbf32ab424c89894bb', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '9e44ed8a8a7386a781079d9ec3b6cf659255f084' }, hAsync("slot", { key: 'ee0c8afd853efe649344773b4aea80de4dfb4261', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '3435dfbb988b1e51b1d4959bf41b0ebad7e16391', class: "description" }, hAsync("duet-paragraph", { key: 'c9bccbc795307d0aa76fe39573ff66d2ea8dfb26', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '690b619959b022276253ac3a9901a87e40cf2aaa' }, hAsync("slot", { key: '5a992285eb1bea7f4db6def451463a64bb343880', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'f521fc1887fcb6665d9eab6109cae350267c2629', class: "action" }, hAsync("slot", { key: '348d9093056a98d29ff0114a14faf6dac749bee3', name: "action" }))))))));
|
|
14254
14279
|
}
|
|
14255
14280
|
get element() { return getElement(this); }
|
|
14256
14281
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -14857,10 +14882,10 @@ class DuetRangeStepper {
|
|
|
14857
14882
|
* Always the last one in the class.
|
|
14858
14883
|
*/
|
|
14859
14884
|
render() {
|
|
14860
|
-
return (hAsync("div", { key: '
|
|
14885
|
+
return (hAsync("div", { key: 'a92935b56e004e75b82f986000bcf1c3afaf24b2', class: {
|
|
14861
14886
|
"duet-range-stepper": true,
|
|
14862
14887
|
"duet-theme-turva": this.theme === "turva",
|
|
14863
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
14888
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'ff6e79d20675537cbff69b230b1faf1562c42c82', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '16cf1ae00638198cdbd2741aa42e65efbc7a3ab9', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: 'b0fc37262024f452d9ff863080ce0901fb3fb3a8', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
14864
14889
|
}
|
|
14865
14890
|
get element() { return getElement(this); }
|
|
14866
14891
|
static get watchers() { return {
|
|
@@ -15054,36 +15079,36 @@ class DuetScrollable {
|
|
|
15054
15079
|
render() {
|
|
15055
15080
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
15056
15081
|
const arrowColorDisabled = this.theme === "turva" ? "color-gray-turva" : "color-gray";
|
|
15057
|
-
return (hAsync(Host, { key: '
|
|
15082
|
+
return (hAsync(Host, { key: 'd2a5c93f74aaa92cc0aa19cdb35e74ca27281ca7', class: {
|
|
15058
15083
|
"duet-theme-turva": this.theme === "turva",
|
|
15059
15084
|
"duet-theme-default": this.theme === "default",
|
|
15060
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
15085
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '18ea6bdd338875b7f370ac371485fecdc7acc995', class: {
|
|
15061
15086
|
collapse: true,
|
|
15062
15087
|
hide: !this.isScrollPaneContentSmallerThanWrapper && !this.collapsed,
|
|
15063
|
-
} }, hAsync("duet-button", { key: '
|
|
15088
|
+
} }, hAsync("duet-button", { key: '528c8c0897ce763b151fd8b06f4cd27c4f373f2b', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'ef0fa7be803670d02ad13065de2b5a9db3b339a9', name: "collapse-button-label" })))), hAsync("div", { key: 'b16641f5551eee2784f12e6cead15e8115317479', class: {
|
|
15064
15089
|
"duet-scrollable-items": true,
|
|
15065
15090
|
buttons: this.buttons,
|
|
15066
15091
|
center: this.center,
|
|
15067
|
-
} }, hAsync("div", { key: '
|
|
15092
|
+
} }, hAsync("div", { key: '56469a25557b2882adf346eeef65b7adf959ebfb', class: {
|
|
15068
15093
|
"duet-scrollable-button-container": true,
|
|
15069
15094
|
left: true,
|
|
15070
15095
|
"duet-scrollable-button-container--occluded": !this.isScrollPaneContentSmallerThanWrapper,
|
|
15071
|
-
} }, hAsync("button", { key: '
|
|
15096
|
+
} }, hAsync("button", { key: 'e660b966d92f5eb9b1f83496fead98eef7b4bea7', part: `${this.identifier}-button-left`, "aria-hidden": "true", class: {
|
|
15072
15097
|
"duet-scrollable-button": true,
|
|
15073
15098
|
[`duet-scrollable-button--${this.buttonAlignment}`]: true,
|
|
15074
15099
|
"duet-scrollable-button--left": true,
|
|
15075
|
-
}, onClick: () => this.scrollLeft(), disabled: this.scrollPaneAtStart, tabindex: "-1", hidden: !this.buttons }, hAsync("duet-icon", { key: '
|
|
15100
|
+
}, onClick: () => this.scrollLeft(), disabled: this.scrollPaneAtStart, tabindex: "-1", hidden: !this.buttons }, hAsync("duet-icon", { key: 'e6b03d5aef9b71b25707fa3fa9c3f4bb9176785f', color: this.scrollPaneAtStart ? arrowColorDisabled : arrowColor, name: "action-arrow-left", size: "small", margin: "none" }))), hAsync("div", { key: 'ef1381e95f5ce2c7df85f5d7ab27dd0993cddea5', class: {
|
|
15076
15101
|
"duet-scrollable-list": true,
|
|
15077
15102
|
collapsed: this.collapsed,
|
|
15078
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
15103
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'a7dcef6d0d3564efeb18447f50f8180b0ea3a086' })), hAsync("div", { key: 'ae1e68000832159e3ff81f6314b9e14a23608a4b', class: {
|
|
15079
15104
|
"duet-scrollable-button-container": true,
|
|
15080
15105
|
right: true,
|
|
15081
15106
|
"duet-scrollable-button-container--occluded": !this.isScrollPaneContentSmallerThanWrapper,
|
|
15082
|
-
} }, hAsync("button", { key: '
|
|
15107
|
+
} }, hAsync("button", { key: '24ff6945ae349ff90e49fb689fb267aa91f65685', part: `${this.identifier}-button-right`, "aria-hidden": "true", class: {
|
|
15083
15108
|
"duet-scrollable-button": true,
|
|
15084
15109
|
[`duet-scrollable-button--${this.buttonAlignment}`]: true,
|
|
15085
15110
|
"duet-scrollable-button--right": true,
|
|
15086
|
-
}, onClick: () => this.scrollRight(), disabled: this.scrollPaneAtEnd, tabindex: "-1", hidden: !this.buttons }, hAsync("duet-icon", { key: '
|
|
15111
|
+
}, onClick: () => this.scrollRight(), disabled: this.scrollPaneAtEnd, tabindex: "-1", hidden: !this.buttons }, hAsync("duet-icon", { key: '7384c2cfcde3ebcb8bf34ca313e70f5b79967cb0', color: this.scrollPaneAtEnd ? arrowColorDisabled : arrowColor, name: "action-arrow-right", size: "small", margin: "none" }))))));
|
|
15087
15112
|
}
|
|
15088
15113
|
get element() { return getElement(this); }
|
|
15089
15114
|
static get watchers() { return {
|
|
@@ -15126,13 +15151,13 @@ class DuetSectionLayout {
|
|
|
15126
15151
|
* Always the last one in the class.
|
|
15127
15152
|
*/
|
|
15128
15153
|
render() {
|
|
15129
|
-
return (hAsync(Host, { key: '
|
|
15154
|
+
return (hAsync(Host, { key: '6bc98c1f8cfba7788c3cf6a683537c4e20983623', class: {
|
|
15130
15155
|
"duet-middle": this.middle,
|
|
15131
15156
|
"duet-ie": isInternetExplorer(),
|
|
15132
|
-
} }, hAsync("div", { key: '
|
|
15157
|
+
} }, hAsync("div", { key: '75b0a33d0868bcc5511f7bc7efd6ccdd79c15568', class: {
|
|
15133
15158
|
"duet-layout": true,
|
|
15134
15159
|
"duet-m-0": this.margin === "none",
|
|
15135
|
-
} }, hAsync("section", { key: '
|
|
15160
|
+
} }, hAsync("section", { key: '2df1a07f8ac3f2a90bb0d88032436ce4ad6c6a3d', class: "duet-main" }, hAsync("slot", { key: 'b1d6048841e748393c122746191a85b6df6e4c69' })))));
|
|
15136
15161
|
}
|
|
15137
15162
|
get element() { return getElement(this); }
|
|
15138
15163
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -15374,9 +15399,9 @@ class DuetShapedImage {
|
|
|
15374
15399
|
const style = {
|
|
15375
15400
|
"--rotation": `${this.rotation}deg`,
|
|
15376
15401
|
};
|
|
15377
|
-
return (hAsync(Host, { key: '
|
|
15402
|
+
return (hAsync(Host, { key: 'cd0b0f6d908af8e5c1788f66c005af3d54ec8686', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'ab56ab6af75d0a182f5a02ead485ffc9f4205ea4', class: {
|
|
15378
15403
|
"shaped-image": true,
|
|
15379
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
15404
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '7933b45865574df0185d2ee4913cba4744215d87', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '5ad7e042965e34bc68d5e6f277a4f222590e83cc', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
15380
15405
|
}
|
|
15381
15406
|
static get style() { return DuetShapedImageStyle0; }
|
|
15382
15407
|
static get cmpMeta() { return {
|
|
@@ -15484,12 +15509,12 @@ class DuetShowMore {
|
|
|
15484
15509
|
* Always the last one of the class.
|
|
15485
15510
|
*/
|
|
15486
15511
|
render() {
|
|
15487
|
-
return (hAsync(Host, { key: '
|
|
15512
|
+
return (hAsync(Host, { key: '6b46f3f0eab6ba2fdce84a8c418e9b923dc9a3e5' }, hAsync("div", { key: '15dd7aa5362e312a7fa8fa0b40ed2f7f66d48232', class: {
|
|
15488
15513
|
"duet-show-more": true,
|
|
15489
15514
|
"duet-theme-turva": this.theme === "turva",
|
|
15490
15515
|
"duet-m-0": this.margin === "none",
|
|
15491
15516
|
open: this.open,
|
|
15492
|
-
} }, hAsync("div", { key: '
|
|
15517
|
+
} }, hAsync("div", { key: '854b6230d37ba521eee564e95775aa8f36c230c2', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '659074cc474a92c398cbb11851d0a41a34ffa55a', class: { "slotted-content": true } }, hAsync("slot", { key: 'bded5897ef3f9953b537dbfc6821fd87d34cfc6a' }))), hAsync("duet-button", { key: '37931074ecf3bfb158c08dfd878a0d9718c72968', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, this.open ? this.showLessLabel : this.showMoreLabel))));
|
|
15493
15518
|
}
|
|
15494
15519
|
get element() { return getElement(this); }
|
|
15495
15520
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -15519,7 +15544,7 @@ class DuetShowMore {
|
|
|
15519
15544
|
}; }
|
|
15520
15545
|
}
|
|
15521
15546
|
|
|
15522
|
-
const duetSlideoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height: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(0, 41, 77)}.duet-slideout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:
|
|
15547
|
+
const duetSlideoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:absolute;height:100%}::slotted(*){position:relative;width:100%;visibility:hidden;opacity:0}:host([open]:not([open=false])) ::slotted(*){visibility:visible;opacity:1}:host(:not([open])) ::slotted(duet-slideout-panel){display:none}.duet-slideout{display:flex;align-items:center;height: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(0, 41, 77)}.duet-slideout.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}@media (min-width: 62em){.duet-slideout.duet-theme-turva .desktop-bg{background:rgb(23, 28, 58)}}.duet-slideout .dialog{position:fixed;top:0;bottom:0;left:0;z-index:600;width:100%;height:100%;padding-bottom:75px;overflow-y:auto;box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1) inset}@media (min-width: 62em){.duet-slideout .dialog{right:0;left:auto;width:500px;padding-bottom:0;transition:right 300ms ease;transition-delay:0s}}.duet-slideout .dialog .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout .dialog .top-container.has-sticky-header-slot .top{background:rgb(243, 249, 252)}.duet-slideout .dialog .top-container.has-sticky-header-slot .sticky-header{display:block}.duet-slideout .dialog .top{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;padding:4px}.duet-slideout .dialog .top button{cursor:pointer}.duet-slideout .dialog .top button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout .dialog .top duet-icon{padding:16px}.duet-slideout .dialog .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-slideout .dialog .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:0 1.5rem}.duet-slideout .dialog.hidden{pointer-events:none;visibility:hidden}@media (min-width: 62em){.duet-slideout .dialog.hidden{right:-500px;transition:300ms ease}}.duet-slideout.duet-theme-turva .dialog{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1) inset}.duet-slideout.duet-theme-turva 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-slideout.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 245, 247)}.duet-slideout.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-slideout.duet-theme-turva .dialog .top button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}slot{color:rgb(0, 41, 77)}.duet-theme-turva slot{color:rgb(23, 28, 58)}";
|
|
15523
15548
|
var DuetSlideoutStyle0 = duetSlideoutCss;
|
|
15524
15549
|
|
|
15525
15550
|
/**
|
|
@@ -15561,8 +15586,6 @@ class DuetSlideout {
|
|
|
15561
15586
|
});
|
|
15562
15587
|
};
|
|
15563
15588
|
this.openButtonEventListener = (e) => {
|
|
15564
|
-
e.stopPropagation();
|
|
15565
|
-
e.preventDefault();
|
|
15566
15589
|
this.onClick(e);
|
|
15567
15590
|
};
|
|
15568
15591
|
this.getOpenPanel = () => {
|
|
@@ -15710,15 +15733,15 @@ class DuetSlideout {
|
|
|
15710
15733
|
};
|
|
15711
15734
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
15712
15735
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
15713
|
-
return (hAsync(Host, { key: '
|
|
15736
|
+
return (hAsync(Host, { key: 'ee5c63bf4e69dea4e35f18f6d196db7de0042453' }, hAsync("div", { key: '197c2c1644e44714b5e9c809e98d39635daf048b', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-overlay", { key: '1ac7d8474feee4bf35522dc8b7b7b11b1792e261', onClick: this.bgOnClick, visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'd25f1fe0042e52e7a015d1e8f4b23629c249ed80', 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: {
|
|
15714
15737
|
dialog: true,
|
|
15715
15738
|
hidden: !this.open,
|
|
15716
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
15739
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'a855293e1add653ccddb73d9324cc1c013062caf', moveFocusTo: this.closeButton }), hAsync("div", { key: 'ef8c08283e08acc3288e5f5a3e121333c72ea8f9', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '7c93af9e17a4588180d82d2257b82fc078cad7b9', class: "top" }, hAsync("button", { key: 'f14bbfbc8b8f631324b771836174b0166c945b26', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
15717
15740
|
"slideout-close": true,
|
|
15718
15741
|
active: this.open,
|
|
15719
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
15742
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '5281c68cd5e3d8eaec290a067b5306b3f065f3e7', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'c57ce1c918accfe7afd6c157eec4a17b4e3f5b52', class: "sticky-header" }, hAsync("slot", { key: '6a6d427586569f2093025cbfc9bad517b7a238d6', name: "sticky-header" }))), hAsync("div", { key: 'b41c04ae4bed1628cf07384f5ceed92b0dfa16c9', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
15720
15743
|
items: true,
|
|
15721
|
-
} }, hAsync("slot", { key: '
|
|
15744
|
+
} }, hAsync("slot", { key: '797f87bc5b7369e3fb8fd7e23b010b37ff26d135' })), hAsync(FocusGuard, { key: '2c85b38f7522bf83c184a5e38aa2548c2038c971', moveFocusTo: this.closeButton })))));
|
|
15722
15745
|
}
|
|
15723
15746
|
get element() { return getElement(this); }
|
|
15724
15747
|
static get watchers() { return {
|
|
@@ -15783,7 +15806,7 @@ class DuetSlideoutLang {
|
|
|
15783
15806
|
*/
|
|
15784
15807
|
render() {
|
|
15785
15808
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
15786
|
-
return (hAsync(Host, { key: '
|
|
15809
|
+
return (hAsync(Host, { key: '7fdf56886b7eef7853a2390545e83b43e1aea17b' }, hAsync("div", { key: '95c15df38395b09803b5a48382950a07d5d8a6b1', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '5500047f8d4ae1a3d118abd0e0e850211212cc4a', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '906ac6c0864cf946423ed34875c4c122e0784113' }))));
|
|
15787
15810
|
}
|
|
15788
15811
|
get element() { return getElement(this); }
|
|
15789
15812
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -15827,12 +15850,12 @@ class DuetSlideoutLink {
|
|
|
15827
15850
|
* Always the last one in the class.
|
|
15828
15851
|
*/
|
|
15829
15852
|
render() {
|
|
15830
|
-
return (hAsync(Host, { key: '
|
|
15853
|
+
return (hAsync(Host, { key: 'aa07296629d813134f481a3e1ebfb6d31951bc48' }, hAsync("a", { key: '56ae85701570dfa3ae4cae8f15fb395f9199776a', class: {
|
|
15831
15854
|
"duet-slideout-link": true,
|
|
15832
15855
|
"duet-theme-turva": this.theme === "turva",
|
|
15833
15856
|
active: this.active,
|
|
15834
15857
|
[this.size]: true,
|
|
15835
|
-
}, 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: '
|
|
15858
|
+
}, 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: '4872989601ff5a2c3ff458b53345292f358956a9', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '71fe6a89063381d1ec5d4a8d6960954660374bc0', class: "label" }, hAsync("span", { key: 'b9e2aca6c05cc945917f87d74b3f4c611814e8cb' }, hAsync("slot", { key: 'b917c1d51c62a2ab229c396f7afb3468c0b240e6' }), hAsync("slot", { key: '775dbc1e31d128b448b72e876f0f53609358c709', name: "description" })), this.caret && (hAsync("duet-icon", { key: '47c65d4e0cc5745e120730849beb97dcee30cb74', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
15836
15859
|
}
|
|
15837
15860
|
get element() { return getElement(this); }
|
|
15838
15861
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -15972,21 +15995,21 @@ class DuetSlideoutPanel {
|
|
|
15972
15995
|
};
|
|
15973
15996
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
15974
15997
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
15975
|
-
return (hAsync(Host, { key: '
|
|
15998
|
+
return (hAsync(Host, { key: '9acf8fe2847b4c64a7f6b4eb0da60ba089cef17c' }, hAsync("div", { key: '991a19e8594dc6de0dbe863d7bcc2964b697d13c', class: {
|
|
15976
15999
|
"duet-slideout-panel": true,
|
|
15977
16000
|
"duet-theme-turva": this.theme === "turva",
|
|
15978
16001
|
active: this.open,
|
|
15979
|
-
} }, hAsync("button", { key: '
|
|
16002
|
+
} }, hAsync("button", { key: '09d2a32ef6bac72694824d4c7f936e0d9e4689a7', 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: {
|
|
15980
16003
|
link: true,
|
|
15981
16004
|
active: this.active,
|
|
15982
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: '
|
|
16005
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: 'ef919ff385fd7834659dbb55615bd8b0249cdd53', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '5d080cf83d541b4a37918bd0c2dda41a117094db', class: "label" }, hAsync("span", { key: 'bb32bb7ea8b089addd2ff379902bf8b0f7f5b1d3', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '491b5b1e55b4ec016dca505cbee8a1b60ef08b65', name: "label" })), hAsync("duet-icon", { key: 'fa6723e85b14d65dca36edb98a256b222f98ec98', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '77b87195ca2d6e0f7707ab4d9a62f1fda0a9e9ef', class: {
|
|
15983
16006
|
dialog: true,
|
|
15984
16007
|
hidden: !this.open,
|
|
15985
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
16008
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'dcb9df644548af19c2f68c7a72672f33bdc73e3e', moveFocusTo: this.closeButton }), hAsync("div", { key: '110935fa8a4b24e3b98860530c1449fd7ad670b4', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '4010e6d1539ef9f875b9f6ddcfb5aa011b582471', class: "top" }, hAsync("button", { key: '33575102f7a8374f05dc5e7bf81bb5f34646dcb7', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
15986
16009
|
back: true,
|
|
15987
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
16010
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '6f1f6f009426581e85db3faa8ecd0ac941d3656d', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '05551428f3acc8a217350eda46a6d6e07941ba74' }, this.label.innerHTML), hAsync("button", { key: 'de3db6242359f091c0ae4ccf02094c46b669fb96', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '9c14b105b8c94d0c50e5dcb65ee0601dbd6f62de', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3e1c751c2ed2a4448bd287f765018610a54d9949', class: "sticky-header" }, hAsync("slot", { key: 'da8c75609e58b2c35d57970ab74fadbf40bd38f5', name: "sticky-header" }))), hAsync("div", { key: '87302c58b38a0382eb3a23fd7d6f514acf5d2040', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
15988
16011
|
items: true,
|
|
15989
|
-
} }, hAsync("slot", { key: '
|
|
16012
|
+
} }, hAsync("slot", { key: 'f1dc8b106309829e0959f62402bfa350c0546d9b' })), hAsync(FocusGuard, { key: 'f25025fee37d5665f0df8a33afb3edfb1afa6add', moveFocusTo: this.closeButton })))));
|
|
15990
16013
|
}
|
|
15991
16014
|
get element() { return getElement(this); }
|
|
15992
16015
|
static get watchers() { return {
|
|
@@ -16054,16 +16077,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
16054
16077
|
* Always the last one in the class.
|
|
16055
16078
|
*/
|
|
16056
16079
|
render() {
|
|
16057
|
-
return (hAsync(Host, { key: '
|
|
16080
|
+
return (hAsync(Host, { key: '8bd65996e3bfea744c0730e651df24d258bec3c7' }, hAsync("div", { key: '4d04156b1831757d0cd15287fe4baa3c300d4bd2', class: {
|
|
16058
16081
|
"duet-slideout-panel-dropdown": true,
|
|
16059
16082
|
"duet-theme-turva": this.theme === "turva",
|
|
16060
16083
|
active: this.open,
|
|
16061
|
-
} }, hAsync("button", { key: '
|
|
16084
|
+
} }, hAsync("button", { key: 'c3d651d59e46dcfa5add2b09da4fbcd5443f1687', 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: {
|
|
16062
16085
|
active: this.active,
|
|
16063
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
16086
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'f680e74f6ae413a180b08776ee27cd5cb8de74a8', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '2a3047b55c2df7ac06dea3fe22131fb619aa9fd1', class: "label" }, hAsync("slot", { key: 'c24326301886814aef541f359c55dedccd1cc94c', name: "label" }), hAsync("duet-icon", { key: 'c7c1032d262a94a2ca59a89fc46ab514cbc64b07', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '53f5768df91fa9fe5f91ab54a8651d0dffbad19b', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
16064
16087
|
items: true,
|
|
16065
16088
|
hidden: !this.open,
|
|
16066
|
-
} }, hAsync("slot", { key: '
|
|
16089
|
+
} }, hAsync("slot", { key: '525bcea69da437c543ab01eb3b28030858ac6b72' })))));
|
|
16067
16090
|
}
|
|
16068
16091
|
get element() { return getElement(this); }
|
|
16069
16092
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -16098,7 +16121,7 @@ class DuetSpacer {
|
|
|
16098
16121
|
* Always the last one in the class.
|
|
16099
16122
|
*/
|
|
16100
16123
|
render() {
|
|
16101
|
-
return (hAsync(Host, { key: '
|
|
16124
|
+
return (hAsync(Host, { key: '40b675c3998d7f2fb139eecbebbffae65909c618', class: {
|
|
16102
16125
|
"duet-spacer": true,
|
|
16103
16126
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
16104
16127
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -16149,11 +16172,11 @@ class DuetSpinner {
|
|
|
16149
16172
|
*/
|
|
16150
16173
|
render() {
|
|
16151
16174
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
16152
|
-
return (hAsync(Host, { key: '
|
|
16175
|
+
return (hAsync(Host, { key: 'b1e671b334eeab64ca1bd2ab92b81e49121fda13', class: {
|
|
16153
16176
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
16154
16177
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
16155
16178
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
16156
|
-
} }, hAsync("div", { key: '
|
|
16179
|
+
} }, hAsync("div", { key: '8f4be2dc9da0d387c65967723ab09b22e50848c6', class: {
|
|
16157
16180
|
"duet-spinner": true,
|
|
16158
16181
|
[this.size]: true,
|
|
16159
16182
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -16385,7 +16408,7 @@ class DuetStepper {
|
|
|
16385
16408
|
* Always the last one in the class.
|
|
16386
16409
|
*/
|
|
16387
16410
|
render() {
|
|
16388
|
-
return (hAsync(Host, { key: '
|
|
16411
|
+
return (hAsync(Host, { key: '6d5543d9c0d38e17b9008ee9883fa15bd52c9341', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '21344d1bc658a328ee145faf9fc7c1228f9dadac', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: '05a745bb68bbc4c0154912d1d7e8f88e997f6c6c', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '42e7a878f269f7163bd2b13792c2b742f916fbbe' }))));
|
|
16389
16412
|
}
|
|
16390
16413
|
get element() { return getElement(this); }
|
|
16391
16414
|
static get watchers() { return {
|
|
@@ -16476,10 +16499,6 @@ class DuetSubmenuBar {
|
|
|
16476
16499
|
*/
|
|
16477
16500
|
componentWillLoad() {
|
|
16478
16501
|
inheritGlobalTheme(this);
|
|
16479
|
-
const children = Array.from(this.element.children).filter(child => !child.hasAttribute("slot"));
|
|
16480
|
-
for (const child of children) {
|
|
16481
|
-
child.setAttribute("role", "listitem");
|
|
16482
|
-
}
|
|
16483
16502
|
}
|
|
16484
16503
|
connectedCallback() {
|
|
16485
16504
|
this.nav = document.querySelector("duet-nav > [slot='mobile']");
|
|
@@ -16515,15 +16534,15 @@ class DuetSubmenuBar {
|
|
|
16515
16534
|
* Always the last one in the class.
|
|
16516
16535
|
*/
|
|
16517
16536
|
render() {
|
|
16518
|
-
return (hAsync(Host, { key: '
|
|
16537
|
+
return (hAsync(Host, { key: '90b5f28e48aa1b0b6f77bbfb898ccecf2a49cc5d' }, hAsync("nav", { key: '43b7873686e9824a0c76f33767ceec4312ab9c43', class: { "duet-submenu-bar": true, "duet-theme-turva": this.theme === "turva" }, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '85e61d037ef8ff3df46eaa60e11423e31e527d50', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
16519
16538
|
active: this.open,
|
|
16520
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
16539
|
+
}, onClick: this.onClick }, hAsync("span", { key: '8fb0758bf61f9049f0c51df3f917d0877431bf6b', class: "label" }, hAsync("slot", { key: '050b262be035cae533a4e2bcccd5f709df575f9d', name: "label" }), hAsync("duet-icon", { key: 'bc49ae3efc5740b66ec94609a877f0c0238073b9', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'f5e8696a7b529f4feb624c94b263ea890e4d1a13', class: {
|
|
16521
16540
|
"menu-container": true,
|
|
16522
16541
|
hidden: !this.open,
|
|
16523
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
16542
|
+
}, role: "presentation" }, hAsync("div", { key: '8d2ad99dc0deaac09a82a6c61168d901b10723fb', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
16524
16543
|
items: true,
|
|
16525
16544
|
hidden: !this.open,
|
|
16526
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
16545
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '697969d67fcae4095846a1c49f0fa71b77e9ef29', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: 'b4856ecbac162fee5bffaa9dc11673705f57f856' }), hAsync("div", { key: '51890de91846aa013f0d0b5d19f0bd6a5cde1c8f', class: "list-padding" }))), hAsync("duet-overlay", { key: '527832b63f6f6dc2ab957e608d7739b6364eee33', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
16527
16546
|
}
|
|
16528
16547
|
get element() { return getElement(this); }
|
|
16529
16548
|
static get watchers() { return {
|
|
@@ -16642,18 +16661,18 @@ class DuetSubmenuBarDropdown {
|
|
|
16642
16661
|
* Always the last one in the class.
|
|
16643
16662
|
*/
|
|
16644
16663
|
render() {
|
|
16645
|
-
return (hAsync(Host, { key: '
|
|
16664
|
+
return (hAsync(Host, { key: 'c3cf8eb945cf4d95dc90722856d85478a478c3d1', role: "listitem" }, hAsync("div", { key: 'c33c4274767aa171529c12d7998be90c12c80d79', class: {
|
|
16646
16665
|
"duet-submenu-bar-dropdown": true,
|
|
16647
16666
|
"duet-theme-turva": this.theme === "turva",
|
|
16648
16667
|
open: this.open,
|
|
16649
16668
|
active: this.active,
|
|
16650
|
-
} }, hAsync("button", { key: '
|
|
16669
|
+
} }, hAsync("button", { key: '0c2bca528aaf0c1f528634636e7d16007dd66e8e', 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: {
|
|
16651
16670
|
open: this.open,
|
|
16652
16671
|
active: this.active,
|
|
16653
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
16672
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b6d67b23e9e144930f6dbd3f7cb645dcc08757bc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd4671d5f840303ad923d50ad7314a5ca13a95840', class: "label" }, hAsync("span", { key: 'ec5e80db693fdd7b50ad9fcf3d40300858bd3036', class: "label-text" }, hAsync("slot", { key: '42be40ec38e6e46bf516d581e0cf7204d3a43ecc', name: "label" })), hAsync("duet-icon", { key: '28fce54b06d8489c35a017371ccbcf3ff357261c', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '23ee904f9e7e8953b79be8c1903787e0ad0ed389', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
16654
16673
|
items: true,
|
|
16655
16674
|
hidden: !this.open,
|
|
16656
|
-
} }, hAsync("slot", { key: '
|
|
16675
|
+
} }, hAsync("slot", { key: '18d9b43b76fd13faa5c1e95e50253d4ba067dbbd' })))));
|
|
16657
16676
|
}
|
|
16658
16677
|
get element() { return getElement(this); }
|
|
16659
16678
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -16705,12 +16724,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
16705
16724
|
* Always the last one in the class.
|
|
16706
16725
|
*/
|
|
16707
16726
|
render() {
|
|
16708
|
-
return (hAsync(Host, { key: '
|
|
16727
|
+
return (hAsync(Host, { key: '7b6d4f944e09e3b9f4a545b35ca22b70354d4e89' }, hAsync("a", { key: '7c4d73a5f232691be4cd4ccc4e9687afdfdf46b2', class: {
|
|
16709
16728
|
"duet-submenu-bar-dropdown-link": true,
|
|
16710
16729
|
"duet-theme-turva": this.theme === "turva",
|
|
16711
16730
|
highlight: this.highlight,
|
|
16712
16731
|
active: this.active,
|
|
16713
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
16732
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '931355f6d77cbd9390389fc19ba3523c71deaa37', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '4be80caa3ae757adf17b077286f0d05572bf8086', class: "label-container" }, hAsync("span", { key: '7c06307710f7bf1a54d31fef0fefe969ef5dbf86', class: "label" }, hAsync("slot", { key: '11223a3b3b50e53da0b37954dc228ef2cc2fb3c8' })), this.caret && hAsync("duet-icon", { key: '8f1bdbc98c7f0af7167528d6ddd015613196af72', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '06574ed40c1677c41256fde666620ec3eb367d7f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
16714
16733
|
}
|
|
16715
16734
|
get element() { return getElement(this); }
|
|
16716
16735
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -16771,7 +16790,8 @@ class DuetSubmenuBarItem {
|
|
|
16771
16790
|
*/
|
|
16772
16791
|
render() {
|
|
16773
16792
|
const TagName = this.url ? "a" : "button";
|
|
16774
|
-
|
|
16793
|
+
const role = this.url ? "link" : "button";
|
|
16794
|
+
return (hAsync(Host, { key: '3809dacbf8986202a08f3ac76d4ff20222de6196', role: "listitem" }, hAsync(TagName, { key: '93b89f52f27aacdcf91a2117e56e4f54cc382ac0', ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role }, this.leadingIcon && (hAsync("duet-icon", { key: 'e1be87867c25236cbe0df20fae7c1c190aace67c', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'aabee6e7c69593910b223b29192891a590a1471b', class: "label" }, hAsync("span", { key: '03828b9abeaafe8228a76f1f7b8386314c5b3ef7', class: "label-text" }, hAsync("slot", { key: '4545df6039082a5d5caaaff535fcce876e9c4ba3' })), this.trailingIcon && (hAsync("duet-icon", { key: 'c3b95ea8302ed9d4bffc4fb49ee9015dc7f10bb4', class: {
|
|
16775
16795
|
"trailing-icon": true,
|
|
16776
16796
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
16777
16797
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
@@ -16828,7 +16848,7 @@ class DuetSubmenuBarLink {
|
|
|
16828
16848
|
* Always the last one in the class.
|
|
16829
16849
|
*/
|
|
16830
16850
|
render() {
|
|
16831
|
-
return (hAsync(Host, { key: '
|
|
16851
|
+
return (hAsync(Host, { key: 'fb94eb65690b10d78ba72790a1653d129d509aab', role: "listitem" }, hAsync("a", { key: '3997d3a5848880c3c8fe0a81ff3c0ea243bf1328', 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: '56fd2d97c86ae74b00ad7661840e543e12f771c2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'cacd3d410a7774d1c9919af8f2fca12a7150fb65', class: "label" }, hAsync("slot", { key: 'ab7dc74da327c9eac6ed6c8a72edb1b194623949' })))));
|
|
16832
16852
|
}
|
|
16833
16853
|
get element() { return getElement(this); }
|
|
16834
16854
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -17177,27 +17197,27 @@ class DuetTabGroup {
|
|
|
17177
17197
|
render() {
|
|
17178
17198
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
17179
17199
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
17180
|
-
return (hAsync("div", { key: '
|
|
17200
|
+
return (hAsync("div", { key: '79395ef8cc49dc783d525863fb219d1f7fe43153', class: {
|
|
17181
17201
|
"duet-tab-group": true,
|
|
17182
17202
|
"duet-theme-turva": this.theme === "turva",
|
|
17183
17203
|
[variationClass]: true,
|
|
17184
17204
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
17185
17205
|
"duet-tab-group-scrolls": this.scrolls,
|
|
17186
17206
|
"duet-tab-group-collapses": this.collapses,
|
|
17187
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: '
|
|
17207
|
+
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: 'b7d75be0eba4ed2c09b8960ca3b6df08988416a9', 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) => {
|
|
17188
17208
|
return { label: tab.label, value: index.toString() };
|
|
17189
|
-
}) })), hAsync("div", { key: '
|
|
17209
|
+
}) })), hAsync("div", { key: 'e2a71b9c46644d3eeefab5ca1996ece52f78cde9', role: "tablist", class: {
|
|
17190
17210
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
17191
17211
|
"duet-tab-group-tabs": true,
|
|
17192
17212
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
17193
17213
|
"duet-tab-group-collapses": this.collapses,
|
|
17194
17214
|
}, ref: el => {
|
|
17195
17215
|
this.tabsContainer = el;
|
|
17196
|
-
} }, this.renderTab()), hAsync("div", { key: '
|
|
17216
|
+
} }, this.renderTab()), hAsync("div", { key: 'f0a6b86641a0e8091e2b33c27452f783b467338e', class: {
|
|
17197
17217
|
"duet-tab-group-content": true,
|
|
17198
17218
|
"duet-m-0": this.margin === "none",
|
|
17199
17219
|
"checked-group-content": this.variation === "checked",
|
|
17200
|
-
} }, hAsync("slot", { key: '
|
|
17220
|
+
} }, hAsync("slot", { key: 'eddd3592c216edd8c0e97ba087ee42a6e9cc1cc1' }))));
|
|
17201
17221
|
}
|
|
17202
17222
|
get element() { return getElement(this); }
|
|
17203
17223
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -17301,7 +17321,7 @@ class DuetTable {
|
|
|
17301
17321
|
}
|
|
17302
17322
|
}
|
|
17303
17323
|
render() {
|
|
17304
|
-
return (hAsync(Host, { key: '
|
|
17324
|
+
return (hAsync(Host, { key: '5281fe3906db3b9b3885493414cd38e683d7d49e', class: {
|
|
17305
17325
|
[`duet-table-${this.variation}`]: true,
|
|
17306
17326
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
17307
17327
|
// sticky only valid when in regular table layout
|
|
@@ -17310,7 +17330,7 @@ class DuetTable {
|
|
|
17310
17330
|
"duet-m-0": this.margin === "none",
|
|
17311
17331
|
"duet-theme-turva": this.theme === "turva",
|
|
17312
17332
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
17313
|
-
} }, hAsync("slot", { key: '
|
|
17333
|
+
} }, hAsync("slot", { key: '1611870a74ea3903dc9c1fee47e66f7827c6b6e5' })));
|
|
17314
17334
|
}
|
|
17315
17335
|
get element() { return getElement(this); }
|
|
17316
17336
|
static get watchers() { return {
|
|
@@ -17678,7 +17698,7 @@ class DuetToolbar {
|
|
|
17678
17698
|
*/
|
|
17679
17699
|
render() {
|
|
17680
17700
|
const variation = this.variation === "negative" ? "negative" : "default";
|
|
17681
|
-
return (hAsync(Host, { key: '
|
|
17701
|
+
return (hAsync(Host, { key: 'a2941e7aec6a5b9f320d7e7db068dde67d3799a3' }, hAsync("nav", { key: '813a83f40c3340e339d590e248d56c7e94efa58c', class: { "duet-toolbar": true, "duet-theme-turva": this.theme === "turva", [variation]: true }, "aria-label": this.accessibleLabel }, hAsync("div", { key: '71a78f565f2cb4d2d2af83de3a43902ac7205823', class: "container" }, hAsync("div", { key: '8af413d1f26aaaeff1fa511e1dd4328ea2d568be', class: "list", role: "list" }, hAsync("slot", { key: 'b55720d01a77d0f568b7b5e647dfc3d00774002a', name: "left" })), hAsync("div", { key: '0e73411b7ebdc3cdb0ada1c5a86c3c4e67c7dc8e', class: "list", role: "list" }, hAsync("slot", { key: '74000372c85301502011e0405f1e5ae24c4da604', name: "right" }))))));
|
|
17682
17702
|
}
|
|
17683
17703
|
get element() { return getElement(this); }
|
|
17684
17704
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -17746,18 +17766,18 @@ class DuetToolbarDropdown {
|
|
|
17746
17766
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
17747
17767
|
}
|
|
17748
17768
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
17749
|
-
return (hAsync(Host, { key: '
|
|
17769
|
+
return (hAsync(Host, { key: 'b267de99df676578b5c5879bfc4b33e63f53eb40', role: "listitem" }, hAsync("div", { key: '0f4a971d359bb6b05c6a0de70bd263b48ae42953', class: {
|
|
17750
17770
|
"duet-toolbar-dropdown": true,
|
|
17751
17771
|
"duet-theme-turva": this.theme === "turva",
|
|
17752
17772
|
[itemsAlign]: true,
|
|
17753
17773
|
[variation]: true,
|
|
17754
|
-
} }, hAsync("button", { key: '
|
|
17774
|
+
} }, hAsync("button", { key: '7fe26d57c4e2df698aaf1677171e14999adcee31', 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: {
|
|
17755
17775
|
active: this.active,
|
|
17756
17776
|
open: this.open,
|
|
17757
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
17777
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'a1390f889f23f75052fd5c78915e12ee9e3c8930', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '7b7b8ad3931cc78a60ae96ebafe19fed542db012', class: "label" }, hAsync("slot", { key: 'fb9211a981fbbada64fd2b86c3583af226ebb626', name: "label" }), hAsync("duet-icon", { key: 'aaf1a322508dee44ff0e60d5bfc68381a568a922', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'd68a0e8ff628d5739efbe9cf3233d94cfa43e26f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17758
17778
|
items: true,
|
|
17759
17779
|
hidden: !this.open,
|
|
17760
|
-
} }, hAsync("slot", { key: '
|
|
17780
|
+
} }, hAsync("slot", { key: '2d9b51cf80525f43ca11cc5e4b91dd6308251ad8' })))));
|
|
17761
17781
|
}
|
|
17762
17782
|
get element() { return getElement(this); }
|
|
17763
17783
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -17810,11 +17830,11 @@ class DuetToolbarDropdownLink {
|
|
|
17810
17830
|
* Always the last one in the class.
|
|
17811
17831
|
*/
|
|
17812
17832
|
render() {
|
|
17813
|
-
return (hAsync(Host, { key: '
|
|
17833
|
+
return (hAsync(Host, { key: 'ca2c386337ef8052184214a47865bc93b192efea' }, hAsync("a", { key: '2601354c27b7ff3858e561585176e040d2bfce25', class: {
|
|
17814
17834
|
"duet-toolbar-dropdown-link": true,
|
|
17815
17835
|
"duet-theme-turva": this.theme === "turva",
|
|
17816
17836
|
active: this.active,
|
|
17817
|
-
}, 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: '
|
|
17837
|
+
}, 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: '0f941114682ef7527bf69e9e5a42ef0d095a1b2b', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'f5eac01e244e0cf0bb48229c58076580fea8e5d6', class: "label" }, hAsync("slot", { key: 'afc1ab27f5e67371e52fa2e4da46b453b24ab75c' })), this.active && (hAsync("duet-icon", { key: '041c528108a13b672788bbc254d7d6c0ee362008', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
17818
17838
|
}
|
|
17819
17839
|
get element() { return getElement(this); }
|
|
17820
17840
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -17870,12 +17890,12 @@ class DuetToolbarItem {
|
|
|
17870
17890
|
render() {
|
|
17871
17891
|
const TagName = this.url ? "a" : "button";
|
|
17872
17892
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
17873
|
-
return (hAsync(Host, { key: '
|
|
17893
|
+
return (hAsync(Host, { key: '5a54733855a26d30a01d1f7ba42806121f4f48d1', role: "listitem" }, hAsync(TagName, { key: 'fe27c8b4cf0118cb24013098aa893d298d152fa3', ref: element => (this.itemElement = element), class: {
|
|
17874
17894
|
"duet-toolbar-item": true,
|
|
17875
17895
|
"duet-theme-turva": this.theme === "turva",
|
|
17876
17896
|
active: this.active,
|
|
17877
17897
|
[variation]: true,
|
|
17878
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
17898
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '51a40fedd8282ef1931b6e7b52c2f4fc9808ff33', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '7a0cdb1ffdd86c5d027d2bd0e63cef3d1c5f4f06' }), this.trailingIcon && (hAsync("duet-icon", { key: '3bbed07861a179498c6b0b2cb590b8725403a6d3', class: {
|
|
17879
17899
|
"trailing-icon": true,
|
|
17880
17900
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
17881
17901
|
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: this.trailingIcon === "action-arrow-down-small" ? "xxx-small" : "x-small", color: "currentColor" })))));
|
|
@@ -17928,12 +17948,12 @@ class DuetToolbarLink {
|
|
|
17928
17948
|
*/
|
|
17929
17949
|
render() {
|
|
17930
17950
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
17931
|
-
return (hAsync(Host, { key: '
|
|
17951
|
+
return (hAsync(Host, { key: 'cf6800da1ce070afc7101b0798b0a76631cab3a2', role: "listitem" }, hAsync("a", { key: '6f1ea96961774cbe4d73bdfdf894bc8c11ff4dad', class: {
|
|
17932
17952
|
"duet-toolbar-link": true,
|
|
17933
17953
|
"duet-theme-turva": this.theme === "turva",
|
|
17934
17954
|
active: this.active,
|
|
17935
17955
|
[variation]: true,
|
|
17936
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
17956
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '51a73cb5a16cfaf854baa736574e423432acb751', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '9b752f107c4bcdbb32b0502b0a970ac115556ea1' }))));
|
|
17937
17957
|
}
|
|
17938
17958
|
get element() { return getElement(this); }
|
|
17939
17959
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -18187,11 +18207,11 @@ class DuetTooltipButton {
|
|
|
18187
18207
|
* Always the last one in the class.
|
|
18188
18208
|
*/
|
|
18189
18209
|
render() {
|
|
18190
|
-
return (hAsync(Host, { key: '
|
|
18210
|
+
return (hAsync(Host, { key: 'ce976f10516cd79a4616e573301788cdfb027cc1' }, hAsync("button", { key: 'e7df667f35fe25ac2267f96b3d4e58efd876b1e8', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
18191
18211
|
"duet-tooltip-button": true,
|
|
18192
18212
|
"duet-tooltip-button-has-label": !!this.label,
|
|
18193
18213
|
"duet-theme-turva": this.theme === "turva",
|
|
18194
|
-
} }, hAsync("svg", { key: '
|
|
18214
|
+
} }, hAsync("svg", { key: '01d7aef4ac85d656c0dd4de4de8716cb4d94f539', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '6aa5d232156fb0275a66d004af79cd1a2065c01d', 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: 'f717def87b4739a637fa7f0a6d9f026a190ac59d', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'fff9209dfe86fa98131cbe1cdd8c61e72ee6f678', 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)))));
|
|
18195
18215
|
}
|
|
18196
18216
|
get element() { return getElement(this); }
|
|
18197
18217
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -18258,11 +18278,11 @@ class DuetTooltipPopup {
|
|
|
18258
18278
|
this.contentEl.focus();
|
|
18259
18279
|
}
|
|
18260
18280
|
render() {
|
|
18261
|
-
return (hAsync(Host, { key: '
|
|
18281
|
+
return (hAsync(Host, { key: '3a18853dc93a2adb31d64f60482297bde3737724' }, hAsync("div", { key: '20c2bfdb39d5182040c8c1376cd1ad1f950786f5', class: {
|
|
18262
18282
|
"duet-tooltip": true,
|
|
18263
18283
|
"duet-theme-turva": this.theme === "turva",
|
|
18264
18284
|
"duet-tooltip-active": this.active === true,
|
|
18265
|
-
} }, hAsync(FocusGuard, { key: '
|
|
18285
|
+
} }, hAsync(FocusGuard, { key: '2be535dfda66aa174f0c3d4eaae962e4aef47134', moveFocusTo: this.buttonEl }), hAsync("div", { key: '95156d5f84e049de96d4ce158cb18b7d07ac91d9', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '9ded3cfd459764324cb8c9454275c8fba4169802' })), hAsync("div", { key: '18e028859869f9b46f3f281d4d2619f072a885e9', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '09a889676159c3c659fc2292c877305ef8382c37', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '70806769df23fed5c7145a17fad13c12ed2aef6a', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '61714adbfbf9677dcb00a6d96b50f7034b93cb24', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '3276a012463044b539d38df0879de85f1daeac44' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'c446cb8cb1d0246f2e5b284763bf7d28c8074699', moveFocusTo: this.contentEl }))));
|
|
18266
18286
|
}
|
|
18267
18287
|
get element() { return getElement(this); }
|
|
18268
18288
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -18370,14 +18390,14 @@ class DuetTray {
|
|
|
18370
18390
|
* Always the last one in the class.
|
|
18371
18391
|
*/
|
|
18372
18392
|
render() {
|
|
18373
|
-
return (hAsync("div", { key: '
|
|
18393
|
+
return (hAsync("div", { key: 'ee2f14ff774bc4fea662debc24e2a6831adfb289', class: {
|
|
18374
18394
|
"duet-tray": true,
|
|
18375
18395
|
"duet-tray-is-active": this.active,
|
|
18376
18396
|
"duet-tray-is-hidden": this.hiddenState,
|
|
18377
18397
|
"duet-tray-is-responsive": this.responsive,
|
|
18378
18398
|
"duet-theme-turva": this.theme === "turva",
|
|
18379
18399
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
18380
|
-
} }, hAsync("div", { key: '
|
|
18400
|
+
} }, hAsync("div", { key: '6ba05414c6cccbcd24b39ea18867eb7207047e34', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '56932665c91448424cafefb15e58e800b8f46e01' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'd5840a8e96e3cb4b743e5884017f71dce8f3ac5d' }, hAsync("button", { key: '7fe35a548af11e360fdbc6da0010db3ccae8a25f', "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: 'b88dac2958c91495b09881ca04aee485da7a028b', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '6d82f6bbfd7922c5fe83f7eb4d00e63d51784656' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'ba8b9b2fbaea02fa5b6ea18a0c54dc3bd9b588a0', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '84d6ba05d119969259a3c4de3c836f0dca268eb2', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '42d5d020a9028a67957dc6cfab863296d93a526e', name: "additional" })))))));
|
|
18381
18401
|
}
|
|
18382
18402
|
get element() { return getElement(this); }
|
|
18383
18403
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -19490,13 +19510,13 @@ class DuetUpload {
|
|
|
19490
19510
|
caption = caption.replace(/{maxbytestotal}/g, `${maxMegaBytesTotal.toString()} MB`);
|
|
19491
19511
|
caption = caption.replace(/{filetypes}/g, this.allowedExtensions.split(",").join(", "));
|
|
19492
19512
|
if (this.externalUploadButton) {
|
|
19493
|
-
this.externalUploadButton.accessibleLabel = caption
|
|
19513
|
+
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
19494
19514
|
}
|
|
19495
19515
|
// @ts-ignore
|
|
19496
|
-
return (hAsync(Host, { key: '
|
|
19516
|
+
return (hAsync(Host, { key: 'ba5705ec50051896eea4a8b718bf8f7da76be7c2', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '2342c1e4807ad8b414da320305d80604a22f25da', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '036201bcb193439f230d157d30a0d9908f358cc3', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: '20ab40f41f772e61c06ad88acb474d0ec7f84391', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'a0512f80328018f2df44dc5d62fc000f7a984ca5', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '44fa381771bc6ec8cea6678cc6341dbf742e2929', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'a3c578faaf758019488d158eeb6c2ab8241f6b97', 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: 'b9fa0cdc377dc153c52253b1a3e5f79ec362092c', name: "filefooter" }), hAsync("slot", { key: '5c2d728228b40dcaf099cf09bfeb630ba4400646', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '8a6bc099f257a275b9dd56907e71cfa27ee39e5a', margin: "none", size: "small" }, hAsync("div", { key: '00cb65b848e0f4343227e0d8a6edb36721e0898b', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '32298ca819a46adfbb2bb75495316a3b766b41cc', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'e08ac52f1e10d774b6d4182c3e65ca8c4926e199' }, hAsync("duet-spacer", { key: 'ee36496895e76011c58e5efba415715a9e10245b', size: "large" }), hAsync("duet-button", { key: 'ea88a0383d21936f8e1257659d16c1c538e0180c', 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 ||
|
|
19497
19517
|
this.bytesMaxReached ||
|
|
19498
19518
|
this.filesToUploadExceedsLimit ||
|
|
19499
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
19519
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: 'fc592425a1fb73c7ed842a2e9f97a9230656ea84' }, hAsync("duet-spacer", { key: 'f2eeb91a4aaa9b88a92a831fdeee9ac1185d613d', size: "medium" }), hAsync("duet-alert", { key: 'b28c29441595b510a4dba0bf90cd1ff8b0c154b0', 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: '4c28a57329e13a63f223623aec2bded1a1c45956', "aria-hidden": "true" }, hAsync("input", { key: '0f522f4bd041a1037b6492ce975099d336e6c8c6', ref: input => {
|
|
19500
19520
|
this.nativeInput = input;
|
|
19501
19521
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
19502
19522
|
"duet-upload": true,
|
|
@@ -19817,7 +19837,7 @@ class DuetUploadAriaStatus {
|
|
|
19817
19837
|
* Always the last one in the class.
|
|
19818
19838
|
*/
|
|
19819
19839
|
render() {
|
|
19820
|
-
return (hAsync(Host, { key: '
|
|
19840
|
+
return (hAsync(Host, { key: 'd987e9e8bf5e3a649817f942d6a4ab860769f9ec', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '564b4c6c8d9a519fb5eee566d9b5fd057b1b9a20' }, this.statusMessage)));
|
|
19821
19841
|
}
|
|
19822
19842
|
get element() { return getElement(this); }
|
|
19823
19843
|
static get watchers() { return {
|
|
@@ -19996,9 +20016,9 @@ class DuetUploadItem {
|
|
|
19996
20016
|
const { uid, meta, item } = this.data;
|
|
19997
20017
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
19998
20018
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
19999
|
-
return (hAsync("div", { key: '
|
|
20019
|
+
return (hAsync("div", { key: 'ce6f559711b5fad043a9b1d9dd1abd78c1e3e925', class: {
|
|
20000
20020
|
"upload-item-row": true,
|
|
20001
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
20021
|
+
} }, this.showCategory && (hAsync("div", { key: '7346081d7fdce1e18e2f60d6816c207ae8b920a7', class: "item-categories" }, hAsync("duet-heading", { key: '1a43870407f9655cc3aec47df7ac219e2106fbc3', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '5676d2178396aa7ded5c38e756bddb82ed8ebce4', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: 'bd76f703674212d57d2767655d8da7bbfcef5ab6', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '6ee737c5ee79a10470cf15e4853d0a8fc241d09d', class: "item-actions" }, this.actions.map(actionItem => {
|
|
20002
20022
|
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) }));
|
|
20003
20023
|
}))));
|
|
20004
20024
|
}
|
|
@@ -20039,7 +20059,7 @@ class DuetVisuallyHidden {
|
|
|
20039
20059
|
* Always the last one in the class.
|
|
20040
20060
|
*/
|
|
20041
20061
|
render() {
|
|
20042
|
-
return (hAsync(Host, { key: '
|
|
20062
|
+
return (hAsync(Host, { key: '1391d57bdc46c12c699eb9c0f24512e6169527cb', class: "duet-visually-hidden" }, hAsync("slot", { key: '3954c8b4f0a67197b2bcf14bd7e149815abf8074' })));
|
|
20043
20063
|
}
|
|
20044
20064
|
get element() { return getElement(this); }
|
|
20045
20065
|
static get style() { return DuetVisuallyHiddenStyle0; }
|