@duetds/components 6.11.2 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +324 -240
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-alert.cjs.entry.js +14 -2
- package/lib/cjs/duet-badge.cjs.entry.js +1 -1
- package/lib/cjs/duet-banner.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-callout.cjs.entry.js +1 -1
- package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- 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 +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +25 -19
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -2
- 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 +14 -9
- package/lib/cjs/duet-hero.cjs.entry.js +1 -1
- package/lib/cjs/duet-icon.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +1 -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 +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 +1 -1
- package/lib/cjs/duet-modal.cjs.entry.js +6 -2
- package/lib/cjs/duet-multiselect.cjs.entry.js +1 -1
- 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 +4 -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 +5 -5
- package/lib/cjs/duet-progress.cjs.entry.js +1 -1
- package/lib/cjs/duet-promo-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
- 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 +4 -4
- package/lib/cjs/duet-slideout.cjs.entry.js +4 -4
- 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 +16 -11
- 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 +2 -2
- package/lib/cjs/duet-tooltip.cjs.entry.js +5 -5
- package/lib/cjs/duet-tray.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +2 -2
- package/lib/cjs/{teleport-d79735ca.js → floating-ui.dom.esm-d537b048.js} +154 -195
- package/lib/cjs/{focus-utils-e486f272.js → focus-utils-8a7e7161.js} +1 -1
- package/lib/cjs/{index-04de4d35.js → index-e4ff2f1d.js} +1 -1
- package/lib/cjs/loader.cjs.js +2 -2
- package/lib/cjs/teleport-04ad16c2.js +88 -0
- package/lib/cjs/{token-utils-18a05118.js → token-utils-c1864408.js} +1 -1
- package/lib/cjs/{tokens.module-d30fb52a.js → tokens.module-5fe478ed.js} +0 -1
- package/lib/collection/components/duet-alert/duet-alert.js +53 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +25 -1
- package/lib/collection/components/duet-header/duet-header.js +13 -8
- package/lib/collection/components/duet-modal/duet-modal.js +4 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +18 -10
- package/lib/collection/components/duet-upload/duet-upload.js +39 -15
- package/lib/collection/components/duet-upload/upload-item-header.js +6 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +4 -3
- package/lib/collection/utils/math.utils.js +3 -0
- package/lib/collection/utils/teleport.js +55 -7
- 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 +5 -5
- 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 +4 -4
- 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 +8 -8
- 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 +12 -12
- 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 +20 -15
- 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 +2 -2
- package/lib/dist-custom-elements/duet-modal.js +11 -7
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- 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 +14 -11
- 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 +3 -2
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +4 -4
- package/lib/dist-custom-elements/duet-radio-group.js +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- 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 +3 -3
- package/lib/dist-custom-elements/duet-slideout.js +3 -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 +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 +17 -12
- package/lib/dist-custom-elements/duet-tab-group.js +13 -13
- 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 +10 -10
- 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.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 +4 -4
- 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 +41 -34
- 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-9dc40c4f.js → p-0260ac26.js} +10 -10
- package/lib/dist-custom-elements/{p-67584a63.js → p-08655765.js} +3 -3
- package/lib/dist-custom-elements/{p-411af53d.js → p-0afd9520.js} +3 -3
- package/lib/dist-custom-elements/{p-b260c7b8.js → p-1ec13086.js} +1 -1
- package/lib/dist-custom-elements/{p-e354b687.js → p-1f8be034.js} +1 -1
- package/lib/dist-custom-elements/{p-2ca516d3.js → p-327fe61f.js} +5 -3
- package/lib/dist-custom-elements/{p-e4198c92.js → p-3365df0b.js} +1 -1
- package/lib/dist-custom-elements/{p-b244b9d4.js → p-3c393cb0.js} +1 -1
- package/lib/dist-custom-elements/{p-f30df343.js → p-48875cb7.js} +2 -2
- package/lib/dist-custom-elements/{p-7ece12ec.js → p-51dc4ab3.js} +1 -1
- package/lib/dist-custom-elements/{p-2159ffc3.js → p-554d1285.js} +2 -2
- package/lib/dist-custom-elements/{p-b4163126.js → p-573b02d2.js} +2 -2
- package/lib/dist-custom-elements/{p-748fb4e9.js → p-5a560334.js} +1 -1
- package/lib/dist-custom-elements/{p-c624c26b.js → p-5b1f977f.js} +8 -8
- package/lib/dist-custom-elements/{p-f13081a0.js → p-63852c87.js} +3 -3
- package/lib/dist-custom-elements/p-63c149ab.js +86 -0
- package/lib/dist-custom-elements/{p-2bd44c3c.js → p-65676d10.js} +4 -4
- package/lib/dist-custom-elements/{p-726f277c.js → p-6673194a.js} +5 -5
- package/lib/dist-custom-elements/{p-4f3d4b28.js → p-7f400da8.js} +1 -1
- package/lib/dist-custom-elements/{p-d9bf49cf.js → p-81b1961f.js} +1 -1
- package/lib/dist-custom-elements/{p-a5cb00f4.js → p-82aa11ee.js} +2 -2
- package/lib/dist-custom-elements/{p-784fe90e.js → p-8adb9463.js} +155 -195
- package/lib/dist-custom-elements/{p-f9076d3e.js → p-8f3ad4b8.js} +14 -13
- package/lib/dist-custom-elements/{p-ce09b821.js → p-91935c71.js} +1 -1
- package/lib/dist-custom-elements/{p-f79fe19b.js → p-91b55a65.js} +1 -1
- package/lib/dist-custom-elements/{p-e22956bf.js → p-92955574.js} +2 -2
- package/lib/dist-custom-elements/{p-66ab9994.js → p-a62b0be6.js} +5 -5
- package/lib/dist-custom-elements/{p-44316a49.js → p-a7c69647.js} +1 -1
- package/lib/dist-custom-elements/{p-baa9e0f3.js → p-a8e3618b.js} +1 -1
- package/lib/dist-custom-elements/{p-351b0f8c.js → p-b06f4493.js} +2 -2
- package/lib/dist-custom-elements/{p-7c68ac5a.js → p-bb49de93.js} +7 -6
- package/lib/dist-custom-elements/{p-32fdcec8.js → p-ceeb5755.js} +2 -2
- package/lib/dist-custom-elements/{p-7a906a81.js → p-d899de1c.js} +2 -2
- package/lib/dist-custom-elements/{p-661e7864.js → p-de68431d.js} +1 -1
- package/lib/dist-custom-elements/{p-229871c3.js → p-e15500fe.js} +21 -7
- package/lib/dist-custom-elements/{p-cd9b5f96.js → p-e8475b3c.js} +1 -1
- package/lib/dist-custom-elements/{p-c56b4bad.js → p-ed3bc609.js} +2 -2
- package/lib/dist-custom-elements/{p-df34106b.js → p-fc17c596.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-e91ebfb3.system.entry.js → p-03b54fe9.system.entry.js} +1 -1
- package/lib/duet/p-047c7679.system.entry.js +4 -0
- package/lib/duet/{p-2a49661d.entry.js → p-04a30a4e.entry.js} +1 -1
- package/lib/duet/{p-da62279b.system.entry.js → p-08b80194.system.entry.js} +1 -1
- package/lib/duet/{p-e500eae6.system.entry.js → p-0a72ac6d.system.entry.js} +1 -1
- package/lib/duet/{p-ef2eb6d8.entry.js → p-0af4a8f2.entry.js} +1 -1
- package/lib/duet/{p-6ecf1c48.entry.js → p-0b86ce2c.entry.js} +1 -1
- package/lib/duet/{p-1507d44f.entry.js → p-0f5acdbf.entry.js} +1 -1
- package/lib/duet/{p-00ff74e5.system.entry.js → p-12f2f7aa.system.entry.js} +1 -1
- package/lib/duet/{p-78207603.entry.js → p-16cb956f.entry.js} +1 -1
- package/lib/duet/{p-18607658.entry.js → p-1bf5b0ce.entry.js} +1 -1
- package/lib/duet/{p-abdf2879.system.entry.js → p-1cd23c46.system.entry.js} +1 -1
- package/lib/duet/{p-f08bc317.entry.js → p-1dfce168.entry.js} +1 -1
- package/lib/duet/{p-cc9f1e7e.system.entry.js → p-1e62643f.system.entry.js} +1 -1
- package/lib/duet/{p-8459e611.entry.js → p-1f3bbe67.entry.js} +1 -1
- package/lib/duet/p-2067f717.entry.js +4 -0
- package/lib/duet/{p-3d8f8731.entry.js → p-209c5db7.entry.js} +1 -1
- package/lib/duet/p-20c24418.system.entry.js +4 -0
- package/lib/duet/{p-7d15ac32.system.entry.js → p-22bd2db0.system.entry.js} +1 -1
- package/lib/duet/{p-a8ea10a9.system.entry.js → p-232b0ea7.system.entry.js} +1 -1
- package/lib/duet/{p-57fbcba7.entry.js → p-246bdc90.entry.js} +1 -1
- package/lib/duet/p-24d84d6d.entry.js +4 -0
- package/lib/duet/{p-a829f5f4.entry.js → p-25576ed1.entry.js} +1 -1
- package/lib/duet/{p-e8323345.system.entry.js → p-283e44e9.system.entry.js} +1 -1
- package/lib/duet/{p-2b1d7c14.entry.js → p-28dc9280.entry.js} +1 -1
- package/lib/duet/{p-2ec51250.entry.js → p-2b5948ce.entry.js} +1 -1
- package/lib/duet/{p-94ecf766.system.entry.js → p-2c4ac686.system.entry.js} +1 -1
- package/lib/duet/{p-8ac9042e.system.entry.js → p-2da346d0.system.entry.js} +1 -1
- package/lib/duet/{p-3f96bb94.entry.js → p-30705d7a.entry.js} +1 -1
- package/lib/duet/{p-02c5180a.entry.js → p-35bca6db.entry.js} +1 -1
- package/lib/duet/{p-747807c9.system.entry.js → p-3655a64d.system.entry.js} +1 -1
- package/lib/duet/{p-d7cb8511.system.entry.js → p-38da3f30.system.entry.js} +1 -1
- package/lib/duet/{p-b6e0c13e.entry.js → p-3a1d80c8.entry.js} +1 -1
- package/lib/duet/{p-6586bc19.entry.js → p-40206df8.entry.js} +1 -1
- package/lib/duet/{p-489c0d61.entry.js → p-41d254db.entry.js} +1 -1
- package/lib/duet/{p-e8bef1aa.entry.js → p-42046f2c.entry.js} +1 -1
- package/lib/duet/{p-b4b2f99a.entry.js → p-438df344.entry.js} +1 -1
- package/lib/duet/{p-e3b90925.system.js → p-45137a4c.system.js} +1 -1
- package/lib/duet/p-45d92a24.system.js +4 -0
- package/lib/duet/p-47acac42.entry.js +4 -0
- package/lib/duet/{p-9355b478.system.entry.js → p-47cce76f.system.entry.js} +1 -1
- package/lib/duet/{p-11c031c1.system.entry.js → p-499c849d.system.entry.js} +1 -1
- package/lib/duet/{p-1a5b2354.system.entry.js → p-4a0a8cb6.system.entry.js} +1 -1
- package/lib/duet/{p-31441d04.system.entry.js → p-4aa372a3.system.entry.js} +1 -1
- package/lib/duet/p-4bb7a8a6.entry.js +4 -0
- package/lib/duet/{p-a9a34171.system.entry.js → p-4ca4aa7a.system.entry.js} +1 -1
- package/lib/duet/p-4ee67584.system.entry.js +4 -0
- package/lib/duet/{p-892dab61.system.entry.js → p-50f23fbc.system.entry.js} +1 -1
- package/lib/duet/{p-88b565dc.system.entry.js → p-51401eb9.system.entry.js} +1 -1
- package/lib/duet/p-528225db.system.entry.js +4 -0
- package/lib/duet/{p-2a6ca4ea.system.entry.js → p-540b04c9.system.entry.js} +1 -1
- package/lib/duet/{p-66604d21.system.entry.js → p-55f583ff.system.entry.js} +1 -1
- package/lib/duet/{p-dd6874b5.entry.js → p-588f27c8.entry.js} +1 -1
- package/lib/duet/{p-3d94b518.system.entry.js → p-58e626a5.system.entry.js} +1 -1
- package/lib/duet/{p-7b8bd6ae.system.entry.js → p-5bfacd38.system.entry.js} +1 -1
- package/lib/duet/{p-99cc8fb5.entry.js → p-5d545288.entry.js} +1 -1
- package/lib/duet/p-5d6a0ae2.entry.js +4 -0
- package/lib/duet/{p-7de54682.entry.js → p-5df58fa0.entry.js} +1 -1
- package/lib/duet/{p-3fcc6db9.entry.js → p-5e108338.entry.js} +1 -1
- package/lib/duet/{p-807acf6d.system.entry.js → p-620039b5.system.entry.js} +1 -1
- package/lib/duet/p-63c149ab.js +4 -0
- package/lib/duet/{p-20a3bf2b.entry.js → p-656f4908.entry.js} +1 -1
- package/lib/duet/{p-e6ebe252.system.entry.js → p-6669649e.system.entry.js} +1 -1
- package/lib/duet/{p-5aa537c3.system.entry.js → p-66bd620c.system.entry.js} +1 -1
- package/lib/duet/{p-beb2fcfd.entry.js → p-689ebd49.entry.js} +1 -1
- package/lib/duet/{p-72e1da72.system.entry.js → p-68a3563b.system.entry.js} +1 -1
- package/lib/duet/{p-262f4bf7.system.entry.js → p-69b86484.system.entry.js} +1 -1
- package/lib/duet/{p-1dc34d52.entry.js → p-6a877fe6.entry.js} +1 -1
- package/lib/duet/{p-581baf04.system.entry.js → p-6a9edbcd.system.entry.js} +1 -1
- package/lib/duet/{p-375a323f.system.entry.js → p-6c748aba.system.entry.js} +1 -1
- package/lib/duet/{p-277d9e45.system.js → p-71a46879.system.js} +1 -1
- package/lib/duet/{p-27c853fe.system.entry.js → p-722db133.system.entry.js} +1 -1
- package/lib/duet/{p-14fc2fba.entry.js → p-75cfc34d.entry.js} +1 -1
- package/lib/duet/{p-c4917f80.system.entry.js → p-7776384a.system.entry.js} +2 -2
- package/lib/duet/p-77ee08fb.entry.js +4 -0
- package/lib/duet/{p-6049c423.system.entry.js → p-7a3eca45.system.entry.js} +1 -1
- package/lib/duet/{p-6a640a77.system.entry.js → p-7ad0ec84.system.entry.js} +1 -1
- package/lib/duet/{p-4aa7c43e.entry.js → p-7c10176b.entry.js} +1 -1
- package/lib/duet/{p-7431d1f1.system.entry.js → p-7e0a09e4.system.entry.js} +1 -1
- package/lib/duet/{p-3ba5bafd.system.entry.js → p-7f774fc9.system.entry.js} +1 -1
- package/lib/duet/{p-ab7d36e8.system.entry.js → p-7fdef0dd.system.entry.js} +1 -1
- package/lib/duet/{p-a1d40591.entry.js → p-80263ec2.entry.js} +1 -1
- package/lib/duet/{p-475d6e82.entry.js → p-8044ede8.entry.js} +1 -1
- package/lib/duet/{p-f601fb92.entry.js → p-8100dc30.entry.js} +1 -1
- package/lib/duet/{p-a6b44386.system.entry.js → p-8514c1fd.system.entry.js} +1 -1
- package/lib/duet/{p-6999dcca.system.entry.js → p-858d4351.system.entry.js} +1 -1
- package/lib/duet/{p-107887be.entry.js → p-8610769f.entry.js} +1 -1
- package/lib/duet/{p-3c2ae0d5.js → p-86f5e94d.js} +1 -1
- package/lib/duet/{p-2d1e8451.system.entry.js → p-89029dbf.system.entry.js} +1 -1
- package/lib/duet/{p-c674c251.system.entry.js → p-8a4f6622.system.entry.js} +1 -1
- package/lib/duet/p-8adb9463.js +4 -0
- package/lib/duet/{p-1274aa0f.system.entry.js → p-8b97085b.system.entry.js} +1 -1
- package/lib/duet/{p-10695d55.system.js → p-8c6e3c4f.system.js} +1 -1
- package/lib/duet/{p-de07a6c7.system.entry.js → p-8d3ea38b.system.entry.js} +1 -1
- package/lib/duet/p-91706763.entry.js +4 -0
- package/lib/duet/{p-9364781c.system.entry.js → p-970f58a4.system.entry.js} +1 -1
- package/lib/duet/{p-07bea2fe.system.entry.js → p-9a6b6b3d.system.entry.js} +1 -1
- package/lib/duet/{p-8b533166.system.entry.js → p-9c220732.system.entry.js} +1 -1
- package/lib/duet/{p-e232c9a6.entry.js → p-9d5c8f89.entry.js} +1 -1
- package/lib/duet/{p-fb763129.system.entry.js → p-9f06a8ea.system.entry.js} +1 -1
- package/lib/duet/p-a0d14985.entry.js +4 -0
- package/lib/duet/{p-197496f4.system.entry.js → p-a1661bb5.system.entry.js} +1 -1
- package/lib/duet/{p-a47b67e2.system.entry.js → p-a448442a.system.entry.js} +1 -1
- package/lib/duet/{p-aec52fd0.system.entry.js → p-a5c71d1e.system.entry.js} +1 -1
- package/lib/duet/{p-97b7d224.entry.js → p-a632f0e6.entry.js} +1 -1
- package/lib/duet/{p-a11c326b.entry.js → p-a64ae22c.entry.js} +1 -1
- package/lib/duet/p-a659351d.system.js +4 -0
- package/lib/duet/{p-75f7a572.js → p-a76ceaf6.js} +1 -1
- package/lib/duet/p-aae219af.entry.js +4 -0
- package/lib/duet/{p-5d5f6c7c.entry.js → p-ad780bff.entry.js} +1 -1
- package/lib/duet/p-add414ac.js +5 -0
- package/lib/duet/{p-dae9d8eb.entry.js → p-af1e2c3f.entry.js} +1 -1
- package/lib/duet/{p-cfea40ab.system.entry.js → p-b019381f.system.entry.js} +1 -1
- package/lib/duet/p-b05262b7.system.entry.js +4 -0
- package/lib/duet/{p-df3c0a26.system.entry.js → p-b1771c11.system.entry.js} +1 -1
- package/lib/duet/{p-37fb65e4.entry.js → p-b2bfea31.entry.js} +1 -1
- package/lib/duet/{p-a262eecf.entry.js → p-b3b3d6bd.entry.js} +1 -1
- package/lib/duet/{p-1f2686b7.system.entry.js → p-b48251df.system.entry.js} +1 -1
- package/lib/duet/{p-5e96a337.system.entry.js → p-b5b58135.system.entry.js} +1 -1
- package/lib/duet/{p-cc6b57eb.entry.js → p-b5eca9fb.entry.js} +1 -1
- package/lib/duet/{p-9e675661.entry.js → p-b5fceffd.entry.js} +1 -1
- package/lib/duet/{p-ac93ef4d.entry.js → p-b6b6fc6b.entry.js} +1 -1
- package/lib/duet/{p-6753d3e9.entry.js → p-b77fd62c.entry.js} +1 -1
- package/lib/duet/{p-e0af1e68.system.entry.js → p-b7cf784d.system.entry.js} +1 -1
- package/lib/duet/{p-d67196da.entry.js → p-bd3fb1c3.entry.js} +1 -1
- package/lib/duet/{p-a77b749b.system.entry.js → p-be3cd527.system.entry.js} +1 -1
- package/lib/duet/{p-ff433afd.entry.js → p-bf758d45.entry.js} +1 -1
- package/lib/duet/p-c1666b44.entry.js +4 -0
- package/lib/duet/{p-2dd573a3.system.entry.js → p-c19ce36a.system.entry.js} +1 -1
- package/lib/duet/{p-9915e4e4.system.entry.js → p-c36bc19d.system.entry.js} +1 -1
- package/lib/duet/p-c3e196ba.entry.js +4 -0
- package/lib/duet/{p-bd3fd83f.system.entry.js → p-c47eb015.system.entry.js} +1 -1
- package/lib/duet/{p-a6307cb3.entry.js → p-ca1bf530.entry.js} +1 -1
- package/lib/duet/p-ce19f576.entry.js +4 -0
- package/lib/duet/{p-b5ea61f3.entry.js → p-d29304a7.entry.js} +1 -1
- package/lib/duet/{p-fc25294f.entry.js → p-d48322a9.entry.js} +1 -1
- package/lib/duet/p-d54a1416.system.js +5 -0
- package/lib/duet/{p-dee965b3.system.entry.js → p-d6227385.system.entry.js} +1 -1
- package/lib/duet/{p-2d4c9a5b.system.entry.js → p-d8038e19.system.entry.js} +1 -1
- package/lib/duet/{p-aa6a1a0e.system.entry.js → p-d84c7825.system.entry.js} +1 -1
- package/lib/duet/{p-2f3e999c.system.entry.js → p-d9bf074e.system.entry.js} +1 -1
- package/lib/duet/{p-a93132ea.entry.js → p-dd853375.entry.js} +1 -1
- package/lib/duet/{p-994fd476.entry.js → p-e0e2079c.entry.js} +1 -1
- package/lib/duet/{p-c3c627fe.entry.js → p-e0e81c22.entry.js} +1 -1
- package/lib/duet/{p-9fbdd8b6.entry.js → p-e0e8fff0.entry.js} +1 -1
- package/lib/duet/{p-b482b06d.system.entry.js → p-e1f52858.system.entry.js} +1 -1
- package/lib/duet/{p-3b651d8c.entry.js → p-e3e5a8af.entry.js} +1 -1
- package/lib/duet/{p-5b27a74d.system.entry.js → p-e606a498.system.entry.js} +1 -1
- package/lib/duet/{p-e7ddaaf0.entry.js → p-e62f3faf.entry.js} +1 -1
- package/lib/duet/{p-e380af5d.system.entry.js → p-e69eb6da.system.entry.js} +1 -1
- package/lib/duet/{p-60b48a3d.entry.js → p-e8547150.entry.js} +1 -1
- package/lib/duet/{p-eb3a72fc.system.entry.js → p-ea8c59c7.system.entry.js} +1 -1
- package/lib/duet/{p-19babdcf.entry.js → p-eaaa0356.entry.js} +1 -1
- package/lib/duet/{p-66dfe352.entry.js → p-ed0ddc08.entry.js} +1 -1
- package/lib/duet/{p-23ba8301.entry.js → p-ee084e7a.entry.js} +1 -1
- package/lib/duet/{p-164aa67a.entry.js → p-f2876ff5.entry.js} +1 -1
- package/lib/duet/{p-d202fbd4.system.entry.js → p-f31f72f4.system.entry.js} +1 -1
- package/lib/duet/{p-ab26e29d.entry.js → p-f6060485.entry.js} +1 -1
- package/lib/duet/{p-2f35384b.entry.js → p-f644c0a8.entry.js} +1 -1
- package/lib/duet/{p-86c132c9.entry.js → p-f7b230ff.entry.js} +1 -1
- package/lib/duet/{p-9793321f.system.entry.js → p-f7fa36e0.system.entry.js} +1 -1
- package/lib/duet/{p-00cf42c2.system.js → p-fb6e4e8b.system.js} +1 -1
- package/lib/duet/{p-a9997645.entry.js → p-fbcc43b8.entry.js} +1 -1
- package/lib/duet/{p-5ccd0a8a.system.entry.js → p-fbd28216.system.entry.js} +1 -1
- package/lib/duet/p-fd4785ab.js +4 -0
- package/lib/esm/duet-action-button.entry.js +3 -3
- package/lib/esm/duet-alert.entry.js +14 -2
- package/lib/esm/duet-badge.entry.js +1 -1
- package/lib/esm/duet-banner.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-callout.entry.js +1 -1
- package/lib/esm/duet-caption_4.entry.js +3 -3
- package/lib/esm/duet-card.entry.js +3 -3
- 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 +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +25 -19
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +3 -2
- 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 +14 -9
- package/lib/esm/duet-hero.entry.js +1 -1
- package/lib/esm/duet-icon.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +1 -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 +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 +1 -1
- package/lib/esm/duet-modal.entry.js +6 -2
- package/lib/esm/duet-multiselect.entry.js +1 -1
- 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 +4 -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 -3
- package/lib/esm/duet-progress.entry.js +1 -1
- package/lib/esm/duet-promo-card.entry.js +3 -3
- package/lib/esm/duet-radio_2.entry.js +1 -1
- package/lib/esm/duet-range-slider.entry.js +2 -2
- 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 +4 -4
- package/lib/esm/duet-slideout.entry.js +4 -4
- 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 +16 -11
- 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 +2 -2
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +2 -2
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +5 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +3 -3
- package/lib/esm/{teleport-542f423e.js → floating-ui.dom.esm-6025c98f.js} +155 -195
- package/lib/esm/{focus-utils-8008bc82.js → focus-utils-2fea3a59.js} +1 -1
- package/lib/esm/{index-79528b07.js → index-ec048041.js} +1 -1
- package/lib/esm/loader.js +3 -3
- package/lib/esm/teleport-4ede216d.js +86 -0
- package/lib/esm/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
- package/lib/esm/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +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 +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 +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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/floating-ui.dom.esm-6025c98f.js +4 -0
- package/lib/esm-es5/focus-utils-2fea3a59.js +4 -0
- package/lib/esm-es5/index-ec048041.js +5 -0
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/teleport-4ede216d.js +4 -0
- package/lib/esm-es5/{token-utils-058d6220.js → token-utils-a1dcaa4b.js} +1 -1
- package/lib/esm-es5/{tokens.module-f436c2cd.js → tokens.module-ed773027.js} +1 -1
- package/lib/types/components/duet-alert/duet-alert.d.ts +12 -0
- package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +6 -1
- package/lib/types/components/duet-header/duet-header.d.ts +3 -0
- package/lib/types/components/duet-modal/duet-modal.d.ts +1 -0
- package/lib/types/components/duet-submenu-bar/duet-submenu-bar.d.ts +1 -0
- package/lib/types/components/duet-upload/duet-upload.d.ts +20 -16
- package/lib/types/components.d.ts +32 -4
- package/lib/types/utils/teleport.d.ts +14 -2
- package/package.json +5 -5
- package/lib/duet/p-042b1636.entry.js +0 -4
- package/lib/duet/p-05dc550e.entry.js +0 -4
- package/lib/duet/p-0e6350bf.system.entry.js +0 -4
- package/lib/duet/p-1002e2ae.system.entry.js +0 -4
- package/lib/duet/p-247f5600.entry.js +0 -4
- package/lib/duet/p-27530b53.js +0 -5
- package/lib/duet/p-30218ca6.system.entry.js +0 -4
- package/lib/duet/p-3ca2dafc.entry.js +0 -4
- package/lib/duet/p-4c063f5f.entry.js +0 -4
- package/lib/duet/p-7649b95e.js +0 -4
- package/lib/duet/p-7a0c7e22.system.entry.js +0 -4
- package/lib/duet/p-8c7ae2a9.system.js +0 -4
- package/lib/duet/p-8f416ae3.entry.js +0 -4
- package/lib/duet/p-949c4fd0.entry.js +0 -4
- package/lib/duet/p-be192c5b.js +0 -4
- package/lib/duet/p-be52bfd0.system.entry.js +0 -4
- package/lib/duet/p-be567ab1.entry.js +0 -4
- package/lib/duet/p-c84acb8f.entry.js +0 -4
- package/lib/duet/p-d86d90f2.entry.js +0 -4
- package/lib/duet/p-e15bdc0f.entry.js +0 -4
- package/lib/duet/p-ea8d7c61.system.js +0 -5
- package/lib/duet/p-f1d9862a.entry.js +0 -4
- package/lib/esm-es5/focus-utils-8008bc82.js +0 -4
- package/lib/esm-es5/index-79528b07.js +0 -5
- package/lib/esm-es5/teleport-542f423e.js +0 -4
|
@@ -1,22 +1,118 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const min$1 = Math.min;
|
|
5
|
+
const max$1 = Math.max;
|
|
6
|
+
const oppositeSideMap = {
|
|
7
|
+
left: 'right',
|
|
8
|
+
right: 'left',
|
|
9
|
+
bottom: 'top',
|
|
10
|
+
top: 'bottom'
|
|
11
|
+
};
|
|
12
|
+
const oppositeAlignmentMap = {
|
|
13
|
+
start: 'end',
|
|
14
|
+
end: 'start'
|
|
15
|
+
};
|
|
16
|
+
function clamp(start, value, end) {
|
|
17
|
+
return max$1(start, min$1(value, end));
|
|
18
|
+
}
|
|
19
|
+
function evaluate(value, param) {
|
|
20
|
+
return typeof value === 'function' ? value(param) : value;
|
|
21
|
+
}
|
|
22
|
+
function getSide(placement) {
|
|
23
|
+
return placement.split('-')[0];
|
|
24
|
+
}
|
|
6
25
|
function getAlignment(placement) {
|
|
7
26
|
return placement.split('-')[1];
|
|
8
27
|
}
|
|
9
|
-
|
|
10
|
-
|
|
28
|
+
function getOppositeAxis(axis) {
|
|
29
|
+
return axis === 'x' ? 'y' : 'x';
|
|
30
|
+
}
|
|
31
|
+
function getAxisLength(axis) {
|
|
11
32
|
return axis === 'y' ? 'height' : 'width';
|
|
12
33
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return placement.split('-')[0];
|
|
34
|
+
function getSideAxis(placement) {
|
|
35
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
16
36
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
function getAlignmentAxis(placement) {
|
|
38
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
39
|
+
}
|
|
40
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
41
|
+
if (rtl === void 0) {
|
|
42
|
+
rtl = false;
|
|
43
|
+
}
|
|
44
|
+
const alignment = getAlignment(placement);
|
|
45
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
46
|
+
const length = getAxisLength(alignmentAxis);
|
|
47
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
48
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
49
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
50
|
+
}
|
|
51
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
52
|
+
}
|
|
53
|
+
function getExpandedPlacements(placement) {
|
|
54
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
55
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
56
|
+
}
|
|
57
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
58
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
59
|
+
}
|
|
60
|
+
function getSideList(side, isStart, rtl) {
|
|
61
|
+
const lr = ['left', 'right'];
|
|
62
|
+
const rl = ['right', 'left'];
|
|
63
|
+
const tb = ['top', 'bottom'];
|
|
64
|
+
const bt = ['bottom', 'top'];
|
|
65
|
+
switch (side) {
|
|
66
|
+
case 'top':
|
|
67
|
+
case 'bottom':
|
|
68
|
+
if (rtl) return isStart ? rl : lr;
|
|
69
|
+
return isStart ? lr : rl;
|
|
70
|
+
case 'left':
|
|
71
|
+
case 'right':
|
|
72
|
+
return isStart ? tb : bt;
|
|
73
|
+
default:
|
|
74
|
+
return [];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
78
|
+
const alignment = getAlignment(placement);
|
|
79
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
80
|
+
if (alignment) {
|
|
81
|
+
list = list.map(side => side + "-" + alignment);
|
|
82
|
+
if (flipAlignment) {
|
|
83
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return list;
|
|
87
|
+
}
|
|
88
|
+
function getOppositePlacement(placement) {
|
|
89
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
90
|
+
}
|
|
91
|
+
function expandPaddingObject(padding) {
|
|
92
|
+
return {
|
|
93
|
+
top: 0,
|
|
94
|
+
right: 0,
|
|
95
|
+
bottom: 0,
|
|
96
|
+
left: 0,
|
|
97
|
+
...padding
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function getPaddingObject(padding) {
|
|
101
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
102
|
+
top: padding,
|
|
103
|
+
right: padding,
|
|
104
|
+
bottom: padding,
|
|
105
|
+
left: padding
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
function rectToClientRect(rect) {
|
|
109
|
+
return {
|
|
110
|
+
...rect,
|
|
111
|
+
top: rect.y,
|
|
112
|
+
left: rect.x,
|
|
113
|
+
right: rect.x + rect.width,
|
|
114
|
+
bottom: rect.y + rect.height
|
|
115
|
+
};
|
|
20
116
|
}
|
|
21
117
|
|
|
22
118
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -24,13 +120,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
24
120
|
reference,
|
|
25
121
|
floating
|
|
26
122
|
} = _ref;
|
|
123
|
+
const sideAxis = getSideAxis(placement);
|
|
124
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
125
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
126
|
+
const side = getSide(placement);
|
|
127
|
+
const isVertical = sideAxis === 'y';
|
|
27
128
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
28
129
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
29
|
-
const
|
|
30
|
-
const length = getLengthFromAxis(mainAxis);
|
|
31
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
32
|
-
const side = getSide(placement);
|
|
33
|
-
const isVertical = mainAxis === 'x';
|
|
130
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
34
131
|
let coords;
|
|
35
132
|
switch (side) {
|
|
36
133
|
case 'top':
|
|
@@ -65,10 +162,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
65
162
|
}
|
|
66
163
|
switch (getAlignment(placement)) {
|
|
67
164
|
case 'start':
|
|
68
|
-
coords[
|
|
165
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
69
166
|
break;
|
|
70
167
|
case 'end':
|
|
71
|
-
coords[
|
|
168
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
72
169
|
break;
|
|
73
170
|
}
|
|
74
171
|
return coords;
|
|
@@ -166,35 +263,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
166
263
|
};
|
|
167
264
|
};
|
|
168
265
|
|
|
169
|
-
function expandPaddingObject(padding) {
|
|
170
|
-
return {
|
|
171
|
-
top: 0,
|
|
172
|
-
right: 0,
|
|
173
|
-
bottom: 0,
|
|
174
|
-
left: 0,
|
|
175
|
-
...padding
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
function getSideObjectFromPadding(padding) {
|
|
180
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
181
|
-
top: padding,
|
|
182
|
-
right: padding,
|
|
183
|
-
bottom: padding,
|
|
184
|
-
left: padding
|
|
185
|
-
};
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
function rectToClientRect(rect) {
|
|
189
|
-
return {
|
|
190
|
-
...rect,
|
|
191
|
-
top: rect.y,
|
|
192
|
-
left: rect.x,
|
|
193
|
-
right: rect.x + rect.width,
|
|
194
|
-
bottom: rect.y + rect.height
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
|
|
198
266
|
/**
|
|
199
267
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
200
268
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -222,8 +290,8 @@ async function detectOverflow(state, options) {
|
|
|
222
290
|
elementContext = 'floating',
|
|
223
291
|
altBoundary = false,
|
|
224
292
|
padding = 0
|
|
225
|
-
} = options;
|
|
226
|
-
const paddingObject =
|
|
293
|
+
} = evaluate(options, state);
|
|
294
|
+
const paddingObject = getPaddingObject(padding);
|
|
227
295
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
228
296
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
229
297
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -258,13 +326,6 @@ async function detectOverflow(state, options) {
|
|
|
258
326
|
};
|
|
259
327
|
}
|
|
260
328
|
|
|
261
|
-
const min$1 = Math.min;
|
|
262
|
-
const max$1 = Math.max;
|
|
263
|
-
|
|
264
|
-
function within(min$1$1, value, max$1$1) {
|
|
265
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
266
|
-
}
|
|
267
|
-
|
|
268
329
|
/**
|
|
269
330
|
* Provides data to position an inner element of the floating element so that it
|
|
270
331
|
* appears centered to the reference element.
|
|
@@ -274,11 +335,6 @@ const arrow = options => ({
|
|
|
274
335
|
name: 'arrow',
|
|
275
336
|
options,
|
|
276
337
|
async fn(state) {
|
|
277
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
278
|
-
const {
|
|
279
|
-
element,
|
|
280
|
-
padding = 0
|
|
281
|
-
} = options || {};
|
|
282
338
|
const {
|
|
283
339
|
x,
|
|
284
340
|
y,
|
|
@@ -287,16 +343,21 @@ const arrow = options => ({
|
|
|
287
343
|
platform,
|
|
288
344
|
elements
|
|
289
345
|
} = state;
|
|
346
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
347
|
+
const {
|
|
348
|
+
element,
|
|
349
|
+
padding = 0
|
|
350
|
+
} = evaluate(options, state) || {};
|
|
290
351
|
if (element == null) {
|
|
291
352
|
return {};
|
|
292
353
|
}
|
|
293
|
-
const paddingObject =
|
|
354
|
+
const paddingObject = getPaddingObject(padding);
|
|
294
355
|
const coords = {
|
|
295
356
|
x,
|
|
296
357
|
y
|
|
297
358
|
};
|
|
298
|
-
const axis =
|
|
299
|
-
const length =
|
|
359
|
+
const axis = getAlignmentAxis(placement);
|
|
360
|
+
const length = getAxisLength(axis);
|
|
300
361
|
const arrowDimensions = await platform.getDimensions(element);
|
|
301
362
|
const isYAxis = axis === 'y';
|
|
302
363
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -313,98 +374,35 @@ const arrow = options => ({
|
|
|
313
374
|
}
|
|
314
375
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
315
376
|
|
|
377
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
378
|
+
// centered, modify the padding so that it is centered.
|
|
379
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
380
|
+
const minPadding = min$1(paddingObject[minProp], largestPossiblePadding);
|
|
381
|
+
const maxPadding = min$1(paddingObject[maxProp], largestPossiblePadding);
|
|
382
|
+
|
|
316
383
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
317
384
|
// point is outside the floating element's bounds.
|
|
318
|
-
const min =
|
|
319
|
-
const max = clientSize - arrowDimensions[length] -
|
|
385
|
+
const min$1$1 = minPadding;
|
|
386
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
320
387
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
321
|
-
const offset =
|
|
388
|
+
const offset = clamp(min$1$1, center, max);
|
|
322
389
|
|
|
323
390
|
// If the reference is small enough that the arrow's padding causes it to
|
|
324
391
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
325
392
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
326
393
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
327
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ?
|
|
328
|
-
const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;
|
|
394
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
395
|
+
const alignmentOffset = shouldAddOffset ? center < min$1$1 ? min$1$1 - center : max - center : 0;
|
|
329
396
|
return {
|
|
330
397
|
[axis]: coords[axis] - alignmentOffset,
|
|
331
398
|
data: {
|
|
332
399
|
[axis]: offset,
|
|
333
|
-
centerOffset: center - offset
|
|
400
|
+
centerOffset: center - offset + alignmentOffset
|
|
334
401
|
}
|
|
335
402
|
};
|
|
336
403
|
}
|
|
337
404
|
});
|
|
338
405
|
|
|
339
|
-
const oppositeSideMap = {
|
|
340
|
-
left: 'right',
|
|
341
|
-
right: 'left',
|
|
342
|
-
bottom: 'top',
|
|
343
|
-
top: 'bottom'
|
|
344
|
-
};
|
|
345
|
-
function getOppositePlacement(placement) {
|
|
346
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
350
|
-
if (rtl === void 0) {
|
|
351
|
-
rtl = false;
|
|
352
|
-
}
|
|
353
|
-
const alignment = getAlignment(placement);
|
|
354
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
355
|
-
const length = getLengthFromAxis(mainAxis);
|
|
356
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
357
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
358
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
359
|
-
}
|
|
360
|
-
return {
|
|
361
|
-
main: mainAlignmentSide,
|
|
362
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
const oppositeAlignmentMap = {
|
|
367
|
-
start: 'end',
|
|
368
|
-
end: 'start'
|
|
369
|
-
};
|
|
370
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
371
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
function getExpandedPlacements(placement) {
|
|
375
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
376
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
function getSideList(side, isStart, rtl) {
|
|
380
|
-
const lr = ['left', 'right'];
|
|
381
|
-
const rl = ['right', 'left'];
|
|
382
|
-
const tb = ['top', 'bottom'];
|
|
383
|
-
const bt = ['bottom', 'top'];
|
|
384
|
-
switch (side) {
|
|
385
|
-
case 'top':
|
|
386
|
-
case 'bottom':
|
|
387
|
-
if (rtl) return isStart ? rl : lr;
|
|
388
|
-
return isStart ? lr : rl;
|
|
389
|
-
case 'left':
|
|
390
|
-
case 'right':
|
|
391
|
-
return isStart ? tb : bt;
|
|
392
|
-
default:
|
|
393
|
-
return [];
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
397
|
-
const alignment = getAlignment(placement);
|
|
398
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
399
|
-
if (alignment) {
|
|
400
|
-
list = list.map(side => side + "-" + alignment);
|
|
401
|
-
if (flipAlignment) {
|
|
402
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
return list;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
406
|
/**
|
|
409
407
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
410
408
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -436,7 +434,7 @@ const flip = function (options) {
|
|
|
436
434
|
fallbackAxisSideDirection = 'none',
|
|
437
435
|
flipAlignment = true,
|
|
438
436
|
...detectOverflowOptions
|
|
439
|
-
} = options;
|
|
437
|
+
} = evaluate(options, state);
|
|
440
438
|
const side = getSide(placement);
|
|
441
439
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
442
440
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
@@ -452,11 +450,8 @@ const flip = function (options) {
|
|
|
452
450
|
overflows.push(overflow[side]);
|
|
453
451
|
}
|
|
454
452
|
if (checkCrossAxis) {
|
|
455
|
-
const
|
|
456
|
-
|
|
457
|
-
cross
|
|
458
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
459
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
453
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
454
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
460
455
|
}
|
|
461
456
|
overflowsData = [...overflowsData, {
|
|
462
457
|
placement,
|
|
@@ -515,7 +510,9 @@ const flip = function (options) {
|
|
|
515
510
|
};
|
|
516
511
|
};
|
|
517
512
|
|
|
518
|
-
|
|
513
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
514
|
+
// Derivable.
|
|
515
|
+
async function convertValueToCoords(state, options) {
|
|
519
516
|
const {
|
|
520
517
|
placement,
|
|
521
518
|
platform,
|
|
@@ -524,10 +521,10 @@ async function convertValueToCoords(state, value) {
|
|
|
524
521
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
525
522
|
const side = getSide(placement);
|
|
526
523
|
const alignment = getAlignment(placement);
|
|
527
|
-
const isVertical =
|
|
524
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
528
525
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
529
526
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
530
|
-
const rawValue =
|
|
527
|
+
const rawValue = evaluate(options, state);
|
|
531
528
|
|
|
532
529
|
// eslint-disable-next-line prefer-const
|
|
533
530
|
let {
|
|
@@ -563,19 +560,19 @@ async function convertValueToCoords(state, value) {
|
|
|
563
560
|
* object may be passed.
|
|
564
561
|
* @see https://floating-ui.com/docs/offset
|
|
565
562
|
*/
|
|
566
|
-
const offset = function (
|
|
567
|
-
if (
|
|
568
|
-
|
|
563
|
+
const offset = function (options) {
|
|
564
|
+
if (options === void 0) {
|
|
565
|
+
options = 0;
|
|
569
566
|
}
|
|
570
567
|
return {
|
|
571
568
|
name: 'offset',
|
|
572
|
-
options
|
|
569
|
+
options,
|
|
573
570
|
async fn(state) {
|
|
574
571
|
const {
|
|
575
572
|
x,
|
|
576
573
|
y
|
|
577
574
|
} = state;
|
|
578
|
-
const diffCoords = await convertValueToCoords(state,
|
|
575
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
579
576
|
return {
|
|
580
577
|
x: x + diffCoords.x,
|
|
581
578
|
y: y + diffCoords.y,
|
|
@@ -585,10 +582,6 @@ const offset = function (value) {
|
|
|
585
582
|
};
|
|
586
583
|
};
|
|
587
584
|
|
|
588
|
-
function getCrossAxis(axis) {
|
|
589
|
-
return axis === 'x' ? 'y' : 'x';
|
|
590
|
-
}
|
|
591
|
-
|
|
592
585
|
/**
|
|
593
586
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
594
587
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -623,14 +616,14 @@ const shift = function (options) {
|
|
|
623
616
|
}
|
|
624
617
|
},
|
|
625
618
|
...detectOverflowOptions
|
|
626
|
-
} = options;
|
|
619
|
+
} = evaluate(options, state);
|
|
627
620
|
const coords = {
|
|
628
621
|
x,
|
|
629
622
|
y
|
|
630
623
|
};
|
|
631
624
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
632
|
-
const
|
|
633
|
-
const
|
|
625
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
626
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
634
627
|
let mainAxisCoord = coords[mainAxis];
|
|
635
628
|
let crossAxisCoord = coords[crossAxis];
|
|
636
629
|
if (checkMainAxis) {
|
|
@@ -638,14 +631,14 @@ const shift = function (options) {
|
|
|
638
631
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
639
632
|
const min = mainAxisCoord + overflow[minSide];
|
|
640
633
|
const max = mainAxisCoord - overflow[maxSide];
|
|
641
|
-
mainAxisCoord =
|
|
634
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
642
635
|
}
|
|
643
636
|
if (checkCrossAxis) {
|
|
644
637
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
645
638
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
646
639
|
const min = crossAxisCoord + overflow[minSide];
|
|
647
640
|
const max = crossAxisCoord - overflow[maxSide];
|
|
648
|
-
crossAxisCoord =
|
|
641
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
649
642
|
}
|
|
650
643
|
const limitedCoords = limiter.fn({
|
|
651
644
|
...state,
|
|
@@ -1244,37 +1237,4 @@ const computePosition = (reference, floating, options) => {
|
|
|
1244
1237
|
});
|
|
1245
1238
|
};
|
|
1246
1239
|
|
|
1247
|
-
|
|
1248
|
-
* Teleport helps resolving z-index issues of overlapping popup elements.
|
|
1249
|
-
* Initiate it in your component's willLoad or didLoad lifecycle hook.
|
|
1250
|
-
* When you open the popup, call teleport.go() and move focus to the popup.
|
|
1251
|
-
* When you close the popup, call teleport.resume() and move focus to the element that opened the popup.
|
|
1252
|
-
* If your popup has closing animation, use the timeout parameter.
|
|
1253
|
-
*/
|
|
1254
|
-
class Teleport {
|
|
1255
|
-
constructor(element, target) {
|
|
1256
|
-
this.element = element;
|
|
1257
|
-
this.target = target || document.body;
|
|
1258
|
-
}
|
|
1259
|
-
go() {
|
|
1260
|
-
this.stub = document.createElement("div");
|
|
1261
|
-
this.element.insertAdjacentElement("afterend", this.stub);
|
|
1262
|
-
this.target.appendChild(this.element);
|
|
1263
|
-
this.element.style.zIndex = zIndexPopup;
|
|
1264
|
-
}
|
|
1265
|
-
resume(timeout = 0) {
|
|
1266
|
-
if (timeout) {
|
|
1267
|
-
setTimeout(this._resume.bind(this), timeout);
|
|
1268
|
-
}
|
|
1269
|
-
else {
|
|
1270
|
-
this._resume();
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
|
-
_resume() {
|
|
1274
|
-
this.element.style.zIndex = "";
|
|
1275
|
-
this.stub.insertAdjacentElement("beforebegin", this.element);
|
|
1276
|
-
this.stub.remove();
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
export { Teleport as T, arrow as a, computePosition as c, flip as f, offset as o, shift as s };
|
|
1240
|
+
export { arrow as a, computePosition as c, flip as f, offset as o, shift as s };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
4
|
const NAMESPACE = 'duet';
|
|
5
|
-
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"
|
|
5
|
+
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.1"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Virtual DOM patching algorithm based on Snabbdom by
|