@duetds/components 6.11.2 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +309 -230
- 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 +1 -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 +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-6d4f01d9.js} +1 -1
- package/lib/cjs/{index-04de4d35.js → index-b7f668db.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-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.js +54 -2
- package/lib/collection/components/duet-button/duet-button.js +5 -5
- package/lib/collection/components/duet-caption/duet-caption.js +1 -1
- package/lib/collection/components/duet-card/duet-card.js +3 -3
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +4 -4
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
- package/lib/collection/components/duet-combobox/duet-combobox.js +3 -3
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +25 -1
- package/lib/collection/components/duet-footer/duet-footer.js +7 -7
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +28 -23
- package/lib/collection/components/duet-heading/duet-heading.js +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +1 -1
- package/lib/collection/components/duet-input/duet-input.js +8 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +1 -1
- package/lib/collection/components/duet-list/duet-list.js +3 -3
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
- package/lib/collection/components/duet-modal/duet-modal.js +7 -3
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-pagination/duet-pagination.js +2 -2
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +1 -1
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-show-more/duet-show-more.js +1 -1
- package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
- package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
- package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +5 -5
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-upload/duet-upload.js +53 -29
- package/lib/collection/components/duet-upload/upload-item-header.js +6 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +5 -4
- 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 +2 -2
- 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-e354b687.js → p-19b04293.js} +1 -1
- package/lib/dist-custom-elements/{p-b260c7b8.js → p-1fef65c4.js} +1 -1
- package/lib/dist-custom-elements/{p-f9076d3e.js → p-20d8a7ab.js} +14 -13
- package/lib/dist-custom-elements/{p-a5cb00f4.js → p-28facbdc.js} +2 -2
- package/lib/dist-custom-elements/{p-2bd44c3c.js → p-32a42529.js} +4 -4
- package/lib/dist-custom-elements/{p-4f3d4b28.js → p-34d193a7.js} +1 -1
- package/lib/dist-custom-elements/{p-411af53d.js → p-371290d2.js} +3 -3
- package/lib/dist-custom-elements/{p-44316a49.js → p-47bc3fc6.js} +1 -1
- package/lib/dist-custom-elements/{p-67584a63.js → p-4fa0d10e.js} +3 -3
- package/lib/dist-custom-elements/{p-df34106b.js → p-507ae246.js} +2 -2
- package/lib/dist-custom-elements/{p-f79fe19b.js → p-591040e5.js} +1 -1
- package/lib/dist-custom-elements/p-63c149ab.js +86 -0
- package/lib/dist-custom-elements/{p-baa9e0f3.js → p-66206ea5.js} +1 -1
- package/lib/dist-custom-elements/{p-9dc40c4f.js → p-80bd412e.js} +10 -10
- package/lib/dist-custom-elements/{p-2ca516d3.js → p-84003069.js} +5 -3
- package/lib/dist-custom-elements/{p-b244b9d4.js → p-86f35893.js} +1 -1
- package/lib/dist-custom-elements/{p-784fe90e.js → p-8adb9463.js} +155 -195
- package/lib/dist-custom-elements/{p-e4198c92.js → p-8dbc5e4b.js} +1 -1
- package/lib/dist-custom-elements/{p-748fb4e9.js → p-8e9d78b5.js} +1 -1
- package/lib/dist-custom-elements/{p-726f277c.js → p-91f98ca2.js} +5 -5
- package/lib/dist-custom-elements/{p-c56b4bad.js → p-93609c40.js} +2 -2
- package/lib/dist-custom-elements/{p-b4163126.js → p-960b00e1.js} +2 -2
- package/lib/dist-custom-elements/{p-2159ffc3.js → p-9fb22951.js} +2 -2
- package/lib/dist-custom-elements/{p-32fdcec8.js → p-a7cc7bd9.js} +2 -2
- package/lib/dist-custom-elements/{p-e22956bf.js → p-b1fa6ee7.js} +2 -2
- package/lib/dist-custom-elements/{p-351b0f8c.js → p-b95006a5.js} +2 -2
- package/lib/dist-custom-elements/{p-7a906a81.js → p-c2a056b1.js} +2 -2
- package/lib/dist-custom-elements/{p-c624c26b.js → p-c85f0028.js} +8 -8
- package/lib/dist-custom-elements/{p-229871c3.js → p-cbc43bac.js} +21 -7
- package/lib/dist-custom-elements/{p-d9bf49cf.js → p-da75f5d9.js} +1 -1
- package/lib/dist-custom-elements/{p-66ab9994.js → p-dd112690.js} +5 -5
- package/lib/dist-custom-elements/{p-7c68ac5a.js → p-de10f837.js} +7 -6
- package/lib/dist-custom-elements/{p-661e7864.js → p-de68431d.js} +1 -1
- package/lib/dist-custom-elements/{p-f13081a0.js → p-e78bd379.js} +3 -3
- package/lib/dist-custom-elements/{p-cd9b5f96.js → p-e8475b3c.js} +1 -1
- package/lib/dist-custom-elements/{p-ce09b821.js → p-eb0475d3.js} +1 -1
- package/lib/dist-custom-elements/{p-f30df343.js → p-f3ffb5b4.js} +2 -2
- package/lib/dist-custom-elements/{p-7ece12ec.js → p-f933f857.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-31441d04.system.entry.js → p-01aaac6a.system.entry.js} +1 -1
- package/lib/duet/{p-cc9f1e7e.system.entry.js → p-01f3e23e.system.entry.js} +1 -1
- package/lib/duet/{p-5d5f6c7c.entry.js → p-02ce139d.entry.js} +1 -1
- package/lib/duet/{p-e0af1e68.system.entry.js → p-02fa277e.system.entry.js} +1 -1
- package/lib/duet/{p-581baf04.system.entry.js → p-04dd24ca.system.entry.js} +1 -1
- package/lib/duet/p-05545e81.entry.js +4 -0
- package/lib/duet/{p-beb2fcfd.entry.js → p-07871336.entry.js} +1 -1
- package/lib/duet/{p-4aa7c43e.entry.js → p-090b0eb4.entry.js} +1 -1
- package/lib/duet/{p-fb763129.system.entry.js → p-0c3cfb88.system.entry.js} +1 -1
- package/lib/duet/{p-97b7d224.entry.js → p-0ec7bc0d.entry.js} +1 -1
- package/lib/duet/{p-20a3bf2b.entry.js → p-104758cf.entry.js} +1 -1
- package/lib/duet/{p-02c5180a.entry.js → p-10b014f5.entry.js} +1 -1
- package/lib/duet/{p-ff433afd.entry.js → p-1137a234.entry.js} +1 -1
- package/lib/duet/{p-27c853fe.system.entry.js → p-11a22107.system.entry.js} +1 -1
- package/lib/duet/{p-8b533166.system.entry.js → p-125fff3c.system.entry.js} +1 -1
- package/lib/duet/{p-da62279b.system.entry.js → p-15c364ef.system.entry.js} +1 -1
- package/lib/duet/p-180b9ef7.entry.js +4 -0
- package/lib/duet/{p-9e675661.entry.js → p-1e2689a2.entry.js} +1 -1
- package/lib/duet/{p-23ba8301.entry.js → p-231e217b.entry.js} +1 -1
- package/lib/duet/{p-7d15ac32.system.entry.js → p-2362c81c.system.entry.js} +1 -1
- package/lib/duet/{p-e8323345.system.entry.js → p-236348a6.system.entry.js} +1 -1
- package/lib/duet/{p-2ec51250.entry.js → p-26082482.entry.js} +1 -1
- package/lib/duet/{p-d67196da.entry.js → p-27831ad1.entry.js} +1 -1
- package/lib/duet/{p-a47b67e2.system.entry.js → p-27cbcb00.system.entry.js} +1 -1
- package/lib/duet/{p-a262eecf.entry.js → p-28cbcde9.entry.js} +1 -1
- package/lib/duet/{p-abdf2879.system.entry.js → p-2b90e0bf.system.entry.js} +1 -1
- package/lib/duet/{p-994fd476.entry.js → p-2f8baf13.entry.js} +1 -1
- package/lib/duet/{p-a1d40591.entry.js → p-2f8ff010.entry.js} +1 -1
- package/lib/duet/{p-bd3fd83f.system.entry.js → p-31f51b63.system.entry.js} +1 -1
- package/lib/duet/{p-05dc550e.entry.js → p-3351f110.entry.js} +1 -1
- package/lib/duet/{p-3c2ae0d5.js → p-33620d03.js} +1 -1
- package/lib/duet/{p-cc6b57eb.entry.js → p-3493bd62.entry.js} +1 -1
- package/lib/duet/{p-262f4bf7.system.entry.js → p-361a40a6.system.entry.js} +1 -1
- package/lib/duet/{p-57fbcba7.entry.js → p-399ae33f.entry.js} +1 -1
- package/lib/duet/{p-5e96a337.system.entry.js → p-3a48878a.system.entry.js} +1 -1
- package/lib/duet/{p-dae9d8eb.entry.js → p-3addfa0b.entry.js} +1 -1
- package/lib/duet/{p-c4917f80.system.entry.js → p-3bd38a60.system.entry.js} +1 -1
- package/lib/duet/{p-475d6e82.entry.js → p-3bdaca53.entry.js} +1 -1
- package/lib/duet/{p-e380af5d.system.entry.js → p-3bf13db2.system.entry.js} +1 -1
- package/lib/duet/{p-ef2eb6d8.entry.js → p-3ddc61bc.entry.js} +1 -1
- package/lib/duet/p-3e3f76cc.entry.js +4 -0
- package/lib/duet/{p-b5ea61f3.entry.js → p-407bc2e8.entry.js} +1 -1
- package/lib/duet/{p-6753d3e9.entry.js → p-4525bb7b.entry.js} +1 -1
- package/lib/duet/p-45d92a24.system.js +4 -0
- package/lib/duet/{p-e6ebe252.system.entry.js → p-46ae0197.system.entry.js} +1 -1
- package/lib/duet/{p-a77b749b.system.entry.js → p-4908aa39.system.entry.js} +1 -1
- package/lib/duet/{p-00cf42c2.system.js → p-491006e1.system.js} +1 -1
- package/lib/duet/{p-9915e4e4.system.entry.js → p-494e7691.system.entry.js} +1 -1
- package/lib/duet/{p-07bea2fe.system.entry.js → p-49e39bc1.system.entry.js} +1 -1
- package/lib/duet/p-4b3bef47.entry.js +4 -0
- package/lib/duet/{p-c674c251.system.entry.js → p-4b57b898.system.entry.js} +1 -1
- package/lib/duet/{p-37fb65e4.entry.js → p-4d272de8.entry.js} +1 -1
- package/lib/duet/{p-aec52fd0.system.entry.js → p-4ee4938c.system.entry.js} +1 -1
- package/lib/duet/{p-de07a6c7.system.entry.js → p-4f99c879.system.entry.js} +1 -1
- package/lib/duet/{p-3b651d8c.entry.js → p-5003f2f7.entry.js} +1 -1
- package/lib/duet/p-501d76ac.system.entry.js +4 -0
- package/lib/duet/{p-c3c627fe.entry.js → p-51ea8a1e.entry.js} +1 -1
- package/lib/duet/{p-66dfe352.entry.js → p-56e8e51e.entry.js} +1 -1
- package/lib/duet/{p-df3c0a26.system.entry.js → p-5700d7df.system.entry.js} +1 -1
- package/lib/duet/{p-d7cb8511.system.entry.js → p-5726b0c6.system.entry.js} +1 -1
- package/lib/duet/{p-5aa537c3.system.entry.js → p-57c81cdf.system.entry.js} +1 -1
- package/lib/duet/{p-fc25294f.entry.js → p-58d191e0.entry.js} +1 -1
- package/lib/duet/{p-2dd573a3.system.entry.js → p-5bb44d21.system.entry.js} +1 -1
- package/lib/duet/{p-99cc8fb5.entry.js → p-5be89661.entry.js} +1 -1
- package/lib/duet/{p-1dc34d52.entry.js → p-5c682b2c.entry.js} +1 -1
- package/lib/duet/{p-892dab61.system.entry.js → p-5d06caee.system.entry.js} +1 -1
- package/lib/duet/{p-e8bef1aa.entry.js → p-5d1f9c44.entry.js} +1 -1
- package/lib/duet/{p-e500eae6.system.entry.js → p-61c551d2.system.entry.js} +1 -1
- package/lib/duet/{p-6049c423.system.entry.js → p-63330f08.system.entry.js} +1 -1
- package/lib/duet/{p-5b27a74d.system.entry.js → p-63566970.system.entry.js} +1 -1
- package/lib/duet/p-63c149ab.js +4 -0
- package/lib/duet/{p-a8ea10a9.system.entry.js → p-66ab3c0e.system.entry.js} +1 -1
- package/lib/duet/{p-3d94b518.system.entry.js → p-6c1482e6.system.entry.js} +1 -1
- package/lib/duet/{p-e7ddaaf0.entry.js → p-715db5f9.entry.js} +1 -1
- package/lib/duet/{p-277d9e45.system.js → p-71a46879.system.js} +1 -1
- package/lib/duet/{p-a829f5f4.entry.js → p-720ffaf8.entry.js} +1 -1
- package/lib/duet/{p-19babdcf.entry.js → p-74bee1d0.entry.js} +1 -1
- package/lib/duet/{p-dd6874b5.entry.js → p-7709b117.entry.js} +1 -1
- package/lib/duet/{p-107887be.entry.js → p-7a3c5568.entry.js} +1 -1
- package/lib/duet/{p-807acf6d.system.entry.js → p-7d1b0468.system.entry.js} +1 -1
- package/lib/duet/{p-b6e0c13e.entry.js → p-7d5e5659.entry.js} +1 -1
- package/lib/duet/{p-f08bc317.entry.js → p-7e43823e.entry.js} +1 -1
- package/lib/duet/{p-00ff74e5.system.entry.js → p-8894b5f8.system.entry.js} +1 -1
- package/lib/duet/p-892b0784.system.js +5 -0
- package/lib/duet/p-8ace7a8f.entry.js +4 -0
- package/lib/duet/{p-6ecf1c48.entry.js → p-8adadd0e.entry.js} +1 -1
- package/lib/duet/p-8adb9463.js +4 -0
- package/lib/duet/{p-2d1e8451.system.entry.js → p-8aee7f16.system.entry.js} +1 -1
- package/lib/duet/{p-7431d1f1.system.entry.js → p-8b01d5ae.system.entry.js} +1 -1
- package/lib/duet/p-8be782cb.system.entry.js +4 -0
- package/lib/duet/{p-6999dcca.system.entry.js → p-8bfe774e.system.entry.js} +1 -1
- package/lib/duet/{p-10695d55.system.js → p-8c6e3c4f.system.js} +1 -1
- package/lib/duet/{p-1a5b2354.system.entry.js → p-8e64876c.system.entry.js} +1 -1
- package/lib/duet/p-90b90630.system.entry.js +4 -0
- package/lib/duet/p-90d5fb9a.entry.js +4 -0
- package/lib/duet/{p-72e1da72.system.entry.js → p-9116810a.system.entry.js} +1 -1
- package/lib/duet/{p-e232c9a6.entry.js → p-91e92ff0.entry.js} +1 -1
- package/lib/duet/{p-1f2686b7.system.entry.js → p-92a26eb7.system.entry.js} +1 -1
- package/lib/duet/{p-a11c326b.entry.js → p-939bceb1.entry.js} +1 -1
- package/lib/duet/{p-a6b44386.system.entry.js → p-968c8724.system.entry.js} +1 -1
- package/lib/duet/{p-2f3e999c.system.entry.js → p-9837720e.system.entry.js} +1 -1
- package/lib/duet/{p-164aa67a.entry.js → p-99a6c65d.entry.js} +1 -1
- package/lib/duet/{p-9793321f.system.entry.js → p-9a9f4f83.system.entry.js} +1 -1
- package/lib/duet/{p-60b48a3d.entry.js → p-9ad54264.entry.js} +1 -1
- package/lib/duet/{p-3f96bb94.entry.js → p-9bad6410.entry.js} +1 -1
- package/lib/duet/{p-f601fb92.entry.js → p-9ef41dff.entry.js} +1 -1
- package/lib/duet/{p-9364781c.system.entry.js → p-a04538da.system.entry.js} +2 -2
- package/lib/duet/{p-b482b06d.system.entry.js → p-a4dc39b7.system.entry.js} +1 -1
- package/lib/duet/{p-2a49661d.entry.js → p-a61f629f.entry.js} +1 -1
- package/lib/duet/p-a659351d.system.js +4 -0
- package/lib/duet/{p-ac93ef4d.entry.js → p-a6a78989.entry.js} +1 -1
- package/lib/duet/{p-75f7a572.js → p-a76ceaf6.js} +1 -1
- package/lib/duet/{p-78207603.entry.js → p-acfd55b1.entry.js} +1 -1
- package/lib/duet/{p-2f35384b.entry.js → p-afd647b4.entry.js} +1 -1
- package/lib/duet/{p-6586bc19.entry.js → p-b150413c.entry.js} +1 -1
- package/lib/duet/{p-5ccd0a8a.system.entry.js → p-b4548652.system.entry.js} +1 -1
- package/lib/duet/{p-88b565dc.system.entry.js → p-b50fe6a3.system.entry.js} +1 -1
- package/lib/duet/p-b63e9d32.system.entry.js +4 -0
- package/lib/duet/p-b63fdf97.entry.js +4 -0
- package/lib/duet/{p-c84acb8f.entry.js → p-b70632f4.entry.js} +1 -1
- package/lib/duet/{p-d202fbd4.system.entry.js → p-b8f45b9b.system.entry.js} +1 -1
- package/lib/duet/{p-ab7d36e8.system.entry.js → p-ba8d654e.system.entry.js} +1 -1
- package/lib/duet/{p-1507d44f.entry.js → p-c047dce3.entry.js} +1 -1
- package/lib/duet/{p-2d4c9a5b.system.entry.js → p-c06dd7ff.system.entry.js} +1 -1
- package/lib/duet/{p-3ba5bafd.system.entry.js → p-c1aa415d.system.entry.js} +1 -1
- package/lib/duet/p-c6265d54.system.entry.js +4 -0
- package/lib/duet/{p-11c031c1.system.entry.js → p-c7f078b4.system.entry.js} +1 -1
- package/lib/duet/{p-18607658.entry.js → p-ca587193.entry.js} +1 -1
- package/lib/duet/{p-66604d21.system.entry.js → p-cc2c3bda.system.entry.js} +1 -1
- package/lib/duet/{p-aa6a1a0e.system.entry.js → p-ccbd26f8.system.entry.js} +1 -1
- package/lib/duet/{p-7b8bd6ae.system.entry.js → p-cd494ec0.system.entry.js} +1 -1
- package/lib/duet/{p-a9997645.entry.js → p-d0517764.entry.js} +1 -1
- package/lib/duet/{p-b4b2f99a.entry.js → p-d1ada824.entry.js} +1 -1
- package/lib/duet/{p-94ecf766.system.entry.js → p-d23f5574.system.entry.js} +1 -1
- package/lib/duet/{p-14fc2fba.entry.js → p-d38f4401.entry.js} +1 -1
- package/lib/duet/{p-eb3a72fc.system.entry.js → p-d5a72abd.system.entry.js} +1 -1
- package/lib/duet/{p-375a323f.system.entry.js → p-d976e355.system.entry.js} +1 -1
- package/lib/duet/p-dafb7efd.js +5 -0
- package/lib/duet/{p-a9a34171.system.entry.js → p-dc00285e.system.entry.js} +1 -1
- package/lib/duet/{p-ab26e29d.entry.js → p-ddec1906.entry.js} +1 -1
- package/lib/duet/{p-cfea40ab.system.entry.js → p-dfecd542.system.entry.js} +1 -1
- package/lib/duet/{p-a93132ea.entry.js → p-e1a2ad9b.entry.js} +1 -1
- package/lib/duet/{p-2b1d7c14.entry.js → p-e26224c8.entry.js} +1 -1
- package/lib/duet/{p-a6307cb3.entry.js → p-e2674cbd.entry.js} +1 -1
- package/lib/duet/{p-489c0d61.entry.js → p-e464c127.entry.js} +1 -1
- package/lib/duet/{p-2a6ca4ea.system.entry.js → p-e62bcf02.system.entry.js} +1 -1
- package/lib/duet/{p-9355b478.system.entry.js → p-e73904ab.system.entry.js} +1 -1
- package/lib/duet/{p-8459e611.entry.js → p-e775f206.entry.js} +1 -1
- package/lib/duet/{p-7de54682.entry.js → p-e8496052.entry.js} +1 -1
- package/lib/duet/p-e8e50fdb.entry.js +4 -0
- package/lib/duet/{p-dee965b3.system.entry.js → p-ecfdc7d9.system.entry.js} +1 -1
- package/lib/duet/p-edddef22.entry.js +4 -0
- package/lib/duet/{p-6a640a77.system.entry.js → p-ee2dc527.system.entry.js} +1 -1
- package/lib/duet/{p-86c132c9.entry.js → p-ee3d6a73.entry.js} +1 -1
- package/lib/duet/{p-9fbdd8b6.entry.js → p-ef194759.entry.js} +1 -1
- package/lib/duet/{p-747807c9.system.entry.js → p-f06b4b03.system.entry.js} +1 -1
- package/lib/duet/{p-3fcc6db9.entry.js → p-f29123b4.entry.js} +1 -1
- package/lib/duet/{p-e3b90925.system.js → p-f36c856d.system.js} +1 -1
- package/lib/duet/{p-197496f4.system.entry.js → p-f36ee41c.system.entry.js} +1 -1
- package/lib/duet/p-fa56fe59.entry.js +4 -0
- package/lib/duet/{p-e91ebfb3.system.entry.js → p-fa7cdc28.system.entry.js} +1 -1
- package/lib/duet/{p-8ac9042e.system.entry.js → p-fc3275ba.system.entry.js} +1 -1
- package/lib/duet/p-fd4785ab.js +4 -0
- package/lib/duet/{p-1274aa0f.system.entry.js → p-fd54a219.system.entry.js} +1 -1
- package/lib/duet/{p-3d8f8731.entry.js → p-fe4cd626.entry.js} +1 -1
- 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 +1 -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 +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-8a8cfffd.js} +1 -1
- package/lib/esm/{index-79528b07.js → index-d48e2c74.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-8a8cfffd.js +4 -0
- package/lib/esm-es5/index-d48e2c74.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-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-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-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
|
@@ -3,22 +3,118 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
6
|
+
const min$1 = Math.min;
|
|
7
|
+
const max$1 = Math.max;
|
|
8
|
+
const oppositeSideMap = {
|
|
9
|
+
left: 'right',
|
|
10
|
+
right: 'left',
|
|
11
|
+
bottom: 'top',
|
|
12
|
+
top: 'bottom'
|
|
13
|
+
};
|
|
14
|
+
const oppositeAlignmentMap = {
|
|
15
|
+
start: 'end',
|
|
16
|
+
end: 'start'
|
|
17
|
+
};
|
|
18
|
+
function clamp(start, value, end) {
|
|
19
|
+
return max$1(start, min$1(value, end));
|
|
20
|
+
}
|
|
21
|
+
function evaluate(value, param) {
|
|
22
|
+
return typeof value === 'function' ? value(param) : value;
|
|
23
|
+
}
|
|
24
|
+
function getSide(placement) {
|
|
25
|
+
return placement.split('-')[0];
|
|
26
|
+
}
|
|
8
27
|
function getAlignment(placement) {
|
|
9
28
|
return placement.split('-')[1];
|
|
10
29
|
}
|
|
11
|
-
|
|
12
|
-
|
|
30
|
+
function getOppositeAxis(axis) {
|
|
31
|
+
return axis === 'x' ? 'y' : 'x';
|
|
32
|
+
}
|
|
33
|
+
function getAxisLength(axis) {
|
|
13
34
|
return axis === 'y' ? 'height' : 'width';
|
|
14
35
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
return placement.split('-')[0];
|
|
36
|
+
function getSideAxis(placement) {
|
|
37
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
18
38
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
39
|
+
function getAlignmentAxis(placement) {
|
|
40
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
41
|
+
}
|
|
42
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
43
|
+
if (rtl === void 0) {
|
|
44
|
+
rtl = false;
|
|
45
|
+
}
|
|
46
|
+
const alignment = getAlignment(placement);
|
|
47
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
48
|
+
const length = getAxisLength(alignmentAxis);
|
|
49
|
+
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
50
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
51
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
52
|
+
}
|
|
53
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
54
|
+
}
|
|
55
|
+
function getExpandedPlacements(placement) {
|
|
56
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
57
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
58
|
+
}
|
|
59
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
60
|
+
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
61
|
+
}
|
|
62
|
+
function getSideList(side, isStart, rtl) {
|
|
63
|
+
const lr = ['left', 'right'];
|
|
64
|
+
const rl = ['right', 'left'];
|
|
65
|
+
const tb = ['top', 'bottom'];
|
|
66
|
+
const bt = ['bottom', 'top'];
|
|
67
|
+
switch (side) {
|
|
68
|
+
case 'top':
|
|
69
|
+
case 'bottom':
|
|
70
|
+
if (rtl) return isStart ? rl : lr;
|
|
71
|
+
return isStart ? lr : rl;
|
|
72
|
+
case 'left':
|
|
73
|
+
case 'right':
|
|
74
|
+
return isStart ? tb : bt;
|
|
75
|
+
default:
|
|
76
|
+
return [];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
80
|
+
const alignment = getAlignment(placement);
|
|
81
|
+
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
82
|
+
if (alignment) {
|
|
83
|
+
list = list.map(side => side + "-" + alignment);
|
|
84
|
+
if (flipAlignment) {
|
|
85
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return list;
|
|
89
|
+
}
|
|
90
|
+
function getOppositePlacement(placement) {
|
|
91
|
+
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
92
|
+
}
|
|
93
|
+
function expandPaddingObject(padding) {
|
|
94
|
+
return {
|
|
95
|
+
top: 0,
|
|
96
|
+
right: 0,
|
|
97
|
+
bottom: 0,
|
|
98
|
+
left: 0,
|
|
99
|
+
...padding
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
function getPaddingObject(padding) {
|
|
103
|
+
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
104
|
+
top: padding,
|
|
105
|
+
right: padding,
|
|
106
|
+
bottom: padding,
|
|
107
|
+
left: padding
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function rectToClientRect(rect) {
|
|
111
|
+
return {
|
|
112
|
+
...rect,
|
|
113
|
+
top: rect.y,
|
|
114
|
+
left: rect.x,
|
|
115
|
+
right: rect.x + rect.width,
|
|
116
|
+
bottom: rect.y + rect.height
|
|
117
|
+
};
|
|
22
118
|
}
|
|
23
119
|
|
|
24
120
|
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
@@ -26,13 +122,14 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
26
122
|
reference,
|
|
27
123
|
floating
|
|
28
124
|
} = _ref;
|
|
125
|
+
const sideAxis = getSideAxis(placement);
|
|
126
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
127
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
128
|
+
const side = getSide(placement);
|
|
129
|
+
const isVertical = sideAxis === 'y';
|
|
29
130
|
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
30
131
|
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
31
|
-
const
|
|
32
|
-
const length = getLengthFromAxis(mainAxis);
|
|
33
|
-
const commonAlign = reference[length] / 2 - floating[length] / 2;
|
|
34
|
-
const side = getSide(placement);
|
|
35
|
-
const isVertical = mainAxis === 'x';
|
|
132
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
36
133
|
let coords;
|
|
37
134
|
switch (side) {
|
|
38
135
|
case 'top':
|
|
@@ -67,10 +164,10 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
|
67
164
|
}
|
|
68
165
|
switch (getAlignment(placement)) {
|
|
69
166
|
case 'start':
|
|
70
|
-
coords[
|
|
167
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
71
168
|
break;
|
|
72
169
|
case 'end':
|
|
73
|
-
coords[
|
|
170
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
74
171
|
break;
|
|
75
172
|
}
|
|
76
173
|
return coords;
|
|
@@ -168,35 +265,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
|
168
265
|
};
|
|
169
266
|
};
|
|
170
267
|
|
|
171
|
-
function expandPaddingObject(padding) {
|
|
172
|
-
return {
|
|
173
|
-
top: 0,
|
|
174
|
-
right: 0,
|
|
175
|
-
bottom: 0,
|
|
176
|
-
left: 0,
|
|
177
|
-
...padding
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
function getSideObjectFromPadding(padding) {
|
|
182
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
183
|
-
top: padding,
|
|
184
|
-
right: padding,
|
|
185
|
-
bottom: padding,
|
|
186
|
-
left: padding
|
|
187
|
-
};
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
function rectToClientRect(rect) {
|
|
191
|
-
return {
|
|
192
|
-
...rect,
|
|
193
|
-
top: rect.y,
|
|
194
|
-
left: rect.x,
|
|
195
|
-
right: rect.x + rect.width,
|
|
196
|
-
bottom: rect.y + rect.height
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
|
|
200
268
|
/**
|
|
201
269
|
* Resolves with an object of overflow side offsets that determine how much the
|
|
202
270
|
* element is overflowing a given clipping boundary on each side.
|
|
@@ -224,8 +292,8 @@ async function detectOverflow(state, options) {
|
|
|
224
292
|
elementContext = 'floating',
|
|
225
293
|
altBoundary = false,
|
|
226
294
|
padding = 0
|
|
227
|
-
} = options;
|
|
228
|
-
const paddingObject =
|
|
295
|
+
} = evaluate(options, state);
|
|
296
|
+
const paddingObject = getPaddingObject(padding);
|
|
229
297
|
const altContext = elementContext === 'floating' ? 'reference' : 'floating';
|
|
230
298
|
const element = elements[altBoundary ? altContext : elementContext];
|
|
231
299
|
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
@@ -260,13 +328,6 @@ async function detectOverflow(state, options) {
|
|
|
260
328
|
};
|
|
261
329
|
}
|
|
262
330
|
|
|
263
|
-
const min$1 = Math.min;
|
|
264
|
-
const max$1 = Math.max;
|
|
265
|
-
|
|
266
|
-
function within(min$1$1, value, max$1$1) {
|
|
267
|
-
return max$1(min$1$1, min$1(value, max$1$1));
|
|
268
|
-
}
|
|
269
|
-
|
|
270
331
|
/**
|
|
271
332
|
* Provides data to position an inner element of the floating element so that it
|
|
272
333
|
* appears centered to the reference element.
|
|
@@ -276,11 +337,6 @@ const arrow = options => ({
|
|
|
276
337
|
name: 'arrow',
|
|
277
338
|
options,
|
|
278
339
|
async fn(state) {
|
|
279
|
-
// Since `element` is required, we don't Partial<> the type.
|
|
280
|
-
const {
|
|
281
|
-
element,
|
|
282
|
-
padding = 0
|
|
283
|
-
} = options || {};
|
|
284
340
|
const {
|
|
285
341
|
x,
|
|
286
342
|
y,
|
|
@@ -289,16 +345,21 @@ const arrow = options => ({
|
|
|
289
345
|
platform,
|
|
290
346
|
elements
|
|
291
347
|
} = state;
|
|
348
|
+
// Since `element` is required, we don't Partial<> the type.
|
|
349
|
+
const {
|
|
350
|
+
element,
|
|
351
|
+
padding = 0
|
|
352
|
+
} = evaluate(options, state) || {};
|
|
292
353
|
if (element == null) {
|
|
293
354
|
return {};
|
|
294
355
|
}
|
|
295
|
-
const paddingObject =
|
|
356
|
+
const paddingObject = getPaddingObject(padding);
|
|
296
357
|
const coords = {
|
|
297
358
|
x,
|
|
298
359
|
y
|
|
299
360
|
};
|
|
300
|
-
const axis =
|
|
301
|
-
const length =
|
|
361
|
+
const axis = getAlignmentAxis(placement);
|
|
362
|
+
const length = getAxisLength(axis);
|
|
302
363
|
const arrowDimensions = await platform.getDimensions(element);
|
|
303
364
|
const isYAxis = axis === 'y';
|
|
304
365
|
const minProp = isYAxis ? 'top' : 'left';
|
|
@@ -315,98 +376,35 @@ const arrow = options => ({
|
|
|
315
376
|
}
|
|
316
377
|
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
317
378
|
|
|
379
|
+
// If the padding is large enough that it causes the arrow to no longer be
|
|
380
|
+
// centered, modify the padding so that it is centered.
|
|
381
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
382
|
+
const minPadding = min$1(paddingObject[minProp], largestPossiblePadding);
|
|
383
|
+
const maxPadding = min$1(paddingObject[maxProp], largestPossiblePadding);
|
|
384
|
+
|
|
318
385
|
// Make sure the arrow doesn't overflow the floating element if the center
|
|
319
386
|
// point is outside the floating element's bounds.
|
|
320
|
-
const min =
|
|
321
|
-
const max = clientSize - arrowDimensions[length] -
|
|
387
|
+
const min$1$1 = minPadding;
|
|
388
|
+
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
322
389
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
323
|
-
const offset =
|
|
390
|
+
const offset = clamp(min$1$1, center, max);
|
|
324
391
|
|
|
325
392
|
// If the reference is small enough that the arrow's padding causes it to
|
|
326
393
|
// to point to nothing for an aligned placement, adjust the offset of the
|
|
327
394
|
// floating element itself. This stops `shift()` from taking action, but can
|
|
328
395
|
// be worked around by calling it again after the `arrow()` if desired.
|
|
329
|
-
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min ?
|
|
330
|
-
const alignmentOffset = shouldAddOffset ? center < min ? min - center : max - center : 0;
|
|
396
|
+
const shouldAddOffset = getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
397
|
+
const alignmentOffset = shouldAddOffset ? center < min$1$1 ? min$1$1 - center : max - center : 0;
|
|
331
398
|
return {
|
|
332
399
|
[axis]: coords[axis] - alignmentOffset,
|
|
333
400
|
data: {
|
|
334
401
|
[axis]: offset,
|
|
335
|
-
centerOffset: center - offset
|
|
402
|
+
centerOffset: center - offset + alignmentOffset
|
|
336
403
|
}
|
|
337
404
|
};
|
|
338
405
|
}
|
|
339
406
|
});
|
|
340
407
|
|
|
341
|
-
const oppositeSideMap = {
|
|
342
|
-
left: 'right',
|
|
343
|
-
right: 'left',
|
|
344
|
-
bottom: 'top',
|
|
345
|
-
top: 'bottom'
|
|
346
|
-
};
|
|
347
|
-
function getOppositePlacement(placement) {
|
|
348
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
352
|
-
if (rtl === void 0) {
|
|
353
|
-
rtl = false;
|
|
354
|
-
}
|
|
355
|
-
const alignment = getAlignment(placement);
|
|
356
|
-
const mainAxis = getMainAxisFromPlacement(placement);
|
|
357
|
-
const length = getLengthFromAxis(mainAxis);
|
|
358
|
-
let mainAlignmentSide = mainAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
359
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
360
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
361
|
-
}
|
|
362
|
-
return {
|
|
363
|
-
main: mainAlignmentSide,
|
|
364
|
-
cross: getOppositePlacement(mainAlignmentSide)
|
|
365
|
-
};
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
const oppositeAlignmentMap = {
|
|
369
|
-
start: 'end',
|
|
370
|
-
end: 'start'
|
|
371
|
-
};
|
|
372
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
373
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
function getExpandedPlacements(placement) {
|
|
377
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
378
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
function getSideList(side, isStart, rtl) {
|
|
382
|
-
const lr = ['left', 'right'];
|
|
383
|
-
const rl = ['right', 'left'];
|
|
384
|
-
const tb = ['top', 'bottom'];
|
|
385
|
-
const bt = ['bottom', 'top'];
|
|
386
|
-
switch (side) {
|
|
387
|
-
case 'top':
|
|
388
|
-
case 'bottom':
|
|
389
|
-
if (rtl) return isStart ? rl : lr;
|
|
390
|
-
return isStart ? lr : rl;
|
|
391
|
-
case 'left':
|
|
392
|
-
case 'right':
|
|
393
|
-
return isStart ? tb : bt;
|
|
394
|
-
default:
|
|
395
|
-
return [];
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
399
|
-
const alignment = getAlignment(placement);
|
|
400
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
401
|
-
if (alignment) {
|
|
402
|
-
list = list.map(side => side + "-" + alignment);
|
|
403
|
-
if (flipAlignment) {
|
|
404
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
return list;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
408
|
/**
|
|
411
409
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
412
410
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
@@ -438,7 +436,7 @@ const flip = function (options) {
|
|
|
438
436
|
fallbackAxisSideDirection = 'none',
|
|
439
437
|
flipAlignment = true,
|
|
440
438
|
...detectOverflowOptions
|
|
441
|
-
} = options;
|
|
439
|
+
} = evaluate(options, state);
|
|
442
440
|
const side = getSide(placement);
|
|
443
441
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
444
442
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
@@ -454,11 +452,8 @@ const flip = function (options) {
|
|
|
454
452
|
overflows.push(overflow[side]);
|
|
455
453
|
}
|
|
456
454
|
if (checkCrossAxis) {
|
|
457
|
-
const
|
|
458
|
-
|
|
459
|
-
cross
|
|
460
|
-
} = getAlignmentSides(placement, rects, rtl);
|
|
461
|
-
overflows.push(overflow[main], overflow[cross]);
|
|
455
|
+
const sides = getAlignmentSides(placement, rects, rtl);
|
|
456
|
+
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
462
457
|
}
|
|
463
458
|
overflowsData = [...overflowsData, {
|
|
464
459
|
placement,
|
|
@@ -517,7 +512,9 @@ const flip = function (options) {
|
|
|
517
512
|
};
|
|
518
513
|
};
|
|
519
514
|
|
|
520
|
-
|
|
515
|
+
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
516
|
+
// Derivable.
|
|
517
|
+
async function convertValueToCoords(state, options) {
|
|
521
518
|
const {
|
|
522
519
|
placement,
|
|
523
520
|
platform,
|
|
@@ -526,10 +523,10 @@ async function convertValueToCoords(state, value) {
|
|
|
526
523
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
527
524
|
const side = getSide(placement);
|
|
528
525
|
const alignment = getAlignment(placement);
|
|
529
|
-
const isVertical =
|
|
526
|
+
const isVertical = getSideAxis(placement) === 'y';
|
|
530
527
|
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
531
528
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
532
|
-
const rawValue =
|
|
529
|
+
const rawValue = evaluate(options, state);
|
|
533
530
|
|
|
534
531
|
// eslint-disable-next-line prefer-const
|
|
535
532
|
let {
|
|
@@ -565,19 +562,19 @@ async function convertValueToCoords(state, value) {
|
|
|
565
562
|
* object may be passed.
|
|
566
563
|
* @see https://floating-ui.com/docs/offset
|
|
567
564
|
*/
|
|
568
|
-
const offset = function (
|
|
569
|
-
if (
|
|
570
|
-
|
|
565
|
+
const offset = function (options) {
|
|
566
|
+
if (options === void 0) {
|
|
567
|
+
options = 0;
|
|
571
568
|
}
|
|
572
569
|
return {
|
|
573
570
|
name: 'offset',
|
|
574
|
-
options
|
|
571
|
+
options,
|
|
575
572
|
async fn(state) {
|
|
576
573
|
const {
|
|
577
574
|
x,
|
|
578
575
|
y
|
|
579
576
|
} = state;
|
|
580
|
-
const diffCoords = await convertValueToCoords(state,
|
|
577
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
581
578
|
return {
|
|
582
579
|
x: x + diffCoords.x,
|
|
583
580
|
y: y + diffCoords.y,
|
|
@@ -587,10 +584,6 @@ const offset = function (value) {
|
|
|
587
584
|
};
|
|
588
585
|
};
|
|
589
586
|
|
|
590
|
-
function getCrossAxis(axis) {
|
|
591
|
-
return axis === 'x' ? 'y' : 'x';
|
|
592
|
-
}
|
|
593
|
-
|
|
594
587
|
/**
|
|
595
588
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
596
589
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -625,14 +618,14 @@ const shift = function (options) {
|
|
|
625
618
|
}
|
|
626
619
|
},
|
|
627
620
|
...detectOverflowOptions
|
|
628
|
-
} = options;
|
|
621
|
+
} = evaluate(options, state);
|
|
629
622
|
const coords = {
|
|
630
623
|
x,
|
|
631
624
|
y
|
|
632
625
|
};
|
|
633
626
|
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
634
|
-
const
|
|
635
|
-
const
|
|
627
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
628
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
636
629
|
let mainAxisCoord = coords[mainAxis];
|
|
637
630
|
let crossAxisCoord = coords[crossAxis];
|
|
638
631
|
if (checkMainAxis) {
|
|
@@ -640,14 +633,14 @@ const shift = function (options) {
|
|
|
640
633
|
const maxSide = mainAxis === 'y' ? 'bottom' : 'right';
|
|
641
634
|
const min = mainAxisCoord + overflow[minSide];
|
|
642
635
|
const max = mainAxisCoord - overflow[maxSide];
|
|
643
|
-
mainAxisCoord =
|
|
636
|
+
mainAxisCoord = clamp(min, mainAxisCoord, max);
|
|
644
637
|
}
|
|
645
638
|
if (checkCrossAxis) {
|
|
646
639
|
const minSide = crossAxis === 'y' ? 'top' : 'left';
|
|
647
640
|
const maxSide = crossAxis === 'y' ? 'bottom' : 'right';
|
|
648
641
|
const min = crossAxisCoord + overflow[minSide];
|
|
649
642
|
const max = crossAxisCoord - overflow[maxSide];
|
|
650
|
-
crossAxisCoord =
|
|
643
|
+
crossAxisCoord = clamp(min, crossAxisCoord, max);
|
|
651
644
|
}
|
|
652
645
|
const limitedCoords = limiter.fn({
|
|
653
646
|
...state,
|
|
@@ -1246,40 +1239,6 @@ const computePosition = (reference, floating, options) => {
|
|
|
1246
1239
|
});
|
|
1247
1240
|
};
|
|
1248
1241
|
|
|
1249
|
-
/**
|
|
1250
|
-
* Teleport helps resolving z-index issues of overlapping popup elements.
|
|
1251
|
-
* Initiate it in your component's willLoad or didLoad lifecycle hook.
|
|
1252
|
-
* When you open the popup, call teleport.go() and move focus to the popup.
|
|
1253
|
-
* When you close the popup, call teleport.resume() and move focus to the element that opened the popup.
|
|
1254
|
-
* If your popup has closing animation, use the timeout parameter.
|
|
1255
|
-
*/
|
|
1256
|
-
class Teleport {
|
|
1257
|
-
constructor(element, target) {
|
|
1258
|
-
this.element = element;
|
|
1259
|
-
this.target = target || document.body;
|
|
1260
|
-
}
|
|
1261
|
-
go() {
|
|
1262
|
-
this.stub = document.createElement("div");
|
|
1263
|
-
this.element.insertAdjacentElement("afterend", this.stub);
|
|
1264
|
-
this.target.appendChild(this.element);
|
|
1265
|
-
this.element.style.zIndex = tokens_module.zIndexPopup;
|
|
1266
|
-
}
|
|
1267
|
-
resume(timeout = 0) {
|
|
1268
|
-
if (timeout) {
|
|
1269
|
-
setTimeout(this._resume.bind(this), timeout);
|
|
1270
|
-
}
|
|
1271
|
-
else {
|
|
1272
|
-
this._resume();
|
|
1273
|
-
}
|
|
1274
|
-
}
|
|
1275
|
-
_resume() {
|
|
1276
|
-
this.element.style.zIndex = "";
|
|
1277
|
-
this.stub.insertAdjacentElement("beforebegin", this.element);
|
|
1278
|
-
this.stub.remove();
|
|
1279
|
-
}
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
exports.Teleport = Teleport;
|
|
1283
1242
|
exports.arrow = arrow;
|
|
1284
1243
|
exports.computePosition = computePosition;
|
|
1285
1244
|
exports.flip = flip;
|
|
@@ -24,7 +24,7 @@ function _interopNamespace(e) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const NAMESPACE = 'duet';
|
|
27
|
-
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"
|
|
27
|
+
const Env = /* duet */ {"cdnURILocal":"http://0.0.0.0:3334","cdnURIProd":"https://cdn.duetds.com/api","duetIconVersion":"4.0.0"};
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Virtual DOM patching algorithm based on Snabbdom by
|