@duetds/components 9.4.1 → 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 +2284 -205
- package/lib/cjs/{a11y-utils-d8d25cf4.js → a11y-utils-103b327e.js} +1 -1
- package/lib/cjs/{app-globals-99f2f39f.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 +27 -18
- 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-2db03da6.js → errorcodes.utils-e3a0f607.js} +1 -1
- package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-47d23c45.js} +1 -1
- package/lib/cjs/{index-9c3aea30.js → index-7b1d76ef.js} +11 -3
- package/lib/cjs/{language-utils-9499975c.js → language-utils-a6a152b8.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-58467702.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.css +7 -6
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +12 -9
- 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 +11 -5
- 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 +18 -12
- 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-705254ba.js → p-18bc63f3.js} +3 -3
- package/lib/dist-custom-elements/{p-d8ca9bb0.js → p-19b9ead1.js} +7 -7
- package/lib/dist-custom-elements/{p-77a6d407.js → p-26c7e23f.js} +1 -1
- package/lib/dist-custom-elements/{p-6617d6ac.js → p-2ecca38c.js} +3 -3
- package/lib/dist-custom-elements/{p-0a959269.js → p-2f6cc198.js} +4 -4
- package/lib/dist-custom-elements/{p-86bff8f2.js → p-32ca7625.js} +1 -1
- package/lib/dist-custom-elements/{p-f2e41ed9.js → p-39b87412.js} +2 -2
- package/lib/dist-custom-elements/{p-4c77c6a3.js → p-41403f71.js} +3 -3
- package/lib/dist-custom-elements/{p-2ccad3d5.js → p-4ccd7bcc.js} +4 -4
- package/lib/dist-custom-elements/{p-447bdf9c.js → p-4d6f6627.js} +3 -3
- package/lib/dist-custom-elements/{p-54a8c7e1.js → p-4ed8da23.js} +6 -4
- package/lib/dist-custom-elements/{p-e95fb79b.js → p-52df4164.js} +1 -1
- package/lib/dist-custom-elements/{p-1080a6c7.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-8381740e.js → p-76415eb2.js} +4 -4
- package/lib/dist-custom-elements/{p-195bcbbc.js → p-76f76fab.js} +119 -12
- package/lib/dist-custom-elements/{p-9a854b9b.js → p-7b74fee9.js} +3 -3
- package/lib/dist-custom-elements/{p-1b3d1a63.js → p-87df2d6e.js} +10 -10
- package/lib/dist-custom-elements/{p-e6396ef5.js → p-8ad5e64f.js} +3 -3
- package/lib/dist-custom-elements/{p-67704520.js → p-8f1394dd.js} +2 -2
- package/lib/dist-custom-elements/{p-ef906a44.js → p-9cb035b0.js} +5 -5
- package/lib/dist-custom-elements/{p-283c8c77.js → p-a013e7b0.js} +18 -15
- package/lib/dist-custom-elements/{p-02060606.js → p-a201b49f.js} +12 -12
- package/lib/dist-custom-elements/{p-c1f97fa7.js → p-ad89064b.js} +6 -6
- package/lib/dist-custom-elements/{p-a8859d41.js → p-b2599bdb.js} +2 -2
- package/lib/dist-custom-elements/{p-3392a6b5.js → p-b3a6e82a.js} +8 -8
- package/lib/dist-custom-elements/{p-5c11ac99.js → p-b8bae8c7.js} +2 -2
- package/lib/dist-custom-elements/{p-bcdec622.js → p-c577fbfe.js} +2 -2
- package/lib/dist-custom-elements/{p-269887e7.js → p-c69401c2.js} +4 -4
- package/lib/dist-custom-elements/{p-dafd01b3.js → p-cf1df71c.js} +1 -1
- package/lib/dist-custom-elements/{p-6657fbee.js → p-d01a8307.js} +5 -5
- package/lib/dist-custom-elements/{p-1e473975.js → p-d05c6565.js} +2 -2
- package/lib/dist-custom-elements/{p-159ce59f.js → p-d5859ccf.js} +3 -3
- package/lib/dist-custom-elements/{p-0323fc27.js → p-da60c00a.js} +4 -4
- package/lib/dist-custom-elements/{p-538c0817.js → p-db1f42f3.js} +3 -3
- package/lib/dist-custom-elements/{p-8885bff1.js → p-dce51f6d.js} +2 -2
- package/lib/dist-custom-elements/{p-ccfdbbfd.js → p-eb768545.js} +3 -3
- package/lib/dist-custom-elements/{p-d74ee462.js → p-ed6a907e.js} +1 -1
- package/lib/dist-custom-elements/{p-0a566079.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-4f672fb0.entry.js → p-00ab909e.entry.js} +1 -1
- package/lib/duet/{p-f1ba826c.system.entry.js → p-00dd59e4.system.entry.js} +1 -1
- package/lib/duet/{p-e39d08e7.system.entry.js → p-033947e4.system.entry.js} +1 -1
- package/lib/duet/{p-a9d41a98.entry.js → p-03abf8be.entry.js} +1 -1
- package/lib/duet/{p-fbeb26a6.entry.js → p-04090a71.entry.js} +1 -1
- package/lib/duet/p-083bbc28.js +4 -0
- package/lib/duet/{p-ef40ca12.system.entry.js → p-0c5d595b.system.entry.js} +1 -1
- package/lib/duet/{p-1f059581.entry.js → p-0d1c524e.entry.js} +1 -1
- package/lib/duet/p-0d443be5.js +4 -0
- package/lib/duet/{p-41cced2e.entry.js → p-0d626d2e.entry.js} +1 -1
- package/lib/duet/{p-c5938aef.entry.js → p-0e2727b2.entry.js} +1 -1
- package/lib/duet/{p-54689a14.entry.js → p-0e3a6d04.entry.js} +1 -1
- package/lib/duet/p-1052f050.entry.js +4 -0
- package/lib/duet/{p-54e704a1.entry.js → p-1057eeaa.entry.js} +1 -1
- package/lib/duet/{p-a90beab2.entry.js → p-1275c867.entry.js} +1 -1
- package/lib/duet/{p-8984c2a3.system.entry.js → p-1317da1c.system.entry.js} +1 -1
- package/lib/duet/{p-86150b9f.system.entry.js → p-1364a715.system.entry.js} +1 -1
- package/lib/duet/{p-d3790473.entry.js → p-148be53e.entry.js} +1 -1
- package/lib/duet/{p-ca5d23f8.system.entry.js → p-15bd06bb.system.entry.js} +1 -1
- package/lib/duet/{p-2f021c6a.system.entry.js → p-1744b916.system.entry.js} +1 -1
- package/lib/duet/{p-59c9d492.entry.js → p-17592731.entry.js} +1 -1
- package/lib/duet/{p-126d3a77.system.entry.js → p-17d11f8c.system.entry.js} +1 -1
- package/lib/duet/p-19625473.entry.js +4 -0
- package/lib/duet/{p-8aa37257.entry.js → p-1b1d98b4.entry.js} +1 -1
- package/lib/duet/{p-36a9f7ef.entry.js → p-1c0ace6c.entry.js} +1 -1
- package/lib/duet/{p-6d41bea4.system.entry.js → p-1ea716c1.system.entry.js} +1 -1
- package/lib/duet/{p-51b198a9.entry.js → p-1fc48a8d.entry.js} +1 -1
- package/lib/duet/{p-03259614.entry.js → p-202f526f.entry.js} +1 -1
- package/lib/duet/{p-544acabc.system.entry.js → p-207e46dc.system.entry.js} +1 -1
- package/lib/duet/{p-56d8b241.system.entry.js → p-26df85b3.system.entry.js} +1 -1
- package/lib/duet/{p-291d313b.system.entry.js → p-28cc13b6.system.entry.js} +1 -1
- package/lib/duet/{p-afbd4b56.system.entry.js → p-28ef1aaf.system.entry.js} +1 -1
- package/lib/duet/{p-280630b2.entry.js → p-295396cd.entry.js} +1 -1
- package/lib/duet/{p-5b8a114c.system.entry.js → p-2a0c7157.system.entry.js} +1 -1
- package/lib/duet/{p-ab67d864.system.entry.js → p-2a0e1cd2.system.entry.js} +1 -1
- package/lib/duet/{p-e03a4cf1.system.entry.js → p-2a4f4522.system.entry.js} +1 -1
- package/lib/duet/{p-85641c26.entry.js → p-2b082283.entry.js} +1 -1
- package/lib/duet/{p-74aa0f9d.system.js → p-2bb44297.system.js} +1 -1
- package/lib/duet/{p-352dae35.entry.js → p-2c64554e.entry.js} +1 -1
- package/lib/duet/{p-63b854a7.system.entry.js → p-2efdf39c.system.entry.js} +1 -1
- package/lib/duet/{p-bc5fa50f.entry.js → p-3072addc.entry.js} +1 -1
- package/lib/duet/{p-086a3406.entry.js → p-345ac2e1.entry.js} +1 -1
- package/lib/duet/{p-66bfcb56.system.entry.js → p-346f8340.system.entry.js} +1 -1
- package/lib/duet/{p-c4c02007.entry.js → p-35600b76.entry.js} +1 -1
- package/lib/duet/{p-452883d8.entry.js → p-35c49132.entry.js} +1 -1
- package/lib/duet/{p-51f95f2e.entry.js → p-37c469ec.entry.js} +1 -1
- package/lib/duet/{p-99cdf534.entry.js → p-3ac058e8.entry.js} +1 -1
- package/lib/duet/{p-e5395121.system.entry.js → p-3bcc4ed9.system.entry.js} +1 -1
- package/lib/duet/p-42a1b0f0.system.js +4 -0
- package/lib/duet/{p-96201a4f.system.entry.js → p-433fad0d.system.entry.js} +1 -1
- package/lib/duet/{p-5c8de709.system.entry.js → p-435f700f.system.entry.js} +1 -1
- package/lib/duet/{p-f973c743.entry.js → p-45beef6d.entry.js} +1 -1
- package/lib/duet/{p-5645fe0f.entry.js → p-477e39b0.entry.js} +1 -1
- package/lib/duet/{p-8968462d.entry.js → p-48bb29d2.entry.js} +1 -1
- package/lib/duet/{p-87040cdc.entry.js → p-497fe0b1.entry.js} +1 -1
- package/lib/duet/p-4a2ccec7.entry.js +4 -0
- package/lib/duet/{p-7fb92a7e.system.entry.js → p-4af9bc5f.system.entry.js} +1 -1
- package/lib/duet/p-4ebb368b.entry.js +4 -0
- package/lib/duet/{p-fbc233bb.system.entry.js → p-4f2c25a0.system.entry.js} +1 -1
- package/lib/duet/{p-d080e1b9.system.js → p-4f945200.system.js} +1 -1
- package/lib/duet/{p-e7fe5dda.entry.js → p-4fc8517e.entry.js} +1 -1
- package/lib/duet/{p-d4d5010c.entry.js → p-4fc945d4.entry.js} +1 -1
- package/lib/duet/{p-33d04b9b.entry.js → p-52829324.entry.js} +1 -1
- package/lib/duet/{p-5555c8b1.system.entry.js → p-53b9b442.system.entry.js} +1 -1
- package/lib/duet/p-55bafbde.system.entry.js +4 -0
- package/lib/duet/{p-eeca1e90.entry.js → p-56b48e3d.entry.js} +1 -1
- package/lib/duet/{p-bcee92ef.entry.js → p-580a6591.entry.js} +1 -1
- package/lib/duet/p-587a9d58.system.entry.js +4 -0
- package/lib/duet/{p-8860ca98.system.entry.js → p-5ab4313d.system.entry.js} +1 -1
- package/lib/duet/{p-da959774.system.entry.js → p-5c561b82.system.entry.js} +1 -1
- package/lib/duet/{p-f5056fd8.system.entry.js → p-5d5ba6ed.system.entry.js} +1 -1
- package/lib/duet/{p-70a6edcd.system.entry.js → p-5e01a303.system.entry.js} +1 -1
- package/lib/duet/{p-3aa36e16.entry.js → p-5e2d4a51.entry.js} +1 -1
- package/lib/duet/{p-4289c19b.system.js → p-61173f11.system.js} +1 -1
- package/lib/duet/p-622e1ffc.js +4 -0
- package/lib/duet/{p-fef429fb.system.entry.js → p-64651bff.system.entry.js} +1 -1
- package/lib/duet/p-64853b73.entry.js +4 -0
- package/lib/duet/{p-839b3553.system.entry.js → p-66021b00.system.entry.js} +2 -2
- package/lib/duet/{p-795bf9ca.system.entry.js → p-68cbc985.system.entry.js} +1 -1
- package/lib/duet/{p-c705b8d5.entry.js → p-6c36ad85.entry.js} +1 -1
- package/lib/duet/p-6eb279dd.system.entry.js +4 -0
- package/lib/duet/{p-7069c290.system.entry.js → p-6fb72847.system.entry.js} +1 -1
- package/lib/duet/{p-a14a68fe.entry.js → p-71ec5b28.entry.js} +1 -1
- package/lib/duet/p-73853b36.system.entry.js +4 -0
- package/lib/duet/{p-8c78634e.system.entry.js → p-7567fef0.system.entry.js} +1 -1
- package/lib/duet/{p-e08088cb.system.entry.js → p-76361fed.system.entry.js} +2 -2
- package/lib/duet/p-7638da3f.entry.js +4 -0
- package/lib/duet/{p-cd4dce06.js → p-76927493.js} +1 -1
- package/lib/duet/{p-37085adb.entry.js → p-7ac466a3.entry.js} +1 -1
- package/lib/duet/{p-241e3985.system.entry.js → p-7b5541e9.system.entry.js} +1 -1
- package/lib/duet/{p-0a675075.js → p-7be5b9a7.js} +1 -1
- package/lib/duet/{p-4ca75b84.system.entry.js → p-7cad68ea.system.entry.js} +1 -1
- package/lib/duet/{p-fb713ab0.entry.js → p-7fceb8c8.entry.js} +1 -1
- package/lib/duet/{p-e4b910b4.system.entry.js → p-84b24dcc.system.entry.js} +1 -1
- package/lib/duet/{p-d5fedd59.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-c55fd9d3.entry.js → p-88e0e42c.entry.js} +1 -1
- package/lib/duet/{p-054f5ec6.system.js → p-89cf1a91.system.js} +1 -1
- package/lib/duet/p-8b59d885.entry.js +4 -0
- package/lib/duet/{p-95c6d4d0.entry.js → p-8bfb6649.entry.js} +1 -1
- package/lib/duet/{p-b4fb5d47.entry.js → p-8d6e249b.entry.js} +1 -1
- package/lib/duet/p-8ecbac63.system.entry.js +4 -0
- package/lib/duet/{p-8ff659e3.system.entry.js → p-8f698359.system.entry.js} +1 -1
- package/lib/duet/{p-b08ae8a2.system.entry.js → p-91a98b52.system.entry.js} +1 -1
- package/lib/duet/{p-b19b9511.system.entry.js → p-91f7ae75.system.entry.js} +1 -1
- package/lib/duet/{p-18cee812.system.entry.js → p-925da010.system.entry.js} +1 -1
- package/lib/duet/{p-f2311beb.entry.js → p-943edeef.entry.js} +1 -1
- package/lib/duet/{p-e8084ea9.system.entry.js → p-9525c31e.system.entry.js} +1 -1
- package/lib/duet/{p-ef2ee599.entry.js → p-95f1b9a1.entry.js} +1 -1
- package/lib/duet/p-96a6cca2.entry.js +4 -0
- package/lib/duet/p-98fd263d.entry.js +4 -0
- package/lib/duet/{p-38e51258.system.entry.js → p-9d3e0050.system.entry.js} +2 -2
- package/lib/duet/{p-296d5473.entry.js → p-9f377238.entry.js} +1 -1
- package/lib/duet/p-9f3a5506.entry.js +4 -0
- package/lib/duet/{p-c6384d36.entry.js → p-9f9e4b5a.entry.js} +1 -1
- package/lib/duet/{p-e73965c8.system.entry.js → p-a0229b56.system.entry.js} +1 -1
- package/lib/duet/p-a083b91a.js +5 -0
- package/lib/duet/{p-2d6410d0.system.js → p-a331ae6e.system.js} +1 -1
- package/lib/duet/{p-fa402e10.system.entry.js → p-a637d6a7.system.entry.js} +1 -1
- package/lib/duet/{p-257b436e.system.entry.js → p-a90243df.system.entry.js} +1 -1
- package/lib/duet/{p-b8327514.entry.js → p-afc011e1.entry.js} +1 -1
- package/lib/duet/p-aff748c3.entry.js +4 -0
- package/lib/duet/{p-f17324db.system.entry.js → p-b1c2ab61.system.entry.js} +1 -1
- package/lib/duet/p-b3076f6c.system.entry.js +4 -0
- package/lib/duet/{p-145d2c10.entry.js → p-b327a269.entry.js} +1 -1
- package/lib/duet/{p-def465ae.entry.js → p-b32dcb86.entry.js} +1 -1
- package/lib/duet/{p-c91ee9a4.system.entry.js → p-b336e3fb.system.entry.js} +1 -1
- package/lib/duet/{p-71b99868.entry.js → p-b410d85d.entry.js} +1 -1
- package/lib/duet/p-b56915bb.system.entry.js +4 -0
- package/lib/duet/{p-6899c158.system.entry.js → p-b642d349.system.entry.js} +1 -1
- package/lib/duet/{p-7718746e.entry.js → p-b79ca71d.entry.js} +1 -1
- package/lib/duet/{p-2eaefb06.entry.js → p-baf88ca9.entry.js} +1 -1
- package/lib/duet/{p-f739d912.system.entry.js → p-bbb9a30a.system.entry.js} +1 -1
- package/lib/duet/{p-e50de9e7.entry.js → p-bcd14101.entry.js} +1 -1
- package/lib/duet/{p-3a16a027.entry.js → p-bcfd5746.entry.js} +1 -1
- package/lib/duet/{p-1aac7b52.entry.js → p-bfb897ab.entry.js} +1 -1
- package/lib/duet/{p-36a1de2f.system.entry.js → p-c2befbf1.system.entry.js} +1 -1
- package/lib/duet/{p-0dfbe740.entry.js → p-c2d61f47.entry.js} +1 -1
- package/lib/duet/{p-26b99c47.system.entry.js → p-c3d6433f.system.entry.js} +1 -1
- package/lib/duet/{p-541429d7.system.entry.js → p-c50c0b02.system.entry.js} +2 -2
- package/lib/duet/{p-b501865b.system.entry.js → p-c5117f90.system.entry.js} +1 -1
- package/lib/duet/{p-ab885d81.entry.js → p-c56c0b41.entry.js} +1 -1
- package/lib/duet/{p-73ff5910.system.entry.js → p-c581e6d3.system.entry.js} +1 -1
- package/lib/duet/{p-74c70041.system.entry.js → p-c734cff9.system.entry.js} +1 -1
- package/lib/duet/p-ca29569e.system.js +4 -0
- package/lib/duet/{p-b2d5f07c.system.js → p-cdba12cc.system.js} +1 -1
- package/lib/duet/{p-a3efd322.system.entry.js → p-ce8d83cf.system.entry.js} +2 -2
- package/lib/duet/{p-21631e83.entry.js → p-d2059383.entry.js} +1 -1
- package/lib/duet/{p-673b20ea.system.entry.js → p-d2e9bcdf.system.entry.js} +1 -1
- package/lib/duet/{p-b6ea05f0.system.entry.js → p-d3e906da.system.entry.js} +1 -1
- package/lib/duet/{p-f937ba7d.entry.js → p-d49076b6.entry.js} +1 -1
- package/lib/duet/{p-140fd433.system.entry.js → p-d66a0251.system.entry.js} +1 -1
- package/lib/duet/{p-dd4374fe.system.entry.js → p-d8c356eb.system.entry.js} +1 -1
- package/lib/duet/{p-ae82df47.system.entry.js → p-d915362b.system.entry.js} +1 -1
- package/lib/duet/{p-cb00bf45.system.entry.js → p-da49ab05.system.entry.js} +2 -2
- package/lib/duet/{p-7f6a61f0.system.entry.js → p-dc186a2f.system.entry.js} +1 -1
- package/lib/duet/p-dcb8b2e2.entry.js +4 -0
- package/lib/duet/{p-8ca8ab58.system.entry.js → p-dd3fff16.system.entry.js} +2 -2
- package/lib/duet/{p-7c235af5.entry.js → p-dd7ec171.entry.js} +1 -1
- package/lib/duet/{p-4d06fd44.js → p-e3857119.js} +1 -1
- package/lib/duet/p-e67910bf.system.entry.js +4 -0
- package/lib/duet/{p-274b3451.system.entry.js → p-e81eade0.system.entry.js} +1 -1
- package/lib/duet/{p-4afae9c6.entry.js → p-e8b5235d.entry.js} +1 -1
- package/lib/duet/{p-59a32595.system.entry.js → p-eaff90e5.system.entry.js} +1 -1
- package/lib/duet/{p-8305c56f.system.entry.js → p-ed4e9cd6.system.entry.js} +1 -1
- package/lib/duet/{p-f90407fc.entry.js → p-edd39bb2.entry.js} +1 -1
- package/lib/duet/p-ef7b1342.entry.js +4 -0
- package/lib/duet/{p-91f6cf96.system.entry.js → p-f268a161.system.entry.js} +1 -1
- package/lib/duet/p-f3737a2b.entry.js +4 -0
- package/lib/duet/{p-10c5ce3a.entry.js → p-f38a5f44.entry.js} +1 -1
- package/lib/duet/{p-5f06bb51.entry.js → p-f631a689.entry.js} +1 -1
- package/lib/duet/{p-67da02dd.system.entry.js → p-f7d083c5.system.entry.js} +1 -1
- package/lib/duet/p-f89d7751.entry.js +4 -0
- package/lib/duet/{p-5df12983.system.entry.js → p-f8f56a8e.system.entry.js} +1 -1
- package/lib/duet/{p-db291b81.entry.js → p-fb9b0a2f.entry.js} +1 -1
- package/lib/duet/{p-55ecc86b.entry.js → p-fce0a87d.entry.js} +1 -1
- package/lib/duet/{p-e0e6e461.system.entry.js → p-ff2aca13.system.entry.js} +2 -2
- package/lib/esm/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
- package/lib/esm/{app-globals-f12e0500.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 +27 -18
- 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-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm/{focus-utils-fc101536.js → focus-utils-7bc146cd.js} +1 -1
- package/lib/esm/{index-fa810c91.js → index-1a6cee61.js} +11 -3
- package/lib/esm/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-adbc7a01.js → slot-utils-9633ef1e.js} +1 -1
- package/lib/esm-es5/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
- package/lib/esm-es5/{app-globals-f12e0500.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 +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +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-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm-es5/focus-utils-7bc146cd.js +4 -0
- package/lib/esm-es5/index-1a6cee61.js +4 -0
- package/lib/esm-es5/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-adbc7a01.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-scrollable/duet-scrollable.d.ts +1 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -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-35014c4b.js +0 -268
- package/lib/duet/p-0750dca1.entry.js +0 -4
- package/lib/duet/p-07f685d3.entry.js +0 -4
- package/lib/duet/p-28696d40.entry.js +0 -4
- package/lib/duet/p-2981b2b9.system.entry.js +0 -4
- package/lib/duet/p-344ead85.system.entry.js +0 -4
- package/lib/duet/p-3933c84c.system.entry.js +0 -4
- package/lib/duet/p-4a91b8bc.system.entry.js +0 -4
- package/lib/duet/p-56d9a98c.system.entry.js +0 -4
- package/lib/duet/p-659d4dd6.entry.js +0 -4
- package/lib/duet/p-745a94fa.entry.js +0 -4
- package/lib/duet/p-7648f559.system.js +0 -4
- package/lib/duet/p-76fd0ec2.entry.js +0 -4
- package/lib/duet/p-7d6ddeec.js +0 -4
- package/lib/duet/p-7efd74ca.entry.js +0 -4
- package/lib/duet/p-87302bc0.entry.js +0 -4
- package/lib/duet/p-8bfce1f7.entry.js +0 -4
- package/lib/duet/p-97fe4968.js +0 -5
- package/lib/duet/p-9d6f6707.entry.js +0 -4
- package/lib/duet/p-a17a2112.entry.js +0 -4
- package/lib/duet/p-ac7ef7e2.js +0 -4
- package/lib/duet/p-b5b8973c.js +0 -4
- package/lib/duet/p-b7ecf91a.entry.js +0 -4
- package/lib/duet/p-bc440286.entry.js +0 -4
- package/lib/duet/p-c1802d38.system.js +0 -4
- package/lib/duet/p-c403a5b5.entry.js +0 -4
- package/lib/duet/p-d819ba34.entry.js +0 -4
- package/lib/duet/p-e81db273.system.entry.js +0 -4
- package/lib/duet/p-eaa81178.system.entry.js +0 -4
- package/lib/esm-es5/duet-chip_3.entry.js +0 -4
- package/lib/esm-es5/focus-utils-fc101536.js +0 -4
- package/lib/esm-es5/index-fa810c91.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
|
-
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-
|
|
6
|
+
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-9633ef1e.js';
|
|
7
7
|
|
|
8
8
|
const duetCalloutCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:100%}blockquote,figure{margin:0}.duet-callout{margin-bottom:28px !important;display:flex;align-items:center;justify-content:center;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\"}.duet-callout .container{display:flex;flex-direction:column;gap:8px;align-items:center;max-width:688px;text-align:center}.duet-callout .callout-icon{width:50px;padding-bottom:8px}.duet-callout blockquote{font-size:2.7vw;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 37.037037037rem){.duet-callout blockquote{font-size:1rem}}@media (min-width: 46.2962962963rem){.duet-callout blockquote{font-size:1.25rem}}.duet-callout .author{color:rgb(8, 42, 77)}.duet-callout.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-callout.duet-theme-turva .author,.duet-callout.duet-theme-turva blockquote{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
9
9
|
const DuetCalloutStyle0 = duetCalloutCss;
|
|
@@ -32,11 +32,11 @@ const DuetCallout = class {
|
|
|
32
32
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
33
33
|
</svg>
|
|
34
34
|
`;
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '2c0e0547229b6ad6a7cdc410305fd4410b3e23c5' }, h("div", { key: 'e1ed12bbba8544b1dd2f80aef8d290f01b087a42', class: {
|
|
36
36
|
"duet-callout": true,
|
|
37
37
|
"duet-theme-turva": this.theme === "turva",
|
|
38
38
|
"duet-m-0": this.margin === "none",
|
|
39
|
-
} }, h("figure", { key: '
|
|
39
|
+
} }, h("figure", { key: '1c13c1e60d0eacf6130836b22e40820cd0bcc996', class: "container" }, h("duet-icon", { key: 'd510e6802cb67270d02ad5261719f3fb6c34ab68', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), h("blockquote", { key: '035294078491273c88249b1577a037f28c24ca30' }, h("slot", { key: 'b516e727fc4d435fed30d422ba311099aff70605' })), this.hasAuthorSlot && (h("figcaption", { key: 'ad0b1b81c5dc8cc30136ec2779fb66c428d624ef', class: "author" }, h("span", { key: '4e2c5eb565f7e54f07900a691e2c01c73df22858' }, "\u2014 "), h("slot", { key: '00fcc97851122cdc95659800a0da4c35ffbfa7c1', name: "author" })))))));
|
|
40
40
|
}
|
|
41
41
|
get element() { return getElement(this); }
|
|
42
42
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
7
7
|
import { g as getColorByName } from './token-utils-a32eb753.js';
|
|
8
8
|
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
9
9
|
import { D as DuetStringsExternalDefaults, c as DuetStringsDownloadLinkDefaults } from './common-strings-af765cad.js';
|
|
10
|
-
import { g as getAccessibleLinkLabel } from './a11y-utils-
|
|
11
|
-
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
+
import { g as getAccessibleLinkLabel } from './a11y-utils-9dbc7c3d.js';
|
|
11
|
+
import { a as getLanguage, g as getLocaleString, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-8a9d5323.js';
|
|
12
12
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
13
13
|
import './tokens.module-a746651a.js';
|
|
14
|
-
import './slot-utils-
|
|
14
|
+
import './slot-utils-9633ef1e.js';
|
|
15
15
|
|
|
16
16
|
const duetCaptionCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;display:flex;flex:0 0 100%;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.5;color:rgb(98, 121, 138);vertical-align:top}:host.duet-p-0{padding:0 !important}:host.duet-m-0{margin:0 !important}:host(.duet-caption-small){font-size:0.875rem;line-height:1.25}:host(.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(143, 147, 158)}:host(.duet-caption-selected){color:rgb(0, 119, 179)}:host(.duet-caption-selected.duet-theme-turva){color:rgb(23, 28, 58)}:host(.duet-m-0){margin:0 !important}";
|
|
17
17
|
const DuetCaptionStyle0 = duetCaptionCss;
|
|
@@ -62,6 +62,7 @@ const DuetHeading = class {
|
|
|
62
62
|
this.theme = "";
|
|
63
63
|
this.hyphenate = false;
|
|
64
64
|
this.fixedSize = false;
|
|
65
|
+
this.accessibleLabel = undefined;
|
|
65
66
|
}
|
|
66
67
|
/**
|
|
67
68
|
* Component lifecycle events.
|
|
@@ -76,7 +77,7 @@ const DuetHeading = class {
|
|
|
76
77
|
render() {
|
|
77
78
|
const TagName = sanitizeString(this.level);
|
|
78
79
|
const color = getColorByName(this.color);
|
|
79
|
-
return (h(TagName, { key: '
|
|
80
|
+
return (h(TagName, { key: 'fc35d12a14663418e76f8e17d41efd7fa1990638', class: {
|
|
80
81
|
"duet-heading": true,
|
|
81
82
|
"duet-heading-border": this.border !== false,
|
|
82
83
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -87,7 +88,7 @@ const DuetHeading = class {
|
|
|
87
88
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
88
89
|
"duet-theme-turva": this.theme === "turva",
|
|
89
90
|
"fixed-size": this.fixedSize,
|
|
90
|
-
}, style: { color }, part: "duet-heading" }, h("slot", { key: '
|
|
91
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, h("slot", { key: 'a6f73f221a78d15399456b9d861906f806725228' })));
|
|
91
92
|
}
|
|
92
93
|
get element() { return getElement(this); }
|
|
93
94
|
};
|
|
@@ -193,10 +194,10 @@ const DuetLink = class {
|
|
|
193
194
|
render() {
|
|
194
195
|
const Tag = !this.url ? "button" : "a";
|
|
195
196
|
const isButton = Tag === "button";
|
|
196
|
-
return (h(Host, { key: '
|
|
197
|
+
return (h(Host, { key: 'f3e90c99efca22219ff8ebd0a2c5bced2b833798', class: {
|
|
197
198
|
[`duet-link-${this.variation}`]: true,
|
|
198
199
|
"duet-m-0": this.margin === "none",
|
|
199
|
-
} }, h(Tag, { key: '
|
|
200
|
+
} }, h(Tag, { key: '736b53ab41312fd62f6701294d8228f4cc2a54be', href: this.url, class: {
|
|
200
201
|
"duet-link": true,
|
|
201
202
|
"duet-link-is-external": this.external,
|
|
202
203
|
"duet-link-is-download": !!this.download,
|
|
@@ -242,7 +243,7 @@ const DuetParagraph = class {
|
|
|
242
243
|
const color = getColorByName(this.color);
|
|
243
244
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
244
245
|
// are not announced when placed inside duet-modal
|
|
245
|
-
return (h(Host, { key: '
|
|
246
|
+
return (h(Host, { key: '937feb9cd408858a78be87183a5545fafd3b3d22', "aria-describedby": this.id }, h("p", { key: 'efd257f20e5ef295b7555d9b7b73b5ef23fb48c0', id: this.id, class: {
|
|
246
247
|
"duet-paragraph": true,
|
|
247
248
|
"duet-paragraph-small": this.size === "small",
|
|
248
249
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -250,7 +251,7 @@ const DuetParagraph = class {
|
|
|
250
251
|
"duet-m-0": this.margin === "none",
|
|
251
252
|
[this.variation]: true,
|
|
252
253
|
"duet-theme-turva": this.theme === "turva",
|
|
253
|
-
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '
|
|
254
|
+
}, style: { color }, part: "duet-paragraph" }, h("slot", { key: '3f9d4bf13beebdbd96e6d8b70e006b3f91804d83' }))));
|
|
254
255
|
}
|
|
255
256
|
get element() { return getElement(this); }
|
|
256
257
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
import { i as isKeyboardClick, s as subscribeTabbingChange, u as unsubscribeTabbingChange } from './keyboard-utils-daf80d44.js';
|
|
8
|
-
import { g as getElementsFromNamedSlot } from './slot-utils-
|
|
8
|
+
import { g as getElementsFromNamedSlot } from './slot-utils-9633ef1e.js';
|
|
9
9
|
import { s as sanitizeString } from './string-utils-192eb3c8.js';
|
|
10
10
|
import { g as getColorByName } from './token-utils-a32eb753.js';
|
|
11
11
|
import './tokens.module-a746651a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
4
|
+
import { r as registerInstance, h, H as Host } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
|
|
7
7
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -23,11 +23,11 @@ const DuetCheckmark = class {
|
|
|
23
23
|
inheritGlobalTheme(this);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '55c7be96c4af72eca86ca4ac162d8a6437847188', class: { "duet-theme-turva": this.theme === "turva" } }, h("div", { key: '63a3a765c707f7167a9ceb051aca670919d11b95', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, h("div", { key: 'a6c403cbd2f31cb9accc560cc8e50c318ec0720b', class: {
|
|
27
27
|
"duet-checkmark-container": true,
|
|
28
28
|
center: this.center,
|
|
29
29
|
"duet-checkmark-radio": this.type === "radio",
|
|
30
|
-
} }, this.checked && h("div", { key: '
|
|
30
|
+
} }, this.checked && h("div", { key: '33bbad5a921fc12b1c1cee9214d15b980c02548e', class: "duet-checkmark" })))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
DuetCheckmark.style = DuetCheckmarkStyle0;
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
7
|
-
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, q as enableUserIsTabbing
|
|
8
|
-
import { g as getLocaleString } from './language-utils-
|
|
9
|
-
import { q as spaceXSmall } from './tokens.module-a746651a.js';
|
|
10
|
-
import { o as offset, f as flip, s as shift, c as computePosition, b as autoUpdate } from './floating-ui.dom.esm-ebc91b33.js';
|
|
11
|
-
import { f as focusElement } from './focus-utils-fc101536.js';
|
|
12
|
-
import { T as Teleport } from './teleport-546f382d.js';
|
|
13
|
-
import { a as actionNewWindowSmall } from './action-new-window-small-1945be91.js';
|
|
7
|
+
import { s as subscribeTabbingChange, u as unsubscribeTabbingChange, q as enableUserIsTabbing } from './keyboard-utils-daf80d44.js';
|
|
8
|
+
import { g as getLocaleString } from './language-utils-8a9d5323.js';
|
|
14
9
|
import './string-utils-192eb3c8.js';
|
|
15
10
|
|
|
16
11
|
const duetChipCss = "*,*::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:8px !important;margin-bottom:12px !important;position:relative;display:inline-block;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.input){margin-top:6px !important;margin-right:0 !important;margin-bottom:6px !important;margin-left:4px !important}.duet-chip-container{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:block;width:100%;padding:1px;hyphens:none;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(181, 198, 208);border-style:solid;border-width:1px;border-radius:8px;transition:background-color 300ms ease, color 300ms ease, border-color 300ms ease}.duet-chip-container.duet-p-0{padding:0 !important}.duet-chip-container.duet-m-0{margin:0 !important}.duet-chip-container.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255);border-color:rgb(199, 202, 207)}.duet-chip-container.duet-theme-turva:hover{border-color:rgb(198, 12, 48)}.duet-chip-container:hover{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-disabled{color:rgb(98, 121, 138) !important;cursor:default;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-chip-container.duet-chip-disabled.duet-theme-turva{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled:hover{background:rgb(245, 248, 250);border-color:rgb(245, 248, 250)}.duet-chip-container.duet-chip-disabled:hover.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-disabled button,.duet-chip-container.duet-chip-disabled label{cursor:default}.duet-chip-container button,.duet-chip-container label{display:flex;align-items:center;width:100%;height:100%;padding:8px 14px;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;line-height:1rem;color:rgb(8, 42, 77) !important;cursor:pointer}.duet-chip-container button:focus,.duet-chip-container label:focus{outline:none}.duet-chip-container .duet-chip-icon-container{display:flex;align-items:center;height:16px;padding:0;transition:padding 300ms ease}.duet-chip-container.duet-chip-has-icon .duet-chip-icon-container{width:24px;height:16px;padding-right:10px}.duet-chip-container.duet-chip-has-icon.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-has-icon.duet-chip-radio-checked .duet-chip-icon-container{padding-right:11px;padding-left:3px}.duet-chip-container.duet-chip-has-icon button,.duet-chip-container.duet-chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-has-popup button,.duet-chip-container.duet-chip-has-popup label{padding-right:8px}.duet-chip-container duet-icon:not(.check-mark){width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked,.duet-chip-container.duet-chip-radio-checked{padding:0 !important;background:rgb(228, 241, 247);border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(198, 225, 238)}.duet-chip-container.duet-chip-filter-checked.chip-has-icon button,.duet-chip-container.duet-chip-filter-checked.chip-has-icon label,.duet-chip-container.duet-chip-radio-checked.chip-has-icon button,.duet-chip-container.duet-chip-radio-checked.chip-has-icon label{padding-left:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container{padding-right:10px}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon:not(.check-mark),.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon:not(.check-mark){width:0;overflow:hidden;visibility:hidden;transition:width 300ms ease, transform 300ms ease;transform:scaleX(0)}.duet-chip-container.duet-chip-filter-checked .duet-chip-icon-container duet-icon.check-mark,.duet-chip-container.duet-chip-radio-checked .duet-chip-icon-container duet-icon.check-mark{width:auto;visibility:visible;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(222, 224, 228)}.duet-chip-container .duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container .duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(240, 247, 250);border-color:rgb(240, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 247, 250);border-color:rgb(245, 247, 250)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input:hover{padding:1px !important;border-color:rgb(181, 198, 208);border-width:1px}.duet-chip-container.duet-chip-input.duet-chip-hover,.duet-chip-container.duet-chip-input.duet-chip-selected{padding:0 !important;border-color:rgb(0, 119, 179);border-width:2px}.duet-chip-container.duet-chip-input.duet-chip-hover .duet-chip-remove-button,.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button{right:0;width:34px;height:34px;background:transparent}.duet-chip-container.duet-chip-input.duet-chip-delete-focus{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input .duet-chip-input-button{margin-right:22px}.duet-chip-container.duet-chip-input .duet-chip-remove-button{position:absolute;top:-1px;right:-1px;width:36px;height:36px;padding-left:10px;border:3px solid transparent;border-radius:8px}.duet-chip-container.duet-chip-input .duet-chip-remove-button:hover{background:rgb(217, 236, 245);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-chip-selected{background:rgb(240, 247, 250)}.duet-chip-container.duet-chip-input.duet-chip-selected.duet-chip-hover{background:rgb(217, 236, 245)}.duet-chip-container.duet-chip-input.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(198, 225, 238);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva:hover{border-color:rgb(199, 202, 207)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-hover{border-color:rgb(198, 12, 48)}.duet-chip-container.duet-chip-input.duet-theme-turva .duet-chip-remove-button:hover{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected{background:rgb(255, 241, 241)}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected.duet-chip-hover{background:rgb(255, 213, 215);background-clip:padding-box}.duet-chip-container.duet-chip-input.duet-theme-turva.duet-chip-selected .duet-chip-remove-button:hover{background:rgb(255, 185, 190);background-clip:padding-box}.duet-chip-container.large button,.duet-chip-container.large label{padding:15px 22px}:host(.user-is-tabbing) .duet-chip-focus,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-chip-focus.duet-theme-turva,:host(.user-is-tabbing) .duet-chip-delete-focus .duet-chip-remove-button.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input,*::slotted([slot=input]){position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;margin:0;cursor:pointer;border-width:2px;border-radius:8px;opacity:0;appearance:none}*::slotted([slot=input]:not([aria-disabled=true])){z-index:1}";
|
|
@@ -318,7 +313,7 @@ const DuetChip = class {
|
|
|
318
313
|
onBlur: this.onBlur,
|
|
319
314
|
ref: el => (this.focusableElement = el),
|
|
320
315
|
};
|
|
321
|
-
return (h(Host, { key: '
|
|
316
|
+
return (h(Host, { key: 'b1df7c5770002dd9425d26bf8fa17d3721f601d2', class: { [this.variation]: true } }, this.variation === "button" && (h("span", { key: 'faa1626d1b3317a950205d14d078fbe0237d7415', class: classes }, h("button", Object.assign({ key: '10cc3c7ffd551371d87683ed1f77ac4e8f26a054', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("span", { key: '09730f09588f700c71c44b5a553e2d9f8697ba23', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '5c24873e683e50fe2638d484259298cda0e787e3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: '4b3637344329df9466503eac30a67d349fa182df' })))), this.variation === "input" && (h("span", { key: '110a424cd1b0c929a93150e286aece0d225570c5', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, h("button", Object.assign({ key: '42b26053fda75b29e3c7cdfa659547142478635a', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), h("span", { key: '6363c8549b51dd39b76e8f72f57c23450b963923', class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { key: '7431ce93955a8cebc8d2f38cee1e7e36ceaee7cf', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", { key: 'd26a8c7e52b1c4c7f52f82943e8fb678a9350fc2' })), h("button", { key: '1cca88cfde7c8dba8f455140f17ee2aade08cde5', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, h("duet-icon", { key: '9a68ecb75fb3a364875dfd4d641f47c800d0582a', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("span", { key: 'c3d47adc6647a5d70ffc49887a300faf937759c4', class: classes }, h("input", Object.assign({ key: 'c557b5098446b6e3cf9b44e6d55b1adb09a5be24', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { key: '9dac1a2fca9e959933fda89eef2dd17434e71361', htmlFor: identifier }, this.icon && (h("span", { key: 'ae307754bbdd4907a829e31ee25082463b4f216b', class: "duet-chip-icon-container" }, h("duet-icon", { key: 'cba0d0deff98f3900974e1aa583927ae7747102c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: 'be2dda983e43069160117f83d20ada5d003e19f8', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '8efc83f4fa6c1960862f001737cc0a382f2e64e1' }), this.popupElement && (h("span", { key: '11d2f0c6552c34208db15624bdcbaa4fb2f4806b', class: "duet-chip-popup-disclosure" }, h("duet-icon", { key: 'fb05d3357ecb174ca39e77473ade54c7a771b5cc', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("span", { key: 'b9788ff66787c6ad9f01e0430087cdaf8aaa7419', class: classes }, h("slot", { key: '52e3600944848b6a7fe4bd9b1afb5bb2dfe57909', name: "input" }), h("label", { key: '2f68754b97f21f763ffd59ae5081f661f831ee3a', htmlFor: identifier }, this.icon && (h("span", { key: '45bac9d17f7fd94c8214438175f1980d9f61bf8a', class: "duet-chip-icon-container" }, h("duet-icon", { key: 'f0512358b9ff4ca4f70cf0af9d6b8a4e2c5997b1', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), h("duet-icon", { key: 'ccfc7316e3e366ba20a315bac570fd30f68b1bc0', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), h("slot", { key: '0d715c904b0a004fa16467801c598b6b485aea70' }))))));
|
|
322
317
|
}
|
|
323
318
|
get element() { return getElement(this); }
|
|
324
319
|
static get watchers() { return {
|
|
@@ -327,371 +322,4 @@ const DuetChip = class {
|
|
|
327
322
|
};
|
|
328
323
|
DuetChip.style = DuetChipStyle0;
|
|
329
324
|
|
|
330
|
-
|
|
331
|
-
const DuetPopupMenuStyle0 = duetPopupMenuCss;
|
|
332
|
-
|
|
333
|
-
const DuetPopupMenu = class {
|
|
334
|
-
constructor(hostRef) {
|
|
335
|
-
registerInstance(this, hostRef);
|
|
336
|
-
this.duetToggle = createEvent(this, "duetToggle", 7);
|
|
337
|
-
this.setOpenButton = (element) => {
|
|
338
|
-
if (!element) {
|
|
339
|
-
return;
|
|
340
|
-
}
|
|
341
|
-
try {
|
|
342
|
-
const button = element;
|
|
343
|
-
button.accessiblePopup = "true";
|
|
344
|
-
button.accessibleExpanded = false;
|
|
345
|
-
if (this.controllerIcon) {
|
|
346
|
-
button.setAttribute("trailing-icon", "action-arrow-down-small");
|
|
347
|
-
}
|
|
348
|
-
this.openButton = button;
|
|
349
|
-
}
|
|
350
|
-
catch (_e) { }
|
|
351
|
-
};
|
|
352
|
-
this.openButtonEventListener = () => {
|
|
353
|
-
this.toggle();
|
|
354
|
-
};
|
|
355
|
-
this.updatePlacement = async () => {
|
|
356
|
-
if (!this.openButton) {
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
|
-
const middleware = [
|
|
360
|
-
offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }),
|
|
361
|
-
this.allowVerticalFlip && flip(),
|
|
362
|
-
shift({ padding: 5 }),
|
|
363
|
-
].filter(Boolean);
|
|
364
|
-
const coordinates = await computePosition(this.openButton, this.menuElement, {
|
|
365
|
-
middleware,
|
|
366
|
-
placement: this.placement,
|
|
367
|
-
strategy: this.position,
|
|
368
|
-
});
|
|
369
|
-
this.menuY = coordinates.y;
|
|
370
|
-
this.menuX = coordinates.x;
|
|
371
|
-
};
|
|
372
|
-
this.open = false;
|
|
373
|
-
this.menuY = undefined;
|
|
374
|
-
this.menuX = undefined;
|
|
375
|
-
this.accessibleLabel = undefined;
|
|
376
|
-
this.accessibleRole = "menu";
|
|
377
|
-
this.theme = "";
|
|
378
|
-
this.skipTeleport = undefined;
|
|
379
|
-
this.placement = "bottom-start";
|
|
380
|
-
this.forcePlacement = false;
|
|
381
|
-
this.allowVerticalFlip = true;
|
|
382
|
-
this.position = "absolute";
|
|
383
|
-
this.mainAxisOffset = 0;
|
|
384
|
-
this.crossAxisOffset = 0;
|
|
385
|
-
this.controllerIcon = "action-arrow-down-small";
|
|
386
|
-
this.scrollLimit = undefined;
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
390
|
-
* the component automatically sets the click event listener to open and close the popup-menu.
|
|
391
|
-
*/
|
|
392
|
-
get controller() {
|
|
393
|
-
return this._controller;
|
|
394
|
-
}
|
|
395
|
-
set controller(value) {
|
|
396
|
-
if (this._controller === value) {
|
|
397
|
-
return;
|
|
398
|
-
}
|
|
399
|
-
this._controller = value;
|
|
400
|
-
if (typeof value === "string") {
|
|
401
|
-
this.setOpenButton(document.getElementById(value));
|
|
402
|
-
if (this.openButton) {
|
|
403
|
-
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
else {
|
|
407
|
-
this.setOpenButton(value);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* Alias for property controller.
|
|
412
|
-
*/
|
|
413
|
-
get opener() {
|
|
414
|
-
return this._controller;
|
|
415
|
-
}
|
|
416
|
-
set opener(value) {
|
|
417
|
-
this.controller = value;
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
* Component lifecycle events.
|
|
421
|
-
*/
|
|
422
|
-
componentWillLoad() {
|
|
423
|
-
inheritGlobalTheme(this);
|
|
424
|
-
}
|
|
425
|
-
componentDidLoad() {
|
|
426
|
-
{
|
|
427
|
-
this.updatePlacement();
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
connectedCallback() {
|
|
431
|
-
if (!this.teleport) {
|
|
432
|
-
this.teleport = new Teleport(this.element);
|
|
433
|
-
}
|
|
434
|
-
if (this.teleport) {
|
|
435
|
-
this.teleport.activate();
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
disconnectedCallback() {
|
|
439
|
-
if (this.autoUpdateCleanup) {
|
|
440
|
-
this.autoUpdateCleanup();
|
|
441
|
-
}
|
|
442
|
-
if (this.openButton) {
|
|
443
|
-
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
444
|
-
if (this.controllerIcon) {
|
|
445
|
-
this.openButton.removeAttribute("trailing-icon");
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
* Component event handling.
|
|
451
|
-
*/
|
|
452
|
-
handleKeyUp(evt) {
|
|
453
|
-
if (this.open) {
|
|
454
|
-
// When Esc is pressed the menu should be closed
|
|
455
|
-
if (isEscapeKey(evt)) {
|
|
456
|
-
this.hide();
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
async handleKeyDown(evt) {
|
|
461
|
-
if (this.open) {
|
|
462
|
-
if (isArrowDownKey(evt)) {
|
|
463
|
-
evt.preventDefault();
|
|
464
|
-
const current = await this.getFocusedItemIndex();
|
|
465
|
-
if (current !== -1) {
|
|
466
|
-
if (current < this.itemElements.length - 1) {
|
|
467
|
-
this.itemElements[current + 1].setFocus();
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
this.itemElements[0].setFocus();
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
if (isArrowUpKey(evt)) {
|
|
475
|
-
evt.preventDefault();
|
|
476
|
-
const current = await this.getFocusedItemIndex();
|
|
477
|
-
if (current !== -1) {
|
|
478
|
-
if (current === 0) {
|
|
479
|
-
this.itemElements[this.itemElements.length - 1].setFocus();
|
|
480
|
-
}
|
|
481
|
-
else {
|
|
482
|
-
this.itemElements[current - 1].setFocus();
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
if (isTabKey(evt) && this.accessibleRole === "menu") {
|
|
487
|
-
evt.preventDefault();
|
|
488
|
-
this.hide();
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
handleClick(evt) {
|
|
493
|
-
const isClickOutside = evt.composedPath().every(node => node !== this.element && node !== this.openButton);
|
|
494
|
-
if (this.open && isClickOutside) {
|
|
495
|
-
this.hide();
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
/**
|
|
499
|
-
* isOpen.
|
|
500
|
-
*/
|
|
501
|
-
async isOpen() {
|
|
502
|
-
return this.open;
|
|
503
|
-
}
|
|
504
|
-
/**
|
|
505
|
-
* Show.
|
|
506
|
-
*/
|
|
507
|
-
async show() {
|
|
508
|
-
this.open = true;
|
|
509
|
-
}
|
|
510
|
-
/**
|
|
511
|
-
* Hide.
|
|
512
|
-
*/
|
|
513
|
-
async hide() {
|
|
514
|
-
if (this.autoUpdateCleanup) {
|
|
515
|
-
this.autoUpdateCleanup();
|
|
516
|
-
}
|
|
517
|
-
this.open = false;
|
|
518
|
-
}
|
|
519
|
-
/**
|
|
520
|
-
* Toggle.
|
|
521
|
-
*/
|
|
522
|
-
async toggle() {
|
|
523
|
-
if (this.open) {
|
|
524
|
-
this.hide();
|
|
525
|
-
}
|
|
526
|
-
else {
|
|
527
|
-
this.show();
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
handleOpenChange(newValue, oldValue) {
|
|
531
|
-
if (!!newValue === !!oldValue) {
|
|
532
|
-
return;
|
|
533
|
-
}
|
|
534
|
-
if (this.open && !oldValue) {
|
|
535
|
-
if (this.openButton) {
|
|
536
|
-
this.openButton.accessibleExpanded = true;
|
|
537
|
-
}
|
|
538
|
-
if (this.accessibleRole !== "listbox") {
|
|
539
|
-
this.teleport.makeSiblingsInert();
|
|
540
|
-
}
|
|
541
|
-
this.updatePlacement();
|
|
542
|
-
// Start autoUpdate when menu is open
|
|
543
|
-
if (this.menuElement && this.openButton) {
|
|
544
|
-
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
545
|
-
}
|
|
546
|
-
setTimeout(() => {
|
|
547
|
-
if (this.accessibleRole === "menu") {
|
|
548
|
-
this.itemElements[0].setFocus();
|
|
549
|
-
}
|
|
550
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
551
|
-
}, 200);
|
|
552
|
-
}
|
|
553
|
-
else if (!this.open && oldValue) {
|
|
554
|
-
if (this.openButton) {
|
|
555
|
-
this.openButton.accessibleExpanded = false;
|
|
556
|
-
}
|
|
557
|
-
// Clean up autoUpdate when closed
|
|
558
|
-
if (this.autoUpdateCleanup) {
|
|
559
|
-
this.autoUpdateCleanup();
|
|
560
|
-
}
|
|
561
|
-
setTimeout(() => {
|
|
562
|
-
if (this.accessibleRole === "menu") {
|
|
563
|
-
focusElement(this.openButton);
|
|
564
|
-
}
|
|
565
|
-
this.duetToggle.emit({ open: this.open, component: "duet-popup-menu" });
|
|
566
|
-
if (this.accessibleRole !== "listbox") {
|
|
567
|
-
this.teleport.removeInertFromSiblings();
|
|
568
|
-
}
|
|
569
|
-
}, 200);
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
get itemElements() {
|
|
573
|
-
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
574
|
-
}
|
|
575
|
-
get popupMenuStyleHeight() {
|
|
576
|
-
const selector = ":scope duet-popup-menu-item, :scope duet-notification";
|
|
577
|
-
const elements = Array.from(this.element.querySelectorAll(selector));
|
|
578
|
-
if (elements.length > 0 && this.scrollLimit) {
|
|
579
|
-
const paddings = Number(spaceXSmall.replace("px", "")) * 2;
|
|
580
|
-
return `${elements[0].offsetHeight * this.scrollLimit + paddings}px`;
|
|
581
|
-
}
|
|
582
|
-
else {
|
|
583
|
-
return "auto";
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
async getFocusedItemIndex() {
|
|
587
|
-
const items = this.itemElements;
|
|
588
|
-
for (let i = 0; i < items.length; i++) {
|
|
589
|
-
if (await items[i].isFocused()) {
|
|
590
|
-
return i;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
return -1;
|
|
594
|
-
}
|
|
595
|
-
render() {
|
|
596
|
-
const styles = {
|
|
597
|
-
top: `${this.menuY}px`,
|
|
598
|
-
left: `${this.menuX}px`,
|
|
599
|
-
position: this.position,
|
|
600
|
-
overflowY: "auto",
|
|
601
|
-
height: this.popupMenuStyleHeight,
|
|
602
|
-
};
|
|
603
|
-
return (h(Host, { key: 'df95a1ca83bfed0e3c2e62e4de9a03563491b7a4' }, h("div", { key: '0da0cb7b5bf6b0950b867af9d93a8937d40c4223', ref: element => {
|
|
604
|
-
this.menuElement = element;
|
|
605
|
-
}, style: styles, class: {
|
|
606
|
-
open: this.open,
|
|
607
|
-
"duet-popup-menu-list": true,
|
|
608
|
-
"duet-theme-turva": this.theme === "turva",
|
|
609
|
-
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
610
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, h("slot", { key: 'f2e56ae51be1d5eb1b8c14a67496079e3dbcd3d1' }))));
|
|
611
|
-
}
|
|
612
|
-
get element() { return getElement(this); }
|
|
613
|
-
static get watchers() { return {
|
|
614
|
-
"open": ["handleOpenChange"]
|
|
615
|
-
}; }
|
|
616
|
-
};
|
|
617
|
-
DuetPopupMenu.style = DuetPopupMenuStyle0;
|
|
618
|
-
|
|
619
|
-
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}";
|
|
620
|
-
const DuetPopupMenuItemStyle0 = duetPopupMenuItemCss;
|
|
621
|
-
|
|
622
|
-
const DuetPopupMenuItem = class {
|
|
623
|
-
constructor(hostRef) {
|
|
624
|
-
registerInstance(this, hostRef);
|
|
625
|
-
this.duetFocus = createEvent(this, "duetFocus", 7);
|
|
626
|
-
this.duetBlur = createEvent(this, "duetBlur", 7);
|
|
627
|
-
/**
|
|
628
|
-
* Component event handling.
|
|
629
|
-
*/
|
|
630
|
-
this.onFocus = (ev) => {
|
|
631
|
-
this.focus = true;
|
|
632
|
-
this.duetFocus.emit({
|
|
633
|
-
originalEvent: ev,
|
|
634
|
-
value: this.value,
|
|
635
|
-
component: "duet-popup-menu-item",
|
|
636
|
-
});
|
|
637
|
-
};
|
|
638
|
-
this.onBlur = (ev) => {
|
|
639
|
-
this.focus = false;
|
|
640
|
-
this.duetBlur.emit({
|
|
641
|
-
originalEvent: ev,
|
|
642
|
-
value: this.value,
|
|
643
|
-
component: "duet-popup-menu-item",
|
|
644
|
-
});
|
|
645
|
-
};
|
|
646
|
-
this.focus = false;
|
|
647
|
-
this.accessibleLabel = undefined;
|
|
648
|
-
this.accessibleRole = "menuitem";
|
|
649
|
-
this.theme = "";
|
|
650
|
-
this.url = undefined;
|
|
651
|
-
this.external = false;
|
|
652
|
-
this.targetLanguage = undefined;
|
|
653
|
-
this.value = undefined;
|
|
654
|
-
this.leadingIcon = undefined;
|
|
655
|
-
this.leadingIconColor = undefined;
|
|
656
|
-
this.trailingIcon = undefined;
|
|
657
|
-
this.trailingText = undefined;
|
|
658
|
-
this.active = false;
|
|
659
|
-
this.activeDescendant = false;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* Component lifecycle events.
|
|
663
|
-
*/
|
|
664
|
-
componentWillLoad() {
|
|
665
|
-
inheritGlobalTheme(this);
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* Sets focus. Use this method instead of the global focus().
|
|
669
|
-
*/
|
|
670
|
-
async setFocus(options) {
|
|
671
|
-
setTimeout(() => this.itemElement.focus(options), 200);
|
|
672
|
-
}
|
|
673
|
-
/**
|
|
674
|
-
* isFocused.
|
|
675
|
-
*/
|
|
676
|
-
async isFocused() {
|
|
677
|
-
return this.focus;
|
|
678
|
-
}
|
|
679
|
-
render() {
|
|
680
|
-
const TagName = this.url ? "a" : "button";
|
|
681
|
-
const classes = {
|
|
682
|
-
"duet-popup-menu-item": true,
|
|
683
|
-
active: this.active,
|
|
684
|
-
"duet-theme-turva": this.theme === "turva",
|
|
685
|
-
"active-descendant": this.activeDescendant,
|
|
686
|
-
};
|
|
687
|
-
return (h(Host, { key: 'bf1b38aa7684c8cc3959b6b0725f83962341d58d', role: this.accessibleRole }, h(TagName, { key: '71cfa30d7780f2ab9a31f2aa3ff4bec91b8e0b7e', 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 && (h("duet-icon", { key: '3552f0f0e6e303f23e012a9baa0b646d7f3eeb5e', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), h("span", { key: '1c26c319a37978618960dce5c0e5de9731a576c9', class: "duet-popup-menu-item-label" }, h("slot", { key: 'c3f9e10b0f5c5af06d79ba6760b924f5abfb02d9' })), (this.trailingIcon || this.active || (this.url && this.external)) && (h("duet-icon", { key: '2b5f54ffc9063c6ef1dfb38d59724a1ff9307ede', name: this.url && this.external
|
|
688
|
-
? actionNewWindowSmall.title
|
|
689
|
-
: this.active
|
|
690
|
-
? "messaging-checked-small"
|
|
691
|
-
: 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 && h("span", { key: 'b9a42c7f906f16c62189ce82f8c1bbdeee169a7e', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
692
|
-
}
|
|
693
|
-
get element() { return getElement(this); }
|
|
694
|
-
};
|
|
695
|
-
DuetPopupMenuItem.style = DuetPopupMenuItemStyle0;
|
|
696
|
-
|
|
697
|
-
export { DuetChip as duet_chip, DuetPopupMenu as duet_popup_menu, DuetPopupMenuItem as duet_popup_menu_item };
|
|
325
|
+
export { DuetChip as duet_chip };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
4
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1a6cee61.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
|
|
6
6
|
import { D as DuetStringsExternalDefaults } from './common-strings-af765cad.js';
|
|
7
7
|
import { c as createID } from './create-id-149a1b6d.js';
|
|
8
8
|
import { i as isKeyboardClick, h as isQuestionKey, s as subscribeTabbingChange, u as unsubscribeTabbingChange, f as isEscapeKey } from './keyboard-utils-daf80d44.js';
|
|
9
|
-
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-
|
|
10
|
-
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-
|
|
9
|
+
import { g as getLocaleString, a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver } from './language-utils-8a9d5323.js';
|
|
10
|
+
import { h as hasSlot, c as checkNamedSlotElement } from './slot-utils-9633ef1e.js';
|
|
11
11
|
import './string-utils-192eb3c8.js';
|
|
12
12
|
|
|
13
13
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|