@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
|
@@ -22,12 +22,11 @@ describe("duet-upload", () => {
|
|
|
22
22
|
const component = await page.find("duet-upload");
|
|
23
23
|
expect(component).not.toBeNull();
|
|
24
24
|
const errorCodes = (await component.getProperty("errorCodes")) || null;
|
|
25
|
-
console.log(errorCodes);
|
|
26
25
|
expect(errorCodes).not.toBeNull();
|
|
27
|
-
console.log(errorCodes);
|
|
28
26
|
expect(errorCodes[0].type).toBe("default");
|
|
29
27
|
});
|
|
30
|
-
|
|
28
|
+
// TODO: gives js not found error
|
|
29
|
+
it.skip("should provide a way to change errorCodes", async () => {
|
|
31
30
|
const page = await createPage(`<duet-upload files=${fileList}></duet-upload>`);
|
|
32
31
|
const component = await page.find("duet-upload");
|
|
33
32
|
const errorCodes = (await component.getProperty("errorCodes")) || null;
|
|
@@ -995,7 +995,7 @@ export class DuetUpload {
|
|
|
995
995
|
"references": {
|
|
996
996
|
"XHRInternalMiddleWare": {
|
|
997
997
|
"location": "local",
|
|
998
|
-
"path": "/Users/
|
|
998
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
999
999
|
"id": "src/components/duet-upload/duet-upload.tsx::XHRInternalMiddleWare"
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
@@ -1381,7 +1381,7 @@ export class DuetUpload {
|
|
|
1381
1381
|
"references": {
|
|
1382
1382
|
"StringMap": {
|
|
1383
1383
|
"location": "local",
|
|
1384
|
-
"path": "/Users/
|
|
1384
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
1385
1385
|
"id": "src/components/duet-upload/duet-upload.tsx::StringMap"
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
@@ -1927,7 +1927,7 @@ export class DuetUpload {
|
|
|
1927
1927
|
"references": {
|
|
1928
1928
|
"DuetUploadTableGroupName": {
|
|
1929
1929
|
"location": "local",
|
|
1930
|
-
"path": "/Users/
|
|
1930
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
1931
1931
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadTableGroupName"
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
@@ -1970,7 +1970,7 @@ export class DuetUpload {
|
|
|
1970
1970
|
"references": {
|
|
1971
1971
|
"DuetUploadEvent": {
|
|
1972
1972
|
"location": "local",
|
|
1973
|
-
"path": "/Users/
|
|
1973
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
1974
1974
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
1975
1975
|
}
|
|
1976
1976
|
}
|
|
@@ -1991,7 +1991,7 @@ export class DuetUpload {
|
|
|
1991
1991
|
"references": {
|
|
1992
1992
|
"DuetUploadEvent": {
|
|
1993
1993
|
"location": "local",
|
|
1994
|
-
"path": "/Users/
|
|
1994
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
1995
1995
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
@@ -2012,7 +2012,7 @@ export class DuetUpload {
|
|
|
2012
2012
|
"references": {
|
|
2013
2013
|
"DuetUploadEvent": {
|
|
2014
2014
|
"location": "local",
|
|
2015
|
-
"path": "/Users/
|
|
2015
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2016
2016
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2017
2017
|
}
|
|
2018
2018
|
}
|
|
@@ -2033,7 +2033,7 @@ export class DuetUpload {
|
|
|
2033
2033
|
"references": {
|
|
2034
2034
|
"DuetUploadEvent": {
|
|
2035
2035
|
"location": "local",
|
|
2036
|
-
"path": "/Users/
|
|
2036
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2037
2037
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
@@ -2054,7 +2054,7 @@ export class DuetUpload {
|
|
|
2054
2054
|
"references": {
|
|
2055
2055
|
"DuetUploadEvent": {
|
|
2056
2056
|
"location": "local",
|
|
2057
|
-
"path": "/Users/
|
|
2057
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2058
2058
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2059
2059
|
}
|
|
2060
2060
|
}
|
|
@@ -2075,7 +2075,7 @@ export class DuetUpload {
|
|
|
2075
2075
|
"references": {
|
|
2076
2076
|
"DuetUploadEvent": {
|
|
2077
2077
|
"location": "local",
|
|
2078
|
-
"path": "/Users/
|
|
2078
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2079
2079
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
@@ -2096,7 +2096,7 @@ export class DuetUpload {
|
|
|
2096
2096
|
"references": {
|
|
2097
2097
|
"DuetUploadEvent": {
|
|
2098
2098
|
"location": "local",
|
|
2099
|
-
"path": "/Users/
|
|
2099
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2100
2100
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
@@ -2117,7 +2117,7 @@ export class DuetUpload {
|
|
|
2117
2117
|
"references": {
|
|
2118
2118
|
"DuetUploadEvent": {
|
|
2119
2119
|
"location": "local",
|
|
2120
|
-
"path": "/Users/
|
|
2120
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2121
2121
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
@@ -2138,7 +2138,7 @@ export class DuetUpload {
|
|
|
2138
2138
|
"references": {
|
|
2139
2139
|
"DuetUploadEvent": {
|
|
2140
2140
|
"location": "local",
|
|
2141
|
-
"path": "/Users/
|
|
2141
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2142
2142
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2143
2143
|
}
|
|
2144
2144
|
}
|
|
@@ -2159,7 +2159,7 @@ export class DuetUpload {
|
|
|
2159
2159
|
"references": {
|
|
2160
2160
|
"DuetUploadEvent": {
|
|
2161
2161
|
"location": "local",
|
|
2162
|
-
"path": "/Users/
|
|
2162
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2163
2163
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2164
2164
|
}
|
|
2165
2165
|
}
|
|
@@ -2180,7 +2180,7 @@ export class DuetUpload {
|
|
|
2180
2180
|
"references": {
|
|
2181
2181
|
"DuetUploadEvent": {
|
|
2182
2182
|
"location": "local",
|
|
2183
|
-
"path": "/Users/
|
|
2183
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload/duet-upload.tsx",
|
|
2184
2184
|
"id": "src/components/duet-upload/duet-upload.tsx::DuetUploadEvent"
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
@@ -66,7 +66,7 @@ export class DuetUploadItem {
|
|
|
66
66
|
case "failure":
|
|
67
67
|
return (h("span", { class: "duet-upload-item-error", role: "status" }, h("duet-paragraph", { class: "duet-upload-item-name", color: "danger", margin: "none", weight: "semi-bold" }, h("duet-icon", { margin: "none", size: "x-small", name: "messaging-attachment" }), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), name), h("duet-paragraph", { class: "duet-upload-item-error-label", size: "small", margin: "none", color: "danger" }, getI18nError(error.type, this.errorCodes))));
|
|
68
68
|
default:
|
|
69
|
-
return uploaded && url && this.showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { onClick: this.onLinkClick, url: url
|
|
69
|
+
return uploaded && url && this.showLinks ? (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, h("duet-link", { class: "file-link", onClick: this.onLinkClick, url: url }, ContentName), h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText)) : (h("duet-paragraph", { color: "secondary", margin: "none", weight: "semi-bold" }, ContentName, h("duet-spacer", { size: "xx-small", direction: "horizontal" }), SizeText));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
@@ -80,6 +80,16 @@ export class DuetUploadItem {
|
|
|
80
80
|
}))));
|
|
81
81
|
}
|
|
82
82
|
static get is() { return "duet-upload-item"; }
|
|
83
|
+
static get originalStyleUrls() {
|
|
84
|
+
return {
|
|
85
|
+
"$": ["duet-upload-item.scss"]
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
static get styleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["duet-upload-item.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
83
93
|
static get properties() {
|
|
84
94
|
return {
|
|
85
95
|
"theme": {
|
|
@@ -136,7 +146,7 @@ export class DuetUploadItem {
|
|
|
136
146
|
"references": {
|
|
137
147
|
"ItemType": {
|
|
138
148
|
"location": "local",
|
|
139
|
-
"path": "/Users/
|
|
149
|
+
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-upload-item/duet-upload-item.tsx",
|
|
140
150
|
"id": "src/components/duet-upload-item/duet-upload-item.tsx::ItemType"
|
|
141
151
|
}
|
|
142
152
|
}
|
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
* This function is a workaround for a bug in Chromium-based browsers, where building the accessibility tree fails
|
|
6
6
|
* with nested shadow roots. See https://atlassian.lahitapiola.fi/jira/browse/DUET-780
|
|
7
7
|
*/
|
|
8
|
-
export function nudge(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
component.element.appendChild(el);
|
|
12
|
-
el.remove();
|
|
13
|
-
}, 10);
|
|
8
|
+
export function nudge(_component) {
|
|
9
|
+
// eslint-disable-next-line
|
|
10
|
+
setTimeout(() => { }, 10);
|
|
14
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetActionButton$1, d as defineCustomElement$1 } from './p-8d7e2f66.js';
|
|
5
5
|
|
|
6
6
|
const DuetActionButton = DuetActionButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetAlert$1, d as defineCustomElement$1 } from './p-01270b45.js';
|
|
5
5
|
|
|
6
6
|
const DuetAlert = DuetAlert$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetBadge$1, d as defineCustomElement$1 } from './p-abd29848.js';
|
|
5
5
|
|
|
6
6
|
const DuetBadge = DuetBadge$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
-
import { n as nudge } from './p-
|
|
6
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
7
7
|
import { g as getColorByName } from './p-e19d1e27.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './p-
|
|
9
|
-
import { d as defineCustomElement$3 } from './p-
|
|
10
|
-
import { d as defineCustomElement$2 } from './p-
|
|
8
|
+
import { d as defineCustomElement$4 } from './p-480a5be7.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './p-24aae259.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './p-7b274ffe.js';
|
|
11
11
|
|
|
12
12
|
const duetBannerCss = "*,*::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:4px !important;margin-bottom:2px !important;display:block;width:auto}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-banner{display:grid;width:100%;height: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-style:normal;text-align:left;border-radius:24px}.duet-banner.duet-p-0{padding:0 !important}.duet-banner.duet-m-0{margin:0 !important}.duet-banner .visual{position:relative;overflow:hidden;border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner .visual .image-container{position:relative;width:400px;height:400px;overflow:hidden;border-radius:20%;transform:rotate(7deg)}.duet-banner .visual .image{position:relative;top:20px;width:100%;height:100%;transform:rotate(-7deg);object-fit:cover}.duet-banner .visual .icon{position:absolute}.duet-banner .content{display:flex;flex-direction:column;gap:8px;padding:0 20px 36px}.duet-banner .action{display:flex;flex-direction:column;flex-grow:1;align-items:flex-start;justify-content:flex-end;padding-top:16px}.duet-banner.small{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.small .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.small .visual .image-container{top:-130px;left:-40px}.duet-banner.small .visual .icon{bottom:30px;left:15px}.duet-banner.large{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.large .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.large .visual .image-container{top:-30px;left:-30px}.duet-banner.large .visual .image{top:-15px;left:30px}.duet-banner.large .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.large .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.large .action{flex-grow:0}.duet-banner.auto{grid-template-rows:335px 1fr;max-width:335px}.duet-banner.auto .visual{border-top-left-radius:24px;border-top-right-radius:24px}.duet-banner.auto .visual .image-container{top:-130px;left:-40px}.duet-banner.auto .visual .icon{bottom:30px;left:15px}@media (min-width: 62em){.duet-banner.auto{grid-template-rows:none;grid-template-columns:50% 50%;min-width:900px;max-width:1112px;height:320px;max-height:none}.duet-banner.auto .visual{border-top-left-radius:24px;border-bottom-left-radius:24px}.duet-banner.auto .visual .image-container{top:-30px;left:-30px}.duet-banner.auto .visual .image{top:-15px;left:30px}.duet-banner.auto .visual .icon{top:40px;bottom:auto;left:335px}.duet-banner.auto .content{align-items:flex-start;justify-content:center;padding:0 72px 0 0}.duet-banner.auto .action{flex-grow:0}}.duet-banner.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-banner.duet-theme-turva .visual .image-container{width:526px;height:456px;transform:none;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");-webkit-mask-repeat:no-repeat;mask-image:url(\"data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20140%22%3E%3Cpath%20d%3D%22M87.8%20139.6a57.3%2057.3%200%2000-18.4-3.3c-8-.5-16.3-2.5-24.6-6-16.7-7-29-18.7-37.1-35.3a73.5%2073.5%200%2001-5-52.4c1.7-4%203-6.7%204-7.8a33%2033%200%20004-7.8C33.4%203.5%2063.2-4.3%20100%203.2c30.5%204%2049.7%2019.9%2057.6%2047.4l1.6%2024c4.4%2036-11.5%2056-47.5%2060.3-4%202.4-12%203.9-24%204.7%22%20fill-rule%3D%22nonzero%22%2F%3E%3C%2Fsvg%3E\");mask-repeat:no-repeat}.duet-banner.duet-theme-turva .visual .image{transform:none}.duet-banner.duet-theme-turva.small .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.small .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.small .visual .icon{bottom:15px}.duet-banner.duet-theme-turva.large .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.large .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.large .visual .icon{bottom:auto;left:295px}.duet-banner.duet-theme-turva.auto .visual .image-container{top:-164px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:15px}@media (min-width: 62em){.duet-banner.duet-theme-turva.auto .visual .image-container{top:-54.923px;left:-147px}.duet-banner.duet-theme-turva.auto .visual .image{top:0;left:0}.duet-banner.duet-theme-turva.auto .visual .icon{bottom:auto;left:295px}}";
|
|
13
13
|
|
|
@@ -37,7 +37,7 @@ const DuetBanner$1 = /*@__PURE__*/ proxyCustomElement(class DuetBanner extends H
|
|
|
37
37
|
this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
|
|
38
38
|
}
|
|
39
39
|
componentDidLoad() {
|
|
40
|
-
nudge(
|
|
40
|
+
nudge();
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* render() function
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString } from './p-4883df66.js';
|
|
7
|
-
import { n as nudge } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-24aae259.js';
|
|
9
9
|
|
|
10
10
|
var actionArrowRightSmall={"title":"action-arrow-right-small","tags":"action arrow right small caret","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M19.5 12a2.3 2.3 0 0 1-.78 1.729L7.568 23.54a1.847 1.847 0 0 1-2.439-2.773l9.752-8.579a.25.25 0 0 0 0-.376L5.129 3.233A1.847 1.847 0 0 1 7.568.46l11.148 9.808A2.31 2.31 0 0 1 19.5 12z\"/></svg>"};
|
|
11
11
|
|
|
@@ -34,7 +34,7 @@ const DuetBreadcrumb$1 = /*@__PURE__*/ proxyCustomElement(class DuetBreadcrumb e
|
|
|
34
34
|
inheritGlobalTheme(this);
|
|
35
35
|
}
|
|
36
36
|
componentDidLoad() {
|
|
37
|
-
nudge(
|
|
37
|
+
nudge();
|
|
38
38
|
}
|
|
39
39
|
connectedCallback() {
|
|
40
40
|
connectLanguageChangeObserver(this);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { g as getLocaleString } from './p-4883df66.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetButton$1, d as defineCustomElement$1 } from './p-32b30c68.js';
|
|
5
5
|
|
|
6
6
|
const DuetButton = DuetButton$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
-
import { n as nudge } from './p-
|
|
7
|
-
import { d as defineCustomElement$3 } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './p-24aae259.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-7b274ffe.js';
|
|
9
9
|
|
|
10
10
|
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 .author{color:rgb(0, 41, 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{color:rgb(23, 28, 58)}.duet-callout.duet-m-0{margin:0 !important}";
|
|
11
11
|
|
|
@@ -26,7 +26,7 @@ const DuetCallout$1 = /*@__PURE__*/ proxyCustomElement(class DuetCallout extends
|
|
|
26
26
|
this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
|
|
27
27
|
}
|
|
28
28
|
componentDidLoad() {
|
|
29
|
-
nudge(
|
|
29
|
+
nudge();
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* render() function
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCaption$1, d as defineCustomElement$1 } from './p-a79c1568.js';
|
|
5
5
|
|
|
6
6
|
const DuetCaption = DuetCaption$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { c as createID } from './p-45f71a69.js';
|
|
7
7
|
import { i as isKeyboardClick } from './p-56ac3289.js';
|
|
8
|
-
import { n as nudge } from './p-
|
|
8
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
9
9
|
import { s as sanitizeString } from './p-1a395a8d.js';
|
|
10
10
|
import { g as getColorByName } from './p-e19d1e27.js';
|
|
11
|
-
import { d as defineCustomElement$3 } from './p-
|
|
12
|
-
import { d as defineCustomElement$2 } from './p-
|
|
11
|
+
import { d as defineCustomElement$3 } from './p-24aae259.js';
|
|
12
|
+
import { d as defineCustomElement$2 } from './p-ef176315.js';
|
|
13
13
|
|
|
14
14
|
const duetHeadingLevels = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
15
15
|
const duetBlock = "div";
|
|
@@ -67,7 +67,7 @@ const DuetCard$1 = /*@__PURE__*/ proxyCustomElement(class DuetCard extends H {
|
|
|
67
67
|
this.hasFooter = !!this.element.querySelector("[slot='footer']");
|
|
68
68
|
}
|
|
69
69
|
componentDidLoad() {
|
|
70
|
-
nudge(
|
|
70
|
+
nudge();
|
|
71
71
|
}
|
|
72
72
|
renderHeading() {
|
|
73
73
|
const safeHeadingLevel = sanitizeString(this.headingLevel);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckbox$1, d as defineCustomElement$1 } from './p-925ad8ed.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckbox = DuetCheckbox$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { D as DuetCheckmark$1, d as defineCustomElement$1 } from './p-ce7a0836.js';
|
|
5
5
|
|
|
6
6
|
const DuetCheckmark = DuetCheckmark$1;
|
|
7
7
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
6
|
import { c as createID } from './p-45f71a69.js';
|
|
7
|
-
import { n as nudge } from './p-
|
|
8
|
-
import { d as defineCustomElement$2 } from './p-
|
|
7
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './p-24aae259.js';
|
|
9
9
|
|
|
10
10
|
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}.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(0, 41, 77) !important;text-align:center;cursor:pointer;background:rgb(255, 255, 255);border-color:rgb(144, 149, 153);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(23, 28, 58)}.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(101, 119, 135) !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(116, 116, 117) !important;background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.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, 245, 247);border-color:rgb(245, 245, 247)}.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:7px 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:600;color:rgb(0, 41, 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;transition:width 300ms ease, transform 300ms ease;transform:scaleX(1)}.duet-chip-container duet-icon.check-mark{width:0;overflow: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{background:rgb(230, 242, 248);border-color:rgb(230, 242, 248)}.duet-chip-container.duet-chip-filter-checked:hover,.duet-chip-container.duet-chip-radio-checked:hover{background:rgb(205, 229, 241);border-color:rgb(205, 229, 241)}.duet-chip-container.duet-chip-filter-checked button,.duet-chip-container.duet-chip-filter-checked label,.duet-chip-container.duet-chip-radio-checked button,.duet-chip-container.duet-chip-radio-checked 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;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;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, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-checked.duet-theme-turva:hover,.duet-chip-container.duet-chip-radio-checked.duet-theme-turva:hover{background:rgb(228, 228, 230);border-color:rgb(228, 228, 230)}.duet-chip-container div.duet-chip-popup-disclosure{padding-right:4.5px;padding-left:12.5px}.duet-chip-container div.duet-chip-popup-disclosure duet-icon{transition:transform 300ms ease}.duet-chip-container.duet-chip-filter-popup-open{background:rgb(243, 249, 252);border-color:rgb(243, 249, 252)}.duet-chip-container.duet-chip-filter-popup-open.duet-theme-turva{background:rgb(245, 245, 247);border-color:rgb(245, 245, 247)}.duet-chip-container.duet-chip-filter-popup-open .duet-chip-popup-disclosure duet-icon{transform:rotate(180deg)}.duet-chip-container.duet-chip-input{display:flex;align-items:center;padding-right:0 !important}.duet-chip-container.duet-chip-input .duet-chip-input-button{flex-grow:1}.duet-chip-container.duet-chip-input .duet-chip-remove-button{width:26px;padding:8px 16px 8px 0;margin:-8px 0}:host(.user-is-tabbing) .duet-chip-focus{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{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-chip-container input{position:absolute !important;top:0;left:0;z-index:-1;width:100%;height:100%;cursor:pointer;opacity:0}";
|
|
11
11
|
|
|
@@ -169,7 +169,7 @@ const DuetChip$1 = /*@__PURE__*/ proxyCustomElement(class DuetChip extends H {
|
|
|
169
169
|
this.popupSetUp();
|
|
170
170
|
}
|
|
171
171
|
componentDidLoad() {
|
|
172
|
-
nudge(
|
|
172
|
+
nudge();
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* Sets focus. Use this method instead of the global focus().
|
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
4
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-659bf49b.js';
|
|
5
5
|
import { i as inheritGlobalTheme } from './p-d48735b6.js';
|
|
6
|
-
import { n as nudge } from './p-
|
|
7
|
-
import {
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$2 } from './p-0b57c524.js';
|
|
6
|
+
import { n as nudge } from './p-432baa8a.js';
|
|
7
|
+
import { d as defineCustomElement$8 } from './p-a79c1568.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './p-d0cac9bf.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './p-24aae259.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './p-78b427e2.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-6c770205.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-8ac1057e.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-46ff61f9.js';
|
|
15
14
|
|
|
16
15
|
const duetChoiceGroupCss = "*.sc-duet-choice-group,*.sc-duet-choice-group::after,*.sc-duet-choice-group::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-group-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:block;margin-bottom:-12px}.horizontal.sc-duet-choice-group-h .duet-choice-group.duet-no-stacking.sc-duet-choice-group{display:flex}@media (min-width: 48em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{margin-bottom:0}}@media (max-width: 35.9375em){.horizontal.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group{display:flex}}.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}@media (max-width: 22.5em){.horizontal.duet-choice-group-breakpoint-x-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}}.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 36em){.horizontal.duet-choice-group-breakpoint-small.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 48em){.horizontal.duet-choice-group-breakpoint-medium.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 62em){.horizontal.duet-choice-group-breakpoint-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:block}@media (min-width: 64.0625em){.horizontal.duet-choice-group-breakpoint-x-large.sc-duet-choice-group-h .duet-choice-group.sc-duet-choice-group:not(.duet-no-stacking){display:flex}}.duet-choice-group.sc-duet-choice-group{position:relative;width:100%;margin-bottom:-12px}";
|
|
17
16
|
|
|
18
|
-
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
19
17
|
const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup extends H {
|
|
20
18
|
constructor() {
|
|
21
19
|
super();
|
|
22
20
|
this.__registerHost();
|
|
23
21
|
this.choiceGroupName = "duet-choice-group";
|
|
24
|
-
this.
|
|
25
|
-
return Array.from(this.element.querySelectorAll(duetChoiceSelector));
|
|
26
|
-
};
|
|
27
|
-
this.isMyChoice = (choice) => {
|
|
28
|
-
return this.getChoices().includes(choice);
|
|
29
|
-
};
|
|
22
|
+
this.choices = new Set();
|
|
30
23
|
/**
|
|
31
24
|
* Component event handling.
|
|
32
25
|
*/
|
|
@@ -35,12 +28,21 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
35
28
|
return;
|
|
36
29
|
}
|
|
37
30
|
const selectedChoice = ev.target;
|
|
38
|
-
if (selectedChoice && this.
|
|
31
|
+
if (selectedChoice && this.choices.has(selectedChoice)) {
|
|
39
32
|
this.value = selectedChoice.value;
|
|
40
33
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
};
|
|
35
|
+
this.onChoiceReady = (ev) => {
|
|
36
|
+
const choice = ev.target;
|
|
37
|
+
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
38
|
+
this.choices.add(choice);
|
|
39
|
+
this.updateChoices();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
this.onChoiceRemove = (ev) => {
|
|
43
|
+
const choice = ev.target;
|
|
44
|
+
this.choices.delete(choice);
|
|
45
|
+
this.updateChoices();
|
|
44
46
|
};
|
|
45
47
|
this.direction = "vertical";
|
|
46
48
|
this.margin = "auto";
|
|
@@ -61,28 +63,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
61
63
|
* Component lifecycle events.
|
|
62
64
|
*/
|
|
63
65
|
async connectedCallback() {
|
|
64
|
-
|
|
65
|
-
if (this.value === undefined) {
|
|
66
|
-
const choice = findCheckedOption(el, duetChoiceSelector);
|
|
67
|
-
if (choice !== undefined) {
|
|
68
|
-
await choice.componentOnReady();
|
|
69
|
-
if (this.value === undefined) {
|
|
70
|
-
this.value = choice.value;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
this.mutationO = watchForOptions(el, duetChoiceSelector, newOption => {
|
|
75
|
-
if (newOption !== undefined) {
|
|
76
|
-
newOption.componentOnReady().then(() => {
|
|
77
|
-
if (this.isMyChoice(newOption)) {
|
|
78
|
-
this.value = newOption.value;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
this.updateChoices();
|
|
84
|
-
}
|
|
85
|
-
});
|
|
66
|
+
this.initialValue = this.value;
|
|
86
67
|
this.updateChoices();
|
|
87
68
|
}
|
|
88
69
|
disconnectedCallback() {
|
|
@@ -95,21 +76,17 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
95
76
|
inheritGlobalTheme(this);
|
|
96
77
|
}
|
|
97
78
|
componentDidLoad() {
|
|
98
|
-
nudge(
|
|
79
|
+
nudge();
|
|
99
80
|
}
|
|
100
81
|
/**
|
|
101
82
|
* Local methods
|
|
102
83
|
*/
|
|
103
84
|
async updateChoices() {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
* to caching the choice group value
|
|
107
|
-
*/
|
|
108
|
-
const choices = this.getChoices();
|
|
109
|
-
const { value } = this;
|
|
85
|
+
var _a;
|
|
86
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
110
87
|
let hasChecked = false;
|
|
111
88
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
112
|
-
for (const choice of choices) {
|
|
89
|
+
for (const choice of this.choices) {
|
|
113
90
|
choice.name = this.name;
|
|
114
91
|
choice.groupDisabled = this.disabled;
|
|
115
92
|
choice.groupDirection = this.direction;
|
|
@@ -119,6 +96,9 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
119
96
|
// and we haven't found a checked yet
|
|
120
97
|
hasChecked = true;
|
|
121
98
|
choice.checked = true;
|
|
99
|
+
if (typeof this.value === "undefined") {
|
|
100
|
+
this.value = value;
|
|
101
|
+
}
|
|
122
102
|
}
|
|
123
103
|
else {
|
|
124
104
|
// This choice doesn't have the correct value or the choice group has been already checked
|
|
@@ -135,7 +115,7 @@ const DuetChoiceGroup$1 = /*@__PURE__*/ proxyCustomElement(class DuetChoiceGroup
|
|
|
135
115
|
* Always the last one in the class.
|
|
136
116
|
*/
|
|
137
117
|
render() {
|
|
138
|
-
return (h(Host, { onDuetChange: this.onSelect, class: {
|
|
118
|
+
return (h(Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
139
119
|
horizontal: this.direction === "horizontal",
|
|
140
120
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
141
121
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|