@duetds/components 7.1.2 → 8.0.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/README.md +5 -38
- package/hydrate/index.js +231 -194
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +3 -3
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +7 -7
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +39 -49
- package/lib/cjs/duet-collapsible.cjs.entry.js +3 -3
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +4 -4
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-range-slider.cjs.entry.js +3 -3
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +5 -5
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +3 -3
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +51 -19
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +3 -3
- package/lib/cjs/duet-upload-item.cjs.entry.js +7 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +3 -3
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-c58cda6e.js → focus-utils-cc0e6f8e.js} +1 -1
- package/lib/cjs/{index-690ed579.js → index-83a4e16a.js} +2 -9
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{nudge-ee03ce2e.js → nudge-84818dad.js} +3 -6
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +1 -1
- package/lib/collection/components/duet-button/duet-button.e2e.js +6 -4
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +4 -4
- package/lib/collection/components/duet-choice/duet-choice.css +6 -0
- package/lib/collection/components/duet-choice/duet-choice.e2e.js +3 -0
- package/lib/collection/components/duet-choice/duet-choice.js +52 -4
- package/lib/collection/components/duet-choice-group/duet-choice-group.e2e.js +0 -1
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +22 -42
- package/lib/collection/components/duet-collapsible/duet-collapsible.e2e.js +0 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.e2e.js +21 -8
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.e2e.js +0 -4
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.e2e.js +0 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.e2e.js +11 -10
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.e2e.js +5 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.e2e.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.e2e.js +1 -1
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-link/duet-link.js +2 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +3 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.e2e.js +1 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +103 -22
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.e2e.js +2 -0
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.e2e.js +0 -1
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.e2e.js +2 -3
- package/lib/collection/components/duet-upload/duet-upload.js +14 -14
- package/lib/collection/components/duet-upload-item/duet-upload-item.css +3 -0
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +12 -2
- package/lib/collection/utils/nudge.js +3 -6
- 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 +6 -6
- package/lib/dist-custom-elements/duet-breadcrumb.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumbs.js +1 -1
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +5 -5
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +4 -4
- package/lib/dist-custom-elements/duet-choice-group.js +32 -52
- package/lib/dist-custom-elements/duet-choice.js +19 -9
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- 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-footer.js +6 -6
- 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 +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -11
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +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 +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 +9 -9
- package/lib/dist-custom-elements/duet-multiselect.js +12 -12
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- 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 +13 -13
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +15 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +4 -4
- 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 +10 -10
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- 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 +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-show-more.js +7 -7
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
- package/lib/dist-custom-elements/duet-slideout.js +54 -19
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- package/lib/dist-custom-elements/duet-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +15 -15
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +20 -20
- 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-9f8e1aca.js → p-01270b45.js} +7 -7
- package/lib/dist-custom-elements/{p-6d492269.js → p-0e282936.js} +7 -7
- package/lib/dist-custom-elements/{p-2c71a27f.js → p-162263aa.js} +1 -1
- package/lib/dist-custom-elements/{p-f99ec481.js → p-1c02d280.js} +12 -12
- package/lib/dist-custom-elements/{p-88eed3e1.js → p-22af2160.js} +1 -1
- package/lib/dist-custom-elements/{p-c4dd0df2.js → p-24aae259.js} +3 -3
- package/lib/dist-custom-elements/{p-a83ac481.js → p-2f3372c0.js} +1 -1
- package/lib/dist-custom-elements/{p-948bdce9.js → p-32b30c68.js} +6 -6
- package/lib/{esm/nudge-560904c3.js → dist-custom-elements/p-432baa8a.js} +3 -6
- package/lib/dist-custom-elements/{p-0b57c524.js → p-46ff61f9.js} +3 -3
- package/lib/dist-custom-elements/{p-35de375b.js → p-480a5be7.js} +3 -3
- package/lib/dist-custom-elements/{p-e81b7043.js → p-55b3b241.js} +1 -1
- package/lib/dist-custom-elements/{p-ff199982.js → p-659bf49b.js} +2 -2
- package/lib/dist-custom-elements/{p-dca02738.js → p-6c16fe57.js} +1 -1
- package/lib/dist-custom-elements/{p-b3d7f37b.js → p-6c770205.js} +4 -4
- package/lib/dist-custom-elements/{p-a25a0c57.js → p-71297fec.js} +3 -3
- package/lib/dist-custom-elements/{p-630ecbb3.js → p-74e94bc1.js} +1 -1
- package/lib/dist-custom-elements/{p-c9e95a9c.js → p-78b427e2.js} +7 -7
- package/lib/dist-custom-elements/{p-acba25ec.js → p-7b274ffe.js} +3 -3
- package/lib/dist-custom-elements/{p-0ba124b9.js → p-84c65409.js} +4 -4
- package/lib/dist-custom-elements/{p-a1becc63.js → p-8ac1057e.js} +5 -5
- package/lib/dist-custom-elements/{p-67c36e47.js → p-8d7e2f66.js} +5 -5
- package/lib/dist-custom-elements/{p-1e4076af.js → p-925ad8ed.js} +3 -3
- package/lib/dist-custom-elements/{p-c0599d67.js → p-9e520c3a.js} +6 -6
- package/lib/dist-custom-elements/{p-2641fc0a.js → p-a64a4c3b.js} +10 -10
- package/lib/dist-custom-elements/{p-b0e6db65.js → p-a79c1568.js} +3 -3
- package/lib/dist-custom-elements/{p-d10ecec6.js → p-abd29848.js} +3 -3
- package/lib/dist-custom-elements/{p-493cc4fa.js → p-ba7a34cd.js} +16 -13
- package/lib/dist-custom-elements/{p-9c86efb4.js → p-bf9ea499.js} +1 -1
- package/lib/dist-custom-elements/{p-8bf1f4a8.js → p-ce7a0836.js} +1 -1
- package/lib/dist-custom-elements/{p-58de13d4.js → p-d019896a.js} +1 -1
- package/lib/dist-custom-elements/{p-d9120001.js → p-d0cac9bf.js} +4 -4
- package/lib/dist-custom-elements/{p-8ad6dca9.js → p-d363a6c4.js} +4 -4
- package/lib/dist-custom-elements/{p-1486b0c1.js → p-dabae35a.js} +4 -4
- package/lib/dist-custom-elements/{p-912094d4.js → p-ef176315.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-049a6e11.system.entry.js +4 -0
- package/lib/duet/{p-cf78c0e7.system.entry.js → p-0521fafd.system.entry.js} +1 -1
- package/lib/duet/{p-929f96e6.entry.js → p-052388fa.entry.js} +1 -1
- package/lib/duet/p-0717c4c7.entry.js +4 -0
- package/lib/duet/{p-f45d7795.system.entry.js → p-080eb720.system.entry.js} +1 -1
- package/lib/duet/p-0a29f14a.entry.js +4 -0
- package/lib/duet/{p-245fb629.system.entry.js → p-0c40e7e7.system.entry.js} +1 -1
- package/lib/duet/{p-b4f0714b.system.entry.js → p-11dba68c.system.entry.js} +1 -1
- package/lib/duet/p-155b532a.system.js +4 -0
- package/lib/duet/{p-a27749fc.system.entry.js → p-159c8e28.system.entry.js} +1 -1
- package/lib/duet/{p-ea17a879.entry.js → p-1ab09b3e.entry.js} +1 -1
- package/lib/duet/{p-06352a34.system.entry.js → p-1b446001.system.entry.js} +1 -1
- package/lib/duet/p-1c05d649.system.js +5 -0
- package/lib/duet/{p-b7746ffa.system.entry.js → p-1fcdd1b4.system.entry.js} +1 -1
- package/lib/duet/{p-e04bf7e7.system.entry.js → p-216daf71.system.entry.js} +1 -1
- package/lib/duet/{p-1fcbfb23.system.entry.js → p-22879034.system.entry.js} +1 -1
- package/lib/duet/{p-35a932ab.system.entry.js → p-2365860c.system.entry.js} +1 -1
- package/lib/duet/{p-6f399f72.entry.js → p-23d0d56b.entry.js} +1 -1
- package/lib/duet/{p-11bd9a89.entry.js → p-23e577ac.entry.js} +1 -1
- package/lib/duet/{p-2fb0a3de.entry.js → p-24f340af.entry.js} +1 -1
- package/lib/duet/p-25ce6276.entry.js +4 -0
- package/lib/duet/p-278295a6.entry.js +4 -0
- package/lib/duet/p-2b18fb02.entry.js +4 -0
- package/lib/duet/p-2c360aa2.entry.js +4 -0
- package/lib/duet/p-2f7f41b7.entry.js +4 -0
- package/lib/duet/p-307ad618.entry.js +4 -0
- package/lib/duet/p-32128bec.system.entry.js +4 -0
- package/lib/duet/p-33842a71.system.entry.js +4 -0
- package/lib/duet/p-3432e6d7.entry.js +4 -0
- package/lib/duet/{p-5664dbfc.system.entry.js → p-3452a600.system.entry.js} +1 -1
- package/lib/duet/p-3636a303.entry.js +4 -0
- package/lib/duet/p-36625239.entry.js +4 -0
- package/lib/duet/p-36e2660a.system.entry.js +4 -0
- package/lib/duet/{p-2eab12b7.system.entry.js → p-373da7e9.system.entry.js} +1 -1
- package/lib/duet/{p-ecff7157.system.entry.js → p-3823931d.system.entry.js} +1 -1
- package/lib/duet/p-3a8e9b7d.entry.js +4 -0
- package/lib/duet/p-3da3807f.entry.js +4 -0
- package/lib/duet/p-3e12c85b.entry.js +4 -0
- package/lib/duet/{p-6a8c7ad8.system.entry.js → p-3ef4e70b.system.entry.js} +1 -1
- package/lib/duet/p-432baa8a.js +4 -0
- package/lib/duet/{p-09bade4b.entry.js → p-439a6589.entry.js} +1 -1
- package/lib/duet/{p-4c3b19ec.system.entry.js → p-43b5a747.system.entry.js} +1 -1
- package/lib/duet/p-46007ea5.system.entry.js +4 -0
- package/lib/duet/p-4a8c2fbd.entry.js +4 -0
- package/lib/duet/{p-e81603e4.system.entry.js → p-4b63bf44.system.entry.js} +1 -1
- package/lib/duet/p-4d457562.entry.js +4 -0
- package/lib/duet/p-4d469e8a.entry.js +4 -0
- package/lib/duet/{p-e00b3992.system.entry.js → p-4dee86cc.system.entry.js} +1 -1
- package/lib/duet/p-4f387d8d.system.entry.js +4 -0
- package/lib/duet/{p-bb197ad9.entry.js → p-55d8afce.entry.js} +1 -1
- package/lib/duet/p-55daf42a.entry.js +4 -0
- package/lib/duet/p-579599b1.entry.js +4 -0
- package/lib/duet/{p-983ffcca.system.entry.js → p-597b4abf.system.entry.js} +1 -1
- package/lib/duet/{p-c8153914.system.entry.js → p-5988794d.system.entry.js} +1 -1
- package/lib/duet/p-5cf4e9fa.entry.js +4 -0
- package/lib/duet/p-5d2d1ee9.entry.js +4 -0
- package/lib/duet/p-6099439d.entry.js +4 -0
- package/lib/duet/p-60e24406.entry.js +4 -0
- package/lib/duet/p-64ae892b.entry.js +4 -0
- package/lib/duet/p-655c5ef8.system.entry.js +4 -0
- package/lib/duet/{p-eaa27d39.system.entry.js → p-657d12c6.system.entry.js} +1 -1
- package/lib/duet/p-68eefbc0.entry.js +4 -0
- package/lib/duet/p-6a28213a.entry.js +4 -0
- package/lib/duet/p-6c0a2ef4.entry.js +4 -0
- package/lib/duet/p-6c13d426.entry.js +4 -0
- package/lib/duet/{p-c9302dda.entry.js → p-6c20accb.entry.js} +1 -1
- package/lib/duet/{p-8c2eb2f4.system.entry.js → p-6d35c23c.system.entry.js} +1 -1
- package/lib/duet/p-70688378.entry.js +4 -0
- package/lib/duet/{p-78f8e483.system.entry.js → p-71a45359.system.entry.js} +1 -1
- package/lib/duet/p-73093b97.entry.js +4 -0
- package/lib/duet/p-74a48271.entry.js +4 -0
- package/lib/duet/{p-921c430e.entry.js → p-75a7542b.entry.js} +1 -1
- package/lib/duet/p-76bdf878.system.entry.js +4 -0
- package/lib/duet/p-77c137be.entry.js +4 -0
- package/lib/duet/{p-ad97d7c8.entry.js → p-77db8b7e.entry.js} +1 -1
- package/lib/duet/p-77de34a7.entry.js +4 -0
- package/lib/duet/{p-7c672283.system.entry.js → p-78958e35.system.entry.js} +1 -1
- package/lib/duet/p-78dce48d.entry.js +4 -0
- package/lib/duet/{p-52b57add.system.entry.js → p-7bcb3908.system.entry.js} +1 -1
- package/lib/duet/p-7c19a049.entry.js +4 -0
- package/lib/duet/p-7d5115f0.system.entry.js +4 -0
- package/lib/duet/{p-94a9fe8f.system.entry.js → p-7db54371.system.entry.js} +1 -1
- package/lib/duet/{p-1bdc4a34.system.entry.js → p-7e2f1643.system.entry.js} +1 -1
- package/lib/duet/{p-67819e2b.entry.js → p-80734ccb.entry.js} +1 -1
- package/lib/duet/{p-16d4371a.system.entry.js → p-812b9a45.system.entry.js} +1 -1
- package/lib/duet/{p-de466d61.system.entry.js → p-819906af.system.entry.js} +1 -1
- package/lib/duet/{p-c0cd5815.system.entry.js → p-821002cc.system.entry.js} +1 -1
- package/lib/duet/{p-ec99ae64.js → p-8341e3d0.js} +1 -1
- package/lib/duet/{p-f07e9544.system.entry.js → p-84a8f374.system.entry.js} +1 -1
- package/lib/duet/p-8542bb1d.entry.js +4 -0
- package/lib/duet/{p-959c412f.system.entry.js → p-87d24f60.system.entry.js} +1 -1
- package/lib/duet/{p-2a830ee9.entry.js → p-8a6d783c.entry.js} +1 -1
- package/lib/duet/{p-b177abe2.system.entry.js → p-8ab86b55.system.entry.js} +1 -1
- package/lib/duet/p-8ac1659f.entry.js +4 -0
- package/lib/duet/{p-8f2a8dfd.system.entry.js → p-8bb82291.system.entry.js} +1 -1
- package/lib/duet/{p-6779c17b.system.entry.js → p-8c2eb582.system.entry.js} +1 -1
- package/lib/duet/{p-feece078.system.entry.js → p-8c6bc7ce.system.entry.js} +1 -1
- package/lib/duet/{p-b0552213.system.entry.js → p-8dbc6fec.system.entry.js} +1 -1
- package/lib/duet/{p-b4da4477.system.entry.js → p-8df0d238.system.entry.js} +1 -1
- package/lib/duet/p-923302a6.entry.js +4 -0
- package/lib/duet/p-92f87d29.system.entry.js +4 -0
- package/lib/duet/p-94260821.entry.js +4 -0
- package/lib/duet/p-95e2628e.entry.js +4 -0
- package/lib/duet/{p-0eb0c8c0.system.entry.js → p-973db87a.system.entry.js} +2 -2
- package/lib/duet/{p-1d053237.system.entry.js → p-97db51fd.system.entry.js} +1 -1
- package/lib/duet/p-9dd2e8b7.entry.js +4 -0
- package/lib/duet/{p-6a26a5c9.system.entry.js → p-9f11fac6.system.entry.js} +1 -1
- package/lib/duet/{p-17e15242.system.entry.js → p-a077314f.system.entry.js} +1 -1
- package/lib/duet/{p-334112ab.system.entry.js → p-a36d79bb.system.entry.js} +1 -1
- package/lib/duet/{p-35c6f8ce.system.entry.js → p-a834b129.system.entry.js} +1 -1
- package/lib/duet/p-a83f7b5d.entry.js +4 -0
- package/lib/duet/{p-2da624a5.system.entry.js → p-abe3d970.system.entry.js} +1 -1
- package/lib/duet/p-adf27b5b.entry.js +4 -0
- package/lib/duet/{p-97af94e6.system.entry.js → p-aec26ab1.system.entry.js} +1 -1
- package/lib/duet/p-b0f26d1f.entry.js +4 -0
- package/lib/duet/{p-46b4ef6c.system.entry.js → p-b5b09897.system.entry.js} +1 -1
- package/lib/duet/p-b8873438.entry.js +4 -0
- package/lib/duet/{p-b8e1051f.entry.js → p-ba876000.entry.js} +1 -1
- package/lib/duet/{p-e949b01f.system.entry.js → p-bae4cd54.system.entry.js} +1 -1
- package/lib/duet/p-bc56ef14.entry.js +4 -0
- package/lib/duet/p-bc6b41df.entry.js +4 -0
- package/lib/duet/{p-e72b91d4.system.entry.js → p-bd190b40.system.entry.js} +1 -1
- package/lib/duet/p-bdaebb9e.entry.js +4 -0
- package/lib/duet/{p-824841b9.system.entry.js → p-bdfdecdf.system.entry.js} +1 -1
- package/lib/duet/{p-b9743891.system.entry.js → p-bec61f61.system.entry.js} +1 -1
- package/lib/duet/{p-4a497c15.system.entry.js → p-bf3be553.system.entry.js} +2 -2
- package/lib/duet/p-c078dccf.entry.js +4 -0
- package/lib/duet/{p-90133074.system.entry.js → p-c346eab9.system.entry.js} +1 -1
- package/lib/duet/{p-b6969c2e.system.entry.js → p-c40681e4.system.entry.js} +1 -1
- package/lib/duet/p-c4421950.entry.js +4 -0
- package/lib/duet/p-c531901e.entry.js +4 -0
- package/lib/duet/p-c67f6e71.entry.js +4 -0
- package/lib/duet/p-c876c531.entry.js +4 -0
- package/lib/duet/p-c9624ff8.system.entry.js +4 -0
- package/lib/duet/{p-4f1c6cc0.system.entry.js → p-cc833893.system.entry.js} +2 -2
- package/lib/duet/{p-34b3855f.system.entry.js → p-cecf203f.system.entry.js} +1 -1
- package/lib/duet/p-cf1897db.entry.js +4 -0
- package/lib/duet/{p-4a4dbe4e.system.entry.js → p-d166a0ec.system.entry.js} +1 -1
- package/lib/duet/p-d26dbeb9.entry.js +4 -0
- package/lib/duet/{p-72887f8e.system.entry.js → p-d3381766.system.entry.js} +1 -1
- package/lib/duet/{p-5e56ebad.system.entry.js → p-d9e7da09.system.entry.js} +1 -1
- package/lib/duet/p-dad5df60.entry.js +4 -0
- package/lib/duet/p-dd8cdf29.entry.js +4 -0
- package/lib/duet/{p-db932add.system.entry.js → p-decbebf5.system.entry.js} +1 -1
- package/lib/duet/p-dfe18019.entry.js +4 -0
- package/lib/duet/{p-c45cca40.system.entry.js → p-e00b5c40.system.entry.js} +1 -1
- package/lib/duet/p-e3698acb.system.js +4 -0
- package/lib/duet/p-e413a6de.system.js +4 -0
- package/lib/duet/p-e566241e.system.entry.js +4 -0
- package/lib/duet/{p-e86a0e7f.system.entry.js → p-e854cf9d.system.entry.js} +1 -1
- package/lib/duet/p-e9d559ff.entry.js +4 -0
- package/lib/duet/p-ec61f9ab.entry.js +4 -0
- package/lib/duet/{p-70dcc782.system.entry.js → p-ed2b16ba.system.entry.js} +1 -1
- package/lib/duet/{p-701d90ff.entry.js → p-f35b1e67.entry.js} +1 -1
- package/lib/duet/{p-a44381d5.js → p-f832d9f4.js} +2 -2
- package/lib/duet/p-fa746683.entry.js +4 -0
- package/lib/duet/p-fcec1712.entry.js +4 -0
- package/lib/duet/{p-48361f6f.system.entry.js → p-fdbe53c6.system.entry.js} +1 -1
- package/lib/duet/{p-e7389f0d.system.entry.js → p-fe1d73a7.system.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-breadcrumb.entry.js +3 -3
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +3 -3
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +7 -7
- package/lib/esm/duet-card.entry.js +3 -3
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +39 -49
- package/lib/esm/duet-collapsible.entry.js +3 -3
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +3 -3
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +4 -4
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-footer.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- 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 +3 -3
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +4 -4
- package/lib/esm/duet-popup-menu-item.entry.js +3 -3
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +3 -3
- package/lib/esm/duet-range-slider.entry.js +3 -3
- package/lib/esm/duet-scrollable_3.entry.js +5 -5
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +3 -3
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +3 -3
- package/lib/esm/duet-slideout-panel.entry.js +4 -4
- package/lib/esm/duet-slideout.entry.js +51 -19
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +5 -5
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +3 -3
- package/lib/esm/duet-upload-aria-status.entry.js +3 -3
- package/lib/esm/duet-upload-item.entry.js +7 -4
- package/lib/esm/duet-visually-hidden.entry.js +3 -3
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a669bad3.js → focus-utils-33e8d53f.js} +1 -1
- package/lib/esm/{index-4b92be25.js → index-62aa2798.js} +2 -9
- package/lib/esm/loader.js +3 -3
- package/lib/{dist-custom-elements/p-040f8831.js → esm/nudge-350af17e.js} +3 -6
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +2 -2
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +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-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +2 -2
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +2 -2
- 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-step_2.entry.js +2 -2
- 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-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- 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-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 +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/focus-utils-33e8d53f.js +4 -0
- package/lib/esm-es5/index-62aa2798.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/nudge-350af17e.js +4 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +9 -0
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +4 -2
- package/lib/types/components/duet-link/duet-link.d.ts +1 -0
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +16 -0
- package/lib/types/components.d.ts +26 -0
- package/lib/types/utils/nudge.d.ts +1 -1
- package/package.json +17 -24
- package/lib/duet/p-002b8f41.entry.js +0 -4
- package/lib/duet/p-02baa949.entry.js +0 -4
- package/lib/duet/p-040f8831.js +0 -4
- package/lib/duet/p-0528e2a7.entry.js +0 -4
- package/lib/duet/p-0a33ef8e.entry.js +0 -4
- package/lib/duet/p-0ee95a64.entry.js +0 -4
- package/lib/duet/p-11e2303e.system.entry.js +0 -4
- package/lib/duet/p-18a31510.entry.js +0 -4
- package/lib/duet/p-1b6fb905.entry.js +0 -4
- package/lib/duet/p-1f65b60f.entry.js +0 -4
- package/lib/duet/p-215eda28.system.entry.js +0 -4
- package/lib/duet/p-23134d90.entry.js +0 -4
- package/lib/duet/p-26095a08.system.js +0 -4
- package/lib/duet/p-2748aa50.entry.js +0 -4
- package/lib/duet/p-28960e09.entry.js +0 -4
- package/lib/duet/p-2906fe6c.entry.js +0 -4
- package/lib/duet/p-2cacedde.system.entry.js +0 -4
- package/lib/duet/p-2d4c6724.entry.js +0 -4
- package/lib/duet/p-32d74eb9.entry.js +0 -4
- package/lib/duet/p-34249a02.entry.js +0 -4
- package/lib/duet/p-3b82aa9e.system.entry.js +0 -4
- package/lib/duet/p-3cd4a72e.system.entry.js +0 -4
- package/lib/duet/p-3e39b66d.entry.js +0 -4
- package/lib/duet/p-43587827.entry.js +0 -4
- package/lib/duet/p-43f99432.entry.js +0 -4
- package/lib/duet/p-48da4668.system.entry.js +0 -4
- package/lib/duet/p-4b79c0dc.entry.js +0 -4
- package/lib/duet/p-54e6e82f.system.js +0 -5
- package/lib/duet/p-55759777.entry.js +0 -4
- package/lib/duet/p-58dc5c7f.entry.js +0 -4
- package/lib/duet/p-5bdc3d08.entry.js +0 -4
- package/lib/duet/p-5eb72773.entry.js +0 -4
- package/lib/duet/p-63707d67.system.entry.js +0 -4
- package/lib/duet/p-65d39961.entry.js +0 -4
- package/lib/duet/p-6b02135b.entry.js +0 -4
- package/lib/duet/p-6b9bcd66.entry.js +0 -4
- package/lib/duet/p-6c1bb847.system.entry.js +0 -4
- package/lib/duet/p-6cca1a56.entry.js +0 -4
- package/lib/duet/p-6cf633e0.entry.js +0 -4
- package/lib/duet/p-7becefd3.entry.js +0 -4
- package/lib/duet/p-7bfb912d.system.entry.js +0 -4
- package/lib/duet/p-7cd149d5.system.entry.js +0 -4
- package/lib/duet/p-7cefb9c8.entry.js +0 -4
- package/lib/duet/p-7d5d6371.entry.js +0 -4
- package/lib/duet/p-80157d8f.system.entry.js +0 -4
- package/lib/duet/p-82ed0c1e.entry.js +0 -4
- package/lib/duet/p-83c33ce1.system.js +0 -4
- package/lib/duet/p-852393bd.entry.js +0 -4
- package/lib/duet/p-861e2ba5.entry.js +0 -4
- package/lib/duet/p-893682f2.entry.js +0 -4
- package/lib/duet/p-8e2ddb69.entry.js +0 -4
- package/lib/duet/p-9170537f.system.entry.js +0 -4
- package/lib/duet/p-9281ad1f.entry.js +0 -4
- package/lib/duet/p-9a5b6324.entry.js +0 -4
- package/lib/duet/p-9e2fc97b.entry.js +0 -4
- package/lib/duet/p-a1dadf5f.entry.js +0 -4
- package/lib/duet/p-a4262e9e.entry.js +0 -4
- package/lib/duet/p-a77d6daa.entry.js +0 -4
- package/lib/duet/p-a8c0eab5.entry.js +0 -4
- package/lib/duet/p-af9efdf9.entry.js +0 -4
- package/lib/duet/p-b43c3844.entry.js +0 -4
- package/lib/duet/p-ba7e2b46.entry.js +0 -4
- package/lib/duet/p-c3148fb5.entry.js +0 -4
- package/lib/duet/p-c486b82a.entry.js +0 -4
- package/lib/duet/p-c689a5a2.entry.js +0 -4
- package/lib/duet/p-c69dd504.entry.js +0 -4
- package/lib/duet/p-c97109b5.system.js +0 -4
- package/lib/duet/p-c9d0296f.entry.js +0 -4
- package/lib/duet/p-ccd1c1da.entry.js +0 -4
- package/lib/duet/p-ce0dbe46.entry.js +0 -4
- package/lib/duet/p-ce60ea36.entry.js +0 -4
- package/lib/duet/p-d3b8295e.entry.js +0 -4
- package/lib/duet/p-d79067a9.entry.js +0 -4
- package/lib/duet/p-dfaea3f3.entry.js +0 -4
- package/lib/duet/p-e6d1abab.entry.js +0 -4
- package/lib/duet/p-e888b133.entry.js +0 -4
- package/lib/duet/p-f46d2985.entry.js +0 -4
- package/lib/duet/p-fbeab44b.entry.js +0 -4
- package/lib/duet/p-fe21ca0a.entry.js +0 -4
- package/lib/esm-es5/focus-utils-a669bad3.js +0 -4
- package/lib/esm-es5/index-4b92be25.js +0 -5
- package/lib/esm-es5/nudge-560904c3.js +0 -4
|
@@ -91,6 +91,12 @@ export class DuetChoice {
|
|
|
91
91
|
};
|
|
92
92
|
this.toggleInfo = () => {
|
|
93
93
|
this.isInfoOpen = !this.isInfoOpen;
|
|
94
|
+
if (this.isInfoOpen) {
|
|
95
|
+
setTimeout(() => {
|
|
96
|
+
var _a;
|
|
97
|
+
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
98
|
+
});
|
|
99
|
+
}
|
|
94
100
|
};
|
|
95
101
|
this.isHovering = false;
|
|
96
102
|
this.isInfoOpen = false;
|
|
@@ -140,6 +146,7 @@ export class DuetChoice {
|
|
|
140
146
|
this.hasAdditional = hasSlot(this.element, "additional");
|
|
141
147
|
this.hasLabel = hasSlot(this.element, "label");
|
|
142
148
|
this.hasBeforeText = hasSlot(this.element, "before-text");
|
|
149
|
+
this.duetChoiceReady.emit();
|
|
143
150
|
}
|
|
144
151
|
componentDidLoad() {
|
|
145
152
|
nudge(this);
|
|
@@ -152,6 +159,7 @@ export class DuetChoice {
|
|
|
152
159
|
}
|
|
153
160
|
disconnectedCallback() {
|
|
154
161
|
disconnectLanguageChangeObserver(this);
|
|
162
|
+
this.duetChoiceRemove.emit();
|
|
155
163
|
}
|
|
156
164
|
/**
|
|
157
165
|
* Component event handling.
|
|
@@ -269,7 +277,7 @@ export class DuetChoice {
|
|
|
269
277
|
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, "aria-flowto": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button" }, h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), h("div", { class: "duet-choice-info-icon" }, h("duet-icon", { icon: infoIcon.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (h("div", { class: this.getClassNames(), id: this.expandId }, h("span", { class: {
|
|
270
278
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
271
279
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
272
|
-
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span",
|
|
280
|
+
} }, h("span", { id: this.headerId }, h("slot", { name: "header" })), this.hasInfo ? (h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, h("slot", { name: "info" })), h("slot", null))) : (h("span", null, h("slot", null)))), this.isInfoOpen && h(FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
273
281
|
}
|
|
274
282
|
static get is() { return "duet-choice"; }
|
|
275
283
|
static get encapsulation() { return "scoped"; }
|
|
@@ -886,6 +894,46 @@ export class DuetChoice {
|
|
|
886
894
|
}
|
|
887
895
|
static get events() {
|
|
888
896
|
return [{
|
|
897
|
+
"method": "duetChoiceReady",
|
|
898
|
+
"name": "duetChoiceReady",
|
|
899
|
+
"bubbles": true,
|
|
900
|
+
"cancelable": true,
|
|
901
|
+
"composed": true,
|
|
902
|
+
"docs": {
|
|
903
|
+
"tags": [],
|
|
904
|
+
"text": "Emitted when the component is available in the DOM."
|
|
905
|
+
},
|
|
906
|
+
"complexType": {
|
|
907
|
+
"original": "CustomEvent",
|
|
908
|
+
"resolved": "CustomEvent<any>",
|
|
909
|
+
"references": {
|
|
910
|
+
"CustomEvent": {
|
|
911
|
+
"location": "global",
|
|
912
|
+
"id": "global::CustomEvent"
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
}, {
|
|
917
|
+
"method": "duetChoiceRemove",
|
|
918
|
+
"name": "duetChoiceRemove",
|
|
919
|
+
"bubbles": true,
|
|
920
|
+
"cancelable": true,
|
|
921
|
+
"composed": true,
|
|
922
|
+
"docs": {
|
|
923
|
+
"tags": [],
|
|
924
|
+
"text": "Emitted when the component is removed from the DOM."
|
|
925
|
+
},
|
|
926
|
+
"complexType": {
|
|
927
|
+
"original": "CustomEvent",
|
|
928
|
+
"resolved": "CustomEvent<any>",
|
|
929
|
+
"references": {
|
|
930
|
+
"CustomEvent": {
|
|
931
|
+
"location": "global",
|
|
932
|
+
"id": "global::CustomEvent"
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
}, {
|
|
889
937
|
"method": "duetChange",
|
|
890
938
|
"name": "duetChange",
|
|
891
939
|
"bubbles": true,
|
|
@@ -901,7 +949,7 @@ export class DuetChoice {
|
|
|
901
949
|
"references": {
|
|
902
950
|
"DuetChoiceEvent": {
|
|
903
951
|
"location": "local",
|
|
904
|
-
"path": "/Users/
|
|
952
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
905
953
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
906
954
|
}
|
|
907
955
|
}
|
|
@@ -922,7 +970,7 @@ export class DuetChoice {
|
|
|
922
970
|
"references": {
|
|
923
971
|
"DuetChoiceEvent": {
|
|
924
972
|
"location": "local",
|
|
925
|
-
"path": "/Users/
|
|
973
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
926
974
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
927
975
|
}
|
|
928
976
|
}
|
|
@@ -943,7 +991,7 @@ export class DuetChoice {
|
|
|
943
991
|
"references": {
|
|
944
992
|
"DuetChoiceEvent": {
|
|
945
993
|
"location": "local",
|
|
946
|
-
"path": "/Users/
|
|
994
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-choice/duet-choice.tsx",
|
|
947
995
|
"id": "src/components/duet-choice/duet-choice.tsx::DuetChoiceEvent"
|
|
948
996
|
}
|
|
949
997
|
}
|
|
@@ -65,7 +65,6 @@ describe("duet-choice-group", () => {
|
|
|
65
65
|
});
|
|
66
66
|
it("ignores duetChange events from all components other than duet-choice", async () => {
|
|
67
67
|
const page = await createPage(`
|
|
68
|
-
<link rel="stylesheet" href="http://localhost:3334/fonts/lib/localtapiola.css" />
|
|
69
68
|
<duet-choice-group value="svenska" label="Asiointikieli" name="group" responsive>
|
|
70
69
|
<duet-choice label="Svenska" type="radio" value="svenska" collapsible expand>
|
|
71
70
|
<duet-textarea></duet-textarea>
|
|
@@ -4,17 +4,10 @@
|
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { nudge } from "../../utils/nudge";
|
|
7
|
-
import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
|
|
8
|
-
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
9
7
|
export class DuetChoiceGroup {
|
|
10
8
|
constructor() {
|
|
11
9
|
this.choiceGroupName = "duet-choice-group";
|
|
12
|
-
this.
|
|
13
|
-
return Array.from(this.element.querySelectorAll(duetChoiceSelector));
|
|
14
|
-
};
|
|
15
|
-
this.isMyChoice = (choice) => {
|
|
16
|
-
return this.getChoices().includes(choice);
|
|
17
|
-
};
|
|
10
|
+
this.choices = new Set();
|
|
18
11
|
/**
|
|
19
12
|
* Component event handling.
|
|
20
13
|
*/
|
|
@@ -23,12 +16,21 @@ export class DuetChoiceGroup {
|
|
|
23
16
|
return;
|
|
24
17
|
}
|
|
25
18
|
const selectedChoice = ev.target;
|
|
26
|
-
if (selectedChoice && this.
|
|
19
|
+
if (selectedChoice && this.choices.has(selectedChoice)) {
|
|
27
20
|
this.value = selectedChoice.value;
|
|
28
21
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
};
|
|
23
|
+
this.onChoiceReady = (ev) => {
|
|
24
|
+
const choice = ev.target;
|
|
25
|
+
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
26
|
+
this.choices.add(choice);
|
|
27
|
+
this.updateChoices();
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.onChoiceRemove = (ev) => {
|
|
31
|
+
const choice = ev.target;
|
|
32
|
+
this.choices.delete(choice);
|
|
33
|
+
this.updateChoices();
|
|
32
34
|
};
|
|
33
35
|
this.direction = "vertical";
|
|
34
36
|
this.margin = "auto";
|
|
@@ -52,28 +54,7 @@ export class DuetChoiceGroup {
|
|
|
52
54
|
if (Build.isServer) {
|
|
53
55
|
return;
|
|
54
56
|
}
|
|
55
|
-
|
|
56
|
-
if (this.value === undefined) {
|
|
57
|
-
const choice = findCheckedOption(el, duetChoiceSelector);
|
|
58
|
-
if (choice !== undefined) {
|
|
59
|
-
await choice.componentOnReady();
|
|
60
|
-
if (this.value === undefined) {
|
|
61
|
-
this.value = choice.value;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
this.mutationO = watchForOptions(el, duetChoiceSelector, newOption => {
|
|
66
|
-
if (newOption !== undefined) {
|
|
67
|
-
newOption.componentOnReady().then(() => {
|
|
68
|
-
if (this.isMyChoice(newOption)) {
|
|
69
|
-
this.value = newOption.value;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
else {
|
|
74
|
-
this.updateChoices();
|
|
75
|
-
}
|
|
76
|
-
});
|
|
57
|
+
this.initialValue = this.value;
|
|
77
58
|
this.updateChoices();
|
|
78
59
|
}
|
|
79
60
|
disconnectedCallback() {
|
|
@@ -95,15 +76,11 @@ export class DuetChoiceGroup {
|
|
|
95
76
|
* Local methods
|
|
96
77
|
*/
|
|
97
78
|
async updateChoices() {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
* to caching the choice group value
|
|
101
|
-
*/
|
|
102
|
-
const choices = this.getChoices();
|
|
103
|
-
const { value } = this;
|
|
79
|
+
var _a;
|
|
80
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
104
81
|
let hasChecked = false;
|
|
105
82
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
106
|
-
for (const choice of choices) {
|
|
83
|
+
for (const choice of this.choices) {
|
|
107
84
|
choice.name = this.name;
|
|
108
85
|
choice.groupDisabled = this.disabled;
|
|
109
86
|
choice.groupDirection = this.direction;
|
|
@@ -113,6 +90,9 @@ export class DuetChoiceGroup {
|
|
|
113
90
|
// and we haven't found a checked yet
|
|
114
91
|
hasChecked = true;
|
|
115
92
|
choice.checked = true;
|
|
93
|
+
if (typeof this.value === "undefined") {
|
|
94
|
+
this.value = value;
|
|
95
|
+
}
|
|
116
96
|
}
|
|
117
97
|
else {
|
|
118
98
|
// This choice doesn't have the correct value or the choice group has been already checked
|
|
@@ -129,7 +109,7 @@ export class DuetChoiceGroup {
|
|
|
129
109
|
* Always the last one in the class.
|
|
130
110
|
*/
|
|
131
111
|
render() {
|
|
132
|
-
return (h(Host, { onDuetChange: this.onSelect, class: {
|
|
112
|
+
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
133
113
|
horizontal: this.direction === "horizontal",
|
|
134
114
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
135
115
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
@@ -14,8 +14,6 @@ describe("duet-collapsible", () => {
|
|
|
14
14
|
}
|
|
15
15
|
const generatePage = async (open = false) => {
|
|
16
16
|
return createPage(`
|
|
17
|
-
<meta charset="utf-8" />
|
|
18
|
-
<link rel='stylesheet' href='http://localhost:3334/fonts/lib/localtapiola.css' />
|
|
19
17
|
<duet-collapsible heading="First collapsible" ${open ? "open" : ""} accessible-label="Accessible First collapsible">
|
|
20
18
|
<duet-paragraph>
|
|
21
19
|
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Aperiam impedit, possimus minima repudiandae
|
|
@@ -228,7 +228,7 @@ export class DuetCollapsible {
|
|
|
228
228
|
"references": {
|
|
229
229
|
"DuetCollapsibleWeight": {
|
|
230
230
|
"location": "local",
|
|
231
|
-
"path": "/Users/
|
|
231
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
|
|
232
232
|
"id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleWeight"
|
|
233
233
|
}
|
|
234
234
|
}
|
|
@@ -252,7 +252,7 @@ export class DuetCollapsible {
|
|
|
252
252
|
"references": {
|
|
253
253
|
"DuetCollapsibleHeadingFontSize": {
|
|
254
254
|
"location": "local",
|
|
255
|
-
"path": "/Users/
|
|
255
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
|
|
256
256
|
"id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleHeadingFontSize"
|
|
257
257
|
}
|
|
258
258
|
}
|
|
@@ -352,7 +352,7 @@ export class DuetCollapsible {
|
|
|
352
352
|
"references": {
|
|
353
353
|
"DuetCollapsibleToggleEvent": {
|
|
354
354
|
"location": "local",
|
|
355
|
-
"path": "/Users/
|
|
355
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-collapsible/duet-collapsible.tsx",
|
|
356
356
|
"id": "src/components/duet-collapsible/duet-collapsible.tsx::DuetCollapsibleToggleEvent"
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { getAllFixturesFiles } from "../../utils/fixture-utils";
|
|
5
4
|
import { createPage } from "../../utils/test-utils";
|
|
6
|
-
const
|
|
5
|
+
const createPageWithCombobox = async () => {
|
|
6
|
+
const combobox = `<duet-combobox force="true"><duet-input label="Combobox Postalcode example" icon="form-location" expand caption="use arrow keys to navigate, type to search list"></duet-input></duet-combobox>`;
|
|
7
|
+
const page = await createPage(combobox);
|
|
8
|
+
await page.$eval("duet-combobox", (combobox, props) => Object.assign(combobox, props), {
|
|
9
|
+
items: [
|
|
10
|
+
{ id: 0, value: "49200", name: "Heinlahti" },
|
|
11
|
+
{ id: 1, value: "49210", name: "Huutjarvi" },
|
|
12
|
+
{ id: 2, value: "49220", name: "Siltakyla" },
|
|
13
|
+
{ id: 3, value: "49240", name: "Purola" },
|
|
14
|
+
{ id: 4, value: "49270", name: "Something" },
|
|
15
|
+
{ id: 5, value: "49290", name: "Vastila" },
|
|
16
|
+
],
|
|
17
|
+
});
|
|
18
|
+
return page;
|
|
19
|
+
};
|
|
7
20
|
describe("duet-combobox", () => {
|
|
8
21
|
it("should render a combobox", async () => {
|
|
9
|
-
const page = await
|
|
22
|
+
const page = await createPageWithCombobox();
|
|
10
23
|
const component = await page.find("duet-combobox");
|
|
11
24
|
expect(component).not.toBeNull();
|
|
12
25
|
});
|
|
13
26
|
it("allow selection of items via keyboard, make sure tabbing away retains content", async () => {
|
|
14
|
-
const page = await
|
|
27
|
+
const page = await createPageWithCombobox();
|
|
15
28
|
const element = await page.find("duet-combobox");
|
|
16
29
|
const input = await element.find("duet-input .duet-input");
|
|
17
30
|
await input.click();
|
|
@@ -32,7 +45,7 @@ describe("duet-combobox", () => {
|
|
|
32
45
|
expect(await input.getProperty("value")).toBe("Heinlahti");
|
|
33
46
|
});
|
|
34
47
|
it("closes via escape key with null values if forced", async () => {
|
|
35
|
-
const page = await
|
|
48
|
+
const page = await createPageWithCombobox();
|
|
36
49
|
const element = await page.find("duet-combobox");
|
|
37
50
|
const input = await element.find("duet-input .duet-input");
|
|
38
51
|
// tab to input
|
|
@@ -46,7 +59,7 @@ describe("duet-combobox", () => {
|
|
|
46
59
|
expect(await input.getProperty("value")).toBe("");
|
|
47
60
|
});
|
|
48
61
|
it("closes via escape key with set values if forced", async () => {
|
|
49
|
-
const page = await
|
|
62
|
+
const page = await createPageWithCombobox();
|
|
50
63
|
const targetValue = "Heinlahti";
|
|
51
64
|
const element = await page.find("duet-combobox");
|
|
52
65
|
const input = await element.find("duet-input .duet-input");
|
|
@@ -71,7 +84,7 @@ describe("duet-combobox", () => {
|
|
|
71
84
|
expect(itemValue).toBe(targetValue);
|
|
72
85
|
});
|
|
73
86
|
it("shows dropdown navigable via keys", async () => {
|
|
74
|
-
const page = await
|
|
87
|
+
const page = await createPageWithCombobox();
|
|
75
88
|
const element = await page.find("duet-combobox");
|
|
76
89
|
const input = await element.find("duet-input .duet-input");
|
|
77
90
|
// focus on input
|
|
@@ -89,7 +102,7 @@ describe("duet-combobox", () => {
|
|
|
89
102
|
expect(await input.getProperty("value")).toBe("Huutjarvi");
|
|
90
103
|
});
|
|
91
104
|
it("allows filtering middle of string", async () => {
|
|
92
|
-
const page = await
|
|
105
|
+
const page = await createPageWithCombobox();
|
|
93
106
|
const element = await page.find("duet-combobox");
|
|
94
107
|
element.setProperty("filterType", "includes");
|
|
95
108
|
await page.waitForChanges();
|
|
@@ -500,7 +500,7 @@ export class DuetCombobox {
|
|
|
500
500
|
"references": {
|
|
501
501
|
"DuetComboboxItem": {
|
|
502
502
|
"location": "local",
|
|
503
|
-
"path": "/Users/
|
|
503
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
|
|
504
504
|
"id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxItem"
|
|
505
505
|
}
|
|
506
506
|
}
|
|
@@ -620,7 +620,7 @@ export class DuetCombobox {
|
|
|
620
620
|
"references": {
|
|
621
621
|
"DuetComboboxEvent": {
|
|
622
622
|
"location": "local",
|
|
623
|
-
"path": "/Users/
|
|
623
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
|
|
624
624
|
"id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxEvent"
|
|
625
625
|
}
|
|
626
626
|
}
|
|
@@ -646,7 +646,7 @@ export class DuetCombobox {
|
|
|
646
646
|
},
|
|
647
647
|
"DuetComboboxItem": {
|
|
648
648
|
"location": "local",
|
|
649
|
-
"path": "/Users/
|
|
649
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-combobox/duet-combobox.tsx",
|
|
650
650
|
"id": "src/components/duet-combobox/duet-combobox.tsx::DuetComboboxItem"
|
|
651
651
|
}
|
|
652
652
|
},
|
|
@@ -5,10 +5,6 @@ import { createPage } from "../../utils/test-utils";
|
|
|
5
5
|
describe("duet-cookie-consent", () => {
|
|
6
6
|
const generatePage = async (theme = "") => {
|
|
7
7
|
return createPage(`
|
|
8
|
-
<meta charset="utf-8" />
|
|
9
|
-
<link rel='stylesheet' href='http://localhost:3334/fonts/lib/localtapiola.css' />
|
|
10
|
-
<link rel="stylesheet" href="http://localhost:3334/fonts/lib/turva.css" />
|
|
11
|
-
<link rel="stylesheet" href="http://localhost:3334/css/lib/duet.min.css" />
|
|
12
8
|
<duet-cookie-consent accessible-label="Hyväksyn evästeiden käytön" theme=${theme}>
|
|
13
9
|
Käytämme evästeitä. Käyttämällä verkkosivujamme hyväksyt evästeiden käyton.
|
|
14
10
|
<a href="#" target="_blank" aria-label="Lue lisää evästeiden käytöstä sivustolla">Lue lisää</a>
|
|
@@ -114,7 +114,7 @@ export class DuetCookieConsent {
|
|
|
114
114
|
"references": {
|
|
115
115
|
"DuetCookieConsentEvent": {
|
|
116
116
|
"location": "local",
|
|
117
|
-
"path": "/Users/
|
|
117
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-cookie-consent/duet-cookie-consent.tsx",
|
|
118
118
|
"id": "src/components/duet-cookie-consent/duet-cookie-consent.tsx::DuetCookieConsentEvent"
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -758,7 +758,7 @@ export class DuetDatePicker {
|
|
|
758
758
|
"references": {
|
|
759
759
|
"DuetDatePickerDirection": {
|
|
760
760
|
"location": "local",
|
|
761
|
-
"path": "/Users/
|
|
761
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
|
|
762
762
|
"id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerDirection"
|
|
763
763
|
}
|
|
764
764
|
}
|
|
@@ -933,7 +933,7 @@ export class DuetDatePicker {
|
|
|
933
933
|
"references": {
|
|
934
934
|
"DuetDatePickerChangeEvent": {
|
|
935
935
|
"location": "local",
|
|
936
|
-
"path": "/Users/
|
|
936
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
|
|
937
937
|
"id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerChangeEvent"
|
|
938
938
|
}
|
|
939
939
|
}
|
|
@@ -954,7 +954,7 @@ export class DuetDatePicker {
|
|
|
954
954
|
"references": {
|
|
955
955
|
"DuetDatePickerFocusEvent": {
|
|
956
956
|
"location": "local",
|
|
957
|
-
"path": "/Users/
|
|
957
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
|
|
958
958
|
"id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerFocusEvent"
|
|
959
959
|
}
|
|
960
960
|
}
|
|
@@ -975,7 +975,7 @@ export class DuetDatePicker {
|
|
|
975
975
|
"references": {
|
|
976
976
|
"DuetDatePickerFocusEvent": {
|
|
977
977
|
"location": "local",
|
|
978
|
-
"path": "/Users/
|
|
978
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-date-picker/duet-date-picker.tsx",
|
|
979
979
|
"id": "src/components/duet-date-picker/duet-date-picker.tsx::DuetDatePickerFocusEvent"
|
|
980
980
|
}
|
|
981
981
|
}
|
|
@@ -76,7 +76,7 @@ export class DuetDivider {
|
|
|
76
76
|
"references": {
|
|
77
77
|
"DuetDividerMargin": {
|
|
78
78
|
"location": "local",
|
|
79
|
-
"path": "/Users/
|
|
79
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-divider/duet-divider.tsx",
|
|
80
80
|
"id": "src/components/duet-divider/duet-divider.tsx::DuetDividerMargin"
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -305,7 +305,7 @@ export class DuetEditableTable {
|
|
|
305
305
|
"references": {
|
|
306
306
|
"DuetEditableTableActions": {
|
|
307
307
|
"location": "local",
|
|
308
|
-
"path": "/Users/
|
|
308
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
|
|
309
309
|
"id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableActions"
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -330,7 +330,7 @@ export class DuetEditableTable {
|
|
|
330
330
|
"references": {
|
|
331
331
|
"DuetEditableTableColumns": {
|
|
332
332
|
"location": "local",
|
|
333
|
-
"path": "/Users/
|
|
333
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
|
|
334
334
|
"id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableColumns"
|
|
335
335
|
}
|
|
336
336
|
}
|
|
@@ -355,7 +355,7 @@ export class DuetEditableTable {
|
|
|
355
355
|
"references": {
|
|
356
356
|
"DuetEditableTableRows": {
|
|
357
357
|
"location": "local",
|
|
358
|
-
"path": "/Users/
|
|
358
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
|
|
359
359
|
"id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetEditableTableRows"
|
|
360
360
|
}
|
|
361
361
|
}
|
|
@@ -491,7 +491,7 @@ export class DuetEditableTable {
|
|
|
491
491
|
"references": {
|
|
492
492
|
"DuetTableToggleEvent": {
|
|
493
493
|
"location": "local",
|
|
494
|
-
"path": "/Users/
|
|
494
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
|
|
495
495
|
"id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetTableToggleEvent"
|
|
496
496
|
}
|
|
497
497
|
}
|
|
@@ -512,7 +512,7 @@ export class DuetEditableTable {
|
|
|
512
512
|
"references": {
|
|
513
513
|
"DuetTableMenuEvent": {
|
|
514
514
|
"location": "local",
|
|
515
|
-
"path": "/Users/
|
|
515
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-editable-table/duet-editable-table.tsx",
|
|
516
516
|
"id": "src/components/duet-editable-table/duet-editable-table.tsx::DuetTableMenuEvent"
|
|
517
517
|
}
|
|
518
518
|
}
|
|
@@ -101,7 +101,7 @@ export class DuetEmptyState {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"DuetEmptyStateSize": {
|
|
103
103
|
"location": "local",
|
|
104
|
-
"path": "/Users/
|
|
104
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-empty-state/duet-empty-state.tsx",
|
|
105
105
|
"id": "src/components/duet-empty-state/duet-empty-state.tsx::DuetEmptyStateSize"
|
|
106
106
|
}
|
|
107
107
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { getAllFixturesFiles } from "../../utils/fixture-utils";
|
|
5
4
|
import { createPage } from "../../utils/test-utils";
|
|
6
|
-
const
|
|
5
|
+
const defaultFooter = `<duet-footer logo-href="/" language="fi" class="duet-example-without-padding"> </duet-footer>`;
|
|
6
|
+
const simpleVariation = `<duet-footer variation="simple" class="duet-example-without-padding"> </duet-footer>`;
|
|
7
7
|
describe("duet-footer", () => {
|
|
8
8
|
it("should render a navigation", async () => {
|
|
9
|
-
const page = await createPage(
|
|
9
|
+
const page = await createPage(defaultFooter);
|
|
10
10
|
const component = await page.find("duet-footer");
|
|
11
11
|
expect(component).not.toBeNull();
|
|
12
12
|
expect(component).toHaveClass("hydrated");
|
|
13
13
|
});
|
|
14
14
|
it("should provide a property that sets language", async () => {
|
|
15
|
-
const page = await createPage(
|
|
15
|
+
const page = await createPage(defaultFooter);
|
|
16
16
|
const element = await page.find("duet-footer >>> duet-logo");
|
|
17
17
|
expect(element.getAttribute("language")).toEqual("fi");
|
|
18
18
|
});
|
|
@@ -32,7 +32,7 @@ describe("duet-footer", () => {
|
|
|
32
32
|
expect(element.getAttribute("href")).toEqual("demo");
|
|
33
33
|
});
|
|
34
34
|
it("should provide a property that renders navigation items", async () => {
|
|
35
|
-
const page = await createPage(
|
|
35
|
+
const page = await createPage(defaultFooter);
|
|
36
36
|
await page.$eval("duet-footer", (el) => {
|
|
37
37
|
el.items = [
|
|
38
38
|
{ label: "Hae korvausta", href: "#", icon: "navigation-make-claim" },
|
|
@@ -45,7 +45,7 @@ describe("duet-footer", () => {
|
|
|
45
45
|
expect(element).not.toBeNull();
|
|
46
46
|
});
|
|
47
47
|
it("should provide a property that renders menu items", async () => {
|
|
48
|
-
const page = await createPage(
|
|
48
|
+
const page = await createPage(defaultFooter);
|
|
49
49
|
await page.$eval("duet-footer", (el) => {
|
|
50
50
|
el.menu = [
|
|
51
51
|
{ label: "Hae korvausta", href: "#" },
|
|
@@ -58,12 +58,12 @@ describe("duet-footer", () => {
|
|
|
58
58
|
expect(element).not.toBeNull();
|
|
59
59
|
});
|
|
60
60
|
it("should provide a property that renders the footer in simple mode", async () => {
|
|
61
|
-
const page = await createPage(
|
|
61
|
+
const page = await createPage(simpleVariation);
|
|
62
62
|
const element = await page.find("duet-footer >>> .duet-footer-simple");
|
|
63
63
|
expect(element).not.toBeNull();
|
|
64
64
|
});
|
|
65
65
|
it("should automatically refresh itself when content changes", async () => {
|
|
66
|
-
const page = await createPage(
|
|
66
|
+
const page = await createPage(defaultFooter);
|
|
67
67
|
await page.$eval("duet-footer", (el) => {
|
|
68
68
|
el.items = [
|
|
69
69
|
{ label: "Hae korvausta", href: "#", icon: "navigation-make-claim" },
|
|
@@ -95,14 +95,15 @@ describe("duet-footer", () => {
|
|
|
95
95
|
logoHref: "/logo",
|
|
96
96
|
};
|
|
97
97
|
beforeEach(async () => {
|
|
98
|
-
page = await createPage(
|
|
98
|
+
page = await createPage(defaultFooter);
|
|
99
99
|
footer = await page.find("duet-footer");
|
|
100
100
|
await page.$eval("duet-footer", (footer, props) => {
|
|
101
101
|
Object.assign(footer, props);
|
|
102
102
|
}, props);
|
|
103
103
|
await page.waitForChanges();
|
|
104
104
|
});
|
|
105
|
-
|
|
105
|
+
// TODO: broken test as the browser tries to enter the logo url
|
|
106
|
+
it.skip("raises events when logo is clicked", async () => {
|
|
106
107
|
const logo = await page.find("duet-footer >>> duet-logo");
|
|
107
108
|
const changeSpy = await footer.spyOnEvent("duetChange");
|
|
108
109
|
const logoSpy = await footer.spyOnEvent("duetLogoClick");
|