@duetds/components 7.0.12 → 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 +298 -38
- 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 +4 -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 +32 -3
- 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-a3fae3c7.js → focus-utils-09463cf4.js} +1 -1
- package/lib/cjs/{index-caae8c44.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/duet-popup-menu.js +2 -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 +35 -2
- 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 +4 -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 +33 -3
- 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-7cfffcaa.js → p-12a46182.js} +1 -1
- package/lib/dist-custom-elements/{p-7382fe25.js → p-1a8cb0ad.js} +1 -1
- package/lib/dist-custom-elements/{p-1b74fb07.js → p-1d90b10e.js} +1 -1
- package/lib/dist-custom-elements/{p-f389f1b2.js → p-21dd956e.js} +8 -3
- package/lib/dist-custom-elements/p-3ae39071.js +16 -0
- package/lib/dist-custom-elements/{p-43198798.js → p-479fa83d.js} +7 -3
- package/lib/dist-custom-elements/{p-5f2456ef.js → p-4d9d4c43.js} +10 -2
- package/lib/dist-custom-elements/{p-84ab3b95.js → p-53148470.js} +7 -2
- package/lib/dist-custom-elements/{p-4c347387.js → p-53fba128.js} +6 -1
- package/lib/dist-custom-elements/{p-33120def.js → p-67b279fa.js} +5 -1
- package/lib/dist-custom-elements/{p-0aba8228.js → p-6816fd1b.js} +8 -5
- package/lib/dist-custom-elements/{p-6867b3fe.js → p-6958bba3.js} +15 -10
- package/lib/dist-custom-elements/{p-2b7ac761.js → p-6a66573f.js} +8 -4
- package/lib/dist-custom-elements/{p-23e5fa7c.js → p-72c9e944.js} +6 -1
- package/lib/dist-custom-elements/{p-64bb8758.js → p-77c93063.js} +1 -1
- package/lib/dist-custom-elements/{p-dc75d108.js → p-7c6ee265.js} +8 -10
- package/lib/dist-custom-elements/{p-b09581ca.js → p-85087518.js} +6 -2
- package/lib/dist-custom-elements/{p-882ef6ce.js → p-87cf7266.js} +13 -11
- package/lib/dist-custom-elements/{p-dfcd1096.js → p-89dec98e.js} +6 -2
- package/lib/dist-custom-elements/{p-e681c310.js → p-954d4096.js} +12 -10
- package/lib/dist-custom-elements/{p-d7be7de5.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-07bc27ea.js → p-a5b5343b.js} +12 -8
- package/lib/dist-custom-elements/{p-baaf323b.js → p-ad704699.js} +20 -3
- package/lib/dist-custom-elements/{p-1b13f80e.js → p-c2533c03.js} +1 -1
- package/lib/dist-custom-elements/{p-cb99a590.js → p-cedaa97e.js} +1 -1
- package/lib/dist-custom-elements/{p-7fa28910.js → p-d6e49c93.js} +6 -2
- package/lib/dist-custom-elements/{p-cc5e0445.js → p-d8859df9.js} +1 -1
- package/lib/dist-custom-elements/{p-bb4a2438.js → p-d8c53f43.js} +1 -1
- package/lib/dist-custom-elements/{p-31b0690c.js → p-dd33aa4e.js} +1 -1
- package/lib/dist-custom-elements/{p-ed5d7c83.js → p-decdd69c.js} +5 -1
- package/lib/dist-custom-elements/{p-3186fb9f.js → p-e611a3df.js} +5 -1
- package/lib/dist-custom-elements/{p-12580504.js → p-e90b70ac.js} +1 -1
- package/lib/dist-custom-elements/{p-574d75b2.js → p-f7337164.js} +6 -1
- package/lib/dist-custom-elements/{p-80231805.js → p-fc3ae836.js} +1 -1
- package/lib/dist-custom-elements/{p-391dc2ef.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-0852e478.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-9329be40.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-c944d048.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-3d89fa32.entry.js → p-34aa54e1.entry.js} +1 -1
- package/lib/duet/p-3538b0af.entry.js +4 -0
- package/lib/duet/{p-78b45ec6.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-7a429565.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-fa0d520a.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-e8153582.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-dd298295.system.entry.js → p-8156e5a5.system.entry.js} +1 -1
- package/lib/duet/p-8304e300.system.entry.js +4 -0
- package/lib/duet/p-84390ead.entry.js +4 -0
- package/lib/duet/{p-d09f834f.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-8ea61384.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-6cd9a2a7.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-1d345ae7.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-7b96058a.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-a322b729.entry.js +4 -0
- 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-c8cfeb6d.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-24aa9591.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-56970770.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-54bf0354.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-1ee69ea1.system.entry.js → p-d86480ea.system.entry.js} +1 -1
- package/lib/duet/{p-667b24f7.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-228969f2.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-3da4bc97.system.entry.js → p-f9f1c707.system.entry.js} +1 -1
- package/lib/duet/p-fa5bcc42.system.js +4 -0
- package/lib/duet/{p-cbd6baf4.entry.js → p-fb238069.entry.js} +1 -1
- package/lib/duet/{p-02646df4.entry.js → p-fb7d7222.entry.js} +1 -1
- package/lib/duet/{p-4b2edf92.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 +4 -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 +32 -3
- 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-9d791cc9.js → focus-utils-8fc4feb5.js} +1 -1
- package/lib/esm/{index-4e67e7db.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 +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +2 -2
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +2 -2
- 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-8fc4feb5.js +4 -0
- package/lib/esm-es5/{index-4e67e7db.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/duet-slideout.d.ts +5 -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-029be4ef.entry.js +0 -4
- package/lib/duet/p-0481ad6a.system.entry.js +0 -4
- package/lib/duet/p-056c8418.system.entry.js +0 -4
- package/lib/duet/p-0768183c.entry.js +0 -4
- package/lib/duet/p-0bafe70f.system.entry.js +0 -4
- package/lib/duet/p-0f19fb78.js +0 -4
- package/lib/duet/p-0f3ac34b.entry.js +0 -4
- package/lib/duet/p-11f73648.entry.js +0 -4
- package/lib/duet/p-1598bff0.system.entry.js +0 -4
- package/lib/duet/p-1773eef1.entry.js +0 -4
- package/lib/duet/p-1a84a12e.system.entry.js +0 -4
- package/lib/duet/p-1ae4025b.system.entry.js +0 -4
- package/lib/duet/p-1c4188fa.system.entry.js +0 -4
- package/lib/duet/p-1efda4c7.entry.js +0 -4
- package/lib/duet/p-1fd95298.system.entry.js +0 -4
- package/lib/duet/p-2175ed21.system.entry.js +0 -4
- package/lib/duet/p-25b55443.entry.js +0 -4
- package/lib/duet/p-26117eaf.system.entry.js +0 -4
- package/lib/duet/p-272d5428.system.entry.js +0 -4
- package/lib/duet/p-2abbdacf.entry.js +0 -4
- package/lib/duet/p-2bf922c1.system.js +0 -4
- package/lib/duet/p-2c9669e1.entry.js +0 -4
- package/lib/duet/p-2d5cc2e2.entry.js +0 -4
- package/lib/duet/p-2e3f5a08.system.entry.js +0 -4
- package/lib/duet/p-3078ef63.entry.js +0 -4
- package/lib/duet/p-32b89b56.system.entry.js +0 -4
- package/lib/duet/p-3521d168.system.entry.js +0 -4
- package/lib/duet/p-35648f8f.system.entry.js +0 -4
- package/lib/duet/p-3aed6255.system.entry.js +0 -4
- package/lib/duet/p-3fcc633b.entry.js +0 -4
- package/lib/duet/p-421c1632.entry.js +0 -4
- package/lib/duet/p-4362ce6c.system.entry.js +0 -4
- package/lib/duet/p-4418898f.system.entry.js +0 -4
- package/lib/duet/p-4733ad1d.system.entry.js +0 -4
- package/lib/duet/p-4742f8de.system.entry.js +0 -4
- package/lib/duet/p-4a9dcfad.entry.js +0 -4
- package/lib/duet/p-4aa7baaf.entry.js +0 -4
- package/lib/duet/p-4b71addd.system.entry.js +0 -4
- package/lib/duet/p-4b89c97b.entry.js +0 -4
- package/lib/duet/p-4e835302.system.entry.js +0 -4
- package/lib/duet/p-4ea0128e.system.entry.js +0 -4
- package/lib/duet/p-58622e2e.entry.js +0 -4
- package/lib/duet/p-5a48a309.system.entry.js +0 -4
- package/lib/duet/p-5ac22332.entry.js +0 -4
- package/lib/duet/p-5b418dbb.entry.js +0 -4
- package/lib/duet/p-5ba09f38.entry.js +0 -4
- package/lib/duet/p-5ef641ff.system.entry.js +0 -4
- package/lib/duet/p-6255710e.entry.js +0 -4
- package/lib/duet/p-64164662.entry.js +0 -4
- package/lib/duet/p-64e6988d.system.entry.js +0 -4
- package/lib/duet/p-668573a9.system.entry.js +0 -4
- package/lib/duet/p-669ac83a.entry.js +0 -4
- package/lib/duet/p-671d3a25.entry.js +0 -4
- package/lib/duet/p-6a8943bb.system.entry.js +0 -4
- package/lib/duet/p-6b8da313.system.entry.js +0 -4
- package/lib/duet/p-6e939587.system.entry.js +0 -4
- package/lib/duet/p-70c50e9c.entry.js +0 -4
- package/lib/duet/p-712c2eb8.system.js +0 -4
- package/lib/duet/p-72bf6e7c.entry.js +0 -4
- package/lib/duet/p-72c9518b.system.entry.js +0 -4
- package/lib/duet/p-737b7907.entry.js +0 -4
- package/lib/duet/p-7394e25f.js +0 -4
- package/lib/duet/p-75b83038.entry.js +0 -4
- package/lib/duet/p-7725c6ba.entry.js +0 -4
- package/lib/duet/p-77788ca3.system.entry.js +0 -4
- package/lib/duet/p-79195de4.system.entry.js +0 -4
- package/lib/duet/p-7d893e0e.system.entry.js +0 -4
- package/lib/duet/p-7fe774c3.system.entry.js +0 -4
- package/lib/duet/p-81d26fa7.entry.js +0 -4
- package/lib/duet/p-83b14d8d.system.entry.js +0 -4
- package/lib/duet/p-84029a06.entry.js +0 -4
- package/lib/duet/p-85b087f9.system.entry.js +0 -4
- package/lib/duet/p-881d6701.entry.js +0 -4
- package/lib/duet/p-88b9b08d.system.entry.js +0 -4
- package/lib/duet/p-8de878be.entry.js +0 -4
- package/lib/duet/p-8f61a9c0.entry.js +0 -4
- package/lib/duet/p-959d9711.entry.js +0 -4
- package/lib/duet/p-963a1f88.entry.js +0 -4
- package/lib/duet/p-978a8de4.entry.js +0 -4
- package/lib/duet/p-978c4aad.system.entry.js +0 -4
- package/lib/duet/p-9a48d06b.system.entry.js +0 -4
- package/lib/duet/p-9a9721ba.entry.js +0 -4
- package/lib/duet/p-9c5609e2.entry.js +0 -4
- package/lib/duet/p-9ce3d583.system.entry.js +0 -4
- package/lib/duet/p-9f1e6875.entry.js +0 -4
- package/lib/duet/p-a274d41f.system.entry.js +0 -4
- package/lib/duet/p-a5468bb1.system.entry.js +0 -4
- package/lib/duet/p-a6f53f4c.entry.js +0 -4
- package/lib/duet/p-aab07b21.system.entry.js +0 -4
- package/lib/duet/p-ad15eb07.system.entry.js +0 -4
- package/lib/duet/p-ad2e5ca1.system.entry.js +0 -4
- package/lib/duet/p-afb4e9a2.entry.js +0 -4
- package/lib/duet/p-b36de54a.entry.js +0 -4
- package/lib/duet/p-b5f4b891.entry.js +0 -4
- package/lib/duet/p-b61e227e.entry.js +0 -4
- package/lib/duet/p-b61e487c.system.entry.js +0 -4
- package/lib/duet/p-b7046095.entry.js +0 -4
- package/lib/duet/p-b99515a3.entry.js +0 -4
- package/lib/duet/p-ba932347.entry.js +0 -4
- package/lib/duet/p-bbbc3c68.system.entry.js +0 -4
- package/lib/duet/p-c00aa8e3.entry.js +0 -4
- package/lib/duet/p-c0d97cd4.entry.js +0 -4
- package/lib/duet/p-c0ec6576.entry.js +0 -4
- package/lib/duet/p-c28932f1.system.entry.js +0 -4
- package/lib/duet/p-c5ec657f.entry.js +0 -4
- package/lib/duet/p-c79008b6.system.entry.js +0 -4
- package/lib/duet/p-c7e98b4d.entry.js +0 -4
- package/lib/duet/p-c95084b4.system.entry.js +0 -4
- package/lib/duet/p-c9d20740.system.entry.js +0 -4
- package/lib/duet/p-cbd12d28.system.entry.js +0 -4
- package/lib/duet/p-cdfb3f0d.entry.js +0 -4
- package/lib/duet/p-ce25e402.system.entry.js +0 -4
- package/lib/duet/p-d4903d4e.system.entry.js +0 -4
- package/lib/duet/p-d5857745.entry.js +0 -4
- package/lib/duet/p-dbe1972d.entry.js +0 -4
- package/lib/duet/p-dc2ad84b.system.entry.js +0 -4
- package/lib/duet/p-dd835e61.system.entry.js +0 -4
- package/lib/duet/p-e08b30ff.system.entry.js +0 -4
- package/lib/duet/p-e0e0599e.entry.js +0 -4
- package/lib/duet/p-e1edc035.entry.js +0 -4
- package/lib/duet/p-e64b7188.entry.js +0 -4
- package/lib/duet/p-e837f021.system.entry.js +0 -4
- package/lib/duet/p-ea0abeb5.entry.js +0 -4
- package/lib/duet/p-ea0d1d98.entry.js +0 -4
- package/lib/duet/p-edddc79c.system.entry.js +0 -4
- package/lib/duet/p-ee89748e.system.entry.js +0 -4
- package/lib/duet/p-f19049b2.system.entry.js +0 -4
- package/lib/duet/p-f4101fbc.system.entry.js +0 -4
- package/lib/duet/p-f932476c.system.entry.js +0 -4
- package/lib/duet/p-f9e9a5d2.entry.js +0 -4
- package/lib/duet/p-fba56b19.entry.js +0 -4
- package/lib/duet/p-fbea12f3.system.entry.js +0 -4
- package/lib/duet/p-fbff318d.entry.js +0 -4
- package/lib/duet/p-fd26a2f4.entry.js +0 -4
- package/lib/esm-es5/focus-utils-9d791cc9.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
|
}
|