@duetds/components 6.11.0 → 6.11.2
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 +183 -71
- package/lib/cjs/duet-action-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-alert.cjs.entry.js +1 -1
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +1 -1
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
- package/lib/cjs/duet-chip.cjs.entry.js +1 -1
- package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
- package/lib/cjs/duet-combobox.cjs.entry.js +1 -1
- package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +52 -5
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +1 -1
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +1 -1
- package/lib/cjs/duet-input_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -2
- package/lib/cjs/duet-modal.cjs.entry.js +2 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +23 -4
- package/lib/cjs/duet-nav.cjs.entry.js +1 -1
- package/lib/cjs/duet-notification_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-number-input.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
- package/lib/cjs/duet-pagination_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-popup-menu.cjs.entry.js +6 -33
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +1 -1
- package/lib/cjs/duet-shaped-image.cjs.entry.js +1 -1
- package/lib/cjs/duet-show-more.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -1
- package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +92 -0
- package/lib/cjs/duet-tooltip.cjs.entry.js +35 -50
- package/lib/cjs/duet-tray.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{focus-utils-f19181d6.js → focus-utils-e486f272.js} +1 -1
- package/lib/cjs/{index-ef0568d5.js → index-04de4d35.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/{floating-ui.dom.esm-3801794e.js → teleport-d79735ca.js} +36 -0
- package/lib/collection/collection-manifest.json +2 -1
- package/lib/collection/components/duet-button/duet-button.css +22 -1
- package/lib/collection/components/duet-input/duet-input.css +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +37 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +39 -2
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +1 -0
- package/lib/collection/components/duet-table/duet-table.css +13 -11
- package/lib/collection/components/duet-table/duet-table.js +10 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +87 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +175 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +2 -0
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +9 -12
- package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -61
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +38 -47
- package/lib/collection/components/duet-upload/duet-upload.js +14 -4
- package/lib/collection/components/duet-upload/upload-validators.js +19 -0
- package/lib/collection/utils/teleport.js +11 -5
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +3 -3
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -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 +2 -2
- package/lib/dist-custom-elements/duet-choice-group.js +17 -11
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +2 -2
- package/lib/dist-custom-elements/duet-combobox.js +2 -2
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +25 -19
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -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 +4 -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 +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +9 -9
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +1 -1
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -3
- package/lib/dist-custom-elements/duet-modal.js +7 -7
- package/lib/dist-custom-elements/duet-multiselect.js +44 -18
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +4 -4
- package/lib/dist-custom-elements/duet-notification.js +2 -2
- package/lib/dist-custom-elements/duet-number-input.js +23 -17
- package/lib/dist-custom-elements/duet-page-heading.js +2 -2
- package/lib/dist-custom-elements/duet-pagination.js +7 -7
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +2 -2
- package/lib/dist-custom-elements/duet-popup-menu.js +2 -30
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +3 -3
- package/lib/dist-custom-elements/duet-radio-group.js +17 -11
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -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 +5 -5
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +2 -2
- package/lib/dist-custom-elements/duet-slideout.js +2 -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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +3 -2
- package/lib/dist-custom-elements/duet-tab-group.js +27 -21
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +21 -15
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-button.d.ts +11 -0
- package/lib/dist-custom-elements/duet-tooltip-button.js +9 -0
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +3 -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 +58 -20
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-1f5d4fdb.js → p-2159ffc3.js} +2 -2
- package/lib/dist-custom-elements/{p-44376288.js → p-229871c3.js} +5 -5
- package/lib/dist-custom-elements/{p-cedbe8b5.js → p-2bd44c3c.js} +3 -3
- package/lib/dist-custom-elements/{p-62d5eeeb.js → p-2ca516d3.js} +2 -2
- package/lib/dist-custom-elements/{p-baccad0b.js → p-32fdcec8.js} +1 -1
- package/lib/dist-custom-elements/{p-85edc0fe.js → p-351b0f8c.js} +1 -1
- package/lib/dist-custom-elements/p-411af53d.js +145 -0
- package/lib/dist-custom-elements/{p-238d0ad2.js → p-44316a49.js} +1 -1
- package/lib/dist-custom-elements/{p-773bf99a.js → p-4f3d4b28.js} +1 -1
- package/lib/dist-custom-elements/p-66ab9994.js +273 -0
- package/lib/dist-custom-elements/{p-ba31dce0.js → p-67584a63.js} +3 -3
- package/lib/dist-custom-elements/{p-0c506783.js → p-726f277c.js} +5 -5
- package/lib/dist-custom-elements/{p-757bf6af.js → p-748fb4e9.js} +1 -1
- package/lib/{esm/floating-ui.dom.esm-37dc174a.js → dist-custom-elements/p-784fe90e.js} +36 -1
- package/lib/dist-custom-elements/{p-b761b810.js → p-7a906a81.js} +2 -2
- package/lib/dist-custom-elements/{p-0ada372b.js → p-7c68ac5a.js} +44 -55
- package/lib/dist-custom-elements/{p-55c2bb2d.js → p-7ece12ec.js} +1 -1
- package/lib/dist-custom-elements/{p-ca8561b3.js → p-9dc40c4f.js} +22 -16
- package/lib/dist-custom-elements/{p-31eb790f.js → p-a5cb00f4.js} +2 -2
- package/lib/dist-custom-elements/{p-c35ceaed.js → p-b244b9d4.js} +1 -1
- package/lib/dist-custom-elements/{p-f462e031.js → p-b260c7b8.js} +1 -1
- package/lib/dist-custom-elements/{p-2c9478af.js → p-b4163126.js} +1 -1
- package/lib/dist-custom-elements/{p-dfbbdce3.js → p-baa9e0f3.js} +1 -1
- package/lib/dist-custom-elements/{p-980b82ed.js → p-c56b4bad.js} +1 -1
- package/lib/dist-custom-elements/{p-e71e9330.js → p-c624c26b.js} +17 -11
- package/lib/dist-custom-elements/{p-00416416.js → p-ce09b821.js} +1 -1
- package/lib/dist-custom-elements/{p-1212aab5.js → p-d9bf49cf.js} +1 -1
- package/lib/dist-custom-elements/{p-0aeec550.js → p-df34106b.js} +1 -1
- package/lib/dist-custom-elements/p-e22956bf.js +72 -0
- package/lib/dist-custom-elements/{p-04bb5c9f.js → p-e354b687.js} +1 -1
- package/lib/dist-custom-elements/{p-264ce363.js → p-e4198c92.js} +1 -1
- package/lib/dist-custom-elements/p-f13081a0.js +87 -0
- package/lib/dist-custom-elements/{p-42fe016c.js → p-f30df343.js} +1 -1
- package/lib/dist-custom-elements/{p-127ad24e.js → p-f79fe19b.js} +1 -1
- package/lib/dist-custom-elements/{p-7d158728.js → p-f9076d3e.js} +10 -10
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/p-00cf42c2.system.js +4 -0
- package/lib/duet/p-00ff74e5.system.entry.js +4 -0
- package/lib/duet/{p-8fe534ac.entry.js → p-02c5180a.entry.js} +1 -1
- package/lib/duet/p-042b1636.entry.js +4 -0
- package/lib/duet/p-05dc550e.entry.js +4 -0
- package/lib/duet/{p-6e8dbf19.system.entry.js → p-07bea2fe.system.entry.js} +1 -1
- package/lib/duet/{p-015f92ba.system.entry.js → p-0e6350bf.system.entry.js} +1 -1
- package/lib/duet/{p-2867f068.system.entry.js → p-1002e2ae.system.entry.js} +1 -1
- package/lib/duet/{p-4b9c271c.entry.js → p-107887be.entry.js} +1 -1
- package/lib/duet/{p-42e29141.system.entry.js → p-11c031c1.system.entry.js} +1 -1
- package/lib/duet/{p-864ccce8.system.entry.js → p-1274aa0f.system.entry.js} +1 -1
- package/lib/duet/{p-dc003f39.entry.js → p-14fc2fba.entry.js} +1 -1
- package/lib/duet/{p-cd1ed6f6.entry.js → p-1507d44f.entry.js} +1 -1
- package/lib/duet/{p-8cde4aa3.entry.js → p-164aa67a.entry.js} +1 -1
- package/lib/duet/{p-8d1df4a0.entry.js → p-18607658.entry.js} +1 -1
- package/lib/duet/{p-c8967f73.system.entry.js → p-197496f4.system.entry.js} +1 -1
- package/lib/duet/{p-c1b71a60.entry.js → p-19babdcf.entry.js} +1 -1
- package/lib/duet/{p-90b0a60f.system.entry.js → p-1a5b2354.system.entry.js} +1 -1
- package/lib/duet/{p-2bfb9cf4.entry.js → p-1dc34d52.entry.js} +1 -1
- package/lib/duet/p-1f2686b7.system.entry.js +4 -0
- package/lib/duet/{p-3a47193c.entry.js → p-20a3bf2b.entry.js} +1 -1
- package/lib/duet/p-23ba8301.entry.js +4 -0
- package/lib/duet/{p-84848786.entry.js → p-247f5600.entry.js} +1 -1
- package/lib/duet/{p-21e22519.system.entry.js → p-262f4bf7.system.entry.js} +1 -1
- package/lib/duet/{p-79b6ac98.js → p-27530b53.js} +1 -1
- package/lib/duet/{p-379b7a5b.system.entry.js → p-27c853fe.system.entry.js} +1 -1
- package/lib/duet/{p-200f1abc.entry.js → p-2a49661d.entry.js} +1 -1
- package/lib/duet/{p-440aff1c.system.entry.js → p-2a6ca4ea.system.entry.js} +1 -1
- package/lib/duet/{p-3dbbd772.entry.js → p-2b1d7c14.entry.js} +1 -1
- package/lib/duet/{p-5ba959af.system.entry.js → p-2d1e8451.system.entry.js} +1 -1
- package/lib/duet/{p-03b229f9.system.entry.js → p-2d4c9a5b.system.entry.js} +1 -1
- package/lib/duet/{p-f15e031a.system.entry.js → p-2dd573a3.system.entry.js} +1 -1
- package/lib/duet/{p-6fba1a6d.entry.js → p-2ec51250.entry.js} +1 -1
- package/lib/duet/{p-84492c72.entry.js → p-2f35384b.entry.js} +1 -1
- package/lib/duet/p-2f3e999c.system.entry.js +4 -0
- package/lib/duet/p-30218ca6.system.entry.js +4 -0
- package/lib/duet/{p-6a1f6639.system.entry.js → p-31441d04.system.entry.js} +1 -1
- package/lib/duet/{p-3499c5ce.system.entry.js → p-375a323f.system.entry.js} +1 -1
- package/lib/duet/{p-4f49a9ca.entry.js → p-37fb65e4.entry.js} +1 -1
- package/lib/duet/{p-caf1d401.entry.js → p-3b651d8c.entry.js} +1 -1
- package/lib/duet/{p-26fc5f52.system.entry.js → p-3ba5bafd.system.entry.js} +1 -1
- package/lib/duet/{p-e414a557.js → p-3c2ae0d5.js} +1 -1
- package/lib/duet/{p-0a5bea68.entry.js → p-3ca2dafc.entry.js} +1 -1
- package/lib/duet/p-3d8f8731.entry.js +4 -0
- package/lib/duet/{p-d58ad6fe.system.entry.js → p-3d94b518.system.entry.js} +1 -1
- package/lib/duet/{p-9a9bc779.entry.js → p-3f96bb94.entry.js} +1 -1
- package/lib/duet/{p-b5546c64.entry.js → p-3fcc6db9.entry.js} +1 -1
- package/lib/duet/{p-e66b2cf4.entry.js → p-475d6e82.entry.js} +1 -1
- package/lib/duet/{p-762f26d7.entry.js → p-489c0d61.entry.js} +1 -1
- package/lib/duet/{p-9b96a374.entry.js → p-4aa7c43e.entry.js} +1 -1
- package/lib/duet/{p-6105d937.entry.js → p-4c063f5f.entry.js} +1 -1
- package/lib/duet/{p-b6d43529.entry.js → p-57fbcba7.entry.js} +1 -1
- package/lib/duet/{p-3a9e4386.system.entry.js → p-581baf04.system.entry.js} +1 -1
- package/lib/duet/{p-2827e61e.system.entry.js → p-5aa537c3.system.entry.js} +1 -1
- package/lib/duet/{p-1447cb8a.system.entry.js → p-5b27a74d.system.entry.js} +1 -1
- package/lib/duet/{p-75d98b0c.system.entry.js → p-5ccd0a8a.system.entry.js} +1 -1
- package/lib/duet/{p-ad3c2f28.entry.js → p-5d5f6c7c.entry.js} +1 -1
- package/lib/duet/{p-1eb8f4fe.system.entry.js → p-5e96a337.system.entry.js} +1 -1
- package/lib/duet/{p-358f27d4.system.entry.js → p-6049c423.system.entry.js} +1 -1
- package/lib/duet/{p-a481cf6f.entry.js → p-60b48a3d.entry.js} +1 -1
- package/lib/duet/{p-0de1d79f.entry.js → p-6586bc19.entry.js} +1 -1
- package/lib/duet/{p-95a2dc66.system.entry.js → p-66604d21.system.entry.js} +1 -1
- package/lib/duet/{p-a4f63bc8.entry.js → p-66dfe352.entry.js} +1 -1
- package/lib/duet/{p-19c4479c.entry.js → p-6753d3e9.entry.js} +1 -1
- package/lib/duet/{p-1b7bb41b.system.entry.js → p-6999dcca.system.entry.js} +1 -1
- package/lib/duet/{p-cfdd8822.system.entry.js → p-6a640a77.system.entry.js} +1 -1
- package/lib/duet/{p-30c6c9f0.entry.js → p-6ecf1c48.entry.js} +1 -1
- package/lib/duet/{p-fa579e10.system.entry.js → p-72e1da72.system.entry.js} +1 -1
- package/lib/duet/{p-35fddc0c.system.entry.js → p-7431d1f1.system.entry.js} +1 -1
- package/lib/duet/{p-bdd55461.system.entry.js → p-747807c9.system.entry.js} +1 -1
- package/lib/duet/{p-e009dd0e.entry.js → p-78207603.entry.js} +1 -1
- package/lib/duet/{p-c2860fc6.system.entry.js → p-7a0c7e22.system.entry.js} +1 -1
- package/lib/duet/{p-e53475fd.system.entry.js → p-7b8bd6ae.system.entry.js} +1 -1
- package/lib/duet/{p-a9dee517.system.entry.js → p-7d15ac32.system.entry.js} +1 -1
- package/lib/duet/{p-b29fac9e.entry.js → p-7de54682.entry.js} +1 -1
- package/lib/duet/{p-e0711844.system.entry.js → p-807acf6d.system.entry.js} +1 -1
- package/lib/duet/{p-ebd0deb2.entry.js → p-8459e611.entry.js} +1 -1
- package/lib/duet/{p-890ce3fa.entry.js → p-86c132c9.entry.js} +1 -1
- package/lib/duet/{p-2b79476c.system.entry.js → p-88b565dc.system.entry.js} +1 -1
- package/lib/duet/{p-deb6c0b1.system.entry.js → p-892dab61.system.entry.js} +1 -1
- package/lib/duet/{p-a7925c2c.system.entry.js → p-8ac9042e.system.entry.js} +1 -1
- package/lib/duet/{p-16493302.system.entry.js → p-8b533166.system.entry.js} +1 -1
- package/lib/duet/p-8c7ae2a9.system.js +4 -0
- package/lib/duet/p-8f416ae3.entry.js +4 -0
- package/lib/duet/{p-6c7a20e1.system.entry.js → p-9355b478.system.entry.js} +1 -1
- package/lib/duet/{p-312ae93d.system.entry.js → p-9364781c.system.entry.js} +2 -2
- package/lib/duet/{p-a5ee6446.entry.js → p-949c4fd0.entry.js} +1 -1
- package/lib/duet/{p-de933c56.system.entry.js → p-94ecf766.system.entry.js} +1 -1
- package/lib/duet/{p-1afb6da1.system.entry.js → p-9793321f.system.entry.js} +1 -1
- package/lib/duet/{p-22b301c0.entry.js → p-97b7d224.entry.js} +1 -1
- package/lib/duet/{p-798f633d.system.entry.js → p-9915e4e4.system.entry.js} +1 -1
- package/lib/duet/{p-49c0b3f8.entry.js → p-994fd476.entry.js} +1 -1
- package/lib/duet/{p-cad183f3.entry.js → p-99cc8fb5.entry.js} +1 -1
- package/lib/duet/{p-07b68373.entry.js → p-9e675661.entry.js} +1 -1
- package/lib/duet/{p-ed2fa79e.entry.js → p-9fbdd8b6.entry.js} +1 -1
- package/lib/duet/{p-ae4927ce.entry.js → p-a11c326b.entry.js} +1 -1
- package/lib/duet/{p-be8e6a2f.entry.js → p-a1d40591.entry.js} +1 -1
- package/lib/duet/{p-6ea838bf.entry.js → p-a262eecf.entry.js} +1 -1
- package/lib/duet/p-a47b67e2.system.entry.js +4 -0
- package/lib/duet/{p-61611577.entry.js → p-a6307cb3.entry.js} +1 -1
- package/lib/duet/{p-32d6a948.system.entry.js → p-a6b44386.system.entry.js} +1 -1
- package/lib/duet/{p-c3bf4ada.system.entry.js → p-a77b749b.system.entry.js} +1 -1
- package/lib/duet/{p-d86b661a.entry.js → p-a829f5f4.entry.js} +1 -1
- package/lib/duet/{p-ce48373f.system.entry.js → p-a8ea10a9.system.entry.js} +1 -1
- package/lib/duet/{p-f783a2bc.entry.js → p-a93132ea.entry.js} +1 -1
- package/lib/duet/{p-98894eb0.entry.js → p-a9997645.entry.js} +1 -1
- package/lib/duet/{p-0d941b02.system.entry.js → p-a9a34171.system.entry.js} +1 -1
- package/lib/duet/{p-cb620ca3.system.entry.js → p-aa6a1a0e.system.entry.js} +1 -1
- package/lib/duet/{p-6322975a.entry.js → p-ab26e29d.entry.js} +1 -1
- package/lib/duet/{p-ebaf813c.system.entry.js → p-ab7d36e8.system.entry.js} +1 -1
- package/lib/duet/{p-f80275c5.system.entry.js → p-abdf2879.system.entry.js} +1 -1
- package/lib/duet/{p-7d0c4a6e.entry.js → p-ac93ef4d.entry.js} +1 -1
- package/lib/duet/{p-dd2c8397.system.entry.js → p-aec52fd0.system.entry.js} +1 -1
- package/lib/duet/{p-2ed796cf.system.entry.js → p-b482b06d.system.entry.js} +1 -1
- package/lib/duet/{p-469c8430.entry.js → p-b4b2f99a.entry.js} +1 -1
- package/lib/duet/{p-5c9febf5.entry.js → p-b5ea61f3.entry.js} +1 -1
- package/lib/duet/{p-8b1084e1.entry.js → p-b6e0c13e.entry.js} +1 -1
- package/lib/duet/{p-04da6058.system.entry.js → p-bd3fd83f.system.entry.js} +1 -1
- package/lib/duet/p-be192c5b.js +4 -0
- package/lib/duet/{p-ec120930.system.entry.js → p-be52bfd0.system.entry.js} +1 -1
- package/lib/duet/{p-46547a79.entry.js → p-be567ab1.entry.js} +1 -1
- package/lib/duet/{p-c1aafc6e.entry.js → p-beb2fcfd.entry.js} +1 -1
- package/lib/duet/{p-ab308aa0.entry.js → p-c3c627fe.entry.js} +1 -1
- package/lib/duet/{p-cdbd1085.system.entry.js → p-c4917f80.system.entry.js} +1 -1
- package/lib/duet/{p-3f9bafee.system.entry.js → p-c674c251.system.entry.js} +1 -1
- package/lib/duet/{p-71cc3d68.entry.js → p-c84acb8f.entry.js} +1 -1
- package/lib/duet/p-cc6b57eb.entry.js +4 -0
- package/lib/duet/{p-cefbaef0.system.entry.js → p-cc9f1e7e.system.entry.js} +1 -1
- package/lib/duet/{p-4cb95b05.system.entry.js → p-cfea40ab.system.entry.js} +1 -1
- package/lib/duet/{p-f5bc03c1.system.entry.js → p-d202fbd4.system.entry.js} +1 -1
- package/lib/duet/{p-80c9d1a3.entry.js → p-d67196da.entry.js} +1 -1
- package/lib/duet/{p-28e7d8ee.system.entry.js → p-d7cb8511.system.entry.js} +1 -1
- package/lib/duet/p-d86d90f2.entry.js +4 -0
- package/lib/duet/{p-f58f7049.system.entry.js → p-da62279b.system.entry.js} +1 -1
- package/lib/duet/{p-ab1488e4.entry.js → p-dae9d8eb.entry.js} +1 -1
- package/lib/duet/p-dd6874b5.entry.js +4 -0
- package/lib/duet/{p-ab9b002c.system.entry.js → p-de07a6c7.system.entry.js} +1 -1
- package/lib/duet/{p-fdd13933.system.entry.js → p-dee965b3.system.entry.js} +1 -1
- package/lib/duet/{p-74b822f7.system.entry.js → p-df3c0a26.system.entry.js} +1 -1
- package/lib/duet/p-e0af1e68.system.entry.js +4 -0
- package/lib/duet/{p-a8657943.entry.js → p-e15bdc0f.entry.js} +1 -1
- package/lib/duet/{p-a18c65be.entry.js → p-e232c9a6.entry.js} +1 -1
- package/lib/duet/{p-3fd216ee.system.entry.js → p-e380af5d.system.entry.js} +1 -1
- package/lib/duet/{p-ca783bce.system.js → p-e3b90925.system.js} +1 -1
- package/lib/duet/{p-8793147c.system.entry.js → p-e500eae6.system.entry.js} +1 -1
- package/lib/duet/{p-17e717aa.system.entry.js → p-e6ebe252.system.entry.js} +1 -1
- package/lib/duet/{p-435cb7c2.entry.js → p-e7ddaaf0.entry.js} +1 -1
- package/lib/duet/{p-0077c0b9.system.entry.js → p-e8323345.system.entry.js} +1 -1
- package/lib/duet/{p-bf35789c.entry.js → p-e8bef1aa.entry.js} +1 -1
- package/lib/duet/{p-4c05864f.system.entry.js → p-e91ebfb3.system.entry.js} +1 -1
- package/lib/duet/{p-1880e89c.system.js → p-ea8d7c61.system.js} +1 -1
- package/lib/duet/{p-402a51b4.system.entry.js → p-eb3a72fc.system.entry.js} +1 -1
- package/lib/duet/{p-eb478d40.entry.js → p-ef2eb6d8.entry.js} +1 -1
- package/lib/duet/{p-b54bf042.entry.js → p-f08bc317.entry.js} +1 -1
- package/lib/duet/p-f1d9862a.entry.js +4 -0
- package/lib/duet/{p-a57b8625.entry.js → p-f601fb92.entry.js} +1 -1
- package/lib/duet/{p-5cca8d3e.system.entry.js → p-fb763129.system.entry.js} +1 -1
- package/lib/duet/{p-4ba495ae.entry.js → p-fc25294f.entry.js} +1 -1
- package/lib/duet/{p-30f0945c.entry.js → p-ff433afd.entry.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +1 -1
- package/lib/esm/duet-alert.entry.js +1 -1
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +1 -1
- package/lib/esm/duet-breadcrumb.entry.js +1 -1
- package/lib/esm/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +1 -1
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +1 -1
- package/lib/esm/duet-chip.entry.js +1 -1
- package/lib/esm/duet-choice_2.entry.js +2 -2
- package/lib/esm/duet-collapsible.entry.js +1 -1
- package/lib/esm/duet-combobox.entry.js +1 -1
- package/lib/esm/duet-contact-card.entry.js +1 -1
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +2 -2
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +52 -5
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +1 -1
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +1 -1
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +1 -1
- package/lib/esm/duet-input_2.entry.js +2 -2
- package/lib/esm/duet-layout.entry.js +1 -1
- package/lib/esm/duet-list_2.entry.js +1 -1
- package/lib/esm/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm/duet-menu-bar.entry.js +3 -2
- package/lib/esm/duet-modal.entry.js +2 -2
- package/lib/esm/duet-multiselect.entry.js +23 -4
- package/lib/esm/duet-nav.entry.js +1 -1
- package/lib/esm/duet-notification_2.entry.js +1 -1
- package/lib/esm/duet-number-input.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +1 -1
- package/lib/esm/duet-pagination_2.entry.js +1 -1
- package/lib/esm/duet-popup-menu-item.entry.js +1 -1
- package/lib/esm/duet-popup-menu.entry.js +3 -30
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +1 -1
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +1 -1
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +1 -1
- package/lib/esm/duet-shaped-image.entry.js +1 -1
- package/lib/esm/duet-show-more.entry.js +1 -1
- package/lib/esm/duet-slideout-lang.entry.js +1 -1
- package/lib/esm/duet-slideout-link.entry.js +1 -1
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm/duet-slideout-panel.entry.js +2 -2
- package/lib/esm/duet-slideout.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm/duet-submenu-bar.entry.js +2 -1
- package/lib/esm/duet-textarea.entry.js +1 -1
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm/duet-toolbar-link.entry.js +1 -1
- package/lib/esm/duet-toolbar.entry.js +1 -1
- package/lib/esm/duet-tooltip-button_2.entry.js +87 -0
- package/lib/esm/duet-tooltip.entry.js +33 -48
- package/lib/esm/duet-tray.entry.js +1 -1
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +1 -1
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{focus-utils-a516bd48.js → focus-utils-8008bc82.js} +1 -1
- package/lib/esm/{index-23851de5.js → index-79528b07.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/{dist-custom-elements/p-df10a767.js → esm/teleport-542f423e.js} +36 -1
- 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 +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +1 -1
- package/lib/esm-es5/duet-icon.entry.js +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 +2 -2
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +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 +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +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 +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +4 -0
- 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-8008bc82.js +4 -0
- package/lib/esm-es5/{index-23851de5.js → index-79528b07.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/teleport-542f423e.js +4 -0
- package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +9 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-button.d.ts +29 -0
- package/lib/types/components/duet-tooltip/duet-tooltip-popup.d.ts +4 -7
- package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -2
- package/lib/types/components/duet-upload/duet-upload.d.ts +1 -0
- package/lib/types/components/duet-upload/upload-validators.d.ts +1 -0
- package/lib/types/components.d.ts +39 -3
- package/lib/types/utils/teleport.d.ts +1 -0
- package/package.json +5 -5
- package/lib/cjs/duet-tooltip-popup.cjs.entry.js +0 -56
- package/lib/dist-custom-elements/p-0c934ab8.js +0 -273
- package/lib/dist-custom-elements/p-c6c0520d.js +0 -136
- package/lib/dist-custom-elements/p-cfe72fa4.js +0 -88
- package/lib/duet/p-0b19b2fc.system.entry.js +0 -4
- package/lib/duet/p-120fcef7.system.entry.js +0 -4
- package/lib/duet/p-2b16b250.system.entry.js +0 -4
- package/lib/duet/p-3cff6ebc.entry.js +0 -4
- package/lib/duet/p-57bc9d10.system.entry.js +0 -4
- package/lib/duet/p-6b7d3c8c.entry.js +0 -4
- package/lib/duet/p-7b29ea1b.entry.js +0 -4
- package/lib/duet/p-82b5380b.system.js +0 -4
- package/lib/duet/p-a4376044.entry.js +0 -4
- package/lib/duet/p-aaf1b496.system.js +0 -4
- package/lib/duet/p-b07af8d7.entry.js +0 -4
- package/lib/duet/p-be37633b.entry.js +0 -4
- package/lib/duet/p-d7460d04.system.entry.js +0 -4
- package/lib/duet/p-df10a767.js +0 -4
- package/lib/duet/p-e689dc8c.system.entry.js +0 -4
- package/lib/duet/p-f5c10f8e.entry.js +0 -4
- package/lib/duet/p-f6ba5087.entry.js +0 -4
- package/lib/duet/p-f93a4db5.entry.js +0 -4
- package/lib/esm/duet-tooltip-popup.entry.js +0 -52
- package/lib/esm-es5/duet-tooltip-popup.entry.js +0 -4
- package/lib/esm-es5/floating-ui.dom.esm-37dc174a.js +0 -4
- package/lib/esm-es5/focus-utils-a516bd48.js +0 -4
|
@@ -49,7 +49,6 @@
|
|
|
49
49
|
"./components/duet-textarea/duet-textarea.js",
|
|
50
50
|
"./components/duet-toggle/duet-toggle.js",
|
|
51
51
|
"./components/duet-tooltip/duet-tooltip.js",
|
|
52
|
-
"./components/duet-tooltip/duet-tooltip-popup.js",
|
|
53
52
|
"./components/duet-upload/duet-upload.js",
|
|
54
53
|
"./components/duet-upload-item/duet-upload-item.js",
|
|
55
54
|
"./components/duet-badge/duet-badge.js",
|
|
@@ -91,6 +90,8 @@
|
|
|
91
90
|
"./components/duet-toolbar-dropdown/duet-toolbar-dropdown.js",
|
|
92
91
|
"./components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js",
|
|
93
92
|
"./components/duet-toolbar-link/duet-toolbar-link.js",
|
|
93
|
+
"./components/duet-tooltip/duet-tooltip-button.js",
|
|
94
|
+
"./components/duet-tooltip/duet-tooltip-popup.js",
|
|
94
95
|
"./components/duet-tray/duet-tray.js",
|
|
95
96
|
"./components/duet-upload-aria-status/duet-upload-aria-status.js",
|
|
96
97
|
"./components/duet-visually-hidden/duet-visually-hidden.js"
|
|
@@ -116,9 +116,16 @@
|
|
|
116
116
|
}
|
|
117
117
|
.duet-button.duet-button-is-small:not(.duet-button-icon-only) {
|
|
118
118
|
padding: 9px 19px 10px !important;
|
|
119
|
-
min-width:
|
|
119
|
+
min-width: 48px;
|
|
120
120
|
font-size: 0.875rem;
|
|
121
121
|
}
|
|
122
|
+
.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain {
|
|
123
|
+
padding-right: 0 !important;
|
|
124
|
+
padding-left: 0 !important;
|
|
125
|
+
}
|
|
126
|
+
.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0 {
|
|
127
|
+
padding: 0 !important;
|
|
128
|
+
}
|
|
122
129
|
.duet-button.duet-button-is-small:not(.duet-button-icon-only).icon {
|
|
123
130
|
padding-left: 48px !important;
|
|
124
131
|
}
|
|
@@ -396,6 +403,20 @@
|
|
|
396
403
|
padding-right: 20px !important;
|
|
397
404
|
padding-left: 0 !important;
|
|
398
405
|
}
|
|
406
|
+
.duet-button.plain.icon.small {
|
|
407
|
+
padding-left: 20px !important;
|
|
408
|
+
}
|
|
409
|
+
.duet-button.plain.icon.small.icon-right {
|
|
410
|
+
padding-right: 20px !important;
|
|
411
|
+
padding-left: 0 !important;
|
|
412
|
+
}
|
|
413
|
+
.duet-button.plain.icon.medium-small {
|
|
414
|
+
padding-left: 20px !important;
|
|
415
|
+
}
|
|
416
|
+
.duet-button.plain.icon.medium-small.icon-right {
|
|
417
|
+
padding-right: 20px !important;
|
|
418
|
+
padding-left: 0 !important;
|
|
419
|
+
}
|
|
399
420
|
.duet-button.plain.icon.medium {
|
|
400
421
|
padding-left: 24px !important;
|
|
401
422
|
}
|
|
@@ -32,7 +32,8 @@ export class DuetMenuBar {
|
|
|
32
32
|
});
|
|
33
33
|
if (active && active.offsetLeft) {
|
|
34
34
|
if (active.offsetLeft > 50) {
|
|
35
|
-
this.container.scrollLeft =
|
|
35
|
+
this.container.scrollLeft =
|
|
36
|
+
active.offsetLeft - this.element.getBoundingClientRect().width / 2 + active.offsetWidth / 2;
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
};
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
.duet-multiselect > :first-child {
|
|
161
161
|
flex: 1;
|
|
162
|
+
min-height: 24px;
|
|
162
163
|
}
|
|
163
164
|
.duet-multiselect .duet-multiselect-badge {
|
|
164
165
|
position: absolute;
|
|
@@ -221,6 +222,42 @@
|
|
|
221
222
|
transition-property: transform, opacity;
|
|
222
223
|
transform: scale(1.0001) translateZ(0) translateY(0);
|
|
223
224
|
}
|
|
225
|
+
.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons {
|
|
226
|
+
padding: 8px 0;
|
|
227
|
+
margin: -16px;
|
|
228
|
+
margin-bottom: 16px;
|
|
229
|
+
border-bottom: 1px solid rgb(225, 227, 230);
|
|
230
|
+
}
|
|
231
|
+
.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
|
|
232
|
+
padding: 6px 16px;
|
|
233
|
+
margin: -4px 0;
|
|
234
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
235
|
+
font-size: 0.875rem;
|
|
236
|
+
font-weight: 600;
|
|
237
|
+
color: rgb(0, 119, 179);
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
border-radius: 4px;
|
|
240
|
+
}
|
|
241
|
+
.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:first-child {
|
|
242
|
+
border-right: 1px solid rgb(225, 227, 230);
|
|
243
|
+
}
|
|
244
|
+
.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button {
|
|
245
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
246
|
+
color: rgb(198, 12, 48);
|
|
247
|
+
}
|
|
248
|
+
.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus {
|
|
249
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58);
|
|
250
|
+
}
|
|
251
|
+
.duet-theme-turva .duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
|
|
252
|
+
color: rgb(23, 28, 58);
|
|
253
|
+
}
|
|
254
|
+
.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:focus {
|
|
255
|
+
outline: 0;
|
|
256
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179);
|
|
257
|
+
}
|
|
258
|
+
.duet-multiselect-checkboxes .duet-multiselect-all-control-buttons button:hover {
|
|
259
|
+
color: rgb(0, 41, 77);
|
|
260
|
+
}
|
|
224
261
|
|
|
225
262
|
.duet-multiselect-help {
|
|
226
263
|
display: block;
|
|
@@ -23,6 +23,16 @@ export class DuetMultiselect {
|
|
|
23
23
|
fi: "valittu",
|
|
24
24
|
sv: "vald",
|
|
25
25
|
};
|
|
26
|
+
this.selectAllLabel = {
|
|
27
|
+
en: "Select all",
|
|
28
|
+
fi: "Valitse kaikki",
|
|
29
|
+
sv: "Välj alla",
|
|
30
|
+
};
|
|
31
|
+
this.clearAllLabel = {
|
|
32
|
+
en: "Clear all",
|
|
33
|
+
fi: "Tyhjennä kaikki",
|
|
34
|
+
sv: "Rensa alla",
|
|
35
|
+
};
|
|
26
36
|
/**
|
|
27
37
|
* Component event handling.
|
|
28
38
|
*/
|
|
@@ -62,7 +72,7 @@ export class DuetMultiselect {
|
|
|
62
72
|
this.toggleCheckboxes();
|
|
63
73
|
setTimeout(() => {
|
|
64
74
|
if (this.checkboxesVisible) {
|
|
65
|
-
const firstOption = this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(0)}`);
|
|
75
|
+
const firstOption = this.element.shadowRoot.querySelector(`#${this.getOptionIdentifier(this.allControls ? -2 : 0)}`);
|
|
66
76
|
if (firstOption) {
|
|
67
77
|
firstOption.focus();
|
|
68
78
|
}
|
|
@@ -91,6 +101,14 @@ export class DuetMultiselect {
|
|
|
91
101
|
this.value = toggleInArray(this.value, item);
|
|
92
102
|
this.onChange(e);
|
|
93
103
|
};
|
|
104
|
+
this.handleSelectAllClick = (e) => {
|
|
105
|
+
this.value = this.processedItems;
|
|
106
|
+
this.onChange(e);
|
|
107
|
+
};
|
|
108
|
+
this.handleClearAllClick = (e) => {
|
|
109
|
+
this.value = [];
|
|
110
|
+
this.onChange(e);
|
|
111
|
+
};
|
|
94
112
|
this.getOptionIdentifier = (key) => {
|
|
95
113
|
return `${this.identifier}-option-${key}`;
|
|
96
114
|
};
|
|
@@ -119,6 +137,7 @@ export class DuetMultiselect {
|
|
|
119
137
|
this.theme = "";
|
|
120
138
|
this.labelHidden = false;
|
|
121
139
|
this.identifier = createID("DuetMultiselect");
|
|
140
|
+
this.allControls = false;
|
|
122
141
|
this.placeholder = "";
|
|
123
142
|
this.caption = undefined;
|
|
124
143
|
this.items = undefined;
|
|
@@ -180,7 +199,7 @@ export class DuetMultiselect {
|
|
|
180
199
|
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes` }, this.placeholder), this.value && this.value.length > 0 && (h("duet-badge", { class: "duet-multiselect-badge", margin: "none", theme: this.theme }, this.value.length, " ", this.selectedLangObject[this.language], h("duet-visually-hidden", null, ", ", this.value.map(item => item.label).join(", ")))), h("svg", { role: "img", class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
181
200
|
"duet-multiselect-checkboxes": true,
|
|
182
201
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
183
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems &&
|
|
202
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems && this.allControls && (h("div", { class: "duet-multiselect-all-control-buttons" }, h("button", { class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), h("button", { class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
184
203
|
this.processedItems.map((item, key) => {
|
|
185
204
|
var _a, _b;
|
|
186
205
|
return (h("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
@@ -357,6 +376,24 @@ export class DuetMultiselect {
|
|
|
357
376
|
"reflect": false,
|
|
358
377
|
"defaultValue": "createID(\"DuetMultiselect\")"
|
|
359
378
|
},
|
|
379
|
+
"allControls": {
|
|
380
|
+
"type": "boolean",
|
|
381
|
+
"mutable": false,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "boolean",
|
|
384
|
+
"resolved": "boolean",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": false,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [],
|
|
391
|
+
"text": "If set, the multiselect will display buttons to select or deselect all items.\nThis should be used when there are many items, consider when the number of items is more than 5."
|
|
392
|
+
},
|
|
393
|
+
"attribute": "all-controls",
|
|
394
|
+
"reflect": false,
|
|
395
|
+
"defaultValue": "false"
|
|
396
|
+
},
|
|
360
397
|
"placeholder": {
|
|
361
398
|
"type": "string",
|
|
362
399
|
"mutable": false,
|
|
@@ -81,6 +81,9 @@ duet-table .duet-table-action-row td:last-child {
|
|
|
81
81
|
padding-right: 20px !important;
|
|
82
82
|
white-space: nowrap;
|
|
83
83
|
}
|
|
84
|
+
duet-table span.duet-table-cell-heading {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
84
87
|
|
|
85
88
|
.duet-table-flattened table,
|
|
86
89
|
.duet-table-flattened thead,
|
|
@@ -107,6 +110,16 @@ duet-table .duet-table-action-row td:last-child {
|
|
|
107
110
|
.duet-table-flattened td:not(:last-child) {
|
|
108
111
|
margin-bottom: 16px !important;
|
|
109
112
|
}
|
|
113
|
+
.duet-table-flattened td span.duet-table-cell-heading {
|
|
114
|
+
margin-bottom: 4px !important;
|
|
115
|
+
display: block;
|
|
116
|
+
font-size: 1rem;
|
|
117
|
+
font-weight: 600;
|
|
118
|
+
color: rgb(0, 41, 77);
|
|
119
|
+
}
|
|
120
|
+
.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading {
|
|
121
|
+
color: rgb(23, 28, 58);
|
|
122
|
+
}
|
|
110
123
|
.duet-table-flattened tbody td,
|
|
111
124
|
.duet-table-flattened tbody th,
|
|
112
125
|
.duet-table-flattened tfoot td {
|
|
@@ -119,17 +132,6 @@ duet-table .duet-table-action-row td:last-child {
|
|
|
119
132
|
color: rgb(101, 119, 135);
|
|
120
133
|
text-align: left;
|
|
121
134
|
}
|
|
122
|
-
.duet-table-flattened td[data-heading]::before {
|
|
123
|
-
margin-bottom: 4px !important;
|
|
124
|
-
display: block;
|
|
125
|
-
font-size: 1rem;
|
|
126
|
-
font-weight: 600;
|
|
127
|
-
color: rgb(0, 41, 77);
|
|
128
|
-
content: attr(data-heading);
|
|
129
|
-
}
|
|
130
|
-
.duet-table-flattened.duet-theme-turva td[data-heading]::before {
|
|
131
|
-
color: rgb(23, 28, 58);
|
|
132
|
-
}
|
|
133
135
|
|
|
134
136
|
.duet-table-sticky thead th {
|
|
135
137
|
position: sticky;
|
|
@@ -95,7 +95,16 @@ export class DuetTable {
|
|
|
95
95
|
rowElements.forEach(tr => {
|
|
96
96
|
tr.querySelectorAll("td").forEach((td, i) => {
|
|
97
97
|
if (headings[i]) {
|
|
98
|
-
td.
|
|
98
|
+
const previousSpan = td.querySelector(".duet-table-cell-heading");
|
|
99
|
+
if (!previousSpan || previousSpan.textContent !== headings[i]) {
|
|
100
|
+
previousSpan === null || previousSpan === void 0 ? void 0 : previousSpan.remove();
|
|
101
|
+
const span = document.createElement("span");
|
|
102
|
+
span.textContent = headings[i];
|
|
103
|
+
span.classList.add("duet-table-cell-heading");
|
|
104
|
+
span.setAttribute("aria-hidden", "true");
|
|
105
|
+
span.inert = true;
|
|
106
|
+
td.prepend(span);
|
|
107
|
+
}
|
|
99
108
|
}
|
|
100
109
|
});
|
|
101
110
|
});
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::after,
|
|
3
|
+
*::before {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
padding: 0;
|
|
6
|
+
margin: 0;
|
|
7
|
+
background: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
-moz-appearance: none;
|
|
10
|
+
-webkit-appearance: none;
|
|
11
|
+
appearance: none;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0;
|
|
18
|
+
background: transparent;
|
|
19
|
+
border: 0;
|
|
20
|
+
-moz-appearance: none;
|
|
21
|
+
-webkit-appearance: none;
|
|
22
|
+
appearance: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.duet-tooltip-button {
|
|
26
|
+
z-index: 100;
|
|
27
|
+
display: inline-block;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
min-width: 48px;
|
|
31
|
+
height: 48px;
|
|
32
|
+
padding: 0 !important;
|
|
33
|
+
margin-right: -12px;
|
|
34
|
+
line-height: normal !important;
|
|
35
|
+
color: rgb(0, 119, 179);
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
background: transparent !important;
|
|
39
|
+
border-radius: 4px;
|
|
40
|
+
}
|
|
41
|
+
.duet-tooltip-button.duet-theme-turva {
|
|
42
|
+
color: rgb(198, 12, 48);
|
|
43
|
+
}
|
|
44
|
+
.duet-tooltip-button:hover {
|
|
45
|
+
color: rgb(0, 77, 128);
|
|
46
|
+
}
|
|
47
|
+
.duet-tooltip-button:hover.duet-theme-turva {
|
|
48
|
+
color: rgb(148, 9, 37);
|
|
49
|
+
}
|
|
50
|
+
.duet-tooltip-button:focus {
|
|
51
|
+
background: transparent !important;
|
|
52
|
+
outline: 0;
|
|
53
|
+
}
|
|
54
|
+
:host(.user-is-tabbing) .duet-tooltip-button:focus {
|
|
55
|
+
background: transparent !important;
|
|
56
|
+
box-shadow: 0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px rgb(0, 119, 179) !important;
|
|
57
|
+
}
|
|
58
|
+
:host(.user-is-tabbing) .duet-tooltip-button.duet-theme-turva:focus {
|
|
59
|
+
box-shadow: 0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px rgb(23, 28, 58) !important;
|
|
60
|
+
}
|
|
61
|
+
.duet-tooltip-button svg {
|
|
62
|
+
width: 20px;
|
|
63
|
+
height: 20px;
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.duet-tooltip-button-has-label {
|
|
68
|
+
margin-right: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.duet-tooltip-label {
|
|
72
|
+
position: relative;
|
|
73
|
+
z-index: 100;
|
|
74
|
+
display: inline-block;
|
|
75
|
+
max-width: calc(100% - 30px);
|
|
76
|
+
margin-left: 12px !important;
|
|
77
|
+
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
78
|
+
font-size: 1rem;
|
|
79
|
+
font-weight: 600;
|
|
80
|
+
line-height: 1.25;
|
|
81
|
+
text-align: left;
|
|
82
|
+
white-space: normal;
|
|
83
|
+
vertical-align: top;
|
|
84
|
+
}
|
|
85
|
+
.duet-theme-turva .duet-tooltip-label {
|
|
86
|
+
font-family: "turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
87
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
import { h, Host } from "@stencil/core";
|
|
5
|
+
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
* This component is solely for internal use by duet-tooltip.
|
|
9
|
+
*/
|
|
10
|
+
export class DuetTooltipButton {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.label = "";
|
|
13
|
+
this.accessibleLabel = undefined;
|
|
14
|
+
this.theme = "";
|
|
15
|
+
this.active = undefined;
|
|
16
|
+
this.tooltipId = undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Component lifecycle events.
|
|
20
|
+
*/
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
inheritGlobalTheme(this);
|
|
23
|
+
}
|
|
24
|
+
async setFocus(options) {
|
|
25
|
+
if (this.buttonElement) {
|
|
26
|
+
this.buttonElement.focus(options);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* render() function.
|
|
31
|
+
* Always the last one in the class.
|
|
32
|
+
*/
|
|
33
|
+
render() {
|
|
34
|
+
return (h(Host, null, h("button", { ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
35
|
+
"duet-tooltip-button": true,
|
|
36
|
+
"duet-tooltip-button-has-label": !!this.label,
|
|
37
|
+
"duet-theme-turva": this.theme === "turva",
|
|
38
|
+
} }, h("svg", { "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), h("circle", { cx: "11.625", cy: "7.125", r: "1.125" }), h("path", { d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (h("span", { class: "duet-tooltip-label" }, this.label)) : (h("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "duet-tooltip-button"; }
|
|
41
|
+
static get encapsulation() { return "shadow"; }
|
|
42
|
+
static get originalStyleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["duet-tooltip-button.scss"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get styleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["duet-tooltip-button.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get properties() {
|
|
53
|
+
return {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "string",
|
|
59
|
+
"resolved": "string",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": ""
|
|
67
|
+
},
|
|
68
|
+
"attribute": "label",
|
|
69
|
+
"reflect": false,
|
|
70
|
+
"defaultValue": "\"\""
|
|
71
|
+
},
|
|
72
|
+
"accessibleLabel": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "string",
|
|
77
|
+
"resolved": "string",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": ""
|
|
85
|
+
},
|
|
86
|
+
"attribute": "accessible-label",
|
|
87
|
+
"reflect": false
|
|
88
|
+
},
|
|
89
|
+
"theme": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": true,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "DuetTheme",
|
|
94
|
+
"resolved": "\"\" | \"default\" | \"turva\"",
|
|
95
|
+
"references": {
|
|
96
|
+
"DuetTheme": {
|
|
97
|
+
"location": "import",
|
|
98
|
+
"path": "../../common-types"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": "Theme of the card. Can be one of: \"default\", \"turva\"."
|
|
107
|
+
},
|
|
108
|
+
"attribute": "theme",
|
|
109
|
+
"reflect": false,
|
|
110
|
+
"defaultValue": "\"\""
|
|
111
|
+
},
|
|
112
|
+
"active": {
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"mutable": false,
|
|
115
|
+
"complexType": {
|
|
116
|
+
"original": "boolean",
|
|
117
|
+
"resolved": "boolean",
|
|
118
|
+
"references": {}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": ""
|
|
125
|
+
},
|
|
126
|
+
"attribute": "active",
|
|
127
|
+
"reflect": false
|
|
128
|
+
},
|
|
129
|
+
"tooltipId": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"mutable": false,
|
|
132
|
+
"complexType": {
|
|
133
|
+
"original": "string",
|
|
134
|
+
"resolved": "string",
|
|
135
|
+
"references": {}
|
|
136
|
+
},
|
|
137
|
+
"required": false,
|
|
138
|
+
"optional": false,
|
|
139
|
+
"docs": {
|
|
140
|
+
"tags": [],
|
|
141
|
+
"text": ""
|
|
142
|
+
},
|
|
143
|
+
"attribute": "tooltip-id",
|
|
144
|
+
"reflect": false
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static get methods() {
|
|
149
|
+
return {
|
|
150
|
+
"setFocus": {
|
|
151
|
+
"complexType": {
|
|
152
|
+
"signature": "(options?: FocusOptions) => Promise<void>",
|
|
153
|
+
"parameters": [{
|
|
154
|
+
"tags": [],
|
|
155
|
+
"text": ""
|
|
156
|
+
}],
|
|
157
|
+
"references": {
|
|
158
|
+
"Promise": {
|
|
159
|
+
"location": "global"
|
|
160
|
+
},
|
|
161
|
+
"FocusOptions": {
|
|
162
|
+
"location": "global"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"return": "Promise<void>"
|
|
166
|
+
},
|
|
167
|
+
"docs": {
|
|
168
|
+
"text": "",
|
|
169
|
+
"tags": []
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
static get elementRef() { return "element"; }
|
|
175
|
+
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.duet-tooltip {
|
|
28
|
+
position: relative;
|
|
28
29
|
width: 282px;
|
|
29
30
|
min-height: 48px;
|
|
30
31
|
font-family: "localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
@@ -58,6 +59,7 @@
|
|
|
58
59
|
}
|
|
59
60
|
.duet-tooltip .arrow-container {
|
|
60
61
|
position: relative;
|
|
62
|
+
left: 4px;
|
|
61
63
|
width: 100%;
|
|
62
64
|
height: 100%;
|
|
63
65
|
pointer-events: none;
|
|
@@ -3,17 +3,15 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h, Host } from "@stencil/core";
|
|
5
5
|
import { inheritGlobalTheme } from "../../common";
|
|
6
|
+
import { FocusGuard } from "../../utils/focus-utils";
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
8
9
|
* This component is solely for internal use by duet-tooltip.
|
|
9
10
|
*/
|
|
10
11
|
export class DuetTooltipPopup {
|
|
11
12
|
constructor() {
|
|
12
|
-
this.handleCloseClick = (
|
|
13
|
-
this.tooltipPopupClosed.emit(
|
|
14
|
-
originalEvent: evt,
|
|
15
|
-
component: "duet-tooltip-popup",
|
|
16
|
-
});
|
|
13
|
+
this.handleCloseClick = () => {
|
|
14
|
+
this.tooltipPopupClosed.emit();
|
|
17
15
|
};
|
|
18
16
|
this.theme = "";
|
|
19
17
|
this.active = undefined;
|
|
@@ -42,10 +40,10 @@ export class DuetTooltipPopup {
|
|
|
42
40
|
"duet-tooltip": true,
|
|
43
41
|
"duet-theme-turva": this.theme === "turva",
|
|
44
42
|
"duet-tooltip-active": this.active === true,
|
|
45
|
-
},
|
|
43
|
+
} }, h(FocusGuard, { moveFocusTo: this.buttonEl }), h("div", { ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, h("slot", null)), h("div", { ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, h("div", { class: { "arrow-container": true, [this.placement]: true } })), h("button", { type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, h("duet-icon", { name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), h("duet-visually-hidden", null, this.accessibleCloseLabel)), h(FocusGuard, { moveFocusTo: this.contentEl }))));
|
|
46
44
|
}
|
|
47
45
|
static get is() { return "duet-tooltip-popup"; }
|
|
48
|
-
static get encapsulation() { return "
|
|
46
|
+
static get encapsulation() { return "shadow"; }
|
|
49
47
|
static get originalStyleUrls() {
|
|
50
48
|
return {
|
|
51
49
|
"$": ["duet-tooltip-popup.scss"]
|
|
@@ -178,12 +176,11 @@ export class DuetTooltipPopup {
|
|
|
178
176
|
"text": "Component event handling."
|
|
179
177
|
},
|
|
180
178
|
"complexType": {
|
|
181
|
-
"original": "
|
|
182
|
-
"resolved": "
|
|
179
|
+
"original": "CustomEvent",
|
|
180
|
+
"resolved": "CustomEvent<any>",
|
|
183
181
|
"references": {
|
|
184
|
-
"
|
|
185
|
-
"location": "
|
|
186
|
-
"path": "/Users/laaksju3/duetds/packages/components/src/components/duet-tooltip/duet-tooltip-popup.tsx"
|
|
182
|
+
"CustomEvent": {
|
|
183
|
+
"location": "global"
|
|
187
184
|
}
|
|
188
185
|
}
|
|
189
186
|
}
|