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.
Files changed (610) hide show
  1. package/dist/cjs/{floating-ui.dom.esm-f8b4cd90.js → floating-ui.dom.esm-0f6207f9.js} +465 -79
  2. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  3. package/dist/cjs/{get-valid-timezone-c248443a.js → get-valid-timezone-47bf9353.js} +1 -1
  4. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  5. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-action-button.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +4 -4
  9. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-beta.cjs.entry.js +25 -4
  12. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
  13. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +49 -4
  14. package/dist/cjs/gux-badge.cjs.entry.js +3 -3
  15. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  17. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  19. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-button.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-calendar-beta.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-calendar.cjs.entry.js +3 -3
  23. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-column-manager-item.cjs.entry.js +4 -4
  25. package/dist/cjs/gux-column-manager.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-content-search.cjs.entry.js +4 -4
  27. package/dist/cjs/gux-context-menu.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-create-option.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  31. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  32. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-datepicker.cjs.entry.js +4 -4
  34. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +4 -4
  35. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  37. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  41. package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  43. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  44. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +4 -4
  45. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  46. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  47. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -5
  48. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  49. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  50. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-form-field-number_3.cjs.entry.js +11 -11
  52. package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
  53. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +4 -4
  54. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  55. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  56. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  57. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  58. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  60. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
  61. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  63. package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-inline-alert.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  74. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  77. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +3 -3
  81. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-option-multi.cjs.entry.js +3 -3
  85. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +5 -5
  87. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  88. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +227 -228
  93. package/dist/cjs/gux-popover-list.cjs.entry.js +4 -4
  94. package/dist/cjs/gux-popup.cjs.entry.js +4 -4
  95. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  96. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-screen-reader-beta_2.cjs.entry.js +22 -3
  100. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  102. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  103. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +3 -3
  107. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  108. package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
  109. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +7 -6
  112. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tab-advanced.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  115. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  118. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  119. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  122. package/dist/cjs/gux-table.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-tag.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  128. package/dist/cjs/gux-time-picker.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  130. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  131. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  133. package/dist/cjs/gux-toggle.cjs.entry.js +4 -4
  134. package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +4 -4
  135. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-tooltip.cjs.entry.js +4 -4
  137. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  138. package/dist/cjs/index-7fb02c8c.js +6 -6
  139. package/dist/cjs/{index-71d01472.js → index-f9d85787.js} +24 -3
  140. package/dist/cjs/loader.cjs.js +1 -1
  141. package/dist/cjs/{time-zone-72675c4e.js → time-zone-0f8f2166.js} +127 -125
  142. package/dist/cjs/{usage-4cfc282a.js → usage-b92ab3f5.js} +9 -9
  143. package/dist/collection/collection-manifest.json +2 -2
  144. package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/gux-avatar-change-photo.js +4 -4
  145. package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/tests/gux-avatar-change-photo.e2e.js +1 -1
  146. package/dist/collection/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/tests/gux-avatar-change-photo.spec.js +3 -3
  147. package/dist/collection/components/beta/{gux-avatar-focusable → gux-avatar/gux-avatar-focusable}/gux-avatar-focusable.e2e.js +1 -1
  148. package/dist/collection/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.js +79 -0
  149. package/dist/collection/components/beta/{gux-avatar-focusable → gux-avatar/gux-avatar-focusable}/tests/gux-avatar-focusable.spec.js +3 -3
  150. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +61 -2
  151. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
  152. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  153. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  154. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  155. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  156. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  157. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  158. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  159. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  160. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  161. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  162. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  163. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  164. 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
  165. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  166. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  167. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  168. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  169. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  170. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  171. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  172. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  173. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  174. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  175. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  176. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  177. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +22 -2
  178. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.e2e.js +2 -0
  179. package/dist/collection/components/beta/gux-tooltip-beta/tests/gux-tooltip.spec.js +2 -1
  180. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  181. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  182. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  183. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  184. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  185. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  186. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  187. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  188. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  189. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  190. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  191. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  192. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  193. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  194. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  195. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  196. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  197. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  198. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  199. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  200. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  201. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  202. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  203. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  204. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  205. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  206. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  207. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  208. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  209. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  210. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  211. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +1 -1
  212. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  213. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  214. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  215. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  216. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  217. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  218. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  219. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  220. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  221. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  222. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  223. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  224. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  225. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  226. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  227. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  228. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  229. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  230. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  231. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  232. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  233. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  234. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  235. 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
  236. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  237. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  238. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  239. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  240. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  241. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  242. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  243. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  244. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  245. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  246. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  247. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  248. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  249. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  250. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +3 -3
  251. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +1 -1
  252. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  253. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  254. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  255. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  256. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  257. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  258. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  259. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  260. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  261. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  262. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +1 -1
  263. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  264. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  265. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  266. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  267. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  268. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  269. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  270. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  271. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  272. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  273. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  274. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  275. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  276. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  277. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  278. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  279. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  280. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  281. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  282. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  283. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  284. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  285. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  286. package/dist/collection/utils/date/time-zone.spec.js +1 -1
  287. package/dist/esm/{floating-ui.dom.esm-8b93f9de.js → floating-ui.dom.esm-3320b3cf.js} +465 -79
  288. package/dist/esm/genesys-webcomponents.js +1 -1
  289. package/dist/esm/{get-valid-timezone-5077e4ad.js → get-valid-timezone-6faa4c47.js} +1 -1
  290. package/dist/esm/gux-accordion-section.entry.js +5 -5
  291. package/dist/esm/gux-accordion.entry.js +2 -2
  292. package/dist/esm/gux-action-button.entry.js +3 -3
  293. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  294. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +4 -4
  295. package/dist/esm/gux-all-row-select.entry.js +2 -2
  296. package/dist/esm/gux-announce-beta.entry.js +1 -1
  297. package/dist/esm/gux-avatar-beta.entry.js +25 -4
  298. package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
  299. package/dist/esm/gux-avatar-focusable-beta.entry.js +49 -4
  300. package/dist/esm/gux-badge.entry.js +3 -3
  301. package/dist/esm/gux-blank-state.entry.js +2 -2
  302. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  303. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  304. package/dist/esm/gux-button-multi.entry.js +2 -2
  305. package/dist/esm/gux-button-slot.entry.js +2 -2
  306. package/dist/esm/gux-button.entry.js +3 -3
  307. package/dist/esm/gux-calendar-beta.entry.js +2 -2
  308. package/dist/esm/gux-calendar.entry.js +3 -3
  309. package/dist/esm/gux-card.entry.js +3 -3
  310. package/dist/esm/gux-column-manager-item.entry.js +4 -4
  311. package/dist/esm/gux-column-manager.entry.js +3 -3
  312. package/dist/esm/gux-content-search.entry.js +4 -4
  313. package/dist/esm/gux-context-menu.entry.js +4 -4
  314. package/dist/esm/gux-copy-to-clipboard.entry.js +3 -3
  315. package/dist/esm/gux-create-option.entry.js +3 -3
  316. package/dist/esm/gux-cta-group.entry.js +1 -1
  317. package/dist/esm/gux-date-beta.entry.js +4 -4
  318. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  319. package/dist/esm/gux-datepicker.entry.js +4 -4
  320. package/dist/esm/gux-disclosure-button-legacy.entry.js +4 -4
  321. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  322. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  323. package/dist/esm/gux-dropdown-multi.entry.js +3 -3
  324. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  325. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  326. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  327. package/dist/esm/gux-flyout-menu.entry.js +4 -4
  328. package/dist/esm/gux-form-beta.entry.js +1 -1
  329. package/dist/esm/gux-form-description.entry.js +1 -1
  330. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +4 -4
  331. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  332. package/dist/esm/gux-form-field-color.entry.js +4 -4
  333. package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
  334. package/dist/esm/gux-form-field-file.entry.js +2 -2
  335. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  336. package/dist/esm/gux-form-field-label-indicator.entry.js +2 -2
  337. package/dist/esm/gux-form-field-number_3.entry.js +11 -11
  338. package/dist/esm/gux-form-field-phone.entry.js +6 -6
  339. package/dist/esm/gux-form-field-radio-group-beta.entry.js +4 -4
  340. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  341. package/dist/esm/gux-form-field-range.entry.js +3 -3
  342. package/dist/esm/gux-form-field-search.entry.js +4 -4
  343. package/dist/esm/gux-form-field-select.entry.js +4 -4
  344. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  345. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  346. package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
  347. package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
  348. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  349. package/dist/esm/gux-form-footer.entry.js +3 -3
  350. package/dist/esm/gux-form-heading.entry.js +1 -1
  351. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  352. package/dist/esm/gux-icon.entry.js +2 -2
  353. package/dist/esm/gux-inline-alert.entry.js +4 -4
  354. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  355. package/dist/esm/gux-list-divider.entry.js +1 -1
  356. package/dist/esm/gux-list-item.entry.js +1 -1
  357. package/dist/esm/gux-list.entry.js +2 -2
  358. package/dist/esm/gux-listbox-multi.entry.js +2 -2
  359. package/dist/esm/gux-loading-message.entry.js +2 -2
  360. package/dist/esm/gux-menu-option.entry.js +1 -1
  361. package/dist/esm/gux-menu.entry.js +1 -1
  362. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  363. package/dist/esm/gux-modal.entry.js +2 -2
  364. package/dist/esm/gux-month-calendar.entry.js +2 -2
  365. package/dist/esm/gux-month-list_2.entry.js +2 -2
  366. package/dist/esm/gux-month-picker-beta.entry.js +3 -3
  367. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  368. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  369. package/dist/esm/gux-option-icon.entry.js +2 -2
  370. package/dist/esm/gux-option-multi.entry.js +3 -3
  371. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  372. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +5 -5
  373. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  374. package/dist/esm/gux-pagination-cursor.entry.js +2 -2
  375. package/dist/esm/gux-pagination-items-per-page.entry.js +2 -2
  376. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  377. package/dist/esm/gux-pagination.entry.js +2 -2
  378. package/dist/esm/gux-phone-input-beta.entry.js +227 -228
  379. package/dist/esm/gux-popover-list.entry.js +4 -4
  380. package/dist/esm/gux-popup.entry.js +4 -4
  381. package/dist/esm/gux-radial-loading.entry.js +3 -3
  382. package/dist/esm/gux-radial-progress.entry.js +1 -1
  383. package/dist/esm/gux-rating.entry.js +2 -2
  384. package/dist/esm/gux-row-select.entry.js +2 -2
  385. package/dist/esm/gux-screen-reader-beta_2.entry.js +22 -3
  386. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  387. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  388. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  389. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  390. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  391. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  392. package/dist/esm/gux-skip-navigation-list.entry.js +3 -3
  393. package/dist/esm/gux-sort-control.entry.js +5 -5
  394. package/dist/esm/gux-submenu.entry.js +4 -4
  395. package/dist/esm/gux-switch-item.entry.js +1 -1
  396. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  397. package/dist/esm/gux-tab-advanced-list.entry.js +7 -6
  398. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  399. package/dist/esm/gux-tab-advanced.entry.js +3 -3
  400. package/dist/esm/gux-tab-list.entry.js +3 -3
  401. package/dist/esm/gux-tab-panel.entry.js +1 -1
  402. package/dist/esm/gux-tab.entry.js +2 -2
  403. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  404. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  405. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  406. package/dist/esm/gux-table-toolbar-menu-button.entry.js +3 -3
  407. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  408. package/dist/esm/gux-table.entry.js +3 -3
  409. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  410. package/dist/esm/gux-tabs.entry.js +2 -2
  411. package/dist/esm/gux-tag.entry.js +3 -3
  412. package/dist/esm/gux-text-highlight.entry.js +1 -1
  413. package/dist/esm/gux-time-beta.entry.js +4 -4
  414. package/dist/esm/gux-time-picker.entry.js +3 -3
  415. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  416. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  417. package/dist/esm/gux-toast.entry.js +3 -3
  418. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  419. package/dist/esm/gux-toggle.entry.js +4 -4
  420. package/dist/esm/gux-tooltip-base-beta.entry.js +4 -4
  421. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  422. package/dist/esm/gux-tooltip.entry.js +4 -4
  423. package/dist/esm/gux-truncate.entry.js +3 -3
  424. package/dist/esm/{index-358e497c.js → index-ad321c23.js} +24 -3
  425. package/dist/esm/index-da21b737.js +6 -6
  426. package/dist/esm/loader.js +1 -1
  427. package/dist/esm/{time-zone-49d54a2b.js → time-zone-76e2da68.js} +127 -125
  428. package/dist/esm/{usage-e180b322.js → usage-3d6b4b20.js} +9 -9
  429. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  430. package/dist/genesys-webcomponents/{p-521f4d98.entry.js → p-059ba1e7.entry.js} +1 -1
  431. package/dist/genesys-webcomponents/{p-05127076.entry.js → p-09936465.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/p-0b410c79.entry.js +1 -0
  433. package/dist/genesys-webcomponents/p-0b95c4be.entry.js +7 -0
  434. package/dist/genesys-webcomponents/{p-1b623add.entry.js → p-0d990ed4.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-1d4d3e08.entry.js → p-0e357b17.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-be1fc410.entry.js → p-0e99917d.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-29ba3ea8.entry.js → p-119e8407.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/p-16e071d9.entry.js +1 -0
  439. package/dist/genesys-webcomponents/{p-59b31bfe.entry.js → p-1922ddd5.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/p-1946c20f.entry.js +1 -0
  441. package/dist/genesys-webcomponents/p-194e09a1.entry.js +1 -0
  442. package/dist/genesys-webcomponents/{p-951867c4.entry.js → p-1f8183dd.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-3b886d81.entry.js → p-2253f98c.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-b9bfb3bd.entry.js → p-22fa8d25.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-8585ee3a.entry.js → p-2351e1ef.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-31414d8f.entry.js → p-26792730.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-073ffec4.js → p-2bcc4685.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-24f1aabe.entry.js → p-2f417760.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-e94f50a2.entry.js → p-346fcd0d.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-9be1bb5b.entry.js → p-3515818f.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-7a0412e4.entry.js → p-351f6109.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-a4eecc73.entry.js → p-387364be.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-cbf0102a.entry.js → p-3aa4d1ea.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-8d45ee3f.entry.js → p-3b7a79af.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-6f155878.entry.js → p-3f3b2904.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-8795a7f4.entry.js → p-3f9ed1a0.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-07fa33ef.entry.js → p-40435926.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-fc693843.entry.js → p-413ed990.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/p-43996564.entry.js +1 -0
  460. package/dist/genesys-webcomponents/p-443b93e8.entry.js +1 -0
  461. package/dist/genesys-webcomponents/{p-a5f08fbc.entry.js → p-477b6ccb.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/p-4b3458d2.entry.js +1 -0
  463. package/dist/genesys-webcomponents/{p-4a8c8636.entry.js → p-4c9dc5aa.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/p-4cf88aba.entry.js +1 -0
  465. package/dist/genesys-webcomponents/{p-564b0eea.entry.js → p-4dd0710d.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-f894e4e3.entry.js → p-4e618678.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-dcd64bc8.entry.js → p-4ef76102.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/p-4f5dc8e4.entry.js +1 -0
  469. package/dist/genesys-webcomponents/p-4f9cb6ca.entry.js +1 -0
  470. package/dist/genesys-webcomponents/p-51114005.entry.js +1 -0
  471. package/dist/genesys-webcomponents/p-522d095f.entry.js +1 -0
  472. package/dist/genesys-webcomponents/p-53cd4011.entry.js +1 -0
  473. package/dist/genesys-webcomponents/{p-5e8ba528.entry.js → p-53ed124f.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-f09fe12c.entry.js → p-577dc151.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-4ecab147.entry.js → p-5a75e700.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-1b65c00a.js → p-5aade352.js} +1 -1
  477. package/dist/genesys-webcomponents/p-5bcc54c7.js +1 -0
  478. package/dist/genesys-webcomponents/p-5de256c6.entry.js +1 -0
  479. package/dist/genesys-webcomponents/{p-caede189.entry.js → p-5e90b14c.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-1c9d2c6f.entry.js → p-60776811.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-6546b8ff.entry.js → p-62c9a4e1.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-ea93863d.entry.js → p-6628cd36.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-e4a44f8b.entry.js → p-6ca2c952.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-27bded21.entry.js → p-6cf2c987.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-bf33eed9.entry.js → p-6fbca276.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-222cde6d.entry.js → p-730bfdcf.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/p-73e09c03.entry.js +1 -0
  488. package/dist/genesys-webcomponents/{p-4c6938d3.entry.js → p-75eb2888.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-6ef23b98.entry.js → p-77e320b7.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-06a98a79.entry.js → p-78290812.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-9f745e91.entry.js → p-78714157.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/p-79326ffc.js +1 -0
  493. package/dist/genesys-webcomponents/{p-44a4a76f.entry.js → p-7a0286ba.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-cfaaec41.entry.js → p-7a450e35.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-00b51e67.entry.js → p-7b018984.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-c1b7878b.entry.js → p-7cc77530.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-43b69b39.entry.js → p-7d29918d.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/p-7e3cce19.entry.js +1 -0
  499. package/dist/genesys-webcomponents/p-7e720a33.entry.js +1 -0
  500. package/dist/genesys-webcomponents/{p-da4319d6.entry.js → p-7e87e002.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-96182c46.entry.js → p-7fae78d4.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-dd43477d.entry.js → p-7ffe0228.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-69f06cd9.entry.js → p-81559e0d.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/p-825590f8.entry.js +1 -0
  505. package/dist/genesys-webcomponents/{p-bc673417.entry.js → p-82bb41ef.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-b8267d43.entry.js → p-83b34196.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-d7e14e98.entry.js → p-84e7e0c3.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-7fa83ccf.entry.js → p-875432dd.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-16859e54.entry.js → p-8aefd475.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-c603eee2.entry.js → p-8b59ef4c.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/p-8c05807d.entry.js +1 -0
  512. package/dist/genesys-webcomponents/p-8e30e75e.entry.js +1 -0
  513. package/dist/genesys-webcomponents/p-8e98278f.entry.js +1 -0
  514. package/dist/genesys-webcomponents/{p-fe02d353.entry.js → p-91abf805.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-19ea4065.entry.js → p-94921fba.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-3934c7f5.entry.js → p-9b16ac3b.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-8d7e8fe5.entry.js → p-9b440896.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-a10979d2.entry.js → p-9cff2003.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-1c2998c8.entry.js → p-a4dcdbe5.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-624eac6e.entry.js → p-aab34699.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-0a0e44be.entry.js → p-aed20919.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-5b548ede.entry.js → p-aee35636.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-119193e7.entry.js → p-afcaf5a8.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-e10c6e26.entry.js → p-b27a19b1.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-76d6dd09.entry.js → p-b333391d.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-4e10a628.entry.js → p-b40006ba.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-f94f0fff.entry.js → p-b4c99969.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/p-b6a66278.entry.js +1 -0
  529. package/dist/genesys-webcomponents/{p-1c720d4b.entry.js → p-b811f588.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/p-bf71027a.entry.js +1 -0
  531. package/dist/genesys-webcomponents/{p-0175ade4.entry.js → p-c041d75a.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/p-c2395684.entry.js +1 -0
  533. package/dist/genesys-webcomponents/{p-23a4d13a.entry.js → p-c2ed23d5.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-305f3b73.entry.js → p-c470f1b9.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-9e3f7770.entry.js → p-c5436f71.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-30a4bad0.entry.js → p-c5a8ab08.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-f5559bc4.entry.js → p-ca4cdad5.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-11bbb373.entry.js → p-cc58f9d4.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-b3cd8bec.entry.js → p-ccb7ef75.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/p-ce59b6a5.entry.js +1 -0
  541. package/dist/genesys-webcomponents/{p-db850e5a.entry.js → p-cf590276.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/p-cfdf92ee.entry.js +1 -0
  543. package/dist/genesys-webcomponents/{p-f74ab29a.entry.js → p-d17ab5c8.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-82cb4bfd.entry.js → p-d1d36f09.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-193dbd3e.entry.js → p-d54d74fc.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-50636a48.entry.js → p-d806095e.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-d8ba5b01.js +1 -0
  548. package/dist/genesys-webcomponents/{p-26f38677.entry.js → p-d9256201.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/p-dab8f285.entry.js +1 -0
  550. package/dist/genesys-webcomponents/{p-954a08e7.entry.js → p-dec73db1.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-5e379f4a.entry.js → p-e0a538ec.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-c53a3d91.entry.js → p-e135abdf.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/{p-3827ab88.entry.js → p-e1aded78.entry.js} +1 -1
  554. package/dist/genesys-webcomponents/{p-6d8ce079.entry.js → p-e2ee7d6f.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-5420b80d.entry.js → p-e30bf599.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-e41c1fc6.entry.js → p-e3373caf.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-bd8f52f1.entry.js → p-e601cc45.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/{p-6db5ec5f.entry.js → p-e634842f.entry.js} +1 -1
  559. package/dist/genesys-webcomponents/{p-99d5babe.entry.js → p-e9891ef0.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-cdaf320c.entry.js → p-ed4a0372.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-a0e7435b.entry.js → p-ee3831e8.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-eceb4a6d.entry.js → p-f04d4630.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-a93450b8.entry.js → p-f0e8888a.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-1c975af6.entry.js → p-f139788a.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-139e331a.entry.js → p-f25264a0.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-666b2819.entry.js → p-f4c492c3.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-e312dbe7.entry.js → p-faf1be96.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-7e892d53.entry.js → p-fdbd5e42.entry.js} +1 -1
  569. package/dist/stencil-wrapper.js +1 -1
  570. package/dist/types/components/beta/{gux-avatar-change-photo → gux-avatar/gux-avatar-change-photo}/gux-avatar-change-photo.d.ts +1 -1
  571. package/dist/types/components/beta/gux-avatar/gux-avatar-focusable/gux-avatar-focusable.d.ts +13 -0
  572. package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +5 -0
  573. package/dist/types/components/beta/gux-tooltip-beta/gux-tooltip.d.ts +4 -0
  574. package/dist/types/components.d.ts +2 -0
  575. package/dist/types/stencil-wrapper.d.ts +1 -1
  576. package/package.json +9 -9
  577. package/dist/collection/components/beta/gux-avatar-focusable/gux-avatar-focusable.js +0 -34
  578. package/dist/genesys-webcomponents/p-014b9680.entry.js +0 -1
  579. package/dist/genesys-webcomponents/p-07f9e5df.entry.js +0 -1
  580. package/dist/genesys-webcomponents/p-08391d25.entry.js +0 -1
  581. package/dist/genesys-webcomponents/p-0fa60ba5.entry.js +0 -1
  582. package/dist/genesys-webcomponents/p-21633e34.entry.js +0 -7
  583. package/dist/genesys-webcomponents/p-4d53d971.entry.js +0 -1
  584. package/dist/genesys-webcomponents/p-563b1d0e.entry.js +0 -1
  585. package/dist/genesys-webcomponents/p-5ca3cd6b.entry.js +0 -1
  586. package/dist/genesys-webcomponents/p-6009225d.entry.js +0 -1
  587. package/dist/genesys-webcomponents/p-68a3ce56.js +0 -1
  588. package/dist/genesys-webcomponents/p-72bebdcc.entry.js +0 -1
  589. package/dist/genesys-webcomponents/p-7b07ab33.entry.js +0 -1
  590. package/dist/genesys-webcomponents/p-7b1efdee.entry.js +0 -1
  591. package/dist/genesys-webcomponents/p-84776d85.entry.js +0 -1
  592. package/dist/genesys-webcomponents/p-909c2a19.js +0 -1
  593. package/dist/genesys-webcomponents/p-91b08c05.entry.js +0 -1
  594. package/dist/genesys-webcomponents/p-9474b310.entry.js +0 -1
  595. package/dist/genesys-webcomponents/p-9722e4ba.entry.js +0 -1
  596. package/dist/genesys-webcomponents/p-97784ec9.entry.js +0 -1
  597. package/dist/genesys-webcomponents/p-98440cdc.entry.js +0 -1
  598. package/dist/genesys-webcomponents/p-a24673f4.entry.js +0 -1
  599. package/dist/genesys-webcomponents/p-b43ee47b.js +0 -1
  600. package/dist/genesys-webcomponents/p-bafe1b71.entry.js +0 -1
  601. package/dist/genesys-webcomponents/p-c3434425.entry.js +0 -1
  602. package/dist/genesys-webcomponents/p-d8b4c30a.entry.js +0 -1
  603. package/dist/genesys-webcomponents/p-de884813.entry.js +0 -1
  604. package/dist/genesys-webcomponents/p-e4c10700.entry.js +0 -1
  605. package/dist/genesys-webcomponents/p-e9ccd15f.entry.js +0 -1
  606. package/dist/genesys-webcomponents/p-ec954b4e.entry.js +0 -1
  607. package/dist/genesys-webcomponents/p-f0c27afd.entry.js +0 -1
  608. package/dist/genesys-webcomponents/p-ff40422e.entry.js +0 -1
  609. package/dist/types/components/beta/gux-avatar-focusable/gux-avatar-focusable.d.ts +0 -8
  610. /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 min$1 = Math.min;
5
- const max$1 = Math.max;
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$1(start, min$1(value, end));
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
- ...rect,
111
- top: rect.y,
112
- left: rect.x,
113
- right: rect.x + rect.width,
114
- bottom: rect.y + rect.height
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 when it is given a certain positioning strategy.
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$1(paddingObject[minProp], largestPossiblePadding);
382
- const maxPadding = min$1(paddingObject[maxProp], largestPossiblePadding);
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$1 = minPadding;
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$1, center, max);
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 != offset && rects.reference[length] / 2 - (center < min$1$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
396
- const alignmentOffset = shouldAddOffset ? center < min$1$1 ? center - min$1$1 : center - max : 0;
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
- if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
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$map$so;
502
- const placement = (_overflowsData$map$so = overflowsData.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$map$so[0];
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: diffCoords
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 overflowAvailableHeight = height - overflow[heightSide];
783
- const overflowAvailableWidth = width - overflow[widthSide];
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
- const maximumClippingWidth = width - overflow.left - overflow.right;
789
- availableWidth = alignment || noShift ? min$1(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
1139
+ availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
790
1140
  } else {
791
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
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$1(overflow.left, 0);
796
- const xMax = max$1(overflow.right, 0);
797
- const yMin = max$1(overflow.top, 0);
798
- const yMax = max$1(overflow.bottom, 0);
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$1(overflow.left, overflow.right));
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$1(overflow.top, overflow.bottom));
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 isContainingBlock(element) {
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(element);
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
- currentNode = getParentNode(currentNode);
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.pageXOffset,
918
- scrollTop: element.pageYOffset
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
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
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.frameElement;
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.frameElement;
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 window = getWindow(element);
1358
- if (!isHTMLElement(element) || isTopLayer(element)) {
1359
- return window;
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) && getComputedStyle(offsetParent).position === 'static') {
1715
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1363
1716
  offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1364
1717
  }
1365
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static' && !isContainingBlock(offsetParent))) {
1366
- return window;
1718
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1719
+ return win;
1367
1720
  }
1368
- return offsetParent || getContainingBlock(element) || window;
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
- ...(await getDimensionsFn(data.floating))
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
- }, 100);
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.