genesys-spark-components 4.111.6 → 4.112.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 (667) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
  3. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
  7. package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
  8. package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
  9. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -14
  10. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +66 -15
  12. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +8 -23
  13. package/dist/cjs/{gux-avatar-group.service-c18a548f.js → gux-avatar-group.service-245cf1b7.js} +38 -30
  14. package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +285 -0
  15. package/dist/cjs/gux-avatar.service-b4dcfcab.js +25 -0
  16. package/dist/cjs/gux-badge.cjs.entry.js +2 -2
  17. package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  22. package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
  23. package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
  24. package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-card.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  29. package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
  30. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
  32. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
  34. package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
  35. package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
  36. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
  37. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  38. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
  39. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
  40. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  41. package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
  43. package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
  44. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  46. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
  47. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
  48. package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
  51. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
  52. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
  54. package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
  55. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
  56. package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
  57. package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
  58. package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
  59. package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
  60. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
  61. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
  62. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  63. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
  64. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  65. package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
  66. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  68. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
  70. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  73. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  79. package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
  80. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  87. package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
  93. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  98. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  99. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-popup.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  104. package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  106. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
  107. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
  110. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  111. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  112. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
  115. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  121. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
  124. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  126. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
  127. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  129. package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  131. package/dist/cjs/gux-tab.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
  133. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
  136. package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
  137. package/dist/cjs/gux-table.cjs.entry.js +2 -2
  138. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-tag.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
  142. package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
  145. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
  146. package/dist/cjs/gux-toast.cjs.entry.js +3 -3
  147. package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  149. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
  150. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
  152. package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
  153. package/dist/cjs/index-2dd05ef3.js +4 -0
  154. package/dist/cjs/loader.cjs.js +1 -1
  155. package/dist/cjs/{usage-8b693ae3.js → usage-3dcfa17c.js} +1 -1
  156. package/dist/collection/collection-manifest.json +2 -0
  157. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +4 -12
  158. package/dist/collection/components/beta/gux-avatar/gux-avatar.service.js +11 -0
  159. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +8 -40
  160. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.css +4 -2
  161. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +86 -12
  162. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.service.js +37 -30
  163. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.css +117 -0
  164. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +107 -0
  165. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.css +65 -0
  166. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +218 -0
  167. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.service.js +70 -0
  168. package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
  169. package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
  170. package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
  171. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
  172. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
  173. package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
  174. package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
  175. package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
  176. package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
  177. package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
  178. package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
  179. package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
  180. package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
  181. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
  182. 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
  183. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
  184. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
  185. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
  186. package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
  187. package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
  188. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +1 -1
  189. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +1 -1
  190. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
  191. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
  192. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-style-list-item/gux-rich-style-list-item.js +1 -1
  193. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
  194. package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
  195. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
  196. package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
  197. package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
  198. package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
  199. package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
  200. package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
  201. package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
  202. package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
  203. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
  204. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
  205. package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
  206. package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
  207. package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
  208. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
  209. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
  210. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
  211. package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
  212. package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
  213. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
  214. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
  215. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
  216. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
  217. package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
  218. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
  219. package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
  220. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
  221. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
  222. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
  223. package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
  224. package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
  225. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
  226. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
  227. package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
  228. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
  229. package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
  230. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
  231. package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
  232. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
  233. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
  234. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
  235. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
  236. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
  237. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
  238. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
  239. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
  240. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
  241. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
  242. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
  243. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
  244. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
  245. package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
  247. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
  248. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
  249. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
  250. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
  251. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
  252. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
  253. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
  254. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
  255. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
  256. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
  257. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
  258. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
  259. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
  260. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
  261. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
  262. 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
  263. package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
  264. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
  265. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
  266. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
  267. package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
  268. package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
  269. package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
  270. package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
  271. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
  272. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
  273. package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
  274. package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
  275. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
  276. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
  277. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
  278. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
  279. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
  280. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
  281. package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
  282. package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
  283. package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
  284. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
  285. package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
  286. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
  287. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
  288. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
  289. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
  290. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  291. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
  292. package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
  293. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
  294. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
  295. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
  296. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
  297. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
  298. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
  299. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
  300. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
  301. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
  302. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
  303. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
  304. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
  305. package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
  306. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
  307. package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
  308. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
  309. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
  310. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
  311. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
  312. package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
  313. package/dist/esm/genesys-webcomponents.js +1 -1
  314. package/dist/esm/gux-accordion-section.entry.js +5 -5
  315. package/dist/esm/gux-accordion.entry.js +2 -2
  316. package/dist/esm/gux-action-button.entry.js +2 -2
  317. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  318. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
  319. package/dist/esm/gux-all-row-select.entry.js +1 -1
  320. package/dist/esm/gux-announce-beta.entry.js +1 -1
  321. package/dist/esm/gux-avatar-beta.entry.js +5 -14
  322. package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
  323. package/dist/esm/gux-avatar-group-beta.entry.js +66 -15
  324. package/dist/esm/gux-avatar-group-item-beta.entry.js +9 -24
  325. package/dist/esm/{gux-avatar-group.service-23d9c11d.js → gux-avatar-group.service-f9030472.js} +38 -30
  326. package/dist/esm/gux-avatar-overflow-beta_2.entry.js +280 -0
  327. package/dist/esm/gux-avatar.service-43c1b4e1.js +22 -0
  328. package/dist/esm/gux-badge.entry.js +2 -2
  329. package/dist/esm/gux-blank-state.entry.js +2 -2
  330. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  331. package/dist/esm/gux-breadcrumbs.entry.js +2 -2
  332. package/dist/esm/gux-button-multi.entry.js +2 -2
  333. package/dist/esm/gux-button-slot.entry.js +2 -2
  334. package/dist/esm/gux-button_2.entry.js +5 -5
  335. package/dist/esm/gux-calendar-beta.entry.js +1 -1
  336. package/dist/esm/gux-calendar.entry.js +2 -2
  337. package/dist/esm/gux-card.entry.js +3 -3
  338. package/dist/esm/gux-column-manager-item.entry.js +3 -3
  339. package/dist/esm/gux-column-manager.entry.js +2 -2
  340. package/dist/esm/gux-content-search.entry.js +3 -3
  341. package/dist/esm/gux-context-menu.entry.js +3 -3
  342. package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
  343. package/dist/esm/gux-create-option.entry.js +2 -2
  344. package/dist/esm/gux-cta-group.entry.js +1 -1
  345. package/dist/esm/gux-date-beta.entry.js +2 -2
  346. package/dist/esm/gux-date-time-beta.entry.js +2 -2
  347. package/dist/esm/gux-datepicker.entry.js +2 -2
  348. package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
  349. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  350. package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
  351. package/dist/esm/gux-dropdown-multi.entry.js +2 -2
  352. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  353. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  354. package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
  355. package/dist/esm/gux-flyout-menu.entry.js +3 -3
  356. package/dist/esm/gux-form-beta.entry.js +1 -1
  357. package/dist/esm/gux-form-description.entry.js +1 -1
  358. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
  359. package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
  360. package/dist/esm/gux-form-field-color.entry.js +4 -4
  361. package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
  362. package/dist/esm/gux-form-field-file.entry.js +2 -2
  363. package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
  364. package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
  365. package/dist/esm/gux-form-field-number_2.entry.js +8 -8
  366. package/dist/esm/gux-form-field-phone.entry.js +5 -5
  367. package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
  368. package/dist/esm/gux-form-field-radio.entry.js +3 -3
  369. package/dist/esm/gux-form-field-range.entry.js +3 -3
  370. package/dist/esm/gux-form-field-search.entry.js +4 -4
  371. package/dist/esm/gux-form-field-select.entry.js +4 -4
  372. package/dist/esm/gux-form-field-text-like.entry.js +4 -4
  373. package/dist/esm/gux-form-field-textarea.entry.js +3 -3
  374. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  375. package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
  376. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  377. package/dist/esm/gux-form-footer.entry.js +3 -3
  378. package/dist/esm/gux-form-heading.entry.js +1 -1
  379. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  380. package/dist/esm/gux-icon.entry.js +2 -2
  381. package/dist/esm/gux-inline-alert.entry.js +3 -3
  382. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  383. package/dist/esm/gux-link-beta.entry.js +2 -2
  384. package/dist/esm/gux-list-divider.entry.js +1 -1
  385. package/dist/esm/gux-list-item.entry.js +1 -1
  386. package/dist/esm/gux-list.entry.js +2 -2
  387. package/dist/esm/gux-listbox-multi.entry.js +1 -1
  388. package/dist/esm/gux-loading-message.entry.js +2 -2
  389. package/dist/esm/gux-menu-option.entry.js +1 -1
  390. package/dist/esm/gux-menu.entry.js +1 -1
  391. package/dist/esm/gux-modal-legacy.entry.js +3 -3
  392. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  393. package/dist/esm/gux-modal.entry.js +2 -2
  394. package/dist/esm/gux-month-calendar.entry.js +1 -1
  395. package/dist/esm/gux-month-list_2.entry.js +2 -2
  396. package/dist/esm/gux-month-picker-beta.entry.js +2 -2
  397. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  398. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  399. package/dist/esm/gux-option-icon.entry.js +2 -2
  400. package/dist/esm/gux-option-multi.entry.js +2 -2
  401. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  402. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
  403. package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
  404. package/dist/esm/gux-pagination-cursor.entry.js +1 -1
  405. package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
  406. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  407. package/dist/esm/gux-pagination.entry.js +2 -2
  408. package/dist/esm/gux-phone-input-beta.entry.js +2 -2
  409. package/dist/esm/gux-popover-beta.entry.js +3 -3
  410. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  411. package/dist/esm/gux-popover-list.entry.js +3 -3
  412. package/dist/esm/gux-popup.entry.js +3 -3
  413. package/dist/esm/gux-radial-loading.entry.js +2 -2
  414. package/dist/esm/gux-radial-progress.entry.js +1 -1
  415. package/dist/esm/gux-rating.entry.js +2 -2
  416. package/dist/esm/gux-rich-style-list-item.entry.js +2 -2
  417. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  418. package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
  419. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
  420. package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
  421. package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
  422. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  423. package/dist/esm/gux-row-select.entry.js +2 -2
  424. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  425. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  426. package/dist/esm/gux-segmented-control-item.entry.js +4 -4
  427. package/dist/esm/gux-selector-card-beta.entry.js +3 -3
  428. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  429. package/dist/esm/gux-side-panel-beta.entry.js +3 -3
  430. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  431. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  432. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  433. package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
  434. package/dist/esm/gux-sort-control.entry.js +4 -4
  435. package/dist/esm/gux-submenu.entry.js +3 -3
  436. package/dist/esm/gux-switch-item.entry.js +1 -1
  437. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  438. package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
  439. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  440. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  441. package/dist/esm/gux-tab-list.entry.js +2 -2
  442. package/dist/esm/gux-tab-panel.entry.js +1 -1
  443. package/dist/esm/gux-tab.entry.js +2 -2
  444. package/dist/esm/gux-table-select-menu.entry.js +1 -1
  445. package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
  446. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  447. package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
  448. package/dist/esm/gux-table-toolbar.entry.js +3 -3
  449. package/dist/esm/gux-table.entry.js +2 -2
  450. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  451. package/dist/esm/gux-tabs.entry.js +2 -2
  452. package/dist/esm/gux-tag.entry.js +2 -2
  453. package/dist/esm/gux-text-highlight.entry.js +1 -1
  454. package/dist/esm/gux-time-beta.entry.js +2 -2
  455. package/dist/esm/gux-time-picker.entry.js +2 -2
  456. package/dist/esm/gux-time-zone-beta.entry.js +2 -2
  457. package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
  458. package/dist/esm/gux-toast.entry.js +3 -3
  459. package/dist/esm/gux-toggle-slider.entry.js +2 -2
  460. package/dist/esm/gux-toggle.entry.js +3 -3
  461. package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
  462. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  463. package/dist/esm/gux-tooltip.entry.js +3 -3
  464. package/dist/esm/gux-truncate.entry.js +3 -3
  465. package/dist/esm/index-feb7be20.js +4 -0
  466. package/dist/esm/loader.js +1 -1
  467. package/dist/esm/{usage-d75e6b4b.js → usage-0a3bab03.js} +1 -1
  468. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  469. package/dist/genesys-webcomponents/p-00fb848e.entry.js +1 -0
  470. package/dist/genesys-webcomponents/{p-5d11c352.entry.js → p-010fa8e8.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-86b6c11e.entry.js → p-02689daa.entry.js} +2 -2
  472. package/dist/genesys-webcomponents/{p-b25f6da3.entry.js → p-02ed9f39.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/p-0963c315.entry.js +1 -0
  474. package/dist/genesys-webcomponents/{p-c194b852.entry.js → p-0a37a23a.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-cf6c8520.entry.js → p-0a70dd71.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-acf346ff.entry.js → p-0b0f5532.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-e5b2c8e7.entry.js → p-0beb459e.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-8522551e.entry.js → p-0daf3b8a.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-c256398b.entry.js → p-0e1eec70.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-5e651863.entry.js → p-0e84a288.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/p-10cf94d1.entry.js +1 -0
  482. package/dist/genesys-webcomponents/{p-808fdd82.entry.js → p-119ea418.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-e7e5a07c.entry.js → p-11d24534.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-71377466.entry.js → p-130a92ea.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-1977e42c.entry.js → p-173edf48.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-afb890c4.entry.js → p-18a79629.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/p-18f66ec5.entry.js +1 -0
  488. package/dist/genesys-webcomponents/{p-7f519474.entry.js → p-1c31f1f3.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-6f7eb8c9.entry.js → p-1c322a7b.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/p-1d7d94a4.entry.js +1 -0
  491. package/dist/genesys-webcomponents/{p-60cc8791.entry.js → p-1db2525e.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-841549a4.entry.js → p-1e4a36bf.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-d942c4d8.entry.js → p-1fa7e37f.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-81e2f259.entry.js → p-1ff408b1.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-a1415f15.entry.js → p-20d01fb5.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-83e784ea.entry.js → p-26fecfaa.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-c2dceea3.entry.js → p-27a81cd0.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/p-2a99f284.js +1 -0
  499. package/dist/genesys-webcomponents/{p-ddd74531.entry.js → p-2e9f4d5b.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-cd1f2fd6.entry.js → p-2ec8b57c.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-afb31448.entry.js → p-304a008c.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-e74ee391.entry.js → p-319decc1.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-22eea545.entry.js → p-32363959.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-4fd7b524.entry.js → p-3583d635.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-70cd7043.entry.js → p-35cee3dd.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-cdb52c1b.entry.js → p-35f46b0d.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-0694db00.entry.js → p-362946a0.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/p-3ae588a6.entry.js +1 -0
  509. package/dist/genesys-webcomponents/{p-f30206b9.entry.js → p-3c55b003.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-6e90d1bf.entry.js → p-3d9b1598.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/p-3db21bf3.entry.js +1 -0
  512. package/dist/genesys-webcomponents/{p-3cdd53db.entry.js → p-40c97ddd.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-73ce0484.entry.js → p-42f17d2a.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-38bb7b24.entry.js → p-444dde71.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-ac37df82.entry.js → p-44795b31.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/p-4695ff19.entry.js +1 -0
  517. package/dist/genesys-webcomponents/{p-05087794.entry.js → p-47942c1a.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/p-4afd2679.entry.js +1 -0
  519. package/dist/genesys-webcomponents/{p-a15fbb83.entry.js → p-4b49d536.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/p-519d47e3.entry.js +1 -0
  521. package/dist/genesys-webcomponents/{p-b2bd7613.entry.js → p-527736e2.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-16b3f7e0.entry.js → p-53b58e0d.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-4a581e8e.entry.js → p-5678912a.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-3627a308.entry.js → p-57a8f97d.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-dc2dab1c.entry.js → p-588f041b.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-7adc186b.entry.js → p-5d72d830.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-94a3bbe3.entry.js → p-5f9d482c.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/p-5fcdcbfd.js +1 -0
  529. package/dist/genesys-webcomponents/{p-6765d8c0.entry.js → p-619dcdad.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-7017fc04.entry.js → p-635f1178.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-4e333e04.entry.js → p-64133881.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-396ed274.entry.js → p-64623fe4.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-ffe8ef08.entry.js → p-651e34f8.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-892ebdad.entry.js → p-67080341.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-45e535b7.entry.js → p-683f176e.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-69725af7.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-404da695.entry.js → p-6c03152e.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-1708dff4.entry.js → p-7080aa78.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/p-71a438b7.entry.js +1 -0
  540. package/dist/genesys-webcomponents/{p-8d75bc67.entry.js → p-78f29790.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-e250948b.entry.js → p-79d8becc.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-dd0df2ac.entry.js → p-79e2cb48.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-6ea6bb1f.entry.js → p-7a6c7985.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-32d54bfb.entry.js → p-7a8b8425.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-eb3f4e73.entry.js → p-7f5b37cb.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/p-80328392.entry.js +1 -0
  547. package/dist/genesys-webcomponents/{p-ac0ba0c9.entry.js → p-8122e80b.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-163e4020.entry.js → p-8205b911.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-5f46a185.entry.js → p-83bbcb4d.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/p-85022060.entry.js +1 -0
  551. package/dist/genesys-webcomponents/{p-940d5d52.entry.js → p-8632cd2c.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-ce48b08d.entry.js → p-86a2dde7.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-892f9fc8.entry.js +1 -0
  554. package/dist/genesys-webcomponents/{p-8703340f.entry.js → p-8ea59f56.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/p-8ea8315d.entry.js +1 -0
  556. package/dist/genesys-webcomponents/{p-56612c4c.entry.js → p-906b93e5.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/p-92a204bf.entry.js +1 -0
  558. package/dist/genesys-webcomponents/p-952896a6.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-b8a11d4a.entry.js → p-956a582d.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/{p-bc04dc32.entry.js → p-964472aa.entry.js} +1 -1
  561. package/dist/genesys-webcomponents/{p-9117b4e8.entry.js → p-9ca9e8f7.entry.js} +1 -1
  562. package/dist/genesys-webcomponents/{p-d3f5acd3.entry.js → p-9d897ce2.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-49b489b3.entry.js → p-a1c64b8a.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-24ec16ed.entry.js → p-a355737d.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-14f11a8a.entry.js → p-a5b3341b.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-3bdbea86.entry.js → p-a77c5458.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/{p-ba586b37.entry.js → p-a836921c.entry.js} +1 -1
  568. package/dist/genesys-webcomponents/{p-032412e3.entry.js → p-a8d68e4b.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-c17d7261.entry.js → p-a9e60211.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-d8e66bfa.entry.js → p-aa1785d1.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-0100a57e.entry.js → p-ac8bf5d1.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-2b0407a9.entry.js → p-ace854c3.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-0a8f22c3.entry.js → p-aeb94c80.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/p-afe5c214.entry.js +1 -0
  575. package/dist/genesys-webcomponents/{p-e62c052c.entry.js → p-b08c574e.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-3e4699bc.js → p-b173ec5d.js} +1 -1
  577. package/dist/genesys-webcomponents/{p-fa0d8f65.entry.js → p-b2d9911a.entry.js} +1 -1
  578. package/dist/genesys-webcomponents/p-b3ddb6ac.entry.js +1 -0
  579. package/dist/genesys-webcomponents/{p-d0bd5610.entry.js → p-b4c84037.entry.js} +1 -1
  580. package/dist/genesys-webcomponents/{p-f49946c3.entry.js → p-b4e4ba65.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/p-b8f53b13.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-d4c133b8.entry.js → p-ba4ec06d.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/p-bb7e7eb4.entry.js +1 -0
  584. package/dist/genesys-webcomponents/p-bc8a9aec.entry.js +1 -0
  585. package/dist/genesys-webcomponents/p-bc94702e.entry.js +1 -0
  586. package/dist/genesys-webcomponents/p-be7854fd.entry.js +1 -0
  587. package/dist/genesys-webcomponents/{p-b16be0d7.entry.js → p-c9234d25.entry.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-f11c894c.entry.js → p-c942a09b.entry.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-6f5c4dfc.entry.js → p-c9ff7b8e.entry.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-b9e6f612.entry.js → p-cbfb5e61.entry.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-2ef14f06.entry.js → p-cdeb4933.entry.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-2c1b8e8a.entry.js → p-ce771f18.entry.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-e438720d.entry.js → p-ceca55aa.entry.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-42789b02.entry.js → p-cef83da4.entry.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-e1d65cc6.entry.js → p-cfe212a0.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-08b462de.entry.js → p-d2a37f33.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-f6704504.entry.js → p-d3097924.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/p-d4f09656.entry.js +1 -0
  599. package/dist/genesys-webcomponents/{p-ae96285a.entry.js → p-d5cbda98.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/{p-d9621a33.entry.js → p-dcd16f28.entry.js} +1 -1
  601. package/dist/genesys-webcomponents/{p-ebb4398a.entry.js → p-de201038.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-dcc005d5.entry.js → p-e3c22891.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-b55c1468.entry.js → p-e6ae18d2.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-6fa0e350.entry.js → p-e6f33f04.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-c1473824.entry.js → p-e9a840b1.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-2d674ef3.entry.js → p-e9c4e3df.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-b8add1dd.entry.js → p-eb7cdf7a.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-bf5da84d.entry.js → p-edea0e29.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-70b1506a.entry.js → p-ee35a1b3.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/{p-60bf2952.entry.js → p-eec256c9.entry.js} +1 -1
  611. package/dist/genesys-webcomponents/p-f210328a.entry.js +1 -0
  612. package/dist/genesys-webcomponents/{p-57418df7.entry.js → p-f38a8a65.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-468b7a98.entry.js → p-f5d6898d.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/p-f6236a37.entry.js +1 -0
  615. package/dist/genesys-webcomponents/{p-8c51aab2.entry.js → p-f93118f2.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-1a2c58fc.entry.js → p-fc2f6581.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/p-fc9b86d4.entry.js +1 -0
  618. package/dist/genesys-webcomponents/{p-ea01f71b.entry.js → p-fce1afdd.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/{p-2f99e441.entry.js → p-fdb1a11a.entry.js} +1 -1
  620. package/dist/genesys-webcomponents/{p-964fa8e3.entry.js → p-fea6b403.entry.js} +1 -1
  621. package/dist/stencil-wrapper.js +1 -1
  622. package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +0 -1
  623. package/dist/types/components/beta/gux-avatar/gux-avatar.service.d.ts +3 -0
  624. package/dist/types/components/beta/gux-avatar/gux-avatar.types.d.ts +4 -1
  625. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.d.ts +1 -4
  626. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.d.ts +9 -1
  627. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.types.d.ts +1 -0
  628. package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.d.ts +18 -0
  629. package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.d.ts +31 -0
  630. package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.service.d.ts +1 -0
  631. package/dist/types/components.d.ts +43 -5
  632. package/dist/types/stencil-wrapper.d.ts +1 -1
  633. package/package.json +1 -1
  634. package/dist/cjs/generate-initials-5571e9d5.js +0 -12
  635. package/dist/esm/generate-initials-4f347529.js +0 -10
  636. package/dist/genesys-webcomponents/p-0bdadcfe.entry.js +0 -1
  637. package/dist/genesys-webcomponents/p-0e49b338.js +0 -1
  638. package/dist/genesys-webcomponents/p-0fdd48ea.entry.js +0 -1
  639. package/dist/genesys-webcomponents/p-11213130.entry.js +0 -1
  640. package/dist/genesys-webcomponents/p-21661251.entry.js +0 -1
  641. package/dist/genesys-webcomponents/p-22a7bfd0.entry.js +0 -1
  642. package/dist/genesys-webcomponents/p-2e4a4c4f.entry.js +0 -1
  643. package/dist/genesys-webcomponents/p-4ee28457.entry.js +0 -1
  644. package/dist/genesys-webcomponents/p-50a2c515.entry.js +0 -1
  645. package/dist/genesys-webcomponents/p-56d20532.entry.js +0 -1
  646. package/dist/genesys-webcomponents/p-5de1d595.entry.js +0 -1
  647. package/dist/genesys-webcomponents/p-5fe69f2d.entry.js +0 -1
  648. package/dist/genesys-webcomponents/p-6396ae47.entry.js +0 -1
  649. package/dist/genesys-webcomponents/p-65b8e6ee.entry.js +0 -1
  650. package/dist/genesys-webcomponents/p-67033c02.entry.js +0 -1
  651. package/dist/genesys-webcomponents/p-834236e0.entry.js +0 -1
  652. package/dist/genesys-webcomponents/p-95a4b25b.entry.js +0 -1
  653. package/dist/genesys-webcomponents/p-9d0ee05d.entry.js +0 -1
  654. package/dist/genesys-webcomponents/p-aad09b1c.entry.js +0 -1
  655. package/dist/genesys-webcomponents/p-abade39b.entry.js +0 -1
  656. package/dist/genesys-webcomponents/p-afd391e0.entry.js +0 -1
  657. package/dist/genesys-webcomponents/p-bd630b9b.entry.js +0 -1
  658. package/dist/genesys-webcomponents/p-bde9bc48.entry.js +0 -1
  659. package/dist/genesys-webcomponents/p-cc8ac923.entry.js +0 -1
  660. package/dist/genesys-webcomponents/p-d1ed65c9.entry.js +0 -1
  661. package/dist/genesys-webcomponents/p-e7c8c8af.entry.js +0 -1
  662. package/dist/genesys-webcomponents/p-ee3e3217.entry.js +0 -1
  663. package/dist/genesys-webcomponents/p-ef8f3eed.js +0 -1
  664. package/dist/genesys-webcomponents/p-f5b5e197.entry.js +0 -1
  665. package/dist/genesys-webcomponents/p-ff88702b.entry.js +0 -1
  666. package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.types.d.ts +0 -1
  667. /package/dist/collection/components/beta/gux-avatar-group/{gux-avatar-group-item/gux-avatar-group-item.types.js → gux-avatar-group.types.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { h, r as registerInstance, g as getElement } from './index-feb7be20.js';
2
- import { t as trackComponent } from './usage-d75e6b4b.js';
2
+ import { t as trackComponent } from './usage-0a3bab03.js';
3
3
  import { a as logWarn } from './log-error-274efeb7.js';
4
4
  import { b as buildI18nForComponent } from './index-6fa3d266.js';
5
- import { g as generateInitials } from './generate-initials-4f347529.js';
5
+ import { g as generateInitials, a as getAvatarAccentClass } from './gux-avatar.service-43c1b4e1.js';
6
6
  import './get-closest-element-728b9f18.js';
7
7
 
8
8
  function renderZoomSVG() {
@@ -67,15 +67,6 @@ const GuxAvatar = class {
67
67
  this.notifications = false;
68
68
  this.ucIntegration = 'none';
69
69
  }
70
- getAccent() {
71
- if (this.accent !== 'auto') {
72
- return this.accent;
73
- }
74
- const hashedName = this.name
75
- .split('')
76
- .reduce((acc, char) => acc + char.charCodeAt(0), 0);
77
- return (hashedName % 12).toString();
78
- }
79
70
  validatingInputs() {
80
71
  const avatarImage = this.root.querySelector('img');
81
72
  if (!this.name) {
@@ -197,13 +188,13 @@ const GuxAvatar = class {
197
188
  }
198
189
  render() {
199
190
  return [
200
- h("div", { key: '43767407df396560f8f4a827766c6a35a334b389', class: {
191
+ h("div", { key: 'cef226c15517c37cc2729cecf7bb1e06166d4fa9', class: {
201
192
  'gux-avatar': true,
202
193
  [`gux-${this.presence}`]: this.ring || this.badge,
203
194
  [`gux-${this.size}`]: true,
204
195
  'gux-ring': this.ring,
205
- [`gux-accent-${this.getAccent()}`]: true
206
- } }, h("div", { key: '36fdead01ad9c9bfe735b9038bd53ad1d1345f9e', class: "gux-content" }, h("slot", { key: '4f39fd28959ff24f4d019af605f3d949cbb83db3', name: "image" }, h("abbr", { key: '8d5d44fb78c2ba156a5e83614526c731fe21284c', "aria-label": this.getDescriptionText() }, generateInitials(this.name)))), this.renderTooltip()),
196
+ [getAvatarAccentClass(this.accent, this.name)]: true
197
+ } }, h("div", { key: '9cc33a7794aaf2f1853f6f7569a7c5af5d063340', class: "gux-content" }, h("slot", { key: 'b95fd0f65798bf47c959cfdaecea586e8635dbb0', name: "image" }, h("abbr", { key: 'ee135fd29f555c8bf808c69fb33a8d5c224999a7', "aria-label": this.getDescriptionText() }, generateInitials(this.name)))), this.renderTooltip()),
207
198
  this.renderBadge(),
208
199
  this.renderUcIntegrationBadge()
209
200
  ];
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-feb7be20.js';
2
2
  import { a as logWarn } from './log-error-274efeb7.js';
3
3
  import { b as buildI18nForComponent } from './index-6fa3d266.js';
4
- import { t as trackComponent } from './usage-d75e6b4b.js';
4
+ import { t as trackComponent } from './usage-0a3bab03.js';
5
5
  import './get-closest-element-728b9f18.js';
6
6
 
7
7
  const changePhoto = "Change profile photo";
@@ -1,37 +1,64 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-feb7be20.js';
2
- import { t as trackComponent } from './usage-d75e6b4b.js';
2
+ import { t as trackComponent } from './usage-0a3bab03.js';
3
3
  import { a as logWarn } from './log-error-274efeb7.js';
4
- import { s as setFocusTarget, r as resetFocusableSibling } from './gux-avatar-group.service-23d9c11d.js';
4
+ import { s as setFocusTarget, r as resetFocusableSibling } from './gux-avatar-group.service-f9030472.js';
5
+ import './get-closest-element-728b9f18.js';
5
6
 
6
- const guxAvatarGroupCss = ":host{display:flex;align-items:center;inline-size:fit-content;padding-block:var(--gse-semantic-interactive-sm-padding);padding-inline:var(--gse-semantic-interactive-sm-padding) var(--gse-semantic-interactive-md-padding)}:host:focus-visible{outline:none}";
7
+ const guxAvatarGroupCss = ":host{display:flex;align-items:center;inline-size:fit-content;padding-block:var(--gse-semantic-interactive-sm-padding);padding-inline:var(--gse-semantic-interactive-sm-padding) var(--gse-semantic-interactive-md-padding)}:host(:focus-visible){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}";
7
8
  const GuxAvatarGroupBetaStyle0 = guxAvatarGroupCss;
8
9
 
9
10
  const GuxAvatarGroup = class {
10
11
  constructor(hostRef) {
11
12
  registerInstance(this, hostRef);
13
+ this.processedGroupItems = [];
14
+ this.quantity = 7;
12
15
  }
13
16
  async componentWillLoad() {
14
- trackComponent(this.root);
15
- if (this.root.querySelectorAll('gux-avatar-group-item-beta').length === 0) {
16
- logWarn(this.root, 'gux-avatar-group-beta: No gux-avatar-group-item-beta tags found in slot. Please add gux-avatar-group-item-beta tags to the slot.');
17
- }
17
+ trackComponent(this.root, { variant: this.quantity.toString() });
18
18
  }
19
19
  componentDidLoad() {
20
20
  this.setInitialFocusTarget();
21
21
  }
22
+ componentWillRender() {
23
+ this.processGroupItems();
24
+ this.hideOverflowGroupItems();
25
+ }
26
+ onMouseOver(event) {
27
+ this.hideCurrentTooltip(event);
28
+ }
29
+ getGroupItems() {
30
+ return Array.from(this.root.children);
31
+ }
22
32
  setInitialFocusTarget() {
23
- const groupItems = Array.from(this.root.children);
33
+ const groupItems = this.getGroupItems();
24
34
  if (groupItems.length > 0) {
25
35
  const firstGroupItem = groupItems[0];
26
36
  setFocusTarget(firstGroupItem);
27
37
  }
28
38
  }
29
- onMouseOver(event) {
30
- this.hideCurrentTooltip(event);
39
+ processGroupItems() {
40
+ const groupItems = this.getGroupItems();
41
+ this.validateChildElements(groupItems);
42
+ this.processedGroupItems = groupItems.map((item, index) => {
43
+ var _a, _b, _c;
44
+ return {
45
+ img: (_a = item.querySelector('img')) !== null && _a !== void 0 ? _a : null,
46
+ name: (_b = item === null || item === void 0 ? void 0 : item.name) !== null && _b !== void 0 ? _b : '',
47
+ accent: (_c = item === null || item === void 0 ? void 0 : item.accent) !== null && _c !== void 0 ? _c : null,
48
+ isOverflow: index >= this.quantity,
49
+ groupItem: item
50
+ };
51
+ });
52
+ }
53
+ hideOverflowGroupItems() {
54
+ const overflowItems = this.processedGroupItems.filter(item => item.isOverflow);
55
+ overflowItems.forEach(item => {
56
+ item.groupItem.setAttribute('hidden', '');
57
+ });
31
58
  }
32
59
  hideCurrentTooltip(event) {
33
60
  const target = event.target;
34
- const groupItems = Array.from(this.root.children);
61
+ const groupItems = this.getGroupItems();
35
62
  const focusedChild = groupItems.find(child => child.matches(':focus-within'));
36
63
  if (focusedChild && focusedChild !== target) {
37
64
  focusedChild.hideTooltip();
@@ -39,13 +66,37 @@ const GuxAvatarGroup = class {
39
66
  }
40
67
  handleClick(event) {
41
68
  const clickedElement = event.target;
42
- resetFocusableSibling(clickedElement);
43
- setFocusTarget(clickedElement);
69
+ if (clickedElement.tagName === 'GUX-AVATAR-GROUP-ITEM-BETA' &&
70
+ !clickedElement.hasAttribute('hidden')) {
71
+ resetFocusableSibling(clickedElement);
72
+ setFocusTarget(clickedElement);
73
+ }
74
+ }
75
+ validateChildElements(childElements) {
76
+ if (childElements.length === 0) {
77
+ logWarn(this.root, 'gux-avatar-group-beta: No child elements detected. Please add some gux-avatar-item-beta tags to slot');
78
+ }
79
+ const validTagNames = ['GUX-AVATAR-GROUP-ITEM-BETA'];
80
+ const invalidElements = childElements.some(el => !validTagNames.includes(el.tagName));
81
+ if (invalidElements) {
82
+ logWarn(this.root, 'gux-avatar-group-beta: Invalid child element detected. All child elements must be either buttons, anchor tags or gux-avatar-beta components');
83
+ }
84
+ }
85
+ renderOverflowMenu() {
86
+ if (this.root.children.length > this.quantity) {
87
+ const overflowItems = this.processedGroupItems.filter(item => item.isOverflow);
88
+ return (h("gux-avatar-overflow-beta", null, overflowItems.map(item => {
89
+ var _a, _b;
90
+ return (h("gux-avatar-overflow-item-beta", { name: item.name, accent: item.accent, onClick: () => item.groupItem.click() }, item.img ? (h("img", { slot: "image", src: (_a = item.img) === null || _a === void 0 ? void 0 : _a.src, alt: (_b = item.img) === null || _b === void 0 ? void 0 : _b.alt })) : null));
91
+ })));
92
+ }
93
+ else {
94
+ return null;
95
+ }
44
96
  }
45
97
  render() {
46
- return (h(Host, { key: 'a0c74e33fa71e345201ab4c1f0cea37fd767f40a', role: "menu", onClick: this.handleClick.bind(this) }, h("slot", { key: '761b86e5d15febdb0334abd3bf390042643e7d68' })));
98
+ return (h(Host, { key: 'fd252cb40f60c329c1c8330a8df415e3fe0ce86a', role: "menu", onClick: this.handleClick.bind(this) }, h("slot", { key: '754b66b2e4024abba062e2a9aa0cbe3933b75139' }), this.renderOverflowMenu()));
47
99
  }
48
- static get delegatesFocus() { return true; }
49
100
  get root() { return getElement(this); }
50
101
  };
51
102
  GuxAvatarGroup.style = GuxAvatarGroupBetaStyle0;
@@ -1,8 +1,9 @@
1
- import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
2
- import { t as trackComponent } from './usage-d75e6b4b.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-feb7be20.js';
2
+ import { t as trackComponent } from './usage-0a3bab03.js';
3
3
  import { a as logWarn } from './log-error-274efeb7.js';
4
- import { g as groupKeyboardNavigation } from './gux-avatar-group.service-23d9c11d.js';
5
- import { g as generateInitials } from './generate-initials-4f347529.js';
4
+ import { g as groupKeyboardNavigation } from './gux-avatar-group.service-f9030472.js';
5
+ import { a as getAvatarAccentClass, g as generateInitials } from './gux-avatar.service-43c1b4e1.js';
6
+ import './get-closest-element-728b9f18.js';
6
7
 
7
8
  const guxAvatarGroupItemCss = "::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);padding:0;margin:0;margin-inline-end:var(--gse-ui-avatar-groupSet-gap);overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 13c0-2.6.7-5 1.8-7.2C21.5 2.3 17.5 0 13 0 5.8 0 0 5.8 0 13s5.8 13 13 13c4.5 0 8.5-2.3 10.8-5.8C22.7 18 22 15.6 22 13z' /%3E%3C/svg%3E\")}button:focus-visible,button:hover{position:relative;z-index:var(--gse-semantic-zIndex-showFocus);mask:none}button:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}button.gux-last-item{mask:none}button .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button.gux-accent-inherit{color:inherit;background-color:inherit}";
8
9
  const GuxAvatarGroupItemBetaStyle0 = guxAvatarGroupItemCss;
@@ -19,13 +20,6 @@ const GuxAvatarGroupItem = class {
19
20
  componentDidLoad() {
20
21
  this.validatingInputs();
21
22
  }
22
- /*
23
- * Focus button element
24
- */
25
- // eslint-disable-next-line @typescript-eslint/require-await
26
- async guxFocus() {
27
- this.buttonElement.focus();
28
- }
29
23
  /*
30
24
  * Hide tooltip
31
25
  */
@@ -41,16 +35,6 @@ const GuxAvatarGroupItem = class {
41
35
  const index = children.findIndex(i => i === this.root);
42
36
  return index === children.length - 1;
43
37
  }
44
- getAccent() {
45
- if (this.accent !== 'auto') {
46
- return `gux-accent-${this.accent}`;
47
- }
48
- const hashedName = this.name
49
- .split('')
50
- .reduce((acc, char) => acc + char.charCodeAt(0), 0);
51
- const hashedNameAccent = (hashedName % 12).toString();
52
- return `gux-accent-${hashedNameAccent}`;
53
- }
54
38
  validatingInputs() {
55
39
  const avatarImage = this.root.querySelector('img');
56
40
  if (!this.name) {
@@ -61,12 +45,13 @@ const GuxAvatarGroupItem = class {
61
45
  }
62
46
  }
63
47
  render() {
64
- return (h("button", { key: '5ac64c971a6d31b621ec5949bebd51eca93f5b6b', type: "button", role: "menuitem", "aria-label": this.name, tabIndex: -1, ref: el => (this.buttonElement = el), class: {
48
+ return (h(Host, { key: '2ecedaa5f3705fcece1c0bba087e960d3c0e8393', role: "menuitem" }, h("button", { key: '0e2f5760551f46ca5ec394a87c85c5bb962f664e', type: "button", "aria-label": this.name, tabIndex: -1, class: {
65
49
  'gux-avatar': true,
66
- [this.getAccent()]: true,
50
+ [getAvatarAccentClass(this.accent, this.name)]: true,
67
51
  'gux-last-item': this.isLastItemInGroup()
68
- } }, h("slot", { key: '58ec799cad023f20bc43fe4dc9b18320155f0613', name: "image" }, h("span", { key: '59104f19f6c9aab2771354bb4a39cc3aa88f45bd', class: "gux-avatar-initials", "aria-hidden": "true" }, generateInitials(this.name))), h("gux-tooltip-beta", { key: '2adbb48a98e4669be0f7f18d2312b5c7018b35a6', "aria-hidden": "true", "visual-only": true, placement: "top", ref: el => (this.tooltip = el) }, h("div", { key: 'e5b40f15d921448fe87089c48938172c0d2f96c0', slot: "content" }, this.name))));
52
+ } }, h("slot", { key: 'c1542da304401940307eb9fced69479bce16a966', name: "image" }, h("span", { key: '4d951124cb550e7c0fad0764779720a87072f0a7', class: "gux-avatar-initials", "aria-hidden": "true" }, generateInitials(this.name))), h("gux-tooltip-beta", { key: '4c575880347af40da4f888cbe16557eda28a349f', "aria-hidden": "true", "visual-only": true, placement: "top", ref: el => (this.tooltip = el) }, h("div", { key: '486bea5b6ff4cc0a260a49fe0b5488619090414f', slot: "content" }, this.name)))));
69
53
  }
54
+ static get delegatesFocus() { return true; }
70
55
  get root() { return getElement(this); }
71
56
  };
72
57
  GuxAvatarGroupItem.style = GuxAvatarGroupItemBetaStyle0;
@@ -1,11 +1,16 @@
1
+ import { g as getClosestElement } from './get-closest-element-728b9f18.js';
2
+ import { a as logWarn } from './log-error-274efeb7.js';
3
+
1
4
  function groupKeyboardNavigation(event, currentElement) {
2
5
  switch (event.key) {
3
6
  case 'ArrowLeft':
7
+ case 'ArrowUp':
4
8
  event.stopPropagation();
5
9
  event.preventDefault();
6
10
  focusPreviousSiblingLoop(currentElement);
7
11
  break;
8
12
  case 'ArrowRight':
13
+ case 'ArrowDown':
9
14
  event.stopPropagation();
10
15
  event.preventDefault();
11
16
  focusNextSiblingLoop(currentElement);
@@ -23,7 +28,7 @@ function groupKeyboardNavigation(event, currentElement) {
23
28
  }
24
29
  }
25
30
  function resetFocusableSibling(element) {
26
- const focusableSibling = getSiblings(element).find((sibling) => {
31
+ const focusableSibling = getGroupItems(element).find((sibling) => {
27
32
  const button = getGroupItemButton(sibling);
28
33
  return button && button.tabIndex !== -1;
29
34
  });
@@ -37,24 +42,27 @@ function setFocusTarget(element) {
37
42
  function focusFirstSibling(currentElement) {
38
43
  const firstFocusableElement = getFirstFocusableElement(currentElement);
39
44
  if (firstFocusableElement) {
40
- void firstFocusableElement.guxFocus();
41
- void setItemTabIndex(firstFocusableElement, 0);
45
+ void firstFocusableElement.focus();
42
46
  void resetFocusableSibling(firstFocusableElement);
47
+ void setItemTabIndex(firstFocusableElement, 0);
43
48
  }
44
49
  }
45
50
  function focusLastSibling(currentElement) {
46
51
  const lastFocusableElement = getLastFocusableElement(currentElement);
47
52
  if (lastFocusableElement) {
48
- void lastFocusableElement.guxFocus();
49
- void setItemTabIndex(lastFocusableElement, 0);
53
+ void lastFocusableElement.focus();
50
54
  void resetFocusableSibling(lastFocusableElement);
55
+ void setItemTabIndex(lastFocusableElement, 0);
51
56
  }
52
57
  }
53
58
  function focusPreviousSiblingLoop(currentElement) {
54
- const previousFocusableElement = currentElement.previousElementSibling;
59
+ const groupItems = getGroupItems(currentElement);
60
+ const currentElementIndex = groupItems.findIndex((item) => item === currentElement);
61
+ const previousIndex = (currentElementIndex - 1) % groupItems.length;
62
+ const previousFocusableElement = groupItems[previousIndex];
55
63
  setItemTabIndex(currentElement, -1);
56
64
  if (previousFocusableElement) {
57
- void previousFocusableElement.guxFocus();
65
+ void previousFocusableElement.focus();
58
66
  void setItemTabIndex(previousFocusableElement, 0);
59
67
  }
60
68
  else {
@@ -62,41 +70,38 @@ function focusPreviousSiblingLoop(currentElement) {
62
70
  }
63
71
  }
64
72
  function focusNextSiblingLoop(currentElement) {
65
- const nextFocusableElement = currentElement.nextElementSibling;
73
+ const groupItems = getGroupItems(currentElement);
74
+ const currentElementIndex = groupItems.findIndex((item) => item === currentElement);
75
+ const nextIndex = (currentElementIndex + 1) % groupItems.length;
76
+ if (nextIndex === 0) {
77
+ focusFirstSibling(currentElement);
78
+ }
79
+ const nextFocusableElement = groupItems[nextIndex];
66
80
  setItemTabIndex(currentElement, -1);
67
- if (nextFocusableElement) {
68
- void nextFocusableElement.guxFocus();
81
+ if (nextFocusableElement !== null) {
82
+ void nextFocusableElement.focus();
69
83
  void setItemTabIndex(nextFocusableElement, 0);
70
84
  }
71
- else {
72
- focusFirstSibling(currentElement);
73
- }
74
85
  }
75
86
  function getFirstFocusableElement(currentElement) {
76
- let firstFocusableElement = currentElement;
77
- while (firstFocusableElement.previousElementSibling !== null) {
78
- firstFocusableElement = firstFocusableElement.previousElementSibling;
79
- }
80
- return firstFocusableElement;
87
+ return getGroupItems(currentElement)[0];
81
88
  }
82
89
  function getLastFocusableElement(currentElement) {
83
- let lastFocusableElement = currentElement;
84
- while (lastFocusableElement.nextElementSibling !== null) {
85
- lastFocusableElement = lastFocusableElement.nextElementSibling;
86
- }
87
- return lastFocusableElement;
90
+ const groupItems = getGroupItems(currentElement);
91
+ return groupItems[groupItems.length - 1];
88
92
  }
89
93
  function getGroupItemButton(element) {
90
94
  var _a;
91
95
  return (_a = element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button');
92
96
  }
93
- function getSiblings(element) {
94
- const siblings = Array.from(element.parentElement.children);
95
- // Early return for performance when there are no siblings
96
- if (siblings.length <= 1) {
97
- return [];
97
+ function getGroupItems(element) {
98
+ const group = getClosestElement('gux-avatar-group-beta', element);
99
+ const slottedItems = Array.from(group.querySelectorAll('gux-avatar-group-item-beta')).filter(child => !isHidden(child));
100
+ const overflow = group.shadowRoot.querySelector('gux-avatar-overflow-beta');
101
+ if (overflow) {
102
+ slottedItems.push(overflow);
98
103
  }
99
- return siblings.filter(child => child !== element);
104
+ return slottedItems;
100
105
  }
101
106
  function setItemTabIndex(element, newIndex) {
102
107
  const button = getGroupItemButton(element);
@@ -104,8 +109,11 @@ function setItemTabIndex(element, newIndex) {
104
109
  button.tabIndex = newIndex;
105
110
  }
106
111
  else {
107
- console.log('No button found in the gux-avatar-group-item element');
112
+ logWarn(element, 'gux-avatar-group-beta: No button found in the element');
108
113
  }
109
114
  }
115
+ function isHidden(element) {
116
+ return element.hasAttribute('hidden');
117
+ }
110
118
 
111
119
  export { groupKeyboardNavigation as g, resetFocusableSibling as r, setFocusTarget as s };
@@ -0,0 +1,280 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-feb7be20.js';
2
+ import { a as autoUpdate, c as computePosition, o as offset } from './floating-ui.dom.esm-02309983.js';
3
+ import { O as OnClickOutside } from './on-click-outside-4688e1f9.js';
4
+ import { t as trackComponent } from './usage-0a3bab03.js';
5
+ import { a as logWarn } from './log-error-274efeb7.js';
6
+ import { g as groupKeyboardNavigation } from './gux-avatar-group.service-f9030472.js';
7
+ import { a as afterNextRenderTimeout } from './after-next-render-07a41f53.js';
8
+ import { a as getAvatarAccentClass, g as generateInitials } from './gux-avatar.service-43c1b4e1.js';
9
+ import './get-closest-element-728b9f18.js';
10
+
11
+ const guxAvatarOverflowCss = ":host{display:block;margin-inline-end:var(--gse-ui-avatar-groupSet-gap)}.gux-avatar-overflow{position:relative;box-sizing:border-box;inline-size:100%;padding:0;margin:0;line-height:0px;cursor:pointer;background:none;border:none;border-radius:50%}.gux-avatar-overflow:focus-visible{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-avatar-overflow:hover,.gux-avatar-overflow:focus{z-index:var(--gse-semantic-zIndex-showFocus)}.gux-avatar-overflow .gux-avatar-overflow-wrapper{position:relative;display:flex}.gux-avatar-overflow .gux-avatar-overflow-wrapper .gux-avatar-overflow-content{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-small-content-size);block-size:var(--gse-ui-avatar-small-content-size);overflow:hidden;font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-small-initials-fontSize);font-weight:var(--gse-ui-avatar-small-initials-fontWeight);line-height:var(--gse-core-lineHeight-matchFontSize);color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-overflowCount);border-radius:50%}.gux-menu-wrapper{position:fixed;inset-block-start:0;inset-inline-start:0;z-index:var(--gse-semantic-zIndex-popup);flex-direction:column;max-block-size:var(--gse-ui-menu-maxHeight);padding:var(--gse-ui-menu-padding);margin:0;overflow-y:auto;visibility:hidden;background-color:var(--gse-ui-menu-backgroundColor);border:none;border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-default);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow-offsetX) var(--gse-ui-menu-boxShadow-offsetY) var(--gse-ui-menu-boxShadow-blur) var(--gse-ui-menu-boxShadow-spread) var(--gse-ui-menu-boxShadow-color)}.gux-menu-wrapper.gux-shown{visibility:visible}";
12
+ const GuxAvatarOverflowBetaStyle0 = guxAvatarOverflowCss;
13
+
14
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
17
+ r = Reflect.decorate(decorators, target, key, desc);
18
+ else
19
+ for (var i = decorators.length - 1; i >= 0; i--)
20
+ if (d = decorators[i])
21
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
22
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
23
+ };
24
+ const GuxAvatarOverflow = class {
25
+ constructor(hostRef) {
26
+ registerInstance(this, hostRef);
27
+ this.delayTime = 250;
28
+ this.count = 0;
29
+ this.expanded = false;
30
+ }
31
+ async componentWillLoad() {
32
+ trackComponent(this.root);
33
+ }
34
+ componentDidLoad() {
35
+ if (this.expanded) {
36
+ this.runUpdatePosition();
37
+ }
38
+ }
39
+ componentDidUpdate() {
40
+ if (this.expanded) {
41
+ this.runUpdatePosition();
42
+ }
43
+ else if (this.cleanupUpdatePosition) {
44
+ this.cleanupUpdatePosition();
45
+ }
46
+ }
47
+ disconnectedCallback() {
48
+ clearTimeout(this.focusDelayTimeout);
49
+ clearTimeout(this.hideDelayTimeout);
50
+ if (this.cleanupUpdatePosition) {
51
+ this.cleanupUpdatePosition();
52
+ }
53
+ }
54
+ onClickOutside() {
55
+ this.expanded = false;
56
+ }
57
+ onKeydown(event) {
58
+ groupKeyboardNavigation(event, this.root);
59
+ switch (event.key) {
60
+ case 'Escape': {
61
+ this.hide();
62
+ const target = event.target;
63
+ if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
64
+ this.focusDelayTimeout = afterNextRenderTimeout(() => {
65
+ var _a;
66
+ (_a = this.overflowButtonElement) === null || _a === void 0 ? void 0 : _a.focus();
67
+ });
68
+ }
69
+ break;
70
+ }
71
+ case 'Tab':
72
+ this.hide();
73
+ break;
74
+ }
75
+ }
76
+ onClick(e) {
77
+ e.stopPropagation();
78
+ const target = e.target;
79
+ if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
80
+ // Reset scroll on menu when clicked to avoid scroll jump when reopened
81
+ this.menuElement.scrollTop = 0;
82
+ this.expanded = false;
83
+ }
84
+ }
85
+ // eslint-disable-next-line @typescript-eslint/require-await
86
+ async guxClose() {
87
+ this.hide();
88
+ }
89
+ runUpdatePosition() {
90
+ if (this.root.isConnected) {
91
+ this.cleanupUpdatePosition = autoUpdate(this.overflowButtonElement, this.menuElement, () => this.updatePosition(), {
92
+ ancestorScroll: true,
93
+ elementResize: true,
94
+ animationFrame: true,
95
+ ancestorResize: true
96
+ });
97
+ }
98
+ else {
99
+ this.disconnectedCallback();
100
+ }
101
+ }
102
+ updatePosition() {
103
+ if (this.root) {
104
+ void computePosition(this.overflowButtonElement, this.menuElement, {
105
+ placement: 'bottom-start',
106
+ strategy: 'fixed',
107
+ middleware: [
108
+ offset({
109
+ mainAxis: 4,
110
+ crossAxis: 4
111
+ })
112
+ ]
113
+ }).then(({ x, y }) => {
114
+ Object.assign(this.menuElement.style, {
115
+ left: `${x}px`,
116
+ top: `${y}px`
117
+ });
118
+ });
119
+ }
120
+ }
121
+ getCount() {
122
+ const menuItems = Array.from(this.root.children);
123
+ if (menuItems.some(item => item.tagName !== 'GUX-AVATAR-OVERFLOW-ITEM-BETA')) {
124
+ logWarn(this.root, 'Only gux-avatar-overflow-item-beta elements are allowed as children.');
125
+ }
126
+ if (menuItems) {
127
+ return menuItems.length;
128
+ }
129
+ }
130
+ toggleOverflowMenu() {
131
+ if (!this.expanded) {
132
+ this.show();
133
+ }
134
+ else {
135
+ this.hide();
136
+ }
137
+ }
138
+ show() {
139
+ clearTimeout(this.hideDelayTimeout);
140
+ this.expanded = true;
141
+ this.hideDelayTimeout = afterNextRenderTimeout(() => {
142
+ this.focusOnMenu();
143
+ });
144
+ }
145
+ hide() {
146
+ if (this.expanded) {
147
+ this.hideDelayTimeout = setTimeout(() => {
148
+ this.expanded = false;
149
+ }, this.delayTime);
150
+ }
151
+ }
152
+ focusOnMenu() {
153
+ const overflowItems = Array.from(this.root.children);
154
+ const nextFocusableElement = overflowItems[0];
155
+ void nextFocusableElement.focus();
156
+ }
157
+ render() {
158
+ return (h(Host, { key: '1eca1d8373f1f8bce38195b234b2aa6c85489d66', role: "menuitem" }, h("button", { key: '52681498cf89bd86b0d0e906009feccf49254424', class: "gux-avatar-overflow", ref: el => (this.overflowButtonElement = el), onClick: () => this.toggleOverflowMenu(), tabIndex: -1, "aria-haspopup": "true", "aria-expanded": this.expanded.toString() }, h("span", { key: 'e542e692be6b5e40794526311b35647dafa77a5a', class: "gux-avatar-overflow-wrapper" }, h("span", { key: 'fcf9797285a72682a4a676f980f9da0ebf98ff55', class: "gux-avatar-overflow-content" }, " +", this.getCount()))), h("div", { key: '390fe4b03689c2390022d871bcdf46cfeae773c3', class: {
159
+ 'gux-menu-wrapper': true,
160
+ 'gux-shown': this.expanded
161
+ }, ref: el => (this.menuElement = el) }, h("div", { key: 'e9775de055cf867360eb43ef87b56c1e4846d283', role: "menu", class: "gux-menu-content" }, h("slot", { key: 'f87d83d682723774826e175ddac0142daa5340f5' })))));
162
+ }
163
+ static get delegatesFocus() { return true; }
164
+ get root() { return getElement(this); }
165
+ };
166
+ __decorate([
167
+ OnClickOutside({ triggerEvents: 'mousedown' })
168
+ ], GuxAvatarOverflow.prototype, "onClickOutside", null);
169
+ GuxAvatarOverflow.style = GuxAvatarOverflowBetaStyle0;
170
+
171
+ function overflowNavigation(event, currentElement) {
172
+ switch (event.key) {
173
+ case 'ArrowUp':
174
+ case 'ArrowLeft':
175
+ event.stopPropagation();
176
+ event.preventDefault();
177
+ focusPreviousSiblingLoop(currentElement);
178
+ break;
179
+ case 'ArrowDown':
180
+ case 'ArrowRight':
181
+ event.stopPropagation();
182
+ event.preventDefault();
183
+ focusNextSiblingLoop(currentElement);
184
+ break;
185
+ case 'Home':
186
+ event.stopPropagation();
187
+ event.preventDefault();
188
+ focusFirstSibling(currentElement);
189
+ break;
190
+ case 'End':
191
+ event.stopPropagation();
192
+ event.preventDefault();
193
+ focusLastSibling(currentElement);
194
+ break;
195
+ }
196
+ }
197
+ function focusFirstSibling(currentElement) {
198
+ const firstFocusableElement = getFirstFocusableElement(currentElement);
199
+ if (firstFocusableElement) {
200
+ void firstFocusableElement.focus();
201
+ }
202
+ }
203
+ function focusLastSibling(currentElement) {
204
+ const lastFocusableElement = getLastFocusableElement(currentElement);
205
+ if (lastFocusableElement) {
206
+ void lastFocusableElement.focus();
207
+ }
208
+ }
209
+ function focusPreviousSiblingLoop(currentElement) {
210
+ const previousFocusableElement = currentElement.previousElementSibling;
211
+ if (previousFocusableElement) {
212
+ void previousFocusableElement.focus();
213
+ }
214
+ else {
215
+ focusLastSibling(currentElement);
216
+ }
217
+ }
218
+ function focusNextSiblingLoop(currentElement) {
219
+ const nextFocusableElement = currentElement.nextElementSibling;
220
+ if (nextFocusableElement) {
221
+ void nextFocusableElement.focus();
222
+ }
223
+ else {
224
+ focusFirstSibling(currentElement);
225
+ }
226
+ }
227
+ function getFirstFocusableElement(currentElement) {
228
+ let firstFocusableElement = currentElement;
229
+ while (firstFocusableElement.previousElementSibling !== null) {
230
+ firstFocusableElement = firstFocusableElement.previousElementSibling;
231
+ }
232
+ return firstFocusableElement;
233
+ }
234
+ function getLastFocusableElement(currentElement) {
235
+ let lastFocusableElement = currentElement;
236
+ while (lastFocusableElement.nextElementSibling !== null) {
237
+ lastFocusableElement = lastFocusableElement.nextElementSibling;
238
+ }
239
+ return lastFocusableElement;
240
+ }
241
+
242
+ const guxAvatarOverflowItemCss = "::slotted(img){inline-size:100%;block-size:100%;object-fit:cover}button{all:unset;box-sizing:border-box;display:flex;gap:var(--gse-ui-menu-option-gap);align-items:center;inline-size:100%;min-block-size:var(--gse-ui-menu-option-height);padding:var(--gse-ui-menu-option-padding);font-family:var(--gse-ui-menu-option-label-default-text-fontFamily);font-size:var(--gse-ui-menu-option-label-default-text-fontSize);font-weight:var(--gse-ui-menu-option-label-default-text-fontWeight);line-height:var(--gse-ui-menu-option-label-default-text-lineHeight);color:var(--gse-ui-menu-option-label-foregroundColor);word-wrap:break-word;cursor:pointer;background-color:var(--gse-ui-menu-option-default-backgroundColor);border:none;outline:none;outline-offset:calc(var(--gse-ui-menu-option-focus-border-width) * -1)}button:focus-visible{border-radius:var(--gse-semantic-focusOutline-sm-borderRadius);outline:var(--gse-ui-menu-option-focus-border-width) var(--gse-ui-menu-option-focus-border-style) var(--gse-ui-menu-option-focus-border-color)}button:hover{background:var(--gse-ui-menu-option-hover-backgroundColor)}button:active{font-family:var(--gse-ui-menu-option-label-active-text-fontFamily);font-size:var(--gse-ui-menu-option-label-active-text-fontSize);font-weight:var(--gse-ui-menu-option-label-active-text-fontWeight);line-height:var(--gse-ui-menu-option-label-active-text-lineHeight);background:var(--gse-ui-menu-option-selected-backgroundColor)}button .gux-avatar{box-sizing:border-box;display:flex;align-items:center;justify-content:center;inline-size:var(--gse-ui-avatar-xsmall-content-size);block-size:var(--gse-ui-avatar-xsmall-content-size);padding:0;margin:0;overflow:hidden;color:var(--gse-ui-avatar-media-initialsForeground-inverse);cursor:pointer;background:none;background-color:var(--gse-ui-avatar-media-initialsBackground-default);border:none;border-radius:50%}button .gux-avatar .gux-avatar-initials{font-family:var(--gse-ui-avatar-small-initials-fontFamily);font-size:var(--gse-ui-avatar-xsmall-initials-fontSize);font-weight:var(--gse-ui-avatar-xsmall-initials-fontWeight);line-height:var(--gse-ui-avatar-small-initials-lineHeight);text-transform:uppercase}button .gux-avatar.gux-accent-1{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent1)}button .gux-avatar.gux-accent-2{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent2)}button .gux-avatar.gux-accent-3{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent3)}button .gux-avatar.gux-accent-4{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent4)}button .gux-avatar.gux-accent-5{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent5)}button .gux-avatar.gux-accent-6{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent6)}button .gux-avatar.gux-accent-7{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent7)}button .gux-avatar.gux-accent-8{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent8)}button .gux-avatar.gux-accent-9{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent9)}button .gux-avatar.gux-accent-10{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent10)}button .gux-avatar.gux-accent-11{color:var(--gse-ui-avatar-media-initialsForeground-default);background-color:var(--gse-ui-avatar-media-initialsBackground-accent11)}button .gux-avatar.gux-accent-12{color:var(--gse-ui-avatar-media-initialsForeground-inverse);background-color:var(--gse-ui-avatar-media-initialsBackground-accent12)}button .gux-avatar.gux-accent-inherit{color:inherit;background-color:inherit}";
243
+ const GuxAvatarOverflowItemBetaStyle0 = guxAvatarOverflowItemCss;
244
+
245
+ const GuxAvatarOverflowItem = class {
246
+ constructor(hostRef) {
247
+ registerInstance(this, hostRef);
248
+ this.name = undefined;
249
+ this.accent = 'auto';
250
+ }
251
+ async componentWillLoad() {
252
+ trackComponent(this.root);
253
+ }
254
+ componentDidLoad() {
255
+ this.validatingInputs();
256
+ }
257
+ onKeydown(event) {
258
+ overflowNavigation(event, this.root);
259
+ }
260
+ validatingInputs() {
261
+ const avatarImage = this.root.querySelector('img');
262
+ if (!this.name) {
263
+ logWarn(this.root, 'Name prop is required');
264
+ }
265
+ if (avatarImage && !avatarImage.getAttribute('alt')) {
266
+ logWarn(this.root, 'Alt attribute is required for slotted image.');
267
+ }
268
+ }
269
+ render() {
270
+ return (h(Host, { key: '9a482a55db83dd77b4275313b5e91e6e35abbf67', role: "menuitem" }, h("button", { key: 'efb50ab018339921fff8605f18e94e3e1bb6bd85', type: "button", "aria-label": this.name, tabIndex: -1 }, h("span", { key: 'a9c32970cd2550b834c176f8552fe50d3c8db595', class: {
271
+ 'gux-avatar': true,
272
+ [getAvatarAccentClass(this.accent, this.name)]: true
273
+ } }, h("slot", { key: 'c8268952f6531f9b3cdaf11b54bb5ca209c6df6b', name: "image" }, h("span", { key: '143d09b06886a32bae9343b5de8474ce4f036c85', class: "gux-avatar-initials", "aria-hidden": "true" }, generateInitials(this.name)))), h("span", { key: '530801a4712419301043e9303544266dc5f7b021' }, this.name))));
274
+ }
275
+ static get delegatesFocus() { return true; }
276
+ get root() { return getElement(this); }
277
+ };
278
+ GuxAvatarOverflowItem.style = GuxAvatarOverflowItemBetaStyle0;
279
+
280
+ export { GuxAvatarOverflow as gux_avatar_overflow_beta, GuxAvatarOverflowItem as gux_avatar_overflow_item_beta };