@duetds/components 7.1.3 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +135 -229
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -5
- package/lib/cjs/duet-alert.cjs.entry.js +2 -5
- package/lib/cjs/duet-badge.cjs.entry.js +1 -5
- package/lib/cjs/duet-banner.cjs.entry.js +1 -5
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -5
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-callout.cjs.entry.js +1 -5
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -14
- package/lib/cjs/duet-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -5
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -5
- package/lib/cjs/duet-choice_2.cjs.entry.js +35 -53
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -5
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -5
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +1 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -5
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -5
- package/lib/cjs/duet-footer.cjs.entry.js +1 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-hero.cjs.entry.js +1 -5
- package/lib/cjs/duet-icon.cjs.entry.js +1 -5
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -6
- 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 +1 -5
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -3
- package/lib/cjs/duet-modal.cjs.entry.js +2 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -5
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -8
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -5
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -5
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -4
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -5
- package/lib/cjs/duet-popup-menu.cjs.entry.js +1 -1
- package/lib/cjs/duet-progress.cjs.entry.js +1 -5
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -5
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -5
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -5
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -7
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -5
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -6
- package/lib/cjs/duet-slideout.cjs.entry.js +49 -19
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -8
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +1 -5
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -5
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -5
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +2 -9
- package/lib/cjs/duet-tooltip.cjs.entry.js +1 -3
- package/lib/cjs/duet-tray.cjs.entry.js +1 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -8
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -5
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-cdefdf2d.js → focus-utils-66656094.js} +1 -1
- package/lib/cjs/{index-c113e2bb.js → index-780310fa.js} +2 -9
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +0 -4
- package/lib/collection/components/duet-alert/duet-alert.js +1 -4
- package/lib/collection/components/duet-badge/duet-badge.js +0 -4
- package/lib/collection/components/duet-banner/duet-banner.js +0 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +0 -4
- package/lib/collection/components/duet-button/duet-button.js +0 -4
- package/lib/collection/components/duet-callout/duet-callout.js +0 -4
- package/lib/collection/components/duet-caption/duet-caption.js +0 -4
- package/lib/collection/components/duet-card/duet-card.js +0 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +0 -4
- package/lib/collection/components/duet-chip/duet-chip.js +0 -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 +49 -5
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +21 -46
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +0 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +0 -4
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +0 -4
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +0 -4
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +0 -4
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +0 -4
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +0 -4
- package/lib/collection/components/duet-footer/duet-footer.js +0 -4
- package/lib/collection/components/duet-header/duet-header.js +0 -4
- package/lib/collection/components/duet-heading/duet-heading.js +0 -4
- package/lib/collection/components/duet-hero/duet-hero.js +0 -4
- package/lib/collection/components/duet-icon/duet-icon.js +0 -4
- package/lib/collection/components/duet-input/duet-input.js +0 -2
- package/lib/collection/components/duet-label/duet-label.js +0 -4
- package/lib/collection/components/duet-link/duet-link.js +0 -4
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +0 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +0 -4
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +0 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +0 -4
- package/lib/collection/components/duet-modal/duet-modal.js +0 -2
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +0 -4
- package/lib/collection/components/duet-notification/duet-notification.js +0 -4
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +0 -4
- package/lib/collection/components/duet-number-input/duet-number-input.js +0 -4
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +0 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +0 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +0 -4
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +0 -4
- package/lib/collection/components/duet-progress/duet-progress.js +0 -4
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +0 -4
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +0 -4
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +0 -4
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +0 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +0 -2
- package/lib/collection/components/duet-select/duet-select.js +0 -4
- package/lib/collection/components/duet-show-more/duet-show-more.js +0 -4
- package/lib/collection/components/duet-slideout/duet-slideout.js +102 -23
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +0 -4
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +0 -4
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +0 -4
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +0 -4
- package/lib/collection/components/duet-step/duet-step.js +0 -4
- package/lib/collection/components/duet-stepper/duet-stepper.js +0 -4
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +0 -4
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +0 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +0 -4
- package/lib/collection/components/duet-tab/duet-tab.js +0 -4
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +0 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +0 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +0 -4
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +0 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +0 -4
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +0 -4
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +0 -2
- package/lib/collection/components/duet-tray/duet-tray.js +0 -4
- package/lib/collection/components/duet-upload/duet-upload.js +0 -4
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +0 -7
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +0 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +0 -4
- 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 +4 -8
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -6
- 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 +3 -7
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -7
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +2 -6
- package/lib/dist-custom-elements/duet-choice-group.js +29 -54
- package/lib/dist-custom-elements/duet-choice.js +17 -11
- package/lib/dist-custom-elements/duet-collapsible.js +2 -6
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -12
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -10
- package/lib/dist-custom-elements/duet-date-picker.js +12 -16
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -11
- 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 +4 -8
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -12
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -13
- 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 +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -6
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -4
- package/lib/dist-custom-elements/duet-modal.js +7 -9
- package/lib/dist-custom-elements/duet-multiselect.js +10 -14
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -8
- package/lib/dist-custom-elements/duet-notification.js +2 -6
- package/lib/dist-custom-elements/duet-number-input.js +11 -15
- package/lib/dist-custom-elements/duet-page-heading.js +2 -6
- package/lib/dist-custom-elements/duet-pagination.js +13 -15
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -6
- 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 +3 -7
- package/lib/dist-custom-elements/duet-radio-group.js +8 -12
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -6
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -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 +5 -9
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -6
- package/lib/dist-custom-elements/duet-slideout.js +52 -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 +4 -8
- package/lib/dist-custom-elements/duet-stepper.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -6
- package/lib/dist-custom-elements/duet-submenu-bar.js +2 -6
- package/lib/dist-custom-elements/duet-tab-group.js +13 -15
- package/lib/dist-custom-elements/duet-tab.js +1 -5
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -14
- package/lib/dist-custom-elements/duet-toggle.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -6
- 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 +3 -7
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +18 -22
- 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-85d03f96.js → p-0e5f0ede.js} +5 -7
- package/lib/dist-custom-elements/{p-f2f1b5a7.js → p-1b3c4813.js} +1 -1
- package/lib/dist-custom-elements/{p-48e9e036.js → p-231bc5cf.js} +1 -1
- package/lib/dist-custom-elements/{p-b3d7a5f1.js → p-234dc8f4.js} +5 -7
- package/lib/dist-custom-elements/{p-5219d0c0.js → p-27b6b841.js} +10 -14
- package/lib/dist-custom-elements/{p-399efbd2.js → p-3d3afaae.js} +2 -6
- package/lib/dist-custom-elements/{p-4e6ddeed.js → p-3f89073c.js} +2 -9
- package/lib/dist-custom-elements/{p-cdfcec05.js → p-412f4846.js} +1 -1
- package/lib/dist-custom-elements/{p-1c5edaed.js → p-4d08c451.js} +2 -6
- package/lib/dist-custom-elements/{p-851603d1.js → p-51734de9.js} +2 -2
- package/lib/dist-custom-elements/{p-186cbc8e.js → p-56b461b4.js} +1 -1
- package/lib/dist-custom-elements/{p-2eb3a0a6.js → p-62698106.js} +6 -9
- package/lib/dist-custom-elements/{p-da336880.js → p-63964ed8.js} +1 -1
- package/lib/dist-custom-elements/{p-05d1dc5a.js → p-63cffcb6.js} +1 -1
- package/lib/dist-custom-elements/{p-0e524bb9.js → p-6ff46c61.js} +3 -7
- package/lib/dist-custom-elements/{p-74379770.js → p-75cec87c.js} +1 -5
- package/lib/dist-custom-elements/{p-7a0d0ba1.js → p-790b4d17.js} +1 -1
- package/lib/dist-custom-elements/{p-e835e6e8.js → p-8011ee9c.js} +1 -5
- package/lib/dist-custom-elements/{p-7b2b8c0f.js → p-84b16bb8.js} +3 -7
- package/lib/dist-custom-elements/{p-896598da.js → p-8ef3a8fb.js} +1 -1
- package/lib/dist-custom-elements/{p-4921b11d.js → p-90e44a58.js} +4 -8
- package/lib/dist-custom-elements/{p-612c5258.js → p-9cea78e2.js} +1 -1
- package/lib/dist-custom-elements/{p-266a745d.js → p-a83c5173.js} +10 -12
- package/lib/dist-custom-elements/{p-2adcd550.js → p-af5b70e1.js} +1 -1
- package/lib/dist-custom-elements/{p-e436057c.js → p-bcbac220.js} +1 -5
- package/lib/dist-custom-elements/{p-4a8b7174.js → p-c1dbca09.js} +1 -5
- package/lib/dist-custom-elements/{p-7d00dae6.js → p-c524c1ec.js} +2 -6
- package/lib/dist-custom-elements/{p-51067c1c.js → p-c7ea14ec.js} +2 -6
- package/lib/dist-custom-elements/{p-9e8ed1f4.js → p-ccc0525b.js} +1 -5
- package/lib/dist-custom-elements/{p-77ec763f.js → p-d07915a3.js} +3 -7
- package/lib/dist-custom-elements/{p-08fb93f2.js → p-df3b4525.js} +1 -5
- package/lib/dist-custom-elements/{p-05927f57.js → p-e28c315a.js} +1 -5
- package/lib/dist-custom-elements/{p-a3cc656c.js → p-fc4ebd31.js} +8 -12
- package/lib/dist-custom-elements/{p-73378f6e.js → p-fd70481d.js} +1 -5
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-0006b5d9.entry.js +4 -0
- package/lib/duet/p-01c4e0d2.system.entry.js +4 -0
- package/lib/duet/p-0425a615.system.entry.js +4 -0
- package/lib/duet/p-04bfa236.system.entry.js +4 -0
- package/lib/duet/{p-21a15388.system.entry.js → p-060eb471.system.entry.js} +1 -1
- package/lib/duet/p-09dd7425.system.entry.js +4 -0
- package/lib/duet/{p-e4188875.entry.js → p-0d20f3d9.entry.js} +1 -1
- package/lib/duet/p-0e9e970f.system.entry.js +4 -0
- package/lib/duet/p-1401e524.entry.js +4 -0
- package/lib/duet/p-15d8afcf.system.entry.js +4 -0
- package/lib/duet/p-162561e0.system.entry.js +4 -0
- package/lib/duet/p-1890ca14.entry.js +4 -0
- package/lib/duet/p-1c2973e8.system.entry.js +4 -0
- package/lib/duet/{p-e544c1cf.entry.js → p-22314e6f.entry.js} +1 -1
- package/lib/duet/p-22b174e8.system.entry.js +4 -0
- package/lib/duet/p-23521d15.system.entry.js +4 -0
- package/lib/duet/{p-a60fe92f.entry.js → p-24428e35.entry.js} +1 -1
- package/lib/duet/{p-f2f333b9.system.entry.js → p-26fb144f.system.entry.js} +1 -1
- package/lib/duet/{p-2cb7d804.system.entry.js → p-285a8d84.system.entry.js} +1 -1
- package/lib/duet/p-2a23687b.system.entry.js +4 -0
- package/lib/duet/p-2a516c43.entry.js +4 -0
- package/lib/duet/p-2a53dac8.system.entry.js +4 -0
- package/lib/duet/{p-81b33aa2.system.entry.js → p-2a9df44f.system.entry.js} +1 -1
- package/lib/duet/{p-d6cff7d0.entry.js → p-2fa09b22.entry.js} +1 -1
- package/lib/duet/p-2fb4b111.entry.js +4 -0
- package/lib/duet/p-30edd295.entry.js +4 -0
- package/lib/duet/p-31ec5b52.entry.js +4 -0
- package/lib/duet/p-3211edb9.entry.js +4 -0
- package/lib/duet/{p-326cfdbf.entry.js → p-322093c6.entry.js} +1 -1
- package/lib/duet/p-33553884.entry.js +4 -0
- package/lib/duet/p-33cc5b2c.entry.js +4 -0
- package/lib/duet/p-350046fd.entry.js +4 -0
- package/lib/duet/p-35f81ca4.system.js +4 -0
- package/lib/duet/p-3693a90c.entry.js +4 -0
- package/lib/duet/p-373cf5f3.system.entry.js +4 -0
- package/lib/duet/p-39137beb.system.entry.js +4 -0
- package/lib/duet/p-3a8cad7a.system.entry.js +4 -0
- package/lib/duet/p-3dda03c8.entry.js +4 -0
- package/lib/duet/p-4192854d.entry.js +4 -0
- package/lib/duet/p-420e65a0.entry.js +4 -0
- package/lib/duet/p-4304a53a.entry.js +4 -0
- package/lib/duet/{p-b7b793e8.system.entry.js → p-47f0b173.system.entry.js} +1 -1
- package/lib/duet/p-485afe87.system.entry.js +4 -0
- package/lib/duet/p-48f614e6.entry.js +4 -0
- package/lib/duet/{p-71084e11.js → p-492a0843.js} +2 -2
- package/lib/duet/{p-0a978191.system.entry.js → p-4a8b9bdf.system.entry.js} +1 -1
- package/lib/duet/p-4ab967fd.system.entry.js +4 -0
- package/lib/duet/{p-3fd63941.system.entry.js → p-4e1d0e08.system.entry.js} +1 -1
- package/lib/duet/p-519f358f.entry.js +4 -0
- package/lib/duet/p-529dba15.entry.js +4 -0
- package/lib/duet/p-534d9d99.system.entry.js +4 -0
- package/lib/duet/p-55282c06.system.entry.js +4 -0
- package/lib/duet/p-55e6fe9c.system.entry.js +4 -0
- package/lib/duet/p-5601c1da.system.entry.js +4 -0
- package/lib/duet/p-5996094c.system.entry.js +4 -0
- package/lib/duet/p-59b7a0b4.system.entry.js +4 -0
- package/lib/duet/p-5a98ec00.system.entry.js +4 -0
- package/lib/duet/{p-25d9c496.system.entry.js → p-5e7523e0.system.entry.js} +1 -1
- package/lib/duet/p-6021aa8f.system.entry.js +4 -0
- package/lib/duet/p-603e4997.entry.js +4 -0
- package/lib/duet/p-6067c883.system.entry.js +4 -0
- package/lib/duet/{p-bf286e4e.system.entry.js → p-60fe7ed5.system.entry.js} +1 -1
- package/lib/duet/{p-bf7f3d46.entry.js → p-617c0967.entry.js} +1 -1
- package/lib/duet/p-6293ca6a.system.entry.js +4 -0
- package/lib/duet/p-63529b85.system.js +4 -0
- package/lib/duet/p-6363c2ae.system.entry.js +4 -0
- package/lib/duet/p-69872085.system.entry.js +4 -0
- package/lib/duet/p-6c06e5b0.entry.js +4 -0
- package/lib/duet/{p-e3cc006d.system.entry.js → p-6e768325.system.entry.js} +1 -1
- package/lib/duet/p-70b70b24.system.entry.js +4 -0
- package/lib/duet/p-7203d6cb.entry.js +4 -0
- package/lib/duet/p-73da97b9.entry.js +4 -0
- package/lib/duet/p-75be7414.system.entry.js +4 -0
- package/lib/duet/p-7cddf7fa.entry.js +4 -0
- package/lib/duet/p-7cf19325.entry.js +4 -0
- package/lib/duet/p-7d4d0926.entry.js +4 -0
- package/lib/duet/{p-302b75ec.entry.js → p-7fe5178e.entry.js} +1 -1
- package/lib/duet/p-80c3e3a1.entry.js +4 -0
- package/lib/duet/{p-538d0276.entry.js → p-831ca78f.entry.js} +1 -1
- package/lib/duet/p-84f90698.entry.js +4 -0
- package/lib/duet/p-85a502fd.system.entry.js +4 -0
- package/lib/duet/p-86b2e848.entry.js +4 -0
- package/lib/duet/p-872cccb9.system.entry.js +4 -0
- package/lib/duet/p-88230b5a.entry.js +4 -0
- package/lib/duet/p-8a13b5d6.entry.js +4 -0
- package/lib/duet/p-8a547ca4.entry.js +4 -0
- package/lib/duet/{p-bc4c2a48.entry.js → p-8b2ffad1.entry.js} +1 -1
- package/lib/duet/p-8d5dc152.entry.js +4 -0
- package/lib/duet/p-8e377844.system.entry.js +4 -0
- package/lib/duet/p-8fac4d6c.entry.js +4 -0
- package/lib/duet/p-902df276.entry.js +4 -0
- package/lib/duet/p-94a20b1a.system.entry.js +4 -0
- package/lib/duet/p-96d97ff0.system.entry.js +4 -0
- package/lib/duet/p-98e5fa0d.system.entry.js +4 -0
- package/lib/duet/p-9b09f1b5.system.entry.js +4 -0
- package/lib/duet/p-9b38ad5b.entry.js +4 -0
- package/lib/duet/p-9b3ba990.system.entry.js +4 -0
- package/lib/duet/{p-0dab0217.entry.js → p-9c8c1646.entry.js} +1 -1
- package/lib/duet/p-9cb61776.entry.js +4 -0
- package/lib/duet/p-9cd21d82.entry.js +4 -0
- package/lib/duet/p-9ce0052c.js +4 -0
- package/lib/duet/{p-843f140e.entry.js → p-9eb36ef5.entry.js} +1 -1
- package/lib/duet/p-9f85c0bf.system.entry.js +4 -0
- package/lib/duet/p-9fc50bee.entry.js +4 -0
- package/lib/duet/p-a06f5f46.entry.js +4 -0
- package/lib/duet/p-a0877282.entry.js +4 -0
- package/lib/duet/{p-92d7de4d.entry.js → p-a7805231.entry.js} +1 -1
- package/lib/duet/p-a91e4da0.entry.js +4 -0
- package/lib/duet/p-ad312a9c.entry.js +4 -0
- package/lib/duet/p-ae66d0e5.system.entry.js +4 -0
- package/lib/duet/p-b0b1e787.entry.js +4 -0
- package/lib/duet/p-b189b25a.entry.js +4 -0
- package/lib/duet/p-b2f8e521.entry.js +4 -0
- package/lib/duet/p-b8316660.system.entry.js +4 -0
- package/lib/duet/p-b889959f.system.entry.js +4 -0
- package/lib/duet/p-baa7d58a.system.entry.js +4 -0
- package/lib/duet/{p-800cf79d.system.entry.js → p-bb2af2fc.system.entry.js} +1 -1
- package/lib/duet/p-bc09f943.system.entry.js +4 -0
- package/lib/duet/p-bdc404b2.entry.js +4 -0
- package/lib/duet/{p-c04f1ef9.entry.js → p-c0203a7d.entry.js} +1 -1
- package/lib/duet/p-c04ac986.system.entry.js +4 -0
- package/lib/duet/p-c097b169.system.entry.js +4 -0
- package/lib/duet/p-c13939be.system.entry.js +4 -0
- package/lib/duet/p-c4c9407e.system.entry.js +4 -0
- package/lib/duet/p-c4fed7fe.system.entry.js +4 -0
- package/lib/duet/p-c957baf0.entry.js +4 -0
- package/lib/duet/p-cc150a23.entry.js +4 -0
- package/lib/duet/p-cc24ad5f.entry.js +4 -0
- package/lib/duet/p-cca3beb8.entry.js +4 -0
- package/lib/duet/p-cd04c25a.system.entry.js +4 -0
- package/lib/duet/p-cf02575f.entry.js +4 -0
- package/lib/duet/p-cfe7c37d.system.entry.js +4 -0
- package/lib/duet/p-d07d1962.entry.js +4 -0
- package/lib/duet/p-d3fbfb45.system.entry.js +4 -0
- package/lib/duet/p-d6ee5caf.system.entry.js +4 -0
- package/lib/duet/p-d753f503.entry.js +4 -0
- package/lib/duet/p-da637f8e.entry.js +4 -0
- package/lib/duet/p-dbaf4a89.system.entry.js +4 -0
- package/lib/duet/p-dc41c018.system.entry.js +4 -0
- package/lib/duet/p-dff82aea.entry.js +4 -0
- package/lib/duet/p-e00e4eb8.system.js +5 -0
- package/lib/duet/p-e0211391.entry.js +4 -0
- package/lib/duet/p-e10a1e54.system.entry.js +4 -0
- package/lib/duet/p-e1be2e2e.entry.js +4 -0
- package/lib/duet/p-e236d0ff.entry.js +4 -0
- package/lib/duet/p-e688c3c4.entry.js +4 -0
- package/lib/duet/p-e8576d91.system.entry.js +4 -0
- package/lib/duet/p-e897df9f.system.entry.js +4 -0
- package/lib/duet/p-eaad83ee.system.entry.js +4 -0
- package/lib/duet/p-ebe8a749.system.entry.js +4 -0
- package/lib/duet/p-ece4676f.entry.js +4 -0
- package/lib/duet/{p-a94020db.system.entry.js → p-f1e6e170.system.entry.js} +1 -1
- package/lib/duet/p-f28c33ac.system.entry.js +4 -0
- package/lib/duet/p-f824f485.entry.js +4 -0
- package/lib/duet/p-fb053036.system.entry.js +4 -0
- package/lib/duet/p-fb87c349.system.entry.js +4 -0
- package/lib/duet/p-fe5ad66e.entry.js +4 -0
- package/lib/esm/duet-action-button.entry.js +1 -5
- package/lib/esm/duet-alert.entry.js +2 -5
- package/lib/esm/duet-badge.entry.js +1 -5
- package/lib/esm/duet-banner.entry.js +1 -5
- package/lib/esm/duet-breadcrumb.entry.js +1 -5
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +1 -5
- package/lib/esm/duet-callout.entry.js +1 -5
- package/lib/esm/duet-caption_4.entry.js +1 -14
- package/lib/esm/duet-card.entry.js +1 -5
- package/lib/esm/duet-checkbox.entry.js +1 -5
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -5
- package/lib/esm/duet-choice_2.entry.js +35 -53
- package/lib/esm/duet-collapsible.entry.js +1 -5
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -5
- package/lib/esm/duet-cookie-consent.entry.js +1 -5
- package/lib/esm/duet-date-picker.entry.js +2 -6
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +1 -8
- package/lib/esm/duet-empty-state.entry.js +1 -5
- package/lib/esm/duet-fieldset.entry.js +1 -5
- package/lib/esm/duet-footer.entry.js +1 -5
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -5
- package/lib/esm/duet-hero.entry.js +1 -5
- package/lib/esm/duet-icon.entry.js +1 -5
- package/lib/esm/duet-input_2.entry.js +1 -6
- 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 +1 -5
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -5
- package/lib/esm/duet-menu-bar-link.entry.js +1 -5
- package/lib/esm/duet-menu-bar.entry.js +1 -3
- package/lib/esm/duet-modal.entry.js +2 -4
- package/lib/esm/duet-multiselect.entry.js +1 -5
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -8
- package/lib/esm/duet-number-input.entry.js +1 -5
- package/lib/esm/duet-page-heading.entry.js +1 -5
- package/lib/esm/duet-pagination_2.entry.js +1 -4
- package/lib/esm/duet-popup-menu-item.entry.js +1 -5
- package/lib/esm/duet-popup-menu.entry.js +1 -1
- package/lib/esm/duet-progress.entry.js +1 -5
- package/lib/esm/duet-promo-card.entry.js +1 -5
- package/lib/esm/duet-radio_2.entry.js +1 -5
- package/lib/esm/duet-range-slider.entry.js +1 -5
- package/lib/esm/duet-scrollable_3.entry.js +1 -7
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -5
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -5
- package/lib/esm/duet-slideout-lang.entry.js +1 -5
- package/lib/esm/duet-slideout-link.entry.js +1 -5
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -5
- package/lib/esm/duet-slideout-panel.entry.js +2 -6
- package/lib/esm/duet-slideout.entry.js +49 -19
- package/lib/esm/duet-step_2.entry.js +1 -8
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -5
- package/lib/esm/duet-submenu-bar.entry.js +1 -5
- package/lib/esm/duet-textarea.entry.js +1 -5
- package/lib/esm/duet-toggle.entry.js +1 -5
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -5
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -5
- package/lib/esm/duet-toolbar-link.entry.js +1 -5
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +2 -9
- package/lib/esm/duet-tooltip.entry.js +1 -3
- package/lib/esm/duet-tray.entry.js +1 -5
- package/lib/esm/duet-upload-aria-status.entry.js +1 -8
- package/lib/esm/duet-upload-item.entry.js +1 -5
- package/lib/esm/duet-visually-hidden.entry.js +1 -5
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a2bc44e9.js → focus-utils-35cd2abd.js} +1 -1
- package/lib/esm/{index-755fb199.js → index-932c38d8.js} +2 -9
- package/lib/esm/loader.js +3 -3
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- 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 +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-a2bc44e9.js → focus-utils-35cd2abd.js} +1 -1
- package/lib/esm-es5/index-932c38d8.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +0 -1
- package/lib/types/components/duet-badge/duet-badge.d.ts +0 -1
- package/lib/types/components/duet-banner/duet-banner.d.ts +0 -1
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +0 -1
- package/lib/types/components/duet-button/duet-button.d.ts +0 -1
- package/lib/types/components/duet-callout/duet-callout.d.ts +0 -1
- package/lib/types/components/duet-caption/duet-caption.d.ts +0 -1
- package/lib/types/components/duet-card/duet-card.d.ts +0 -1
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +0 -1
- package/lib/types/components/duet-chip/duet-chip.d.ts +0 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +9 -1
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +4 -3
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +0 -1
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +0 -1
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +0 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +0 -1
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +0 -1
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +0 -1
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +0 -1
- package/lib/types/components/duet-footer/duet-footer.d.ts +0 -1
- package/lib/types/components/duet-header/duet-header.d.ts +0 -1
- package/lib/types/components/duet-heading/duet-heading.d.ts +0 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +0 -1
- package/lib/types/components/duet-icon/duet-icon.d.ts +0 -1
- package/lib/types/components/duet-label/duet-label.d.ts +0 -1
- package/lib/types/components/duet-link/duet-link.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +0 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +0 -1
- package/lib/types/components/duet-notification/duet-notification.d.ts +0 -1
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +0 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +0 -1
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +0 -1
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +0 -1
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +0 -1
- package/lib/types/components/duet-progress/duet-progress.d.ts +0 -1
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +0 -1
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +0 -1
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +0 -1
- package/lib/types/components/duet-select/duet-select.d.ts +0 -1
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +0 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +16 -0
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +0 -1
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +0 -1
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +0 -1
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +0 -1
- package/lib/types/components/duet-step/duet-step.d.ts +0 -1
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +0 -1
- package/lib/types/components/duet-tab/duet-tab.d.ts +0 -1
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +0 -1
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +0 -1
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +0 -1
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +0 -1
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +0 -1
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +0 -1
- package/lib/types/components/duet-tray/duet-tray.d.ts +0 -1
- package/lib/types/components/duet-upload/duet-upload.d.ts +0 -1
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +0 -4
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +0 -1
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +0 -1
- package/lib/types/components.d.ts +26 -0
- package/package.json +5 -5
- package/lib/cjs/nudge-ee03ce2e.js +0 -18
- package/lib/collection/utils/nudge.js +0 -18
- package/lib/dist-custom-elements/p-040f8831.js +0 -16
- package/lib/duet/p-0173b1db.system.entry.js +0 -4
- package/lib/duet/p-03e5d91b.system.entry.js +0 -4
- package/lib/duet/p-040f8831.js +0 -4
- package/lib/duet/p-044464f3.system.entry.js +0 -4
- package/lib/duet/p-08b472ed.system.js +0 -4
- package/lib/duet/p-0a54e093.system.entry.js +0 -4
- package/lib/duet/p-0e0a1105.system.entry.js +0 -4
- package/lib/duet/p-0f56cb07.system.entry.js +0 -4
- package/lib/duet/p-12dbf60e.entry.js +0 -4
- package/lib/duet/p-1837a1d1.entry.js +0 -4
- package/lib/duet/p-1a73c53b.entry.js +0 -4
- package/lib/duet/p-1bd82ee4.system.entry.js +0 -4
- package/lib/duet/p-1c293f30.system.entry.js +0 -4
- package/lib/duet/p-212aa853.entry.js +0 -4
- package/lib/duet/p-21332da6.entry.js +0 -4
- package/lib/duet/p-229b9fb7.entry.js +0 -4
- package/lib/duet/p-236f39e6.entry.js +0 -4
- package/lib/duet/p-2431baa9.entry.js +0 -4
- package/lib/duet/p-268daeba.entry.js +0 -4
- package/lib/duet/p-2690079d.system.entry.js +0 -4
- package/lib/duet/p-271dc3df.system.entry.js +0 -4
- package/lib/duet/p-276b3c6e.entry.js +0 -4
- package/lib/duet/p-28bf2707.entry.js +0 -4
- package/lib/duet/p-28c2ed7a.entry.js +0 -4
- package/lib/duet/p-291093f3.system.entry.js +0 -4
- package/lib/duet/p-29ee2456.system.entry.js +0 -4
- package/lib/duet/p-2c7ab65b.system.entry.js +0 -4
- package/lib/duet/p-2f74551a.entry.js +0 -4
- package/lib/duet/p-2ff57c5e.entry.js +0 -4
- package/lib/duet/p-31526713.entry.js +0 -4
- package/lib/duet/p-352235b9.system.entry.js +0 -4
- package/lib/duet/p-3714093b.system.entry.js +0 -4
- package/lib/duet/p-38e3ee11.system.entry.js +0 -4
- package/lib/duet/p-413bdf00.entry.js +0 -4
- package/lib/duet/p-4560aa78.system.entry.js +0 -4
- package/lib/duet/p-4780158b.system.entry.js +0 -4
- package/lib/duet/p-47dd74d6.system.entry.js +0 -4
- package/lib/duet/p-48ca6f43.system.entry.js +0 -4
- package/lib/duet/p-4aaecd69.system.entry.js +0 -4
- package/lib/duet/p-4b1e9cd7.entry.js +0 -4
- package/lib/duet/p-4d2a6eaa.entry.js +0 -4
- package/lib/duet/p-4da04479.system.entry.js +0 -4
- package/lib/duet/p-4dbb28cd.system.entry.js +0 -4
- package/lib/duet/p-4eeb0034.system.entry.js +0 -4
- package/lib/duet/p-5034e406.system.entry.js +0 -4
- package/lib/duet/p-53397ad0.system.entry.js +0 -4
- package/lib/duet/p-54a3fc93.system.entry.js +0 -4
- package/lib/duet/p-55fc322c.entry.js +0 -4
- package/lib/duet/p-58b34b88.entry.js +0 -4
- package/lib/duet/p-59b05375.entry.js +0 -4
- package/lib/duet/p-66609411.system.entry.js +0 -4
- package/lib/duet/p-67c6ed8d.entry.js +0 -4
- package/lib/duet/p-6e8d932c.system.entry.js +0 -4
- package/lib/duet/p-712d71ac.system.entry.js +0 -4
- package/lib/duet/p-719ce9bb.entry.js +0 -4
- package/lib/duet/p-72441f44.system.entry.js +0 -4
- package/lib/duet/p-72dd3aaf.entry.js +0 -4
- package/lib/duet/p-7301b658.system.entry.js +0 -4
- package/lib/duet/p-744bbd20.system.js +0 -4
- package/lib/duet/p-784a7e09.entry.js +0 -4
- package/lib/duet/p-7a649b03.system.entry.js +0 -4
- package/lib/duet/p-7dfb5873.entry.js +0 -4
- package/lib/duet/p-7f821bb9.entry.js +0 -4
- package/lib/duet/p-81670fdc.system.entry.js +0 -4
- package/lib/duet/p-83b6f665.entry.js +0 -4
- package/lib/duet/p-8666b6f2.entry.js +0 -4
- package/lib/duet/p-89fb88a2.entry.js +0 -4
- package/lib/duet/p-8a63793d.entry.js +0 -4
- package/lib/duet/p-8e24e881.entry.js +0 -4
- package/lib/duet/p-9022d39d.entry.js +0 -4
- package/lib/duet/p-932f2f90.system.entry.js +0 -4
- package/lib/duet/p-93f44760.entry.js +0 -4
- package/lib/duet/p-94994761.entry.js +0 -4
- package/lib/duet/p-96ab4ddb.entry.js +0 -4
- package/lib/duet/p-9b7cbcb6.system.entry.js +0 -4
- package/lib/duet/p-9ceaa6b2.system.entry.js +0 -4
- package/lib/duet/p-9e1700b8.entry.js +0 -4
- package/lib/duet/p-9e992b21.system.entry.js +0 -4
- package/lib/duet/p-9f3b42d3.system.entry.js +0 -4
- package/lib/duet/p-a22a0017.entry.js +0 -4
- package/lib/duet/p-a2c2160f.entry.js +0 -4
- package/lib/duet/p-a3c3240a.system.entry.js +0 -4
- package/lib/duet/p-a6db5cb4.js +0 -4
- package/lib/duet/p-a95dc83f.system.entry.js +0 -4
- package/lib/duet/p-ab79e49a.system.entry.js +0 -4
- package/lib/duet/p-ac4688c8.entry.js +0 -4
- package/lib/duet/p-ac782d97.entry.js +0 -4
- package/lib/duet/p-b2e74c33.system.entry.js +0 -4
- package/lib/duet/p-b3f79bd8.entry.js +0 -4
- package/lib/duet/p-b839e79a.entry.js +0 -4
- package/lib/duet/p-ba297ed9.system.entry.js +0 -4
- package/lib/duet/p-bbc1c8ea.entry.js +0 -4
- package/lib/duet/p-c2356a52.entry.js +0 -4
- package/lib/duet/p-c2d6c479.system.entry.js +0 -4
- package/lib/duet/p-c343cf83.system.entry.js +0 -4
- package/lib/duet/p-c3b9d5ec.entry.js +0 -4
- package/lib/duet/p-c4fbe10f.entry.js +0 -4
- package/lib/duet/p-c503f559.entry.js +0 -4
- package/lib/duet/p-c7f975fc.system.entry.js +0 -4
- package/lib/duet/p-c8dc47b7.system.entry.js +0 -4
- package/lib/duet/p-c97109b5.system.js +0 -4
- package/lib/duet/p-cafbb204.system.entry.js +0 -4
- package/lib/duet/p-ccb3bf1b.system.entry.js +0 -4
- package/lib/duet/p-cd6530bc.entry.js +0 -4
- package/lib/duet/p-cdc76da1.system.entry.js +0 -4
- package/lib/duet/p-cea1672a.entry.js +0 -4
- package/lib/duet/p-cf023bd7.entry.js +0 -4
- package/lib/duet/p-cf6f2ae5.entry.js +0 -4
- package/lib/duet/p-d077942e.entry.js +0 -4
- package/lib/duet/p-d09cb9c8.entry.js +0 -4
- package/lib/duet/p-d124fbb9.system.entry.js +0 -4
- package/lib/duet/p-d2106b43.entry.js +0 -4
- package/lib/duet/p-d6165161.entry.js +0 -4
- package/lib/duet/p-d82d004f.system.entry.js +0 -4
- package/lib/duet/p-d838b19b.entry.js +0 -4
- package/lib/duet/p-d84a3d86.system.entry.js +0 -4
- package/lib/duet/p-d87a94a0.entry.js +0 -4
- package/lib/duet/p-d8ef94e6.entry.js +0 -4
- package/lib/duet/p-db2aaa8d.system.entry.js +0 -4
- package/lib/duet/p-dd149ee6.system.entry.js +0 -4
- package/lib/duet/p-df7e3964.system.entry.js +0 -4
- package/lib/duet/p-e40973b9.system.entry.js +0 -4
- package/lib/duet/p-e5d9d99e.entry.js +0 -4
- package/lib/duet/p-e672079a.system.entry.js +0 -4
- package/lib/duet/p-e6e8c381.system.entry.js +0 -4
- package/lib/duet/p-ed063bbd.system.js +0 -5
- package/lib/duet/p-ed082ad1.system.entry.js +0 -4
- package/lib/duet/p-ef0966d6.system.entry.js +0 -4
- package/lib/duet/p-efa0e8d1.system.entry.js +0 -4
- package/lib/duet/p-f58375e0.entry.js +0 -4
- package/lib/duet/p-f851e807.entry.js +0 -4
- package/lib/duet/p-fa861bef.entry.js +0 -4
- package/lib/duet/p-fed4d34a.system.entry.js +0 -4
- package/lib/esm/nudge-560904c3.js +0 -16
- package/lib/esm-es5/index-755fb199.js +0 -5
- package/lib/esm-es5/nudge-560904c3.js +0 -4
- package/lib/types/utils/nudge.d.ts +0 -7
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
11
|
const jsUtils = require('./js-utils-b20cfc79.js');
|
|
12
12
|
const keyboardUtils = require('./keyboard-utils-02441bc5.js');
|
|
13
13
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
14
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
15
14
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
16
15
|
require('./string-utils-51a2f59f.js');
|
|
17
16
|
require('./tokens.module-10f42b21.js');
|
|
@@ -95,9 +94,6 @@ const DuetActionButton = class {
|
|
|
95
94
|
componentWillLoad() {
|
|
96
95
|
themeableComponent.inheritGlobalTheme(this);
|
|
97
96
|
}
|
|
98
|
-
componentDidLoad() {
|
|
99
|
-
nudge.nudge(this);
|
|
100
|
-
}
|
|
101
97
|
connectedCallback() {
|
|
102
98
|
languageUtils.connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelsDefaults" });
|
|
103
99
|
}
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
11
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
12
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
13
12
|
require('./string-utils-51a2f59f.js');
|
|
14
13
|
|
|
15
14
|
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert{margin-bottom:16px !important;position:relative;width:100%;padding: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:1rem;font-weight:400;line-height:1.25;color:rgb(0, 41, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert.duet-p-0{padding:0 !important}.duet-alert.duet-m-0{margin:0 !important}.duet-alert.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert.warning.duet-theme-turva{background:#fffaf3;border-color:rgb(250, 164, 15)}.duet-alert.danger{background:#fdf4f7;border-color:rgb(222, 35, 98)}.duet-alert.danger.duet-theme-turva{background:#fdf4f3;border-color:rgb(224, 42, 13)}.duet-alert.success{background:#f2f9f7;border-color:rgb(0, 135, 90)}.duet-alert.success.duet-theme-turva{background:#f3f9f6;border-color:rgb(8, 135, 78)}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-is-dismissible .duet-alert-container{text-align:left}";
|
|
@@ -60,7 +59,6 @@ const DuetAlert = class {
|
|
|
60
59
|
if (this.autoDismiss) {
|
|
61
60
|
this.timeoutID = setTimeout(() => this.handleDismiss(), this.autoDismiss);
|
|
62
61
|
}
|
|
63
|
-
nudge.nudge(this);
|
|
64
62
|
}
|
|
65
63
|
connectedCallback() {
|
|
66
64
|
languageUtils.connectLanguageChangeObserver(this, { prop: "accessibleLabel", defaults: "accessibleLabelDefaults" });
|
|
@@ -103,11 +101,10 @@ const DuetAlert = class {
|
|
|
103
101
|
*/
|
|
104
102
|
render() {
|
|
105
103
|
const closeColor = this.theme === "turva" ? "secondary-turva" : "secondary";
|
|
106
|
-
const role = this.variation === "danger" || this.variation === "warning" ? "alert" : "status";
|
|
107
104
|
return (index.h(index.Host, { class: {
|
|
108
105
|
"duet-theme-turva": this.theme === "turva",
|
|
109
106
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
110
|
-
}, role: this.announcements ?
|
|
107
|
+
}, role: this.announcements ? "alert" : undefined }, index.h("div", { class: {
|
|
111
108
|
"duet-alert": true,
|
|
112
109
|
"duet-alert-has-icon": !!this.icon,
|
|
113
110
|
"duet-alert-is-dismissible": this.dismissible,
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
11
10
|
|
|
12
11
|
const duetBadgeCss = "*,*::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:inline-block;width:auto;vertical-align:middle}:host:last-child,:host:last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-badge{width:100%;padding:4.4444444444px 12px 5.4444444444px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.75rem;font-style:normal;font-weight:600;line-height:1.25;color:rgb(0, 41, 77);text-align:center;word-break:break-word;vertical-align:middle;background:#d9ebf4;border-radius:20rem}.duet-badge.duet-p-0{padding:0 !important}.duet-badge.duet-m-0{margin:0 !important}.duet-badge.duet-theme-turva{padding:5.4444444444px 12px 4.4444444444px;font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-weight:700;color:rgb(23, 28, 58);background:#e8e8eb}.duet-badge.warning{background:#fdecc9}.duet-badge.warning.duet-theme-turva{background:#fee8c3}.duet-badge.danger{background:#f8d3e0}.duet-badge.danger.duet-theme-turva{background:#f9d4cf}.duet-badge.success{background:#cce7de}.duet-badge.success.duet-theme-turva{background:#cee7dc}.duet-badge.subtle{color:rgb(101, 119, 135);background:none;outline:1px solid rgb(225, 227, 230);outline-offset:-1px}.duet-badge.subtle.duet-theme-turva{color:rgb(68, 68, 69);background:none;outline-color:rgb(228, 228, 230)}.duet-badge.background-strong.default{color:rgb(255, 255, 255);background:rgb(0, 119, 179)}.duet-badge.background-strong.default.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(23, 28, 58)}.duet-badge.background-strong.warning{background:#f9c153}.duet-badge.background-strong.warning.duet-theme-turva{background:#fbb63f}.duet-badge.background-strong.danger{color:rgb(255, 255, 255);background:rgb(222, 35, 98)}.duet-badge.background-strong.danger.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(224, 42, 13)}.duet-badge.background-strong.success{color:rgb(255, 255, 255);background:rgb(0, 135, 90)}.duet-badge.background-strong.success.duet-theme-turva{color:rgb(255, 255, 255);background:rgb(8, 135, 78)}.duet-badge.background-strong.subtle{border-color:rgb(207, 210, 212);outline-color:rgb(0, 41, 77)}.duet-badge.background-strong.subtle.duet-theme-turva{border-color:rgb(207, 207, 209);outline-color:rgb(23, 28, 58)}";
|
|
13
12
|
|
|
@@ -25,9 +24,6 @@ const DuetBadge = class {
|
|
|
25
24
|
componentWillLoad() {
|
|
26
25
|
themeableComponent.inheritGlobalTheme(this);
|
|
27
26
|
}
|
|
28
|
-
componentDidLoad() {
|
|
29
|
-
nudge.nudge(this);
|
|
30
|
-
}
|
|
31
27
|
/**
|
|
32
28
|
* render() function
|
|
33
29
|
* Always the last one of the class.
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
11
10
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
12
11
|
require('./tokens.module-10f42b21.js');
|
|
13
12
|
|
|
@@ -36,9 +35,6 @@ const DuetBanner = class {
|
|
|
36
35
|
this.hasDescriptionSlot = !!this.element.querySelector('[slot="description"]');
|
|
37
36
|
this.hasActionSlot = !!this.element.querySelector('[slot="action"]');
|
|
38
37
|
}
|
|
39
|
-
componentDidLoad() {
|
|
40
|
-
nudge.nudge(this);
|
|
41
|
-
}
|
|
42
38
|
/**
|
|
43
39
|
* render() function
|
|
44
40
|
* Always the last one of the class.
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
11
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
12
11
|
require('./string-utils-51a2f59f.js');
|
|
13
12
|
|
|
14
13
|
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>"};
|
|
@@ -35,9 +34,6 @@ const DuetBreadcrumb = class {
|
|
|
35
34
|
componentWillLoad() {
|
|
36
35
|
themeableComponent.inheritGlobalTheme(this);
|
|
37
36
|
}
|
|
38
|
-
componentDidLoad() {
|
|
39
|
-
nudge.nudge(this);
|
|
40
|
-
}
|
|
41
37
|
connectedCallback() {
|
|
42
38
|
languageUtils.connectLanguageChangeObserver(this);
|
|
43
39
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
11
11
|
require('./string-utils-51a2f59f.js');
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const commonStrings = require('./common-strings-17770d7a.js');
|
|
11
11
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
12
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
13
12
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
14
13
|
require('./string-utils-51a2f59f.js');
|
|
15
14
|
require('./tokens.module-10f42b21.js');
|
|
@@ -87,9 +86,6 @@ const DuetButton = class {
|
|
|
87
86
|
console.warn("[DUET]: Button used as an external link will override any icon that is set");
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
|
-
componentDidLoad() {
|
|
91
|
-
nudge.nudge(this);
|
|
92
|
-
}
|
|
93
89
|
connectedCallback() {
|
|
94
90
|
this.proxyButton = document.createElement("button");
|
|
95
91
|
this.proxyButton.style.display = "none";
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
11
10
|
|
|
12
11
|
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}";
|
|
13
12
|
|
|
@@ -25,9 +24,6 @@ const DuetCallout = class {
|
|
|
25
24
|
themeableComponent.inheritGlobalTheme(this);
|
|
26
25
|
this.hasAuthorSlot = !!this.element.querySelector('[slot="author"]');
|
|
27
26
|
}
|
|
28
|
-
componentDidLoad() {
|
|
29
|
-
nudge.nudge(this);
|
|
30
|
-
}
|
|
31
27
|
/**
|
|
32
28
|
* render() function
|
|
33
29
|
* Always the last one in the class.
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
11
10
|
const stringUtils = require('./string-utils-51a2f59f.js');
|
|
12
11
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
13
12
|
const actionArrowRight = require('./action-arrow-right-24fe06be.js');
|
|
@@ -32,9 +31,6 @@ const DuetCaption = class {
|
|
|
32
31
|
componentWillLoad() {
|
|
33
32
|
themeableComponent.inheritGlobalTheme(this);
|
|
34
33
|
}
|
|
35
|
-
componentDidLoad() {
|
|
36
|
-
nudge.nudge(this);
|
|
37
|
-
}
|
|
38
34
|
/**
|
|
39
35
|
* render() function
|
|
40
36
|
* Always the last one in the class.
|
|
@@ -72,9 +68,6 @@ const DuetHeading = class {
|
|
|
72
68
|
componentWillLoad() {
|
|
73
69
|
themeableComponent.inheritGlobalTheme(this);
|
|
74
70
|
}
|
|
75
|
-
componentDidLoad() {
|
|
76
|
-
nudge.nudge(this);
|
|
77
|
-
}
|
|
78
71
|
/**
|
|
79
72
|
* render() function
|
|
80
73
|
* Always the last one in the class.
|
|
@@ -126,9 +119,6 @@ const DuetLink = class {
|
|
|
126
119
|
themeableComponent.inheritGlobalTheme(this);
|
|
127
120
|
this.initMediaQuery();
|
|
128
121
|
}
|
|
129
|
-
componentDidLoad() {
|
|
130
|
-
nudge.nudge(this);
|
|
131
|
-
}
|
|
132
122
|
connectedCallback() {
|
|
133
123
|
languageUtils.connectLanguageChangeObserver(this, {
|
|
134
124
|
prop: "accessibleLabelExternal",
|
|
@@ -207,9 +197,6 @@ const DuetParagraph = class {
|
|
|
207
197
|
componentWillLoad() {
|
|
208
198
|
themeableComponent.inheritGlobalTheme(this);
|
|
209
199
|
}
|
|
210
|
-
componentDidLoad() {
|
|
211
|
-
nudge.nudge(this);
|
|
212
|
-
}
|
|
213
200
|
/**
|
|
214
201
|
* render() function
|
|
215
202
|
* Always the last one in the class.
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
11
|
const keyboardUtils = require('./keyboard-utils-02441bc5.js');
|
|
12
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
13
12
|
const stringUtils = require('./string-utils-51a2f59f.js');
|
|
14
13
|
const tokenUtils = require('./token-utils-dbfeff2e.js');
|
|
15
14
|
require('./tokens.module-10f42b21.js');
|
|
@@ -67,9 +66,6 @@ const DuetCard = class {
|
|
|
67
66
|
this.hasHeadingSlot = !!this.element.querySelector(":scope > [slot='heading']");
|
|
68
67
|
this.hasFooter = !!this.element.querySelector("[slot='footer']");
|
|
69
68
|
}
|
|
70
|
-
componentDidLoad() {
|
|
71
|
-
nudge.nudge(this);
|
|
72
|
-
}
|
|
73
69
|
renderHeading() {
|
|
74
70
|
const safeHeadingLevel = stringUtils.sanitizeString(this.headingLevel);
|
|
75
71
|
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
12
11
|
|
|
13
12
|
const duetCheckboxCss = "*.sc-duet-checkbox,*.sc-duet-checkbox::after,*.sc-duet-checkbox::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-checkbox-h{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;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-checkbox-h:last-child,.sc-duet-checkbox-h:last-of-type{margin-right:0 !important}.sc-duet-checkbox-h:last-child:not(:only-child){margin-bottom:0 !important}.duet-m-0.sc-duet-checkbox-h{margin:0 !important}.duet-label.sc-duet-checkbox{position:relative;z-index:100;display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.5;color:rgb(0, 41, 77);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva.sc-duet-checkbox .duet-label.sc-duet-checkbox{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label.sc-duet-checkbox span.sc-duet-checkbox{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container.sc-duet-checkbox{position:relative;width:100%;height:100%}.duet-checkbox.sc-duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(0, 41, 77);border-radius:4px}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(0, 41, 77);border:1px solid rgb(0, 41, 77)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-checkbox .duet-checkbox.sc-duet-checkbox:focus+label.sc-duet-checkbox::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox.sc-duet-checkbox+label.sc-duet-checkbox{position:static}.duet-checkbox.sc-duet-checkbox:checked+label.sc-duet-checkbox::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled].sc-duet-checkbox{cursor:default}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox{color:rgb(116, 116, 117)}.duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 210, 212)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox+label.sc-duet-checkbox::before{border-color:rgb(207, 207, 209)}.duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(101, 119, 135);border:1px solid rgb(101, 119, 135)}.duet-theme-turva.sc-duet-checkbox .duet-checkbox[disabled].sc-duet-checkbox:checked+label.sc-duet-checkbox::before{background:rgb(116, 116, 117);border-color:rgb(116, 116, 117)}.duet-label-hidden.sc-duet-checkbox .duet-label.sc-duet-checkbox span.sc-duet-checkbox{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
14
13
|
|
|
@@ -80,9 +79,6 @@ const DuetCheckbox = class {
|
|
|
80
79
|
this.value = this.identifier;
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
|
-
componentDidLoad() {
|
|
84
|
-
nudge.nudge(this);
|
|
85
|
-
}
|
|
86
82
|
/**
|
|
87
83
|
* Sets focus on the specified `duet-checkbox`. Use this method instead of the global
|
|
88
84
|
* `input.focus()`.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
|
|
11
11
|
const duetCheckmarkCss = ".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(116, 116, 117)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(207, 210, 212) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(207, 207, 209) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(207, 210, 212) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(207, 207, 209) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}";
|
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const createId = require('./create-id-167cd350.js');
|
|
11
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
12
11
|
|
|
13
12
|
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}";
|
|
14
13
|
|
|
@@ -169,9 +168,6 @@ const DuetChip = class {
|
|
|
169
168
|
themeableComponent.inheritGlobalTheme(this);
|
|
170
169
|
this.popupSetUp();
|
|
171
170
|
}
|
|
172
|
-
componentDidLoad() {
|
|
173
|
-
nudge.nudge(this);
|
|
174
|
-
}
|
|
175
171
|
/**
|
|
176
172
|
* Sets focus. Use this method instead of the global focus().
|
|
177
173
|
*/
|
|
@@ -5,25 +5,25 @@
|
|
|
5
5
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-780310fa.js');
|
|
9
9
|
const themeableComponent = require('./themeable-component-0be6d1f4.js');
|
|
10
10
|
const slotQuery = require('./slot-query-b7555763.js');
|
|
11
11
|
const commonStrings = require('./common-strings-17770d7a.js');
|
|
12
12
|
const createId = require('./create-id-167cd350.js');
|
|
13
|
-
const focusUtils = require('./focus-utils-
|
|
13
|
+
const focusUtils = require('./focus-utils-66656094.js');
|
|
14
14
|
const keyboardUtils = require('./keyboard-utils-02441bc5.js');
|
|
15
15
|
const languageUtils = require('./language-utils-dc19e8b6.js');
|
|
16
|
-
const nudge = require('./nudge-ee03ce2e.js');
|
|
17
|
-
const watchOptions = require('./watch-options-1773d69f.js');
|
|
18
16
|
require('./string-utils-51a2f59f.js');
|
|
19
17
|
|
|
20
18
|
var messagingInfo={"title":"messaging-info","tags":"messaging info information circle","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z\"/><circle cx=\"11.625\" cy=\"7.125\" r=\"1.125\"/><path d=\"M12 24C5.383 24 0 18.617 0 12S5.383 0 12 0s12 5.383 12 12-5.383 12-12 12zm0-22.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z\"/></svg>"};
|
|
21
19
|
|
|
22
|
-
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
20
|
+
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(0, 41, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:2px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:1rem;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:1rem;font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:2px solid rgb(225, 227, 230);border-radius:4px;transition:background-color 150ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(0, 119, 179) !important;background:rgb(243, 249, 252);border-color:rgb(0, 119, 179) !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{color:rgb(23, 28, 58) !important;background:rgb(245, 245, 247);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px);border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(101, 119, 135) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(101, 119, 135) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(116, 116, 117) !important;background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(116, 116, 117) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(225, 227, 230) !important;border-color:rgb(225, 227, 230) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{background:rgb(228, 228, 230) !important;border-color:rgb(228, 228, 230) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(144, 149, 153);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(116, 116, 117)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(207, 207, 209) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 210, 212) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(207, 207, 209) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(0, 41, 77);border:2px solid rgb(225, 227, 230);border-top:0;border-radius:0 0 4px 4px}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible.checked.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(225, 227, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247);border-color:rgb(228, 228, 230)}.duet-choice-card-info.sc-duet-choice .duet-choice-info-container.sc-duet-choice:focus{outline:none}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(116, 116, 117)}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:2px solid rgb(225, 227, 230);border-left:0 none;border-top-right-radius:4px;border-bottom-right-radius:4px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 245, 247)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(225, 227, 230) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(144, 149, 153) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 245, 247) !important;border-color:rgb(228, 228, 230) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(116, 116, 117) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(144, 149, 153)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(116, 116, 117)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
23
21
|
|
|
24
22
|
const DuetChoice = class {
|
|
25
23
|
constructor(hostRef) {
|
|
26
24
|
index.registerInstance(this, hostRef);
|
|
25
|
+
this.duetChoiceReady = index.createEvent(this, "duetChoiceReady", 7);
|
|
26
|
+
this.duetChoiceRemove = index.createEvent(this, "duetChoiceRemove", 7);
|
|
27
27
|
this.duetChange = index.createEvent(this, "duetChange", 7);
|
|
28
28
|
this.duetFocus = index.createEvent(this, "duetFocus", 7);
|
|
29
29
|
this.duetBlur = index.createEvent(this, "duetBlur", 7);
|
|
@@ -98,6 +98,12 @@ const DuetChoice = class {
|
|
|
98
98
|
};
|
|
99
99
|
this.toggleInfo = () => {
|
|
100
100
|
this.isInfoOpen = !this.isInfoOpen;
|
|
101
|
+
if (this.isInfoOpen) {
|
|
102
|
+
setTimeout(() => {
|
|
103
|
+
var _a;
|
|
104
|
+
(_a = this.infoContainer) === null || _a === void 0 ? void 0 : _a.focus();
|
|
105
|
+
});
|
|
106
|
+
}
|
|
101
107
|
};
|
|
102
108
|
this.isHovering = false;
|
|
103
109
|
this.isInfoOpen = false;
|
|
@@ -147,9 +153,7 @@ const DuetChoice = class {
|
|
|
147
153
|
this.hasAdditional = slotQuery.hasSlot(this.element, "additional");
|
|
148
154
|
this.hasLabel = slotQuery.hasSlot(this.element, "label");
|
|
149
155
|
this.hasBeforeText = slotQuery.hasSlot(this.element, "before-text");
|
|
150
|
-
|
|
151
|
-
componentDidLoad() {
|
|
152
|
-
nudge.nudge(this);
|
|
156
|
+
this.duetChoiceReady.emit();
|
|
153
157
|
}
|
|
154
158
|
connectedCallback() {
|
|
155
159
|
languageUtils.connectLanguageChangeObserver(this, [
|
|
@@ -159,6 +163,7 @@ const DuetChoice = class {
|
|
|
159
163
|
}
|
|
160
164
|
disconnectedCallback() {
|
|
161
165
|
languageUtils.disconnectLanguageChangeObserver(this);
|
|
166
|
+
this.duetChoiceRemove.emit();
|
|
162
167
|
}
|
|
163
168
|
/**
|
|
164
169
|
* Component event handling.
|
|
@@ -276,7 +281,7 @@ const DuetChoice = class {
|
|
|
276
281
|
}, 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" }, index.h("duet-visually-hidden", { "aria-hidden": !this.isBlurred ? "true" : "false" }, this.accessibleLabelInfoButton), index.h("div", { class: "duet-choice-info-icon" }, index.h("duet-icon", { icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible || this.hasInfo ? (index.h("div", { class: this.getClassNames(), id: this.expandId }, index.h("span", { class: {
|
|
277
282
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
278
283
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
279
|
-
} }, index.h("span", { id: this.headerId }, index.h("slot", { name: "header" })), this.hasInfo ? (index.h("span",
|
|
284
|
+
} }, index.h("span", { id: this.headerId }, index.h("slot", { name: "header" })), this.hasInfo ? (index.h("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container" }, index.h("span", { "aria-relevant": "all", "aria-atomic": "true", "aria-live": this.isInfoOpen ? "polite" : "off" }, index.h("slot", { name: "info" })), index.h("slot", null))) : (index.h("span", null, index.h("slot", null)))), this.isInfoOpen && index.h(focusUtils.FocusGuard, { moveFocusTo: this.infoButtonEl }))) : null));
|
|
280
285
|
}
|
|
281
286
|
get element() { return index.getElement(this); }
|
|
282
287
|
};
|
|
@@ -284,17 +289,11 @@ DuetChoice.style = duetChoiceCss;
|
|
|
284
289
|
|
|
285
290
|
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}";
|
|
286
291
|
|
|
287
|
-
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
288
292
|
const DuetChoiceGroup = class {
|
|
289
293
|
constructor(hostRef) {
|
|
290
294
|
index.registerInstance(this, hostRef);
|
|
291
295
|
this.choiceGroupName = "duet-choice-group";
|
|
292
|
-
this.
|
|
293
|
-
return Array.from(this.element.querySelectorAll(duetChoiceSelector));
|
|
294
|
-
};
|
|
295
|
-
this.isMyChoice = (choice) => {
|
|
296
|
-
return this.getChoices().includes(choice);
|
|
297
|
-
};
|
|
296
|
+
this.choices = new Set();
|
|
298
297
|
/**
|
|
299
298
|
* Component event handling.
|
|
300
299
|
*/
|
|
@@ -303,12 +302,21 @@ const DuetChoiceGroup = class {
|
|
|
303
302
|
return;
|
|
304
303
|
}
|
|
305
304
|
const selectedChoice = ev.target;
|
|
306
|
-
if (selectedChoice && this.
|
|
305
|
+
if (selectedChoice && this.choices.has(selectedChoice)) {
|
|
307
306
|
this.value = selectedChoice.value;
|
|
308
307
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
308
|
+
};
|
|
309
|
+
this.onChoiceReady = (ev) => {
|
|
310
|
+
const choice = ev.target;
|
|
311
|
+
if (choice.closest("duet-choice-group") === this.element && !this.choices.has(choice)) {
|
|
312
|
+
this.choices.add(choice);
|
|
313
|
+
this.updateChoices();
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
this.onChoiceRemove = (ev) => {
|
|
317
|
+
const choice = ev.target;
|
|
318
|
+
this.choices.delete(choice);
|
|
319
|
+
this.updateChoices();
|
|
312
320
|
};
|
|
313
321
|
this.direction = "vertical";
|
|
314
322
|
this.margin = "auto";
|
|
@@ -329,28 +337,7 @@ const DuetChoiceGroup = class {
|
|
|
329
337
|
* Component lifecycle events.
|
|
330
338
|
*/
|
|
331
339
|
async connectedCallback() {
|
|
332
|
-
|
|
333
|
-
if (this.value === undefined) {
|
|
334
|
-
const choice = watchOptions.findCheckedOption(el, duetChoiceSelector);
|
|
335
|
-
if (choice !== undefined) {
|
|
336
|
-
await choice.componentOnReady();
|
|
337
|
-
if (this.value === undefined) {
|
|
338
|
-
this.value = choice.value;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
this.mutationO = watchOptions.watchForOptions(el, duetChoiceSelector, newOption => {
|
|
343
|
-
if (newOption !== undefined) {
|
|
344
|
-
newOption.componentOnReady().then(() => {
|
|
345
|
-
if (this.isMyChoice(newOption)) {
|
|
346
|
-
this.value = newOption.value;
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
}
|
|
350
|
-
else {
|
|
351
|
-
this.updateChoices();
|
|
352
|
-
}
|
|
353
|
-
});
|
|
340
|
+
this.initialValue = this.value;
|
|
354
341
|
this.updateChoices();
|
|
355
342
|
}
|
|
356
343
|
disconnectedCallback() {
|
|
@@ -362,23 +349,15 @@ const DuetChoiceGroup = class {
|
|
|
362
349
|
componentWillLoad() {
|
|
363
350
|
themeableComponent.inheritGlobalTheme(this);
|
|
364
351
|
}
|
|
365
|
-
componentDidLoad() {
|
|
366
|
-
nudge.nudge(this);
|
|
367
|
-
}
|
|
368
352
|
/**
|
|
369
353
|
* Local methods
|
|
370
354
|
*/
|
|
371
355
|
async updateChoices() {
|
|
372
356
|
var _a;
|
|
373
|
-
|
|
374
|
-
* Make sure we get all choices first so values are up to date prior
|
|
375
|
-
* to caching the choice group value
|
|
376
|
-
*/
|
|
377
|
-
const choices = this.getChoices();
|
|
378
|
-
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.element.getAttribute("value");
|
|
357
|
+
const value = (_a = this.value) !== null && _a !== void 0 ? _a : this.initialValue;
|
|
379
358
|
let hasChecked = false;
|
|
380
359
|
// Walk the DOM in reverse order, since the last selected one wins
|
|
381
|
-
for (const choice of choices) {
|
|
360
|
+
for (const choice of this.choices) {
|
|
382
361
|
choice.name = this.name;
|
|
383
362
|
choice.groupDisabled = this.disabled;
|
|
384
363
|
choice.groupDirection = this.direction;
|
|
@@ -388,6 +367,9 @@ const DuetChoiceGroup = class {
|
|
|
388
367
|
// and we haven't found a checked yet
|
|
389
368
|
hasChecked = true;
|
|
390
369
|
choice.checked = true;
|
|
370
|
+
if (typeof this.value === "undefined") {
|
|
371
|
+
this.value = value;
|
|
372
|
+
}
|
|
391
373
|
}
|
|
392
374
|
else {
|
|
393
375
|
// This choice doesn't have the correct value or the choice group has been already checked
|
|
@@ -404,7 +386,7 @@ const DuetChoiceGroup = class {
|
|
|
404
386
|
* Always the last one in the class.
|
|
405
387
|
*/
|
|
406
388
|
render() {
|
|
407
|
-
return (index.h(index.Host, { onDuetChange: this.onSelect, class: {
|
|
389
|
+
return (index.h(index.Host, { onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
408
390
|
horizontal: this.direction === "horizontal",
|
|
409
391
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
410
392
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|