@duetds/components 7.0.13 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +275 -37
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -1
- package/lib/cjs/duet-alert.cjs.entry.js +4 -1
- package/lib/cjs/duet-badge.cjs.entry.js +6 -1
- package/lib/cjs/duet-banner.cjs.entry.js +5 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +5 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +5 -1
- package/lib/cjs/duet-callout.cjs.entry.js +5 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +16 -1
- package/lib/cjs/duet-card.cjs.entry.js +5 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +5 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +18 -14
- package/lib/cjs/duet-choice_2.cjs.entry.js +9 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +5 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +5 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +5 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +8 -1
- package/lib/cjs/duet-empty-state.cjs.entry.js +6 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -1
- package/lib/cjs/duet-footer.cjs.entry.js +5 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +5 -1
- package/lib/cjs/duet-hero.cjs.entry.js +6 -2
- package/lib/cjs/duet-icon.cjs.entry.js +5 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +7 -1
- 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 +5 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -1
- package/lib/cjs/duet-modal.cjs.entry.js +5 -3
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -1
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +8 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +5 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +5 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +4 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +5 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +5 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +5 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +5 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +5 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +14 -7
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +5 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +5 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +6 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +8 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +5 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +5 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +5 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +22 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -6
- package/lib/cjs/duet-tray.cjs.entry.js +5 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +9 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +6 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +6 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-a94e86a5.js → focus-utils-09463cf4.js} +1 -1
- package/lib/cjs/{index-04d05fd9.js → index-e43540c9.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/nudge-82021e4f.js +18 -0
- package/lib/cjs/{teleport-18e2b4b9.js → teleport-3166d264.js} +9 -12
- package/lib/collection/components/duet-action-button/duet-action-button.js +4 -0
- package/lib/collection/components/duet-alert/duet-alert.js +3 -0
- package/lib/collection/components/duet-badge/duet-badge.js +5 -0
- package/lib/collection/components/duet-banner/duet-banner.js +4 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -0
- package/lib/collection/components/duet-button/duet-button.js +4 -0
- package/lib/collection/components/duet-callout/duet-callout.js +4 -0
- package/lib/collection/components/duet-caption/duet-caption.js +5 -0
- package/lib/collection/components/duet-card/duet-card.js +4 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +4 -0
- package/lib/collection/components/duet-chip/duet-chip.js +35 -14
- package/lib/collection/components/duet-choice/duet-choice.js +4 -0
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +4 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +4 -0
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +4 -0
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +4 -0
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +4 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +5 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +4 -0
- package/lib/collection/components/duet-footer/duet-footer.js +4 -0
- package/lib/collection/components/duet-header/duet-header.js +4 -0
- package/lib/collection/components/duet-heading/duet-heading.js +4 -0
- package/lib/collection/components/duet-hero/duet-hero.css +30 -0
- package/lib/collection/components/duet-hero/duet-hero.js +4 -0
- package/lib/collection/components/duet-icon/duet-icon.js +4 -0
- package/lib/collection/components/duet-input/duet-input.js +2 -0
- package/lib/collection/components/duet-label/duet-label.js +5 -0
- package/lib/collection/components/duet-link/duet-link.js +5 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -0
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +4 -0
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -0
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +4 -0
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +4 -0
- package/lib/collection/components/duet-modal/duet-modal.js +2 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +4 -0
- package/lib/collection/components/duet-notification/duet-notification.js +4 -0
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +4 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +4 -0
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +4 -0
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -0
- package/lib/collection/components/duet-progress/duet-progress.js +4 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +4 -0
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +4 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +4 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +10 -8
- package/lib/collection/components/duet-select/duet-select.js +4 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +4 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +2 -0
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +4 -0
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +4 -0
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +4 -0
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -0
- package/lib/collection/components/duet-step/duet-step.js +4 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +4 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +4 -0
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -0
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +4 -0
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +4 -0
- package/lib/collection/components/duet-tab/duet-tab.js +5 -0
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +2 -0
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -0
- package/lib/collection/components/duet-toggle/duet-toggle.js +4 -0
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -0
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +4 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +4 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +4 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +20 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +3 -5
- package/lib/collection/components/duet-tray/duet-tray.js +4 -0
- package/lib/collection/components/duet-upload/duet-upload.js +4 -0
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +8 -0
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -0
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +5 -0
- package/lib/collection/utils/nudge.js +14 -0
- package/lib/collection/utils/teleport.js +9 -12
- 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 +8 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +6 -2
- 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 +7 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +7 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +21 -16
- package/lib/dist-custom-elements/duet-choice-group.js +12 -8
- package/lib/dist-custom-elements/duet-choice.js +9 -5
- package/lib/dist-custom-elements/duet-collapsible.js +6 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +12 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +10 -6
- package/lib/dist-custom-elements/duet-date-picker.js +16 -12
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +11 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-footer.js +8 -4
- 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 +12 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -10
- 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 +6 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +6 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +6 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -2
- package/lib/dist-custom-elements/duet-modal.js +10 -8
- package/lib/dist-custom-elements/duet-multiselect.js +14 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +8 -4
- package/lib/dist-custom-elements/duet-notification.js +6 -2
- package/lib/dist-custom-elements/duet-number-input.js +15 -11
- package/lib/dist-custom-elements/duet-page-heading.js +6 -2
- package/lib/dist-custom-elements/duet-pagination.js +15 -13
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +6 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +7 -3
- package/lib/dist-custom-elements/duet-radio-group.js +12 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +6 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -4
- 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 +9 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +6 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +6 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +6 -2
- package/lib/dist-custom-elements/duet-slideout.js +4 -2
- 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 +8 -4
- package/lib/dist-custom-elements/duet-stepper.js +6 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +6 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +6 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +6 -2
- package/lib/dist-custom-elements/duet-tab-group.js +15 -13
- package/lib/dist-custom-elements/duet-tab.js +6 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +14 -10
- package/lib/dist-custom-elements/duet-toggle.js +6 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +6 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +6 -2
- 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 +7 -3
- 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 +22 -18
- 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-32b3e436.js → p-12a46182.js} +1 -1
- package/lib/dist-custom-elements/{p-8a544a4a.js → p-1a8cb0ad.js} +1 -1
- package/lib/dist-custom-elements/{p-580110b9.js → p-1d90b10e.js} +1 -1
- package/lib/dist-custom-elements/{p-e8146874.js → p-21dd956e.js} +8 -3
- package/lib/dist-custom-elements/p-3ae39071.js +16 -0
- package/lib/dist-custom-elements/{p-235639a0.js → p-479fa83d.js} +7 -3
- package/lib/dist-custom-elements/{p-147839fe.js → p-4d9d4c43.js} +10 -2
- package/lib/dist-custom-elements/{p-ae9d10ef.js → p-53148470.js} +7 -2
- package/lib/dist-custom-elements/{p-811e436b.js → p-53fba128.js} +6 -1
- package/lib/dist-custom-elements/{p-216ee242.js → p-67b279fa.js} +5 -1
- package/lib/dist-custom-elements/{p-9510958d.js → p-6816fd1b.js} +8 -5
- package/lib/dist-custom-elements/{p-86766141.js → p-6958bba3.js} +15 -10
- package/lib/dist-custom-elements/{p-e4de8f7b.js → p-6a66573f.js} +8 -4
- package/lib/dist-custom-elements/{p-7ccf98f1.js → p-72c9e944.js} +6 -1
- package/lib/dist-custom-elements/{p-e7815ffd.js → p-77c93063.js} +1 -1
- package/lib/dist-custom-elements/{p-7a8c2aed.js → p-7c6ee265.js} +8 -10
- package/lib/dist-custom-elements/{p-3b2d38bd.js → p-85087518.js} +6 -2
- package/lib/dist-custom-elements/{p-70bf0b69.js → p-87cf7266.js} +13 -11
- package/lib/dist-custom-elements/{p-778299c4.js → p-89dec98e.js} +6 -2
- package/lib/dist-custom-elements/{p-31d056ee.js → p-954d4096.js} +12 -10
- package/lib/dist-custom-elements/{p-457ad3b4.js → p-99ec82e5.js} +5 -1
- package/lib/dist-custom-elements/{p-7394e25f.js → p-9c1b089a.js} +9 -12
- package/lib/dist-custom-elements/{p-6ff6de66.js → p-a5b5343b.js} +12 -8
- package/lib/dist-custom-elements/{p-b4fb8e06.js → p-ad704699.js} +20 -3
- package/lib/dist-custom-elements/{p-9ec763ef.js → p-c2533c03.js} +1 -1
- package/lib/dist-custom-elements/{p-891cf00a.js → p-cedaa97e.js} +1 -1
- package/lib/dist-custom-elements/{p-5128c90e.js → p-d6e49c93.js} +6 -2
- package/lib/dist-custom-elements/{p-89f61853.js → p-d8859df9.js} +1 -1
- package/lib/dist-custom-elements/{p-54138086.js → p-d8c53f43.js} +1 -1
- package/lib/dist-custom-elements/{p-dddcc1da.js → p-dd33aa4e.js} +1 -1
- package/lib/dist-custom-elements/{p-87ab6444.js → p-decdd69c.js} +5 -1
- package/lib/dist-custom-elements/{p-6658c850.js → p-e611a3df.js} +5 -1
- package/lib/dist-custom-elements/{p-fbdc5afe.js → p-e90b70ac.js} +1 -1
- package/lib/dist-custom-elements/{p-735d77aa.js → p-f7337164.js} +6 -1
- package/lib/dist-custom-elements/{p-e9d838dd.js → p-fc3ae836.js} +1 -1
- package/lib/dist-custom-elements/{p-444a8a81.js → p-fcc738df.js} +6 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00743d6c.system.entry.js +4 -0
- package/lib/duet/p-00a893c1.js +4 -0
- package/lib/duet/p-014edbda.system.entry.js +4 -0
- package/lib/duet/p-0414004a.entry.js +4 -0
- package/lib/duet/p-0762d0ce.system.entry.js +4 -0
- package/lib/duet/p-096d7724.entry.js +4 -0
- package/lib/duet/p-0b38374b.system.entry.js +4 -0
- package/lib/duet/p-0bb83776.system.entry.js +4 -0
- package/lib/duet/p-0c203d28.entry.js +4 -0
- package/lib/duet/p-0dfe14d3.entry.js +4 -0
- package/lib/duet/p-0ea3453c.system.entry.js +4 -0
- package/lib/duet/p-0f2664ed.entry.js +4 -0
- package/lib/duet/{p-7fe6bf2c.system.entry.js → p-15a77012.system.entry.js} +1 -1
- package/lib/duet/p-1853e4e5.system.entry.js +4 -0
- package/lib/duet/p-1c8634b1.entry.js +4 -0
- package/lib/duet/{p-0acc8f88.system.entry.js → p-1e3f0d63.system.entry.js} +1 -1
- package/lib/duet/p-1e709927.system.entry.js +4 -0
- package/lib/duet/p-1e88edec.entry.js +4 -0
- package/lib/duet/p-20767b15.system.entry.js +4 -0
- package/lib/duet/p-22acfa83.entry.js +4 -0
- package/lib/duet/p-24bc0b8c.entry.js +4 -0
- package/lib/duet/p-250745c0.system.entry.js +4 -0
- package/lib/duet/p-2556c6f0.system.entry.js +4 -0
- package/lib/duet/{p-1d463cc4.system.entry.js → p-285b2d7b.system.entry.js} +1 -1
- package/lib/duet/p-29a6d3b3.entry.js +4 -0
- package/lib/duet/p-2bec5be2.entry.js +4 -0
- package/lib/duet/p-2d7d1ff7.entry.js +4 -0
- package/lib/duet/p-2e54c1f8.system.entry.js +4 -0
- package/lib/duet/p-2e54c214.entry.js +4 -0
- package/lib/duet/p-3092d696.system.entry.js +4 -0
- package/lib/duet/p-30d1b2b5.entry.js +4 -0
- package/lib/duet/p-31d63beb.system.entry.js +4 -0
- package/lib/duet/p-3344fca3.entry.js +4 -0
- package/lib/duet/{p-a678835a.entry.js → p-34aa54e1.entry.js} +1 -1
- package/lib/duet/p-3538b0af.entry.js +4 -0
- package/lib/duet/{p-25495204.system.entry.js → p-3768dda7.system.entry.js} +1 -1
- package/lib/duet/p-37ee4ceb.system.entry.js +4 -0
- package/lib/duet/p-3878572f.entry.js +4 -0
- package/lib/duet/p-39c72a24.system.entry.js +4 -0
- package/lib/duet/p-3a9779ee.entry.js +4 -0
- package/lib/duet/p-3ae39071.js +4 -0
- package/lib/duet/p-3b85f649.system.entry.js +4 -0
- package/lib/duet/p-3c2f1fd0.entry.js +4 -0
- package/lib/duet/p-42c64bb8.system.entry.js +4 -0
- package/lib/duet/{p-7dc87593.system.entry.js → p-457ae87b.system.entry.js} +1 -1
- package/lib/duet/p-469892f4.system.entry.js +4 -0
- package/lib/duet/p-4903f5c4.system.entry.js +4 -0
- package/lib/duet/p-4b71c8e9.entry.js +4 -0
- package/lib/duet/p-4c04b1c6.entry.js +4 -0
- package/lib/duet/p-51328149.entry.js +4 -0
- package/lib/duet/p-529dc6fe.entry.js +4 -0
- package/lib/duet/p-54c07ffa.system.entry.js +4 -0
- package/lib/duet/p-5ab4d5d4.entry.js +4 -0
- package/lib/duet/p-5ac682b3.system.entry.js +4 -0
- package/lib/duet/p-5f2fc4bd.entry.js +4 -0
- package/lib/duet/{p-16abb2d5.system.entry.js → p-5f46f02e.system.entry.js} +1 -1
- package/lib/duet/p-5fb428c8.system.entry.js +4 -0
- package/lib/duet/p-60b4b7c1.system.js +4 -0
- package/lib/duet/p-64710156.entry.js +4 -0
- package/lib/duet/p-651d430e.system.entry.js +4 -0
- package/lib/duet/p-673a726a.entry.js +4 -0
- package/lib/duet/p-6b2c127a.entry.js +4 -0
- package/lib/duet/p-6d09651a.entry.js +4 -0
- package/lib/duet/p-6d620156.system.entry.js +4 -0
- package/lib/duet/p-6d71214f.entry.js +4 -0
- package/lib/duet/p-703c3662.system.entry.js +4 -0
- package/lib/duet/p-70c7a137.system.entry.js +4 -0
- package/lib/duet/p-729f35d8.system.entry.js +4 -0
- package/lib/duet/p-73242991.entry.js +4 -0
- package/lib/duet/{p-18f1d30e.js → p-733bb740.js} +1 -1
- package/lib/duet/p-737167be.system.js +4 -0
- package/lib/duet/p-73c9436a.entry.js +4 -0
- package/lib/duet/p-79266582.system.entry.js +4 -0
- package/lib/duet/p-792cbd42.system.entry.js +4 -0
- package/lib/duet/p-7966dc5b.system.entry.js +4 -0
- package/lib/duet/p-7a7da6cf.system.entry.js +4 -0
- package/lib/duet/p-7be35e53.system.entry.js +4 -0
- package/lib/duet/p-7ee29cc1.system.entry.js +4 -0
- package/lib/duet/{p-e7cc2826.system.entry.js → p-8156e5a5.system.entry.js} +1 -1
- package/lib/duet/{p-a87a2760.system.entry.js → p-8304e300.system.entry.js} +2 -2
- package/lib/duet/p-84390ead.entry.js +4 -0
- package/lib/duet/{p-b760effb.entry.js → p-84ebe175.entry.js} +1 -1
- package/lib/duet/p-85605193.system.entry.js +4 -0
- package/lib/duet/p-86b83b73.system.entry.js +4 -0
- package/lib/duet/p-88c01d1c.entry.js +4 -0
- package/lib/duet/{p-8a3fcbdb.system.entry.js → p-8ac518e1.system.entry.js} +1 -1
- package/lib/duet/p-90f97748.entry.js +4 -0
- package/lib/duet/p-92c7c0ba.entry.js +4 -0
- package/lib/duet/p-9601bad5.entry.js +4 -0
- package/lib/duet/p-962a83ef.entry.js +4 -0
- package/lib/duet/{p-e91a7222.entry.js → p-97076e02.entry.js} +1 -1
- package/lib/duet/p-9b992ce9.entry.js +4 -0
- package/lib/duet/p-9bdf6ce2.entry.js +4 -0
- package/lib/duet/p-9c1b089a.js +4 -0
- package/lib/duet/p-9c5860a3.entry.js +4 -0
- package/lib/duet/{p-e4734600.entry.js → p-9d317471.entry.js} +1 -1
- package/lib/duet/p-9f65b014.system.entry.js +4 -0
- package/lib/duet/p-9f975819.system.entry.js +4 -0
- package/lib/duet/{p-a7c2017b.system.js → p-9f97eb07.system.js} +1 -1
- package/lib/duet/p-a095c36f.system.entry.js +4 -0
- package/lib/duet/p-a276bfbd.entry.js +4 -0
- package/lib/duet/{p-213ba11f.entry.js → p-a322b729.entry.js} +1 -1
- package/lib/duet/p-a620d583.system.entry.js +4 -0
- package/lib/duet/p-a64cf9f8.system.entry.js +4 -0
- package/lib/duet/p-a6f6f073.system.entry.js +4 -0
- package/lib/duet/p-a7915b7d.entry.js +4 -0
- package/lib/duet/p-a922b309.system.entry.js +4 -0
- package/lib/duet/p-aa634481.entry.js +4 -0
- package/lib/duet/p-ab2d8091.entry.js +4 -0
- package/lib/duet/p-acb9ba1b.system.entry.js +4 -0
- package/lib/duet/p-acfae908.system.entry.js +4 -0
- package/lib/duet/p-ad70248d.entry.js +4 -0
- package/lib/duet/p-b3a1ea89.system.entry.js +4 -0
- package/lib/duet/p-b41ed3c4.entry.js +4 -0
- package/lib/duet/{p-f5903e7d.entry.js → p-b42b2676.entry.js} +1 -1
- package/lib/duet/p-b529eb0c.system.entry.js +4 -0
- package/lib/duet/p-b52f8ce1.entry.js +4 -0
- package/lib/duet/p-b6c212f5.system.entry.js +4 -0
- package/lib/duet/{p-0c6705bb.system.entry.js → p-b6cf05c0.system.entry.js} +1 -1
- package/lib/duet/p-b6e50064.entry.js +4 -0
- package/lib/duet/p-baef301c.system.entry.js +4 -0
- package/lib/duet/{p-e4e0578f.entry.js → p-bb5d22df.entry.js} +1 -1
- package/lib/duet/p-bc7c47f4.system.entry.js +4 -0
- package/lib/duet/p-bdb50607.system.entry.js +4 -0
- package/lib/duet/{p-4ab24dcd.entry.js → p-c135039c.entry.js} +1 -1
- package/lib/duet/p-c52e0917.entry.js +4 -0
- package/lib/duet/p-c655b7d1.system.entry.js +4 -0
- package/lib/duet/p-c8536d3f.entry.js +4 -0
- package/lib/duet/p-c8836a67.system.entry.js +4 -0
- package/lib/duet/p-ca112a3f.system.entry.js +4 -0
- package/lib/duet/p-cc48a8a0.system.entry.js +4 -0
- package/lib/duet/p-cfe09501.system.entry.js +4 -0
- package/lib/duet/p-d79fa6a4.system.entry.js +4 -0
- package/lib/duet/{p-429a181d.system.entry.js → p-d86480ea.system.entry.js} +1 -1
- package/lib/duet/{p-c201968f.entry.js → p-da7cc3d1.entry.js} +1 -1
- package/lib/duet/p-db2865b5.entry.js +4 -0
- package/lib/duet/p-dde971f6.system.entry.js +4 -0
- package/lib/duet/{p-6d711206.entry.js → p-e2daed97.entry.js} +1 -1
- package/lib/duet/p-e30d6bee.system.entry.js +4 -0
- package/lib/duet/p-e4fd145a.entry.js +4 -0
- package/lib/duet/p-e52631b1.entry.js +4 -0
- package/lib/duet/p-e58f4a37.entry.js +4 -0
- package/lib/duet/p-e62f72a3.entry.js +4 -0
- package/lib/duet/p-e96bed1e.system.entry.js +4 -0
- package/lib/duet/p-ea4f5d13.system.entry.js +4 -0
- package/lib/duet/p-ebf4a629.entry.js +4 -0
- package/lib/duet/p-edbc2774.entry.js +4 -0
- package/lib/duet/p-ee0ca0fd.entry.js +4 -0
- package/lib/duet/p-f30d3b09.system.entry.js +4 -0
- package/lib/duet/p-f5c2ccce.entry.js +4 -0
- package/lib/duet/p-f5e12c14.system.entry.js +4 -0
- package/lib/duet/p-f702fd53.entry.js +4 -0
- package/lib/duet/p-f7793f52.entry.js +4 -0
- package/lib/duet/{p-8db716f2.system.entry.js → p-f9f1c707.system.entry.js} +1 -1
- package/lib/duet/p-fa5bcc42.system.js +4 -0
- package/lib/duet/{p-7804ff1e.entry.js → p-fb238069.entry.js} +1 -1
- package/lib/duet/{p-7174ea1e.entry.js → p-fb7d7222.entry.js} +1 -1
- package/lib/duet/{p-3cb9e865.system.js → p-fc1fee5c.system.js} +1 -1
- package/lib/duet/p-fc26d56a.entry.js +4 -0
- package/lib/duet/p-fc6d2bf4.entry.js +4 -0
- package/lib/duet/p-ff9ef21e.system.entry.js +4 -0
- package/lib/esm/duet-action-button.entry.js +5 -1
- package/lib/esm/duet-alert.entry.js +4 -1
- package/lib/esm/duet-badge.entry.js +6 -1
- package/lib/esm/duet-banner.entry.js +5 -1
- package/lib/esm/duet-breadcrumb.entry.js +5 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +5 -1
- package/lib/esm/duet-callout.entry.js +5 -1
- package/lib/esm/duet-caption_4.entry.js +16 -1
- package/lib/esm/duet-card.entry.js +5 -1
- package/lib/esm/duet-checkbox.entry.js +5 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +18 -14
- package/lib/esm/duet-choice_2.entry.js +9 -2
- package/lib/esm/duet-collapsible.entry.js +5 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +5 -1
- package/lib/esm/duet-cookie-consent.entry.js +5 -1
- package/lib/esm/duet-date-picker.entry.js +6 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +8 -1
- package/lib/esm/duet-empty-state.entry.js +6 -1
- package/lib/esm/duet-fieldset.entry.js +5 -1
- package/lib/esm/duet-footer.entry.js +5 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +5 -1
- package/lib/esm/duet-hero.entry.js +6 -2
- package/lib/esm/duet-icon.entry.js +5 -1
- package/lib/esm/duet-input_2.entry.js +7 -1
- 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 +5 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +5 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -1
- package/lib/esm/duet-menu-bar-link.entry.js +5 -1
- package/lib/esm/duet-menu-bar.entry.js +3 -1
- package/lib/esm/duet-modal.entry.js +5 -3
- package/lib/esm/duet-multiselect.entry.js +5 -1
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +8 -1
- package/lib/esm/duet-number-input.entry.js +5 -1
- package/lib/esm/duet-page-heading.entry.js +5 -1
- package/lib/esm/duet-pagination_2.entry.js +4 -1
- package/lib/esm/duet-popup-menu-item.entry.js +5 -1
- package/lib/esm/duet-popup-menu.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +5 -1
- package/lib/esm/duet-promo-card.entry.js +5 -1
- package/lib/esm/duet-radio_2.entry.js +5 -1
- package/lib/esm/duet-range-slider.entry.js +5 -1
- package/lib/esm/duet-scrollable_3.entry.js +14 -7
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +5 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +5 -1
- package/lib/esm/duet-slideout-lang.entry.js +5 -1
- package/lib/esm/duet-slideout-link.entry.js +5 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -1
- package/lib/esm/duet-slideout-panel.entry.js +6 -2
- package/lib/esm/duet-slideout.entry.js +4 -2
- package/lib/esm/duet-step_2.entry.js +8 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +5 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +5 -1
- package/lib/esm/duet-submenu-bar.entry.js +5 -1
- package/lib/esm/duet-textarea.entry.js +5 -1
- package/lib/esm/duet-toggle.entry.js +5 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +5 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -1
- package/lib/esm/duet-toolbar-link.entry.js +5 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +22 -2
- package/lib/esm/duet-tooltip.entry.js +4 -6
- package/lib/esm/duet-tray.entry.js +5 -1
- package/lib/esm/duet-upload-aria-status.entry.js +9 -1
- package/lib/esm/duet-upload-item.entry.js +6 -1
- package/lib/esm/duet-visually-hidden.entry.js +6 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-e26ba3b3.js → focus-utils-8fc4feb5.js} +1 -1
- package/lib/esm/{index-c1a17a4c.js → index-b1b085ac.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/nudge-a828c525.js +16 -0
- package/lib/esm/{teleport-6b18ccae.js → teleport-467626fe.js} +9 -12
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-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 +2 -2
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +1 -1
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{focus-utils-e26ba3b3.js → focus-utils-8fc4feb5.js} +1 -1
- package/lib/esm-es5/{index-c1a17a4c.js → index-b1b085ac.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/nudge-a828c525.js +4 -0
- package/lib/esm-es5/teleport-467626fe.js +4 -0
- package/lib/types/components/duet-action-button/duet-action-button.d.ts +1 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +1 -0
- package/lib/types/components/duet-badge/duet-badge.d.ts +2 -0
- package/lib/types/components/duet-banner/duet-banner.d.ts +1 -0
- package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +1 -0
- package/lib/types/components/duet-button/duet-button.d.ts +1 -0
- package/lib/types/components/duet-callout/duet-callout.d.ts +1 -0
- package/lib/types/components/duet-caption/duet-caption.d.ts +2 -0
- package/lib/types/components/duet-card/duet-card.d.ts +1 -0
- package/lib/types/components/duet-checkbox/duet-checkbox.d.ts +1 -0
- package/lib/types/components/duet-chip/duet-chip.d.ts +6 -1
- package/lib/types/components/duet-choice/duet-choice.d.ts +1 -0
- package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +1 -0
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
- package/lib/types/components/duet-contact-card/duet-contact-card.d.ts +1 -0
- package/lib/types/components/duet-cookie-consent/duet-cookie-consent.d.ts +1 -0
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +1 -0
- package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +1 -0
- package/lib/types/components/duet-empty-state/duet-empty-state.d.ts +2 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +1 -0
- package/lib/types/components/duet-footer/duet-footer.d.ts +1 -0
- package/lib/types/components/duet-header/duet-header.d.ts +1 -0
- package/lib/types/components/duet-heading/duet-heading.d.ts +1 -0
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -0
- package/lib/types/components/duet-icon/duet-icon.d.ts +1 -0
- package/lib/types/components/duet-label/duet-label.d.ts +2 -0
- package/lib/types/components/duet-link/duet-link.d.ts +2 -0
- package/lib/types/components/duet-menu-bar-button/duet-menu-bar-button.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-menu-bar-link/duet-menu-bar-link.d.ts +1 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -1
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +1 -0
- package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
- package/lib/types/components/duet-notification-drawer/duet-notification-drawer.d.ts +1 -0
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
- package/lib/types/components/duet-page-heading/duet-page-heading.d.ts +1 -0
- package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
- package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
- package/lib/types/components/duet-progress/duet-progress.d.ts +1 -0
- package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +1 -0
- package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
- package/lib/types/components/duet-range-slider/duet-range-slider.d.ts +1 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -1
- package/lib/types/components/duet-select/duet-select.d.ts +1 -0
- package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
- package/lib/types/components/duet-slideout-lang/duet-slideout-lang.d.ts +1 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +1 -0
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +1 -0
- package/lib/types/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.d.ts +1 -0
- package/lib/types/components/duet-step/duet-step.d.ts +1 -0
- package/lib/types/components/duet-stepper/duet-stepper.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar-link/duet-submenu-bar-link.d.ts +1 -0
- package/lib/types/components/duet-tab/duet-tab.d.ts +2 -0
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +1 -0
- package/lib/types/components/duet-toggle/duet-toggle.d.ts +1 -0
- package/lib/types/components/duet-toolbar-dropdown/duet-toolbar-dropdown.d.ts +1 -0
- package/lib/types/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.d.ts +1 -0
- package/lib/types/components/duet-toolbar-link/duet-toolbar-link.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +1 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +3 -0
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +0 -1
- package/lib/types/components/duet-tray/duet-tray.d.ts +1 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +1 -0
- package/lib/types/components/duet-upload-aria-status/duet-upload-aria-status.d.ts +5 -0
- package/lib/types/components/duet-upload-item/duet-upload-item.d.ts +2 -0
- package/lib/types/components/duet-visually-hidden/duet-visually-hidden.d.ts +2 -0
- package/lib/types/components.d.ts +8 -0
- package/lib/types/utils/nudge.d.ts +7 -0
- package/lib/types/utils/teleport.d.ts +0 -2
- package/package.json +5 -5
- package/lib/duet/p-00abf5b6.entry.js +0 -4
- package/lib/duet/p-02b7e1ef.system.entry.js +0 -4
- package/lib/duet/p-02f1d7cc.system.js +0 -4
- package/lib/duet/p-0478d0eb.entry.js +0 -4
- package/lib/duet/p-04940a8a.system.entry.js +0 -4
- package/lib/duet/p-059c9d4e.entry.js +0 -4
- package/lib/duet/p-066f7fdf.entry.js +0 -4
- package/lib/duet/p-076228e9.system.entry.js +0 -4
- package/lib/duet/p-076aef18.entry.js +0 -4
- package/lib/duet/p-0b0a898d.entry.js +0 -4
- package/lib/duet/p-0c3d7e64.system.entry.js +0 -4
- package/lib/duet/p-0e697654.system.entry.js +0 -4
- package/lib/duet/p-0ffc3cf9.entry.js +0 -4
- package/lib/duet/p-108d9370.system.entry.js +0 -4
- package/lib/duet/p-11e79c8c.system.entry.js +0 -4
- package/lib/duet/p-14285f86.system.entry.js +0 -4
- package/lib/duet/p-14bd6514.entry.js +0 -4
- package/lib/duet/p-1719aa4e.entry.js +0 -4
- package/lib/duet/p-1b398a07.entry.js +0 -4
- package/lib/duet/p-1c0ad101.system.entry.js +0 -4
- package/lib/duet/p-23ba9eba.entry.js +0 -4
- package/lib/duet/p-243a9ef5.system.entry.js +0 -4
- package/lib/duet/p-24e2be74.entry.js +0 -4
- package/lib/duet/p-29280d68.entry.js +0 -4
- package/lib/duet/p-2992af15.entry.js +0 -4
- package/lib/duet/p-29be2109.entry.js +0 -4
- package/lib/duet/p-29f1e1a4.system.entry.js +0 -4
- package/lib/duet/p-2bf922c1.system.js +0 -4
- package/lib/duet/p-2e9a772c.entry.js +0 -4
- package/lib/duet/p-2ea04945.entry.js +0 -4
- package/lib/duet/p-2eabea79.entry.js +0 -4
- package/lib/duet/p-31b566c1.entry.js +0 -4
- package/lib/duet/p-3346552d.entry.js +0 -4
- package/lib/duet/p-34928212.entry.js +0 -4
- package/lib/duet/p-3536fd40.system.entry.js +0 -4
- package/lib/duet/p-356745e0.system.entry.js +0 -4
- package/lib/duet/p-3709d186.entry.js +0 -4
- package/lib/duet/p-380c94f6.system.entry.js +0 -4
- package/lib/duet/p-388e6ec4.entry.js +0 -4
- package/lib/duet/p-3ec86ced.entry.js +0 -4
- package/lib/duet/p-417357f9.system.entry.js +0 -4
- package/lib/duet/p-427dbb96.system.entry.js +0 -4
- package/lib/duet/p-43b0c3d2.system.entry.js +0 -4
- package/lib/duet/p-43b42819.entry.js +0 -4
- package/lib/duet/p-45bec102.entry.js +0 -4
- package/lib/duet/p-46b3ed07.entry.js +0 -4
- package/lib/duet/p-4a4faa7d.entry.js +0 -4
- package/lib/duet/p-4e886433.system.entry.js +0 -4
- package/lib/duet/p-521c96ec.entry.js +0 -4
- package/lib/duet/p-56952081.entry.js +0 -4
- package/lib/duet/p-5738c25c.system.entry.js +0 -4
- package/lib/duet/p-60a70493.entry.js +0 -4
- package/lib/duet/p-67862509.system.entry.js +0 -4
- package/lib/duet/p-67d9de79.system.entry.js +0 -4
- package/lib/duet/p-6c93f614.system.entry.js +0 -4
- package/lib/duet/p-6d74aac6.system.entry.js +0 -4
- package/lib/duet/p-6f677b2a.system.entry.js +0 -4
- package/lib/duet/p-6f6a58e4.system.entry.js +0 -4
- package/lib/duet/p-701b89a1.entry.js +0 -4
- package/lib/duet/p-70477e77.system.entry.js +0 -4
- package/lib/duet/p-7260f799.entry.js +0 -4
- package/lib/duet/p-7326a4c0.system.entry.js +0 -4
- package/lib/duet/p-7394e25f.js +0 -4
- package/lib/duet/p-74216caa.entry.js +0 -4
- package/lib/duet/p-79075bec.system.entry.js +0 -4
- package/lib/duet/p-7ac0621b.system.entry.js +0 -4
- package/lib/duet/p-7b7faa01.system.entry.js +0 -4
- package/lib/duet/p-7cf9e266.system.entry.js +0 -4
- package/lib/duet/p-81c35152.entry.js +0 -4
- package/lib/duet/p-822a791e.entry.js +0 -4
- package/lib/duet/p-8364fae3.entry.js +0 -4
- package/lib/duet/p-8433b6d1.system.entry.js +0 -4
- package/lib/duet/p-850eacf6.entry.js +0 -4
- package/lib/duet/p-87ca87df.entry.js +0 -4
- package/lib/duet/p-8810df88.js +0 -4
- package/lib/duet/p-8b5d616e.system.entry.js +0 -4
- package/lib/duet/p-8b641c9c.system.entry.js +0 -4
- package/lib/duet/p-8e5253bc.entry.js +0 -4
- package/lib/duet/p-97fc4a88.system.entry.js +0 -4
- package/lib/duet/p-98488fab.system.entry.js +0 -4
- package/lib/duet/p-9949a334.entry.js +0 -4
- package/lib/duet/p-9ce8627c.system.entry.js +0 -4
- package/lib/duet/p-9d505129.system.entry.js +0 -4
- package/lib/duet/p-9e3276c6.system.entry.js +0 -4
- package/lib/duet/p-9f9ada02.system.entry.js +0 -4
- package/lib/duet/p-a374de00.entry.js +0 -4
- package/lib/duet/p-a39844b6.entry.js +0 -4
- package/lib/duet/p-a8e6dcb9.entry.js +0 -4
- package/lib/duet/p-ac962b74.system.entry.js +0 -4
- package/lib/duet/p-afee3739.system.entry.js +0 -4
- package/lib/duet/p-b0475c8a.entry.js +0 -4
- package/lib/duet/p-b07fe45f.system.entry.js +0 -4
- package/lib/duet/p-b465c929.entry.js +0 -4
- package/lib/duet/p-b71c141b.system.entry.js +0 -4
- package/lib/duet/p-b7605eb1.entry.js +0 -4
- package/lib/duet/p-b7e61bdc.system.entry.js +0 -4
- package/lib/duet/p-b8b12400.system.entry.js +0 -4
- package/lib/duet/p-b9eb37ae.system.entry.js +0 -4
- package/lib/duet/p-bd594a8b.entry.js +0 -4
- package/lib/duet/p-bde9a702.system.entry.js +0 -4
- package/lib/duet/p-c1573ac3.system.entry.js +0 -4
- package/lib/duet/p-c1fb544b.system.entry.js +0 -4
- package/lib/duet/p-c2731be1.system.entry.js +0 -4
- package/lib/duet/p-c2b0861c.system.entry.js +0 -4
- package/lib/duet/p-c3a883e3.entry.js +0 -4
- package/lib/duet/p-c4fac0b5.system.entry.js +0 -4
- package/lib/duet/p-cb451f23.entry.js +0 -4
- package/lib/duet/p-cba1009b.entry.js +0 -4
- package/lib/duet/p-cd05fea5.system.entry.js +0 -4
- package/lib/duet/p-cf824b6b.system.entry.js +0 -4
- package/lib/duet/p-d183a3e7.system.entry.js +0 -4
- package/lib/duet/p-d1f815a3.system.entry.js +0 -4
- package/lib/duet/p-d4d63fbd.system.entry.js +0 -4
- package/lib/duet/p-d68c84ab.entry.js +0 -4
- package/lib/duet/p-d6d5ef13.entry.js +0 -4
- package/lib/duet/p-d7c5ac53.entry.js +0 -4
- package/lib/duet/p-db6887df.entry.js +0 -4
- package/lib/duet/p-db95e133.entry.js +0 -4
- package/lib/duet/p-dfc66b98.entry.js +0 -4
- package/lib/duet/p-e27a7520.system.entry.js +0 -4
- package/lib/duet/p-e356ca29.entry.js +0 -4
- package/lib/duet/p-e3f8becc.entry.js +0 -4
- package/lib/duet/p-e50d1003.system.entry.js +0 -4
- package/lib/duet/p-e9b8cee0.system.entry.js +0 -4
- package/lib/duet/p-ea1287ce.system.entry.js +0 -4
- package/lib/duet/p-f0317574.entry.js +0 -4
- package/lib/duet/p-f27b134c.system.entry.js +0 -4
- package/lib/duet/p-f74b6629.entry.js +0 -4
- package/lib/duet/p-faf2b9d1.entry.js +0 -4
- package/lib/duet/p-fbdb1eec.entry.js +0 -4
- package/lib/duet/p-fc0f56ae.system.entry.js +0 -4
- package/lib/duet/p-fee0f558.entry.js +0 -4
- package/lib/esm-es5/teleport-6b18ccae.js +0 -4
|
@@ -58,6 +58,7 @@ export declare class DuetNotificationDrawer implements ThemeableComponent {
|
|
|
58
58
|
* Component lifecycle events.
|
|
59
59
|
*/
|
|
60
60
|
componentWillLoad(): void;
|
|
61
|
+
componentDidLoad(): void;
|
|
61
62
|
connectedCallback(): void;
|
|
62
63
|
disconnectedCallback(): void;
|
|
63
64
|
handleClickFocusOutside(e: Event): void;
|
|
@@ -201,6 +201,7 @@ export declare class DuetNumberInput implements ThemeableComponent, DuetNumericI
|
|
|
201
201
|
* Component lifecycle events.
|
|
202
202
|
*/
|
|
203
203
|
componentWillLoad(): void;
|
|
204
|
+
componentDidLoad(): void;
|
|
204
205
|
connectedCallback(): void;
|
|
205
206
|
disconnectedCallback(): void;
|
|
206
207
|
/**
|
|
@@ -15,7 +15,7 @@ export declare class DuetScrollable implements ThemeableComponent {
|
|
|
15
15
|
isTabContentSmallerThanWrapper: boolean;
|
|
16
16
|
tablistAtEnd: boolean;
|
|
17
17
|
childrenData: any;
|
|
18
|
-
|
|
18
|
+
element: HTMLElement;
|
|
19
19
|
private resizeObserver;
|
|
20
20
|
/**
|
|
21
21
|
* Theme of duet-tab-scrollable. When used this will override the color setting and
|
|
@@ -30,6 +30,7 @@ export declare class DuetSlideoutPanelDropdown implements ThemeableComponent {
|
|
|
30
30
|
* Component lifecycle events.
|
|
31
31
|
*/
|
|
32
32
|
componentWillLoad(): void;
|
|
33
|
+
componentDidLoad(): void;
|
|
33
34
|
private onClick;
|
|
34
35
|
/**
|
|
35
36
|
* Sets focus. Use this method instead of the global focus().
|
|
@@ -61,6 +61,7 @@ export declare class DuetStep implements ThemeableComponent {
|
|
|
61
61
|
duetStepClick: EventEmitter<DuetStepClickEvent>;
|
|
62
62
|
handleStepClick(e: KeyboardEvent | MouseEvent): void;
|
|
63
63
|
componentWillLoad(): void;
|
|
64
|
+
componentDidLoad(): void;
|
|
64
65
|
/**
|
|
65
66
|
* Programmatically shift focus to the step's heading.
|
|
66
67
|
*/
|
|
@@ -42,6 +42,7 @@ export declare class DuetStepper implements ThemeableComponent {
|
|
|
42
42
|
duetStepChange: EventEmitter<DuetStepChangeEvent>;
|
|
43
43
|
onDuetStepClick(e: CustomEvent<DuetStepClickEvent>): void;
|
|
44
44
|
componentWillLoad(): void;
|
|
45
|
+
componentDidLoad(): void;
|
|
45
46
|
connectedCallback(): Promise<void>;
|
|
46
47
|
private getSteps;
|
|
47
48
|
private setStepFocus;
|
|
@@ -35,6 +35,7 @@ export declare class DuetSubmenuBarDropdown implements ThemeableComponent {
|
|
|
35
35
|
* Component lifecycle events.
|
|
36
36
|
*/
|
|
37
37
|
componentWillLoad(): void;
|
|
38
|
+
componentDidLoad(): void;
|
|
38
39
|
connectedCallback(): void;
|
|
39
40
|
disconnectedCallback(): void;
|
|
40
41
|
private checkIsDesktop;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentInterface } from "../../stencil-public-runtime";
|
|
2
2
|
import { DuetLangObject } from "../../utils/language-utils";
|
|
3
3
|
export declare class DuetTab implements ComponentInterface {
|
|
4
|
+
element: HTMLElement;
|
|
4
5
|
/**
|
|
5
6
|
* Label for the tab.
|
|
6
7
|
*/
|
|
@@ -26,6 +27,7 @@ export declare class DuetTab implements ComponentInterface {
|
|
|
26
27
|
/**
|
|
27
28
|
* Component lifecycle events.
|
|
28
29
|
*/
|
|
30
|
+
componentDidLoad(): void;
|
|
29
31
|
connectedCallback(): void;
|
|
30
32
|
disconnectedCallback(): void;
|
|
31
33
|
/**
|
|
@@ -9,12 +9,14 @@ export declare class DuetTooltipPopup implements ThemeableComponent {
|
|
|
9
9
|
private arrowEl;
|
|
10
10
|
private contentEl;
|
|
11
11
|
private buttonEl;
|
|
12
|
+
private teleport;
|
|
12
13
|
element: HTMLElement;
|
|
13
14
|
/**
|
|
14
15
|
* Theme of the tooltip.
|
|
15
16
|
*/
|
|
16
17
|
theme: DuetTheme;
|
|
17
18
|
active: boolean;
|
|
19
|
+
handleActiveChange(): void;
|
|
18
20
|
tooltipId: string;
|
|
19
21
|
arrowStyles: {
|
|
20
22
|
top: string | undefined;
|
|
@@ -26,6 +28,7 @@ export declare class DuetTooltipPopup implements ThemeableComponent {
|
|
|
26
28
|
* Component lifecycle events.
|
|
27
29
|
*/
|
|
28
30
|
componentWillLoad(): void;
|
|
31
|
+
componentDidLoad(): void;
|
|
29
32
|
getArrowElement(): Promise<HTMLElement>;
|
|
30
33
|
getContentElement(): Promise<HTMLElement>;
|
|
31
34
|
setFocusOnContentElement(): Promise<void>;
|
|
@@ -423,6 +423,7 @@ export declare class DuetUpload implements ThemeableComponent, FormComponent {
|
|
|
423
423
|
* Component lifecycle events.
|
|
424
424
|
*/
|
|
425
425
|
componentWillLoad(): void;
|
|
426
|
+
componentDidLoad(): void;
|
|
426
427
|
componentWillRender(): void;
|
|
427
428
|
/**
|
|
428
429
|
* Sets focus on the specified `duet-input`. Use this method instead of the global
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { StatusMessage } from "../../common-types";
|
|
2
2
|
export declare class DuetUploadAriaStatus {
|
|
3
|
+
element: HTMLElement;
|
|
3
4
|
/**
|
|
4
5
|
* State() variables
|
|
5
6
|
*/
|
|
@@ -34,6 +35,10 @@ export declare class DuetUploadAriaStatus {
|
|
|
34
35
|
*/
|
|
35
36
|
private replacePlaceHolders;
|
|
36
37
|
private getStatusMessage;
|
|
38
|
+
/**
|
|
39
|
+
* Component lifecycle events.
|
|
40
|
+
*/
|
|
41
|
+
componentDidLoad(): void;
|
|
37
42
|
/**
|
|
38
43
|
* render() function
|
|
39
44
|
* Always the last one in the class.
|
|
@@ -6,6 +6,7 @@ import { DuetFileListItem, DuetUploadEvent } from "../duet-upload/duet-upload";
|
|
|
6
6
|
import { DuetUploadErrorCode } from "../duet-upload/errorcodes.utils";
|
|
7
7
|
export type ItemType = "pending" | "inprogress" | "failure" | "success";
|
|
8
8
|
export declare class DuetUploadItem implements ThemeableComponent {
|
|
9
|
+
element: HTMLElement;
|
|
9
10
|
/**
|
|
10
11
|
* theme.
|
|
11
12
|
*/
|
|
@@ -51,6 +52,7 @@ export declare class DuetUploadItem implements ThemeableComponent {
|
|
|
51
52
|
* Component lifecycle events.
|
|
52
53
|
*/
|
|
53
54
|
componentWillLoad(): void;
|
|
55
|
+
componentDidLoad(): void;
|
|
54
56
|
/**
|
|
55
57
|
* focusActionButton.
|
|
56
58
|
*/
|
|
@@ -739,6 +739,10 @@ export namespace Components {
|
|
|
739
739
|
* Name attribute of the html input (filter) or button.
|
|
740
740
|
*/
|
|
741
741
|
"name": string;
|
|
742
|
+
/**
|
|
743
|
+
* Id of the DuetPopupMenu that is controlled by the chip.
|
|
744
|
+
*/
|
|
745
|
+
"popup": string;
|
|
742
746
|
/**
|
|
743
747
|
* Sets focus. Use this method instead of the global focus().
|
|
744
748
|
*/
|
|
@@ -5992,6 +5996,10 @@ declare namespace LocalJSX {
|
|
|
5992
5996
|
* Emitted when the chip receives focus.
|
|
5993
5997
|
*/
|
|
5994
5998
|
"onDuetFocus"?: (event: DuetChipCustomEvent<DuetChipEvent>) => void;
|
|
5999
|
+
/**
|
|
6000
|
+
* Id of the DuetPopupMenu that is controlled by the chip.
|
|
6001
|
+
*/
|
|
6002
|
+
"popup"?: string;
|
|
5995
6003
|
/**
|
|
5996
6004
|
* Theme of the button.
|
|
5997
6005
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function is a workaround for a bug in Chromium-based browsers, where building the accessibility tree fails
|
|
3
|
+
* with nested shadow roots. See https://atlassian.lahitapiola.fi/jira/browse/DUET-780
|
|
4
|
+
*/
|
|
5
|
+
export declare function nudge(component: {
|
|
6
|
+
element: HTMLElement;
|
|
7
|
+
}): void;
|
|
@@ -11,7 +11,6 @@ export declare class Teleport {
|
|
|
11
11
|
stub: HTMLElement;
|
|
12
12
|
teleportId: string;
|
|
13
13
|
deletionObserver: MutationObserver;
|
|
14
|
-
isReact: boolean;
|
|
15
14
|
isActive: boolean;
|
|
16
15
|
constructor(element: HTMLElement, target?: HTMLElement);
|
|
17
16
|
/**
|
|
@@ -27,5 +26,4 @@ export declare class Teleport {
|
|
|
27
26
|
* If the teleported element or its component (observed via stub) is removed from DOM, clean up the teleport.
|
|
28
27
|
*/
|
|
29
28
|
private _deletionObserverCallback;
|
|
30
|
-
private _isReact;
|
|
31
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duetds/components",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "This package includes Duet Design System Web Components and related utilities.",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"email": "duetdesignsystem@lahitapiola.fi"
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"body-scroll-lock": "3.1.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@duetds/fonts": "3.0.
|
|
52
|
-
"@duetds/icons": "4.0.
|
|
53
|
-
"@duetds/tokens": "4.0.
|
|
51
|
+
"@duetds/fonts": "3.0.14",
|
|
52
|
+
"@duetds/icons": "4.0.14",
|
|
53
|
+
"@duetds/tokens": "4.0.14",
|
|
54
54
|
"@percy/cli": "1.21.0",
|
|
55
55
|
"@rollup/plugin-replace": "5.0.2",
|
|
56
56
|
"@stencil/core": "3.1.0",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"collection": "lib/collection/collection-manifest.json",
|
|
78
78
|
"es2015": "lib/esm/index.js",
|
|
79
79
|
"es2017": "lib/esm/index.js",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "b6a76fe10b0c247fea3f491d8f7ea38a011077a0"
|
|
81
81
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
import{r as e,c,h as t,H as o,g as i}from"./p-18f1d30e.js";import{i as d}from"./p-4ebf1618.js";import{h}from"./p-9d915d45.js";import{D as s}from"./p-76f00bd5.js";import{c as r}from"./p-c1325e35.js";import{F as a}from"./p-8810df88.js";import{i as u,h as n,f as l}from"./p-f077c646.js";import{g as b,a as p,c as g,d as m}from"./p-03baceb5.js";import{f,w as k}from"./p-12721178.js";import"./p-5a9d75e1.js";const v=class{constructor(t){e(this,t),this.duetChange=c(this,"duetChange",7),this.duetFocus=c(this,"duetFocus",7),this.duetBlur=c(this,"duetBlur",7),this.hasHeader=!1,this.choiceId=r("DuetChoice"),this.expandId=r("DuetChoiceExpand"),this.headerId=r("DuetChoiceHeader"),this.infoButtonId=r("DuetChoiceInfoButton"),this.onMouseEnter=()=>{this.isHovering=!0},this.onMouseLeave=()=>{this.isHovering=!1},this.onClick=e=>{this.toggleChecked(e)},this.handleKeyDown=e=>{u(e)&&this.toggleChecked(e),n(e)&&this.hasInfo&&this.toggleInfo()},this.onChange=()=>{this.checked=this.nativeInput.checked||!1,this.duetChange.emit({checked:this.checked,value:this.value,component:"duet-choice"})},this.onBlur=e=>{this.duetBlur.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.onFocus=e=>{this.duetFocus.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})},this.toggleChecked=e=>{e.preventDefault(),e.stopPropagation(),this.getDisabled()||(this.isInfoOpen=!1,"radio"===this.type&&this.checked||(this.checked=!this.checked,this.duetChange.emit({originalEvent:e,checked:this.checked,value:this.value,component:"duet-choice"})))},this.toggleInfo=()=>{this.isInfoOpen=!this.isInfoOpen},this.isHovering=!1,this.isInfoOpen=!1,this.isBlurred=!1,this.theme="",this.label="label",this.accessibleLabelInfoButtonDefaults=s,this.accessibleLabelInfoButton=b(this.accessibleLabelInfoButtonDefaults),this.accessibleActiveDescendant=void 0,this.accessibleControls=void 0,this.accessibleOwns=void 0,this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.caption="",this.value=void 0,this.type="checkbox",this.name=void 0,this.checked=!1,this.collapsible=!1,this.collapsibleForceExpanded=!1,this.margin="auto",this.icon="",this.expand=!1,this.padding="auto",this.identifier=void 0,this.groupDirection=void 0,this.groupDisabled=void 0,this.groupResponsive=void 0,this.disabled=!1,this.required=!1,this.infoLabelDefaults={fi:"Lisätietoja vaihtoehdosta",en:"More information about",sv:"Mera information om"},this.infoLabel=b(this.infoLabelDefaults,p())}componentWillLoad(){d(this),this.hasInfo=h(this.element,"info"),this.hasHeader=h(this.element,"header"),this.hasAdditional=h(this.element,"additional"),this.hasLabel=h(this.element,"label"),this.hasBeforeText=h(this.element,"before-text")}connectedCallback(){g(this,[{prop:"accessibleLabelInfoButton",defaults:"accessibleLabelInfoButtonDefaults"},{prop:"infoLabel",defaults:"infoLabelDefaults"}])}disconnectedCallback(){m(this)}handleHostBlur(e){this.hasInfo&&this.isInfoOpen&&this.isKeyDown&&(this.element.contains(null==e?void 0:e.relatedTarget)||this.toggleInfo())}handleHostKeyDown(){this.isKeyDown=!0}handleHostKeyUp(e){this.isKeyDown=!1,l(e)&&this.isInfoOpen&&this.toggleInfo()}async setFocus(e){this.nativeInput.focus(e)}async toggleInfoMethod(){this.isInfoOpen=!this.isInfoOpen}getAriaDescribedby(){return this.accessibleDescribedBy?this.accessibleDescribedBy:this.collapsible||this.hasInfo?this.hasHeader?this.headerId:this.expandId:null}getDisabled(){return this.disabled||this.groupDisabled}getExpanded(){return this.checked||this.collapsibleForceExpanded}getClassNames(){return this.hasInfo&&!this.collapsible?{checked:this.checked,"duet-choice-card-info":!0,"duet-choice-card-info-expanded":this.isInfoOpen,"duet-choice-card-collapsed":!this.isInfoOpen,"duet-theme-turva":"turva"===this.theme}:!this.hasInfo&&this.collapsible?{checked:this.checked,"duet-choice-card-collapsible":!0,"duet-choice-card-collapsible-expanded":this.getExpanded(),"duet-choice-card-collapsed":!this.getExpanded(),"duet-choice-card-collapsible-disabled":this.getDisabled(),"duet-theme-turva":"turva"===this.theme}:{checked:this.checked,"duet-choice-default-slot":!0}}render(){const e=this.element.closest("duet-choice-group"),c=e?e.label:void 0,i=this.identifier||this.choiceId;return t(o,{class:{horizontal:"horizontal"===this.groupDirection&&!this.groupResponsive,"horizontal-responsive":"horizontal"===this.groupDirection&&this.groupResponsive,"duet-m-0":"none"===this.margin,"duet-expand":this.expand,"duet-theme-turva":"turva"===this.theme,"no-hover":this.isHovering,disabled:this.getDisabled()}},t("div",{class:{"duet-choice-card-flextainer":!0,"duet-theme-turva":"turva"===this.theme}},t("div",{class:{"duet-choice-card":!0,"has-icon":!!this.icon,"has-info":this.hasInfo,checked:this.checked,info:this.isInfoOpen,collapsible:this.collapsible,"collapsible-force-expanded":this.collapsibleForceExpanded,"duet-p-0":"none"===this.padding}},t("input",{class:"duet-choice-input",type:this.type,onFocus:this.onFocus,onBlur:this.onBlur,onChange:this.onChange,disabled:this.getDisabled(),required:this.required,id:i,name:this.name,value:this.value,checked:this.checked,"aria-controls":this.accessibleControls,"aria-activedescendant":this.accessibleActiveDescendant,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-owns":this.accessibleOwns,"aria-describedby":this.getAriaDescribedby(),onKeyDown:this.handleKeyDown,ref:e=>this.nativeInput=e}),t("label",{htmlFor:i,class:{"duet-choice-label":!0,"has-before-text":this.hasBeforeText},onClick:this.onClick},this.hasBeforeText&&t("slot",{name:"before-text"}),this.icon&&t("div",{class:"duet-choice-card-icon"},t("duet-icon",{margin:"none",size:"small",name:this.icon,color:"currentColor"})),t("div",{class:"duet-choice-card-text"},c&&t("duet-visually-hidden",null,c,", "),t("div",null,this.hasLabel?t("slot",{name:"label"}):this.label),this.caption&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("duet-caption",{margin:"none",selected:this.checked},this.caption)),this.hasAdditional&&t("div",null,t("duet-spacer",{size:"xx-small"}),t("slot",{name:"additional"}))),t("div",null,t("div",{class:{"duet-checkmark-container":!0,"duet-checkmark-radio":"radio"===this.type}},this.checked&&t("div",{class:"duet-checkmark"}))))),this.hasInfo&&!this.collapsible&&t("button",{ref:e=>this.infoButtonEl=e,id:this.infoButtonId,class:{"duet-choice-info-toggle":!0,"duet-theme-turva":"turva"===this.theme},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:"radio"!==this.type||this.checked?"0":"-1",type:"button"},t("duet-visually-hidden",{"aria-hidden":this.isBlurred?"false":"true"},this.accessibleLabelInfoButton),t("div",{class:"duet-choice-info-icon"},t("duet-icon",{icon:'<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>',margin:"none",size:"small",color:"currentColor"})))),this.collapsible||this.hasInfo?t("div",{class:this.getClassNames(),id:this.expandId},t("span",{class:{"duet-choice-section-visible":this.collapsible?this.getExpanded():this.isInfoOpen,"duet-choice-section-hidden":this.collapsible?!this.getExpanded():!this.isInfoOpen}},t("span",{id:this.headerId},t("slot",{name:"header"})),this.hasInfo?t("span",null,t("span",{"aria-relevant":"all","aria-atomic":"true","aria-live":this.isInfoOpen?"polite":"off"},t("slot",{name:"info"})),t("slot",null)):t("span",null,t("slot",null))),this.isInfoOpen&&t(a,{moveFocusTo:this.infoButtonEl})):null)}get element(){return i(this)}};v.style='*.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}';const x=":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)",w=class{constructor(c){e(this,c),this.choiceGroupName="duet-choice-group",this.getChoices=()=>Array.from(this.element.querySelectorAll(x)),this.isMyChoice=e=>this.getChoices().includes(e),this.onSelect=e=>{if("duet-choice"!==e.detail.component)return;const c=e.target;c&&this.isMyChoice(c)&&(this.value=c.value),e.cancelBubble=!0},this.direction="vertical",this.margin="auto",this.theme="",this.error="",this.name=void 0,this.label="Label",this.labelHidden=!1,this.caption=void 0,this.tooltip=void 0,this.tooltipDirection="auto",this.responsive=!1,this.breakpoint="small",this.value=void 0,this.disabled=void 0}async connectedCallback(){const e=this.element;if(void 0===this.value){const c=f(e,x);void 0!==c&&(await c.componentOnReady(),void 0===this.value&&(this.value=c.value))}this.mutationO=k(e,x,(e=>{void 0!==e?e.componentOnReady().then((()=>{this.isMyChoice(e)&&(this.value=e.value)})):this.updateChoices()})),this.updateChoices()}disconnectedCallback(){this.mutationO&&(this.mutationO.disconnect(),this.mutationO=void 0)}componentWillLoad(){d(this)}async updateChoices(){const e=this.getChoices(),{value:c}=this;let t=!1;for(const o of e)o.name=this.name,o.groupDisabled=this.disabled,o.groupDirection=this.direction,o.groupResponsive=this.responsive,t||o.value!==c?o.checked=!1:(t=!0,o.checked=!0);t||(this.value=void 0)}render(){return t(o,{onDuetChange:this.onSelect,class:{horizontal:"horizontal"===this.direction,"duet-choice-group-breakpoint-x-small":this.responsive&&"x-small"===this.breakpoint,"duet-choice-group-breakpoint-small":this.responsive&&"small"===this.breakpoint,"duet-choice-group-breakpoint-medium":this.responsive&&"medium"===this.breakpoint,"duet-choice-group-breakpoint-large":this.responsive&&"large"===this.breakpoint,"duet-choice-group-breakpoint-x-large":this.responsive&&"x-large"===this.breakpoint}},t("duet-fieldset",{label:this.label,labelHidden:this.labelHidden,compactLabel:!0,caption:this.caption,error:this.error,margin:this.margin,theme:this.theme},this.tooltip&&t("duet-tooltip",{slot:"tooltip",direction:this.tooltipDirection,accessibleInputLabel:this.label},this.tooltip),t("div",{class:{[this.choiceGroupName]:!0,"duet-no-stacking":!this.responsive}},t("slot",null))))}get element(){return i(this)}static get watchers(){return{value:["updateChoices"],disabled:["updateChoices"],name:["updateChoices"],direction:["updateChoices"],responsive:["updateChoices"]}}};w.style="*.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}";export{v as duet_choice,w as duet_choice_group}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Duet Design System
|
|
3
|
-
*/
|
|
4
|
-
System.register(["./p-a7c2017b.system.js","./p-33b3aba4.system.js","./p-5f6bd5db.system.js","./p-51721695.system.js","./p-43660fa9.system.js","./p-b6d51921.system.js"],(function(e){"use strict";var t,s,o,n,i,a,l,r,c,h,u,b;return{setters:[function(e){t=e.r;s=e.c;o=e.h;n=e.H;i=e.g},function(e){a=e.i},function(e){l=e.c},function(e){r=e.i},function(e){c=e.a;h=e.g;u=e.c;b=e.d},function(){}],execute:function(){var p='*,*::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-bottom:16px !important;display:block}.duet-show-more{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:600;line-height:1.5;color:rgb(0, 41, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.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)}';var m=e("duet_show_more",function(){function e(e){var o=this;t(this,e);this.duetToggle=s(this,"duetToggle",7);this.contentId=l("DuetShowMore");this.buttonId=l("DuetShowMoreButton");this.handleKeyDown=function(e){if(r(e)){o.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var t=!o.open;o.open=t;if(t){setTimeout((function(){o.contentElement.focus()}),100);setTimeout((function(){o.buttonAriaOpen=t}),500)}else{o.buttonAriaOpen=t}o.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=c();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=h(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=h(this.showLessLabelDefaults);this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"};this.showMoreAccessibleLabel=h(this.showMoreAccessibleLabelDefaults);this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"};this.showLessAccessibleLabel=h(this.showLessAccessibleLabelDefaults);this.margin="auto";this.open=false}e.prototype.componentWillLoad=function(){a(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){u(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){b(this)};e.prototype.render=function(){var e=this;return o(n,null,o("div",{class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},o("div",{ref:function(t){return e.contentElement=t},class:{content:true},id:this.contentId,tabindex:this.open?"0":""},o("div",{class:{"slotted-content":true}},o("slot",null))),o("duet-button",{id:this.buttonId,variation:"plain","accessible-label":this.buttonAriaOpen?this.showLessAccessibleLabel:this.showMoreAccessibleLabel,"accessible-expanded":this.buttonAriaOpen?"true":"false","accessible-controls":this.contentId,onClick:this.handleClick,onKeyDown:this.handleKeyDown,"icon-right":true,icon:this.open?"action-arrow-up-small":"action-arrow-down-small","icon-size":"medium-small",size:"small"},this.open?this.showLessLabel:this.showMoreLabel)))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());m.style=p}}}));
|