@duetds/components 9.4.2 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +2269 -199
- package/lib/cjs/{a11y-utils-821a2919.js → a11y-utils-103b327e.js} +1 -1
- package/lib/cjs/{app-globals-b8946136.js → app-globals-2b7fff72.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -10
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/{duet-chip_3.cjs.entry.js → duet-chip.cjs.entry.js} +3 -377
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
- package/lib/cjs/duet-phone-input.cjs.entry.js +2002 -0
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +426 -0
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +12 -12
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +22 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4059c3de.js → errorcodes.utils-e3a0f607.js} +1 -1
- package/lib/cjs/{focus-utils-b50cfb47.js → focus-utils-47d23c45.js} +1 -1
- package/lib/cjs/{index-ae9c685d.js → index-7b1d76ef.js} +11 -3
- package/lib/cjs/{language-utils-eb134c64.js → language-utils-a6a152b8.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-66b2afa4.js → slot-utils-6864011f.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +32 -18
- package/lib/collection/components/duet-button/duet-button.js +6 -6
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-heading/duet-heading.js +22 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +34 -3
- package/lib/collection/components/duet-input/duet-input.js +4 -4
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +20 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +777 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +69 -9
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +5 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +90 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/data/countries.js +1762 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +11 -11
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- 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 +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
- package/lib/dist-custom-elements/duet-phone-input.js +2128 -0
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +25 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +4 -4
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -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 +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-e7837082.js → p-18bc63f3.js} +3 -3
- package/lib/dist-custom-elements/{p-919a3f56.js → p-19b9ead1.js} +7 -7
- package/lib/dist-custom-elements/{p-3cebc38f.js → p-26c7e23f.js} +1 -1
- package/lib/dist-custom-elements/{p-6c512deb.js → p-2ecca38c.js} +3 -3
- package/lib/dist-custom-elements/{p-12afa6a9.js → p-2f6cc198.js} +4 -4
- package/lib/dist-custom-elements/{p-ea1b9fd2.js → p-32ca7625.js} +1 -1
- package/lib/dist-custom-elements/{p-2218a02d.js → p-39b87412.js} +2 -2
- package/lib/dist-custom-elements/{p-8bb33e70.js → p-41403f71.js} +3 -3
- package/lib/dist-custom-elements/{p-e40f6f72.js → p-4ccd7bcc.js} +4 -4
- package/lib/dist-custom-elements/{p-fa1cdac3.js → p-4d6f6627.js} +3 -3
- package/lib/dist-custom-elements/{p-20670f23.js → p-4ed8da23.js} +6 -4
- package/lib/dist-custom-elements/{p-84a16ba6.js → p-52df4164.js} +1 -1
- package/lib/dist-custom-elements/{p-682759c1.js → p-548610a6.js} +1 -1
- package/lib/dist-custom-elements/{p-81287261.js → p-7327e3d5.js} +264 -1
- package/lib/dist-custom-elements/{p-eb8c49d0.js → p-76415eb2.js} +4 -4
- package/lib/dist-custom-elements/{p-43578452.js → p-76f76fab.js} +119 -12
- package/lib/dist-custom-elements/{p-8c206875.js → p-7b74fee9.js} +3 -3
- package/lib/dist-custom-elements/{p-7bd61001.js → p-87df2d6e.js} +10 -10
- package/lib/dist-custom-elements/{p-32dde064.js → p-8ad5e64f.js} +3 -3
- package/lib/dist-custom-elements/{p-b1d9f172.js → p-8f1394dd.js} +2 -2
- package/lib/dist-custom-elements/{p-fc719f13.js → p-9cb035b0.js} +5 -5
- package/lib/dist-custom-elements/{p-cf7ebeca.js → p-a013e7b0.js} +10 -10
- package/lib/dist-custom-elements/{p-2bba9071.js → p-a201b49f.js} +12 -12
- package/lib/dist-custom-elements/{p-5f69b1a3.js → p-ad89064b.js} +6 -6
- package/lib/dist-custom-elements/{p-9613c7ae.js → p-b2599bdb.js} +2 -2
- package/lib/dist-custom-elements/{p-64e2d3ca.js → p-b3a6e82a.js} +8 -8
- package/lib/dist-custom-elements/{p-3e337443.js → p-b8bae8c7.js} +2 -2
- package/lib/dist-custom-elements/{p-db63d729.js → p-c577fbfe.js} +2 -2
- package/lib/dist-custom-elements/{p-57b14f14.js → p-c69401c2.js} +4 -4
- package/lib/dist-custom-elements/{p-a8105585.js → p-cf1df71c.js} +1 -1
- package/lib/dist-custom-elements/{p-96198aec.js → p-d01a8307.js} +5 -5
- package/lib/dist-custom-elements/{p-0ead9c70.js → p-d05c6565.js} +2 -2
- package/lib/dist-custom-elements/{p-55baf5dc.js → p-d5859ccf.js} +3 -3
- package/lib/dist-custom-elements/{p-996b724b.js → p-da60c00a.js} +4 -4
- package/lib/dist-custom-elements/{p-9d6b2f72.js → p-db1f42f3.js} +3 -3
- package/lib/dist-custom-elements/{p-95bf575a.js → p-dce51f6d.js} +2 -2
- package/lib/dist-custom-elements/{p-f904de26.js → p-eb768545.js} +3 -3
- package/lib/dist-custom-elements/{p-792db7b0.js → p-ed6a907e.js} +1 -1
- package/lib/dist-custom-elements/{p-1783819b.js → p-fc9e69ed.js} +12 -12
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-a220b676.entry.js → p-00ab909e.entry.js} +1 -1
- package/lib/duet/{p-fa03d3b3.system.entry.js → p-00dd59e4.system.entry.js} +1 -1
- package/lib/duet/{p-472dab44.system.entry.js → p-033947e4.system.entry.js} +1 -1
- package/lib/duet/{p-7b39ff48.entry.js → p-03abf8be.entry.js} +1 -1
- package/lib/duet/{p-31fcb811.entry.js → p-04090a71.entry.js} +1 -1
- package/lib/duet/{p-3b03ad48.js → p-083bbc28.js} +1 -1
- package/lib/duet/{p-2b8d5ebf.system.entry.js → p-0c5d595b.system.entry.js} +1 -1
- package/lib/duet/{p-d3ba2b21.entry.js → p-0d1c524e.entry.js} +1 -1
- package/lib/duet/{p-da4d3c61.js → p-0d443be5.js} +1 -1
- package/lib/duet/{p-9b6794b3.entry.js → p-0d626d2e.entry.js} +1 -1
- package/lib/duet/{p-242c72b4.entry.js → p-0e2727b2.entry.js} +1 -1
- package/lib/duet/{p-5b8b0f3b.entry.js → p-0e3a6d04.entry.js} +1 -1
- package/lib/duet/p-1052f050.entry.js +4 -0
- package/lib/duet/{p-f8cda4cb.entry.js → p-1057eeaa.entry.js} +1 -1
- package/lib/duet/{p-03d1fe77.entry.js → p-1275c867.entry.js} +1 -1
- package/lib/duet/{p-2a4b6723.system.entry.js → p-1317da1c.system.entry.js} +1 -1
- package/lib/duet/{p-3a0a60fb.system.entry.js → p-1364a715.system.entry.js} +1 -1
- package/lib/duet/{p-373e1b99.entry.js → p-148be53e.entry.js} +1 -1
- package/lib/duet/{p-49cddce5.system.entry.js → p-15bd06bb.system.entry.js} +1 -1
- package/lib/duet/{p-53c14a6d.system.entry.js → p-1744b916.system.entry.js} +1 -1
- package/lib/duet/{p-243553ce.entry.js → p-17592731.entry.js} +1 -1
- package/lib/duet/{p-ad2f0283.system.entry.js → p-17d11f8c.system.entry.js} +1 -1
- package/lib/duet/{p-b2f48572.entry.js → p-19625473.entry.js} +1 -1
- package/lib/duet/{p-d1274fac.entry.js → p-1b1d98b4.entry.js} +1 -1
- package/lib/duet/{p-6791795c.entry.js → p-1c0ace6c.entry.js} +1 -1
- package/lib/duet/{p-7ae20674.system.entry.js → p-1ea716c1.system.entry.js} +1 -1
- package/lib/duet/{p-c1030c78.entry.js → p-1fc48a8d.entry.js} +1 -1
- package/lib/duet/{p-b77c2cc1.entry.js → p-202f526f.entry.js} +1 -1
- package/lib/duet/{p-67b77e1a.system.entry.js → p-207e46dc.system.entry.js} +1 -1
- package/lib/duet/{p-f3e0a76f.system.entry.js → p-26df85b3.system.entry.js} +1 -1
- package/lib/duet/{p-53a07476.system.entry.js → p-28cc13b6.system.entry.js} +1 -1
- package/lib/duet/{p-05bd5fc1.system.entry.js → p-28ef1aaf.system.entry.js} +1 -1
- package/lib/duet/{p-b2fbe44f.entry.js → p-295396cd.entry.js} +1 -1
- package/lib/duet/{p-23c363ea.system.entry.js → p-2a0c7157.system.entry.js} +1 -1
- package/lib/duet/{p-f12da4d6.system.entry.js → p-2a0e1cd2.system.entry.js} +1 -1
- package/lib/duet/{p-0620d479.system.entry.js → p-2a4f4522.system.entry.js} +1 -1
- package/lib/duet/{p-5c6fa752.entry.js → p-2b082283.entry.js} +1 -1
- package/lib/duet/{p-7abde534.system.js → p-2bb44297.system.js} +1 -1
- package/lib/duet/{p-e9d69dba.entry.js → p-2c64554e.entry.js} +1 -1
- package/lib/duet/{p-3945d323.system.entry.js → p-2efdf39c.system.entry.js} +1 -1
- package/lib/duet/{p-f2a5e96f.entry.js → p-3072addc.entry.js} +1 -1
- package/lib/duet/{p-d451ec53.entry.js → p-345ac2e1.entry.js} +1 -1
- package/lib/duet/{p-93c4d3c3.system.entry.js → p-346f8340.system.entry.js} +1 -1
- package/lib/duet/{p-968c2680.entry.js → p-35600b76.entry.js} +1 -1
- package/lib/duet/{p-72b3dc7c.entry.js → p-35c49132.entry.js} +1 -1
- package/lib/duet/{p-e9d570bf.entry.js → p-37c469ec.entry.js} +1 -1
- package/lib/duet/{p-ab2b67ab.entry.js → p-3ac058e8.entry.js} +1 -1
- package/lib/duet/{p-5e98b366.system.entry.js → p-3bcc4ed9.system.entry.js} +1 -1
- package/lib/duet/p-42a1b0f0.system.js +4 -0
- package/lib/duet/{p-4aa4bece.system.entry.js → p-433fad0d.system.entry.js} +1 -1
- package/lib/duet/{p-c06b8830.system.entry.js → p-435f700f.system.entry.js} +1 -1
- package/lib/duet/{p-d5a1fea0.entry.js → p-45beef6d.entry.js} +1 -1
- package/lib/duet/{p-b7393278.entry.js → p-477e39b0.entry.js} +1 -1
- package/lib/duet/{p-b99e40e7.entry.js → p-48bb29d2.entry.js} +1 -1
- package/lib/duet/{p-3a495087.entry.js → p-497fe0b1.entry.js} +1 -1
- package/lib/duet/p-4a2ccec7.entry.js +4 -0
- package/lib/duet/{p-ef16cf2f.system.entry.js → p-4af9bc5f.system.entry.js} +1 -1
- package/lib/duet/{p-8c8f2565.entry.js → p-4ebb368b.entry.js} +1 -1
- package/lib/duet/{p-e64cdc3b.system.entry.js → p-4f2c25a0.system.entry.js} +1 -1
- package/lib/duet/{p-dc807a5c.system.js → p-4f945200.system.js} +1 -1
- package/lib/duet/{p-ddc04775.entry.js → p-4fc8517e.entry.js} +1 -1
- package/lib/duet/{p-3677dc32.entry.js → p-4fc945d4.entry.js} +1 -1
- package/lib/duet/{p-d72393c6.entry.js → p-52829324.entry.js} +1 -1
- package/lib/duet/{p-9a1ede4b.system.entry.js → p-53b9b442.system.entry.js} +1 -1
- package/lib/duet/p-55bafbde.system.entry.js +4 -0
- package/lib/duet/{p-8d66d9ff.entry.js → p-56b48e3d.entry.js} +1 -1
- package/lib/duet/{p-42ed9cf5.entry.js → p-580a6591.entry.js} +1 -1
- package/lib/duet/p-587a9d58.system.entry.js +4 -0
- package/lib/duet/{p-7e67797a.system.entry.js → p-5ab4313d.system.entry.js} +1 -1
- package/lib/duet/{p-75e262dd.system.entry.js → p-5c561b82.system.entry.js} +1 -1
- package/lib/duet/{p-4261665d.system.entry.js → p-5d5ba6ed.system.entry.js} +1 -1
- package/lib/duet/{p-a6f485ce.system.entry.js → p-5e01a303.system.entry.js} +1 -1
- package/lib/duet/{p-f1f562bb.entry.js → p-5e2d4a51.entry.js} +1 -1
- package/lib/duet/{p-07be03a5.system.js → p-61173f11.system.js} +1 -1
- package/lib/duet/p-622e1ffc.js +4 -0
- package/lib/duet/{p-a488b792.system.entry.js → p-64651bff.system.entry.js} +1 -1
- package/lib/duet/p-64853b73.entry.js +4 -0
- package/lib/duet/{p-772f84d7.system.entry.js → p-66021b00.system.entry.js} +2 -2
- package/lib/duet/{p-05673dd4.system.entry.js → p-68cbc985.system.entry.js} +1 -1
- package/lib/duet/{p-c05be5e1.entry.js → p-6c36ad85.entry.js} +1 -1
- package/lib/duet/p-6eb279dd.system.entry.js +4 -0
- package/lib/duet/{p-e1d6e640.system.entry.js → p-6fb72847.system.entry.js} +1 -1
- package/lib/duet/{p-f2a35fdd.entry.js → p-71ec5b28.entry.js} +1 -1
- package/lib/duet/{p-849a093c.system.entry.js → p-73853b36.system.entry.js} +1 -1
- package/lib/duet/{p-457a2d83.system.entry.js → p-7567fef0.system.entry.js} +1 -1
- package/lib/duet/{p-fe63ab87.system.entry.js → p-76361fed.system.entry.js} +2 -2
- package/lib/duet/p-7638da3f.entry.js +4 -0
- package/lib/duet/{p-75e12142.js → p-76927493.js} +1 -1
- package/lib/duet/{p-f89203db.entry.js → p-7ac466a3.entry.js} +1 -1
- package/lib/duet/{p-2822c55e.system.entry.js → p-7b5541e9.system.entry.js} +1 -1
- package/lib/duet/p-7be5b9a7.js +4 -0
- package/lib/duet/{p-c6564753.system.entry.js → p-7cad68ea.system.entry.js} +1 -1
- package/lib/duet/{p-e51fe789.entry.js → p-7fceb8c8.entry.js} +1 -1
- package/lib/duet/{p-3215139d.system.entry.js → p-84b24dcc.system.entry.js} +1 -1
- package/lib/duet/{p-e39b4df9.system.entry.js → p-84c02ce1.system.entry.js} +1 -1
- package/lib/duet/p-84f2cc6b.entry.js +4 -0
- package/lib/duet/p-85261a28.entry.js +4 -0
- package/lib/duet/p-85a38287.system.entry.js +4 -0
- package/lib/duet/{p-1a045554.entry.js → p-88e0e42c.entry.js} +1 -1
- package/lib/duet/p-89cf1a91.system.js +4 -0
- package/lib/duet/p-8b59d885.entry.js +4 -0
- package/lib/duet/{p-042e2fe8.entry.js → p-8bfb6649.entry.js} +1 -1
- package/lib/duet/{p-6460ecdd.entry.js → p-8d6e249b.entry.js} +1 -1
- package/lib/duet/{p-15b3553c.system.entry.js → p-8ecbac63.system.entry.js} +1 -1
- package/lib/duet/{p-d1219b00.system.entry.js → p-8f698359.system.entry.js} +1 -1
- package/lib/duet/{p-9c4c9249.system.entry.js → p-91a98b52.system.entry.js} +1 -1
- package/lib/duet/{p-2f333676.system.entry.js → p-91f7ae75.system.entry.js} +1 -1
- package/lib/duet/{p-fae62327.system.entry.js → p-925da010.system.entry.js} +1 -1
- package/lib/duet/{p-758432df.entry.js → p-943edeef.entry.js} +1 -1
- package/lib/duet/{p-1f521358.system.entry.js → p-9525c31e.system.entry.js} +1 -1
- package/lib/duet/{p-1e4e0a4d.entry.js → p-95f1b9a1.entry.js} +1 -1
- package/lib/duet/{p-d681c210.entry.js → p-96a6cca2.entry.js} +1 -1
- package/lib/duet/{p-97b9b2ae.entry.js → p-98fd263d.entry.js} +1 -1
- package/lib/duet/{p-7df5aaf6.system.entry.js → p-9d3e0050.system.entry.js} +2 -2
- package/lib/duet/{p-b5c7f8cd.entry.js → p-9f377238.entry.js} +1 -1
- package/lib/duet/p-9f3a5506.entry.js +4 -0
- package/lib/duet/{p-6b4ca314.entry.js → p-9f9e4b5a.entry.js} +1 -1
- package/lib/duet/{p-7b249d64.system.entry.js → p-a0229b56.system.entry.js} +1 -1
- package/lib/duet/{p-d2a5a09f.js → p-a083b91a.js} +1 -1
- package/lib/duet/p-a331ae6e.system.js +4 -0
- package/lib/duet/{p-1dbbe6df.system.entry.js → p-a637d6a7.system.entry.js} +1 -1
- package/lib/duet/{p-b6e4d58e.system.entry.js → p-a90243df.system.entry.js} +1 -1
- package/lib/duet/{p-f5e1a0cc.entry.js → p-afc011e1.entry.js} +1 -1
- package/lib/duet/p-aff748c3.entry.js +4 -0
- package/lib/duet/{p-dfe8ce73.system.entry.js → p-b1c2ab61.system.entry.js} +1 -1
- package/lib/duet/p-b3076f6c.system.entry.js +4 -0
- package/lib/duet/{p-2c565a29.entry.js → p-b327a269.entry.js} +1 -1
- package/lib/duet/{p-3e9b5b6f.entry.js → p-b32dcb86.entry.js} +1 -1
- package/lib/duet/{p-ee3b1868.system.entry.js → p-b336e3fb.system.entry.js} +1 -1
- package/lib/duet/{p-9f5a2024.entry.js → p-b410d85d.entry.js} +1 -1
- package/lib/duet/p-b56915bb.system.entry.js +4 -0
- package/lib/duet/{p-89a86ebc.system.entry.js → p-b642d349.system.entry.js} +1 -1
- package/lib/duet/{p-ee268c5a.entry.js → p-b79ca71d.entry.js} +1 -1
- package/lib/duet/{p-e5ef5e89.entry.js → p-baf88ca9.entry.js} +1 -1
- package/lib/duet/{p-714399a1.system.entry.js → p-bbb9a30a.system.entry.js} +1 -1
- package/lib/duet/{p-5b2030f6.entry.js → p-bcd14101.entry.js} +1 -1
- package/lib/duet/{p-d8a7a6eb.entry.js → p-bcfd5746.entry.js} +1 -1
- package/lib/duet/{p-bca6125e.entry.js → p-bfb897ab.entry.js} +1 -1
- package/lib/duet/{p-709882f3.system.entry.js → p-c2befbf1.system.entry.js} +1 -1
- package/lib/duet/{p-27aab6b1.entry.js → p-c2d61f47.entry.js} +1 -1
- package/lib/duet/{p-9ea49d85.system.entry.js → p-c3d6433f.system.entry.js} +1 -1
- package/lib/duet/{p-f409cd1f.system.entry.js → p-c50c0b02.system.entry.js} +2 -2
- package/lib/duet/{p-05fcbe8e.system.entry.js → p-c5117f90.system.entry.js} +1 -1
- package/lib/duet/{p-2bb74e72.entry.js → p-c56c0b41.entry.js} +1 -1
- package/lib/duet/{p-52d6efa6.system.entry.js → p-c581e6d3.system.entry.js} +1 -1
- package/lib/duet/{p-59339a3e.system.entry.js → p-c734cff9.system.entry.js} +1 -1
- package/lib/duet/p-ca29569e.system.js +4 -0
- package/lib/duet/{p-3f8677ac.system.js → p-cdba12cc.system.js} +1 -1
- package/lib/duet/{p-6e1b9c32.system.entry.js → p-ce8d83cf.system.entry.js} +2 -2
- package/lib/duet/{p-5817c9a6.entry.js → p-d2059383.entry.js} +1 -1
- package/lib/duet/{p-653c75c3.system.entry.js → p-d2e9bcdf.system.entry.js} +1 -1
- package/lib/duet/{p-3b88a791.system.entry.js → p-d3e906da.system.entry.js} +1 -1
- package/lib/duet/{p-f6f21b70.entry.js → p-d49076b6.entry.js} +1 -1
- package/lib/duet/{p-df67d91b.system.entry.js → p-d66a0251.system.entry.js} +1 -1
- package/lib/duet/{p-fd38377e.system.entry.js → p-d8c356eb.system.entry.js} +1 -1
- package/lib/duet/{p-09fea5ea.system.entry.js → p-d915362b.system.entry.js} +1 -1
- package/lib/duet/{p-73f5d7d3.system.entry.js → p-da49ab05.system.entry.js} +2 -2
- package/lib/duet/{p-edda0b76.system.entry.js → p-dc186a2f.system.entry.js} +1 -1
- package/lib/duet/p-dcb8b2e2.entry.js +4 -0
- package/lib/duet/{p-37631fb0.system.entry.js → p-dd3fff16.system.entry.js} +1 -1
- package/lib/duet/{p-e8334ed1.entry.js → p-dd7ec171.entry.js} +1 -1
- package/lib/duet/{p-c71a58da.js → p-e3857119.js} +1 -1
- package/lib/duet/p-e67910bf.system.entry.js +4 -0
- package/lib/duet/{p-3ee0e7a2.system.entry.js → p-e81eade0.system.entry.js} +1 -1
- package/lib/duet/{p-e8eed1e6.entry.js → p-e8b5235d.entry.js} +1 -1
- package/lib/duet/{p-bca39a19.system.entry.js → p-eaff90e5.system.entry.js} +1 -1
- package/lib/duet/{p-87cc03bb.system.entry.js → p-ed4e9cd6.system.entry.js} +1 -1
- package/lib/duet/{p-99110a93.entry.js → p-edd39bb2.entry.js} +1 -1
- package/lib/duet/p-ef7b1342.entry.js +4 -0
- package/lib/duet/{p-2590f7b0.system.entry.js → p-f268a161.system.entry.js} +1 -1
- package/lib/duet/p-f3737a2b.entry.js +4 -0
- package/lib/duet/{p-b2a5f5d0.entry.js → p-f38a5f44.entry.js} +1 -1
- package/lib/duet/{p-475672d1.entry.js → p-f631a689.entry.js} +1 -1
- package/lib/duet/{p-5e988172.system.entry.js → p-f7d083c5.system.entry.js} +1 -1
- package/lib/duet/p-f89d7751.entry.js +4 -0
- package/lib/duet/{p-58f49211.system.entry.js → p-f8f56a8e.system.entry.js} +1 -1
- package/lib/duet/{p-829f18ac.entry.js → p-fb9b0a2f.entry.js} +1 -1
- package/lib/duet/p-fce0a87d.entry.js +4 -0
- package/lib/duet/{p-d46c21c3.system.entry.js → p-ff2aca13.system.entry.js} +2 -2
- package/lib/esm/{a11y-utils-47ea468e.js → a11y-utils-9dbc7c3d.js} +1 -1
- package/lib/esm/{app-globals-52a8e9e5.js → app-globals-e00fbe9c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +3 -3
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +10 -10
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -10
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/{duet-chip_3.entry.js → duet-chip.entry.js} +5 -377
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +15 -15
- package/lib/esm/duet-phone-input.entry.js +1998 -0
- package/lib/esm/duet-popup-menu_2.entry.js +421 -0
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +12 -12
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +22 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-status-icon.entry.js +3 -3
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-e55da25d.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm/{focus-utils-b09f6029.js → focus-utils-7bc146cd.js} +1 -1
- package/lib/esm/{index-ed83a687.js → index-1a6cee61.js} +11 -3
- package/lib/esm/{language-utils-d2c8afdc.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-035ffb1f.js → slot-utils-9633ef1e.js} +1 -1
- package/lib/esm-es5/{a11y-utils-47ea468e.js → a11y-utils-9dbc7c3d.js} +1 -1
- package/lib/esm-es5/{app-globals-52a8e9e5.js → app-globals-e00fbe9c.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +4 -0
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +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 +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-phone-input.entry.js +4 -0
- package/lib/esm-es5/duet-popup-menu_2.entry.js +4 -0
- 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 +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-e55da25d.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm-es5/{focus-utils-b09f6029.js → focus-utils-7bc146cd.js} +1 -1
- package/lib/esm-es5/index-1a6cee61.js +4 -0
- package/lib/esm-es5/{language-utils-d2c8afdc.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-035ffb1f.js → slot-utils-9633ef1e.js} +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
- package/lib/types/components/duet-input/duet-input.d.ts +4 -3
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +156 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components.d.ts +259 -2
- package/lib/types/data/countries.d.ts +22 -0
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-b48eb919.js +0 -268
- package/lib/duet/p-05744ea4.entry.js +0 -4
- package/lib/duet/p-0dee442d.system.entry.js +0 -4
- package/lib/duet/p-0f354fb2.system.entry.js +0 -4
- package/lib/duet/p-254f4171.entry.js +0 -4
- package/lib/duet/p-2f769f52.system.entry.js +0 -4
- package/lib/duet/p-3a5017af.entry.js +0 -4
- package/lib/duet/p-46d7ebac.js +0 -4
- package/lib/duet/p-4ec25d4a.system.js +0 -4
- package/lib/duet/p-55d318e7.entry.js +0 -4
- package/lib/duet/p-571bc7a8.js +0 -4
- package/lib/duet/p-59cbcc2e.system.js +0 -4
- package/lib/duet/p-5bb1c4b6.entry.js +0 -4
- package/lib/duet/p-6044fe21.entry.js +0 -4
- package/lib/duet/p-7e0c5458.entry.js +0 -4
- package/lib/duet/p-8396cd14.entry.js +0 -4
- package/lib/duet/p-96ba9bdb.system.entry.js +0 -4
- package/lib/duet/p-a1f1645c.system.entry.js +0 -4
- package/lib/duet/p-a4bab4d8.entry.js +0 -4
- package/lib/duet/p-bf4d22d5.system.js +0 -4
- package/lib/duet/p-c4fc305d.entry.js +0 -4
- package/lib/duet/p-ceb3a8ca.entry.js +0 -4
- package/lib/duet/p-f1bb265f.entry.js +0 -4
- package/lib/duet/p-f872ec26.system.js +0 -4
- package/lib/esm-es5/duet-chip_3.entry.js +0 -4
- package/lib/esm-es5/index-ed83a687.js +0 -4
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
|
|
6
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
|
+
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
|
+
const tokens_module = require('./tokens.module-46ddb47a.js');
|
|
10
|
+
const floatingUi_dom_esm = require('./floating-ui.dom.esm-806e7c53.js');
|
|
11
|
+
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
12
|
+
const focusUtils = require('./focus-utils-47d23c45.js');
|
|
13
|
+
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
14
|
+
const languageUtils = require('./language-utils-a6a152b8.js');
|
|
15
|
+
const teleport = require('./teleport-c6f8391a.js');
|
|
16
|
+
const actionNewWindowSmall = require('./action-new-window-small-fa51dfb9.js');
|
|
17
|
+
require('./string-utils-7b13c16e.js');
|
|
18
|
+
|
|
19
|
+
const duetPopupMenuCss = "*,*::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-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;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);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.scroll-visible{overflow-y:scroll;scroll-margin:20px}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";
|
|
20
|
+
const DuetPopupMenuStyle0 = duetPopupMenuCss;
|
|
21
|
+
|
|
22
|
+
const DuetPopupMenu = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
index.registerInstance(this, hostRef);
|
|
25
|
+
this.duetToggle = index.createEvent(this, "duetToggle", 7);
|
|
26
|
+
this.filterLabel = {
|
|
27
|
+
en: "Filter menu",
|
|
28
|
+
fi: "Suodata valikkoa",
|
|
29
|
+
sv: "Filtrera meny",
|
|
30
|
+
};
|
|
31
|
+
this.setOpenButton = (element) => {
|
|
32
|
+
if (!element) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
try {
|
|
36
|
+
const button = element;
|
|
37
|
+
button.accessiblePopup = "true";
|
|
38
|
+
button.accessibleExpanded = false;
|
|
39
|
+
if (this.controllerIcon) {
|
|
40
|
+
button.setAttribute("trailing-icon", "action-arrow-down-small");
|
|
41
|
+
}
|
|
42
|
+
this.openButton = button;
|
|
43
|
+
}
|
|
44
|
+
catch (_e) { }
|
|
45
|
+
};
|
|
46
|
+
this.openButtonEventListener = () => {
|
|
47
|
+
this.toggle();
|
|
48
|
+
};
|
|
49
|
+
this.updatePlacement = async () => {
|
|
50
|
+
if (!this.openButton) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
const middleware = [
|
|
54
|
+
floatingUi_dom_esm.offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }),
|
|
55
|
+
this.allowVerticalFlip && floatingUi_dom_esm.flip(),
|
|
56
|
+
floatingUi_dom_esm.shift({ padding: 5 }),
|
|
57
|
+
].filter(Boolean);
|
|
58
|
+
const coordinates = await floatingUi_dom_esm.computePosition(this.openButton, this.menuElement, {
|
|
59
|
+
middleware,
|
|
60
|
+
placement: this.placement,
|
|
61
|
+
strategy: this.position,
|
|
62
|
+
});
|
|
63
|
+
this.menuY = coordinates.y;
|
|
64
|
+
this.menuX = coordinates.x;
|
|
65
|
+
};
|
|
66
|
+
this.getNonFilteredItems = () => {
|
|
67
|
+
return this.showFilterInput ? this.itemElements.filter(i => i.style.display !== "none") : this.itemElements;
|
|
68
|
+
};
|
|
69
|
+
this.filterItems = () => {
|
|
70
|
+
var _a;
|
|
71
|
+
const filterText = (_a = this.filterInput.value) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase();
|
|
72
|
+
const items = this.itemElements;
|
|
73
|
+
items.forEach(item => {
|
|
74
|
+
item.style.display =
|
|
75
|
+
!filterText ||
|
|
76
|
+
item.textContent.toLowerCase().includes(filterText) ||
|
|
77
|
+
item.value.toLowerCase().includes(filterText)
|
|
78
|
+
? ""
|
|
79
|
+
: "none";
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
this.handleKeyDownOnFilter = (ev) => {
|
|
83
|
+
var _a;
|
|
84
|
+
if (keyboardUtils.isArrowDownKey(ev)) {
|
|
85
|
+
(_a = this.getNonFilteredItems()[0]) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
this.open = false;
|
|
89
|
+
this.menuY = undefined;
|
|
90
|
+
this.menuX = undefined;
|
|
91
|
+
this.language = languageUtils.getLanguage();
|
|
92
|
+
this.accessibleLabel = undefined;
|
|
93
|
+
this.accessibleRole = "menu";
|
|
94
|
+
this.theme = "";
|
|
95
|
+
this.skipTeleport = undefined;
|
|
96
|
+
this.placement = "bottom-start";
|
|
97
|
+
this.forcePlacement = false;
|
|
98
|
+
this.allowVerticalFlip = true;
|
|
99
|
+
this.position = "absolute";
|
|
100
|
+
this.mainAxisOffset = 0;
|
|
101
|
+
this.crossAxisOffset = 0;
|
|
102
|
+
this.controllerIcon = "action-arrow-down-small";
|
|
103
|
+
this.scrollLimit = undefined;
|
|
104
|
+
this.showFilterInput = undefined;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
108
|
+
* the component automatically sets the click event listener to open and close the popup-menu.
|
|
109
|
+
*/
|
|
110
|
+
get controller() {
|
|
111
|
+
return this._controller;
|
|
112
|
+
}
|
|
113
|
+
set controller(value) {
|
|
114
|
+
if (this._controller === value) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
this._controller = value;
|
|
118
|
+
if (typeof value === "string") {
|
|
119
|
+
this.setOpenButton(document.getElementById(value));
|
|
120
|
+
if (this.openButton) {
|
|
121
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
this.setOpenButton(value);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Alias for property controller.
|
|
130
|
+
*/
|
|
131
|
+
get opener() {
|
|
132
|
+
return this._controller;
|
|
133
|
+
}
|
|
134
|
+
set opener(value) {
|
|
135
|
+
this.controller = value;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Component lifecycle events.
|
|
139
|
+
*/
|
|
140
|
+
componentWillLoad() {
|
|
141
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
142
|
+
}
|
|
143
|
+
componentDidLoad() {
|
|
144
|
+
{
|
|
145
|
+
this.updatePlacement();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
connectedCallback() {
|
|
149
|
+
if (!this.teleport) {
|
|
150
|
+
this.teleport = new teleport.Teleport(this.element);
|
|
151
|
+
}
|
|
152
|
+
if (this.teleport) {
|
|
153
|
+
this.teleport.activate();
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
disconnectedCallback() {
|
|
157
|
+
if (this.autoUpdateCleanup) {
|
|
158
|
+
this.autoUpdateCleanup();
|
|
159
|
+
}
|
|
160
|
+
if (this.openButton) {
|
|
161
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
162
|
+
if (this.controllerIcon) {
|
|
163
|
+
this.openButton.removeAttribute("trailing-icon");
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Component event handling.
|
|
169
|
+
*/
|
|
170
|
+
handleKeyUp(evt) {
|
|
171
|
+
if (this.open) {
|
|
172
|
+
// When Esc is pressed the menu should be closed
|
|
173
|
+
if (keyboardUtils.isEscapeKey(evt)) {
|
|
174
|
+
this.hide();
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
async handleKeyDown(evt) {
|
|
179
|
+
const items = this.getNonFilteredItems();
|
|
180
|
+
if (this.open) {
|
|
181
|
+
if (keyboardUtils.isArrowDownKey(evt)) {
|
|
182
|
+
evt.preventDefault();
|
|
183
|
+
const current = await this.getFocusedItemIndex();
|
|
184
|
+
if (current !== -1) {
|
|
185
|
+
if (current < items.length - 1) {
|
|
186
|
+
items[current + 1].setFocus();
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
items[0].setFocus();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
if (keyboardUtils.isArrowUpKey(evt)) {
|
|
194
|
+
evt.preventDefault();
|
|
195
|
+
const current = await this.getFocusedItemIndex();
|
|
196
|
+
if (current !== -1) {
|
|
197
|
+
if (current === 0) {
|
|
198
|
+
if (this.showFilterInput) {
|
|
199
|
+
this.filterInput.setFocus();
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
items[items.length - 1].setFocus();
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
items[current - 1].setFocus();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (keyboardUtils.isTabKey(evt) && this.accessibleRole === "menu") {
|
|
211
|
+
evt.preventDefault();
|
|
212
|
+
this.hide();
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
handleClick(evt) {
|
|
217
|
+
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.openButton);
|
|
218
|
+
if (this.open && isClickOutside) {
|
|
219
|
+
this.hide();
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* isOpen.
|
|
224
|
+
*/
|
|
225
|
+
async isOpen() {
|
|
226
|
+
return this.open;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Show.
|
|
230
|
+
*/
|
|
231
|
+
async show() {
|
|
232
|
+
this.open = true;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Hide.
|
|
236
|
+
*/
|
|
237
|
+
async hide() {
|
|
238
|
+
if (this.autoUpdateCleanup) {
|
|
239
|
+
this.autoUpdateCleanup();
|
|
240
|
+
}
|
|
241
|
+
this.open = false;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Toggle.
|
|
245
|
+
*/
|
|
246
|
+
async toggle() {
|
|
247
|
+
if (this.open) {
|
|
248
|
+
this.hide();
|
|
249
|
+
}
|
|
250
|
+
else {
|
|
251
|
+
this.show();
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
handleOpenChange(newValue, oldValue) {
|
|
255
|
+
if (!!newValue === !!oldValue) {
|
|
256
|
+
return;
|
|
257
|
+
}
|
|
258
|
+
if (this.open && !oldValue) {
|
|
259
|
+
if (this.openButton) {
|
|
260
|
+
this.openButton.accessibleExpanded = true;
|
|
261
|
+
}
|
|
262
|
+
if (this.accessibleRole !== "listbox") {
|
|
263
|
+
this.teleport.makeSiblingsInert();
|
|
264
|
+
}
|
|
265
|
+
this.updatePlacement();
|
|
266
|
+
// Start autoUpdate when menu is open
|
|
267
|
+
if (this.menuElement && this.openButton) {
|
|
268
|
+
this.autoUpdateCleanup = floatingUi_dom_esm.autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
269
|
+
}
|
|
270
|
+
if (this.showFilterInput) {
|
|
271
|
+
this.filterInput.value = "";
|
|
272
|
+
this.filterItems();
|
|
273
|
+
}
|
|
274
|
+
setTimeout(() => {
|
|
275
|
+
if (this.accessibleRole === "menu") {
|
|
276
|
+
this.itemElements[0].setFocus();
|
|
277
|
+
}
|
|
278
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
279
|
+
}, 200);
|
|
280
|
+
}
|
|
281
|
+
else if (!this.open && oldValue) {
|
|
282
|
+
if (this.openButton) {
|
|
283
|
+
this.openButton.accessibleExpanded = false;
|
|
284
|
+
}
|
|
285
|
+
// Clean up autoUpdate when closed
|
|
286
|
+
if (this.autoUpdateCleanup) {
|
|
287
|
+
this.autoUpdateCleanup();
|
|
288
|
+
}
|
|
289
|
+
setTimeout(() => {
|
|
290
|
+
if (this.accessibleRole === "menu") {
|
|
291
|
+
focusUtils.focusElement(this.openButton);
|
|
292
|
+
}
|
|
293
|
+
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
294
|
+
if (this.accessibleRole !== "listbox") {
|
|
295
|
+
this.teleport.removeInertFromSiblings();
|
|
296
|
+
}
|
|
297
|
+
}, 200);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
get itemElements() {
|
|
301
|
+
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
302
|
+
}
|
|
303
|
+
get popupMenuStyleHeight() {
|
|
304
|
+
const selector = ":scope duet-popup-menu-item, :scope duet-notification";
|
|
305
|
+
const elements = Array.from(this.element.querySelectorAll(selector));
|
|
306
|
+
if (elements.length > 0 && this.scrollLimit) {
|
|
307
|
+
const paddings = Number(tokens_module.spaceXSmall.replace("px", "")) * 2;
|
|
308
|
+
return `${elements[0].offsetHeight * this.scrollLimit + paddings}px`;
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
return "auto";
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
async getFocusedItemIndex() {
|
|
315
|
+
const items = this.getNonFilteredItems();
|
|
316
|
+
for (let i = 0; i < items.length; i++) {
|
|
317
|
+
if (await items[i].isFocused()) {
|
|
318
|
+
return i;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return -1;
|
|
322
|
+
}
|
|
323
|
+
render() {
|
|
324
|
+
const styles = {
|
|
325
|
+
top: `${this.menuY}px`,
|
|
326
|
+
left: `${this.menuX}px`,
|
|
327
|
+
position: this.position,
|
|
328
|
+
overflowY: "auto",
|
|
329
|
+
height: this.popupMenuStyleHeight,
|
|
330
|
+
};
|
|
331
|
+
return (index.h(index.Host, { key: '245da481a4c3ac550648005777f7f7724c8e7806' }, index.h("div", { key: '17069b93e411e4f951dcf4f591aacf90a0fcf7ec', ref: element => {
|
|
332
|
+
this.menuElement = element;
|
|
333
|
+
}, style: styles, class: {
|
|
334
|
+
open: this.open,
|
|
335
|
+
"duet-popup-menu-list": true,
|
|
336
|
+
"duet-theme-turva": this.theme === "turva",
|
|
337
|
+
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
338
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (index.h("div", { key: '24e126dbabf9089b5d3bed8d20c4a2d727531a0e' }, index.h("duet-input", { key: '719101f79b6678a0e7b28694e2c630e902f58bb2', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), index.h("duet-spacer", { key: 'c49e9178d065230acbc63f163b9b31dfa53a56ae', size: "xx-small" }))), index.h("slot", { key: 'd6e2cbd68cd5f5961d5c486a974b72083f2cbae0' }))));
|
|
339
|
+
}
|
|
340
|
+
get element() { return index.getElement(this); }
|
|
341
|
+
static get watchers() { return {
|
|
342
|
+
"open": ["handleOpenChange"]
|
|
343
|
+
}; }
|
|
344
|
+
};
|
|
345
|
+
DuetPopupMenu.style = DuetPopupMenuStyle0;
|
|
346
|
+
|
|
347
|
+
const duetPopupMenuItemCss = "*,*::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:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start}.duet-popup-menu-item{display:flex;flex-grow:1;gap:12px;align-items:center;height:100%;padding:8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-popup-menu-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-popup-menu-item:focus,.duet-popup-menu-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-popup-menu-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\";color:rgb(23, 28, 58)}.duet-popup-menu-item.active{background:rgb(240, 247, 250)}.duet-popup-menu-item.active.duet-theme-turva{background:rgb(245, 247, 250)}.duet-popup-menu-item:hover{background:rgb(228, 241, 247)}.duet-popup-menu-item:hover.duet-theme-turva{background:rgb(222, 224, 228)}.duet-popup-menu-item .duet-popup-menu-item-label{flex-grow:1}.duet-popup-menu-item .duet-popup-menu-item-trailing{padding-left:20px}.active-descendant{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .active-descendant,.active-descendant.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
348
|
+
const DuetPopupMenuItemStyle0 = duetPopupMenuItemCss;
|
|
349
|
+
|
|
350
|
+
const DuetPopupMenuItem = class {
|
|
351
|
+
constructor(hostRef) {
|
|
352
|
+
index.registerInstance(this, hostRef);
|
|
353
|
+
this.duetFocus = index.createEvent(this, "duetFocus", 7);
|
|
354
|
+
this.duetBlur = index.createEvent(this, "duetBlur", 7);
|
|
355
|
+
/**
|
|
356
|
+
* Component event handling.
|
|
357
|
+
*/
|
|
358
|
+
this.onFocus = (ev) => {
|
|
359
|
+
this.focus = true;
|
|
360
|
+
this.duetFocus.emit({
|
|
361
|
+
originalEvent: ev,
|
|
362
|
+
value: this.value,
|
|
363
|
+
component: "duet-popup-menu-item",
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
this.onBlur = (ev) => {
|
|
367
|
+
this.focus = false;
|
|
368
|
+
this.duetBlur.emit({
|
|
369
|
+
originalEvent: ev,
|
|
370
|
+
value: this.value,
|
|
371
|
+
component: "duet-popup-menu-item",
|
|
372
|
+
});
|
|
373
|
+
};
|
|
374
|
+
this.focus = false;
|
|
375
|
+
this.accessibleLabel = undefined;
|
|
376
|
+
this.accessibleRole = "menuitem";
|
|
377
|
+
this.theme = "";
|
|
378
|
+
this.url = undefined;
|
|
379
|
+
this.external = false;
|
|
380
|
+
this.targetLanguage = undefined;
|
|
381
|
+
this.value = undefined;
|
|
382
|
+
this.leadingIcon = undefined;
|
|
383
|
+
this.leadingIconColor = undefined;
|
|
384
|
+
this.trailingIcon = undefined;
|
|
385
|
+
this.trailingText = undefined;
|
|
386
|
+
this.active = false;
|
|
387
|
+
this.activeDescendant = false;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Component lifecycle events.
|
|
391
|
+
*/
|
|
392
|
+
componentWillLoad() {
|
|
393
|
+
themeableComponent.inheritGlobalTheme(this);
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Sets focus. Use this method instead of the global focus().
|
|
397
|
+
*/
|
|
398
|
+
async setFocus(options) {
|
|
399
|
+
setTimeout(() => this.itemElement.focus(options), 200);
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* isFocused.
|
|
403
|
+
*/
|
|
404
|
+
async isFocused() {
|
|
405
|
+
return this.focus;
|
|
406
|
+
}
|
|
407
|
+
render() {
|
|
408
|
+
const TagName = this.url ? "a" : "button";
|
|
409
|
+
const classes = {
|
|
410
|
+
"duet-popup-menu-item": true,
|
|
411
|
+
active: this.active,
|
|
412
|
+
"duet-theme-turva": this.theme === "turva",
|
|
413
|
+
"active-descendant": this.activeDescendant,
|
|
414
|
+
};
|
|
415
|
+
return (index.h(index.Host, { key: '2f4a7fe60bc5938bbcb3b1fbce1b4c7bb6bc1de2', role: this.accessibleRole }, index.h(TagName, { key: 'c9f7fd447bb786217bd8a914167bb908acf66f37', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (index.h("duet-icon", { key: 'dcd75ed8a6b9113d52ffa7525c4356cbb2900bc4', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), index.h("span", { key: 'db792f6c21c039bc1997fe199227a84854623c9d', class: "duet-popup-menu-item-label" }, index.h("slot", { key: 'dbe5cfc337cc536811672bfc2240518c230df8d6' })), (this.trailingIcon || this.active || (this.url && this.external)) && (index.h("duet-icon", { key: 'dbcb7c7c1fb2a4279aab71c16bf8dfd0505fbe38', name: this.url && this.external
|
|
416
|
+
? actionNewWindowSmall.actionNewWindowSmall.title
|
|
417
|
+
: this.active
|
|
418
|
+
? "messaging-checked-small"
|
|
419
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && index.h("span", { key: 'e234fa5fd161ad0938c925c4b1fb75b6fbbb37f2', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
420
|
+
}
|
|
421
|
+
get element() { return index.getElement(this); }
|
|
422
|
+
};
|
|
423
|
+
DuetPopupMenuItem.style = DuetPopupMenuItemStyle0;
|
|
424
|
+
|
|
425
|
+
exports.duet_popup_menu = DuetPopupMenu;
|
|
426
|
+
exports.duet_popup_menu_item = DuetPopupMenuItem;
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
|
-
const languageUtils = require('./language-utils-
|
|
11
|
+
const languageUtils = require('./language-utils-a6a152b8.js');
|
|
12
12
|
require('./string-utils-7b13c16e.js');
|
|
13
13
|
|
|
14
14
|
const duetProgressCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(240, 247, 250);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(255, 241, 241)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);border:0 none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(240, 247, 250);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(240, 247, 250)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(255, 241, 241)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(255, 241, 241)}";
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-6864011f.js');
|
|
11
11
|
const tokenUtils = require('./token-utils-12717808.js');
|
|
12
12
|
require('./tokens.module-46ddb47a.js');
|
|
13
13
|
|
|
@@ -57,12 +57,12 @@ const DuetPromoCard = class {
|
|
|
57
57
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
58
58
|
};
|
|
59
59
|
const TagName = this.url ? "a" : "div";
|
|
60
|
-
return (index.h(index.Host, { key: '
|
|
60
|
+
return (index.h(index.Host, { key: '0a97e9abde099796c74ee8d4533922d35deb236e', class: { "duet-m-0": this.margin === "none" } }, index.h("aside", { key: '1c1fd59c053cb81d932443c888c6e9573953e946', class: {
|
|
61
61
|
"duet-promo-card": true,
|
|
62
62
|
"duet-theme-turva": this.theme === "turva",
|
|
63
63
|
"no-bg-color": !this.backgroundColor,
|
|
64
64
|
"duet-promo-card-link": !!this.url,
|
|
65
|
-
}, style: bannerStyles }, index.h(TagName, { key: '
|
|
65
|
+
}, style: bannerStyles }, index.h(TagName, { key: 'fd53e9b56dc719eb84b55e185a7709e6ab267e58', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, index.h("img", { key: '34994ce60ac0342c63a4fcfe21a57b0246d2c19e', class: "image", src: this.image, alt: "", role: "presentation" }), index.h("div", { key: 'f0bef01fd5ff40970d3d54befca4682fdceed46f', class: "content" }, this.hasPreHeadingSlot && (index.h("div", { key: 'ad3e40631d0e0a7eab15ca8c97a22141dc14c409', class: "pre-heading" }, index.h("slot", { key: '887cb71bdcf6fffcb82565434e42ad1ee361841c', name: "pre-heading" }))), this.hasHeadingSlot && (index.h("div", { key: '90549d05dab8e3a238f8361cbbcc6ecea1d7cd42', class: "heading" }, index.h("duet-heading", { key: '56eaa16c5fb2f0094e32c24b1e9494092980b3f2', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, index.h("span", { key: '6567201df4ec186d0fecce37cadbdeb9e7d3ceeb' }, index.h("slot", { key: '8f979f5facd440dd76a6a2711922cf4a1b47cba0', name: "heading" }))))), this.hasDescriptionSlot && (index.h("div", { key: '1d1c853e865e767a7f96255f0e9316c6ff4d642a', class: "description" }, index.h("duet-paragraph", { key: '4c1741ff05acd2562c07bdee11c9e00951dc8772', theme: this.theme, margin: "none", color: this.textColor }, index.h("span", { key: '2dd6a0fb0ae7508a6fca281632206ccbab9b80fa' }, index.h("slot", { key: 'c2bda8a30bfbcedfd5aa88b32c332172eb693ea3', name: "description" }))))), this.hasActionSlot && (index.h("div", { key: '46fbd5da2ebd36613c039f6edbb22e81d1fcaf47', class: "action" }, index.h("slot", { key: 'a573eaf8d88210c4c4e613c36a6f127d6caeb783', name: "action" }))))))));
|
|
66
66
|
}
|
|
67
67
|
get element() { return index.getElement(this); }
|
|
68
68
|
};
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
10
|
const createId = require('./create-id-1f8c438f.js');
|
|
11
|
-
const slotUtils = require('./slot-utils-
|
|
11
|
+
const slotUtils = require('./slot-utils-6864011f.js');
|
|
12
12
|
const watchOptions = require('./watch-options-30a12622.js');
|
|
13
13
|
|
|
14
14
|
const duetRadioCss = "*.sc-duet-radio,*.sc-duet-radio::after,*.sc-duet-radio::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-radio-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:28px !important;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-radio-h:last-child,.sc-duet-radio-h:last-of-type{margin-right:0 !important}.vertical.sc-duet-radio-h{margin-right:0 !important}.horizontal.sc-duet-radio-h{margin-bottom:0 !important;width:auto}.horizontal.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}@media (min-width: 48em){.horizontal-responsive.sc-duet-radio-h{margin-right:28px !important;margin-bottom:0 !important;width:auto}.horizontal-responsive.sc-duet-radio-h:last-child,.horizontal-responsive.sc-duet-radio-h:last-of-type{margin-right:0 !important}.horizontal-responsive.sc-duet-radio-h .duet-label.sc-duet-radio .duet-label-content.sc-duet-radio{max-width:100%}}.duet-m-0.sc-duet-radio-h{margin:0 !important}.sc-duet-radio-h:last-child:not(:only-child){margin-right:0 !important;margin-bottom:0 !important}.duet-label.sc-duet-radio{position:relative;z-index:100;display:flex;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;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77);word-break:break-word;overflow-wrap:break-word;cursor:pointer;background:transparent}.duet-theme-turva.sc-duet-radio .duet-label.sc-duet-radio{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-label.sc-duet-radio .duet-label-content.sc-duet-radio{flex-grow:1;font-size:1rem}.duet-label-hidden.sc-duet-radio .duet-label.sc-duet-radio{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-radio-container.sc-duet-radio{position:relative;width:100%;height:100%}.duet-radio.sc-duet-radio{padding:14px !important;position:absolute;top:0;left:0;z-index:200;width:100%;height:100%;cursor:pointer;opacity:0}.duet-radio.sc-duet-radio+label.sc-duet-radio::before{z-index:100;flex-shrink:0;width:20px;height:20px;margin:2px 10px 1px 1px;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(23, 28, 58)}.duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:focus+label.sc-duet-radio::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{position:absolute;top:6px;left:5px;z-index:200;flex-shrink:0;width:12px;height:12px;content:\"\";background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva.sc-duet-radio .duet-radio.sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(23, 28, 58)}.duet-radio[disabled].sc-duet-radio{cursor:default}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio{color:rgb(143, 147, 158)}.duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio+label.sc-duet-radio::before{border-color:rgb(143, 147, 158)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::before{border:1px solid rgb(127, 150, 165)}.duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(127, 150, 165)}.duet-theme-turva.sc-duet-radio .duet-radio[disabled].sc-duet-radio:checked+label.sc-duet-radio::after{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const tokens_module = require('./tokens.module-46ddb47a.js');
|
|
10
10
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
11
11
|
const createId = require('./create-id-1f8c438f.js');
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-996b489c.js');
|
|
10
|
-
const slotUtils = require('./slot-utils-
|
|
10
|
+
const slotUtils = require('./slot-utils-6864011f.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-f7c9f980.js');
|
|
12
|
-
const languageUtils = require('./language-utils-
|
|
12
|
+
const languageUtils = require('./language-utils-a6a152b8.js');
|
|
13
13
|
const tokenUtils = require('./token-utils-12717808.js');
|
|
14
14
|
const createId = require('./create-id-1f8c438f.js');
|
|
15
15
|
require('./string-utils-7b13c16e.js');
|
|
@@ -240,25 +240,25 @@ const DuetScrollable = class {
|
|
|
240
240
|
* Always the last one in the class.
|
|
241
241
|
*/
|
|
242
242
|
render() {
|
|
243
|
-
return (index.h(index.Host, { key: '
|
|
243
|
+
return (index.h(index.Host, { key: '747e51cf1e6b4dc3666bc7c24404a13b9c8b8a78', class: {
|
|
244
244
|
"duet-theme-turva": this.theme === "turva",
|
|
245
245
|
"duet-theme-default": this.theme === "default",
|
|
246
|
-
} }, this.hasCollapseButtonLabelSlot && (index.h("div", { key: '
|
|
246
|
+
} }, this.hasCollapseButtonLabelSlot && (index.h("div", { key: '2439c9c82795f69fa13ab860ce27e917d6069ce4', class: {
|
|
247
247
|
collapse: true,
|
|
248
248
|
hide: !this.needsScrolling && !this.collapsed,
|
|
249
|
-
} }, index.h("duet-button", { key: '
|
|
249
|
+
} }, index.h("duet-button", { key: '7cd29de14a99f1f24eeee8e2d8422fcbfcd07258', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, index.h("slot", { key: 'b34f0b2114143698d44364dae3a96e9d6b666db8', name: "collapse-button-label" })))), index.h("div", { key: '976bc6a9b20bdfb84ac0f11f33327650507d932d', class: {
|
|
250
250
|
"duet-scrollable-items": true,
|
|
251
251
|
buttons: this.buttons,
|
|
252
252
|
center: this.center,
|
|
253
253
|
"duet-theme-turva": this.theme === "turva",
|
|
254
|
-
} }, this.buttons && this.renderButton("left"), index.h("div", { key: '
|
|
254
|
+
} }, this.buttons && this.renderButton("left"), index.h("div", { key: '43f02d7f2596dfd0bb8979c54ce1b1f451092ecd', class: {
|
|
255
255
|
"duet-scrollable-list": true,
|
|
256
256
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
257
257
|
[`gap-${this.gap}`]: true,
|
|
258
258
|
collapsed: this.collapsed,
|
|
259
259
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
260
260
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
261
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, index.h("slot", { key: '
|
|
261
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, index.h("slot", { key: '37617a61c9583df93cc0accab40208d4bb0bbbd3' })), this.buttons && this.renderButton("right"))));
|
|
262
262
|
}
|
|
263
263
|
get element() { return index.getElement(this); }
|
|
264
264
|
static get watchers() { return {
|
|
@@ -582,23 +582,23 @@ const DuetTabGroup = class {
|
|
|
582
582
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
583
583
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
584
584
|
}, onClick: () => this.onTabSelect(index$1), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (index.h("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, index.h("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, index.h("p", null, element.label), index.h("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), index.h("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, index.h("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
585
|
-
return (index.h("div", { key: '
|
|
585
|
+
return (index.h("div", { key: '3c43b90c86da8b84482d816d06e6a3218aaf365c', class: {
|
|
586
586
|
"duet-tab-group": true,
|
|
587
587
|
"duet-theme-turva": this.theme === "turva",
|
|
588
588
|
[variationClass]: true,
|
|
589
589
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
590
590
|
"duet-tab-group-scrolls": true,
|
|
591
|
-
}, "aria-label": this.accessibleLabel }, index.h("div", { key: '
|
|
591
|
+
}, "aria-label": this.accessibleLabel }, index.h("div", { key: 'be929248e27f557e9f274427cf36320db7e0ae52', role: "tablist", class: {
|
|
592
592
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
593
593
|
"duet-tab-group-tabs": true,
|
|
594
594
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
595
595
|
}, ref: el => {
|
|
596
596
|
this.tabsContainer = el;
|
|
597
|
-
} }, this.variation === "checked" ? (buttons) : (index.h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), index.h("div", { key: '
|
|
597
|
+
} }, this.variation === "checked" ? (buttons) : (index.h("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), index.h("div", { key: '35fd3d2cca054c60c07ca3913dfaac74338b3626', class: {
|
|
598
598
|
"duet-tab-group-content": true,
|
|
599
599
|
"duet-m-0": this.margin === "none",
|
|
600
600
|
"checked-group-content": this.variation === "checked",
|
|
601
|
-
} }, index.h("slot", { key: '
|
|
601
|
+
} }, index.h("slot", { key: 'd85c7c4ea7f92796b029b89d9f749ff9a9bc525c' }))));
|
|
602
602
|
}
|
|
603
603
|
get element() { return index.getElement(this); }
|
|
604
604
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-7b1d76ef.js');
|
|
9
9
|
const isInternetExplorer = require('./is-internet-explorer-e7f58ebc.js');
|
|
10
10
|
|
|
11
11
|
const duetSectionLayoutCss = "*,*::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;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";
|
|
@@ -23,13 +23,13 @@ const DuetSectionLayout = class {
|
|
|
23
23
|
* Always the last one in the class.
|
|
24
24
|
*/
|
|
25
25
|
render() {
|
|
26
|
-
return (index.h(index.Host, { key: '
|
|
26
|
+
return (index.h(index.Host, { key: '89be4e82e34327cb68c695187821280140aa3233', class: {
|
|
27
27
|
"duet-middle": this.middle,
|
|
28
28
|
"duet-ie": isInternetExplorer.isInternetExplorer(),
|
|
29
|
-
} }, index.h("div", { key: '
|
|
29
|
+
} }, index.h("div", { key: '2cde22f46d6a6b602245fb0d6e875349845bd204', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, index.h("div", { key: 'a39c58d05f6944ba7c6c0bfda25a3ad1d99f3e2f', class: {
|
|
30
30
|
"duet-layout": true,
|
|
31
31
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
32
|
-
} }, index.h("section", { key: '
|
|
32
|
+
} }, index.h("section", { key: 'ee98fe87b3d0994ab04c65590b5288d35aea2a9e', class: "duet-main" }, index.h("slot", { key: '2f931f464073257e432992e99f40a58727401352' }))))));
|
|
33
33
|
}
|
|
34
34
|
get element() { return index.getElement(this); }
|
|
35
35
|
};
|