@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
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
9
|
const formSearch = require('./form-search-d61b2843.js');
|
|
10
|
-
const themeableComponent = require('./themeable-component-
|
|
10
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
12
12
|
const inputUtils = require('./input-utils-1096a2c5.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
14
|
-
const languageUtils = require('./language-utils-
|
|
15
|
-
const slotUtils = require('./slot-utils-
|
|
16
|
-
const tokenUtils = require('./token-utils-
|
|
14
|
+
const languageUtils = require('./language-utils-eaec2648.js');
|
|
15
|
+
const slotUtils = require('./slot-utils-61317778.js');
|
|
16
|
+
const tokenUtils = require('./token-utils-658c4c54.js');
|
|
17
17
|
require('./string-utils-7b13c16e.js');
|
|
18
18
|
require('./tokens.module-a7c77c13.js');
|
|
19
19
|
|
|
@@ -515,7 +515,7 @@ const DuetLabel = class {
|
|
|
515
515
|
* Always the last one in the class.
|
|
516
516
|
*/
|
|
517
517
|
render() {
|
|
518
|
-
const color = tokenUtils.getColorByName(this.color);
|
|
518
|
+
const color = tokenUtils.getColorByName(this.color, this.theme);
|
|
519
519
|
return (index.h(index.Host, { class: {
|
|
520
520
|
"duet-label": true,
|
|
521
521
|
"duet-label-small": this.size === "small",
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
9
|
const isInternetExplorer = require('./is-internet-explorer-e7f58ebc.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-61317778.js');
|
|
11
11
|
|
|
12
12
|
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
13
13
|
const DuetLayoutStyle0 = duetLayoutCss;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
10
|
const watchOptions = require('./watch-options-31527e7b.js');
|
|
11
11
|
|
|
12
12
|
const duetListCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";
|
|
@@ -114,7 +114,7 @@ const DuetListItem = class {
|
|
|
114
114
|
* Always the last one in the class.
|
|
115
115
|
*/
|
|
116
116
|
render() {
|
|
117
|
-
return (index.h(index.Host, { key: '
|
|
117
|
+
return (index.h(index.Host, { key: '734a0dd51a59bbd182a84e31cec8c847bd9b370c', class: {
|
|
118
118
|
"duet-theme-turva": this.theme === "turva",
|
|
119
119
|
"duet-no-stacking": !this.responsive,
|
|
120
120
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
@@ -122,7 +122,7 @@ const DuetListItem = class {
|
|
|
122
122
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
123
123
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
124
124
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
125
|
-
} }, index.h("dt", { key: '
|
|
125
|
+
} }, index.h("dt", { key: '59e34a2877b7e9c431591276bb3f374e7af6b466' }, index.h("slot", { key: 'fd6b41b97d6e20e053e3f0f4bfec3f4263819aae', name: "label" })), index.h("dd", { key: '97aed5f53aa1668d3bae6f2e979e6ed4d99c2026' }, index.h("slot", { key: 'b89a250df02b8731d5f736da444873b8a257a39a', name: "value" }))));
|
|
126
126
|
}
|
|
127
127
|
get element() { return index.getElement(this); }
|
|
128
128
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
10
|
|
|
11
11
|
const duetMenuBarButtonCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:inherit;color:inherit;text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-button:focus,.duet-menu-bar-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-button .menu-bar-button-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-button .menu-bar-button-icon{width:16px;height:16px}}.duet-menu-bar-button.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}@media (min-width: 62em){.duet-menu-bar-button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-button{padding:0 28px}}@media (min-width: 62em){.duet-menu-bar-button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-button:hover.duet-theme-turva{color:rgb(198, 12, 48)}}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-button.duet-theme-turva:hover{color:#e61740}}";
|
|
12
12
|
const DuetMenuBarButtonStyle0 = duetMenuBarButtonCss;
|
|
@@ -47,10 +47,10 @@ const DuetMenuBarButton = class {
|
|
|
47
47
|
* Always the last one in the class.
|
|
48
48
|
*/
|
|
49
49
|
render() {
|
|
50
|
-
return (index.h(index.Host, { key: '
|
|
50
|
+
return (index.h(index.Host, { key: 'b43562922266653eeb9879dd3eda29b8a5a1b04c', role: "listitem", onfocus: () => this.setFocus() }, index.h("button", { key: '29c67b30de26740dec3dac49d2c14a2ed6059270', ref: button => (this.nativeButton = button), class: {
|
|
51
51
|
"duet-menu-bar-button": true,
|
|
52
52
|
"duet-theme-turva": this.theme === "turva",
|
|
53
|
-
}, "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 && (index.h("duet-icon", { key: '
|
|
53
|
+
}, "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 && (index.h("duet-icon", { key: '9e4a9f1891791aa2bce3c66e7a6b0fce95e247f4', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), index.h("slot", { key: '11d9a8886ba0e00caea9ac34e68454ada2e2582d' }))));
|
|
54
54
|
}
|
|
55
55
|
get element() { return index.getElement(this); }
|
|
56
56
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
11
11
|
|
|
12
12
|
const duetMenuBarDropdownLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:100%}.duet-menu-bar-dropdown-link{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:flex-start;height:100%;padding:0.5rem 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none}.duet-menu-bar-dropdown-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-dropdown-link:focus,.duet-menu-bar-dropdown-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown-link:hover{background:rgb(228, 241, 247)}.duet-menu-bar-dropdown-link:hover.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva{color:#172a3b}:host(.duet-theme-turva2) .duet-menu-bar-dropdown-link.duet-theme-turva:hover{background:#fbebe1}";
|
|
@@ -49,11 +49,11 @@ const DuetMenuBarDropdownLink = class {
|
|
|
49
49
|
* Always the last one in the class.
|
|
50
50
|
*/
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: 'f77b08c5717947e146d8d67fdc55fefc66fce761' }, index.h("a", { key: 'b9a4069fc0b35e532944250e4d715984973ba085', class: {
|
|
53
53
|
"duet-menu-bar-dropdown-link": true,
|
|
54
54
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
55
55
|
"duet-theme-turva": this.theme === "turva",
|
|
56
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '
|
|
56
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: 'fa9e331e3d9d8cc74c4fd5f7471e607e058fcf53', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), index.h("slot", { key: '64c5c1d666ded1b933657386f8eec8fb4068fe84' }))));
|
|
57
57
|
}
|
|
58
58
|
get element() { return index.getElement(this); }
|
|
59
59
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
10
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
11
11
|
|
|
12
12
|
const duetMenuBarDropdownCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button{color:#172a3b}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:#e61740}";
|
|
@@ -63,17 +63,17 @@ const DuetMenuBarDropdown = class {
|
|
|
63
63
|
* Always the last one in the class.
|
|
64
64
|
*/
|
|
65
65
|
render() {
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '686fce2ec763461a60c924fc09846f5a54138106', role: "listitem" }, index.h("div", { key: 'eefdc59f23daad325ab0dce1113fb862ad4ee5cf', class: {
|
|
67
67
|
"duet-menu-bar-dropdown": true,
|
|
68
68
|
"duet-theme-turva": this.theme === "turva",
|
|
69
69
|
active: this.open,
|
|
70
70
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
71
|
-
} }, index.h("button", { key: '
|
|
71
|
+
} }, index.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: {
|
|
72
72
|
active: this.open,
|
|
73
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: '
|
|
73
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (index.h("duet-icon", { key: 'cace1bca4eb588cdbd321b82059fefc9adbc8c47', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), index.h("div", { key: '58257618f35379178d9c22a95ed14501fba88154', class: "label" }, index.h("slot", { key: '57eb7d37a9d7c02e1d29b97e9140f2bab43a767a', name: "label" }), index.h("duet-icon", { key: 'f11313315fb6e2aad23163bcb58c5c06f0a1e2af', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), index.h("div", { key: '9d6bc3e367dca79313d11178ee788a3407d03ec7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
74
74
|
items: true,
|
|
75
75
|
hidden: !this.open,
|
|
76
|
-
} }, index.h("slot", { key: '
|
|
76
|
+
} }, index.h("slot", { key: '9ff49f8c44510abf631a06bcb4b690058a3840ed' })))));
|
|
77
77
|
}
|
|
78
78
|
get element() { return index.getElement(this); }
|
|
79
79
|
};
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
9
|
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
10
10
|
const commonStrings = require('./common-strings-a54bbf77.js');
|
|
11
|
-
const themeableComponent = require('./themeable-component-
|
|
12
|
-
const a11yUtils = require('./a11y-utils-
|
|
13
|
-
const languageUtils = require('./language-utils-
|
|
14
|
-
require('./slot-utils-
|
|
11
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
12
|
+
const a11yUtils = require('./a11y-utils-a934645c.js');
|
|
13
|
+
const languageUtils = require('./language-utils-eaec2648.js');
|
|
14
|
+
require('./slot-utils-61317778.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
16
16
|
|
|
17
17
|
const duetMenuBarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-menu-bar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-item:focus,.duet-menu-bar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-item .leading-icon,.duet-menu-bar-item .trailing-icon{width:16px;height:16px}}.duet-menu-bar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-menu-bar-item .external-icon{width:10px;height:10px}.duet-menu-bar-item[aria-expanded=true]{color:rgb(0, 119, 179)}.duet-menu-bar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-menu-bar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-item{padding:0 28px}}.duet-menu-bar-item.active{color:rgb(0, 119, 179)}.duet-menu-bar-item.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-item.active::after{z-index:auto;height:2px}}.duet-menu-bar-item.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-item:hover{color:rgb(0, 119, 179)}.duet-menu-bar-item:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva[aria-expanded=true]{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-item.active.duet-theme-turva::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-item.duet-theme-turva:hover{color:#e61740}}";
|
|
@@ -59,11 +59,11 @@ const DuetMenuBarItem = class {
|
|
|
59
59
|
*/
|
|
60
60
|
render() {
|
|
61
61
|
const TagName = this.url ? "a" : "button";
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '135b92b36c52ad014567c93c0bfacff2001f16ef', role: "listitem" }, index.h(TagName, { key: 'd8772442ee0a49f7c300c398ef4021acf0fb74f0', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
63
63
|
"duet-menu-bar-item": true,
|
|
64
64
|
"duet-theme-turva": this.theme === "turva",
|
|
65
65
|
active: this.active,
|
|
66
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.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 && (index.h("duet-icon", { key: '
|
|
66
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && a11yUtils.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 && (index.h("duet-icon", { key: '31ac80c4f12447cadcd0def7a2941a98d063a1cc', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), index.h("slot", { key: '1f9e4b935f68d57288190e3572dabe90c2c49efb' }), (this.trailingIcon || this.external) && (index.h("duet-icon", { key: '24c559a7d56a2adce2fc4aa7d00c2eb5682c2c8e', class: {
|
|
67
67
|
"trailing-icon": !!this.trailingIcon,
|
|
68
68
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
69
69
|
"external-icon": !!this.external,
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const themeableComponent = require('./themeable-component-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
10
|
|
|
11
11
|
const duetMenuBarLinkCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-menu-bar-link{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:inherit;text-align:center;text-decoration:none;white-space:nowrap}.duet-menu-bar-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-menu-bar-link:focus,.duet-menu-bar-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-menu-bar-link .menu-bar-link-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-link .menu-bar-link-icon{width:16px;height:16px}}.duet-menu-bar-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}@media (min-width: 62em){.duet-menu-bar-link{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-link{padding:0 28px}}.duet-menu-bar-link.active{color:rgb(0, 119, 179)}.duet-menu-bar-link.active::after{position:absolute;top:auto;bottom:2px;left:0;z-index:1;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(2px)}@media (min-width: 62em){.duet-menu-bar-link.active::after{z-index:auto;height:2px}}.duet-menu-bar-link.active.duet-theme-turva{color:rgb(198, 12, 48)}.duet-menu-bar-link.active.duet-theme-turva::after{background:rgb(198, 12, 48)}@media (min-width: 62em){.duet-menu-bar-link:hover{color:rgb(0, 119, 179)}.duet-menu-bar-link:hover.duet-theme-turva{color:rgb(198, 12, 48)}}:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva{color:#e61740}:host(.duet-theme-turva2) .duet-menu-bar-link.active.duet-theme-turva::after{background:#e61740}@media (min-width: 62em){:host(.duet-theme-turva2) .duet-menu-bar-link.duet-theme-turva:hover{color:#e61740}}";
|
|
12
12
|
const DuetMenuBarLinkStyle0 = duetMenuBarLinkCss;
|
|
@@ -31,11 +31,11 @@ const DuetMenuBarLink = class {
|
|
|
31
31
|
* Always the last one in the class.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '27e73349cd24930dd1d7ddee302de2260471c5a8', role: "listitem" }, index.h("a", { key: '524e83c821e67703be8ec2cdb09e937d04202ff2', class: {
|
|
35
35
|
"duet-menu-bar-link": true,
|
|
36
36
|
"duet-theme-turva": this.theme === "turva",
|
|
37
37
|
active: this.active,
|
|
38
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: '
|
|
38
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (index.h("duet-icon", { key: 'e85b83e58a78898ca57f6db72178915e4cad29f5', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), index.h("slot", { key: '11758cbe02d818cb5f5f7af2a8832d1712c99fa5' }))));
|
|
39
39
|
}
|
|
40
40
|
get element() { return index.getElement(this); }
|
|
41
41
|
};
|
|
@@ -5,27 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const languageUtils = require('./language-utils-db49b98b.js');
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
10
|
+
const languageUtils = require('./language-utils-eaec2648.js');
|
|
12
11
|
require('./string-utils-7b13c16e.js');
|
|
13
12
|
|
|
14
|
-
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .right{color:#172a3b}";
|
|
13
|
+
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}.duet-menu-bar .container duet-logo.large,.duet-menu-bar .container duet-logo.only-symbol{display:none}.duet-menu-bar .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 76.25em){.duet-menu-bar .container duet-logo.medium{display:none}.duet-menu-bar .container duet-logo.large{display:block}}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start;width:auto;height:40px}@media (min-width: 76.25em){.duet-menu-bar .container>:first-child{height:48px}}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text){flex-grow:8}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text) duet-paragraph{max-height:100%}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container .duet-logo-info-text{max-height:2.8875rem;padding-left:16px;margin-left:16px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(62, 84, 102);text-overflow:ellipsis;border-left:1px solid rgb(212, 223, 229)}.duet-menu-bar .container .duet-logo-info-text.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(71, 78, 101);border-left-color:rgb(222, 224, 228)}@media (min-width: 48em){.duet-menu-bar .container .duet-logo-info-text{max-height:3.3rem;font-size:1rem}}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.large{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .right{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text{color:#354f65;border-left-color:#d4dde2}";
|
|
15
14
|
const DuetMenuBarStyle0 = duetMenuBarCss;
|
|
16
15
|
|
|
17
16
|
const DuetMenuBar = class {
|
|
18
17
|
constructor(hostRef) {
|
|
19
18
|
index.registerInstance(this, hostRef);
|
|
20
19
|
this.duetEvent = index.createEvent(this, "duetEvent", 7);
|
|
21
|
-
/**
|
|
22
|
-
* Own Properties.
|
|
23
|
-
*/
|
|
24
|
-
this.mql = [
|
|
25
|
-
window.matchMedia(tokens.media_query_large.replace(/'/g, "")),
|
|
26
|
-
window.matchMedia(tokens.media_query_xx_large.replace(/'/g, "")),
|
|
27
|
-
];
|
|
28
|
-
this.boundMqlFunctions = [];
|
|
29
20
|
this.previousYScroll = 0;
|
|
30
21
|
this.scrollbarCheck = () => {
|
|
31
22
|
this.leftMoreVisible = this.container.scrollLeft > 0;
|
|
@@ -53,15 +44,6 @@ const DuetMenuBar = class {
|
|
|
53
44
|
const centerSlot = this.element.querySelector('[slot="center"]');
|
|
54
45
|
this.centerSlotUsed = !!centerSlot;
|
|
55
46
|
};
|
|
56
|
-
this.changeLogoSize = () => {
|
|
57
|
-
this.checkCenterSlot();
|
|
58
|
-
if (this.mql[1].matches && this.centerSlotUsed) {
|
|
59
|
-
this.logoSize = "large";
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
this.logoSize = "medium";
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
47
|
this.handleLogoClick = (e) => {
|
|
66
48
|
this.duetEvent.emit({
|
|
67
49
|
name: "logoClick",
|
|
@@ -78,11 +60,13 @@ const DuetMenuBar = class {
|
|
|
78
60
|
this.leftMoreVisible = false;
|
|
79
61
|
this.rightMoreVisible = false;
|
|
80
62
|
this.centerSlotUsed = false;
|
|
63
|
+
this.mediaQueryMediumMatches = false;
|
|
81
64
|
this.theme = "";
|
|
82
65
|
this.language = languageUtils.getLanguage();
|
|
83
66
|
this.logo = true;
|
|
84
67
|
this.logoHref = undefined;
|
|
85
68
|
this.logoLinkAccessibleLabel = undefined;
|
|
69
|
+
this.logoInfoText = undefined;
|
|
86
70
|
this.accessibleLabel = undefined;
|
|
87
71
|
this.hideOnScroll = false;
|
|
88
72
|
}
|
|
@@ -118,26 +102,8 @@ const DuetMenuBar = class {
|
|
|
118
102
|
themeableComponent.inheritGlobalTheme(this);
|
|
119
103
|
}
|
|
120
104
|
connectedCallback() {
|
|
121
|
-
this.changeLogoSize();
|
|
122
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
123
|
-
// addEventListener is not available in Stencil hydrate
|
|
124
|
-
if (this.mql[i].addEventListener) {
|
|
125
|
-
const bound = this.changeLogoSize.bind(this);
|
|
126
|
-
this.mql[i].addEventListener("change", bound);
|
|
127
|
-
this.boundMqlFunctions[i] = bound;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
105
|
this.checkCenterSlot();
|
|
131
106
|
}
|
|
132
|
-
disconnectedCallback() {
|
|
133
|
-
for (let i = 0; i < this.mql.length; i++) {
|
|
134
|
-
// removeEventListener is not available in Stencil hydrate
|
|
135
|
-
if (this.mql[i].removeEventListener) {
|
|
136
|
-
this.mql[i].removeEventListener("change", this.boundMqlFunctions[i]);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
this.boundMqlFunctions = [];
|
|
140
|
-
}
|
|
141
107
|
componentDidLoad() {
|
|
142
108
|
setTimeout(() => {
|
|
143
109
|
this.scrollbarCheck();
|
|
@@ -158,14 +124,17 @@ const DuetMenuBar = class {
|
|
|
158
124
|
render() {
|
|
159
125
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
160
126
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
161
|
-
return (index.h(index.Host, { key: '
|
|
127
|
+
return (index.h(index.Host, { key: '5f05a259d0950cb2cdbc37222b1007ba49d5fe53' }, index.h("nav", { key: '24398b2d0d6d01c22eef86430e0f7db7c6b97171', class: {
|
|
162
128
|
"duet-menu-bar": true,
|
|
163
129
|
"duet-theme-turva": this.theme === "turva",
|
|
164
130
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
165
131
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
166
132
|
hidden: this.hidden && this.hideOnScroll,
|
|
167
133
|
bottom: this.onBottom,
|
|
168
|
-
}, "aria-label": this.accessibleLabel }, index.h("div", { key: '
|
|
134
|
+
}, "aria-label": this.accessibleLabel }, index.h("div", { key: 'abf2962527bf92ead5a89f8648ff3b88a73fbc55', class: "top" }), index.h("div", { key: '068d450752f636f98e7cdeb5043e6bf9297b4c3d', class: { container: true, "with-info-text": !!this.logoInfoText && !this.centerSlotUsed }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (index.h("div", { key: '7e5b816d6ae4e36268ee911cadf56358a864e264' }, index.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 }), index.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 }), index.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 && (index.h("div", { key: 'ebf9c252a82db480eff2fca195f87dfcd2a186f4', class: {
|
|
135
|
+
"duet-logo-info-text": true,
|
|
136
|
+
"duet-theme-turva": this.theme === "turva",
|
|
137
|
+
} }, this.logoInfoText)))), index.h("div", { key: '980619619bf98cc80c36dc5c8d27042f97ff492d', class: "list center", role: "list" }, index.h("div", { key: 'b6f5e67dd04a56da886a3795b21b2f3f4d7e0393', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), index.h("slot", { key: 'f5bc728c183398eba439475b6a29771476944b5b', name: "center" }), index.h("div", { key: 'bf7274db341938f7f0a8fa7784985a6239a5fcc6', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), index.h("div", { key: '6e3343fcef3b45b1a6e741c673d072b994cf4110', class: "list right", role: "list" }, index.h("slot", { key: '3a76e5089f8cc4a1e04786a61c2f8e9cb1160426', name: "right" }))), index.h("div", { key: '6041af35982542751bb94df6ebc8725dd17a6349', class: "bottom" }))));
|
|
169
138
|
}
|
|
170
139
|
get element() { return index.getElement(this); }
|
|
171
140
|
};
|
|
@@ -5,16 +5,18 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-3d15fb5e.js');
|
|
9
9
|
const bodyScrollLock_es6 = require('./bodyScrollLock.es6-dd2d7d91.js');
|
|
10
|
-
const themeableComponent = require('./themeable-component-
|
|
10
|
+
const themeableComponent = require('./themeable-component-46222401.js');
|
|
11
11
|
const commonStrings = require('./common-strings-a54bbf77.js');
|
|
12
|
-
const focusUtils = require('./focus-utils-
|
|
12
|
+
const focusUtils = require('./focus-utils-fa11f04b.js');
|
|
13
13
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
14
|
-
const languageUtils = require('./language-utils-
|
|
15
|
-
const slotUtils = require('./slot-utils-
|
|
14
|
+
const languageUtils = require('./language-utils-eaec2648.js');
|
|
15
|
+
const slotUtils = require('./slot-utils-61317778.js');
|
|
16
16
|
const teleport = require('./teleport-c0eede18.js');
|
|
17
|
+
const tokenUtils = require('./token-utils-658c4c54.js');
|
|
17
18
|
require('./string-utils-7b13c16e.js');
|
|
19
|
+
require('./tokens.module-a7c77c13.js');
|
|
18
20
|
|
|
19
21
|
const duetModalCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;max-height:100vh;overflow-y:auto;visibility:hidden;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:\"\";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transition:300ms ease;transition-delay:0ms;transform:scale(0.96)}.duet-theme-turva .duet-modal{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-modal-active .duet-modal{opacity:1;transition:300ms ease;transition-delay:200ms;transform:none}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transition:all 300ms ease;transform:scaleY(0);transform-origin:top}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:8px;right:8px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-overflow:ellipsis;letter-spacing:-0.01rem;white-space:nowrap}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal{color:#172a3b}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header{background:#fdf7f2;border-bottom:1px solid #d4dde2}";
|
|
20
22
|
const DuetModalStyle0 = duetModalCss;
|
|
@@ -74,6 +76,8 @@ const DuetModal = class {
|
|
|
74
76
|
this.color = "";
|
|
75
77
|
this.active = false;
|
|
76
78
|
this.closeOnBlur = false;
|
|
79
|
+
this.focusElementOnClose = undefined;
|
|
80
|
+
this.accessibleAnnounceChanges = undefined;
|
|
77
81
|
}
|
|
78
82
|
openChanged() {
|
|
79
83
|
if (this.open) {
|
|
@@ -120,9 +124,18 @@ const DuetModal = class {
|
|
|
120
124
|
bodyScrollLock_es6.enableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
121
125
|
this.duetClose.emit();
|
|
122
126
|
this.teleport.removeInertFromSiblings();
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
if (this.focusElementOnClose !== "") {
|
|
128
|
+
setTimeout(() => {
|
|
129
|
+
let focusEl = this.focusedElBeforeOpen;
|
|
130
|
+
if (typeof this.focusElementOnClose === "string") {
|
|
131
|
+
focusEl = document.getElementById(this.focusElementOnClose) || focusEl;
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
focusEl = this.focusElementOnClose || focusEl;
|
|
135
|
+
}
|
|
136
|
+
focusUtils.focusElement(focusEl);
|
|
137
|
+
}, TRANSITION_MS);
|
|
138
|
+
}
|
|
126
139
|
if (this.isAndroidDevice) {
|
|
127
140
|
window.removeEventListener("resize", this.handleAndroidResizeEvents);
|
|
128
141
|
}
|
|
@@ -190,6 +203,12 @@ const DuetModal = class {
|
|
|
190
203
|
async hide() {
|
|
191
204
|
this.open = false;
|
|
192
205
|
}
|
|
206
|
+
/**
|
|
207
|
+
* Set focus on the close button of the modal.
|
|
208
|
+
*/
|
|
209
|
+
async focusCloseButton() {
|
|
210
|
+
this.buttonEl.setFocus();
|
|
211
|
+
}
|
|
193
212
|
/**
|
|
194
213
|
* Scolls the top of the modal's content into view
|
|
195
214
|
*
|
|
@@ -251,20 +270,16 @@ const DuetModal = class {
|
|
|
251
270
|
*/
|
|
252
271
|
render() {
|
|
253
272
|
var _a, _b;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
const closingButton = (index.h("div", { key: '
|
|
257
|
-
|
|
258
|
-
iconColor = "primary-turva";
|
|
259
|
-
closeColor = "secondary-turva";
|
|
260
|
-
}
|
|
261
|
-
return (index.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: {
|
|
273
|
+
const iconColor = tokenUtils.postfixTheme("primary", this.theme);
|
|
274
|
+
const closeColor = tokenUtils.postfixTheme("secondary", this.theme);
|
|
275
|
+
const closingButton = (index.h("div", { key: '9de636719074c96f49913c1a19b33329ae39a3a0', class: "duet-modal-close" }, index.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 })));
|
|
276
|
+
return (index.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: {
|
|
262
277
|
"duet-modal-container": true,
|
|
263
278
|
"duet-theme-turva": this.theme === "turva",
|
|
264
279
|
"duet-modal-active": this.open,
|
|
265
280
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
266
281
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
267
|
-
} }, index.h("duet-overlay", { key: '
|
|
282
|
+
} }, index.h("duet-overlay", { key: 'c70e730388bdfa452ab51fb810304ba004022885', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), index.h("div", { key: 'ceae3fcf909fdfa380eaddc2f8c9ac2637fc8810', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
268
283
|
"duet-modal-inner": true,
|
|
269
284
|
[this.size]: true,
|
|
270
285
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -275,18 +290,22 @@ const DuetModal = class {
|
|
|
275
290
|
this.closeModal(e);
|
|
276
291
|
}
|
|
277
292
|
}
|
|
278
|
-
} }, index.h("div", { key: '
|
|
293
|
+
} }, index.h("div", { key: 'c0559f2b2d236a3e0fd339cd65900d400547fb70', ref: modalContentEl => (this.modalContentEl = modalContentEl), "aria-live": this.accessibleAnnounceChanges === "all" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "all" ? "true" : null, class: {
|
|
279
294
|
"duet-modal": true,
|
|
280
295
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
281
296
|
[this.size]: true,
|
|
282
297
|
[this.variation]: true,
|
|
283
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && index.h("duet-spacer", { key: '
|
|
298
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && index.h("duet-spacer", { key: '81664165163cd30e192906cb50bb71a4906256ba' }), this.hasStickyHeader ? (index.h("div", { class: "duet-modal-sticky-header" }, closingButton, index.h("slot", { name: "sticky-header" }))) : (closingButton), index.h("div", { key: '92c81c3e5545b4a08b93b3174a888cc42837f2ac', class: {
|
|
284
299
|
"duet-modal-body": true,
|
|
285
300
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
286
301
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
287
302
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
288
303
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
289
|
-
} }, index.h("div", { key: '
|
|
304
|
+
}, "aria-live": this.accessibleAnnounceChanges === "heading" ? "polite" : null, "aria-atomic": this.accessibleAnnounceChanges === "heading" ? "true" : null }, index.h("div", { key: '72936aa2c2d2551e34b2c2d7344f666d49c3d0f4', class: "duet-modal-header" }, index.h("span", { key: '30ac91712c2d7065901679fcf1cd5cb0191cbb11', class: "duet-modal-inner-slot-top" }, index.h("slot", { key: 'c7e4bd42dfac73ebdfcf98f9d16438c14945d30b', name: "top" })), this.icon && index.h("duet-icon", { key: '3664c556ad580c917e80e796df4236f89134ab9d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (index.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" && (index.h("div", { key: 'ed0fa900e15be0fef3166e61f2f7c860dab067f0', class: "duet-modal-spinner" }, index.h("duet-spinner", { key: '1d15d8e837273755c1c6242098e198f51c1cda90', size: "large", color: tokenUtils.postfixTheme("primary", this.theme) }))), index.h("div", { key: '4d06b9164f277a7cc586a6b754429764cccb1f2e', "aria-live": this.variation === "loader"
|
|
305
|
+
? "assertive"
|
|
306
|
+
: this.accessibleAnnounceChanges === "body"
|
|
307
|
+
? "polite"
|
|
308
|
+
: null, "aria-atomic": this.accessibleAnnounceChanges === "body" ? "true" : null, class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el) }, index.h("slot", { key: '520b8542f921248916d3470204ce4ee2533da5ee' })))))));
|
|
290
309
|
}
|
|
291
310
|
get element() { return index.getElement(this); }
|
|
292
311
|
static get watchers() { return {
|