@duetds/components 9.12.2 → 9.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +404 -233
- package/lib/cjs/{a11y-utils-e59debeb.js → a11y-utils-a934645c.js} +1 -1
- package/lib/cjs/{app-globals-f559c48a.js → app-globals-6b9852f3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +12 -12
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +13 -12
- package/lib/cjs/duet-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkbox.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +4 -4
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +5 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +6 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +4 -4
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +50 -12
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +7 -7
- package/lib/cjs/duet-input_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +11 -42
- package/lib/cjs/duet-modal.cjs.entry.js +39 -20
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- package/lib/cjs/duet-nav.cjs.entry.js +3 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +11 -7
- package/lib/cjs/duet-overlay.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +17 -17
- package/lib/cjs/duet-panel.cjs.entry.js +47 -0
- package/lib/cjs/duet-phone-input.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +4 -4
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +7 -7
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -10
- package/lib/cjs/duet-status-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -7
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +8 -8
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -4
- package/lib/cjs/duet-toggle.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -8
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -4
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-803bdf0f.js → errorcodes.utils-9ce7ca99.js} +1 -1
- package/lib/cjs/{focus-utils-aab4fc49.js → focus-utils-fa11f04b.js} +1 -1
- package/lib/cjs/{index-9f14a370.js → index-3d15fb5e.js} +5 -1
- package/lib/cjs/{language-utils-db49b98b.js → language-utils-eaec2648.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-018275a5.js → slot-utils-61317778.js} +1 -1
- package/lib/cjs/{themeable-component-59982a4b.js → themeable-component-46222401.js} +14 -2
- package/lib/cjs/{token-utils-6258d3f7.js → token-utils-658c4c54.js} +103 -7
- package/lib/cjs/{tokens-e6fda5ee.js → tokens-22702e71.js} +0 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/common/themeable-component.js +13 -1
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.css +1 -0
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +19 -4
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-header/duet-header.css +3 -0
- package/lib/collection/components/duet-header/duet-header.js +3 -2
- package/lib/collection/components/duet-icon/duet-icon.css +5 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-label/duet-label.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +5 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.css +8 -0
- package/lib/collection/components/duet-logo/duet-logo.js +70 -5
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +91 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +28 -39
- 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 +98 -15
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +8 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.css +12 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-panel/duet-panel.css +98 -0
- package/lib/collection/components/duet-panel/duet-panel.js +225 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +3 -3
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +1 -1
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-share-chart/duet-share-chart.js +2 -2
- package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +1 -1
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +3 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/token-utils.js +59 -7
- package/lib/collection/utils/turva2-color-tokens.js +42 -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 +8 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +5 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- 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 +9 -9
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +16 -16
- package/lib/dist-custom-elements/duet-contact-card.js +11 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +8 -8
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- 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 +14 -13
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +10 -10
- 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 +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar.js +14 -43
- package/lib/dist-custom-elements/duet-modal.js +45 -24
- package/lib/dist-custom-elements/duet-multiselect.js +15 -15
- package/lib/dist-custom-elements/duet-nav.js +3 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +5 -5
- package/lib/dist-custom-elements/duet-number-input.js +19 -15
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +7 -7
- package/lib/dist-custom-elements/duet-pagination.js +26 -26
- package/lib/dist-custom-elements/duet-panel.d.ts +11 -0
- package/lib/dist-custom-elements/duet-panel.js +70 -0
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +17 -17
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +7 -7
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +4 -4
- package/lib/dist-custom-elements/duet-share-chart-item.js +2 -2
- package/lib/dist-custom-elements/duet-share-chart.js +6 -6
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +5 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +10 -10
- package/lib/dist-custom-elements/duet-slideout.js +9 -9
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +5 -5
- package/lib/dist-custom-elements/duet-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -8
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +10 -10
- package/lib/dist-custom-elements/duet-tab-group.js +12 -12
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +11 -11
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -4
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +23 -23
- 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-32a8ced7.js → p-05fb2c81.js} +5 -5
- package/lib/dist-custom-elements/{p-64abcbeb.js → p-0a34fa11.js} +3 -3
- package/lib/dist-custom-elements/{p-e024b525.js → p-0e0a0525.js} +4 -4
- package/lib/dist-custom-elements/{p-e40817b6.js → p-10893657.js} +2 -2
- package/lib/dist-custom-elements/{p-1d53e17e.js → p-25f8ea4b.js} +3 -3
- package/lib/dist-custom-elements/{p-3d69644c.js → p-3419cd58.js} +10 -10
- package/lib/dist-custom-elements/{p-1b344cf7.js → p-3471fa90.js} +4 -4
- package/lib/dist-custom-elements/{p-14f9f7a0.js → p-36f6ec52.js} +2 -2
- package/lib/dist-custom-elements/{p-6f57e174.js → p-3757c660.js} +13 -1
- package/lib/dist-custom-elements/{p-0b77ee39.js → p-3883f329.js} +6 -6
- package/lib/dist-custom-elements/{p-0c936fe5.js → p-3a815628.js} +11 -11
- package/lib/dist-custom-elements/{p-69ca7615.js → p-444e732a.js} +9 -8
- package/lib/dist-custom-elements/{p-77260ba8.js → p-499da71e.js} +103 -8
- package/lib/dist-custom-elements/{p-38225a71.js → p-5e16131c.js} +46 -7
- package/lib/dist-custom-elements/{p-71245313.js → p-61b4aec9.js} +13 -13
- package/lib/dist-custom-elements/{p-1a647490.js → p-65300e85.js} +12 -12
- package/lib/dist-custom-elements/{p-b879c406.js → p-706a9a13.js} +3 -3
- package/lib/dist-custom-elements/{p-5fb435c0.js → p-778364d6.js} +4 -4
- package/lib/dist-custom-elements/{p-d6d3f142.js → p-81360956.js} +3 -3
- package/lib/dist-custom-elements/{p-64f1c43c.js → p-85f0068e.js} +6 -6
- package/lib/dist-custom-elements/{p-dbe0ddfd.js → p-92710b68.js} +1 -1
- package/lib/dist-custom-elements/{p-93896e54.js → p-96cabce8.js} +8 -8
- package/lib/dist-custom-elements/{p-6f7ac4a5.js → p-9ac441e6.js} +5 -5
- package/lib/dist-custom-elements/{p-6f969e11.js → p-9f715fa9.js} +5 -5
- package/lib/dist-custom-elements/{p-3600a7d8.js → p-a4513f7a.js} +3 -3
- package/lib/dist-custom-elements/{p-1f214262.js → p-a69bc735.js} +2 -2
- package/lib/dist-custom-elements/{p-ccf00480.js → p-b3835995.js} +5 -5
- package/lib/dist-custom-elements/{p-9f5cbda4.js → p-c7f33aed.js} +5 -5
- package/lib/dist-custom-elements/{p-4f46d35d.js → p-cc1b78ce.js} +11 -11
- package/lib/dist-custom-elements/{p-5c0ef833.js → p-d04e213c.js} +13 -13
- package/lib/dist-custom-elements/{p-c4cf8fc4.js → p-d0bc3da2.js} +2 -2
- package/lib/dist-custom-elements/{p-16f01714.js → p-d5c72ea3.js} +7 -7
- package/lib/dist-custom-elements/{p-7b0e3959.js → p-db2b09ab.js} +2 -2
- package/lib/dist-custom-elements/{p-b34c0bc0.js → p-dc970fdb.js} +2 -2
- package/lib/dist-custom-elements/{p-e7c96fb9.js → p-e77ffc34.js} +3 -3
- package/lib/dist-custom-elements/{p-74971fe9.js → p-e9c8ad74.js} +3 -3
- package/lib/dist-custom-elements/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/dist-custom-elements/{p-ff3742a3.js → p-ee948dc8.js} +5 -5
- package/lib/dist-custom-elements/{p-f42fd1a5.js → p-f290964d.js} +7 -7
- package/lib/dist-custom-elements/{p-b1100334.js → p-f38adca4.js} +8 -8
- package/lib/dist-custom-elements/{p-b7e3ed2c.js → p-f3b2867a.js} +4 -4
- package/lib/dist-custom-elements/{p-b760d510.js → p-f479ee47.js} +6 -6
- package/lib/dist-custom-elements/{p-daa2778f.js → p-fddb3ec1.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-43a8d843.system.entry.js → p-013232a8.system.entry.js} +1 -1
- package/lib/duet/{p-40295380.js → p-01fe0f34.js} +1 -1
- package/lib/duet/p-063b31ef.entry.js +4 -0
- package/lib/duet/{p-ede03d44.system.entry.js → p-07d21021.system.entry.js} +1 -1
- package/lib/duet/p-07dd4405.system.entry.js +4 -0
- package/lib/duet/{p-72b80f54.entry.js → p-08f594ea.entry.js} +1 -1
- package/lib/duet/{p-9cc1306c.entry.js → p-08f64c06.entry.js} +1 -1
- package/lib/duet/{p-326ef77a.system.entry.js → p-0bc88aac.system.entry.js} +1 -1
- package/lib/duet/{p-85d98f00.entry.js → p-0c16128f.entry.js} +1 -1
- package/lib/duet/{p-618232f5.system.entry.js → p-0cef5003.system.entry.js} +1 -1
- package/lib/duet/{p-f2277c25.system.entry.js → p-0e013c22.system.entry.js} +1 -1
- package/lib/duet/{p-6f5c7766.system.entry.js → p-0e4ff2a3.system.entry.js} +1 -1
- package/lib/duet/p-10310520.entry.js +4 -0
- package/lib/duet/{p-822bbe28.system.entry.js → p-11262ef8.system.entry.js} +1 -1
- package/lib/duet/{p-21208eb0.entry.js → p-119d8a9d.entry.js} +1 -1
- package/lib/duet/{p-3e995aa9.entry.js → p-11e013dd.entry.js} +1 -1
- package/lib/duet/{p-db1a5bf4.system.entry.js → p-13821573.system.entry.js} +1 -1
- package/lib/duet/{p-b87f5ff8.system.entry.js → p-13f4076a.system.entry.js} +1 -1
- package/lib/duet/{p-6a455c03.entry.js → p-147f5eb5.entry.js} +1 -1
- package/lib/duet/p-16e80004.entry.js +4 -0
- package/lib/duet/{p-940ed1a1.entry.js → p-17f215e8.entry.js} +1 -1
- package/lib/duet/{p-69d12878.entry.js → p-18b21048.entry.js} +1 -1
- package/lib/duet/{p-013ff1b1.entry.js → p-19ad52bc.entry.js} +1 -1
- package/lib/duet/{p-6288d368.system.entry.js → p-1a767c08.system.entry.js} +1 -1
- package/lib/duet/{p-fa843791.entry.js → p-1c2dcb63.entry.js} +1 -1
- package/lib/duet/p-1f495ebe.entry.js +4 -0
- package/lib/duet/{p-62a9692f.entry.js → p-20170d5a.entry.js} +1 -1
- package/lib/duet/{p-6ab8cc04.system.entry.js → p-201895ea.system.entry.js} +1 -1
- package/lib/duet/{p-911830a9.entry.js → p-2162fe62.entry.js} +1 -1
- package/lib/duet/{p-1df441b0.system.entry.js → p-22349ab1.system.entry.js} +1 -1
- package/lib/duet/{p-dc12856e.system.entry.js → p-22932c08.system.entry.js} +1 -1
- package/lib/duet/{p-f87be171.system.entry.js → p-23d5c3fe.system.entry.js} +1 -1
- package/lib/duet/{p-a3a2f086.system.entry.js → p-2455cbff.system.entry.js} +1 -1
- package/lib/duet/{p-9b88b8f4.entry.js → p-268d9b35.entry.js} +1 -1
- package/lib/duet/{p-25da61f0.entry.js → p-2a542c6a.entry.js} +1 -1
- package/lib/duet/p-2a96f88a.system.entry.js +4 -0
- package/lib/duet/{p-4ded9936.entry.js → p-2c15a77e.entry.js} +1 -1
- package/lib/duet/{p-e430fc87.system.entry.js → p-2d14dafa.system.entry.js} +1 -1
- package/lib/duet/p-2dd204b0.entry.js +4 -0
- package/lib/duet/{p-46ba82ab.system.entry.js → p-2e58b3ab.system.entry.js} +1 -1
- package/lib/duet/{p-03eb030a.system.entry.js → p-2e7454bd.system.entry.js} +1 -1
- package/lib/duet/p-2ee8e84d.system.entry.js +4 -0
- package/lib/duet/{p-24dcf46b.entry.js → p-2fe381b6.entry.js} +1 -1
- package/lib/duet/{p-c1db69bc.system.entry.js → p-322c0015.system.entry.js} +1 -1
- package/lib/duet/{p-7b43d889.system.entry.js → p-344834d8.system.entry.js} +1 -1
- package/lib/duet/{p-fa43f6c2.system.entry.js → p-34485370.system.entry.js} +1 -1
- package/lib/duet/{p-f58be348.system.entry.js → p-352b3557.system.entry.js} +1 -1
- package/lib/duet/{p-83ea5225.js → p-378546de.js} +1 -1
- package/lib/duet/{p-ebf7a3ac.system.entry.js → p-38faf7e7.system.entry.js} +1 -1
- package/lib/duet/{p-16432cd4.entry.js → p-3a75e6d3.entry.js} +1 -1
- package/lib/duet/p-3b9c02b1.entry.js +4 -0
- package/lib/duet/{p-e9b88155.system.entry.js → p-413fc831.system.entry.js} +1 -1
- package/lib/duet/p-4215bd92.system.entry.js +4 -0
- package/lib/duet/p-42a0205d.entry.js +4 -0
- package/lib/duet/{p-2c09d10f.entry.js → p-430ef395.entry.js} +1 -1
- package/lib/duet/p-44b3eb2c.entry.js +4 -0
- package/lib/duet/{p-6bbb4dd9.entry.js → p-463b0d7a.entry.js} +1 -1
- package/lib/duet/{p-21fb0158.entry.js → p-48fb5298.entry.js} +1 -1
- package/lib/duet/{p-651d3dec.entry.js → p-4989501c.entry.js} +1 -1
- package/lib/duet/{p-98eddabd.entry.js → p-49b696b3.entry.js} +1 -1
- package/lib/duet/{p-dab809f9.entry.js → p-49b6f9a1.entry.js} +1 -1
- package/lib/duet/{p-e70e9c50.system.entry.js → p-4a54ae2a.system.entry.js} +2 -2
- package/lib/duet/{p-1c58f3a1.system.entry.js → p-4c44b9d0.system.entry.js} +1 -1
- package/lib/duet/p-4d81e7f6.system.js +4 -0
- package/lib/duet/{p-79bccb1f.system.entry.js → p-4e21f876.system.entry.js} +1 -1
- package/lib/duet/{p-c6497425.entry.js → p-51717f08.entry.js} +1 -1
- package/lib/duet/{p-4f87023e.entry.js → p-51fc30ef.entry.js} +1 -1
- package/lib/duet/{p-0f945464.entry.js → p-52746f84.entry.js} +1 -1
- package/lib/duet/p-52d80d96.js +4 -0
- package/lib/duet/{p-ce063cbd.system.entry.js → p-561dd467.system.entry.js} +1 -1
- package/lib/duet/p-564022f1.entry.js +4 -0
- package/lib/duet/{p-41bafdf1.system.entry.js → p-56bada0c.system.entry.js} +1 -1
- package/lib/duet/{p-1eed0b1c.system.entry.js → p-58d8549a.system.entry.js} +1 -1
- package/lib/duet/{p-bf62ea4a.entry.js → p-593df331.entry.js} +1 -1
- package/lib/duet/p-59777da7.system.js +4 -0
- package/lib/duet/{p-a0a43bf4.entry.js → p-5b583276.entry.js} +1 -1
- package/lib/duet/{p-5d2cba5e.system.entry.js → p-5c271084.system.entry.js} +1 -1
- package/lib/duet/{p-35580d9e.entry.js → p-5f678caa.entry.js} +1 -1
- package/lib/duet/{p-fc9148a1.entry.js → p-628a59a6.entry.js} +1 -1
- package/lib/duet/{p-38d5c9e6.entry.js → p-62cb44f1.entry.js} +1 -1
- package/lib/duet/{p-af0e060c.system.js → p-670f33d1.system.js} +1 -1
- package/lib/duet/p-6a4e23b5.entry.js +4 -0
- package/lib/duet/{p-0dac0f34.system.entry.js → p-6a718c27.system.entry.js} +1 -1
- package/lib/duet/{p-02922551.entry.js → p-6a900d10.entry.js} +1 -1
- package/lib/duet/{p-e50a2f96.system.js → p-6b99bf3d.system.js} +1 -1
- package/lib/duet/{p-1f5772a7.entry.js → p-6cf2b2b8.entry.js} +1 -1
- package/lib/duet/{p-d5ceec92.system.entry.js → p-6d5e6c51.system.entry.js} +1 -1
- package/lib/duet/{p-628dc72c.system.entry.js → p-6db869c9.system.entry.js} +1 -1
- package/lib/duet/{p-02785b42.system.entry.js → p-6f46b9da.system.entry.js} +1 -1
- package/lib/duet/{p-d8323868.entry.js → p-704b8b7e.entry.js} +1 -1
- package/lib/duet/{p-a820ff4d.system.entry.js → p-713918d1.system.entry.js} +1 -1
- package/lib/duet/{p-91df376b.entry.js → p-72ad70a2.entry.js} +1 -1
- package/lib/duet/{p-bf06650e.js → p-72b4c06f.js} +1 -1
- package/lib/duet/{p-5a144646.entry.js → p-75542e0e.entry.js} +1 -1
- package/lib/duet/{p-025452a3.system.entry.js → p-75e72c46.system.entry.js} +1 -1
- package/lib/duet/p-75fdf144.system.js +4 -0
- package/lib/duet/{p-3bffb004.system.entry.js → p-76c797cb.system.entry.js} +1 -1
- package/lib/duet/{p-1f45b3af.system.entry.js → p-78024429.system.entry.js} +1 -1
- package/lib/duet/p-7856f483.entry.js +4 -0
- package/lib/duet/{p-0aa18687.system.entry.js → p-786418b7.system.entry.js} +1 -1
- package/lib/duet/{p-0db9de80.system.entry.js → p-7a022fb4.system.entry.js} +1 -1
- package/lib/duet/{p-7053f582.entry.js → p-7be7fb2c.entry.js} +1 -1
- package/lib/duet/{p-33e24f0b.system.entry.js → p-7ce8fc32.system.entry.js} +2 -2
- package/lib/duet/{p-3c7d3755.entry.js → p-7d63b0c0.entry.js} +1 -1
- package/lib/duet/{p-61e21220.system.js → p-7fd0a219.system.js} +1 -1
- package/lib/duet/p-82680aa5.system.js +4 -0
- package/lib/duet/{p-5da25b76.entry.js → p-82733ff7.entry.js} +1 -1
- package/lib/duet/{p-f0354143.system.entry.js → p-834d6b2d.system.entry.js} +1 -1
- package/lib/duet/{p-32971abc.entry.js → p-83c0cfed.entry.js} +1 -1
- package/lib/duet/p-854605a6.js +4 -0
- package/lib/duet/{p-d064df5e.js → p-8637a449.js} +1 -1
- package/lib/duet/{p-c1a9ca3f.entry.js → p-86929bf6.entry.js} +1 -1
- package/lib/duet/{p-10bfafcf.entry.js → p-86d288e5.entry.js} +1 -1
- package/lib/duet/{p-587b5b14.system.entry.js → p-870a420d.system.entry.js} +1 -1
- package/lib/duet/p-89b2f873.system.js +4 -0
- package/lib/duet/{p-e06e9231.entry.js → p-89d45610.entry.js} +1 -1
- package/lib/duet/{p-b3b3b6d2.system.entry.js → p-89f89a39.system.entry.js} +1 -1
- package/lib/duet/{p-7013ce09.system.entry.js → p-8a9fb89c.system.entry.js} +1 -1
- package/lib/duet/p-8bb2ddda.entry.js +4 -0
- package/lib/duet/{p-8173dd50.system.entry.js → p-8cbe7888.system.entry.js} +2 -2
- package/lib/duet/{p-64709c5e.system.entry.js → p-8e7af8a4.system.entry.js} +1 -1
- package/lib/duet/p-8edc7ed6.entry.js +4 -0
- package/lib/duet/{p-00e5d987.system.entry.js → p-8f55b49a.system.entry.js} +2 -2
- package/lib/duet/{p-a6c30abd.entry.js → p-901f7bd1.entry.js} +1 -1
- package/lib/duet/{p-833d7be7.system.entry.js → p-903d05d9.system.entry.js} +1 -1
- package/lib/duet/{p-c9c52ec2.entry.js → p-914292d2.entry.js} +1 -1
- package/lib/duet/{p-9516f5fc.system.entry.js → p-91be5d76.system.entry.js} +1 -1
- package/lib/duet/{p-88317c08.entry.js → p-9361e0ff.entry.js} +1 -1
- package/lib/duet/{p-ca812b3c.entry.js → p-936f0051.entry.js} +1 -1
- package/lib/duet/{p-c4ea6d92.entry.js → p-961dc1b6.entry.js} +1 -1
- package/lib/duet/{p-987e96a5.entry.js → p-98af4e91.entry.js} +1 -1
- package/lib/duet/p-9921468e.entry.js +4 -0
- package/lib/duet/{p-5d7af988.system.js → p-99ffd1cf.system.js} +1 -1
- package/lib/duet/{p-9e73ce43.system.entry.js → p-9ae77fe6.system.entry.js} +1 -1
- package/lib/duet/{p-a157e1cc.entry.js → p-9dc97ec5.entry.js} +1 -1
- package/lib/duet/{p-2819123b.system.entry.js → p-a2f05f0b.system.entry.js} +1 -1
- package/lib/duet/{p-053c4b67.system.entry.js → p-a8527a22.system.entry.js} +1 -1
- package/lib/duet/{p-bca76d73.entry.js → p-aaa700a4.entry.js} +1 -1
- package/lib/duet/{p-7d861055.entry.js → p-ac643c4d.entry.js} +1 -1
- package/lib/duet/p-adcfa80c.system.entry.js +4 -0
- package/lib/duet/{p-c8df1d39.entry.js → p-af4c5e2b.entry.js} +1 -1
- package/lib/duet/{p-cc2adccb.system.entry.js → p-b083c7df.system.entry.js} +1 -1
- package/lib/duet/p-b1b64718.system.entry.js +4 -0
- package/lib/duet/{p-a445ce8a.entry.js → p-b4018154.entry.js} +1 -1
- package/lib/duet/p-b65f6339.system.js +4 -0
- package/lib/duet/{p-563804e0.system.entry.js → p-b728fce7.system.entry.js} +1 -1
- package/lib/duet/p-b84841d7.js +4 -0
- package/lib/duet/{p-14108f66.entry.js → p-baaa9e94.entry.js} +1 -1
- package/lib/duet/{p-d17b23fc.entry.js → p-be26ac3a.entry.js} +1 -1
- package/lib/duet/{p-fcf1b096.entry.js → p-c0020521.entry.js} +1 -1
- package/lib/duet/p-c157389b.system.entry.js +4 -0
- package/lib/duet/{p-89a1fa97.system.entry.js → p-c371758a.system.entry.js} +1 -1
- package/lib/duet/{p-8e0952b2.entry.js → p-c4e34a8e.entry.js} +1 -1
- package/lib/duet/{p-f074b245.entry.js → p-c60c40a2.entry.js} +1 -1
- package/lib/duet/{p-f787b33c.entry.js → p-c70b52b6.entry.js} +1 -1
- package/lib/duet/{p-8bf31541.system.entry.js → p-c9751b3c.system.entry.js} +1 -1
- package/lib/duet/{p-e9e4825a.system.entry.js → p-cb279bed.system.entry.js} +1 -1
- package/lib/duet/{p-0fa3c05b.entry.js → p-cd27da84.entry.js} +1 -1
- package/lib/duet/{p-91d5d8cb.entry.js → p-cff34f13.entry.js} +1 -1
- package/lib/duet/{p-f9be6c4a.system.entry.js → p-d06d2098.system.entry.js} +1 -1
- package/lib/duet/{p-386fdf47.system.entry.js → p-d3e245f0.system.entry.js} +2 -2
- package/lib/duet/{p-da1458e1.system.entry.js → p-d6368121.system.entry.js} +1 -1
- package/lib/duet/{p-903b934c.system.entry.js → p-d647ef97.system.entry.js} +1 -1
- package/lib/duet/{p-5638079e.system.entry.js → p-d6a2cc77.system.entry.js} +2 -2
- package/lib/duet/{p-82412ccb.entry.js → p-d6afc825.entry.js} +1 -1
- package/lib/duet/{p-705d56cf.entry.js → p-d8fadd2d.entry.js} +1 -1
- package/lib/duet/{p-474c40d9.system.entry.js → p-dc3646e2.system.entry.js} +1 -1
- package/lib/duet/p-e63f5ff5.js +4 -0
- package/lib/duet/{p-3c412042.system.entry.js → p-e6f40951.system.entry.js} +1 -1
- package/lib/duet/p-e70fad83.entry.js +4 -0
- package/lib/duet/{p-2a1dd592.entry.js → p-e8777cf4.entry.js} +1 -1
- package/lib/duet/{p-1bd4baef.system.entry.js → p-eb237688.system.entry.js} +1 -1
- package/lib/duet/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/duet/p-eb7b2984.system.entry.js +4 -0
- package/lib/duet/{p-b7a29ea3.system.entry.js → p-ebb0b51d.system.entry.js} +1 -1
- package/lib/duet/{p-0b74ce31.entry.js → p-ec22154d.entry.js} +1 -1
- package/lib/duet/{p-adeb1555.system.js → p-ed810e76.system.js} +1 -1
- package/lib/duet/{p-ef4fea1b.entry.js → p-edb65a28.entry.js} +1 -1
- package/lib/duet/{p-8cfba882.system.entry.js → p-f1beb947.system.entry.js} +1 -1
- package/lib/duet/{p-21090503.system.entry.js → p-f3587718.system.entry.js} +1 -1
- package/lib/duet/{p-e6c3d5b0.system.entry.js → p-f58cbc59.system.entry.js} +1 -1
- package/lib/duet/{p-7fe2a579.entry.js → p-f7b6fecb.entry.js} +1 -1
- package/lib/duet/{p-5b0acd52.system.entry.js → p-f835eb92.system.entry.js} +1 -1
- package/lib/duet/p-f89feeb2.entry.js +4 -0
- package/lib/duet/{p-723a5a2f.system.entry.js → p-f947b5c5.system.entry.js} +1 -1
- package/lib/duet/{p-fdf1fec8.entry.js → p-f9b9fbf5.entry.js} +1 -1
- package/lib/duet/{p-61f97ebd.system.entry.js → p-fae74a37.system.entry.js} +1 -1
- package/lib/duet/{p-67d84e6e.system.entry.js → p-fb9c9879.system.entry.js} +1 -1
- package/lib/duet/p-fbc59efc.js +4 -0
- package/lib/duet/{p-7b01ab6d.system.entry.js → p-fe9adf7c.system.entry.js} +1 -1
- package/lib/duet/{p-7ff43e10.system.entry.js → p-ff97f8e4.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm/{app-globals-ba36fb7c.js → app-globals-db5be99e.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +7 -7
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -6
- package/lib/esm/duet-button_2.entry.js +12 -12
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +13 -12
- package/lib/esm/duet-card.entry.js +4 -4
- package/lib/esm/duet-checkbox.entry.js +2 -2
- package/lib/esm/duet-checkmark.entry.js +4 -4
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +5 -5
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +5 -5
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +6 -6
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +4 -4
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +50 -12
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +7 -7
- package/lib/esm/duet-input_2.entry.js +6 -6
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +7 -7
- package/lib/esm/duet-menu-bar-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar.entry.js +11 -42
- package/lib/esm/duet-modal.entry.js +39 -20
- package/lib/esm/duet-multiselect.entry.js +9 -9
- package/lib/esm/duet-nav.entry.js +3 -3
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +11 -7
- package/lib/esm/duet-overlay.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +5 -5
- package/lib/esm/duet-pagination_2.entry.js +17 -17
- package/lib/esm/duet-panel.entry.js +43 -0
- package/lib/esm/duet-phone-input.entry.js +4 -4
- package/lib/esm/duet-popup-menu_2.entry.js +6 -6
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +2 -2
- package/lib/esm/duet-scrollable_3.entry.js +14 -14
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +4 -4
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +7 -7
- package/lib/esm/duet-show-more.entry.js +5 -5
- package/lib/esm/duet-slideout-lang.entry.js +4 -4
- package/lib/esm/duet-slideout-link.entry.js +7 -7
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +6 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +10 -10
- package/lib/esm/duet-status-icon.entry.js +4 -4
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -7
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +8 -8
- package/lib/esm/duet-textarea.entry.js +4 -4
- package/lib/esm/duet-toggle.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +8 -8
- package/lib/esm/duet-toolbar-link.entry.js +4 -4
- package/lib/esm/duet-toolbar.entry.js +4 -4
- package/lib/esm/duet-tooltip-button_2.entry.js +8 -8
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +6 -6
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm/{focus-utils-b131ac81.js → focus-utils-28046c5d.js} +1 -1
- package/lib/esm/{index-822baec2.js → index-04630419.js} +5 -1
- package/lib/esm/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm/{themeable-component-4e1ca2f5.js → themeable-component-ddf67193.js} +14 -2
- package/lib/esm/{token-utils-7360bb84.js → token-utils-06ae5c10.js} +103 -8
- package/lib/esm/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
- package/lib/esm-es5/{a11y-utils-e494647a.js → a11y-utils-87967050.js} +1 -1
- package/lib/esm-es5/{app-globals-ba36fb7c.js → app-globals-db5be99e.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 +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +2 -2
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +4 -0
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-f1b68042.js → errorcodes.utils-f17cc5a4.js} +1 -1
- package/lib/esm-es5/focus-utils-28046c5d.js +4 -0
- package/lib/esm-es5/index-04630419.js +4 -0
- package/lib/esm-es5/{language-utils-2038d09e.js → language-utils-7caf2c7c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-5410a171.js → slot-utils-e3cda10f.js} +1 -1
- package/lib/esm-es5/themeable-component-ddf67193.js +4 -0
- package/lib/esm-es5/token-utils-06ae5c10.js +4 -0
- package/lib/esm-es5/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
- package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
- package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +3 -1
- package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
- package/lib/types/components.d.ts +112 -4
- package/lib/types/utils/token-utils.d.ts +4 -0
- package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
- package/package.json +4 -4
- package/lib/duet/p-0454a8c6.entry.js +0 -4
- package/lib/duet/p-0a7ee399.js +0 -4
- package/lib/duet/p-0e7cf850.js +0 -4
- package/lib/duet/p-11f51d65.entry.js +0 -4
- package/lib/duet/p-1c8887ea.entry.js +0 -4
- package/lib/duet/p-23eb5520.entry.js +0 -4
- package/lib/duet/p-242bcacd.system.js +0 -4
- package/lib/duet/p-27219a43.js +0 -4
- package/lib/duet/p-3b7bc2eb.entry.js +0 -4
- package/lib/duet/p-437e64f1.system.entry.js +0 -4
- package/lib/duet/p-4bb9c12b.system.entry.js +0 -4
- package/lib/duet/p-4c6198ef.system.entry.js +0 -4
- package/lib/duet/p-4ca291e2.entry.js +0 -4
- package/lib/duet/p-4e9fc9dc.system.js +0 -4
- package/lib/duet/p-586ba4e6.system.entry.js +0 -4
- package/lib/duet/p-594f7ff9.entry.js +0 -4
- package/lib/duet/p-5de30279.js +0 -4
- package/lib/duet/p-6916bba8.entry.js +0 -4
- package/lib/duet/p-78376f40.system.entry.js +0 -4
- package/lib/duet/p-8d5ebdab.system.entry.js +0 -4
- package/lib/duet/p-9508ee67.system.js +0 -4
- package/lib/duet/p-9d336f77.system.js +0 -4
- package/lib/duet/p-b159c0a9.entry.js +0 -4
- package/lib/duet/p-b9189fc1.js +0 -4
- package/lib/duet/p-c1884875.entry.js +0 -4
- package/lib/duet/p-c1c77f83.entry.js +0 -4
- package/lib/duet/p-d64b13f1.system.entry.js +0 -4
- package/lib/duet/p-d80ae90e.system.js +0 -4
- package/lib/duet/p-dff0867d.system.js +0 -4
- package/lib/duet/p-f0566568.entry.js +0 -4
- package/lib/duet/p-f528fb99.entry.js +0 -4
- package/lib/duet/p-f713c32c.entry.js +0 -4
- package/lib/duet/p-feb01054.entry.js +0 -4
- package/lib/esm-es5/focus-utils-b131ac81.js +0 -4
- package/lib/esm-es5/index-822baec2.js +0 -4
- package/lib/esm-es5/themeable-component-4e1ca2f5.js +0 -4
- package/lib/esm-es5/token-utils-7360bb84.js +0 -4
|
@@ -129,6 +129,32 @@
|
|
|
129
129
|
width: 0;
|
|
130
130
|
height: 0;
|
|
131
131
|
}
|
|
132
|
+
.duet-menu-bar .container duet-logo.large,
|
|
133
|
+
.duet-menu-bar .container duet-logo.only-symbol {
|
|
134
|
+
display: none;
|
|
135
|
+
}
|
|
136
|
+
.duet-menu-bar .container.with-info-text duet-logo.medium {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
.duet-menu-bar .container.with-info-text duet-logo.only-symbol {
|
|
140
|
+
display: block;
|
|
141
|
+
}
|
|
142
|
+
@media (min-width: 48em) {
|
|
143
|
+
.duet-menu-bar .container.with-info-text duet-logo.medium {
|
|
144
|
+
display: block;
|
|
145
|
+
}
|
|
146
|
+
.duet-menu-bar .container.with-info-text duet-logo.only-symbol {
|
|
147
|
+
display: none;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
@media (min-width: 76.25em) {
|
|
151
|
+
.duet-menu-bar .container duet-logo.medium {
|
|
152
|
+
display: none;
|
|
153
|
+
}
|
|
154
|
+
.duet-menu-bar .container duet-logo.large {
|
|
155
|
+
display: block;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
132
158
|
@media (min-width: 62em) {
|
|
133
159
|
.duet-menu-bar .container {
|
|
134
160
|
height: 5rem;
|
|
@@ -153,6 +179,19 @@
|
|
|
153
179
|
flex-basis: 0;
|
|
154
180
|
flex-grow: 1;
|
|
155
181
|
justify-content: flex-start;
|
|
182
|
+
width: auto;
|
|
183
|
+
height: 40px;
|
|
184
|
+
}
|
|
185
|
+
@media (min-width: 76.25em) {
|
|
186
|
+
.duet-menu-bar .container > :first-child {
|
|
187
|
+
height: 48px;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
.duet-menu-bar .container > :first-child:has(.duet-logo-info-text) {
|
|
191
|
+
flex-grow: 8;
|
|
192
|
+
}
|
|
193
|
+
.duet-menu-bar .container > :first-child:has(.duet-logo-info-text) duet-paragraph {
|
|
194
|
+
max-height: 100%;
|
|
156
195
|
}
|
|
157
196
|
.duet-menu-bar .container > :last-child {
|
|
158
197
|
flex-basis: 0;
|
|
@@ -165,6 +204,34 @@
|
|
|
165
204
|
justify-content: center;
|
|
166
205
|
height: 100%;
|
|
167
206
|
}
|
|
207
|
+
.duet-menu-bar .container .duet-logo-info-text {
|
|
208
|
+
max-height: 2.8875rem;
|
|
209
|
+
padding-left: 16px;
|
|
210
|
+
margin-left: 16px;
|
|
211
|
+
overflow: hidden;
|
|
212
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
213
|
+
font-size: 0.875rem;
|
|
214
|
+
font-style: normal;
|
|
215
|
+
font-weight: 400;
|
|
216
|
+
font-variant-numeric: tabular-nums;
|
|
217
|
+
-webkit-hyphens: auto;
|
|
218
|
+
hyphens: auto;
|
|
219
|
+
line-height: 1.1;
|
|
220
|
+
color: rgb(62, 84, 102);
|
|
221
|
+
text-overflow: ellipsis;
|
|
222
|
+
border-left: 1px solid rgb(212, 223, 229);
|
|
223
|
+
}
|
|
224
|
+
.duet-menu-bar .container .duet-logo-info-text.duet-theme-turva {
|
|
225
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
226
|
+
color: rgb(71, 78, 101);
|
|
227
|
+
border-left-color: rgb(222, 224, 228);
|
|
228
|
+
}
|
|
229
|
+
@media (min-width: 48em) {
|
|
230
|
+
.duet-menu-bar .container .duet-logo-info-text {
|
|
231
|
+
max-height: 3.3rem;
|
|
232
|
+
font-size: 1rem;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
168
235
|
.duet-menu-bar.duet-theme-turva {
|
|
169
236
|
background: rgb(255, 255, 255);
|
|
170
237
|
box-shadow: 0 2px 6px 0 rgba(23, 28, 58, 0.07);
|
|
@@ -174,6 +241,26 @@
|
|
|
174
241
|
box-shadow: 0 3px 6px 0 rgba(23, 28, 58, 0.1);
|
|
175
242
|
}
|
|
176
243
|
}
|
|
244
|
+
.duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium {
|
|
245
|
+
display: block;
|
|
246
|
+
}
|
|
247
|
+
.duet-menu-bar.duet-menu-bar-slim .container duet-logo.large {
|
|
248
|
+
display: none;
|
|
249
|
+
}
|
|
250
|
+
.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium {
|
|
251
|
+
display: none;
|
|
252
|
+
}
|
|
253
|
+
.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol {
|
|
254
|
+
display: block;
|
|
255
|
+
}
|
|
256
|
+
@media (min-width: 48em) {
|
|
257
|
+
.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium {
|
|
258
|
+
display: block;
|
|
259
|
+
}
|
|
260
|
+
.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol {
|
|
261
|
+
display: none;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
177
264
|
@media (min-width: 62em) {
|
|
178
265
|
.duet-menu-bar.duet-menu-bar-slim .container {
|
|
179
266
|
height: 4rem;
|
|
@@ -207,4 +294,8 @@
|
|
|
207
294
|
}
|
|
208
295
|
:host(.duet-theme-turva2) .duet-theme-turva .right {
|
|
209
296
|
color: #172a3b;
|
|
297
|
+
}
|
|
298
|
+
:host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text {
|
|
299
|
+
color: #354f65;
|
|
300
|
+
border-left-color: #d4dde2;
|
|
210
301
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { media_query_large, media_query_xx_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
4
|
import { Build, h, Host } from "@stencil/core";
|
|
6
5
|
import { inheritGlobalTheme } from "../../common";
|
|
7
6
|
import { getLanguage } from "../../utils/language-utils";
|
|
@@ -11,14 +10,6 @@ import { getLanguage } from "../../utils/language-utils";
|
|
|
11
10
|
*/
|
|
12
11
|
export class DuetMenuBar {
|
|
13
12
|
constructor() {
|
|
14
|
-
/**
|
|
15
|
-
* Own Properties.
|
|
16
|
-
*/
|
|
17
|
-
this.mql = [
|
|
18
|
-
window.matchMedia(media_query_large.replace(/'/g, "")),
|
|
19
|
-
window.matchMedia(media_query_xx_large.replace(/'/g, "")),
|
|
20
|
-
];
|
|
21
|
-
this.boundMqlFunctions = [];
|
|
22
13
|
this.previousYScroll = 0;
|
|
23
14
|
this.scrollbarCheck = () => {
|
|
24
15
|
this.leftMoreVisible = this.container.scrollLeft > 0;
|
|
@@ -46,15 +37,6 @@ export class DuetMenuBar {
|
|
|
46
37
|
const centerSlot = this.element.querySelector('[slot="center"]');
|
|
47
38
|
this.centerSlotUsed = !!centerSlot;
|
|
48
39
|
};
|
|
49
|
-
this.changeLogoSize = () => {
|
|
50
|
-
this.checkCenterSlot();
|
|
51
|
-
if (this.mql[1].matches && this.centerSlotUsed) {
|
|
52
|
-
this.logoSize = "large";
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
this.logoSize = "medium";
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
40
|
this.handleLogoClick = (e) => {
|
|
59
41
|
this.duetEvent.emit({
|
|
60
42
|
name: "logoClick",
|
|
@@ -71,11 +53,13 @@ export class DuetMenuBar {
|
|
|
71
53
|
this.leftMoreVisible = false;
|
|
72
54
|
this.rightMoreVisible = false;
|
|
73
55
|
this.centerSlotUsed = false;
|
|
56
|
+
this.mediaQueryMediumMatches = false;
|
|
74
57
|
this.theme = "";
|
|
75
58
|
this.language = getLanguage();
|
|
76
59
|
this.logo = true;
|
|
77
60
|
this.logoHref = undefined;
|
|
78
61
|
this.logoLinkAccessibleLabel = undefined;
|
|
62
|
+
this.logoInfoText = undefined;
|
|
79
63
|
this.accessibleLabel = undefined;
|
|
80
64
|
this.hideOnScroll = false;
|
|
81
65
|
}
|
|
@@ -111,26 +95,8 @@ export class DuetMenuBar {
|
|
|
111
95
|
inheritGlobalTheme(this);
|
|
112
96
|
}
|
|
113
97
|
connectedCallback() {
|
|
114
|
-
this.changeLogoSize();
|
|
115
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
116
|
-
// addEventListener is not available in Stencil hydrate
|
|
117
|
-
if (this.mql[i].addEventListener) {
|
|
118
|
-
const bound = this.changeLogoSize.bind(this);
|
|
119
|
-
this.mql[i].addEventListener("change", bound);
|
|
120
|
-
this.boundMqlFunctions[i] = bound;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
98
|
this.checkCenterSlot();
|
|
124
99
|
}
|
|
125
|
-
disconnectedCallback() {
|
|
126
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
127
|
-
// removeEventListener is not available in Stencil hydrate
|
|
128
|
-
if (this.mql[i].removeEventListener) {
|
|
129
|
-
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
this.boundMqlFunctions = [];
|
|
133
|
-
}
|
|
134
100
|
componentDidLoad() {
|
|
135
101
|
if (Build.isServer || Build.isTesting) {
|
|
136
102
|
return;
|
|
@@ -154,14 +120,17 @@ export class DuetMenuBar {
|
|
|
154
120
|
render() {
|
|
155
121
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
156
122
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
157
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: '5f05a259d0950cb2cdbc37222b1007ba49d5fe53' }, h("nav", { key: '24398b2d0d6d01c22eef86430e0f7db7c6b97171', class: {
|
|
158
124
|
"duet-menu-bar": true,
|
|
159
125
|
"duet-theme-turva": this.theme === "turva",
|
|
160
126
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
161
127
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
162
128
|
hidden: this.hidden && this.hideOnScroll,
|
|
163
129
|
bottom: this.onBottom,
|
|
164
|
-
}, "aria-label": this.accessibleLabel }, h("div", { key: '
|
|
130
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: 'abf2962527bf92ead5a89f8648ff3b88a73fbc55', class: "top" }), h("div", { key: '068d450752f636f98e7cdeb5043e6bf9297b4c3d', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '7e5b816d6ae4e36268ee911cadf56358a864e264' }, h("duet-logo", { key: 'c1a02ba4230ab960c1e01d20636a23d015823580', class: "medium", size: "medium", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'fa3ba5116af9eecd8d886f546c4bdef922bbdd4d', class: "large", size: "large", margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), h("duet-logo", { key: 'a3593373202664a79f8095931fa53d72e1f6c188', class: "only-symbol", onlySymbol: true, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }), this.logoInfoText && !this.centerSlotUsed && (h("div", { key: 'ebf9c252a82db480eff2fca195f87dfcd2a186f4', class: {
|
|
131
|
+
"duet-logo-info-text": true,
|
|
132
|
+
"duet-theme-turva": this.theme === "turva",
|
|
133
|
+
} }, this.logoInfoText)))), h("div", { key: '980619619bf98cc80c36dc5c8d27042f97ff492d', class: "list center", role: "list" }, h("div", { key: 'b6f5e67dd04a56da886a3795b21b2f3f4d7e0393', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'f5bc728c183398eba439475b6a29771476944b5b', name: "center" }), h("div", { key: 'bf7274db341938f7f0a8fa7784985a6239a5fcc6', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '6e3343fcef3b45b1a6e741c673d072b994cf4110', class: "list right", role: "list" }, h("slot", { key: '3a76e5089f8cc4a1e04786a61c2f8e9cb1160426', name: "right" }))), h("div", { key: '6041af35982542751bb94df6ebc8725dd17a6349', class: "bottom" }))));
|
|
165
134
|
}
|
|
166
135
|
static get is() { return "duet-menu-bar"; }
|
|
167
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -293,6 +262,25 @@ export class DuetMenuBar {
|
|
|
293
262
|
"attribute": "logo-link-accessible-label",
|
|
294
263
|
"reflect": false
|
|
295
264
|
},
|
|
265
|
+
"logoInfoText": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"mutable": false,
|
|
268
|
+
"complexType": {
|
|
269
|
+
"original": "string",
|
|
270
|
+
"resolved": "string",
|
|
271
|
+
"references": {}
|
|
272
|
+
},
|
|
273
|
+
"required": false,
|
|
274
|
+
"optional": false,
|
|
275
|
+
"docs": {
|
|
276
|
+
"tags": [],
|
|
277
|
+
"text": "Additional information text to show next to the logo. Show only when the center slot is empty."
|
|
278
|
+
},
|
|
279
|
+
"getter": false,
|
|
280
|
+
"setter": false,
|
|
281
|
+
"attribute": "logo-info-text",
|
|
282
|
+
"reflect": false
|
|
283
|
+
},
|
|
296
284
|
"accessibleLabel": {
|
|
297
285
|
"type": "string",
|
|
298
286
|
"mutable": false,
|
|
@@ -341,7 +329,8 @@ export class DuetMenuBar {
|
|
|
341
329
|
"logoSize": {},
|
|
342
330
|
"leftMoreVisible": {},
|
|
343
331
|
"rightMoreVisible": {},
|
|
344
|
-
"centerSlotUsed": {}
|
|
332
|
+
"centerSlotUsed": {},
|
|
333
|
+
"mediaQueryMediumMatches": {}
|
|
345
334
|
};
|
|
346
335
|
}
|
|
347
336
|
static get events() {
|
|
@@ -38,10 +38,10 @@ export class DuetMenuBarButton {
|
|
|
38
38
|
* Always the last one in the class.
|
|
39
39
|
*/
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'b43562922266653eeb9879dd3eda29b8a5a1b04c', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '29c67b30de26740dec3dac49d2c14a2ed6059270', ref: button => (this.nativeButton = button), class: {
|
|
42
42
|
"duet-menu-bar-button": true,
|
|
43
43
|
"duet-theme-turva": this.theme === "turva",
|
|
44
|
-
}, "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 && (h("duet-icon", { key: '
|
|
44
|
+
}, "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 && (h("duet-icon", { key: '9e4a9f1891791aa2bce3c66e7a6b0fce95e247f4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11d9a8886ba0e00caea9ac34e68454ada2e2582d' }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "duet-menu-bar-button"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,17 +54,17 @@ export class DuetMenuBarDropdown {
|
|
|
54
54
|
* Always the last one in the class.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '686fce2ec763461a60c924fc09846f5a54138106', role: "listitem" }, h("div", { key: 'eefdc59f23daad325ab0dce1113fb862ad4ee5cf', class: {
|
|
58
58
|
"duet-menu-bar-dropdown": true,
|
|
59
59
|
"duet-theme-turva": this.theme === "turva",
|
|
60
60
|
active: this.open,
|
|
61
61
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
62
|
-
} }, h("button", { key: '
|
|
62
|
+
} }, h("button", { key: 'baee9aee708d71ee63326c30a8f871a73eb2297e', 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: {
|
|
63
63
|
active: this.open,
|
|
64
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: '
|
|
64
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'cace1bca4eb588cdbd321b82059fefc9adbc8c47', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '58257618f35379178d9c22a95ed14501fba88154', class: "label" }, h("slot", { key: '57eb7d37a9d7c02e1d29b97e9140f2bab43a767a', name: "label" }), h("duet-icon", { key: 'f11313315fb6e2aad23163bcb58c5c06f0a1e2af', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '9d6bc3e367dca79313d11178ee788a3407d03ec7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
65
65
|
items: true,
|
|
66
66
|
hidden: !this.open,
|
|
67
|
-
} }, h("slot", { key: '
|
|
67
|
+
} }, h("slot", { key: '9ff49f8c44510abf631a06bcb4b690058a3840ed' })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "duet-menu-bar-dropdown"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -40,11 +40,11 @@ export class DuetMenuBarDropdownLink {
|
|
|
40
40
|
* Always the last one in the class.
|
|
41
41
|
*/
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'f77b08c5717947e146d8d67fdc55fefc66fce761' }, h("a", { key: 'b9a4069fc0b35e532944250e4d715984973ba085', class: {
|
|
44
44
|
"duet-menu-bar-dropdown-link": true,
|
|
45
45
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
46
46
|
"duet-theme-turva": this.theme === "turva",
|
|
47
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
47
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'fa9e331e3d9d8cc74c4fd5f7471e607e058fcf53', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: '64c5c1d666ded1b933657386f8eec8fb4068fe84' }))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "duet-menu-bar-dropdown-link"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,11 +48,11 @@ export class DuetMenuBarItem {
|
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
50
|
const TagName = this.url ? "a" : "button";
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '135b92b36c52ad014567c93c0bfacff2001f16ef', role: "listitem" }, h(TagName, { key: 'd8772442ee0a49f7c300c398ef4021acf0fb74f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
52
52
|
"duet-menu-bar-item": true,
|
|
53
53
|
"duet-theme-turva": this.theme === "turva",
|
|
54
54
|
active: this.active,
|
|
55
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '
|
|
55
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (h("duet-icon", { key: '31ac80c4f12447cadcd0def7a2941a98d063a1cc', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '1f9e4b935f68d57288190e3572dabe90c2c49efb' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: '24c559a7d56a2adce2fc4aa7d00c2eb5682c2c8e', class: {
|
|
56
56
|
"trailing-icon": !!this.trailingIcon,
|
|
57
57
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
58
58
|
"external-icon": !!this.external,
|
|
@@ -22,11 +22,11 @@ export class DuetMenuBarLink {
|
|
|
22
22
|
* Always the last one in the class.
|
|
23
23
|
*/
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '27e73349cd24930dd1d7ddee302de2260471c5a8', role: "listitem" }, h("a", { key: '524e83c821e67703be8ec2cdb09e937d04202ff2', class: {
|
|
26
26
|
"duet-menu-bar-link": true,
|
|
27
27
|
"duet-theme-turva": this.theme === "turva",
|
|
28
28
|
active: this.active,
|
|
29
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '
|
|
29
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: 'e85b83e58a78898ca57f6db72178915e4cad29f5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '11758cbe02d818cb5f5f7af2a8832d1712c99fa5' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,6 +10,7 @@ import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
11
11
|
import { hasSlot } from "../../utils/slot-utils";
|
|
12
12
|
import { Teleport } from "../../utils/teleport";
|
|
13
|
+
import { postfixTheme } from "../../utils/token-utils";
|
|
13
14
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
14
15
|
// iOS has otherwise problems moving the focus from modal back to the original element.
|
|
15
16
|
// This issue is similar to what we’ve seen in Duet Date Picker + iOS VoiceOver.
|
|
@@ -64,6 +65,8 @@ export class DuetModal {
|
|
|
64
65
|
this.color = "";
|
|
65
66
|
this.active = false;
|
|
66
67
|
this.closeOnBlur = false;
|
|
68
|
+
this.focusElementOnClose = undefined;
|
|
69
|
+
this.accessibleAnnounceChanges = undefined;
|
|
67
70
|
}
|
|
68
71
|
openChanged() {
|
|
69
72
|
if (this.open) {
|
|
@@ -110,9 +113,18 @@ export class DuetModal {
|
|
|
110
113
|
enableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
111
114
|
this.duetClose.emit();
|
|
112
115
|
this.teleport.removeInertFromSiblings();
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
if (this.focusElementOnClose !== "") {
|
|
117
|
+
setTimeout(() => {
|
|
118
|
+
let focusEl = this.focusedElBeforeOpen;
|
|
119
|
+
if (typeof this.focusElementOnClose === "string") {
|
|
120
|
+
focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
focusEl = this.focusElementOnClose || focusEl;
|
|
124
|
+
}
|
|
125
|
+
focusElement(focusEl);
|
|
126
|
+
}, TRANSITION_MS);
|
|
127
|
+
}
|
|
116
128
|
if (this.isAndroidDevice) {
|
|
117
129
|
window.removeEventListener("resize", this.handleAndroidResizeEvents);
|
|
118
130
|
}
|
|
@@ -186,6 +198,12 @@ export class DuetModal {
|
|
|
186
198
|
async hide() {
|
|
187
199
|
this.open = false;
|
|
188
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Set focus on the close button of the modal.
|
|
203
|
+
*/
|
|
204
|
+
async focusCloseButton() {
|
|
205
|
+
this.buttonEl.setFocus();
|
|
206
|
+
}
|
|
189
207
|
/**
|
|
190
208
|
* Scolls the top of the modal's content into view
|
|
191
209
|
*
|
|
@@ -247,20 +265,16 @@ export class DuetModal {
|
|
|
247
265
|
*/
|
|
248
266
|
render() {
|
|
249
267
|
var _a, _b;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
const closingButton = (h("div", { key: '
|
|
253
|
-
|
|
254
|
-
iconColor = "primary-turva";
|
|
255
|
-
closeColor = "secondary-turva";
|
|
256
|
-
}
|
|
257
|
-
return (h("div", { key: '0751e3ddbaa09c8c1abc7986e3fabd97dba82be6', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
268
|
+
const iconColor = postfixTheme("primary", this.theme);
|
|
269
|
+
const closeColor = postfixTheme("secondary", this.theme);
|
|
270
|
+
const closingButton = (h("div", { key: '9de636719074c96f49913c1a19b33329ae39a3a0', class: "duet-modal-close" }, h("duet-button", { key: '1852a8322aaeb49c937cfd4b4d80d61073f12f96', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
271
|
+
return (h("div", { key: '4c602c318db94b02ca730640b8c0c6fc7eb96453', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
258
272
|
"duet-modal-container": true,
|
|
259
273
|
"duet-theme-turva": this.theme === "turva",
|
|
260
274
|
"duet-modal-active": this.open,
|
|
261
275
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
262
276
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
263
|
-
} }, h("duet-overlay", { key: '
|
|
277
|
+
} }, h("duet-overlay", { key: 'c70e730388bdfa452ab51fb810304ba004022885', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: 'ceae3fcf909fdfa380eaddc2f8c9ac2637fc8810', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
264
278
|
"duet-modal-inner": true,
|
|
265
279
|
[this.size]: true,
|
|
266
280
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -271,18 +285,22 @@ export class DuetModal {
|
|
|
271
285
|
this.closeModal(e);
|
|
272
286
|
}
|
|
273
287
|
}
|
|
274
|
-
} }, h("div", { key: '
|
|
288
|
+
} }, h("div", { key: 'c0559f2b2d236a3e0fd339cd65900d400547fb70', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
275
289
|
"duet-modal": true,
|
|
276
290
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
277
291
|
[this.size]: true,
|
|
278
292
|
[this.variation]: true,
|
|
279
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '
|
|
293
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '81664165163cd30e192906cb50bb71a4906256ba' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '92c81c3e5545b4a08b93b3174a888cc42837f2ac', class: {
|
|
280
294
|
"duet-modal-body": true,
|
|
281
295
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
282
296
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
283
297
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
284
298
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
285
|
-
} }, h("div", { key: '
|
|
299
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, h("div", { key: '72936aa2c2d2551e34b2c2d7344f666d49c3d0f4', class: "duet-modal-header" }, h("span", { key: '30ac91712c2d7065901679fcf1cd5cb0191cbb11', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'c7e4bd42dfac73ebdfcf98f9d16438c14945d30b', name: "top" })), this.icon && h("duet-icon", { key: '3664c556ad580c917e80e796df4236f89134ab9d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'd77b16d2577ce36f4e135790a7f49d8a2b17096c', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: 'ed0fa900e15be0fef3166e61f2f7c860dab067f0', class: "duet-modal-spinner" }, h("duet-spinner", { key: '1d15d8e837273755c1c6242098e198f51c1cda90', size: "large", color: postfixTheme("primary", this.theme) }))), h("div", { key: '4d06b9164f277a7cc586a6b754429764cccb1f2e', "aria-live": this.variation === "loader"
|
|
300
|
+
? "assertive"
|
|
301
|
+
: this.accessibleAnnounceChanges === "body"
|
|
302
|
+
? "polite"
|
|
303
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, h("slot", { key: '520b8542f921248916d3470204ce4ee2533da5ee' })))))));
|
|
286
304
|
}
|
|
287
305
|
static get is() { return "duet-modal"; }
|
|
288
306
|
static get encapsulation() { return "shadow"; }
|
|
@@ -739,6 +757,54 @@ export class DuetModal {
|
|
|
739
757
|
"attribute": "close-on-blur",
|
|
740
758
|
"reflect": false,
|
|
741
759
|
"defaultValue": "false"
|
|
760
|
+
},
|
|
761
|
+
"focusElementOnClose": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"mutable": false,
|
|
764
|
+
"complexType": {
|
|
765
|
+
"original": "FocusableComponent | HTMLElement | string",
|
|
766
|
+
"resolved": "FocusableComponent | HTMLElement | string",
|
|
767
|
+
"references": {
|
|
768
|
+
"FocusableComponent": {
|
|
769
|
+
"location": "import",
|
|
770
|
+
"path": "../../common",
|
|
771
|
+
"id": "src/common/index.ts::FocusableComponent"
|
|
772
|
+
},
|
|
773
|
+
"HTMLElement": {
|
|
774
|
+
"location": "global",
|
|
775
|
+
"id": "global::HTMLElement"
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"required": false,
|
|
780
|
+
"optional": false,
|
|
781
|
+
"docs": {
|
|
782
|
+
"tags": [],
|
|
783
|
+
"text": "Where to move focus when the modal is closed, either set the element dirctly with JS or give the id of the\nelement as a string. Use empty string to disable focus moving on close - do this if after closing there is\nanother element that automatically gets the focus or you handle focusing manually."
|
|
784
|
+
},
|
|
785
|
+
"getter": false,
|
|
786
|
+
"setter": false,
|
|
787
|
+
"attribute": "focus-element-on-close",
|
|
788
|
+
"reflect": false
|
|
789
|
+
},
|
|
790
|
+
"accessibleAnnounceChanges": {
|
|
791
|
+
"type": "string",
|
|
792
|
+
"mutable": false,
|
|
793
|
+
"complexType": {
|
|
794
|
+
"original": "\"all\" | \"heading\" | \"body\"",
|
|
795
|
+
"resolved": "\"all\" | \"body\" | \"heading\"",
|
|
796
|
+
"references": {}
|
|
797
|
+
},
|
|
798
|
+
"required": false,
|
|
799
|
+
"optional": false,
|
|
800
|
+
"docs": {
|
|
801
|
+
"tags": [],
|
|
802
|
+
"text": "Makes either the entire modal (\"all\"), headign and body content (\"heading\"), or just its body content (\"body\")\nan aria-live region, so that changes are announced by the screen readers. Do not use with loader variation,\nas it handles aria-live separately."
|
|
803
|
+
},
|
|
804
|
+
"getter": false,
|
|
805
|
+
"setter": false,
|
|
806
|
+
"attribute": "accessible-announce-changes",
|
|
807
|
+
"reflect": false
|
|
742
808
|
}
|
|
743
809
|
};
|
|
744
810
|
}
|
|
@@ -852,6 +918,23 @@ export class DuetModal {
|
|
|
852
918
|
"tags": []
|
|
853
919
|
}
|
|
854
920
|
},
|
|
921
|
+
"focusCloseButton": {
|
|
922
|
+
"complexType": {
|
|
923
|
+
"signature": "() => Promise<void>",
|
|
924
|
+
"parameters": [],
|
|
925
|
+
"references": {
|
|
926
|
+
"Promise": {
|
|
927
|
+
"location": "global",
|
|
928
|
+
"id": "global::Promise"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"return": "Promise<void>"
|
|
932
|
+
},
|
|
933
|
+
"docs": {
|
|
934
|
+
"text": "Set focus on the close button of the modal.",
|
|
935
|
+
"tags": []
|
|
936
|
+
}
|
|
937
|
+
},
|
|
855
938
|
"scrollToTop": {
|
|
856
939
|
"complexType": {
|
|
857
940
|
"signature": "(smooth?: boolean) => Promise<void>",
|
|
@@ -223,23 +223,23 @@ export class DuetMultiselect {
|
|
|
223
223
|
*/
|
|
224
224
|
render() {
|
|
225
225
|
var _a;
|
|
226
|
-
return (h(Host, { key: '
|
|
226
|
+
return (h(Host, { key: '5b6e1d90d6ac55b6572f755b273359a4942de03c', class: {
|
|
227
227
|
"duet-m-0": this.margin === "none",
|
|
228
228
|
"duet-expand": this.expand,
|
|
229
|
-
} }, h("div", { key: '
|
|
229
|
+
} }, h("div", { key: '42c64faf69c0e05c608d915ef295c7f04507de3e', class: {
|
|
230
230
|
"duet-multiselect-container": true,
|
|
231
231
|
"duet-label-hidden": this.labelHidden,
|
|
232
232
|
"duet-theme-turva": this.theme === "turva",
|
|
233
233
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
234
234
|
"has-error": !!this.error,
|
|
235
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: '
|
|
235
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: '62a7becf4dc2411071c59ba7aa11ac8ffe59d10f', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '1af019df96ed925e720df2185ce8550e17bc3d13', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '12aca2ebbc428087ff72677118ed94b3937626a1', name: "tooltip" }), this.caption && (h("duet-caption", { key: '019a13573c4f09327bb85d19d78fd62df2a19ec5', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '6be290abbd25957f4849d67b2027cc8be3bd3d5f', class: "duet-multiselect-wrapper" }, h("button", { key: '97d828de6991623f141f37b096cfacd3f2d71893', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '84fae0748a4ad41ad9acdd9f84914f8cb6d86a73', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '1099b73e404bff6a29affe5a9ac8d274b3043635', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: 'd3ffa065cbdb21c570d090ab5e00bb66d7f61e5b' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: '36d83fe06bdeb6fb2ec527ee00d0b4dbf516d2b4', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'fe716d3a1dd834f3e0ffa400adf5c6c739c597b4', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'e8a2854bf90c63117909679f114a33b05e90d875', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
236
236
|
"duet-multiselect-checkboxes": true,
|
|
237
237
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
238
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '
|
|
238
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '6caec2f7891c084ce21925e0e88c89b3fb8003ad', class: "duet-multiselect-all-control-buttons" }, h("button", { key: 'e6d0bb2f3dda58a1f067f25d29f51a39a1fbacf2', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '44ed480da7790492fb59104916824512823db17b', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
239
239
|
this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
|
|
240
240
|
var _a, _b;
|
|
241
241
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
242
|
-
})))))), h("span", { key: '
|
|
242
|
+
})))))), h("span", { key: '24258b589cff6e202daaea401563647f8521ba3d', class: "duet-multiselect-help duet-multiselect-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: 'edbe9b532e550088d66073eeca1a521ffe478ad7' }, this.error)))));
|
|
243
243
|
}
|
|
244
244
|
static get is() { return "duet-multiselect"; }
|
|
245
245
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,7 +24,7 @@ export class DuetNav {
|
|
|
24
24
|
* Always the last one in the class.
|
|
25
25
|
*/
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '1bd9e1c748e898763d70850e3e7995557aa70828' }, h("div", { key: '256c0acc4e956aea59eb153bc7b3bad1126501f3', class: { container: true, sticky: this.sticky } }, h("slot", { key: '64f9a6096d183ce0cbd496db4dcee65d565e15b9' }), h("slot", { key: 'b0f455061d1e7d8affab734c72b8479239184b0b', name: "mobile" }), h("slot", { key: 'dce4933ac2f67107843c4121100f7adae7a3b72f', name: "desktop" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "duet-nav"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,11 +43,11 @@ export class DuetNotification {
|
|
|
43
43
|
this.linkElement.focus(options);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
46
|
+
return (h("div", { key: '49b14512d29db67c3f5bcb27f101a51fc9036fd0', role: "listitem", class: {
|
|
47
47
|
"duet-notification": true,
|
|
48
48
|
"duet-notification-highlight": this.highlight,
|
|
49
49
|
"duet-theme-turva": this.theme === "turva",
|
|
50
|
-
} }, h("a", { key: '
|
|
50
|
+
} }, h("a", { key: '6f042207812b140e4527347593e928cc3493af31', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: '2d479ec70393a50322b0ed54f2807c222dc13a1a', class: "duet-notification-container" }, h("div", { key: 'ee94c09c0cd7087c3a9012938ff8ca45d2c3a2ad', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '12c75cc56f374dbb3219009ed71e3133c2f1f490', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: '63608edd5d1768c8a2963273ecaa2cf51ddf3e20' }, this.accessibleLabelUnread, ":")))), h("div", { key: '6ec5105d17c74d1cf8b29e08c5488cc14cd41377', class: "duet-notification-content" }, h("slot", { key: '9aa83e4b79fa59c4336ec10f0b3c2ba69e26b5ec' })), h("div", { key: 'cf580f03e32ff454941cf973497fe4a97066fa5d', class: "duet-notification-date" }, this.date)))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "duet-notification"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|