genesys-spark-components 4.81.2 → 4.82.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/dist/cjs/{floating-ui.dom.esm-f8b4cd90.js → floating-ui.dom.esm-0f6207f9.js} +465 -79
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/{get-valid-timezone-c248443a.js → get-valid-timezone-47bf9353.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +25 -4
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +49 -4
- package/dist/cjs/gux-badge.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-card.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +4 -4
- package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
- package/dist/cjs/gux-content-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
- package/dist/cjs/gux-create-option.cjs.entry.js +3 -3
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +11 -11
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +4 -4
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +227 -228
- package/dist/cjs/gux-popover-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +22 -3
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +7 -6
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
- package/dist/cjs/index-7fb02c8c.js +6 -6
- package/dist/cjs/{index-71d01472.js → index-f9d85787.js} +24 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{time-zone-72675c4e.js → time-zone-0f8f2166.js} +127 -125
- package/dist/cjs/{usage-4cfc282a.js → usage-b92ab3f5.js} +9 -9
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/gux-avatar-change-photo.js +4 -4
- package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/tests/gux-avatar-change-photo.e2e.js +1 -1
- package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/tests/gux-avatar-change-photo.spec.js +3 -3
- package/dist/collection/components/beta/{gux-avatar-focusable → gux-avatar/gux-avatar-focusable}/gux-avatar-focusable.e2e.js +1 -1
- package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +79 -0
- package/dist/collection/components/beta/{gux-avatar-focusable → gux-avatar/gux-avatar-focusable}/tests/gux-avatar-focusable.spec.js +3 -3
- package/dist/collection/components/beta/gux-avatar/gux-avatar.js +61 -2
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
- package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
- package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
- package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +22 -2
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +2 -0
- package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +2 -1
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +3 -3
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/utils/date/time-zone.spec.js +1 -1
- package/dist/esm/{floating-ui.dom.esm-8b93f9de.js → floating-ui.dom.esm-3320b3cf.js} +465 -79
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/{get-valid-timezone-5077e4ad.js → get-valid-timezone-6faa4c47.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +5 -5
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +3 -3
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +25 -4
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +49 -4
- package/dist/esm/gux-badge.entry.js +3 -3
- package/dist/esm/gux-blank-state.entry.js +2 -2
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button.entry.js +3 -3
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +3 -3
- package/dist/esm/gux-card.entry.js +3 -3
- package/dist/esm/gux-column-manager-item.entry.js +4 -4
- package/dist/esm/gux-column-manager.entry.js +3 -3
- package/dist/esm/gux-content-search.entry.js +4 -4
- package/dist/esm/gux-context-menu.entry.js +4 -4
- package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
- package/dist/esm/gux-create-option.entry.js +3 -3
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +4 -4
- package/dist/esm/gux-disclosure-button-legacy.entry.js +4 -4
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
- package/dist/esm/gux-dropdown-multi.entry.js +3 -3
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +4 -4
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +4 -4
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +4 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-label-indicator.entry.js +2 -2
- package/dist/esm/gux-form-field-number_3.entry.js +11 -11
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +4 -4
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +3 -3
- package/dist/esm/gux-form-field-search.entry.js +4 -4
- package/dist/esm/gux-form-field-select.entry.js +4 -4
- package/dist/esm/gux-form-field-text-like.entry.js +4 -4
- package/dist/esm/gux-form-field-textarea.entry.js +3 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +3 -3
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +4 -4
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +2 -2
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +2 -2
- package/dist/esm/gux-month-list_2.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +3 -3
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +2 -2
- package/dist/esm/gux-option-multi.entry.js +3 -3
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +5 -5
- package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +2 -2
- package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +227 -228
- package/dist/esm/gux-popover-list.entry.js +4 -4
- package/dist/esm/gux-popup.entry.js +4 -4
- package/dist/esm/gux-radial-loading.entry.js +3 -3
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta_2.entry.js +22 -3
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-item.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +3 -3
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
- package/dist/esm/gux-sort-control.entry.js +5 -5
- package/dist/esm/gux-submenu.entry.js +4 -4
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +7 -6
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +3 -3
- package/dist/esm/gux-tab-list.entry.js +3 -3
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +3 -3
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +3 -3
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +3 -3
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +4 -4
- package/dist/esm/gux-time-picker.entry.js +3 -3
- package/dist/esm/gux-time-zone-beta.entry.js +4 -4
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +4 -4
- package/dist/esm/gux-tooltip-base-beta.entry.js +4 -4
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip.entry.js +4 -4
- package/dist/esm/gux-truncate.entry.js +3 -3
- package/dist/esm/{index-358e497c.js → index-ad321c23.js} +24 -3
- package/dist/esm/index-da21b737.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{time-zone-49d54a2b.js → time-zone-76e2da68.js} +127 -125
- package/dist/esm/{usage-e180b322.js → usage-3d6b4b20.js} +9 -9
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-521f4d98.entry.js → p-059ba1e7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05127076.entry.js → p-09936465.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0b410c79.entry.js +1 -0
- package/dist/genesys-webcomponents/p-0b95c4be.entry.js +7 -0
- package/dist/genesys-webcomponents/{p-1b623add.entry.js → p-0d990ed4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d4d3e08.entry.js → p-0e357b17.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be1fc410.entry.js → p-0e99917d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29ba3ea8.entry.js → p-119e8407.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-16e071d9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-59b31bfe.entry.js → p-1922ddd5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1946c20f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-194e09a1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-951867c4.entry.js → p-1f8183dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b886d81.entry.js → p-2253f98c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9bfb3bd.entry.js → p-22fa8d25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8585ee3a.entry.js → p-2351e1ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-31414d8f.entry.js → p-26792730.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-073ffec4.js → p-2bcc4685.js} +1 -1
- package/dist/genesys-webcomponents/{p-24f1aabe.entry.js → p-2f417760.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e94f50a2.entry.js → p-346fcd0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9be1bb5b.entry.js → p-3515818f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a0412e4.entry.js → p-351f6109.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a4eecc73.entry.js → p-387364be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cbf0102a.entry.js → p-3aa4d1ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d45ee3f.entry.js → p-3b7a79af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f155878.entry.js → p-3f3b2904.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8795a7f4.entry.js → p-3f9ed1a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-07fa33ef.entry.js → p-40435926.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc693843.entry.js → p-413ed990.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-43996564.entry.js +1 -0
- package/dist/genesys-webcomponents/p-443b93e8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a5f08fbc.entry.js → p-477b6ccb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4b3458d2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4a8c8636.entry.js → p-4c9dc5aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4cf88aba.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-564b0eea.entry.js → p-4dd0710d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f894e4e3.entry.js → p-4e618678.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dcd64bc8.entry.js → p-4ef76102.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4f5dc8e4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4f9cb6ca.entry.js +1 -0
- package/dist/genesys-webcomponents/p-51114005.entry.js +1 -0
- package/dist/genesys-webcomponents/p-522d095f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-53cd4011.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5e8ba528.entry.js → p-53ed124f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f09fe12c.entry.js → p-577dc151.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4ecab147.entry.js → p-5a75e700.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b65c00a.js → p-5aade352.js} +1 -1
- package/dist/genesys-webcomponents/p-5bcc54c7.js +1 -0
- package/dist/genesys-webcomponents/p-5de256c6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-caede189.entry.js → p-5e90b14c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c9d2c6f.entry.js → p-60776811.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6546b8ff.entry.js → p-62c9a4e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea93863d.entry.js → p-6628cd36.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e4a44f8b.entry.js → p-6ca2c952.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-27bded21.entry.js → p-6cf2c987.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf33eed9.entry.js → p-6fbca276.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-222cde6d.entry.js → p-730bfdcf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-73e09c03.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4c6938d3.entry.js → p-75eb2888.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ef23b98.entry.js → p-77e320b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06a98a79.entry.js → p-78290812.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f745e91.entry.js → p-78714157.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-79326ffc.js +1 -0
- package/dist/genesys-webcomponents/{p-44a4a76f.entry.js → p-7a0286ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cfaaec41.entry.js → p-7a450e35.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00b51e67.entry.js → p-7b018984.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1b7878b.entry.js → p-7cc77530.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43b69b39.entry.js → p-7d29918d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7e3cce19.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7e720a33.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-da4319d6.entry.js → p-7e87e002.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-96182c46.entry.js → p-7fae78d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd43477d.entry.js → p-7ffe0228.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-69f06cd9.entry.js → p-81559e0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-825590f8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bc673417.entry.js → p-82bb41ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8267d43.entry.js → p-83b34196.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d7e14e98.entry.js → p-84e7e0c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7fa83ccf.entry.js → p-875432dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16859e54.entry.js → p-8aefd475.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c603eee2.entry.js → p-8b59ef4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8c05807d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8e30e75e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-8e98278f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fe02d353.entry.js → p-91abf805.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19ea4065.entry.js → p-94921fba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3934c7f5.entry.js → p-9b16ac3b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d7e8fe5.entry.js → p-9b440896.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a10979d2.entry.js → p-9cff2003.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c2998c8.entry.js → p-a4dcdbe5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-624eac6e.entry.js → p-aab34699.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a0e44be.entry.js → p-aed20919.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5b548ede.entry.js → p-aee35636.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-119193e7.entry.js → p-afcaf5a8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e10c6e26.entry.js → p-b27a19b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-76d6dd09.entry.js → p-b333391d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e10a628.entry.js → p-b40006ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f94f0fff.entry.js → p-b4c99969.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b6a66278.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1c720d4b.entry.js → p-b811f588.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bf71027a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0175ade4.entry.js → p-c041d75a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c2395684.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-23a4d13a.entry.js → p-c2ed23d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-305f3b73.entry.js → p-c470f1b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e3f7770.entry.js → p-c5436f71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30a4bad0.entry.js → p-c5a8ab08.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5559bc4.entry.js → p-ca4cdad5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11bbb373.entry.js → p-cc58f9d4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3cd8bec.entry.js → p-ccb7ef75.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ce59b6a5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-db850e5a.entry.js → p-cf590276.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cfdf92ee.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f74ab29a.entry.js → p-d17ab5c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82cb4bfd.entry.js → p-d1d36f09.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-193dbd3e.entry.js → p-d54d74fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50636a48.entry.js → p-d806095e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d8ba5b01.js +1 -0
- package/dist/genesys-webcomponents/{p-26f38677.entry.js → p-d9256201.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-dab8f285.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-954a08e7.entry.js → p-dec73db1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e379f4a.entry.js → p-e0a538ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c53a3d91.entry.js → p-e135abdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3827ab88.entry.js → p-e1aded78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d8ce079.entry.js → p-e2ee7d6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5420b80d.entry.js → p-e30bf599.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e41c1fc6.entry.js → p-e3373caf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bd8f52f1.entry.js → p-e601cc45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6db5ec5f.entry.js → p-e634842f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-99d5babe.entry.js → p-e9891ef0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cdaf320c.entry.js → p-ed4a0372.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a0e7435b.entry.js → p-ee3831e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eceb4a6d.entry.js → p-f04d4630.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a93450b8.entry.js → p-f0e8888a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1c975af6.entry.js → p-f139788a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-139e331a.entry.js → p-f25264a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-666b2819.entry.js → p-f4c492c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e312dbe7.entry.js → p-faf1be96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e892d53.entry.js → p-fdbd5e42.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/gux-avatar-change-photo.d.ts +1 -1
- package/dist/types/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.d.ts +13 -0
- package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +5 -0
- package/dist/types/components/beta/gux-tooltip-beta/gux-tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +9 -9
- package/dist/collection/components/beta/gux-avatar-focusable/gux-avatar-focusable.js +0 -34
- package/dist/genesys-webcomponents/p-014b9680.entry.js +0 -1
- package/dist/genesys-webcomponents/p-07f9e5df.entry.js +0 -1
- package/dist/genesys-webcomponents/p-08391d25.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0fa60ba5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-21633e34.entry.js +0 -7
- package/dist/genesys-webcomponents/p-4d53d971.entry.js +0 -1
- package/dist/genesys-webcomponents/p-563b1d0e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5ca3cd6b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6009225d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-68a3ce56.js +0 -1
- package/dist/genesys-webcomponents/p-72bebdcc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b07ab33.entry.js +0 -1
- package/dist/genesys-webcomponents/p-7b1efdee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-84776d85.entry.js +0 -1
- package/dist/genesys-webcomponents/p-909c2a19.js +0 -1
- package/dist/genesys-webcomponents/p-91b08c05.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9474b310.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9722e4ba.entry.js +0 -1
- package/dist/genesys-webcomponents/p-97784ec9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-98440cdc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a24673f4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b43ee47b.js +0 -1
- package/dist/genesys-webcomponents/p-bafe1b71.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c3434425.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d8b4c30a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-de884813.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e4c10700.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e9ccd15f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ec954b4e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f0c27afd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ff40422e.entry.js +0 -1
- package/dist/types/components/beta/gux-avatar-focusable/gux-avatar-focusable.d.ts +0 -8
- /package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/gux-avatar-change-photo.css +0 -0
@@ -1,8 +1,21 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
/**
|
4
|
+
* Custom positioning reference element.
|
5
|
+
* @see https://floating-ui.com/docs/virtual-elements
|
6
|
+
*/
|
7
|
+
|
3
8
|
const sides = ['top', 'right', 'bottom', 'left'];
|
4
|
-
const
|
5
|
-
const
|
9
|
+
const alignments = ['start', 'end'];
|
10
|
+
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
11
|
+
const min = Math.min;
|
12
|
+
const max = Math.max;
|
13
|
+
const round = Math.round;
|
14
|
+
const floor = Math.floor;
|
15
|
+
const createCoords = v => ({
|
16
|
+
x: v,
|
17
|
+
y: v
|
18
|
+
});
|
6
19
|
const oppositeSideMap = {
|
7
20
|
left: 'right',
|
8
21
|
right: 'left',
|
@@ -14,7 +27,7 @@ const oppositeAlignmentMap = {
|
|
14
27
|
end: 'start'
|
15
28
|
};
|
16
29
|
function clamp(start, value, end) {
|
17
|
-
return max
|
30
|
+
return max(start, min(value, end));
|
18
31
|
}
|
19
32
|
function evaluate(value, param) {
|
20
33
|
return typeof value === 'function' ? value(param) : value;
|
@@ -106,12 +119,21 @@ function getPaddingObject(padding) {
|
|
106
119
|
};
|
107
120
|
}
|
108
121
|
function rectToClientRect(rect) {
|
122
|
+
const {
|
123
|
+
x,
|
124
|
+
y,
|
125
|
+
width,
|
126
|
+
height
|
127
|
+
} = rect;
|
109
128
|
return {
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
129
|
+
width,
|
130
|
+
height,
|
131
|
+
top: y,
|
132
|
+
left: x,
|
133
|
+
right: x + width,
|
134
|
+
bottom: y + height,
|
135
|
+
x,
|
136
|
+
y
|
115
137
|
};
|
116
138
|
}
|
117
139
|
|
@@ -173,7 +195,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
173
195
|
|
174
196
|
/**
|
175
197
|
* Computes the `x` and `y` coordinates that will place the floating element
|
176
|
-
* next to a reference element
|
198
|
+
* next to a given reference element.
|
177
199
|
*
|
178
200
|
* This export does not have any `platform` interface logic. You will need to
|
179
201
|
* write one for the platform you are using Floating UI with.
|
@@ -251,7 +273,6 @@ const computePosition$1 = async (reference, floating, config) => {
|
|
251
273
|
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
252
274
|
}
|
253
275
|
i = -1;
|
254
|
-
continue;
|
255
276
|
}
|
256
277
|
}
|
257
278
|
return {
|
@@ -301,9 +322,10 @@ async function detectOverflow(state, options) {
|
|
301
322
|
strategy
|
302
323
|
}));
|
303
324
|
const rect = elementContext === 'floating' ? {
|
304
|
-
...rects.floating,
|
305
325
|
x,
|
306
|
-
y
|
326
|
+
y,
|
327
|
+
width: rects.floating.width,
|
328
|
+
height: rects.floating.height
|
307
329
|
} : rects.reference;
|
308
330
|
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
309
331
|
const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
|
@@ -314,6 +336,7 @@ async function detectOverflow(state, options) {
|
|
314
336
|
y: 1
|
315
337
|
};
|
316
338
|
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
339
|
+
elements,
|
317
340
|
rect,
|
318
341
|
offsetParent,
|
319
342
|
strategy
|
@@ -378,22 +401,22 @@ const arrow$1 = options => ({
|
|
378
401
|
// If the padding is large enough that it causes the arrow to no longer be
|
379
402
|
// centered, modify the padding so that it is centered.
|
380
403
|
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
381
|
-
const minPadding = min
|
382
|
-
const maxPadding = min
|
404
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
405
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
383
406
|
|
384
407
|
// Make sure the arrow doesn't overflow the floating element if the center
|
385
408
|
// point is outside the floating element's bounds.
|
386
|
-
const min$1
|
409
|
+
const min$1 = minPadding;
|
387
410
|
const max = clientSize - arrowDimensions[length] - maxPadding;
|
388
411
|
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
389
|
-
const offset = clamp(min$1
|
412
|
+
const offset = clamp(min$1, center, max);
|
390
413
|
|
391
414
|
// If the reference is small enough that the arrow's padding causes it to
|
392
415
|
// to point to nothing for an aligned placement, adjust the offset of the
|
393
416
|
// floating element itself. To ensure `shift()` continues to take action,
|
394
417
|
// a single reset is performed when this is true.
|
395
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center
|
396
|
-
const alignmentOffset = shouldAddOffset ? center < min$1
|
418
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
419
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
|
397
420
|
return {
|
398
421
|
[axis]: coords[axis] + alignmentOffset,
|
399
422
|
data: {
|
@@ -408,6 +431,109 @@ const arrow$1 = options => ({
|
|
408
431
|
}
|
409
432
|
});
|
410
433
|
|
434
|
+
function getPlacementList(alignment, autoAlignment, allowedPlacements) {
|
435
|
+
const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
|
436
|
+
return allowedPlacementsSortedByAlignment.filter(placement => {
|
437
|
+
if (alignment) {
|
438
|
+
return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
|
439
|
+
}
|
440
|
+
return true;
|
441
|
+
});
|
442
|
+
}
|
443
|
+
/**
|
444
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
445
|
+
* that has the most space available automatically, without needing to specify a
|
446
|
+
* preferred placement. Alternative to `flip`.
|
447
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
448
|
+
*/
|
449
|
+
const autoPlacement = function (options) {
|
450
|
+
if (options === void 0) {
|
451
|
+
options = {};
|
452
|
+
}
|
453
|
+
return {
|
454
|
+
name: 'autoPlacement',
|
455
|
+
options,
|
456
|
+
async fn(state) {
|
457
|
+
var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
|
458
|
+
const {
|
459
|
+
rects,
|
460
|
+
middlewareData,
|
461
|
+
placement,
|
462
|
+
platform,
|
463
|
+
elements
|
464
|
+
} = state;
|
465
|
+
const {
|
466
|
+
crossAxis = false,
|
467
|
+
alignment,
|
468
|
+
allowedPlacements = placements,
|
469
|
+
autoAlignment = true,
|
470
|
+
...detectOverflowOptions
|
471
|
+
} = evaluate(options, state);
|
472
|
+
const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
|
473
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
474
|
+
const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
|
475
|
+
const currentPlacement = placements$1[currentIndex];
|
476
|
+
if (currentPlacement == null) {
|
477
|
+
return {};
|
478
|
+
}
|
479
|
+
const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
|
480
|
+
|
481
|
+
// Make `computeCoords` start from the right place.
|
482
|
+
if (placement !== currentPlacement) {
|
483
|
+
return {
|
484
|
+
reset: {
|
485
|
+
placement: placements$1[0]
|
486
|
+
}
|
487
|
+
};
|
488
|
+
}
|
489
|
+
const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
|
490
|
+
const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
|
491
|
+
placement: currentPlacement,
|
492
|
+
overflows: currentOverflows
|
493
|
+
}];
|
494
|
+
const nextPlacement = placements$1[currentIndex + 1];
|
495
|
+
|
496
|
+
// There are more placements to check.
|
497
|
+
if (nextPlacement) {
|
498
|
+
return {
|
499
|
+
data: {
|
500
|
+
index: currentIndex + 1,
|
501
|
+
overflows: allOverflows
|
502
|
+
},
|
503
|
+
reset: {
|
504
|
+
placement: nextPlacement
|
505
|
+
}
|
506
|
+
};
|
507
|
+
}
|
508
|
+
const placementsSortedByMostSpace = allOverflows.map(d => {
|
509
|
+
const alignment = getAlignment(d.placement);
|
510
|
+
return [d.placement, alignment && crossAxis ?
|
511
|
+
// Check along the mainAxis and main crossAxis side.
|
512
|
+
d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
|
513
|
+
// Check only the mainAxis.
|
514
|
+
d.overflows[0], d.overflows];
|
515
|
+
}).sort((a, b) => a[1] - b[1]);
|
516
|
+
const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
|
517
|
+
// Aligned placements should not check their opposite crossAxis
|
518
|
+
// side.
|
519
|
+
getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
|
520
|
+
const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
|
521
|
+
if (resetPlacement !== placement) {
|
522
|
+
return {
|
523
|
+
data: {
|
524
|
+
index: currentIndex + 1,
|
525
|
+
overflows: allOverflows
|
526
|
+
},
|
527
|
+
reset: {
|
528
|
+
placement: resetPlacement
|
529
|
+
}
|
530
|
+
};
|
531
|
+
}
|
532
|
+
return {};
|
533
|
+
}
|
534
|
+
};
|
535
|
+
};
|
536
|
+
|
411
537
|
/**
|
412
538
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
413
539
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
@@ -449,10 +575,12 @@ const flip$1 = function (options) {
|
|
449
575
|
return {};
|
450
576
|
}
|
451
577
|
const side = getSide(placement);
|
578
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
452
579
|
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
453
580
|
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
454
581
|
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
455
|
-
|
582
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
|
583
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
456
584
|
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
457
585
|
}
|
458
586
|
const placements = [initialPlacement, ...fallbackPlacements];
|
@@ -498,8 +626,17 @@ const flip$1 = function (options) {
|
|
498
626
|
switch (fallbackStrategy) {
|
499
627
|
case 'bestFit':
|
500
628
|
{
|
501
|
-
var _overflowsData$
|
502
|
-
const placement = (_overflowsData$
|
629
|
+
var _overflowsData$filter2;
|
630
|
+
const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
|
631
|
+
if (hasFallbackAxisSideDirection) {
|
632
|
+
const currentSideAxis = getSideAxis(d.placement);
|
633
|
+
return currentSideAxis === initialSideAxis ||
|
634
|
+
// Create a bias to the `y` side axis due to horizontal
|
635
|
+
// reading directions favoring greater width.
|
636
|
+
currentSideAxis === 'y';
|
637
|
+
}
|
638
|
+
return true;
|
639
|
+
}).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
503
640
|
if (placement) {
|
504
641
|
resetPlacement = placement;
|
505
642
|
}
|
@@ -592,8 +729,140 @@ const hide$1 = function (options) {
|
|
592
729
|
};
|
593
730
|
};
|
594
731
|
|
732
|
+
function getBoundingRect(rects) {
|
733
|
+
const minX = min(...rects.map(rect => rect.left));
|
734
|
+
const minY = min(...rects.map(rect => rect.top));
|
735
|
+
const maxX = max(...rects.map(rect => rect.right));
|
736
|
+
const maxY = max(...rects.map(rect => rect.bottom));
|
737
|
+
return {
|
738
|
+
x: minX,
|
739
|
+
y: minY,
|
740
|
+
width: maxX - minX,
|
741
|
+
height: maxY - minY
|
742
|
+
};
|
743
|
+
}
|
744
|
+
function getRectsByLine(rects) {
|
745
|
+
const sortedRects = rects.slice().sort((a, b) => a.y - b.y);
|
746
|
+
const groups = [];
|
747
|
+
let prevRect = null;
|
748
|
+
for (let i = 0; i < sortedRects.length; i++) {
|
749
|
+
const rect = sortedRects[i];
|
750
|
+
if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {
|
751
|
+
groups.push([rect]);
|
752
|
+
} else {
|
753
|
+
groups[groups.length - 1].push(rect);
|
754
|
+
}
|
755
|
+
prevRect = rect;
|
756
|
+
}
|
757
|
+
return groups.map(rect => rectToClientRect(getBoundingRect(rect)));
|
758
|
+
}
|
759
|
+
/**
|
760
|
+
* Provides improved positioning for inline reference elements that can span
|
761
|
+
* over multiple lines, such as hyperlinks or range selections.
|
762
|
+
* @see https://floating-ui.com/docs/inline
|
763
|
+
*/
|
764
|
+
const inline = function (options) {
|
765
|
+
if (options === void 0) {
|
766
|
+
options = {};
|
767
|
+
}
|
768
|
+
return {
|
769
|
+
name: 'inline',
|
770
|
+
options,
|
771
|
+
async fn(state) {
|
772
|
+
const {
|
773
|
+
placement,
|
774
|
+
elements,
|
775
|
+
rects,
|
776
|
+
platform,
|
777
|
+
strategy
|
778
|
+
} = state;
|
779
|
+
// A MouseEvent's client{X,Y} coords can be up to 2 pixels off a
|
780
|
+
// ClientRect's bounds, despite the event listener being triggered. A
|
781
|
+
// padding of 2 seems to handle this issue.
|
782
|
+
const {
|
783
|
+
padding = 2,
|
784
|
+
x,
|
785
|
+
y
|
786
|
+
} = evaluate(options, state);
|
787
|
+
const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);
|
788
|
+
const clientRects = getRectsByLine(nativeClientRects);
|
789
|
+
const fallback = rectToClientRect(getBoundingRect(nativeClientRects));
|
790
|
+
const paddingObject = getPaddingObject(padding);
|
791
|
+
function getBoundingClientRect() {
|
792
|
+
// There are two rects and they are disjoined.
|
793
|
+
if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {
|
794
|
+
// Find the first rect in which the point is fully inside.
|
795
|
+
return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;
|
796
|
+
}
|
797
|
+
|
798
|
+
// There are 2 or more connected rects.
|
799
|
+
if (clientRects.length >= 2) {
|
800
|
+
if (getSideAxis(placement) === 'y') {
|
801
|
+
const firstRect = clientRects[0];
|
802
|
+
const lastRect = clientRects[clientRects.length - 1];
|
803
|
+
const isTop = getSide(placement) === 'top';
|
804
|
+
const top = firstRect.top;
|
805
|
+
const bottom = lastRect.bottom;
|
806
|
+
const left = isTop ? firstRect.left : lastRect.left;
|
807
|
+
const right = isTop ? firstRect.right : lastRect.right;
|
808
|
+
const width = right - left;
|
809
|
+
const height = bottom - top;
|
810
|
+
return {
|
811
|
+
top,
|
812
|
+
bottom,
|
813
|
+
left,
|
814
|
+
right,
|
815
|
+
width,
|
816
|
+
height,
|
817
|
+
x: left,
|
818
|
+
y: top
|
819
|
+
};
|
820
|
+
}
|
821
|
+
const isLeftSide = getSide(placement) === 'left';
|
822
|
+
const maxRight = max(...clientRects.map(rect => rect.right));
|
823
|
+
const minLeft = min(...clientRects.map(rect => rect.left));
|
824
|
+
const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);
|
825
|
+
const top = measureRects[0].top;
|
826
|
+
const bottom = measureRects[measureRects.length - 1].bottom;
|
827
|
+
const left = minLeft;
|
828
|
+
const right = maxRight;
|
829
|
+
const width = right - left;
|
830
|
+
const height = bottom - top;
|
831
|
+
return {
|
832
|
+
top,
|
833
|
+
bottom,
|
834
|
+
left,
|
835
|
+
right,
|
836
|
+
width,
|
837
|
+
height,
|
838
|
+
x: left,
|
839
|
+
y: top
|
840
|
+
};
|
841
|
+
}
|
842
|
+
return fallback;
|
843
|
+
}
|
844
|
+
const resetRects = await platform.getElementRects({
|
845
|
+
reference: {
|
846
|
+
getBoundingClientRect
|
847
|
+
},
|
848
|
+
floating: elements.floating,
|
849
|
+
strategy
|
850
|
+
});
|
851
|
+
if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {
|
852
|
+
return {
|
853
|
+
reset: {
|
854
|
+
rects: resetRects
|
855
|
+
}
|
856
|
+
};
|
857
|
+
}
|
858
|
+
return {};
|
859
|
+
}
|
860
|
+
};
|
861
|
+
};
|
862
|
+
|
595
863
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
596
864
|
// Derivable.
|
865
|
+
|
597
866
|
async function convertValueToCoords(state, options) {
|
598
867
|
const {
|
599
868
|
placement,
|
@@ -642,7 +911,7 @@ async function convertValueToCoords(state, options) {
|
|
642
911
|
* object may be passed.
|
643
912
|
* @see https://floating-ui.com/docs/offset
|
644
913
|
*/
|
645
|
-
const offset = function (options) {
|
914
|
+
const offset$1 = function (options) {
|
646
915
|
if (options === void 0) {
|
647
916
|
options = 0;
|
648
917
|
}
|
@@ -650,15 +919,27 @@ const offset = function (options) {
|
|
650
919
|
name: 'offset',
|
651
920
|
options,
|
652
921
|
async fn(state) {
|
922
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
653
923
|
const {
|
654
924
|
x,
|
655
|
-
y
|
925
|
+
y,
|
926
|
+
placement,
|
927
|
+
middlewareData
|
656
928
|
} = state;
|
657
929
|
const diffCoords = await convertValueToCoords(state, options);
|
930
|
+
|
931
|
+
// If the placement is the same and the arrow caused an alignment offset
|
932
|
+
// then we don't need to change the positioning coordinates.
|
933
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
934
|
+
return {};
|
935
|
+
}
|
658
936
|
return {
|
659
937
|
x: x + diffCoords.x,
|
660
938
|
y: y + diffCoords.y,
|
661
|
-
data:
|
939
|
+
data: {
|
940
|
+
...diffCoords,
|
941
|
+
placement
|
942
|
+
}
|
662
943
|
};
|
663
944
|
}
|
664
945
|
};
|
@@ -737,6 +1018,74 @@ const shift$1 = function (options) {
|
|
737
1018
|
}
|
738
1019
|
};
|
739
1020
|
};
|
1021
|
+
/**
|
1022
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
1023
|
+
*/
|
1024
|
+
const limitShift = function (options) {
|
1025
|
+
if (options === void 0) {
|
1026
|
+
options = {};
|
1027
|
+
}
|
1028
|
+
return {
|
1029
|
+
options,
|
1030
|
+
fn(state) {
|
1031
|
+
const {
|
1032
|
+
x,
|
1033
|
+
y,
|
1034
|
+
placement,
|
1035
|
+
rects,
|
1036
|
+
middlewareData
|
1037
|
+
} = state;
|
1038
|
+
const {
|
1039
|
+
offset = 0,
|
1040
|
+
mainAxis: checkMainAxis = true,
|
1041
|
+
crossAxis: checkCrossAxis = true
|
1042
|
+
} = evaluate(options, state);
|
1043
|
+
const coords = {
|
1044
|
+
x,
|
1045
|
+
y
|
1046
|
+
};
|
1047
|
+
const crossAxis = getSideAxis(placement);
|
1048
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
1049
|
+
let mainAxisCoord = coords[mainAxis];
|
1050
|
+
let crossAxisCoord = coords[crossAxis];
|
1051
|
+
const rawOffset = evaluate(offset, state);
|
1052
|
+
const computedOffset = typeof rawOffset === 'number' ? {
|
1053
|
+
mainAxis: rawOffset,
|
1054
|
+
crossAxis: 0
|
1055
|
+
} : {
|
1056
|
+
mainAxis: 0,
|
1057
|
+
crossAxis: 0,
|
1058
|
+
...rawOffset
|
1059
|
+
};
|
1060
|
+
if (checkMainAxis) {
|
1061
|
+
const len = mainAxis === 'y' ? 'height' : 'width';
|
1062
|
+
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
1063
|
+
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
1064
|
+
if (mainAxisCoord < limitMin) {
|
1065
|
+
mainAxisCoord = limitMin;
|
1066
|
+
} else if (mainAxisCoord > limitMax) {
|
1067
|
+
mainAxisCoord = limitMax;
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
if (checkCrossAxis) {
|
1071
|
+
var _middlewareData$offse, _middlewareData$offse2;
|
1072
|
+
const len = mainAxis === 'y' ? 'width' : 'height';
|
1073
|
+
const isOriginSide = ['top', 'left'].includes(getSide(placement));
|
1074
|
+
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
1075
|
+
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
1076
|
+
if (crossAxisCoord < limitMin) {
|
1077
|
+
crossAxisCoord = limitMin;
|
1078
|
+
} else if (crossAxisCoord > limitMax) {
|
1079
|
+
crossAxisCoord = limitMax;
|
1080
|
+
}
|
1081
|
+
}
|
1082
|
+
return {
|
1083
|
+
[mainAxis]: mainAxisCoord,
|
1084
|
+
[crossAxis]: crossAxisCoord
|
1085
|
+
};
|
1086
|
+
}
|
1087
|
+
};
|
1088
|
+
};
|
740
1089
|
|
741
1090
|
/**
|
742
1091
|
* Provides data that allows you to change the size of the floating element —
|
@@ -779,27 +1128,27 @@ const size$1 = function (options) {
|
|
779
1128
|
widthSide = side;
|
780
1129
|
heightSide = alignment === 'end' ? 'top' : 'bottom';
|
781
1130
|
}
|
782
|
-
const
|
783
|
-
const
|
1131
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
1132
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
1133
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
1134
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
784
1135
|
const noShift = !state.middlewareData.shift;
|
785
1136
|
let availableHeight = overflowAvailableHeight;
|
786
1137
|
let availableWidth = overflowAvailableWidth;
|
787
1138
|
if (isYAxis) {
|
788
|
-
|
789
|
-
availableWidth = alignment || noShift ? min$1(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
1139
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
790
1140
|
} else {
|
791
|
-
|
792
|
-
availableHeight = alignment || noShift ? min$1(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
1141
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
793
1142
|
}
|
794
1143
|
if (noShift && !alignment) {
|
795
|
-
const xMin = max
|
796
|
-
const xMax = max
|
797
|
-
const yMin = max
|
798
|
-
const yMax = max
|
1144
|
+
const xMin = max(overflow.left, 0);
|
1145
|
+
const xMax = max(overflow.right, 0);
|
1146
|
+
const yMin = max(overflow.top, 0);
|
1147
|
+
const yMax = max(overflow.bottom, 0);
|
799
1148
|
if (isYAxis) {
|
800
|
-
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max
|
1149
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
801
1150
|
} else {
|
802
|
-
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max
|
1151
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
803
1152
|
}
|
804
1153
|
}
|
805
1154
|
await apply({
|
@@ -820,19 +1169,6 @@ const size$1 = function (options) {
|
|
820
1169
|
};
|
821
1170
|
};
|
822
1171
|
|
823
|
-
/**
|
824
|
-
* Custom positioning reference element.
|
825
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
826
|
-
*/
|
827
|
-
const min = Math.min;
|
828
|
-
const max = Math.max;
|
829
|
-
const round = Math.round;
|
830
|
-
const floor = Math.floor;
|
831
|
-
const createCoords = v => ({
|
832
|
-
x: v,
|
833
|
-
y: v
|
834
|
-
});
|
835
|
-
|
836
1172
|
function getNodeName(node) {
|
837
1173
|
if (isNode(node)) {
|
838
1174
|
return (node.nodeName || '').toLowerCase();
|
@@ -878,9 +1214,18 @@ function isOverflowElement(element) {
|
|
878
1214
|
function isTableElement(element) {
|
879
1215
|
return ['table', 'td', 'th'].includes(getNodeName(element));
|
880
1216
|
}
|
881
|
-
function
|
1217
|
+
function isTopLayer(element) {
|
1218
|
+
return [':popover-open', ':modal'].some(selector => {
|
1219
|
+
try {
|
1220
|
+
return element.matches(selector);
|
1221
|
+
} catch (e) {
|
1222
|
+
return false;
|
1223
|
+
}
|
1224
|
+
});
|
1225
|
+
}
|
1226
|
+
function isContainingBlock(elementOrCss) {
|
882
1227
|
const webkit = isWebKit();
|
883
|
-
const css = getComputedStyle(
|
1228
|
+
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
884
1229
|
|
885
1230
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
886
1231
|
return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
@@ -890,9 +1235,10 @@ function getContainingBlock(element) {
|
|
890
1235
|
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
891
1236
|
if (isContainingBlock(currentNode)) {
|
892
1237
|
return currentNode;
|
893
|
-
} else {
|
894
|
-
|
1238
|
+
} else if (isTopLayer(currentNode)) {
|
1239
|
+
return null;
|
895
1240
|
}
|
1241
|
+
currentNode = getParentNode(currentNode);
|
896
1242
|
}
|
897
1243
|
return null;
|
898
1244
|
}
|
@@ -914,8 +1260,8 @@ function getNodeScroll(element) {
|
|
914
1260
|
};
|
915
1261
|
}
|
916
1262
|
return {
|
917
|
-
scrollLeft: element.
|
918
|
-
scrollTop: element.
|
1263
|
+
scrollLeft: element.scrollX,
|
1264
|
+
scrollTop: element.scrollY
|
919
1265
|
};
|
920
1266
|
}
|
921
1267
|
function getParentNode(node) {
|
@@ -955,10 +1301,14 @@ function getOverflowAncestors(node, list, traverseIframes) {
|
|
955
1301
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
956
1302
|
const win = getWindow(scrollableAncestor);
|
957
1303
|
if (isBody) {
|
958
|
-
|
1304
|
+
const frameElement = getFrameElement(win);
|
1305
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
959
1306
|
}
|
960
1307
|
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
961
1308
|
}
|
1309
|
+
function getFrameElement(win) {
|
1310
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
1311
|
+
}
|
962
1312
|
|
963
1313
|
function getCssDimensions(element) {
|
964
1314
|
const css = getComputedStyle(element);
|
@@ -1062,7 +1412,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
1062
1412
|
const win = getWindow(domElement);
|
1063
1413
|
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
1064
1414
|
let currentWin = win;
|
1065
|
-
let currentIFrame = currentWin
|
1415
|
+
let currentIFrame = getFrameElement(currentWin);
|
1066
1416
|
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
1067
1417
|
const iframeScale = getScale(currentIFrame);
|
1068
1418
|
const iframeRect = currentIFrame.getBoundingClientRect();
|
@@ -1076,7 +1426,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
1076
1426
|
x += left;
|
1077
1427
|
y += top;
|
1078
1428
|
currentWin = getWindow(currentIFrame);
|
1079
|
-
currentIFrame = currentWin
|
1429
|
+
currentIFrame = getFrameElement(currentWin);
|
1080
1430
|
}
|
1081
1431
|
}
|
1082
1432
|
return rectToClientRect({
|
@@ -1087,17 +1437,6 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
|
|
1087
1437
|
});
|
1088
1438
|
}
|
1089
1439
|
|
1090
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
1091
|
-
function isTopLayer(floating) {
|
1092
|
-
return topLayerSelectors.some(selector => {
|
1093
|
-
try {
|
1094
|
-
return floating.matches(selector);
|
1095
|
-
} catch (e) {
|
1096
|
-
return false;
|
1097
|
-
}
|
1098
|
-
});
|
1099
|
-
}
|
1100
|
-
|
1101
1440
|
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
1102
1441
|
let {
|
1103
1442
|
elements,
|
@@ -1279,7 +1618,7 @@ function getClippingRect(_ref) {
|
|
1279
1618
|
rootBoundary,
|
1280
1619
|
strategy
|
1281
1620
|
} = _ref;
|
1282
|
-
const elementClippingAncestors = boundary === 'clippingAncestors' ? getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
1621
|
+
const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
1283
1622
|
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
1284
1623
|
const firstClippingAncestor = clippingAncestors[0];
|
1285
1624
|
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
@@ -1341,6 +1680,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1341
1680
|
};
|
1342
1681
|
}
|
1343
1682
|
|
1683
|
+
function isStaticPositioned(element) {
|
1684
|
+
return getComputedStyle(element).position === 'static';
|
1685
|
+
}
|
1686
|
+
|
1344
1687
|
function getTrueOffsetParent(element, polyfill) {
|
1345
1688
|
if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
|
1346
1689
|
return null;
|
@@ -1354,29 +1697,41 @@ function getTrueOffsetParent(element, polyfill) {
|
|
1354
1697
|
// Gets the closest ancestor positioned element. Handles some edge cases,
|
1355
1698
|
// such as table ancestors and cross browser bugs.
|
1356
1699
|
function getOffsetParent(element, polyfill) {
|
1357
|
-
const
|
1358
|
-
if (
|
1359
|
-
return
|
1700
|
+
const win = getWindow(element);
|
1701
|
+
if (isTopLayer(element)) {
|
1702
|
+
return win;
|
1703
|
+
}
|
1704
|
+
if (!isHTMLElement(element)) {
|
1705
|
+
let svgOffsetParent = getParentNode(element);
|
1706
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
1707
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
1708
|
+
return svgOffsetParent;
|
1709
|
+
}
|
1710
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
1711
|
+
}
|
1712
|
+
return win;
|
1360
1713
|
}
|
1361
1714
|
let offsetParent = getTrueOffsetParent(element, polyfill);
|
1362
|
-
while (offsetParent && isTableElement(offsetParent) &&
|
1715
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
1363
1716
|
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
1364
1717
|
}
|
1365
|
-
if (offsetParent && (
|
1366
|
-
return
|
1718
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
1719
|
+
return win;
|
1367
1720
|
}
|
1368
|
-
return offsetParent || getContainingBlock(element) ||
|
1721
|
+
return offsetParent || getContainingBlock(element) || win;
|
1369
1722
|
}
|
1370
1723
|
|
1371
1724
|
const getElementRects = async function (data) {
|
1372
1725
|
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
1373
1726
|
const getDimensionsFn = this.getDimensions;
|
1727
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
1374
1728
|
return {
|
1375
1729
|
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
1376
1730
|
floating: {
|
1377
1731
|
x: 0,
|
1378
1732
|
y: 0,
|
1379
|
-
|
1733
|
+
width: floatingDimensions.width,
|
1734
|
+
height: floatingDimensions.height
|
1380
1735
|
}
|
1381
1736
|
};
|
1382
1737
|
};
|
@@ -1446,9 +1801,11 @@ function observeMove(element, onMove) {
|
|
1446
1801
|
return refresh();
|
1447
1802
|
}
|
1448
1803
|
if (!ratio) {
|
1804
|
+
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
1805
|
+
// to prevent an infinite loop of updates.
|
1449
1806
|
timeoutId = setTimeout(() => {
|
1450
1807
|
refresh(false, 1e-7);
|
1451
|
-
},
|
1808
|
+
}, 1000);
|
1452
1809
|
} else {
|
1453
1810
|
refresh(false, ratio);
|
1454
1811
|
}
|
@@ -1552,6 +1909,23 @@ function autoUpdate(reference, floating, update, options) {
|
|
1552
1909
|
};
|
1553
1910
|
}
|
1554
1911
|
|
1912
|
+
/**
|
1913
|
+
* Modifies the placement by translating the floating element along the
|
1914
|
+
* specified axes.
|
1915
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
1916
|
+
* object may be passed.
|
1917
|
+
* @see https://floating-ui.com/docs/offset
|
1918
|
+
*/
|
1919
|
+
const offset = offset$1;
|
1920
|
+
|
1921
|
+
/**
|
1922
|
+
* Optimizes the visibility of the floating element by choosing the placement
|
1923
|
+
* that has the most space available automatically, without needing to specify a
|
1924
|
+
* preferred placement. Alternative to `flip`.
|
1925
|
+
* @see https://floating-ui.com/docs/autoPlacement
|
1926
|
+
*/
|
1927
|
+
autoPlacement;
|
1928
|
+
|
1555
1929
|
/**
|
1556
1930
|
* Optimizes the visibility of the floating element by shifting it in order to
|
1557
1931
|
* keep it in view when it will overflow the clipping boundary.
|
@@ -1589,6 +1963,18 @@ const hide = hide$1;
|
|
1589
1963
|
*/
|
1590
1964
|
const arrow = arrow$1;
|
1591
1965
|
|
1966
|
+
/**
|
1967
|
+
* Provides improved positioning for inline reference elements that can span
|
1968
|
+
* over multiple lines, such as hyperlinks or range selections.
|
1969
|
+
* @see https://floating-ui.com/docs/inline
|
1970
|
+
*/
|
1971
|
+
inline;
|
1972
|
+
|
1973
|
+
/**
|
1974
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
1975
|
+
*/
|
1976
|
+
limitShift;
|
1977
|
+
|
1592
1978
|
/**
|
1593
1979
|
* Computes the `x` and `y` coordinates that will place the floating element
|
1594
1980
|
* next to a given reference element.
|