@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
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
export class DuetChip {
|
|
8
9
|
constructor() {
|
|
9
10
|
/**
|
|
@@ -11,12 +12,11 @@ export class DuetChip {
|
|
|
11
12
|
*/
|
|
12
13
|
this.chipId = createID("DuetChip");
|
|
13
14
|
this.popupSetUp = () => {
|
|
14
|
-
const popup =
|
|
15
|
+
const popup = document.querySelector(`duet-popup-menu#${this.popup}`);
|
|
15
16
|
if (popup) {
|
|
16
|
-
this.
|
|
17
|
+
this.popupElement = popup;
|
|
17
18
|
popup.controller = this.element;
|
|
18
|
-
const
|
|
19
|
-
const originalText = labelSpan.textContent;
|
|
19
|
+
const originalText = this.element.textContent;
|
|
20
20
|
const originalValue = this.value;
|
|
21
21
|
if (!popup.id) {
|
|
22
22
|
popup.id = "popup-menu";
|
|
@@ -36,13 +36,13 @@ export class DuetChip {
|
|
|
36
36
|
if (!item.active) {
|
|
37
37
|
clearActive();
|
|
38
38
|
item.active = true;
|
|
39
|
-
|
|
39
|
+
this.element.textContent = item.innerText;
|
|
40
40
|
this.value = value;
|
|
41
41
|
this.checked = true;
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
44
|
clearActive();
|
|
45
|
-
|
|
45
|
+
this.element.textContent = originalText;
|
|
46
46
|
this.value = originalValue;
|
|
47
47
|
this.checked = false;
|
|
48
48
|
}
|
|
@@ -51,8 +51,8 @@ export class DuetChip {
|
|
|
51
51
|
// Chrome will emit a separate click event on the chip after the popup is closed, resulting popup.toggle() to
|
|
52
52
|
// open the popup again. Firefox does not have this behavior.
|
|
53
53
|
setTimeout(() => {
|
|
54
|
-
if (this.
|
|
55
|
-
this.
|
|
54
|
+
if (this.popupElement.isOpen()) {
|
|
55
|
+
this.popupElement.hide();
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
});
|
|
@@ -113,10 +113,10 @@ export class DuetChip {
|
|
|
113
113
|
evt.preventDefault();
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
|
-
if (this.
|
|
116
|
+
if (this.popupElement) {
|
|
117
117
|
evt.stopPropagation();
|
|
118
118
|
evt.preventDefault();
|
|
119
|
-
this.
|
|
119
|
+
this.popupElement.toggle();
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
/**
|
|
@@ -128,10 +128,11 @@ export class DuetChip {
|
|
|
128
128
|
this.element.remove();
|
|
129
129
|
};
|
|
130
130
|
this.focus = false;
|
|
131
|
-
this.
|
|
131
|
+
this.popupElement = undefined;
|
|
132
132
|
this.popupOpen = undefined;
|
|
133
133
|
this.accessibleLabel = undefined;
|
|
134
134
|
this.variation = "button";
|
|
135
|
+
this.popup = undefined;
|
|
135
136
|
this.icon = "";
|
|
136
137
|
this.theme = "";
|
|
137
138
|
this.identifier = undefined;
|
|
@@ -157,6 +158,9 @@ export class DuetChip {
|
|
|
157
158
|
inheritGlobalTheme(this);
|
|
158
159
|
this.popupSetUp();
|
|
159
160
|
}
|
|
161
|
+
componentDidLoad() {
|
|
162
|
+
nudge(this);
|
|
163
|
+
}
|
|
160
164
|
/**
|
|
161
165
|
* Sets focus. Use this method instead of the global focus().
|
|
162
166
|
*/
|
|
@@ -171,7 +175,7 @@ export class DuetChip {
|
|
|
171
175
|
[`duet-chip-${this.variation}`]: true,
|
|
172
176
|
"duet-chip-focus": this.focus,
|
|
173
177
|
"duet-chip-has-icon": !!this.icon,
|
|
174
|
-
"duet-chip-has-popup": this.variation === "filter" && !!this.
|
|
178
|
+
"duet-chip-has-popup": this.variation === "filter" && !!this.popupElement,
|
|
175
179
|
"duet-theme-turva": this.theme === "turva",
|
|
176
180
|
"duet-chip-filter-checked": this.variation === "filter" && this.checked,
|
|
177
181
|
"duet-chip-radio-checked": this.variation === "radio" && this.checked,
|
|
@@ -183,7 +187,7 @@ export class DuetChip {
|
|
|
183
187
|
onBlur: this.onBlur,
|
|
184
188
|
ref: el => (this.focusableElement = el),
|
|
185
189
|
};
|
|
186
|
-
return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.
|
|
190
|
+
return (h(Host, null, this.variation === "button" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, "aria-label": this.accessibleLabel, "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)))), this.variation === "input" && (h("div", { class: classes }, h("button", Object.assign({ id: identifier, class: "duet-chip-input-button", "aria-label": this.accessibleLabel }, focusHandlers), h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), h("slot", null)), h("button", { class: "duet-chip-remove-button", onClick: this.onRemoveClick }, h("duet-icon", { name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (h("div", { class: classes }, h("input", Object.assign({ "aria-haspopup": this.popupElement && "menu", "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.popupElement ? (this.popupOpen ? "true" : "false") : undefined, "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null), this.popupElement && (h("div", { class: "duet-chip-popup-disclosure" }, h("duet-icon", { name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (h("div", { class: classes }, h("input", Object.assign({ "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "radio", name: this.name, value: this.value, checked: this.checked, onChange: this.onRadioChange, onClick: this.disabled ? evt => evt.preventDefault() : undefined }, focusHandlers)), h("label", { htmlFor: identifier }, h("div", { class: "duet-chip-icon-container" }, this.icon && (h("duet-icon", { name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), h("duet-icon", { name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" })), h("slot", null))))));
|
|
187
191
|
}
|
|
188
192
|
static get is() { return "duet-chip"; }
|
|
189
193
|
static get encapsulation() { return "shadow"; }
|
|
@@ -239,6 +243,23 @@ export class DuetChip {
|
|
|
239
243
|
"reflect": false,
|
|
240
244
|
"defaultValue": "\"button\""
|
|
241
245
|
},
|
|
246
|
+
"popup": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"mutable": false,
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "string",
|
|
251
|
+
"resolved": "string",
|
|
252
|
+
"references": {}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"optional": false,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "Id of the DuetPopupMenu that is controlled by the chip."
|
|
259
|
+
},
|
|
260
|
+
"attribute": "popup",
|
|
261
|
+
"reflect": false
|
|
262
|
+
},
|
|
242
263
|
"icon": {
|
|
243
264
|
"type": "string",
|
|
244
265
|
"mutable": false,
|
|
@@ -377,7 +398,7 @@ export class DuetChip {
|
|
|
377
398
|
static get states() {
|
|
378
399
|
return {
|
|
379
400
|
"focus": {},
|
|
380
|
-
"
|
|
401
|
+
"popupElement": {},
|
|
381
402
|
"popupOpen": {}
|
|
382
403
|
};
|
|
383
404
|
}
|
|
@@ -9,6 +9,7 @@ import { createID } from "../../utils/create-id";
|
|
|
9
9
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
10
10
|
import { isEscapeKey, isKeyboardClick, isQuestionKey } from "../../utils/keyboard-utils";
|
|
11
11
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
12
|
+
import { nudge } from "../../utils/nudge";
|
|
12
13
|
/**
|
|
13
14
|
* @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
|
|
14
15
|
* @slot label - Label content.
|
|
@@ -140,6 +141,9 @@ export class DuetChoice {
|
|
|
140
141
|
this.hasLabel = hasSlot(this.element, "label");
|
|
141
142
|
this.hasBeforeText = hasSlot(this.element, "before-text");
|
|
142
143
|
}
|
|
144
|
+
componentDidLoad() {
|
|
145
|
+
nudge(this);
|
|
146
|
+
}
|
|
143
147
|
connectedCallback() {
|
|
144
148
|
connectLanguageChangeObserver(this, [
|
|
145
149
|
{ prop: "accessibleLabelInfoButton", defaults: "accessibleLabelInfoButtonDefaults" },
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
import { findCheckedOption, watchForOptions } from "../../utils/watch-options";
|
|
7
8
|
const duetChoiceSelector = ":scope duet-choice:not(:scope duet-choice duet-choice-group duet-choice):not(:scope duet-choice duet-fieldset duet-choice)";
|
|
8
9
|
export class DuetChoiceGroup {
|
|
@@ -87,6 +88,9 @@ export class DuetChoiceGroup {
|
|
|
87
88
|
componentWillLoad() {
|
|
88
89
|
inheritGlobalTheme(this);
|
|
89
90
|
}
|
|
91
|
+
componentDidLoad() {
|
|
92
|
+
nudge(this);
|
|
93
|
+
}
|
|
90
94
|
/**
|
|
91
95
|
* Local methods
|
|
92
96
|
*/
|
|
@@ -7,6 +7,7 @@ import { h, Host } from "@stencil/core";
|
|
|
7
7
|
import { hasSlot, inheritGlobalTheme } from "../../common";
|
|
8
8
|
import { createID } from "../../utils/create-id";
|
|
9
9
|
import { isKeyboardClick } from "../../utils/keyboard-utils";
|
|
10
|
+
import { nudge } from "../../utils/nudge";
|
|
10
11
|
import { sanitizeString } from "../../utils/string-utils";
|
|
11
12
|
/**
|
|
12
13
|
* @part duet-collapsible-heading-content - piercing selector for styling the heading content
|
|
@@ -81,6 +82,9 @@ export class DuetCollapsible {
|
|
|
81
82
|
inheritGlobalTheme(this);
|
|
82
83
|
this.hasAfterHeading = hasSlot(this.element, "after-heading");
|
|
83
84
|
}
|
|
85
|
+
componentDidLoad() {
|
|
86
|
+
nudge(this);
|
|
87
|
+
}
|
|
84
88
|
/**
|
|
85
89
|
* Sets focus on the specified `duet-collapsible`. Use this method instead of the global
|
|
86
90
|
* `collapsible.focus()`.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
6
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
export class DuetContactCard {
|
|
8
9
|
constructor() {
|
|
9
10
|
/**
|
|
@@ -32,6 +33,9 @@ export class DuetContactCard {
|
|
|
32
33
|
componentWillLoad() {
|
|
33
34
|
inheritGlobalTheme(this);
|
|
34
35
|
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
nudge(this);
|
|
38
|
+
}
|
|
35
39
|
connectedCallback() {
|
|
36
40
|
connectLanguageChangeObserver(this);
|
|
37
41
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
export class DuetCookieConsent {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.handleClick = e => {
|
|
@@ -28,6 +29,9 @@ export class DuetCookieConsent {
|
|
|
28
29
|
componentWillLoad() {
|
|
29
30
|
inheritGlobalTheme(this);
|
|
30
31
|
}
|
|
32
|
+
componentDidLoad() {
|
|
33
|
+
nudge(this);
|
|
34
|
+
}
|
|
31
35
|
/**
|
|
32
36
|
* render() function.
|
|
33
37
|
* Always the last one in the class.
|
|
@@ -6,6 +6,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { FocusGuard } from "../../utils/focus-utils";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
import { nudge } from "../../utils/nudge";
|
|
9
10
|
import i18n from "./date-i18n";
|
|
10
11
|
import { DatePickerInput } from "./date-picker-input";
|
|
11
12
|
import { DatePickerMonth } from "./date-picker-month";
|
|
@@ -176,6 +177,9 @@ export class DuetDatePicker {
|
|
|
176
177
|
this.determineValidity(parseISODate(this.value));
|
|
177
178
|
this.updateInternalValue();
|
|
178
179
|
}
|
|
180
|
+
componentDidLoad() {
|
|
181
|
+
nudge(this);
|
|
182
|
+
}
|
|
179
183
|
componentDidUpdate() {
|
|
180
184
|
// we want to run this code _after_ render
|
|
181
185
|
// to ensure all elements are visible (and thus focusable)
|
|
@@ -6,6 +6,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
6
6
|
import { fieldSorter } from "../../utils/js-utils";
|
|
7
7
|
import { isKeyboardClick } from "../../utils/keyboard-utils";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
import { nudge } from "../../utils/nudge";
|
|
9
10
|
import { TableData } from "./duet-editable-table-tabledata";
|
|
10
11
|
export class DuetEditableTable {
|
|
11
12
|
constructor() {
|
|
@@ -66,6 +67,9 @@ export class DuetEditableTable {
|
|
|
66
67
|
this.hasHeadSlotLast = !!this.element.querySelector("[slot='thead-last']");
|
|
67
68
|
this.hasFootSlot = !!this.element.querySelector("[slot='tfoot']");
|
|
68
69
|
}
|
|
70
|
+
componentDidLoad() {
|
|
71
|
+
nudge(this);
|
|
72
|
+
}
|
|
69
73
|
connectedCallback() {
|
|
70
74
|
connectLanguageChangeObserver(this);
|
|
71
75
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
export class DuetEmptyState {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.theme = "";
|
|
@@ -15,6 +16,9 @@ export class DuetEmptyState {
|
|
|
15
16
|
componentWillLoad() {
|
|
16
17
|
inheritGlobalTheme(this);
|
|
17
18
|
}
|
|
19
|
+
componentDidLoad() {
|
|
20
|
+
nudge(this);
|
|
21
|
+
}
|
|
18
22
|
/**
|
|
19
23
|
* render() function
|
|
20
24
|
* Always the last one in the class.
|
|
@@ -111,4 +115,5 @@ export class DuetEmptyState {
|
|
|
111
115
|
}
|
|
112
116
|
};
|
|
113
117
|
}
|
|
118
|
+
static get elementRef() { return "element"; }
|
|
114
119
|
}
|
|
@@ -5,6 +5,7 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
import { hasSlot } from "../../common";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { createID } from "../../utils/create-id";
|
|
8
|
+
import { nudge } from "../../utils/nudge";
|
|
8
9
|
/**
|
|
9
10
|
* @slot unnamed default slot - The component’s primary content. All child nodes that do not have a slot attribute defined are inserted into this primary slot.
|
|
10
11
|
* @slot tooltip - Use to place a tooltip alongside the fieldset label.
|
|
@@ -34,6 +35,9 @@ export class DuetFieldset {
|
|
|
34
35
|
inheritGlobalTheme(this);
|
|
35
36
|
this.checkHasTooltip();
|
|
36
37
|
}
|
|
38
|
+
componentDidLoad() {
|
|
39
|
+
nudge(this);
|
|
40
|
+
}
|
|
37
41
|
/**
|
|
38
42
|
* render() function
|
|
39
43
|
* Always the last one in the class.
|
|
@@ -8,6 +8,7 @@ import { Build, Fragment, h } from "@stencil/core";
|
|
|
8
8
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
9
9
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
11
|
+
import { nudge } from "../../utils/nudge";
|
|
11
12
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
12
13
|
const i18n = {
|
|
13
14
|
fi: { lahi: "© LähiTapiola", turva: "© Turva" },
|
|
@@ -85,6 +86,9 @@ export class DuetFooter {
|
|
|
85
86
|
? Array.from(this.element.children).filter(el => el.matches("[slot='info']")).length > 0
|
|
86
87
|
: !!this.element.querySelector(":scope > [slot='info']");
|
|
87
88
|
}
|
|
89
|
+
componentDidLoad() {
|
|
90
|
+
nudge(this);
|
|
91
|
+
}
|
|
88
92
|
connectedCallback() {
|
|
89
93
|
connectLanguageChangeObserver(this, {
|
|
90
94
|
prop: "accessibleLabelExternal",
|
|
@@ -14,6 +14,7 @@ import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
|
14
14
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
15
15
|
import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEscapeKey, isSpaceKey, } from "../../utils/keyboard-utils";
|
|
16
16
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
17
|
+
import { nudge } from "../../utils/nudge";
|
|
17
18
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
18
19
|
import { DuetHeaderDropdown } from "./duet-header-dropdown";
|
|
19
20
|
import { DuetHeaderHamburger } from "./duet-header-hamburger";
|
|
@@ -258,6 +259,9 @@ export class DuetHeader {
|
|
|
258
259
|
inheritGlobalTheme(this);
|
|
259
260
|
this.refresh();
|
|
260
261
|
}
|
|
262
|
+
componentDidLoad() {
|
|
263
|
+
nudge(this);
|
|
264
|
+
}
|
|
261
265
|
connectedCallback() {
|
|
262
266
|
for (let i = 0; i < this.mql.length; i++) {
|
|
263
267
|
// addEventListener is not available in Stencil hydrate
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
import { sanitizeString } from "../../utils/string-utils";
|
|
7
8
|
import { getColorByName } from "../../utils/token-utils";
|
|
8
9
|
/**
|
|
@@ -25,6 +26,9 @@ export class DuetHeading {
|
|
|
25
26
|
componentWillLoad() {
|
|
26
27
|
inheritGlobalTheme(this);
|
|
27
28
|
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
nudge(this);
|
|
31
|
+
}
|
|
28
32
|
/**
|
|
29
33
|
* render() function
|
|
30
34
|
* Always the last one in the class.
|
|
@@ -124,6 +124,21 @@
|
|
|
124
124
|
margin: 0;
|
|
125
125
|
background: none;
|
|
126
126
|
}
|
|
127
|
+
@media (min-width: 48em) {
|
|
128
|
+
.duet-hero.duet-hero-campaign, .duet-hero.duet-hero-section {
|
|
129
|
+
min-height: 490px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
@media (min-width: 62em) {
|
|
133
|
+
.duet-hero.duet-hero-campaign, .duet-hero.duet-hero-section {
|
|
134
|
+
min-height: 540px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
@media (min-width: 76.25em) {
|
|
138
|
+
.duet-hero.duet-hero-campaign, .duet-hero.duet-hero-section {
|
|
139
|
+
min-height: 620px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
127
142
|
.duet-hero.duet-hero-campaign .background-area, .duet-hero.duet-hero-section .background-area {
|
|
128
143
|
height: 1px;
|
|
129
144
|
margin-bottom: -1px;
|
|
@@ -490,6 +505,21 @@
|
|
|
490
505
|
margin: 8rem 0 13rem;
|
|
491
506
|
}
|
|
492
507
|
}
|
|
508
|
+
@media (min-width: 48em) {
|
|
509
|
+
.duet-hero.duet-hero-section {
|
|
510
|
+
min-height: 490px;
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
@media (min-width: 62em) {
|
|
514
|
+
.duet-hero.duet-hero-section {
|
|
515
|
+
min-height: auto;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
@media (min-width: 76.25em) {
|
|
519
|
+
.duet-hero.duet-hero-section {
|
|
520
|
+
min-height: 560px;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
493
523
|
@media (min-width: 62em) {
|
|
494
524
|
.duet-hero.duet-hero-section .background img {
|
|
495
525
|
width: 100%;
|
|
@@ -6,6 +6,7 @@ import { h } from "@stencil/core";
|
|
|
6
6
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
7
7
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
9
|
+
import { nudge } from "../../utils/nudge";
|
|
9
10
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
10
11
|
/**
|
|
11
12
|
* @part duet-hero - piercing selector for styling the hero container
|
|
@@ -71,6 +72,9 @@ export class DuetHero {
|
|
|
71
72
|
this.hasSubHeadingSlot = !!this.element.querySelector('[slot="subheading"]');
|
|
72
73
|
this.refresh();
|
|
73
74
|
}
|
|
75
|
+
componentDidLoad() {
|
|
76
|
+
nudge(this);
|
|
77
|
+
}
|
|
74
78
|
connectedCallback() {
|
|
75
79
|
connectLanguageChangeObserver(this, {
|
|
76
80
|
prop: "accessibleLabelExternal",
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Build, h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
import { getColorByName, rgbaColorFromRgb } from "../../utils/token-utils";
|
|
7
8
|
import { buildIconUrl, fetchIconByUrl } from "./icon-utils";
|
|
8
9
|
export class DuetIcon {
|
|
@@ -32,6 +33,9 @@ export class DuetIcon {
|
|
|
32
33
|
}
|
|
33
34
|
this.loadIcon();
|
|
34
35
|
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
nudge(this);
|
|
38
|
+
}
|
|
35
39
|
async loadIcon() {
|
|
36
40
|
// static icon known at build-time, so we can set it synchronously
|
|
37
41
|
if (this.icon) {
|
|
@@ -9,6 +9,7 @@ import { createID } from "../../utils/create-id";
|
|
|
9
9
|
import { cleanValue, resetCursor } from "../../utils/input-utils";
|
|
10
10
|
import { isEnterKey, isEscapeKey } from "../../utils/keyboard-utils";
|
|
11
11
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
12
|
+
import { nudge } from "../../utils/nudge";
|
|
12
13
|
const icons = {
|
|
13
14
|
search: searchIcon,
|
|
14
15
|
email: emailIcon,
|
|
@@ -226,6 +227,7 @@ export class DuetInput {
|
|
|
226
227
|
this.isPasswordRevealed = false;
|
|
227
228
|
});
|
|
228
229
|
}
|
|
230
|
+
nudge(this);
|
|
229
231
|
}
|
|
230
232
|
connectedCallback() {
|
|
231
233
|
connectLanguageChangeObserver(this);
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
|
+
import { nudge } from "../../utils/nudge";
|
|
6
7
|
export class DuetLabel {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.theme = "";
|
|
@@ -16,6 +17,9 @@ export class DuetLabel {
|
|
|
16
17
|
componentWillLoad() {
|
|
17
18
|
inheritGlobalTheme(this);
|
|
18
19
|
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
nudge(this);
|
|
22
|
+
}
|
|
19
23
|
/**
|
|
20
24
|
* render() function
|
|
21
25
|
* Always the last one in the class.
|
|
@@ -131,4 +135,5 @@ export class DuetLabel {
|
|
|
131
135
|
}
|
|
132
136
|
};
|
|
133
137
|
}
|
|
138
|
+
static get elementRef() { return "element"; }
|
|
134
139
|
}
|
|
@@ -7,6 +7,7 @@ import { Build, Fragment, h, Host } from "@stencil/core";
|
|
|
7
7
|
import { DuetStringsExternalDefaults } from "../../common-strings";
|
|
8
8
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
9
9
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
10
|
+
import { nudge } from "../../utils/nudge";
|
|
10
11
|
/**
|
|
11
12
|
* @part duet-link - piercing selector for styling the link
|
|
12
13
|
* @part block-chevron - piercing selector for styling the block chevron
|
|
@@ -32,6 +33,9 @@ export class DuetLink {
|
|
|
32
33
|
componentWillLoad() {
|
|
33
34
|
inheritGlobalTheme(this);
|
|
34
35
|
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
nudge(this);
|
|
38
|
+
}
|
|
35
39
|
connectedCallback() {
|
|
36
40
|
connectLanguageChangeObserver(this, {
|
|
37
41
|
prop: "accessibleLabelExternal",
|
|
@@ -372,4 +376,5 @@ export class DuetLink {
|
|
|
372
376
|
}
|
|
373
377
|
};
|
|
374
378
|
}
|
|
379
|
+
static get elementRef() { return "element"; }
|
|
375
380
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { media_query_large, media_query_xx_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
5
|
import { Build, h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
/**
|
|
8
9
|
* @slot center - Slot for content in center.
|
|
9
10
|
* @slot right - Slot for content in right side.
|
|
@@ -111,6 +112,7 @@ export class DuetMenuBar {
|
|
|
111
112
|
this.scrollbarCheck();
|
|
112
113
|
this.scrollToActive();
|
|
113
114
|
}, 0);
|
|
115
|
+
nudge(this);
|
|
114
116
|
}
|
|
115
117
|
onWindowResize() {
|
|
116
118
|
clearTimeout(this.resizeTimer);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
export class DuetMenuBarButton {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.mql = [window.matchMedia(media_query_large.replace(/'/g, ""))];
|
|
@@ -37,6 +38,9 @@ export class DuetMenuBarButton {
|
|
|
37
38
|
componentWillLoad() {
|
|
38
39
|
inheritGlobalTheme(this);
|
|
39
40
|
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
nudge(this);
|
|
43
|
+
}
|
|
40
44
|
connectedCallback() {
|
|
41
45
|
this.changeIconSize();
|
|
42
46
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -5,6 +5,7 @@ import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
7
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
8
|
+
import { nudge } from "../../utils/nudge";
|
|
8
9
|
export class DuetMenuBarDropdown {
|
|
9
10
|
constructor() {
|
|
10
11
|
/**
|
|
@@ -52,6 +53,9 @@ export class DuetMenuBarDropdown {
|
|
|
52
53
|
componentWillLoad() {
|
|
53
54
|
inheritGlobalTheme(this);
|
|
54
55
|
}
|
|
56
|
+
componentDidLoad() {
|
|
57
|
+
nudge(this);
|
|
58
|
+
}
|
|
55
59
|
connectedCallback() {
|
|
56
60
|
this.changeIconSize();
|
|
57
61
|
for (let i = 0; i < this.mql.length; i++) {
|
package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
6
6
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
export class DuetMenuBarDropdownLink {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.getVariant = () => {
|
|
@@ -28,6 +29,9 @@ export class DuetMenuBarDropdownLink {
|
|
|
28
29
|
componentWillLoad() {
|
|
29
30
|
inheritGlobalTheme(this);
|
|
30
31
|
}
|
|
32
|
+
componentDidLoad() {
|
|
33
|
+
nudge(this);
|
|
34
|
+
}
|
|
31
35
|
handleEscape(e) {
|
|
32
36
|
if (isEscapeKey(e)) {
|
|
33
37
|
const dropdown = this.element.closest("duet-menu-bar-dropdown");
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { media_query_large } from "@duetds/tokens/lib/tokens.json";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
7
|
+
import { nudge } from "../../utils/nudge";
|
|
7
8
|
export class DuetMenuBarLink {
|
|
8
9
|
constructor() {
|
|
9
10
|
/**
|
|
@@ -32,6 +33,9 @@ export class DuetMenuBarLink {
|
|
|
32
33
|
componentWillLoad() {
|
|
33
34
|
inheritGlobalTheme(this);
|
|
34
35
|
}
|
|
36
|
+
componentDidLoad() {
|
|
37
|
+
nudge(this);
|
|
38
|
+
}
|
|
35
39
|
connectedCallback() {
|
|
36
40
|
this.changeIconSize();
|
|
37
41
|
for (let i = 0; i < this.mql.length; i++) {
|
|
@@ -8,6 +8,7 @@ import { createID } from "../../utils/create-id";
|
|
|
8
8
|
import { focusElement, FocusGuard } from "../../utils/focus-utils";
|
|
9
9
|
import { isEscapeKey } from "../../utils/keyboard-utils";
|
|
10
10
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
|
|
11
|
+
import { nudge } from "../../utils/nudge";
|
|
11
12
|
import { Teleport } from "../../utils/teleport";
|
|
12
13
|
// The transition below is slightly higher than the actual CSS transition as VoiceOver on
|
|
13
14
|
// iOS has otherwise problems moving the focus from modal back to the original element.
|
|
@@ -115,6 +116,7 @@ export class DuetModal {
|
|
|
115
116
|
this.open = true;
|
|
116
117
|
this.modalEl.classList.add("duet-disable-transitions");
|
|
117
118
|
}
|
|
119
|
+
nudge(this);
|
|
118
120
|
}
|
|
119
121
|
connectedCallback() {
|
|
120
122
|
connectLanguageChangeObserver(this, { prop: "accessibleCloseLabel", defaults: "accessibleCloseLabelDefaults" });
|
|
@@ -6,6 +6,7 @@ import { inheritGlobalTheme } from "../../common/themeable-component";
|
|
|
6
6
|
import { createID } from "../../utils/create-id";
|
|
7
7
|
import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey, } from "../../utils/keyboard-utils";
|
|
8
8
|
import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
|
|
9
|
+
import { nudge } from "../../utils/nudge";
|
|
9
10
|
import { parsePossibleJSON } from "../../utils/string-utils";
|
|
10
11
|
function toggleInArray(arr, item) {
|
|
11
12
|
return arr.includes(item) ? arr.filter(i => i !== item) : [...arr, item];
|
|
@@ -161,6 +162,9 @@ export class DuetMultiselect {
|
|
|
161
162
|
this.isCaptionVisible = !!this.caption;
|
|
162
163
|
this.refresh();
|
|
163
164
|
}
|
|
165
|
+
componentDidLoad() {
|
|
166
|
+
nudge(this);
|
|
167
|
+
}
|
|
164
168
|
connectedCallback() {
|
|
165
169
|
connectLanguageChangeObserver(this);
|
|
166
170
|
}
|