@duetds/components 8.6.9 → 8.7.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.d.ts +30 -12
- package/hydrate/index.js +33051 -23517
- package/lib/cjs/{app-globals-aece069f.js → app-globals-44f2c7a3.js} +2 -0
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-alert.cjs.entry.js +10 -9
- package/lib/cjs/duet-badge.cjs.entry.js +5 -4
- package/lib/cjs/duet-banner.cjs.entry.js +6 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +8 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +6 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +13 -11
- package/lib/cjs/duet-callout.cjs.entry.js +6 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +18 -14
- package/lib/cjs/duet-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -2
- package/lib/cjs/duet-checkmark.cjs.entry.js +5 -4
- package/lib/cjs/duet-chip.cjs.entry.js +4 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-collapsible.cjs.entry.js +6 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +5 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +4 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -5
- package/lib/cjs/duet-divider_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +13 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +5 -4
- package/lib/cjs/duet-fieldset.cjs.entry.js +7 -6
- package/lib/cjs/duet-file-chooser.cjs.entry.js +4 -3
- package/lib/cjs/duet-footer.cjs.entry.js +9 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -3
- package/lib/cjs/duet-header_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-hero.cjs.entry.js +10 -9
- package/lib/cjs/duet-icon.cjs.entry.js +6 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -5
- package/lib/cjs/duet-layout.cjs.entry.js +8 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +8 -6
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-menu-bar.cjs.entry.js +5 -4
- package/lib/cjs/duet-modal.cjs.entry.js +17 -14
- package/lib/cjs/duet-multiselect.cjs.entry.js +11 -10
- package/lib/cjs/duet-nav.cjs.entry.js +4 -3
- package/lib/cjs/duet-notification_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -4
- package/lib/cjs/duet-overlay.cjs.entry.js +4 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -4
- package/lib/cjs/duet-pagination_2.cjs.entry.js +19 -17
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +5 -4
- package/lib/cjs/duet-progress.cjs.entry.js +4 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -2
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +24 -21
- package/lib/cjs/duet-section-layout.cjs.entry.js +6 -5
- package/lib/cjs/duet-select.cjs.entry.js +4 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +5 -4
- package/lib/cjs/duet-show-more.cjs.entry.js +6 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
- package/lib/cjs/duet-step_2.cjs.entry.js +6 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +4 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +7 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +4 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -2
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +7 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -4
- package/lib/cjs/duet-toolbar.cjs.entry.js +4 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +10 -8
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -3
- package/lib/cjs/duet-tray.cjs.entry.js +6 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +7 -6
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -3
- package/lib/cjs/duet.cjs.js +15 -15
- package/lib/cjs/{errorcodes.utils-a86b1f94.js → errorcodes.utils-d9f472df.js} +1 -1
- package/lib/cjs/{focus-utils-70eaf22e.js → focus-utils-2de8d5de.js} +1 -1
- package/lib/cjs/index-7efe7e19.js +1996 -0
- package/lib/cjs/{language-utils-e8a527e5.js → language-utils-1ed4b266.js} +1 -0
- package/lib/cjs/loader.cjs.js +4 -4
- package/lib/cjs/{slot-utils-03a40c78.js → slot-utils-0664e341.js} +2 -0
- package/lib/collection/collection-manifest.json +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +3 -3
- package/lib/collection/components/duet-alert/duet-alert.js +6 -6
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- 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.js +10 -10
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +3 -3
- package/lib/collection/components/duet-card/duet-card.js +6 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +7 -7
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
- package/lib/collection/components/duet-footer/duet-footer.js +11 -11
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +3 -3
- package/lib/collection/components/duet-hero/duet-hero.js +10 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +6 -6
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.css +6 -0
- package/lib/collection/components/duet-modal/duet-modal.js +14 -12
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +12 -12
- 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 +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +3 -3
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +1 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +9 -9
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -4
- 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 +10 -10
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +2 -2
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +16 -16
- package/lib/collection/components/duet-upload/mock.helpers.js +6 -4
- 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 +5 -5
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/axe-core-utils.js +12 -4
- package/lib/collection/utils/test-utils.js +82 -32
- 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 +9 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +10 -9
- package/lib/dist-custom-elements/duet-breadcrumbs.js +6 -5
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +7 -6
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +8 -7
- 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 +11 -10
- package/lib/dist-custom-elements/duet-choice.js +8 -7
- package/lib/dist-custom-elements/duet-collapsible.js +7 -6
- package/lib/dist-custom-elements/duet-combobox.js +17 -16
- package/lib/dist-custom-elements/duet-contact-card.js +13 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +9 -8
- package/lib/dist-custom-elements/duet-date-picker.js +19 -18
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +11 -10
- 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 +5 -4
- package/lib/dist-custom-elements/duet-footer.js +15 -14
- 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 +12 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +18 -17
- 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 +8 -7
- 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 +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -5
- package/lib/dist-custom-elements/duet-menu-bar.js +6 -5
- package/lib/dist-custom-elements/duet-modal.js +24 -21
- package/lib/dist-custom-elements/duet-multiselect.js +19 -18
- package/lib/dist-custom-elements/duet-nav.js +4 -3
- package/lib/dist-custom-elements/duet-notification-drawer.js +9 -8
- package/lib/dist-custom-elements/duet-notification.js +7 -6
- package/lib/dist-custom-elements/duet-number-input.js +15 -14
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +6 -5
- package/lib/dist-custom-elements/duet-pagination.js +27 -26
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +5 -4
- package/lib/dist-custom-elements/duet-popup-menu.js +6 -5
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +8 -7
- package/lib/dist-custom-elements/duet-radio-group.js +11 -10
- package/lib/dist-custom-elements/duet-radio.js +3 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -3
- package/lib/dist-custom-elements/duet-range-stepper.js +9 -8
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +6 -5
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +5 -4
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-link.js +6 -5
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-slideout-panel.js +13 -12
- package/lib/dist-custom-elements/duet-slideout.js +12 -11
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -5
- package/lib/dist-custom-elements/duet-stepper.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +5 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +9 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -20
- package/lib/dist-custom-elements/duet-tab.js +4 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +13 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +8 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +6 -5
- package/lib/dist-custom-elements/duet-toolbar.js +4 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +8 -7
- 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 +25 -24
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +2 -1
- package/lib/dist-custom-elements/{p-b5a6f5f9.js → p-00eccbc8.js} +5 -4
- package/lib/dist-custom-elements/{p-b87843f5.js → p-0231ea20.js} +5 -4
- package/lib/dist-custom-elements/{p-c99bddba.js → p-02911244.js} +3 -3
- package/lib/dist-custom-elements/{p-78209aab.js → p-03c64124.js} +5 -4
- package/lib/dist-custom-elements/{p-e6d523be.js → p-12a09bbc.js} +5 -4
- package/lib/dist-custom-elements/{p-1957643a.js → p-151934ce.js} +8 -7
- package/lib/dist-custom-elements/{p-1ea56cf4.js → p-1c341405.js} +11 -10
- package/lib/dist-custom-elements/{p-f1028141.js → p-21e0af47.js} +18 -17
- package/lib/dist-custom-elements/{p-74d01f33.js → p-26d4d49e.js} +3 -2
- package/lib/dist-custom-elements/{p-3cf82739.js → p-2a041992.js} +7 -6
- package/lib/dist-custom-elements/{p-2e36d5bf.js → p-2f5e2da8.js} +1 -0
- package/lib/dist-custom-elements/{p-f3728487.js → p-330bf2a1.js} +4 -3
- package/lib/dist-custom-elements/{p-66c352ec.js → p-37e44d89.js} +5 -4
- package/lib/dist-custom-elements/{p-f88a470f.js → p-384f880b.js} +6 -5
- package/lib/dist-custom-elements/{p-b40ce3f5.js → p-3e74515a.js} +10 -9
- package/lib/dist-custom-elements/{p-08fe569b.js → p-401b6b1f.js} +5 -4
- package/lib/dist-custom-elements/{p-2329d234.js → p-45dd5240.js} +7 -6
- package/lib/dist-custom-elements/p-47c44289.js +178 -0
- package/lib/dist-custom-elements/{p-b4c1ec48.js → p-48a3af88.js} +3 -2
- package/lib/dist-custom-elements/{p-30e63ae6.js → p-5ad5934d.js} +4 -3
- package/lib/dist-custom-elements/{p-5eecfef8.js → p-61ffea9e.js} +6 -5
- package/lib/dist-custom-elements/{p-2af5e0df.js → p-6bd18890.js} +15 -14
- package/lib/dist-custom-elements/{p-9dec9a4f.js → p-706daff4.js} +14 -13
- package/lib/dist-custom-elements/{p-8cb65ba1.js → p-7666f1bc.js} +5 -4
- package/lib/dist-custom-elements/{p-813731c9.js → p-7eef087e.js} +12 -11
- package/lib/{esm/floating-ui.dom.esm-01fcd83a.js → dist-custom-elements/p-81287261.js} +1 -1
- package/lib/{esm/slot-utils-b50aaef5.js → dist-custom-elements/p-895db398.js} +2 -0
- package/lib/dist-custom-elements/{p-c5e0f02e.js → p-8fb1d873.js} +15 -14
- package/lib/dist-custom-elements/{p-493f8393.js → p-955053f9.js} +7 -5
- package/lib/dist-custom-elements/p-955746f9.js +1848 -0
- package/lib/dist-custom-elements/{p-fca7381f.js → p-9bda0343.js} +5 -4
- package/lib/dist-custom-elements/{p-a8e03f99.js → p-9d348a4b.js} +4 -3
- package/lib/dist-custom-elements/{p-ff1270a4.js → p-9dc74a9b.js} +8 -7
- package/lib/dist-custom-elements/{p-db050a49.js → p-ad23e869.js} +6 -5
- package/lib/dist-custom-elements/{p-4d30ade6.js → p-b8bb3910.js} +5 -4
- package/lib/dist-custom-elements/{p-3669efe2.js → p-bb20326f.js} +4 -3
- package/lib/dist-custom-elements/{p-01cf2a68.js → p-c7a796da.js} +4 -3
- package/lib/dist-custom-elements/{p-4bd749d9.js → p-d2f0147b.js} +1 -1
- package/lib/dist-custom-elements/{p-098dceeb.js → p-d7ff39b6.js} +5 -4
- package/lib/dist-custom-elements/{p-fb63363c.js → p-e091bb48.js} +3 -2
- package/lib/dist-custom-elements/{p-8812cc2d.js → p-f1938f1a.js} +3 -2
- package/lib/dist-custom-elements/{p-d37c28c4.js → p-fd601808.js} +9 -8
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-01e99b47.system.entry.js +4 -0
- package/lib/duet/p-032d42d4.entry.js +4 -0
- package/lib/duet/{p-479356b0.system.entry.js → p-06472b8c.entry.js} +1 -1
- package/lib/duet/p-064b908b.entry.js +4 -0
- package/lib/duet/p-069aaf78.entry.js +4 -0
- package/lib/duet/{p-6b262dd3.system.entry.js → p-077b9a06.system.entry.js} +1 -1
- package/lib/duet/p-08866b96.system.entry.js +4 -0
- package/lib/duet/{p-7f2d5f51.system.entry.js → p-08daf525.system.entry.js} +1 -1
- package/lib/duet/p-0a042569.entry.js +4 -0
- package/lib/duet/p-0c3a491b.system.entry.js +4 -0
- package/lib/duet/{p-655f4a55.system.entry.js → p-0cbdf836.system.entry.js} +1 -1
- package/lib/duet/{p-15d65ccc.system.js → p-0dc9089b.system.js} +1 -1
- package/lib/duet/{p-fabb616b.js → p-0f1980bc.js} +1 -1
- package/lib/duet/{p-417beb9a.system.entry.js → p-115a50f2.system.entry.js} +1 -1
- package/lib/duet/{p-cb19e302.system.entry.js → p-12b4df90.system.entry.js} +1 -1
- package/lib/duet/p-13ea970e.system.entry.js +4 -0
- package/lib/duet/{p-a348c54b.entry.js → p-155b7733.entry.js} +1 -1
- package/lib/duet/p-16be8ba9.entry.js +4 -0
- package/lib/duet/{p-ffe56186.entry.js → p-16e63390.entry.js} +1 -1
- package/lib/duet/p-1784b1d2.js +1 -1
- package/lib/duet/{p-704c0f0d.system.entry.js → p-17eeb1cc.system.entry.js} +1 -1
- package/lib/duet/p-1801e2be.entry.js +4 -0
- package/lib/duet/p-18d8207e.entry.js +4 -0
- package/lib/duet/{p-8ca5bf9e.entry.js → p-198b0f16.entry.js} +1 -1
- package/lib/duet/p-1a6ea3db.entry.js +4 -0
- package/lib/duet/p-1d1f8607.entry.js +4 -0
- package/lib/duet/p-23805ac9.entry.js +4 -0
- package/lib/duet/p-2383fbeb.entry.js +4 -0
- package/lib/duet/p-2504c504.entry.js +4 -0
- package/lib/duet/p-28106a87.system.entry.js +4 -0
- package/lib/duet/{p-8d1b8830.system.entry.js → p-2928c320.system.entry.js} +1 -1
- package/lib/duet/{p-47f78f59.entry.js → p-29665476.entry.js} +1 -1
- package/lib/duet/p-2aa796b7.js +4 -0
- package/lib/duet/p-2b9defde.system.entry.js +4 -0
- package/lib/duet/p-2c78ff7b.system.entry.js +4 -0
- package/lib/duet/p-300c8dd9.entry.js +4 -0
- package/lib/duet/{p-a7f18b4b.entry.js → p-32be247b.entry.js} +1 -1
- package/lib/duet/p-32d698f2.system.entry.js +4 -0
- package/lib/duet/{p-0f729e7b.entry.js → p-364d7058.entry.js} +1 -1
- package/lib/duet/p-3e1a0cb7.entry.js +4 -0
- package/lib/duet/p-41b6d132.entry.js +4 -0
- package/lib/duet/{p-6686effb.entry.js → p-41d5039a.entry.js} +1 -1
- package/lib/duet/p-428f66d6.system.entry.js +4 -0
- package/lib/duet/p-42e31c87.entry.js +4 -0
- package/lib/duet/p-43417c63.entry.js +4 -0
- package/lib/duet/{p-d4ff7def.system.entry.js → p-4487736b.system.entry.js} +1 -1
- package/lib/duet/p-4520f63d.system.entry.js +4 -0
- package/lib/duet/p-46079f71.entry.js +4 -0
- package/lib/duet/p-48879a51.entry.js +4 -0
- package/lib/duet/{p-1cdd5c02.entry.js → p-4a8d2af0.entry.js} +1 -1
- package/lib/duet/{p-60b05f1a.js → p-4bc401c3.js} +1 -1
- package/lib/duet/p-50c0ea9c.system.entry.js +4 -0
- package/lib/duet/p-54351362.entry.js +4 -0
- package/lib/duet/p-54c28fa4.system.entry.js +4 -0
- package/lib/duet/p-55327462.entry.js +4 -0
- package/lib/duet/p-5672308b.entry.js +4 -0
- package/lib/duet/p-56d35ccf.system.entry.js +4 -0
- package/lib/duet/p-5776972c.entry.js +4 -0
- package/lib/duet/p-585ad67b.entry.js +4 -0
- package/lib/duet/p-5866eaea.entry.js +4 -0
- package/lib/duet/p-58cb8b0b.system.entry.js +4 -0
- package/lib/duet/p-5abdc5ab.entry.js +4 -0
- package/lib/duet/p-5cb08833.system.entry.js +4 -0
- package/lib/duet/p-5f3de870.system.entry.js +4 -0
- package/lib/duet/{p-da20db91.system.js → p-6084bf4c.system.js} +1 -1
- package/lib/duet/{p-a7142da1.entry.js → p-60d43265.entry.js} +1 -1
- package/lib/duet/{p-476dc053.system.entry.js → p-61a24bce.system.entry.js} +1 -1
- package/lib/duet/{p-9babc342.system.entry.js → p-66e3ce81.system.entry.js} +1 -1
- package/lib/duet/p-6892b798.system.entry.js +4 -0
- package/lib/duet/{p-606b73ad.system.entry.js → p-68a9aeee.system.entry.js} +1 -1
- package/lib/duet/p-68f52c23.system.entry.js +4 -0
- package/lib/duet/p-693ad8aa.entry.js +4 -0
- package/lib/duet/{p-a5701d13.system.entry.js → p-6a496c70.system.entry.js} +1 -1
- package/lib/duet/{p-7ab2768e.entry.js → p-6a84bf93.entry.js} +1 -1
- package/lib/duet/p-6bb927f9.system.entry.js +4 -0
- package/lib/duet/p-6c76d396.entry.js +4 -0
- package/lib/duet/p-6cdd3596.entry.js +4 -0
- package/lib/duet/{p-a2721f76.system.entry.js → p-6d157e53.system.entry.js} +1 -1
- package/lib/duet/p-6d75cdf6.system.js +4 -0
- package/lib/duet/p-6db296a5.entry.js +4 -0
- package/lib/duet/{p-7f1f146d.system.entry.js → p-6dfa9f0e.system.entry.js} +1 -1
- package/lib/duet/{p-cd06b10d.system.entry.js → p-70ba1823.system.entry.js} +1 -1
- package/lib/duet/p-72affe21.system.entry.js +4 -0
- package/lib/duet/p-7340e2e2.entry.js +4 -0
- package/lib/duet/p-7344d97c.system.js +4 -0
- package/lib/duet/p-7a5dd34d.entry.js +4 -0
- package/lib/duet/p-7b0e681f.system.entry.js +4 -0
- package/lib/duet/{p-91397e6b.system.entry.js → p-7bfc6d05.system.entry.js} +1 -1
- package/lib/duet/p-7c3649ba.js +5 -0
- package/lib/duet/p-7c533802.entry.js +4 -0
- package/lib/duet/p-7d473104.system.entry.js +4 -0
- package/lib/duet/{p-50245e90.system.entry.js → p-7e4597c6.system.entry.js} +1 -1
- package/lib/duet/p-7f8fc279.entry.js +4 -0
- package/lib/duet/p-7ff17c05.system.entry.js +4 -0
- package/lib/duet/p-80d722bc.entry.js +4 -0
- package/lib/duet/{p-31ed51c3.js → p-81287261.js} +1 -1
- package/lib/duet/p-813c2271.entry.js +4 -0
- package/lib/duet/{p-f04d6b0b.system.entry.js → p-83b88e0d.system.entry.js} +1 -1
- package/lib/duet/{p-8a10dc98.system.entry.js → p-84c50c75.system.entry.js} +1 -1
- package/lib/duet/p-8589c504.system.entry.js +4 -0
- package/lib/duet/p-86361d66.system.entry.js +4 -0
- package/lib/duet/p-8aefdb36.entry.js +4 -0
- package/lib/duet/p-8d4fde72.entry.js +4 -0
- package/lib/duet/{p-3d4de145.system.entry.js → p-8dcb869d.system.entry.js} +2 -2
- package/lib/duet/p-933895d6.system.entry.js +4 -0
- package/lib/duet/p-93d9f454.system.js +4 -0
- package/lib/duet/{p-93db9152.system.entry.js → p-95778aca.system.entry.js} +2 -2
- package/lib/duet/{p-8030b82b.entry.js → p-97f74160.entry.js} +1 -1
- package/lib/duet/p-98ac1721.system.entry.js +4 -0
- package/lib/duet/{p-2eb2da03.system.entry.js → p-9b6cc90a.system.entry.js} +1 -1
- package/lib/duet/{p-518dea6c.entry.js → p-9bdec5df.entry.js} +1 -1
- package/lib/duet/p-9d4cd103.system.entry.js +4 -0
- package/lib/duet/p-9d5823eb.entry.js +4 -0
- package/lib/duet/{p-a17fa7ec.entry.js → p-9e60a58d.entry.js} +1 -1
- package/lib/duet/p-9ef799f8.js +4 -0
- package/lib/duet/p-9f850d18.system.entry.js +4 -0
- package/lib/duet/p-9f9e290a.system.entry.js +4 -0
- package/lib/duet/p-a168b3f5.system.js +4 -0
- package/lib/duet/p-a32dad7f.system.entry.js +4 -0
- package/lib/duet/p-a4d9c151.system.entry.js +4 -0
- package/lib/duet/p-a5d65d5f.entry.js +4 -0
- package/lib/duet/{p-b4ac803f.system.entry.js → p-a7768425.system.entry.js} +2 -2
- package/lib/duet/p-a7c62459.system.entry.js +4 -0
- package/lib/duet/{p-7cbd0a49.system.entry.js → p-a8301a1a.system.entry.js} +1 -1
- package/lib/duet/{p-0d0f1937.system.entry.js → p-a9891098.system.entry.js} +1 -1
- package/lib/duet/p-aa1f6b55.entry.js +4 -0
- package/lib/duet/p-ac596f9f.entry.js +4 -0
- package/lib/duet/p-acd65ed7.entry.js +4 -0
- package/lib/duet/p-ad433963.system.entry.js +4 -0
- package/lib/duet/{p-366c4344.entry.js → p-ae714885.entry.js} +1 -1
- package/lib/duet/p-aeaa9698.entry.js +4 -0
- package/lib/duet/{p-2dfd9b5a.system.entry.js → p-aface64d.system.entry.js} +1 -1
- package/lib/duet/p-afadf391.entry.js +4 -0
- package/lib/duet/p-b0be53ba.entry.js +4 -0
- package/lib/duet/p-b25d69bf.system.entry.js +4 -0
- package/lib/duet/p-b2b49d1a.entry.js +4 -0
- package/lib/duet/p-b3bff87d.entry.js +4 -0
- package/lib/duet/{p-940923be.system.entry.js → p-b5e50220.system.entry.js} +2 -2
- package/lib/duet/{p-dab3f2c1.system.entry.js → p-b70dd317.system.entry.js} +1 -1
- package/lib/duet/p-b8fc9725.system.entry.js +4 -0
- package/lib/duet/p-b9772bdf.entry.js +4 -0
- package/lib/duet/p-b9e27ff4.entry.js +4 -0
- package/lib/duet/{p-c13130e0.system.entry.js → p-ba7fbd88.system.entry.js} +1 -1
- package/lib/duet/p-bd936407.js +4 -0
- package/lib/duet/{p-46411634.system.entry.js → p-bddc227d.system.entry.js} +1 -1
- package/lib/duet/{p-419155c3.system.entry.js → p-bf5630d6.system.entry.js} +1 -1
- package/lib/duet/p-bfecf35c.entry.js +4 -0
- package/lib/duet/p-c1445714.system.js +1 -1
- package/lib/duet/p-c3de57c1.system.entry.js +4 -0
- package/lib/duet/{p-0570cfe8.system.entry.js → p-c45a4823.system.entry.js} +1 -1
- package/lib/duet/p-c45c1cc8.entry.js +4 -0
- package/lib/duet/p-c5759522.system.entry.js +4 -0
- package/lib/duet/p-c62ed778.entry.js +4 -0
- package/lib/duet/{p-b43d1482.entry.js → p-cb4e6c86.entry.js} +1 -1
- package/lib/duet/p-cf83f662.entry.js +4 -0
- package/lib/duet/p-d0f3224e.entry.js +4 -0
- package/lib/duet/{p-7d7195fa.system.entry.js → p-d52fa492.system.entry.js} +1 -1
- package/lib/duet/p-d6c95c73.system.entry.js +4 -0
- package/lib/duet/p-d920063d.entry.js +4 -0
- package/lib/duet/p-dde61943.system.js +4 -0
- package/lib/duet/p-e0db32fc.system.entry.js +4 -0
- package/lib/duet/p-e38064d5.entry.js +4 -0
- package/lib/duet/p-e4674cda.entry.js +4 -0
- package/lib/duet/p-e7d7928e.system.js +5 -0
- package/lib/duet/{p-e10fb0a3.entry.js → p-e824a614.entry.js} +1 -1
- package/lib/duet/p-ec143606.entry.js +4 -0
- package/lib/duet/{p-d02d3b69.system.entry.js → p-ee6f4bc1.system.entry.js} +2 -2
- package/lib/duet/p-ee8bcb1f.entry.js +4 -0
- package/lib/duet/{p-38d89cee.system.entry.js → p-ef9675f8.system.entry.js} +2 -2
- package/lib/duet/{p-4b7aa601.system.entry.js → p-ef9b2ced.system.entry.js} +1 -1
- package/lib/duet/p-f0eeebb5.entry.js +4 -0
- package/lib/duet/p-f1a726c9.entry.js +4 -0
- package/lib/duet/{p-1654f122.system.entry.js → p-f2f1de65.system.entry.js} +2 -2
- package/lib/duet/{p-2de06e83.system.entry.js → p-f6ea07d1.system.entry.js} +1 -1
- package/lib/duet/p-f6fc4754.system.entry.js +4 -0
- package/lib/duet/p-f9069050.system.entry.js +4 -0
- package/lib/duet/p-fbb2d1c4.system.entry.js +4 -0
- package/lib/duet/{p-b3042ddc.entry.js → p-fc76bb60.entry.js} +1 -1
- package/lib/duet/p-fd1cbfc8.entry.js +4 -0
- package/lib/esm/{app-globals-45aa6d20.js → app-globals-21820dd0.js} +2 -0
- package/lib/esm/duet-action-button.entry.js +5 -4
- package/lib/esm/duet-alert.entry.js +10 -9
- package/lib/esm/duet-badge.entry.js +5 -4
- package/lib/esm/duet-banner.entry.js +6 -5
- package/lib/esm/duet-breadcrumb.entry.js +8 -7
- package/lib/esm/duet-breadcrumbs.entry.js +6 -5
- package/lib/esm/duet-button_2.entry.js +13 -11
- package/lib/esm/duet-callout.entry.js +6 -5
- package/lib/esm/duet-caption_4.entry.js +18 -14
- package/lib/esm/duet-card.entry.js +6 -5
- package/lib/esm/duet-checkbox.entry.js +3 -2
- package/lib/esm/duet-checkmark.entry.js +5 -4
- package/lib/esm/duet-chip.entry.js +4 -3
- package/lib/esm/duet-choice_2.entry.js +7 -5
- package/lib/esm/duet-collapsible.entry.js +6 -5
- package/lib/esm/duet-combobox.entry.js +5 -4
- package/lib/esm/duet-contact-card.entry.js +6 -5
- package/lib/esm/duet-cookie-consent.entry.js +4 -3
- package/lib/esm/duet-date-picker.entry.js +6 -5
- package/lib/esm/duet-divider_2.entry.js +7 -5
- package/lib/esm/duet-editable-table_3.entry.js +13 -10
- package/lib/esm/duet-empty-state.entry.js +5 -4
- package/lib/esm/duet-fieldset.entry.js +7 -6
- package/lib/esm/duet-file-chooser.entry.js +4 -3
- package/lib/esm/duet-footer.entry.js +9 -8
- package/lib/esm/duet-grid_2.entry.js +5 -3
- package/lib/esm/duet-header_2.entry.js +7 -5
- package/lib/esm/duet-hero.entry.js +10 -9
- package/lib/esm/duet-icon.entry.js +6 -5
- package/lib/esm/duet-input_2.entry.js +7 -5
- package/lib/esm/duet-layout.entry.js +8 -7
- package/lib/esm/duet-list_2.entry.js +8 -6
- package/lib/esm/duet-menu-bar-button.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-menu-bar-item.entry.js +5 -4
- package/lib/esm/duet-menu-bar-link.entry.js +5 -4
- package/lib/esm/duet-menu-bar.entry.js +5 -4
- package/lib/esm/duet-modal.entry.js +17 -14
- package/lib/esm/duet-multiselect.entry.js +11 -10
- package/lib/esm/duet-nav.entry.js +4 -3
- package/lib/esm/duet-notification_2.entry.js +10 -8
- package/lib/esm/duet-number-input.entry.js +5 -4
- package/lib/esm/duet-overlay.entry.js +4 -3
- package/lib/esm/duet-page-heading.entry.js +5 -4
- package/lib/esm/duet-pagination_2.entry.js +19 -17
- package/lib/esm/duet-popup-menu-item.entry.js +4 -3
- package/lib/esm/duet-popup-menu.entry.js +6 -5
- package/lib/esm/duet-progress.entry.js +4 -3
- package/lib/esm/duet-promo-card.entry.js +6 -5
- package/lib/esm/duet-radio_2.entry.js +6 -4
- package/lib/esm/duet-range-slider.entry.js +3 -2
- package/lib/esm/duet-scrollable_3.entry.js +24 -21
- package/lib/esm/duet-section-layout.entry.js +6 -5
- package/lib/esm/duet-select.entry.js +4 -3
- package/lib/esm/duet-shaped-image.entry.js +5 -4
- package/lib/esm/duet-show-more.entry.js +6 -5
- package/lib/esm/duet-slideout-lang.entry.js +5 -4
- package/lib/esm/duet-slideout-link.entry.js +5 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +7 -6
- package/lib/esm/duet-slideout-panel.entry.js +12 -11
- package/lib/esm/duet-slideout.entry.js +10 -9
- package/lib/esm/duet-step_2.entry.js +6 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +7 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +4 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +4 -3
- package/lib/esm/duet-submenu-bar.entry.js +7 -6
- package/lib/esm/duet-textarea.entry.js +4 -3
- package/lib/esm/duet-toggle.entry.js +3 -2
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +7 -6
- package/lib/esm/duet-toolbar-item.entry.js +5 -4
- package/lib/esm/duet-toolbar-link.entry.js +5 -4
- package/lib/esm/duet-toolbar.entry.js +4 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +10 -8
- package/lib/esm/duet-tooltip.entry.js +5 -4
- package/lib/esm/duet-tray.entry.js +6 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +7 -6
- package/lib/esm/duet-visually-hidden.entry.js +4 -3
- package/lib/esm/duet.js +16 -16
- package/lib/esm/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/{dist-custom-elements/p-31ed51c3.js → esm/floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm/{focus-utils-be6b1c62.js → focus-utils-f583d4fb.js} +1 -1
- package/lib/esm/index-640026f0.js +1962 -0
- package/lib/esm/{language-utils-00ca4c55.js → language-utils-eda57343.js} +1 -0
- package/lib/esm/loader.js +5 -5
- package/lib/{dist-custom-elements/p-06e608ae.js → esm/slot-utils-00899492.js} +2 -0
- package/lib/esm/token-utils-1f843fb9.js +1 -1
- package/lib/esm-es5/app-globals-21820dd0.js +4 -0
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +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 +2 -2
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +2 -2
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +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 +2 -2
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu-item.entry.js +2 -2
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +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-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 +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +2 -2
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/{errorcodes.utils-e681347c.js → errorcodes.utils-a4ae6efc.js} +1 -1
- package/lib/esm-es5/{floating-ui.dom.esm-01fcd83a.js → floating-ui.dom.esm-ebc91b33.js} +1 -1
- package/lib/esm-es5/focus-utils-f583d4fb.js +4 -0
- package/lib/esm-es5/index-640026f0.js +5 -0
- package/lib/esm-es5/language-utils-eda57343.js +4 -0
- package/lib/esm-es5/loader.js +2 -2
- package/lib/esm-es5/slot-utils-00899492.js +4 -0
- package/lib/esm-es5/token-utils-1f843fb9.js +1 -1
- package/lib/loader/cdn.js +1 -1
- package/lib/loader/index.cjs.js +1 -1
- package/lib/loader/index.d.ts +3 -0
- package/lib/loader/index.es2017.js +1 -1
- package/lib/loader/index.js +1 -1
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
- package/lib/types/components/duet-upload/mock.helpers.d.ts +1 -0
- package/lib/types/stencil-public-runtime.d.ts +3 -10
- package/lib/types/utils/axe-core-utils.d.ts +2 -1
- package/lib/types/utils/test-utils.d.ts +22 -10
- package/lib/types/utils/watch-options.d.ts +2 -2
- package/package.json +17 -16
- package/lib/cjs/index-1d154c3d.js +0 -2836
- package/lib/collection/components/duet-action-button/duet-action-button.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-alert/duet-alert.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-alert/duet-alert.e2e.js +0 -53
- package/lib/collection/components/duet-badge/duet-badge.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-badge/duet-badge.e2e.js +0 -28
- package/lib/collection/components/duet-banner/duet-banner.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-banner/duet-banner.e2e.js +0 -23
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.e2e.js +0 -18
- package/lib/collection/components/duet-button/duet-button.a11y.e2e.js +0 -48
- package/lib/collection/components/duet-button/duet-button.e2e.js +0 -212
- package/lib/collection/components/duet-callout/duet-callout.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-callout/duet-callout.e2e.js +0 -21
- package/lib/collection/components/duet-caption/duet-caption.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-caption/duet-caption.e2e.js +0 -26
- package/lib/collection/components/duet-card/duet-card.a11y.e2e.js +0 -29
- package/lib/collection/components/duet-card/duet-card.e2e.js +0 -91
- package/lib/collection/components/duet-checkbox/duet-checkbox.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-checkbox/duet-checkbox.e2e.js +0 -112
- package/lib/collection/components/duet-chip/duet-chip.a11y.e2e.js +0 -25
- package/lib/collection/components/duet-chip/duet-chip.e2e.js +0 -56
- package/lib/collection/components/duet-choice/duet-choice.a11y.e2e.js +0 -79
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +0 -184
- package/lib/collection/components/duet-choice-group/duet-choice-group.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -102
- package/lib/collection/components/duet-collapsible/duet-collapsible.a11y.e2e.js +0 -24
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -123
- package/lib/collection/components/duet-combobox/duet-combobox.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +0 -153
- package/lib/collection/components/duet-contact-card/duet-contact-card.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -27
- package/lib/collection/components/duet-date-picker/date-utils.spec.js +0 -330
- package/lib/collection/components/duet-date-picker/duet-date-picker.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -693
- package/lib/collection/components/duet-divider/duet-divider.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-divider/duet-divider.e2e.js +0 -32
- package/lib/collection/components/duet-editable-table/duet-editable-table.a11y.e2e.js +0 -202
- package/lib/collection/components/duet-editable-table/duet-editable-table.e2e.js +0 -29
- package/lib/collection/components/duet-empty-state/duet-empty-state.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-empty-state/duet-empty-state.e2e.js +0 -16
- package/lib/collection/components/duet-fieldset/duet-fieldset.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-fieldset/duet-fieldset.e2e.js +0 -13
- package/lib/collection/components/duet-footer/duet-footer.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +0 -186
- package/lib/collection/components/duet-grid/duet-grid.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-grid/duet-grid.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.a11y.e2e.js +0 -42
- package/lib/collection/components/duet-header/duet-header.e2e.js +0 -470
- package/lib/collection/components/duet-heading/duet-heading.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-heading/duet-heading.e2e.js +0 -27
- package/lib/collection/components/duet-hero/duet-hero.a11y.e2e.js +0 -70
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +0 -172
- package/lib/collection/components/duet-icon/duet-icon.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-icon/duet-icon.e2e.js +0 -27
- package/lib/collection/components/duet-icon/icon-utils.spec.js +0 -84
- package/lib/collection/components/duet-input/duet-input.a11y.e2e.js +0 -33
- package/lib/collection/components/duet-input/duet-input.e2e.js +0 -201
- package/lib/collection/components/duet-label/duet-label.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-label/duet-label.e2e.js +0 -32
- package/lib/collection/components/duet-layout/duet-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +0 -32
- package/lib/collection/components/duet-link/duet-link.a11y.e2e.js +0 -39
- package/lib/collection/components/duet-link/duet-link.e2e.js +0 -53
- package/lib/collection/components/duet-list/duet-list.a11y.e2e.js +0 -30
- package/lib/collection/components/duet-list/duet-list.e2e.js +0 -105
- package/lib/collection/components/duet-logo/duet-logo.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-logo/duet-logo.e2e.js +0 -42
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.a11y.e2e.js +0 -63
- package/lib/collection/components/duet-modal/duet-modal.a11y.e2e.js +0 -49
- package/lib/collection/components/duet-modal/duet-modal.e2e.js +0 -113
- package/lib/collection/components/duet-multiselect/duet-multiselect.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-multiselect/duet-multiselect.e2e.js +0 -157
- package/lib/collection/components/duet-notification/duet-notification.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-notification/duet-notification.e2e.js +0 -12
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.e2e.js +0 -177
- package/lib/collection/components/duet-number-input/duet-number-input-negative.e2e.js +0 -32
- package/lib/collection/components/duet-number-input/duet-number-input.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-number-input/duet-number-input.e2e.js +0 -242
- package/lib/collection/components/duet-page-heading/duet-page-heading.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-pagination/duet-pagination.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-pagination/duet-pagination.e2e.js +0 -101
- package/lib/collection/components/duet-paragraph/duet-paragraph.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-paragraph/duet-paragraph.e2e.js +0 -27
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.a11y.e2e.js +0 -27
- package/lib/collection/components/duet-progress/duet-progress.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-progress/duet-progress.e2e.js +0 -12
- package/lib/collection/components/duet-promo-card/duet-promo-card.a11y.e2e.js +0 -43
- package/lib/collection/components/duet-promo-card/duet-promo-card.e2e.js +0 -23
- package/lib/collection/components/duet-radio/duet-radio.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-radio/duet-radio.e2e.js +0 -135
- package/lib/collection/components/duet-radio-group/duet-radio-group.a11y.e2e.js +0 -36
- package/lib/collection/components/duet-radio-group/duet-radio-group.e2e.js +0 -57
- package/lib/collection/components/duet-range-slider/duet-range-slider.a11y.e2e.js +0 -14
- package/lib/collection/components/duet-range-slider/duet-range-slider.e2e.js +0 -57
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +0 -52
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.spec.js +0 -23
- package/lib/collection/components/duet-scrollable/duet-scrollable.a11y.e2e.js +0 -17
- package/lib/collection/components/duet-scrollable/duet-scrollable.e2e.js +0 -12
- package/lib/collection/components/duet-section-layout/duet-section-layout.a11y.e2e.js +0 -18
- package/lib/collection/components/duet-section-layout/duet-section-layout.e2e.js +0 -22
- package/lib/collection/components/duet-select/duet-select.a11y.e2e.js +0 -45
- package/lib/collection/components/duet-select/duet-select.e2e.js +0 -211
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.a11y.e2e.js +0 -20
- package/lib/collection/components/duet-show-more/duet-show-more.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-slideout/duet-slideout.a11y.e2e.js +0 -47
- package/lib/collection/components/duet-spacer/duet-spacer.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spacer/duet-spacer.e2e.js +0 -27
- package/lib/collection/components/duet-spinner/duet-spinner.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-spinner/duet-spinner.e2e.js +0 -30
- package/lib/collection/components/duet-step/duet-step.e2e.js +0 -94
- package/lib/collection/components/duet-stepper/duet-stepper.a11y.e2e.js +0 -26
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -84
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.a11y.e2e.js +0 -21
- package/lib/collection/components/duet-tab/duet-tab.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.a11y.e2e.js +0 -16
- package/lib/collection/components/duet-tab-group/duet-tab-group.e2e.js +0 -108
- package/lib/collection/components/duet-table/duet-table.a11y.e2e.js +0 -35
- package/lib/collection/components/duet-table/duet-table.e2e.js +0 -95
- package/lib/collection/components/duet-textarea/duet-textarea.a11y.e2e.js +0 -28
- package/lib/collection/components/duet-textarea/duet-textarea.e2e.js +0 -199
- package/lib/collection/components/duet-toggle/duet-toggle.a11y.e2e.js +0 -13
- package/lib/collection/components/duet-toggle/duet-toggle.e2e.js +0 -73
- package/lib/collection/components/duet-toolbar/duet-toolbar.a11y.e2e.js +0 -82
- package/lib/collection/components/duet-tooltip/duet-tooltip.a11y.e2e.js +0 -34
- package/lib/collection/components/duet-tooltip/duet-tooltip.e2e.js +0 -104
- package/lib/collection/components/duet-tray/duet-tray.a11y.e2e.js +0 -22
- package/lib/collection/components/duet-tray/duet-tray.e2e.js +0 -103
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +0 -48
- package/lib/collection/components/duet-upload/upload-validators.spec.js +0 -41
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.a11y.e2e.js +0 -15
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.e2e.js +0 -12
- package/lib/collection/utils/create-id.spec.js +0 -12
- package/lib/collection/utils/js-utils.spec.js +0 -22
- package/lib/collection/utils/language-utils.spec.js +0 -159
- package/lib/collection/utils/math.utils.spec.js +0 -140
- package/lib/collection/utils/string-utils.spec.js +0 -39
- package/lib/collection/utils/template-utils.spec.js +0 -39
- package/lib/collection/utils/token-utils.spec.js +0 -178
- package/lib/dist-custom-elements/p-33937fd7.js +0 -183
- package/lib/dist-custom-elements/p-7b0b6925.js +0 -2333
- package/lib/duet/p-01044e64.entry.js +0 -4
- package/lib/duet/p-01635f49.js +0 -5
- package/lib/duet/p-028596d1.entry.js +0 -4
- package/lib/duet/p-05167460.entry.js +0 -4
- package/lib/duet/p-06e608ae.js +0 -4
- package/lib/duet/p-095f9c72.system.entry.js +0 -4
- package/lib/duet/p-0c821ea2.system.js +0 -4
- package/lib/duet/p-0cdcb955.entry.js +0 -4
- package/lib/duet/p-0ef5dade.entry.js +0 -4
- package/lib/duet/p-12f0dcca.entry.js +0 -4
- package/lib/duet/p-136c0687.entry.js +0 -4
- package/lib/duet/p-1477d402.system.entry.js +0 -4
- package/lib/duet/p-14e5c935.system.entry.js +0 -4
- package/lib/duet/p-15d5ff60.entry.js +0 -4
- package/lib/duet/p-1b4e3fcf.system.entry.js +0 -4
- package/lib/duet/p-1dad75e9.entry.js +0 -4
- package/lib/duet/p-1fa00f4f.system.entry.js +0 -4
- package/lib/duet/p-224f6c46.system.js +0 -4
- package/lib/duet/p-259a297a.system.js +0 -4
- package/lib/duet/p-2792c1b4.entry.js +0 -4
- package/lib/duet/p-28513260.entry.js +0 -4
- package/lib/duet/p-2a05757d.entry.js +0 -4
- package/lib/duet/p-2aabb878.entry.js +0 -4
- package/lib/duet/p-2aca6483.system.js +0 -4
- package/lib/duet/p-2d73e78b.entry.js +0 -4
- package/lib/duet/p-2e36d5bf.js +0 -4
- package/lib/duet/p-2f0daa09.system.entry.js +0 -4
- package/lib/duet/p-2fadd817.entry.js +0 -4
- package/lib/duet/p-31b71b99.system.entry.js +0 -4
- package/lib/duet/p-34c19a8a.entry.js +0 -4
- package/lib/duet/p-37afd249.entry.js +0 -4
- package/lib/duet/p-37b48e0b.system.entry.js +0 -4
- package/lib/duet/p-37f42a8d.system.entry.js +0 -4
- package/lib/duet/p-3a087db3.system.entry.js +0 -4
- package/lib/duet/p-3badecf6.system.entry.js +0 -4
- package/lib/duet/p-3c3ab066.system.entry.js +0 -4
- package/lib/duet/p-3f77a3e2.system.entry.js +0 -4
- package/lib/duet/p-4035c9f1.system.entry.js +0 -4
- package/lib/duet/p-418733c5.entry.js +0 -4
- package/lib/duet/p-441f4aa8.entry.js +0 -4
- package/lib/duet/p-4b451109.entry.js +0 -4
- package/lib/duet/p-5635eccc.entry.js +0 -4
- package/lib/duet/p-5859c6b7.system.entry.js +0 -4
- package/lib/duet/p-5bbb20a0.system.entry.js +0 -4
- package/lib/duet/p-5c7e904f.entry.js +0 -4
- package/lib/duet/p-605072dd.entry.js +0 -4
- package/lib/duet/p-633278cf.entry.js +0 -4
- package/lib/duet/p-6495c102.entry.js +0 -4
- package/lib/duet/p-6613499b.entry.js +0 -4
- package/lib/duet/p-674ce221.entry.js +0 -4
- package/lib/duet/p-687afd1a.entry.js +0 -4
- package/lib/duet/p-696cc1d4.entry.js +0 -4
- package/lib/duet/p-69c43646.system.entry.js +0 -4
- package/lib/duet/p-6d839458.js +0 -4
- package/lib/duet/p-73223e72.entry.js +0 -4
- package/lib/duet/p-7328bb6a.entry.js +0 -4
- package/lib/duet/p-739682b8.system.entry.js +0 -4
- package/lib/duet/p-751d5193.entry.js +0 -4
- package/lib/duet/p-76fd2f68.entry.js +0 -4
- package/lib/duet/p-79e725f1.entry.js +0 -4
- package/lib/duet/p-7a9415d0.entry.js +0 -4
- package/lib/duet/p-7d12dd5c.entry.js +0 -4
- package/lib/duet/p-8626151c.system.entry.js +0 -4
- package/lib/duet/p-89e82f95.system.js +0 -5
- package/lib/duet/p-8a826104.entry.js +0 -4
- package/lib/duet/p-8aa8d5ab.entry.js +0 -4
- package/lib/duet/p-8ab298d2.entry.js +0 -4
- package/lib/duet/p-8b198447.system.entry.js +0 -4
- package/lib/duet/p-8c0d68e6.entry.js +0 -4
- package/lib/duet/p-8d6d2de5.system.entry.js +0 -4
- package/lib/duet/p-8f3ef195.entry.js +0 -4
- package/lib/duet/p-93d2b3ab.system.entry.js +0 -4
- package/lib/duet/p-9a0e63fb.system.entry.js +0 -4
- package/lib/duet/p-9c036196.entry.js +0 -4
- package/lib/duet/p-9d9ceaaf.system.entry.js +0 -4
- package/lib/duet/p-9dd1d807.entry.js +0 -4
- package/lib/duet/p-9de36028.system.entry.js +0 -4
- package/lib/duet/p-9ffa100f.entry.js +0 -4
- package/lib/duet/p-a0c7c62c.entry.js +0 -4
- package/lib/duet/p-a239acf9.entry.js +0 -4
- package/lib/duet/p-a6bc06b4.entry.js +0 -4
- package/lib/duet/p-ac06a312.system.entry.js +0 -4
- package/lib/duet/p-ae21ad57.system.js +0 -4
- package/lib/duet/p-b2506d63.system.entry.js +0 -4
- package/lib/duet/p-b27a6bc2.entry.js +0 -4
- package/lib/duet/p-b4f0266c.entry.js +0 -4
- package/lib/duet/p-b67ec86e.system.entry.js +0 -4
- package/lib/duet/p-b6984bba.entry.js +0 -4
- package/lib/duet/p-b80bd99f.system.entry.js +0 -4
- package/lib/duet/p-bb33573f.entry.js +0 -4
- package/lib/duet/p-bf12b56f.system.entry.js +0 -4
- package/lib/duet/p-bf6bd4ca.entry.js +0 -4
- package/lib/duet/p-c1d09d6c.entry.js +0 -4
- package/lib/duet/p-c628251d.system.entry.js +0 -4
- package/lib/duet/p-c7327d56.system.entry.js +0 -4
- package/lib/duet/p-c7586b98.entry.js +0 -4
- package/lib/duet/p-c9e51b5f.system.entry.js +0 -4
- package/lib/duet/p-caff3d21.entry.js +0 -4
- package/lib/duet/p-cc490e76.system.entry.js +0 -4
- package/lib/duet/p-cd30e4e5.entry.js +0 -4
- package/lib/duet/p-ce9faaa3.system.entry.js +0 -4
- package/lib/duet/p-ceed90a3.entry.js +0 -4
- package/lib/duet/p-cef5a078.entry.js +0 -4
- package/lib/duet/p-d94b6e0c.system.entry.js +0 -4
- package/lib/duet/p-da1ac417.entry.js +0 -4
- package/lib/duet/p-db29616f.system.entry.js +0 -4
- package/lib/duet/p-de3b2dc1.entry.js +0 -4
- package/lib/duet/p-ec42ab2e.entry.js +0 -4
- package/lib/duet/p-ef30751b.system.entry.js +0 -4
- package/lib/duet/p-ef8726ff.entry.js +0 -4
- package/lib/duet/p-f1655a1f.entry.js +0 -4
- package/lib/duet/p-f3078952.entry.js +0 -4
- package/lib/duet/p-f73f352a.system.entry.js +0 -4
- package/lib/duet/p-f8827f00.system.entry.js +0 -4
- package/lib/duet/p-fe305a4f.system.entry.js +0 -4
- package/lib/duet/p-ffc6061c.system.entry.js +0 -4
- package/lib/esm/index-a23f641e.js +0 -2802
- package/lib/esm-es5/app-globals-45aa6d20.js +0 -4
- package/lib/esm-es5/focus-utils-be6b1c62.js +0 -4
- package/lib/esm-es5/index-a23f641e.js +0 -5
- package/lib/esm-es5/language-utils-00ca4c55.js +0 -4
- package/lib/esm-es5/slot-utils-b50aaef5.js +0 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { b as isEscapeKey } from './p-785686e3.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-955053f9.js';
|
|
8
8
|
|
|
9
9
|
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, 77, 128);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(0, 41, 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)}";
|
|
10
|
+
const DuetMenuBarDropdownStyle0 = duetMenuBarDropdownCss;
|
|
10
11
|
|
|
11
12
|
const DuetMenuBarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBarDropdown extends H {
|
|
12
13
|
constructor() {
|
|
@@ -61,20 +62,20 @@ const DuetMenuBarDropdown$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBar
|
|
|
61
62
|
* Always the last one in the class.
|
|
62
63
|
*/
|
|
63
64
|
render() {
|
|
64
|
-
return (h(Host, { role: "listitem" }, h("div", { class: {
|
|
65
|
+
return (h(Host, { key: '7b666e1b5e5e5e3b75855ca9b709eed1796a32a4', role: "listitem" }, h("div", { key: 'a385cebde1d61ec3fa612308ea4931e377c0bcb0', class: {
|
|
65
66
|
"duet-menu-bar-dropdown": true,
|
|
66
67
|
"duet-theme-turva": this.theme === "turva",
|
|
67
68
|
active: this.open,
|
|
68
69
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
69
|
-
} }, h("button", { 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: {
|
|
70
|
+
} }, h("button", { key: '2b7716617decf49c99a67165f613a635687b11b1', 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: {
|
|
70
71
|
active: this.open,
|
|
71
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { class: "label" }, h("slot", { name: "label" }), h("duet-icon", { class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
72
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (h("duet-icon", { key: 'be1b090617c5e912ff7b22fcf02fc9f3c6baa02d', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), h("div", { key: 'b138f9150e6e212978dac85aeb16350b631643a7', class: "label" }, h("slot", { key: 'ad8408f7841203878ed849524ee9219f8bf68f66', name: "label" }), h("duet-icon", { key: '020ff46e4b9aedc81de9a6b2868ebb8fbd417da6', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), h("div", { key: '47c1f7b100b73064dca1cdd964d97d070e5704db', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
72
73
|
items: true,
|
|
73
74
|
hidden: !this.open,
|
|
74
|
-
} }, h("slot",
|
|
75
|
+
} }, h("slot", { key: '120401394abf2260aebc4ce41c28ddcd82c171ce' })))));
|
|
75
76
|
}
|
|
76
77
|
get element() { return this; }
|
|
77
|
-
static get style() { return
|
|
78
|
+
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
78
79
|
}, [1, "duet-menu-bar-dropdown", {
|
|
79
80
|
"accessibleLabel": [1, "accessible-label"],
|
|
80
81
|
"theme": [1025],
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-955053f9.js';
|
|
7
7
|
|
|
8
8
|
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;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[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)}}";
|
|
9
|
+
const DuetMenuBarItemStyle0 = duetMenuBarItemCss;
|
|
9
10
|
|
|
10
11
|
const DuetMenuBarItem$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBarItem extends H {
|
|
11
12
|
constructor() {
|
|
@@ -39,18 +40,18 @@ const DuetMenuBarItem$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBarItem
|
|
|
39
40
|
*/
|
|
40
41
|
render() {
|
|
41
42
|
const TagName = this.url ? "a" : "button";
|
|
42
|
-
return (h(Host, { role: "listitem" }, h(TagName, { ref: element => (this.itemElement = element), class: {
|
|
43
|
+
return (h(Host, { key: '6c9c94e3afe239db2ad4ac9743ace782d4ec84ff', role: "listitem" }, h(TagName, { key: 'a0407b920548f68a68b0c96cc03bb03966a242b2', ref: element => (this.itemElement = element), class: {
|
|
43
44
|
"duet-menu-bar-item": true,
|
|
44
45
|
"duet-theme-turva": this.theme === "turva",
|
|
45
46
|
active: this.active,
|
|
46
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot",
|
|
47
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.leadingIcon && (h("duet-icon", { key: '0c21edde98126006acb41edcf4288575691a487c', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), h("slot", { key: '1945f308d808a5bc38c0ed607e5d7d70ff44ac6d' }), this.trailingIcon && (h("duet-icon", { key: '703e85cd9ac06d465e7df8e832518bb4f65177ad', class: {
|
|
47
48
|
"trailing-icon": true,
|
|
48
49
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
49
50
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
50
51
|
}, theme: this.theme, name: this.trailingIcon, margin: "none", size: "auto", color: "currentColor" })))));
|
|
51
52
|
}
|
|
52
53
|
get element() { return this; }
|
|
53
|
-
static get style() { return
|
|
54
|
+
static get style() { return DuetMenuBarItemStyle0; }
|
|
54
55
|
}, [1, "duet-menu-bar-item", {
|
|
55
56
|
"theme": [1025],
|
|
56
57
|
"active": [1028],
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { d as defineCustomElement$2 } from './p-955053f9.js';
|
|
7
7
|
|
|
8
8
|
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)}}";
|
|
9
|
+
const DuetMenuBarLinkStyle0 = duetMenuBarLinkCss;
|
|
9
10
|
|
|
10
11
|
const DuetMenuBarLink$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBarLink extends H {
|
|
11
12
|
constructor() {
|
|
@@ -29,14 +30,14 @@ const DuetMenuBarLink$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBarLink
|
|
|
29
30
|
* Always the last one in the class.
|
|
30
31
|
*/
|
|
31
32
|
render() {
|
|
32
|
-
return (h(Host, { role: "listitem" }, h("a", { class: {
|
|
33
|
+
return (h(Host, { key: '2f893204e6787a355ce661f5cb2d6bfe6e56bcc8', role: "listitem" }, h("a", { key: 'deffe377753abdde9fb1fa65840a0b389e9eef35', class: {
|
|
33
34
|
"duet-menu-bar-link": true,
|
|
34
35
|
"duet-theme-turva": this.theme === "turva",
|
|
35
36
|
active: this.active,
|
|
36
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot",
|
|
37
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (h("duet-icon", { key: '2b104a8857071c4c4a896141dc29717cb3eae517', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), h("slot", { key: '627b9f6fd8dd467905acc1eb896162ddfb21877a' }))));
|
|
37
38
|
}
|
|
38
39
|
get element() { return this; }
|
|
39
|
-
static get style() { return
|
|
40
|
+
static get style() { return DuetMenuBarLinkStyle0; }
|
|
40
41
|
}, [1, "duet-menu-bar-link", {
|
|
41
42
|
"theme": [1025],
|
|
42
43
|
"active": [1028],
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { a as media_query_large, c as media_query_xx_large } from './p-d5c03b61.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { d as defineCustomElement$2 } from './p-401b6b1f.js';
|
|
8
8
|
|
|
9
9
|
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;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)}@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(225, 227, 230)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;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:-1px;z-index:1;width:56px;height:49px;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)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 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, 77, 128)}.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)}";
|
|
10
|
+
const DuetMenuBarStyle0 = duetMenuBarCss;
|
|
10
11
|
|
|
11
12
|
const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBar extends H {
|
|
12
13
|
constructor() {
|
|
@@ -113,14 +114,14 @@ const DuetMenuBar$1 = /*@__PURE__*/ proxyCustomElement(class DuetMenuBar extends
|
|
|
113
114
|
render() {
|
|
114
115
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
115
116
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
116
|
-
return (h(Host,
|
|
117
|
+
return (h(Host, { key: 'e0c70951b6da6e8803034bd42900d4dbfa54ac79' }, h("nav", { key: '5285555f67d324807e8172105ed5abf03c8b1cf5', class: {
|
|
117
118
|
"duet-menu-bar": true,
|
|
118
119
|
"duet-theme-turva": this.theme === "turva",
|
|
119
120
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
120
|
-
}, "aria-label": this.accessibleLabel }, h("div", { class: "top" }), h("div", { class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div",
|
|
121
|
+
}, "aria-label": this.accessibleLabel }, h("div", { key: '3fd377934d69bc86344dba7149a683a57cfe71be', class: "top" }), h("div", { key: '9416dbe3b65729f6499ba081775dac80787318e3', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (h("div", { key: '6a49b0084afc3334ba291fa5290d2a5a54ccbb24' }, h("duet-logo", { key: 'ff8b0378e1b7a2045d79b6dae4eecc881b0a177e', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick }))), h("div", { key: 'cfb2cc0ea70e46c53ee7b253db2db6d8617afd0d', class: "list center", role: "list" }, h("div", { key: 'bbff4fca655c793453549d349e9e2dc533a4d2d2', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), h("slot", { key: 'c5368597c97b0ffef8938bb89f7918a0f5c6e3f4', name: "center" }), h("div", { key: '846fd02740b36af7e14dde5d71e651bd52b1f7b8', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), h("div", { key: '8b0d0c1497baa80cdaec88e5247e80098e496d5e', class: "list right", role: "list" }, h("slot", { key: '43566b3116f0e4df1fa6b1d456af8f0580d7ded6', name: "right" }))), h("div", { key: '0acb8611a0f18ca267b397ad53877c25c4f6c42a', class: "bottom" }))));
|
|
121
122
|
}
|
|
122
123
|
get element() { return this; }
|
|
123
|
-
static get style() { return
|
|
124
|
+
static get style() { return DuetMenuBarStyle0; }
|
|
124
125
|
}, [1, "duet-menu-bar", {
|
|
125
126
|
"theme": [1025],
|
|
126
127
|
"logo": [1028],
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-955746f9.js';
|
|
5
5
|
import { d as disableBodyScroll, e as enableBodyScroll } from './p-8354d1f1.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { c as DuetStringsPleaseWaitDefaults } from './p-9df4cfa4.js';
|
|
8
|
-
import { f as focusElement } from './p-
|
|
8
|
+
import { f as focusElement } from './p-d2f0147b.js';
|
|
9
9
|
import { b as isEscapeKey } from './p-785686e3.js';
|
|
10
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
11
|
-
import { h as hasSlot } from './p-
|
|
10
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2f5e2da8.js';
|
|
11
|
+
import { h as hasSlot } from './p-895db398.js';
|
|
12
12
|
import { T as Teleport } from './p-5c488cf4.js';
|
|
13
|
-
import { d as defineCustomElement$8 } from './p-
|
|
14
|
-
import { d as defineCustomElement$7 } from './p-
|
|
15
|
-
import { d as defineCustomElement$6 } from './p-
|
|
16
|
-
import { d as defineCustomElement$5 } from './p-
|
|
17
|
-
import { d as defineCustomElement$4 } from './p-
|
|
18
|
-
import { d as defineCustomElement$3 } from './p-
|
|
19
|
-
import { d as defineCustomElement$2 } from './p-
|
|
13
|
+
import { d as defineCustomElement$8 } from './p-7eef087e.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './p-d7ff39b6.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './p-955053f9.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './p-330bf2a1.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './p-9d348a4b.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './p-b8bb3910.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './p-bb20326f.js';
|
|
20
20
|
|
|
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(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;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:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.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(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.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(0, 41, 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}";
|
|
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(0, 41, 77);background:rgb(255, 255, 255);border-radius:4px;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:4px 4px 0 0;opacity:1;transition:top 600ms ease}@media (max-width: 35.9375em){.duet-modal.slide-up{border-radius:16px 16px 0 0}}.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(243, 249, 252);border-bottom:1px solid rgb(225, 227, 230);border-radius:4px 4px 0 0}@media (max-width: 35.9375em){.duet-modal-sticky-header{border-radius:16px 16px 0 0}}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 245, 247);border-bottom:1px solid rgb(228, 228, 230)}.duet-modal-close{position:absolute;top:12px;right:12px}.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(0, 41, 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}";
|
|
22
|
+
const DuetModalStyle0 = duetModalCss;
|
|
22
23
|
|
|
23
24
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
24
25
|
// iOS has otherwise problems moving the focus from modal back to the original element.
|
|
@@ -84,7 +85,9 @@ const DuetModal$1 = /*@__PURE__*/ proxyCustomElement(class DuetModal extends H {
|
|
|
84
85
|
this.modalEl.scrollTop = 0;
|
|
85
86
|
}
|
|
86
87
|
this.focusedElBeforeOpen = document.activeElement;
|
|
87
|
-
disableBodyScroll(this.
|
|
88
|
+
disableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl, {
|
|
89
|
+
reserveScrollBarGap: true,
|
|
90
|
+
});
|
|
88
91
|
this.teleport.makeSiblingsInert();
|
|
89
92
|
this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach(el => el.remove());
|
|
90
93
|
setTimeout(() => {
|
|
@@ -118,7 +121,7 @@ const DuetModal$1 = /*@__PURE__*/ proxyCustomElement(class DuetModal extends H {
|
|
|
118
121
|
else {
|
|
119
122
|
this.modalEl.classList.remove("duet-disable-transitions");
|
|
120
123
|
this.modalEl.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
|
|
121
|
-
enableBodyScroll(this.modalEl);
|
|
124
|
+
enableBodyScroll(this.variation === "slide-up" ? this.modalContentEl : this.modalEl);
|
|
122
125
|
this.duetClose.emit();
|
|
123
126
|
this.teleport.removeInertFromSiblings();
|
|
124
127
|
setTimeout(() => {
|
|
@@ -254,18 +257,18 @@ const DuetModal$1 = /*@__PURE__*/ proxyCustomElement(class DuetModal extends H {
|
|
|
254
257
|
var _a, _b;
|
|
255
258
|
let iconColor = "primary";
|
|
256
259
|
let closeColor = "secondary";
|
|
257
|
-
const closingButton = (h("div", { class: "duet-modal-close" }, h("duet-button", { 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 })));
|
|
260
|
+
const closingButton = (h("div", { key: '919650935aa4eeda6fdbd32b3b9e8ade646dce61', class: "duet-modal-close" }, h("duet-button", { key: 'd63e1614e6cfbece69ee14ee4e66dfdcd206ed92', 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 })));
|
|
258
261
|
if (this.theme === "turva") {
|
|
259
262
|
iconColor = "primary-turva";
|
|
260
263
|
closeColor = "secondary-turva";
|
|
261
264
|
}
|
|
262
|
-
return (h("div", { 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: {
|
|
265
|
+
return (h("div", { key: '6cf795d42036a300a518234bc2ff864b7a49e0df', 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: {
|
|
263
266
|
"duet-modal-container": true,
|
|
264
267
|
"duet-theme-turva": this.theme === "turva",
|
|
265
268
|
"duet-modal-active": this.open,
|
|
266
269
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
267
270
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
268
|
-
} }, h("duet-overlay", { "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
271
|
+
} }, h("duet-overlay", { key: 'abe4d11f4ffd56854a1c154367d9aec78cdd2342', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), h("div", { key: '6787e4231b2445db8609d02c4ea8fa160d77240b', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
269
272
|
"duet-modal-inner": true,
|
|
270
273
|
[this.size]: true,
|
|
271
274
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -276,25 +279,25 @@ const DuetModal$1 = /*@__PURE__*/ proxyCustomElement(class DuetModal extends H {
|
|
|
276
279
|
this.closeModal(e);
|
|
277
280
|
}
|
|
278
281
|
}
|
|
279
|
-
} }, h("div", { class: {
|
|
282
|
+
} }, h("div", { key: '217b97b31fad9f7c42f822ea6c52e70f4cf77260', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
280
283
|
"duet-modal": true,
|
|
281
284
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
282
285
|
[this.size]: true,
|
|
283
286
|
[this.variation]: true,
|
|
284
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer",
|
|
287
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && h("duet-spacer", { key: '6424067a77dafb42a1f6820f03c1055ba5b9e14b' }), this.hasStickyHeader ? (h("div", { class: "duet-modal-sticky-header" }, closingButton, h("slot", { name: "sticky-header" }))) : (closingButton), h("div", { key: '785f42e4d9754dbdff90f029c7e1ac3ad3bc8f51', class: {
|
|
285
288
|
"duet-modal-body": true,
|
|
286
289
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
287
290
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
288
291
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
289
292
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
290
|
-
} }, h("div", { class: "duet-modal-header" }, h("span", { class: "duet-modal-inner-slot-top" }, h("slot", { name: "top" })), this.icon && h("duet-icon", { name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { class: "duet-modal-spinner" }, h("duet-spinner", { size: "large", color: "primary" }))), h("div", { class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot",
|
|
293
|
+
} }, h("div", { key: '28eb6178c09c9619494a43463dee36faba7dcc2e', class: "duet-modal-header" }, h("span", { key: '81466134ab4039ab15d2f1983457ce9b7c496341', class: "duet-modal-inner-slot-top" }, h("slot", { key: 'cff6cfbd5513068771b04ce531c3b86e7928b567', name: "top" })), this.icon && h("duet-icon", { key: '5c65f1d03d7bc57d36041c5042f55296007d5703', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (h("duet-heading", { key: 'f6bd1c56f9d6e6f18382298d974493454b0b9bd7', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (h("div", { key: '4eb30ba1d0d1ec753584876752340b10c8f355bf', class: "duet-modal-spinner" }, h("duet-spinner", { key: '24306eda556c8d93816eee3196ed7c8f11e22bd6', size: "large", color: "primary" }))), h("div", { key: '228110c5826cbd520dd841e6518ff9e66d6e2d93', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, h("slot", { key: '23075fb010a30dbaf69f30d04f17fd8ec7e75b62' })))))));
|
|
291
294
|
}
|
|
292
295
|
get element() { return this; }
|
|
293
296
|
static get watchers() { return {
|
|
294
297
|
"open": ["openChanged"],
|
|
295
298
|
"active": ["activeChanged"]
|
|
296
299
|
}; }
|
|
297
|
-
static get style() { return
|
|
300
|
+
static get style() { return DuetModalStyle0; }
|
|
298
301
|
}, [1, "duet-modal", {
|
|
299
302
|
"language": [1537],
|
|
300
303
|
"accessibleCloseLabel": [1025, "accessible-close-label"],
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { c as createID } from './p-5e59e970.js';
|
|
7
7
|
import { b as isEscapeKey, d as isTabKey, c as isEnterKey, j as isArrowLeftKey, f as isArrowUpKey, k as isArrowRightKey, g as isArrowDownKey } from './p-785686e3.js';
|
|
8
|
-
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
9
|
-
import { c as checkNamedSlotElement } from './p-
|
|
8
|
+
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2f5e2da8.js';
|
|
9
|
+
import { c as checkNamedSlotElement } from './p-895db398.js';
|
|
10
10
|
import { p as parsePossibleJSON } from './p-0e052642.js';
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-00eccbc8.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-e091bb48.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-955053f9.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-26d4d49e.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-fd601808.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-ad23e869.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-151934ce.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-bb20326f.js';
|
|
19
19
|
|
|
20
20
|
const duetMultiselectCss = "*,*::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;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;max-width:100%;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}:host.duet-expand{width:100% !important}}:host(.duet-m-0){margin:0 !important}.duet-multiselect-tooltip,::slotted(duet-tooltip){position:absolute;top:12px;right:0}@media (min-width: 48em){.duet-multiselect-tooltip,::slotted(duet-tooltip){position:relative;top:4px;right:auto}}.duet-multiselect-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-multiselect-container{position:relative;width:100%}.duet-multiselect-wrapper{position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25}.duet-theme-turva .duet-multiselect-wrapper{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-multiselect{display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:8rem;padding:12px 14px !important;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:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(0, 41, 77);text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(144, 149, 153);border-radius:4px;transition:150ms ease}.duet-multiselect .duet-multiselect-label{overflow:hidden;text-overflow:ellipsis}.duet-multiselect:hover{border-color:rgb(144, 149, 153);box-shadow:0 0 0 1px #909599}.duet-theme-turva .duet-multiselect:hover{border-color:rgb(116, 116, 117);box-shadow:0 0 0 1px #747475}.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:hover{box-shadow:0 0 0 1px #e55039}.duet-multiselect:focus,.duet-multiselect.duet-multiselect-active{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-multiselect:focus,.duet-theme-turva .duet-multiselect.duet-multiselect-active{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error .duet-multiselect:focus,.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-multiselect:focus,.duet-theme-turva.has-error .duet-multiselect.duet-multiselect-active{box-shadow:0 0 0 1px #e55039}.duet-multiselect[disabled]{color:rgb(0, 41, 77) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(0, 41, 77) !important}.duet-theme-turva .duet-multiselect[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247) !important;border-color:rgb(245, 245, 247) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-multiselect>:first-child{flex:1;min-height:24px}.duet-multiselect .duet-multiselect-badge{padding:4px 8px 4px;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.75rem;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);background:#d9ebf4;border-radius:20rem}.duet-theme-turva .duet-multiselect .duet-multiselect-badge{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-multiselect .duet-multiselect-icon{margin-left:12px}.has-error .duet-multiselect{border-color:rgb(222, 35, 98) !important}.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(222, 35, 98) !important}.duet-theme-turva.has-error .duet-multiselect{border-color:rgb(224, 42, 13) !important}.duet-theme-turva.has-error .duet-multiselect .duet-multiselect-icon{color:rgb(224, 42, 13) !important}.duet-theme-turva .duet-multiselect{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(116, 116, 117)}.duet-multiselect svg{width:20px;height:20px;color:rgb(0, 41, 77);pointer-events:none}.duet-theme-turva .duet-multiselect svg{color:rgb(23, 28, 58)}.duet-multiselect svg.duet-multiselect-icon--rotate{transform:rotate(180deg)}.duet-multiselect-checkboxes{position:absolute;z-index:700;width:100%;padding:16px;margin:8px 0 0;visibility:hidden;background:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}.duet-theme-turva .duet-multiselect-checkboxes{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230);box-shadow:0 4px 10px 0 rgba(23, 28, 58, 0.15)}.duet-multiselect-checkboxes.duet-multiselect-checkboxes-active{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons{padding:8px 0;margin:-16px;margin-bottom:16px;border-bottom:1px solid rgb(225, 227, 230)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button{padding:6px 16px;margin:-4px 0;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:600;color:rgb(0, 119, 179);cursor:pointer;border-radius:4px}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus,.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child{border-right:1px solid rgb(225, 227, 230)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons 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(198, 12, 48)}.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(23, 28, 58)}.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover{color:rgb(0, 41, 77)}.duet-multiselect-checkboxes fieldset{margin-top:8px;margin-bottom:12px}.duet-multiselect-checkboxes fieldset+fieldset{margin-top:28px}.duet-multiselect-checkboxes legend{margin-bottom:12px;font-size:1rem;font-weight:600}.duet-multiselect-help{display:block;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(101, 119, 135);border-radius:4px}.duet-multiselect-help span{display:block;margin-top:8px}.duet-theme-turva .duet-multiselect-help{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(116, 116, 117)}.has-error .duet-multiselect-help{color:rgb(222, 35, 98)}.duet-theme-turva.has-error .duet-multiselect-help{color:rgb(224, 42, 13)}.duet-label-hidden duet-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
21
|
+
const DuetMultiselectStyle0 = duetMultiselectCss;
|
|
21
22
|
|
|
22
23
|
function toggleInArray(arr, item) {
|
|
23
24
|
return arr.includes(item) ? arr.filter(i => i !== item) : [...arr, item];
|
|
@@ -209,7 +210,7 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class DuetMultiselect
|
|
|
209
210
|
*/
|
|
210
211
|
async selectWithValues(values) {
|
|
211
212
|
const itemsMatchingValues = this.processedItems.filter(item => values.includes(item.value));
|
|
212
|
-
this.value =
|
|
213
|
+
this.value = Array.from(new Set([...this.value, ...itemsMatchingValues]));
|
|
213
214
|
}
|
|
214
215
|
/**
|
|
215
216
|
* Local methods.
|
|
@@ -237,29 +238,29 @@ const DuetMultiselect$1 = /*@__PURE__*/ proxyCustomElement(class DuetMultiselect
|
|
|
237
238
|
*/
|
|
238
239
|
render() {
|
|
239
240
|
var _a;
|
|
240
|
-
return (h(Host, { class: {
|
|
241
|
+
return (h(Host, { key: 'e4abdc95bd458e5ae7999381c20050ba0bcef6a5', class: {
|
|
241
242
|
"duet-m-0": this.margin === "none",
|
|
242
243
|
"duet-expand": this.expand,
|
|
243
|
-
} }, h("div", { class: {
|
|
244
|
+
} }, h("div", { key: '9a0ce9f75c65b11fc4b58491c291194ca15189a4', class: {
|
|
244
245
|
"duet-multiselect-container": true,
|
|
245
246
|
"duet-label-hidden": this.labelHidden,
|
|
246
247
|
"duet-theme-turva": this.theme === "turva",
|
|
247
248
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
248
249
|
"has-error": !!this.error,
|
|
249
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { name: "tooltip" }), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden",
|
|
250
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { key: '15eca4785b13d9490e2ecd4858d6f8e2a495684e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { key: '8a82fbfb066afa44cc575a387aaf4889284a2057', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), h("slot", { key: '0128b9dfee07780a75791d1ab7898bc928ec2d1f', name: "tooltip" }), this.caption && (h("duet-caption", { key: '5302654b472ffab5413df758dbb53dcea4a66303', id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { key: '6f8bd9b8a2c67d0969ac60ba008505dd9f6c9661', class: "duet-multiselect-wrapper" }, h("button", { key: 'a275a5138ffd9e1b4ba144f794aad0561325c51e', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { key: '15902724f91b68c7e247dfc53d6424b4e093f849', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (h("span", { key: '440b767cdb5abca291c619c8404d1ad7b8874215', class: "duet-multiselect-badge" }, this.value.length, h("duet-visually-hidden", { key: '29b7a10f3a780b01b133bab51864dd2f86db9aad' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), h("svg", { key: 'e5c7d29927010379a02e8f6f5fe7fd976567f8f6', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '6a8e5b57c1103faa5f8b51c904247a428920cd9c', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { key: 'd65cf9a75a8cd7442345f5fb6b5cc5355141eb9a', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
250
251
|
"duet-multiselect-checkboxes": true,
|
|
251
252
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
252
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { class: "duet-multiselect-all-control-buttons" }, h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
253
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (h("div", { key: '3e70f90b39f3c2a5413d1b6b4e3aae99f7f36b47', class: "duet-multiselect-all-control-buttons" }, h("button", { key: '9bfe4283086eee2efe6deb56c268fef50297771e', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { key: '15a5860c8c4e317e74fe8537812f3e2bd2bb5530', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
253
254
|
this.processedGroups.map(group => (h("fieldset", null, group.label && h("legend", null, group.label), group.items.map((item, key) => {
|
|
254
255
|
var _a, _b;
|
|
255
256
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
256
|
-
})))))), h("span", { class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span",
|
|
257
|
+
})))))), h("span", { key: '1ee195ef7a88c557730cefdab01db64c38b038ba', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && h("span", { key: '40fbf6daf06330024944dac4d416c5df424c8225' }, this.error)))));
|
|
257
258
|
}
|
|
258
259
|
get element() { return this; }
|
|
259
260
|
static get watchers() { return {
|
|
260
261
|
"items": ["refresh"]
|
|
261
262
|
}; }
|
|
262
|
-
static get style() { return
|
|
263
|
+
static get style() { return DuetMultiselectStyle0; }
|
|
263
264
|
}, [1, "duet-multiselect", {
|
|
264
265
|
"margin": [1],
|
|
265
266
|
"error": [1],
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
|
|
7
7
|
const duetNavCss = "*,*::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%}.container{position:relative;z-index:400}::slotted(*[slot=mobile]){display:inherit}::slotted(*[slot=desktop]){display:none}@media (min-width: 62em){::slotted(*[slot=mobile]){display:none}::slotted(*[slot=desktop]){display:inherit}}";
|
|
8
|
+
const DuetNavStyle0 = duetNavCss;
|
|
8
9
|
|
|
9
10
|
const DuetNav$1 = /*@__PURE__*/ proxyCustomElement(class DuetNav extends H {
|
|
10
11
|
constructor() {
|
|
@@ -24,10 +25,10 @@ const DuetNav$1 = /*@__PURE__*/ proxyCustomElement(class DuetNav extends H {
|
|
|
24
25
|
* Always the last one in the class.
|
|
25
26
|
*/
|
|
26
27
|
render() {
|
|
27
|
-
return (h(Host,
|
|
28
|
+
return (h(Host, { key: '3b2496f7806deb24c2b91c846174bd64f2e3fc53' }, h("div", { key: '9d17932300f5f1cbc6dd5b9120dccb46e36c32b3', class: "container" }, h("slot", { key: 'ebc5a9923ac3e3b441dccc87d80b588810b44717' }), h("slot", { key: '8ee01c4edc73f0ba261fff423c6dadc7eeb67251', name: "mobile" }), h("slot", { key: '87dbeff01ad24c1a4aefd824f2cc64413ec0faa9', name: "desktop" }))));
|
|
28
29
|
}
|
|
29
30
|
get element() { return this; }
|
|
30
|
-
static get style() { return
|
|
31
|
+
static get style() { return DuetNavStyle0; }
|
|
31
32
|
}, [1, "duet-nav", {
|
|
32
33
|
"theme": [1025]
|
|
33
34
|
}]);
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-955746f9.js';
|
|
5
5
|
import { a as actionArrowDownSmall } from './p-115c79b6.js';
|
|
6
6
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
7
7
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-785686e3.js';
|
|
8
|
-
import { a as getLanguage, g as getLocaleString } from './p-
|
|
9
|
-
import { d as defineCustomElement$4 } from './p-
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { a as getLanguage, g as getLocaleString } from './p-2f5e2da8.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './p-61ffea9e.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-955053f9.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-7666f1bc.js';
|
|
12
12
|
|
|
13
13
|
const duetNotificationDrawerCss = "*,*::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-drawer{position:relative}@media (min-width: 62em){.duet-drawer{display:inline-block}}.duet-drawer-toggle{position:relative;display:flex;align-items:center;width:100%;height:48px;padding:0 20px;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:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:48px;color:rgb(0, 41, 77);text-align:left;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230);border-radius:0;-webkit-appearance:none;appearance:none}@media (min-width: 62em){.duet-drawer-toggle{z-index:200;width:auto;max-width:200px;padding:0 30px 0 12px;overflow:hidden;font-size:0.875rem;line-height:4rem;border:0;border-radius:4px;transition:border 300ms ease}}.duet-theme-turva .duet-drawer-toggle{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);background-color:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-drawer-toggle:active{opacity:0.75}.duet-drawer-toggle:focus{outline:0}:host(.user-is-tabbing) .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-drawer-toggle:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-drawer-toggle:hover{color:rgb(0, 77, 128)}.duet-theme-turva .duet-drawer-toggle:hover{color:rgb(68, 68, 69)}.duet-drawer-toggle::after{display:none !important}@media (min-width: 62em){.duet-drawer-toggle::after{position:absolute;top:auto;bottom:0;left:0;display:block !important;width:100%;height:3px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(3px)}.duet-theme-turva .duet-drawer-toggle::after{background:rgb(198, 12, 48)}}.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(0, 77, 128);border-bottom:1px solid rgb(245, 248, 250);border-radius:0}.duet-theme-turva .duet-drawer-toggle[aria-expanded=true],.duet-theme-turva .duet-drawer-toggle[aria-expanded=true]:hover{color:rgb(68, 68, 69);border-color:rgb(245, 245, 247)}@media (min-width: 62em){.duet-drawer-toggle[aria-expanded=true],.duet-drawer-toggle[aria-expanded=true]:hover{border:0}.duet-drawer-toggle[aria-expanded=true]::after,.duet-drawer-toggle[aria-expanded=true]:hover::after{left:0;width:100%;transform:translateY(0)}}.duet-drawer-icon{position:relative;display:inline-flex;min-width:12px;margin-right:12px;font-size:0;line-height:normal;vertical-align:baseline}@media (min-width: 62em){.duet-drawer-icon{margin-right:8px}}.duet-drawer-label{line-height:1}.duet-drawer-caret{position:absolute;top:50%;right:20px;display:flex;width:10px;height:10px;margin-left:8px;line-height:normal;pointer-events:none;transition:300ms ease;transform:translateY(-50%);transform-origin:50% 50%}@media (min-width: 62em){.duet-drawer-caret{right:16px;width:7px;height:7px}}.duet-drawer-caret duet-icon{width:10px}.duet-drawer-toggle[aria-expanded=true] .duet-drawer-caret{transform:translateY(-50%) rotate(180deg)}.duet-drawer-badge{position:absolute;top:0;right:0;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-drawer-badge{background:rgb(250, 164, 15)}.duet-drawer-content{display:none;background-color:rgb(255, 255, 255);border-bottom:1px solid rgb(225, 227, 230)}.duet-drawer-content:focus{outline:0}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255);border-color:rgb(225, 227, 230)}@media (min-width: 62em){.duet-drawer-content{position:absolute;top:100%;z-index:600;display:block;width:450px;max-height:420px;padding-left:0;overflow-y:auto;visibility:hidden;background-color:rgb(255, 255, 255);border:1px solid rgb(225, 227, 230);border-radius:4px;border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:300ms ease;transform:scale(0.95) translateZ(0) translateY(-10px);transform-origin:50% 0;scrollbar-width:none}.duet-drawer-content::-webkit-scrollbar{display:none}.duet-theme-turva .duet-drawer-content{background-color:rgb(255, 255, 255)}.duet-drawer-content.duet-drawer-left{right:0}.duet-drawer-content.duet-drawer-right{left:0}}.duet-drawer-content.duet-drawer-open{display:block}@media (min-width: 62em){.duet-drawer-content.duet-drawer-open{visibility:visible;opacity:1;transform:scale(1) translateZ(0) translateY(0)}}";
|
|
14
|
+
const DuetNotificationDrawerStyle0 = duetNotificationDrawerCss;
|
|
14
15
|
|
|
15
16
|
const ESC_KEY = 27;
|
|
16
17
|
const DuetNotificationDrawer$1 = /*@__PURE__*/ proxyCustomElement(class DuetNotificationDrawer extends H {
|
|
@@ -105,10 +106,10 @@ const DuetNotificationDrawer$1 = /*@__PURE__*/ proxyCustomElement(class DuetNoti
|
|
|
105
106
|
* Always the last one in the class.
|
|
106
107
|
*/
|
|
107
108
|
render() {
|
|
108
|
-
return (h("div", { class: {
|
|
109
|
+
return (h("div", { key: '135fde3da3ab6b2de4bdac26066b9ab818b3c10c', class: {
|
|
109
110
|
"duet-drawer": true,
|
|
110
111
|
"duet-theme-turva": this.theme === "turva",
|
|
111
|
-
}, onKeyDown: this.handleKeyDown }, h("button", { ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { class: "duet-drawer-icon" }, h("duet-icon", { margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { class: "duet-drawer-badge" }))), h("span", { class: "duet-drawer-label" }, this.label), h("div", { class: "duet-drawer-caret" }, h("duet-icon", { margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), h("div", { id: "duet-drawer-content", class: {
|
|
112
|
+
}, onKeyDown: this.handleKeyDown }, h("button", { key: 'efe24e2ede652f66721af5bc7a30ccf14c40300c', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (h("div", { key: '6b507de704939cf76813914146b888805023912b', class: "duet-drawer-icon" }, h("duet-icon", { key: '0fbd2c7016aa8382c9d32c9cc77f801d38c11fe1', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && h("div", { key: 'f2e377ee6ebcb59c4cb0a6435f897520541fce47', class: "duet-drawer-badge" }))), h("span", { key: '94e50e2ca9bbcd704406e0a2d2d7909d26c2222f', class: "duet-drawer-label" }, this.label), h("div", { key: '72ffa2970bef748054c83ed1d638f1783a15d268', class: "duet-drawer-caret" }, h("duet-icon", { key: 'f9294d9ff83a182ede1835808cd97b546276c319', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), h("div", { key: '9a5902cc206b0886a5fce767b3bdbea45d9c82a0', id: "duet-drawer-content", class: {
|
|
112
113
|
"duet-drawer-content": true,
|
|
113
114
|
"duet-drawer-right": this.direction === "right",
|
|
114
115
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -116,7 +117,7 @@ const DuetNotificationDrawer$1 = /*@__PURE__*/ proxyCustomElement(class DuetNoti
|
|
|
116
117
|
}, ref: element => (this.drawerContentEl = element) }, this.hasNotifications ? (h("div", { role: "list" }, h("slot", null))) : (h("duet-empty-state", { size: "small" }, h("duet-paragraph", { size: "small", margin: "none" }, this.accessibleLabelNotifications))))));
|
|
117
118
|
}
|
|
118
119
|
get element() { return this; }
|
|
119
|
-
static get style() { return
|
|
120
|
+
static get style() { return DuetNotificationDrawerStyle0; }
|
|
120
121
|
}, [1, "duet-notification-drawer", {
|
|
121
122
|
"icon": [1],
|
|
122
123
|
"label": [1],
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h } from './p-955746f9.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-a58bd561.js';
|
|
6
6
|
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './p-785686e3.js';
|
|
7
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './p-2f5e2da8.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-bb20326f.js';
|
|
9
9
|
|
|
10
10
|
const duetNotificationCss = "*,*::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-notification{display:block;padding:16px;color:rgb(0, 41, 77);cursor:pointer;border-bottom:1px solid rgb(225, 227, 230);transition:300ms ease}:host(:last-of-type) .duet-notification{border-bottom:0}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(228, 228, 230)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(243, 249, 252)}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 245, 247)}@media (min-width: 62em){.duet-notification:hover{background:rgb(243, 249, 252)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 245, 247)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(101, 119, 135);text-align:right;text-transform:uppercase}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(68, 68, 69)}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
|
|
11
|
+
const DuetNotificationStyle0 = duetNotificationCss;
|
|
11
12
|
|
|
12
13
|
const DuetNotification$1 = /*@__PURE__*/ proxyCustomElement(class DuetNotification extends H {
|
|
13
14
|
constructor() {
|
|
@@ -50,14 +51,14 @@ const DuetNotification$1 = /*@__PURE__*/ proxyCustomElement(class DuetNotificati
|
|
|
50
51
|
this.linkElement.focus(options);
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
|
-
return (h("div", { role: "listitem", class: {
|
|
54
|
+
return (h("div", { key: '7b66b4910e2ebb20f4d2c4119802079a7164664b', role: "listitem", class: {
|
|
54
55
|
"duet-notification": true,
|
|
55
56
|
"duet-notification-highlight": this.highlight,
|
|
56
57
|
"duet-theme-turva": this.theme === "turva",
|
|
57
|
-
} }, h("a", { ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { class: "duet-notification-container" }, h("div", { class: "duet-notification-badge-container" }, this.highlight && (h("div", { class: "duet-notification-badge" }, h("duet-visually-hidden",
|
|
58
|
+
} }, h("a", { key: 'bb98a609af0b145e942bf81e5619ab9c7ac2e36b', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, h("div", { key: 'b3ce8b478aa6af7288eccefbfc2e20e420adf15f', class: "duet-notification-container" }, h("div", { key: '6d389da1924357921cea153915fdc91d2a45a077', class: "duet-notification-badge-container" }, this.highlight && (h("div", { key: '94c0c8ebf2c63303cea7dedb4cc5a8c57e102a31', class: "duet-notification-badge" }, h("duet-visually-hidden", { key: 'e31f704d6fbd9e4fcf19a3dfa164201f449411ca' }, this.accessibleLabelUnread, ":")))), h("div", { key: '41c760598dd9822c309d3eb31f29887344e079ed', class: "duet-notification-content" }, h("slot", { key: '512e4c2c39e507a972ce0b6181037976b4bb97f4' })), h("div", { key: 'be179c4fcb84d2e34cf19581655402d2e47b334a', class: "duet-notification-date" }, this.date)))));
|
|
58
59
|
}
|
|
59
60
|
get element() { return this; }
|
|
60
|
-
static get style() { return
|
|
61
|
+
static get style() { return DuetNotificationStyle0; }
|
|
61
62
|
}, [1, "duet-notification", {
|
|
62
63
|
"language": [1537],
|
|
63
64
|
"accessibleLabelUnreadDefaults": [16],
|