@duetds/components 9.12.2 → 9.13.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 +202 -205
- package/lib/cjs/{a11y-utils-e59debeb.js → a11y-utils-7f0f44ac.js} +1 -1
- package/lib/cjs/{app-globals-f559c48a.js → app-globals-7f261ff1.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +4 -4
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-callout.cjs.entry.js +5 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +9 -9
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -8
- 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 +47 -10
- package/lib/cjs/duet-hero.cjs.entry.js +4 -4
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- 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 +11 -11
- 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 +4 -4
- 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 +16 -16
- 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 +5 -5
- 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 +13 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +4 -4
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- 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 +11 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +9 -9
- 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-cde5cb76.js} +1 -1
- package/lib/cjs/{focus-utils-aab4fc49.js → focus-utils-3b3e2586.js} +1 -1
- package/lib/cjs/{index-9f14a370.js → index-4babbdda.js} +1 -1
- package/lib/cjs/{language-utils-db49b98b.js → language-utils-83791d57.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-018275a5.js → slot-utils-c565d8b9.js} +1 -1
- package/lib/cjs/{themeable-component-59982a4b.js → themeable-component-a007f8ee.js} +14 -2
- package/lib/cjs/{tokens-e6fda5ee.js → tokens-22702e71.js} +0 -1
- 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-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 +6 -0
- 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-icon/duet-icon.css +5 -0
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- 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 +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.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-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-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/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +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 +11 -11
- 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 +15 -15
- 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 +12 -12
- 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 +25 -25
- 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 +6 -6
- 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 +5 -5
- 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 +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +8 -8
- 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 +2 -2
- 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-64abcbeb.js → p-06beac61.js} +2 -2
- package/lib/dist-custom-elements/{p-e40817b6.js → p-0c829768.js} +2 -2
- package/lib/dist-custom-elements/{p-f42fd1a5.js → p-1027ea53.js} +7 -7
- package/lib/dist-custom-elements/{p-5fb435c0.js → p-1271d1b9.js} +4 -4
- package/lib/dist-custom-elements/{p-ccf00480.js → p-12884dcf.js} +4 -4
- package/lib/dist-custom-elements/{p-d6d3f142.js → p-13082a20.js} +3 -3
- package/lib/dist-custom-elements/{p-1f214262.js → p-135f668d.js} +2 -2
- package/lib/dist-custom-elements/{p-b879c406.js → p-16151d9e.js} +2 -2
- package/lib/dist-custom-elements/{p-b7e3ed2c.js → p-2582f9a3.js} +4 -4
- package/lib/dist-custom-elements/{p-6f7ac4a5.js → p-276a59a3.js} +4 -4
- package/lib/dist-custom-elements/{p-3d69644c.js → p-2dcb2900.js} +9 -9
- package/lib/dist-custom-elements/{p-93896e54.js → p-2e148296.js} +8 -8
- package/lib/dist-custom-elements/{p-6f57e174.js → p-3757c660.js} +13 -1
- package/lib/dist-custom-elements/{p-71245313.js → p-3c558254.js} +13 -13
- package/lib/dist-custom-elements/{p-e7c96fb9.js → p-46749593.js} +3 -3
- package/lib/dist-custom-elements/{p-daa2778f.js → p-47d05b62.js} +1 -1
- package/lib/dist-custom-elements/{p-7b0e3959.js → p-4e53b45e.js} +2 -2
- package/lib/dist-custom-elements/{p-3600a7d8.js → p-55c477f3.js} +3 -3
- package/lib/dist-custom-elements/{p-c4cf8fc4.js → p-63a0bdcd.js} +2 -2
- package/lib/dist-custom-elements/{p-4f46d35d.js → p-653d2256.js} +11 -11
- package/lib/dist-custom-elements/{p-1a647490.js → p-67e54308.js} +6 -6
- package/lib/dist-custom-elements/{p-6f969e11.js → p-70b67cdd.js} +4 -4
- package/lib/dist-custom-elements/{p-b1100334.js → p-7fd99694.js} +8 -8
- package/lib/dist-custom-elements/{p-64f1c43c.js → p-80bbbb3a.js} +6 -6
- package/lib/dist-custom-elements/{p-dbe0ddfd.js → p-8c472242.js} +1 -1
- package/lib/dist-custom-elements/{p-14f9f7a0.js → p-911326a0.js} +2 -2
- package/lib/dist-custom-elements/{p-1d53e17e.js → p-a000e044.js} +3 -3
- package/lib/dist-custom-elements/{p-16f01714.js → p-aa4ebea4.js} +6 -6
- package/lib/dist-custom-elements/{p-1b344cf7.js → p-ad927290.js} +2 -2
- package/lib/dist-custom-elements/{p-0c936fe5.js → p-b660d362.js} +11 -11
- package/lib/dist-custom-elements/{p-b760d510.js → p-be9b9c9d.js} +6 -6
- package/lib/dist-custom-elements/{p-e024b525.js → p-c1e381e3.js} +4 -4
- package/lib/dist-custom-elements/{p-38225a71.js → p-c7002b0e.js} +46 -7
- package/lib/dist-custom-elements/{p-69ca7615.js → p-ca899a3c.js} +5 -5
- package/lib/dist-custom-elements/{p-9f5cbda4.js → p-cdf4b7f6.js} +4 -4
- package/lib/dist-custom-elements/{p-74971fe9.js → p-d60c7d74.js} +3 -3
- package/lib/dist-custom-elements/{p-b34c0bc0.js → p-de35873c.js} +2 -2
- package/lib/dist-custom-elements/{p-5c0ef833.js → p-e3280064.js} +13 -13
- package/lib/dist-custom-elements/{p-32a8ced7.js → p-e8dc8877.js} +5 -5
- package/lib/dist-custom-elements/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/dist-custom-elements/{p-0b77ee39.js → p-f7d93067.js} +6 -6
- package/lib/dist-custom-elements/{p-ff3742a3.js → p-f80dea81.js} +5 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-02922551.entry.js → p-01965153.entry.js} +1 -1
- package/lib/duet/{p-8cfba882.system.entry.js → p-024c34d9.system.entry.js} +1 -1
- package/lib/duet/{p-7ff43e10.system.entry.js → p-02aca5ee.system.entry.js} +1 -1
- package/lib/duet/{p-9e73ce43.system.entry.js → p-03e76030.system.entry.js} +1 -1
- package/lib/duet/{p-cc2adccb.system.entry.js → p-04e49b2e.system.entry.js} +1 -1
- package/lib/duet/{p-a6c30abd.entry.js → p-05fc82b0.entry.js} +1 -1
- package/lib/duet/{p-2a1dd592.entry.js → p-077813ae.entry.js} +1 -1
- package/lib/duet/{p-00e5d987.system.entry.js → p-080a85af.system.entry.js} +1 -1
- package/lib/duet/{p-f2277c25.system.entry.js → p-0990faec.system.entry.js} +1 -1
- package/lib/duet/{p-1f45b3af.system.entry.js → p-0a405da0.system.entry.js} +1 -1
- package/lib/duet/{p-5d2cba5e.system.entry.js → p-0a72cb14.system.entry.js} +1 -1
- package/lib/duet/{p-7b01ab6d.system.entry.js → p-0aaac3fd.system.entry.js} +1 -1
- package/lib/duet/{p-6f5c7766.system.entry.js → p-0dd78a56.system.entry.js} +1 -1
- package/lib/duet/p-0e1d879e.system.js +4 -0
- package/lib/duet/{p-fa43f6c2.system.entry.js → p-0e4fe522.system.entry.js} +1 -1
- package/lib/duet/{p-d17b23fc.entry.js → p-1390ae19.entry.js} +1 -1
- package/lib/duet/{p-651d3dec.entry.js → p-13dce266.entry.js} +1 -1
- package/lib/duet/{p-fdf1fec8.entry.js → p-1425b59f.entry.js} +1 -1
- package/lib/duet/{p-24dcf46b.entry.js → p-144182a4.entry.js} +1 -1
- package/lib/duet/{p-0fa3c05b.entry.js → p-14f51a29.entry.js} +1 -1
- package/lib/duet/{p-4f87023e.entry.js → p-1657ff9a.entry.js} +1 -1
- package/lib/duet/{p-9b88b8f4.entry.js → p-17029aad.entry.js} +1 -1
- package/lib/duet/{p-0db9de80.system.entry.js → p-17ed0be9.system.entry.js} +1 -1
- package/lib/duet/{p-987e96a5.entry.js → p-1830fafe.entry.js} +1 -1
- package/lib/duet/{p-628dc72c.system.entry.js → p-18e13eb6.system.entry.js} +1 -1
- package/lib/duet/{p-23eb5520.entry.js → p-1b355115.entry.js} +1 -1
- package/lib/duet/{p-e70e9c50.system.entry.js → p-1be0f96f.system.entry.js} +2 -2
- package/lib/duet/p-1ca12248.entry.js +4 -0
- package/lib/duet/{p-83ea5225.js → p-1fe5a7e9.js} +1 -1
- package/lib/duet/{p-78376f40.system.entry.js → p-20669a1b.system.entry.js} +1 -1
- package/lib/duet/{p-16432cd4.entry.js → p-20baa68b.entry.js} +1 -1
- package/lib/duet/{p-d8323868.entry.js → p-22ae0db4.entry.js} +1 -1
- package/lib/duet/{p-1bd4baef.system.entry.js → p-22f40c48.system.entry.js} +1 -1
- package/lib/duet/{p-21208eb0.entry.js → p-24cc3a49.entry.js} +1 -1
- package/lib/duet/{p-c1c77f83.entry.js → p-2519a1b2.entry.js} +1 -1
- package/lib/duet/{p-e9e4825a.system.entry.js → p-25bfda5f.system.entry.js} +1 -1
- package/lib/duet/{p-4bb9c12b.system.entry.js → p-2d6cd3b0.system.entry.js} +1 -1
- package/lib/duet/{p-5638079e.system.entry.js → p-2fe6628e.system.entry.js} +2 -2
- package/lib/duet/{p-35580d9e.entry.js → p-328f8f18.entry.js} +1 -1
- package/lib/duet/{p-3c7d3755.entry.js → p-333f7ae7.entry.js} +1 -1
- package/lib/duet/{p-c1a9ca3f.entry.js → p-3372296f.entry.js} +1 -1
- package/lib/duet/{p-ce063cbd.system.entry.js → p-33a9413f.system.entry.js} +1 -1
- package/lib/duet/{p-88317c08.entry.js → p-33ee2b28.entry.js} +1 -1
- package/lib/duet/{p-67d84e6e.system.entry.js → p-35d651a8.system.entry.js} +1 -1
- package/lib/duet/{p-940ed1a1.entry.js → p-38baa305.entry.js} +1 -1
- package/lib/duet/p-3aecf400.system.entry.js +4 -0
- package/lib/duet/{p-bf62ea4a.entry.js → p-3b760329.entry.js} +1 -1
- package/lib/duet/{p-911830a9.entry.js → p-3c29e0ba.entry.js} +1 -1
- package/lib/duet/{p-8d5ebdab.system.entry.js → p-3c2cf893.system.entry.js} +1 -1
- package/lib/duet/{p-7fe2a579.entry.js → p-3c438fec.entry.js} +1 -1
- package/lib/duet/{p-f0354143.system.entry.js → p-3cbeb209.system.entry.js} +1 -1
- package/lib/duet/{p-82412ccb.entry.js → p-3cd37502.entry.js} +1 -1
- package/lib/duet/p-3ea64651.entry.js +4 -0
- package/lib/duet/{p-587b5b14.system.entry.js → p-40edc180.system.entry.js} +1 -1
- package/lib/duet/{p-705d56cf.entry.js → p-41a3f8ed.entry.js} +1 -1
- package/lib/duet/{p-4ca291e2.entry.js → p-435ed67f.entry.js} +1 -1
- package/lib/duet/{p-5a144646.entry.js → p-43c4d670.entry.js} +1 -1
- package/lib/duet/{p-c4ea6d92.entry.js → p-4421763f.entry.js} +1 -1
- package/lib/duet/{p-c8df1d39.entry.js → p-442cac9c.entry.js} +1 -1
- package/lib/duet/{p-6bbb4dd9.entry.js → p-4509c90e.entry.js} +1 -1
- package/lib/duet/{p-02785b42.system.entry.js → p-45cb4d7f.system.entry.js} +1 -1
- package/lib/duet/{p-594f7ff9.entry.js → p-473febb8.entry.js} +1 -1
- package/lib/duet/{p-11f51d65.entry.js → p-4cae058e.entry.js} +1 -1
- package/lib/duet/{p-053c4b67.system.entry.js → p-4dd14bc1.system.entry.js} +1 -1
- package/lib/duet/{p-21fb0158.entry.js → p-4ead37f9.entry.js} +1 -1
- package/lib/duet/{p-b87f5ff8.system.entry.js → p-5026ba81.system.entry.js} +2 -2
- package/lib/duet/{p-af0e060c.system.js → p-5122eee8.system.js} +1 -1
- package/lib/duet/p-519fef05.system.js +4 -0
- package/lib/duet/{p-1df441b0.system.entry.js → p-526bce13.system.entry.js} +1 -1
- package/lib/duet/{p-62a9692f.entry.js → p-570a2d5c.entry.js} +1 -1
- package/lib/duet/{p-0dac0f34.system.entry.js → p-590505a4.system.entry.js} +1 -1
- package/lib/duet/{p-21090503.system.entry.js → p-5a1dbce7.system.entry.js} +1 -1
- package/lib/duet/{p-3c412042.system.entry.js → p-5aeec4ac.system.entry.js} +1 -1
- package/lib/duet/{p-7d861055.entry.js → p-5c01b990.entry.js} +1 -1
- package/lib/duet/{p-ebf7a3ac.system.entry.js → p-5c48b80a.system.entry.js} +1 -1
- package/lib/duet/{p-f9be6c4a.system.entry.js → p-60ef6c46.system.entry.js} +1 -1
- package/lib/duet/{p-833d7be7.system.entry.js → p-61198184.system.entry.js} +1 -1
- package/lib/duet/{p-ef4fea1b.entry.js → p-618a0f3a.entry.js} +1 -1
- package/lib/duet/{p-b159c0a9.entry.js → p-62ba7ee2.entry.js} +1 -1
- package/lib/duet/p-63a67247.js +4 -0
- package/lib/duet/p-662c351a.system.js +4 -0
- package/lib/duet/{p-da1458e1.system.entry.js → p-68d50809.system.entry.js} +1 -1
- package/lib/duet/{p-32971abc.entry.js → p-7194f790.entry.js} +1 -1
- package/lib/duet/{p-618232f5.system.entry.js → p-71a2b27b.system.entry.js} +2 -2
- package/lib/duet/{p-a3a2f086.system.entry.js → p-71a70553.system.entry.js} +1 -1
- package/lib/duet/{p-fcf1b096.entry.js → p-73666dbd.entry.js} +1 -1
- package/lib/duet/p-75fdf144.system.js +4 -0
- package/lib/duet/{p-6a455c03.entry.js → p-7686eb1f.entry.js} +1 -1
- package/lib/duet/{p-03eb030a.system.entry.js → p-7761f427.system.entry.js} +1 -1
- package/lib/duet/{p-7013ce09.system.entry.js → p-7789db31.system.entry.js} +1 -1
- package/lib/duet/p-78033ea5.js +4 -0
- package/lib/duet/{p-bca76d73.entry.js → p-7930882f.entry.js} +1 -1
- package/lib/duet/p-79562f98.entry.js +4 -0
- package/lib/duet/{p-f87be171.system.entry.js → p-7adab44d.system.entry.js} +1 -1
- package/lib/duet/{p-474c40d9.system.entry.js → p-7d050716.system.entry.js} +1 -1
- package/lib/duet/{p-a0a43bf4.entry.js → p-7d10302e.entry.js} +1 -1
- package/lib/duet/{p-5b0acd52.system.entry.js → p-808d9dc7.system.entry.js} +2 -2
- package/lib/duet/{p-10bfafcf.entry.js → p-80c89ac1.entry.js} +1 -1
- package/lib/duet/{p-437e64f1.system.entry.js → p-836bee60.system.entry.js} +2 -2
- package/lib/duet/{p-ca812b3c.entry.js → p-844d9170.entry.js} +1 -1
- package/lib/duet/{p-8e0952b2.entry.js → p-85167dd4.entry.js} +1 -1
- package/lib/duet/{p-98eddabd.entry.js → p-8522541f.entry.js} +1 -1
- package/lib/duet/{p-0b74ce31.entry.js → p-85696a8e.entry.js} +1 -1
- package/lib/duet/p-88dda3dd.entry.js +4 -0
- package/lib/duet/{p-6916bba8.entry.js → p-8975b5ee.entry.js} +1 -1
- package/lib/duet/{p-d064df5e.js → p-89a1d75a.js} +1 -1
- package/lib/duet/{p-2819123b.system.entry.js → p-8a02bd75.system.entry.js} +1 -1
- package/lib/duet/{p-8bf31541.system.entry.js → p-8b350472.system.entry.js} +1 -1
- package/lib/duet/{p-8173dd50.system.entry.js → p-8bed4283.system.entry.js} +2 -2
- package/lib/duet/{p-0454a8c6.entry.js → p-8c1442ff.entry.js} +1 -1
- package/lib/duet/{p-40295380.js → p-8c2abe91.js} +1 -1
- package/lib/duet/{p-b3b3b6d2.system.entry.js → p-8c66abfb.system.entry.js} +2 -2
- package/lib/duet/{p-dab809f9.entry.js → p-8da3b624.entry.js} +1 -1
- package/lib/duet/{p-7053f582.entry.js → p-8e5de54a.entry.js} +1 -1
- package/lib/duet/{p-e06e9231.entry.js → p-9004d8ff.entry.js} +1 -1
- package/lib/duet/p-9608ad22.system.js +4 -0
- package/lib/duet/p-9615338f.system.entry.js +4 -0
- package/lib/duet/{p-85d98f00.entry.js → p-964cab98.entry.js} +1 -1
- package/lib/duet/{p-f58be348.system.entry.js → p-97393e12.system.entry.js} +1 -1
- package/lib/duet/{p-3bffb004.system.entry.js → p-98feb289.system.entry.js} +1 -1
- package/lib/duet/{p-f074b245.entry.js → p-9c201da2.entry.js} +1 -1
- package/lib/duet/{p-3e995aa9.entry.js → p-9e4e3a7d.entry.js} +1 -1
- package/lib/duet/{p-bf06650e.js → p-9eed5f82.js} +1 -1
- package/lib/duet/{p-72b80f54.entry.js → p-9f1e07cc.entry.js} +1 -1
- package/lib/duet/{p-025452a3.system.entry.js → p-9faf2ac2.system.entry.js} +1 -1
- package/lib/duet/p-a03fcf76.system.js +4 -0
- package/lib/duet/{p-e6c3d5b0.system.entry.js → p-a04ebea2.system.entry.js} +1 -1
- package/lib/duet/p-a41a83dc.system.entry.js +4 -0
- package/lib/duet/{p-ede03d44.system.entry.js → p-a51a1f94.system.entry.js} +1 -1
- package/lib/duet/{p-1f5772a7.entry.js → p-a8e26d38.entry.js} +1 -1
- package/lib/duet/{p-a820ff4d.system.entry.js → p-aadd382f.system.entry.js} +1 -1
- package/lib/duet/{p-6288d368.system.entry.js → p-ab7e07be.system.entry.js} +1 -1
- package/lib/duet/{p-d5ceec92.system.entry.js → p-ad43bd23.system.entry.js} +1 -1
- package/lib/duet/{p-69d12878.entry.js → p-af3397e6.entry.js} +1 -1
- package/lib/duet/p-b036d747.entry.js +4 -0
- package/lib/duet/{p-fa843791.entry.js → p-b094d253.entry.js} +1 -1
- package/lib/duet/{p-b9189fc1.js → p-b16705db.js} +1 -1
- package/lib/duet/{p-1eed0b1c.system.entry.js → p-b3f5912a.system.entry.js} +1 -1
- package/lib/duet/{p-822bbe28.system.entry.js → p-b5191612.system.entry.js} +1 -1
- package/lib/duet/{p-c1884875.entry.js → p-b5cb52b3.entry.js} +1 -1
- package/lib/duet/{p-61e21220.system.js → p-b5eb657a.system.js} +1 -1
- package/lib/duet/{p-64709c5e.system.entry.js → p-b6578600.system.entry.js} +1 -1
- package/lib/duet/{p-e9b88155.system.entry.js → p-b9af2990.system.entry.js} +2 -2
- package/lib/duet/{p-c6497425.entry.js → p-baf03e8b.entry.js} +1 -1
- package/lib/duet/{p-2c09d10f.entry.js → p-bb71c581.entry.js} +1 -1
- package/lib/duet/{p-723a5a2f.system.entry.js → p-bc44defc.system.entry.js} +1 -1
- package/lib/duet/{p-c9c52ec2.entry.js → p-bfa13cf6.entry.js} +1 -1
- package/lib/duet/{p-14108f66.entry.js → p-bffda5ab.entry.js} +1 -1
- package/lib/duet/p-c23c9c77.entry.js +4 -0
- package/lib/duet/{p-43a8d843.system.entry.js → p-c45ddc7a.system.entry.js} +1 -1
- package/lib/duet/{p-33e24f0b.system.entry.js → p-c4eb60a1.system.entry.js} +2 -2
- package/lib/duet/{p-6ab8cc04.system.entry.js → p-c59fbbb1.system.entry.js} +1 -1
- package/lib/duet/{p-db1a5bf4.system.entry.js → p-c658fdf2.system.entry.js} +1 -1
- package/lib/duet/{p-e430fc87.system.entry.js → p-c6c01a4f.system.entry.js} +1 -1
- package/lib/duet/{p-903b934c.system.entry.js → p-c6e60d08.system.entry.js} +1 -1
- package/lib/duet/{p-79bccb1f.system.entry.js → p-cc22486b.system.entry.js} +1 -1
- package/lib/duet/{p-fc9148a1.entry.js → p-cf5551f7.entry.js} +1 -1
- package/lib/duet/{p-326ef77a.system.entry.js → p-d0b648c5.system.entry.js} +1 -1
- package/lib/duet/{p-a157e1cc.entry.js → p-d1c7c87b.entry.js} +1 -1
- package/lib/duet/{p-91df376b.entry.js → p-d4e9333f.entry.js} +1 -1
- package/lib/duet/{p-013ff1b1.entry.js → p-d5a2f426.entry.js} +1 -1
- package/lib/duet/{p-1c58f3a1.system.entry.js → p-d5ad1dca.system.entry.js} +1 -1
- package/lib/duet/{p-41bafdf1.system.entry.js → p-d610918e.system.entry.js} +1 -1
- package/lib/duet/{p-5d7af988.system.js → p-d63c92fc.system.js} +1 -1
- package/lib/duet/{p-feb01054.entry.js → p-d87768a3.entry.js} +1 -1
- package/lib/duet/{p-89a1fa97.system.entry.js → p-d977fe38.system.entry.js} +1 -1
- package/lib/duet/{p-c1db69bc.system.entry.js → p-dd011cf1.system.entry.js} +2 -2
- package/lib/duet/{p-386fdf47.system.entry.js → p-e124ed8c.system.entry.js} +2 -2
- package/lib/duet/{p-61f97ebd.system.entry.js → p-e2e84fa3.system.entry.js} +1 -1
- package/lib/duet/{p-46ba82ab.system.entry.js → p-e4bda446.system.entry.js} +1 -1
- package/lib/duet/{p-dc12856e.system.entry.js → p-e538f43c.system.entry.js} +1 -1
- package/lib/duet/{p-0f945464.entry.js → p-e5716306.entry.js} +1 -1
- package/lib/duet/p-e5f1e38a.js +4 -0
- package/lib/duet/{p-5da25b76.entry.js → p-e762de37.entry.js} +1 -1
- package/lib/duet/{p-0aa18687.system.entry.js → p-e8059b67.system.entry.js} +1 -1
- package/lib/duet/{p-38d5c9e6.entry.js → p-e9e59d73.entry.js} +1 -1
- package/lib/duet/{p-d32bd233.js → p-eb60efcc.js} +1 -1
- package/lib/duet/{p-4ded9936.entry.js → p-ecb06d44.entry.js} +1 -1
- package/lib/duet/{p-9cc1306c.entry.js → p-ece11bcb.entry.js} +1 -1
- package/lib/duet/{p-9516f5fc.system.entry.js → p-ecf25e2f.system.entry.js} +1 -1
- package/lib/duet/{p-7b43d889.system.entry.js → p-f01d0296.system.entry.js} +1 -1
- package/lib/duet/{p-3b7bc2eb.entry.js → p-f38adc18.entry.js} +1 -1
- package/lib/duet/{p-b7a29ea3.system.entry.js → p-f482b5af.system.entry.js} +1 -1
- package/lib/duet/{p-a445ce8a.entry.js → p-f6ada3f6.entry.js} +1 -1
- package/lib/duet/{p-f787b33c.entry.js → p-f740cd96.entry.js} +1 -1
- package/lib/duet/{p-adeb1555.system.js → p-f78b9d60.system.js} +1 -1
- package/lib/duet/{p-563804e0.system.entry.js → p-f7a30994.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-e494647a.js → a11y-utils-d44f1172.js} +1 -1
- package/lib/esm/{app-globals-ba36fb7c.js → app-globals-5ec0d260.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +4 -4
- package/lib/esm/duet-banner.entry.js +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +6 -6
- package/lib/esm/duet-callout.entry.js +5 -5
- package/lib/esm/duet-caption_4.entry.js +9 -9
- package/lib/esm/duet-card.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +8 -8
- 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 +47 -10
- package/lib/esm/duet-hero.entry.js +4 -4
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +4 -4
- 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 +11 -11
- 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 +4 -4
- 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 +16 -16
- 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 +5 -5
- 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 +13 -13
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +4 -4
- package/lib/esm/duet-share-chart-item.entry.js +2 -2
- package/lib/esm/duet-share-chart.entry.js +6 -6
- 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 +11 -11
- package/lib/esm/duet-slideout.entry.js +9 -9
- 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-4ce3105d.js} +1 -1
- package/lib/esm/{focus-utils-b131ac81.js → focus-utils-0d727936.js} +1 -1
- package/lib/esm/{index-822baec2.js → index-5757a151.js} +1 -1
- package/lib/esm/{language-utils-2038d09e.js → language-utils-1aea3619.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-5410a171.js → slot-utils-03502471.js} +1 -1
- package/lib/esm/{themeable-component-4e1ca2f5.js → themeable-component-e507940b.js} +14 -2
- package/lib/esm/{tokens-85fb95d1.js → tokens-57aa1508.js} +1 -1
- package/lib/esm-es5/{a11y-utils-e494647a.js → a11y-utils-d44f1172.js} +1 -1
- package/lib/esm-es5/{app-globals-ba36fb7c.js → app-globals-5ec0d260.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 +1 -1
- 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-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 +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-f1b68042.js → errorcodes.utils-4ce3105d.js} +1 -1
- package/lib/esm-es5/focus-utils-0d727936.js +4 -0
- package/lib/esm-es5/{index-822baec2.js → index-5757a151.js} +1 -1
- package/lib/esm-es5/{language-utils-2038d09e.js → language-utils-1aea3619.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-5410a171.js → slot-utils-03502471.js} +1 -1
- package/lib/esm-es5/themeable-component-e507940b.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.d.ts +9 -0
- package/package.json +4 -4
- package/lib/duet/p-0a7ee399.js +0 -4
- package/lib/duet/p-0e7cf850.js +0 -4
- package/lib/duet/p-1c8887ea.entry.js +0 -4
- package/lib/duet/p-242bcacd.system.js +0 -4
- package/lib/duet/p-25da61f0.entry.js +0 -4
- package/lib/duet/p-27219a43.js +0 -4
- package/lib/duet/p-4c6198ef.system.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-91d5d8cb.entry.js +0 -4
- package/lib/duet/p-9d336f77.system.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-e50a2f96.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/esm-es5/focus-utils-b131ac81.js +0 -4
- package/lib/esm-es5/themeable-component-4e1ca2f5.js +0 -4
|
@@ -324,4 +324,9 @@
|
|
|
324
324
|
}
|
|
325
325
|
:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-has-background {
|
|
326
326
|
color: rgb(255, 255, 255);
|
|
327
|
+
}
|
|
328
|
+
:host(.duet-theme-turva2) .duet-icon.duet-theme-turva.duet-icon-shape-brand {
|
|
329
|
+
-webkit-mask-image: none;
|
|
330
|
+
mask-image: none;
|
|
331
|
+
border-radius: 16%;
|
|
327
332
|
}
|
|
@@ -102,11 +102,11 @@ export class DuetIcon {
|
|
|
102
102
|
: {};
|
|
103
103
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
104
104
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '94bf4741af1d392b8fe4900a1e664e340f3fee89', class: {
|
|
106
106
|
"duet-m-0": this.margin === "none",
|
|
107
107
|
"duet-icon-has-outline": !!this.outline,
|
|
108
108
|
"duet-icon-has-background": !!this.background,
|
|
109
|
-
} }, h("span", { key: '
|
|
109
|
+
} }, h("span", { key: 'f53d65724789fb4b1c2dc689a8b754870c082094', "aria-hidden": "true", style: styles, class: {
|
|
110
110
|
"duet-icon": true,
|
|
111
111
|
"duet-theme-turva": this.theme === "turva",
|
|
112
112
|
"duet-theme-default": this.theme === "default",
|
|
@@ -115,7 +115,7 @@ export class DuetIcon {
|
|
|
115
115
|
[shapeStyle]: true,
|
|
116
116
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
117
117
|
"duet-icon-not-responsive": !this.responsive,
|
|
118
|
-
} }, h("span", { key: '
|
|
118
|
+
} }, h("span", { key: 'ee9df8b00f92eab8dc364e15db86d954a936e15b', "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 }))));
|
|
119
119
|
}
|
|
120
120
|
static get is() { return "duet-icon"; }
|
|
121
121
|
static get encapsulation() { return "shadow"; }
|
|
@@ -122,10 +122,10 @@ export class DuetLink {
|
|
|
122
122
|
render() {
|
|
123
123
|
const Tag = !this.url ? "button" : "a";
|
|
124
124
|
const isButton = Tag === "button";
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: 'cd7310c88a581cfb5afd755bc4cd1b03f68c67d2', class: {
|
|
126
126
|
[`duet-link-${this.variation}`]: true,
|
|
127
127
|
"duet-m-0": this.margin === "none",
|
|
128
|
-
} }, h(Tag, { key: '
|
|
128
|
+
} }, h(Tag, { key: 'fb5d0c7cdc5bfe931be67c3a685934d5f2f979b7', href: this.url, class: {
|
|
129
129
|
"duet-link": true,
|
|
130
130
|
"duet-link-is-external": this.external,
|
|
131
131
|
"duet-link-is-download": !!this.download,
|
|
@@ -21,7 +21,7 @@ export class DuetListItem {
|
|
|
21
21
|
* Always the last one in the class.
|
|
22
22
|
*/
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '99e9fde88b277b57fe0eb123a4a9393665fc5c3b', class: {
|
|
25
25
|
"duet-theme-turva": this.theme === "turva",
|
|
26
26
|
"duet-no-stacking": !this.responsive,
|
|
27
27
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -29,7 +29,7 @@ export class DuetListItem {
|
|
|
29
29
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
30
30
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
31
31
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
32
|
-
} }, h("dt", { key: '
|
|
32
|
+
} }, h("dt", { key: 'd28e5c24d737ac46d7b11a0babf2b9842cbe60a5' }, h("slot", { key: '197933a372139678a7e2e5cb5d78412e5d49835d', name: "label" })), h("dd", { key: 'ba1679ecc75e002e8fe7038d4c0ca97ca19e64aa' }, h("slot", { key: '9dbe5076b03b9791f55c9172609a42f050931c1a', name: "value" }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "duet-list-item"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -77,6 +77,10 @@
|
|
|
77
77
|
width: 149.6px;
|
|
78
78
|
height: 54.4px;
|
|
79
79
|
}
|
|
80
|
+
.duet-logo.duet-logo-only-symbol {
|
|
81
|
+
width: 28px;
|
|
82
|
+
height: 28px;
|
|
83
|
+
}
|
|
80
84
|
|
|
81
85
|
:host(.duet-theme-turva2) .duet-logo {
|
|
82
86
|
width: 92px;
|
|
@@ -85,4 +89,8 @@
|
|
|
85
89
|
:host(.duet-theme-turva2) .duet-logo.large {
|
|
86
90
|
width: 124.3243243243px;
|
|
87
91
|
height: 30px;
|
|
92
|
+
}
|
|
93
|
+
:host(.duet-theme-turva2) .duet-logo.duet-logo-only-symbol {
|
|
94
|
+
width: 28px;
|
|
95
|
+
height: 28px;
|
|
88
96
|
}
|
|
@@ -2,17 +2,34 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
import { colorBrandGrayTurva, colorGrayLightest, colorPrimary, colorPrimaryTurva } from "@duetds/tokens";
|
|
5
|
-
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
const getTurva2 = () => { var _a; return (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2"); };
|
|
9
10
|
const TurvaLogo = ({ inverse, logoId }) => {
|
|
10
|
-
var _a;
|
|
11
11
|
const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
|
|
12
12
|
const textColor = inverse ? colorGrayLightest : colorPrimaryTurva;
|
|
13
13
|
const turva2LogoColor = inverse ? colorGrayLightest : "#e61740"; // turva2-red-600 - hard coded as not yet available as token
|
|
14
|
+
const isTurva2 = getTurva2();
|
|
15
|
+
return isTurva2 ? (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 460 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: turva2LogoColor, d: "M376.31,6.532L353.12,6.532C351.181,6.585 348.968,6.454 348.169,8.504L335.005,45.585C335.005,45.585 332.621,52.566 331.6,56.371C330.84,59.194 327.113,59.305 326.432,56.299C325.588,52.559 323.119,45.637 323.119,45.637L311.311,9.316C310.439,6.572 308.979,6.539 306.53,6.539L279.678,6.539C277.262,6.539 277.537,7.803 277.963,8.884L313.177,98.22C314.323,101.049 315.633,101.455 317.945,101.455L338.98,101.455C341.869,101.455 342.707,99.195 343.132,98.22L378.425,9.715C378.773,8.818 379.362,6.539 376.297,6.539L376.31,6.532Z" }), h("path", { fill: turva2LogoColor, d: "M459.516,96.346C454.277,83.268 433.732,31.15 425.821,9.722C424.662,6.821 423.686,6.539 421.689,6.539L399.651,6.539C397.647,6.539 396.783,7.541 395.885,9.925C387.024,33.495 362.341,94.31 361.535,96.346C360.704,98.455 360.717,101.455 363.277,101.455L387.358,101.455C389.52,101.455 389.827,100.63 391.032,98.22C391.36,97.558 394.097,91.461 395.034,89.103C395.329,88.357 396.049,87.872 396.848,87.872L422.298,87.813C423.084,87.813 423.791,88.271 424.099,88.992C425.225,91.605 428.598,98.815 428.932,99.621C429.574,101.167 430.235,101.455 432.095,101.455L457.768,101.455C460.328,101.455 460.341,98.455 459.51,96.346L459.516,96.346ZM417.916,66.253L402.559,66.286C401.144,66.286 400.463,65.075 400.974,63.529C401.308,62.52 408.224,43.574 408.551,42.611C408.551,42.592 408.571,42.579 408.584,42.559C408.925,41.485 409.272,40.365 409.501,39.507C409.809,38.354 411.452,38.387 411.714,39.553C411.898,40.352 412.376,41.937 412.52,42.408C413.064,44.209 419.449,63.313 419.508,63.49C420.019,65.035 419.344,66.247 417.923,66.247L417.916,66.253Z" }), h("path", { fill: turva2LogoColor, d: "M162.312,28.57L162.312,27.3C162.312,25.734 163.838,24.719 165.122,25.44C168.953,27.575 173.662,29.389 178.96,30.843C179.432,30.974 179.897,30.613 179.897,30.129L179.897,9.748C179.897,7.148 179.327,6.46 176.616,6.46L153.15,6.46C150.432,6.46 149.869,7.148 149.869,9.748L149.869,60.327C149.869,75.547 142.207,78.356 136.457,78.356C130.707,78.356 123.031,74.99 123.031,60.327L123.031,9.748C123.031,7.148 122.461,6.46 119.75,6.46L96.311,6.46C93.593,6.46 93.03,7.148 93.03,9.748L93.03,65.599C93.03,99.621 125.493,104.618 136.496,104.618C149.057,104.618 179.897,100.158 179.897,65.599L179.897,51.511C179.897,50.974 179.602,50.483 179.13,50.215C169.019,44.504 162.306,36.553 162.306,28.563L162.312,28.57Z" }), h("path", { fill: turva2LogoColor, d: "M282.593,98.252C279.561,93.989 261.976,67.203 261.976,67.203C258.662,62.213 263.967,65.854 271.472,55.546C283.497,39.022 275.684,11.68 252.166,7.823C244.025,6.153 235.492,6.467 231.025,6.467L199,6.467C196.282,6.467 195.719,7.155 195.719,9.755L195.719,33.338C195.719,33.718 196.001,34.039 196.381,34.078C201.371,34.628 206.558,34.91 211.817,34.91C230.174,34.91 247.771,31.432 258.512,25.446C259.795,24.732 261.321,25.741 261.321,27.306L261.321,28.577C261.321,43.666 237.417,58.604 211.817,58.604C206.623,58.604 201.502,57.989 196.63,56.882C196.165,56.777 195.719,57.124 195.719,57.602L195.719,98.174C195.719,100.774 196.289,101.461 199,101.461L221.739,101.461C224.457,101.461 225.02,100.774 225.02,98.174L225.039,71.047C225.039,69.954 229.44,70.111 230.776,71.702C235.086,76.843 242.899,92.928 246.547,96.857C248.852,99.346 253.011,101.461 260.287,101.461L278.958,101.461C281.231,101.461 283.765,99.916 282.586,98.265L282.593,98.252Z" }), h("path", { fill: turva2LogoColor, d: "M77.377,6.388L3.281,6.388C0.563,6.388 0,7.076 0,9.676L0,31.556C0,33.809 0,34.7 2.331,34.7L24.297,34.7C26.432,34.7 26.491,35.46 26.491,37.359L26.504,98.174C26.504,100.774 27.074,101.461 29.785,101.461L51.24,101.461C53.958,101.461 54.521,100.774 54.521,98.174L54.521,37.221C54.521,35.427 54.632,34.7 56.715,34.7L78.026,34.7C80.161,34.7 80.665,33.665 80.665,31.936L80.665,9.682C80.665,7.083 80.095,6.395 77.384,6.395L77.377,6.388Z" }))) : (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 305 111" }, h("title", { id: logoId }, "Turva"), h("path", { fill: logoColor, d: "M79 90.1A40.5 40.5 0 0 0 98.3 58H79v32.2z" }), h("path", { fill: logoColor, d: "M45.1 57.9V46.4h52.3a40.5 40.5 0 1 0-30 48.5V58H45z" }), h("path", { fill: textColor, d: "M278.9 80.3v-9.8l-7.4.4c-2.4.3-4.3.6-5.7 1-1.7.4-4 1.3-5 2.3-1 1-2.3 2.8-2.3 4.6 0 2 .8 3.8 2 4.8s3.3 2 5.7 2a22 22 0 0 0 12.7-5.3zm4.2 8H279v-4.1l-3 1.9-2.8 1.5a17.4 17.4 0 0 1-7.4 1.6c-3 0-6.3-.7-8-2.3a9.6 9.6 0 0 1-3.4-7.2 9 9 0 0 1 1.8-5.9c1.1-1.6 3.1-3.3 5.2-4.2 2.1-1 4.7-1.6 7.7-1.9 3.4-.4 6.8-.6 9.8-.7v-1.1a6 6 0 0 0-.7-3.3 8 8 0 0 0-2.6-2.5c-.8-.5-2.2-1-3.4-1.1a25.7 25.7 0 0 0-8.8.4c-1.9.4-3.3 1-5.4 1.7h-.3v-4.3c1.2-.3 2.3-.7 4.5-1a37.7 37.7 0 0 1 12.8 0c1.8.4 2.9 1 4.2 2 1.3 1 2.3 2.3 3 3.8.7 1.5 1 3.2 1 4.7v22zM250.1 56l-14 32.4h-4.8L217.4 56h4.5l12 27.7L245.6 56zM137.7 88.2l-2.7.7c-.9.2-2 .4-4.2.4a9 9 0 0 1-7.2-3c-1.9-1.8-2.6-5-2.6-9.3V60.2h-5.2V56h5.2V47h4.2v9h12.6v4.2h-12.6v14.2c0 1.8 0 4.3.2 5.4 0 1 .3 2.5.8 3.4.5.8 1.4 1.4 2.2 1.8.8.4 2.7.5 4.1.5 1-.1 1.7-.2 2.7-.5l2.2-.6h.3v3.8zM176.4 88.4h-4.2v-3.9c-2 1.6-4.5 2.8-6.3 3.6-1.8.8-3.8 1.3-6 1.3-3.6 0-6-1.2-8-3.4s-2.5-5.5-2.5-9.9v-20h4.2V74c0 1.8.1 3.8.3 5 .2 1.3.5 3 1 3.8a5 5 0 0 0 2.2 2c1 .5 2.2.7 4 .7 1.5 0 3.1-.4 5-1.2 1.7-.8 4.5-2.4 6-3.6V56.1h4.3v32.3zM210.4 61h-.3a21.6 21.6 0 0 0-5.4-.7c-1.9 0-3.6.4-5.3 1.2a31 31 0 0 0-5.4 3.7v23.2h-4.3V56h4.3v5.2c2.3-1.9 5-3.2 6.7-4 1.8-.8 3.6-1.2 5.5-1.2a22.3 22.3 0 0 1 4.2.4v4.4z" })));
|
|
16
|
+
};
|
|
17
|
+
const TurvaLogoSymbol = ({ inverse, logoId }) => {
|
|
18
|
+
var _a;
|
|
19
|
+
const logoColor = inverse ? colorGrayLightest : colorBrandGrayTurva;
|
|
20
|
+
const turva2LogoColor = inverse ? colorGrayLightest : "#e61740"; // turva2-red-600 - hard coded as not yet available as token
|
|
14
21
|
const isTurva2 = (_a = document.documentElement.attributes.getNamedItem("class")) === null || _a === void 0 ? void 0 : _a.value.includes("duet-theme-turva2");
|
|
15
|
-
return isTurva2 ? (h("svg", {
|
|
22
|
+
return isTurva2 ? (h("svg", { id: "a", xmlns: "http://www.w3.org/2000/svg", width: "500", height: "500", viewBox: "0 0 500 500" }, h("title", { id: logoId }, "Turva"), h("circle", { cx: "250", cy: "250", r: "250", fill: turva2LogoColor }), h("path", { d: "M346.35,113.78h-190.26c-6.97,0-8.43,1.76-8.43,8.44v.19s0,55.98,0,55.98c0,5.78,0,8.06,5.98,8.06h51.63c5.49,0,5.63,1.95,5.63,6.82l.03,94.19c0,6.68,1.46,8.44,8.43,8.44h64.6c6.97,0,8.43-1.76,8.43-8.44v-94.53c0-5.51.98-6.47,6.43-6.47h49.17c5.49,0,6.78-2.66,6.78-7.1v-57.14c0-6.68-1.46-8.44-8.43-8.44Z", fill: "#fff" }), h("path", { d: "M250,339.02c-62.43,0-122.26-11.83-158.77-32.18-4.37-2.44-9.56,1.01-9.56,6.33v4.32c0,51.3,81.28,102.09,168.33,102.09s168.33-50.79,168.33-102.09v-4.32c0-5.32-5.18-8.76-9.56-6.33-36.51,20.35-96.34,32.18-158.77,32.18Z", fill: "#fff" }))) : (h("svg", { width: "28", height: "28", viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("title", { id: logoId }, "Turva"), h("path", { d: "M9.56842 10.8425V14.8074H17.259V27.617C16.2117 27.867 15.1199 28 13.9966 28C6.2665 28 0 21.7324 0 14C0 6.26802 6.2665 0 13.9966 0C20.6416 0 26.2045 4.63095 27.6359 10.8425H9.56842Z", fill: logoColor }), h("path", { d: "M27.9695 14.8073C27.7012 19.5272 25.0971 23.6203 21.2944 25.9486V14.8073H27.9695Z", fill: logoColor })));
|
|
23
|
+
};
|
|
24
|
+
const ltTitle = {
|
|
25
|
+
fi: "LähiTapiola",
|
|
26
|
+
sv: "LokalTapiola",
|
|
27
|
+
en: "LocalTapiola",
|
|
28
|
+
};
|
|
29
|
+
const DefaultLogoSymbol = ({ inverse, logoId, language }) => {
|
|
30
|
+
const logoColor = inverse ? colorGrayLightest : colorPrimary;
|
|
31
|
+
const title = ltTitle[language];
|
|
32
|
+
return (h("svg", { role: "img", xmlns: "http://www.w3.org/2000/svg", "aria-labelledby": logoId, viewBox: "0 0 81 81" }, h("title", { id: logoId }, title), h("path", { fill: logoColor, d: "M5.164,53.864C-1.721,46.977 -1.721,35.816 5.164,28.927L28.93,5.164C34.364,-0.27 42.466,-1.417 49.024,1.73L48.979,1.773L48.921,1.83L25.541,25.21L25.484,25.268C23.198,27.554 23.198,31.262 25.484,33.548C27.77,35.834 31.478,35.834 33.766,33.548L37.915,29.396C40.257,27.055 42.595,27.011 44.631,29.049L53.557,37.931C55.983,40.356 56.229,42.367 53.557,45.036L45.102,53.492C42.757,55.834 40.553,56.052 37.995,53.492L21.766,37.262C19.481,34.979 15.773,34.979 13.487,37.265C11.201,39.551 11.201,43.258 13.487,45.544L34.13,66.187C38.183,70.239 44.747,70.239 48.798,66.186L66.25,48.734C70.302,44.685 70.302,38.117 66.25,34.064L52.918,20.735C50.836,18.65 51.023,16.29 53.139,14.175L57.431,9.882C57.626,9.685 57.803,9.478 57.967,9.264L74.647,25.946C83.18,34.479 83.18,48.314 74.647,56.844L56.85,74.644C48.314,83.179 34.48,83.179 25.946,74.644L5.164,53.864Z" })));
|
|
16
33
|
};
|
|
17
34
|
const i18n = {
|
|
18
35
|
fi: {
|
|
@@ -42,6 +59,7 @@ export class DuetLogo {
|
|
|
42
59
|
* Own Properties.
|
|
43
60
|
*/
|
|
44
61
|
this.logoId = createID("DuetLogo");
|
|
62
|
+
this.isTurva2 = false;
|
|
45
63
|
this.theme = "";
|
|
46
64
|
this.margin = "auto";
|
|
47
65
|
this.inverse = false;
|
|
@@ -54,6 +72,10 @@ export class DuetLogo {
|
|
|
54
72
|
};
|
|
55
73
|
this.accessibleLabel = getLocaleString(this.accessibleLabelDefaults);
|
|
56
74
|
this.language = getLanguage();
|
|
75
|
+
this.onlySymbol = false;
|
|
76
|
+
}
|
|
77
|
+
setTurva2State() {
|
|
78
|
+
this.isTurva2 = getTurva2();
|
|
57
79
|
}
|
|
58
80
|
/**
|
|
59
81
|
* Component lifecycle events.
|
|
@@ -63,9 +85,23 @@ export class DuetLogo {
|
|
|
63
85
|
}
|
|
64
86
|
connectedCallback() {
|
|
65
87
|
connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
|
|
88
|
+
if (!Build.isServer) {
|
|
89
|
+
this.classMutationObserver = new MutationObserver(this.setTurva2State.bind(this));
|
|
90
|
+
this.classMutationObserver.observe(this.element, {
|
|
91
|
+
subtree: false,
|
|
92
|
+
childList: false,
|
|
93
|
+
characterData: false,
|
|
94
|
+
attributes: true,
|
|
95
|
+
attributeFilter: ["class"],
|
|
96
|
+
attributeOldValue: true,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
66
99
|
}
|
|
67
100
|
disconnectedCallback() {
|
|
68
101
|
disconnectLanguageChangeObserver(this);
|
|
102
|
+
if (!Build.isServer) {
|
|
103
|
+
this.classMutationObserver.disconnect();
|
|
104
|
+
}
|
|
69
105
|
}
|
|
70
106
|
/**
|
|
71
107
|
* Sets focus on the specified `duet-logo`. Use this method instead of the global
|
|
@@ -82,13 +118,14 @@ export class DuetLogo {
|
|
|
82
118
|
*/
|
|
83
119
|
render() {
|
|
84
120
|
const TagName = this.href ? "a" : "div";
|
|
85
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'd13dacb8208ebc04186228277d6a0eb4ef3cfeb7', class: { "duet-m-0": this.margin === "none" } }, h(TagName, { key: '92f33026307d3230324abdc39694b7a5207c04c3', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
86
122
|
"duet-logo": true,
|
|
87
123
|
[this.size]: true,
|
|
124
|
+
"duet-logo-only-symbol": this.onlySymbol,
|
|
88
125
|
"duet-theme-turva": this.theme === "turva",
|
|
89
126
|
"duet-logo-en": this.language === "en",
|
|
90
127
|
"duet-logo-sv": this.language === "sv",
|
|
91
|
-
} }, this.theme === "turva" ? (h(TurvaLogo, { logoId: this.logoId, inverse: this.inverse })) : (h(DefaultLogo, { logoId: this.logoId, inverse: this.inverse, language: this.language })))));
|
|
128
|
+
} }, this.theme === "turva" ? (this.onlySymbol ? (h(TurvaLogoSymbol, { logoId: this.logoId, inverse: this.inverse })) : (h(TurvaLogo, { logoId: this.logoId, inverse: this.inverse }))) : this.onlySymbol ? (h(DefaultLogoSymbol, { logoId: this.logoId, inverse: this.inverse, language: this.language })) : (h(DefaultLogo, { logoId: this.logoId, inverse: this.inverse, language: this.language })))));
|
|
92
129
|
}
|
|
93
130
|
static get is() { return "duet-logo"; }
|
|
94
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -297,9 +334,37 @@ export class DuetLogo {
|
|
|
297
334
|
"attribute": "language",
|
|
298
335
|
"reflect": true,
|
|
299
336
|
"defaultValue": "getLanguage()"
|
|
337
|
+
},
|
|
338
|
+
"onlySymbol": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"mutable": false,
|
|
341
|
+
"complexType": {
|
|
342
|
+
"original": "boolean",
|
|
343
|
+
"resolved": "boolean",
|
|
344
|
+
"references": {}
|
|
345
|
+
},
|
|
346
|
+
"required": false,
|
|
347
|
+
"optional": false,
|
|
348
|
+
"docs": {
|
|
349
|
+
"tags": [{
|
|
350
|
+
"name": "internal",
|
|
351
|
+
"text": "Renders only the symbol"
|
|
352
|
+
}],
|
|
353
|
+
"text": ""
|
|
354
|
+
},
|
|
355
|
+
"getter": false,
|
|
356
|
+
"setter": false,
|
|
357
|
+
"attribute": "only-symbol",
|
|
358
|
+
"reflect": false,
|
|
359
|
+
"defaultValue": "false"
|
|
300
360
|
}
|
|
301
361
|
};
|
|
302
362
|
}
|
|
363
|
+
static get states() {
|
|
364
|
+
return {
|
|
365
|
+
"isTurva2": {}
|
|
366
|
+
};
|
|
367
|
+
}
|
|
303
368
|
static get methods() {
|
|
304
369
|
return {
|
|
305
370
|
"setFocus": {
|
|
@@ -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: '2df6c1b32a0a028fd5a562baa4733c2dfef93af6', role: "listitem", onfocus: () => this.setFocus() }, h("button", { key: '364c82e9d7ef3b5aed9f7df9608e234f474834cd', 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: 'a143660e0d58efd3eea99181d39e183c2ad2cffe', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '121e0ad7aeb96564c2bbdf6d07c05b4502532eac' }))));
|
|
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: '50016c8e96de112a895ab6c1a619cd51db1a1144', role: "listitem" }, h("div", { key: '84f1d55a04eb2ce6da85eaa3a2098709d72f904a', 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: '635deadc4d4430289b7b0b9457d621caef017ee8', 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: '199fc78e9de9a2411dbdcac2a7cf3cdd7741896c', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: '47bf8dee8211ea4b73157c3ff6abb4d1765af81d', class: "label" }, h("slot", { key: 'cf7592834315d69ab2606208943b57c814c364df', name: "label" }), h("duet-icon", { key: '59f13d4cd703bb83c454fe4772beaceecff32186', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: 'ec6ee4c08d94947327d1414068ec363843d4abd7', 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: 'e5381a251537978629b818d3771f648122b39968' })))));
|
|
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: '586e3ed079d09bf899c1f02c3799e1d46f60bbef' }, h("a", { key: '4480061d9f4de3372052169867f6694c272498ff', 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: '3dcfc8679e4a1454f6a50efb8aa277ad22faabff', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("slot", { key: 'c0d05484db5c3de1e32454f3c2025797e240bfcc' }))));
|
|
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: 'f8206907f5f09a383f7a11536920b76490ac0eb4', role: "listitem" }, h(TagName, { key: '11894268ceca0e4efac53ea2bb9eb1cf61c84989', 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: 'e7988c04b52df45cd3976e8f1532cad225b0b6ca', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: 'fbbf9404fa7b6d949c7d89bb478957eff14da090' }), (this.trailingIcon || this.external) && (h("duet-icon", { key: 'c2c2f060f59df74561faba1bd596fa43caaa54a7', 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: '5397f75d25382c49004777cc9673b92eb4ebb3c5', role: "listitem" }, h("a", { key: 'd5adf4f588f0108f4bfa82329e5499597e2efbae', 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: '49866f87807a448bec494ece51eac8ba7cb525cf', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: 'e566b40e827773a58939b25a6f85b69b16aeb59b' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "duet-menu-bar-link"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|