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.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +5 -5
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -14
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +66 -15
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +8 -23
- package/dist/cjs/{gux-avatar-group.service-c18a548f.js → gux-avatar-group.service-245cf1b7.js} +38 -30
- package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +285 -0
- package/dist/cjs/gux-avatar.service-b4dcfcab.js +25 -0
- package/dist/cjs/gux-badge.cjs.entry.js +2 -2
- package/dist/cjs/gux-blank-state.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
- package/dist/cjs/gux-button_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-calendar.cjs.entry.js +2 -2
- package/dist/cjs/gux-card.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +3 -3
- package/dist/cjs/gux-column-manager.cjs.entry.js +2 -2
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-context-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +2 -2
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-list_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
- package/dist/cjs/gux-submenu.cjs.entry.js +3 -3
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +4 -4
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/gux-truncate.cjs.entry.js +3 -3
- package/dist/cjs/index-2dd05ef3.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-8b693ae3.js → usage-3dcfa17c.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/beta/gux-avatar/gux-avatar.js +4 -12
- package/dist/collection/components/beta/gux-avatar/gux-avatar.service.js +11 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +8 -40
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.css +4 -2
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +86 -12
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.service.js +37 -30
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.css +117 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +107 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.css +65 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +218 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.service.js +70 -0
- package/dist/collection/components/beta/gux-calendar-beta/components/single/gux-calendar.js +1 -1
- package/dist/collection/components/beta/gux-cta-group/gux-cta-group.js +1 -1
- package/dist/collection/components/beta/gux-date/gux-date.js +1 -1
- package/dist/collection/components/beta/gux-date-time/gux-date-time.js +1 -1
- package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-fieldset-heading/gux-form-fieldset-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form-footer/gux-form-footer.js +2 -2
- package/dist/collection/components/beta/gux-form/gux-form-heading/gux-form-heading.js +1 -1
- package/dist/collection/components/beta/gux-form/gux-form.js +1 -1
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
- package/dist/collection/components/beta/gux-label-info/gux-label-info.js +1 -1
- package/dist/collection/components/beta/gux-link/gux-link.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +1 -1
- package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +1 -1
- package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +1 -1
- package/dist/collection/components/beta/gux-popover-beta/gux-popover.js +2 -2
- package/dist/collection/components/beta/gux-popover-list-beta/gux-popover-list.js +2 -2
- 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
- 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
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.js +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +2 -2
- 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
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +1 -1
- package/dist/collection/components/beta/gux-screen-reader/gux-screen-reader.js +1 -1
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control-item/gux-segmented-control-item.js +4 -4
- package/dist/collection/components/beta/gux-segmented-control/gux-segmented-control.js +1 -1
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-card/gux-selector-card.js +2 -2
- package/dist/collection/components/beta/gux-selector-cards/gux-selector-cards.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-modal-side-panel/gux-modal-side-panel.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/components/gux-side-panel-heading/gux-side-panel-heading.js +1 -1
- package/dist/collection/components/beta/gux-side-panel/gux-side-panel.js +2 -2
- package/dist/collection/components/beta/gux-time/gux-time.js +1 -1
- package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +1 -1
- package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-base/gux-tooltip-base.js +2 -2
- package/dist/collection/components/beta/gux-tooltip-beta/gux-tooltip.js +1 -1
- package/dist/collection/components/legacy/gux-action-toast-legacy/gux-action-toast.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/dropdown-option/gux-dropdown-option.js +1 -1
- package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +2 -2
- package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +2 -2
- package/dist/collection/components/legacy/gux-modal-legacy/gux-modal-legacy.js +2 -2
- package/dist/collection/components/legacy/gux-notification-toast-legacy/gux-notification-toast.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination.js +1 -1
- package/dist/collection/components/legacy/gux-simple-toast-legacy/gux-simple-toast.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch-item/gux-switch-item.js +1 -1
- package/dist/collection/components/legacy/gux-switch-legacy/gux-switch.js +1 -1
- package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +5 -5
- package/dist/collection/components/stable/gux-accordion/gux-accordion.js +1 -1
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +1 -1
- package/dist/collection/components/stable/gux-badge/gux-badge.js +1 -1
- package/dist/collection/components/stable/gux-blank-state/gux-blank-state.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +1 -1
- package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +1 -1
- package/dist/collection/components/stable/gux-button/gux-button.js +2 -2
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +1 -1
- package/dist/collection/components/stable/gux-button-slot/gux-button-slot.js +1 -1
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +1 -1
- package/dist/collection/components/stable/gux-card/gux-card.js +2 -2
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +3 -3
- package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +1 -1
- package/dist/collection/components/stable/gux-content-search/gux-content-search.js +2 -2
- package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +2 -2
- package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +1 -1
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +1 -1
- package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +2 -2
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +1 -1
- package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +2 -2
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-menu.js +1 -1
- package/dist/collection/components/stable/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +1 -1
- package/dist/collection/components/stable/gux-list/gux-list.js +1 -1
- package/dist/collection/components/stable/gux-listbox/option-group/gux-option-group.js +1 -1
- package/dist/collection/components/stable/gux-listbox/options/gux-option/gux-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox/options/gux-option-icon/gux-option-icon.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +2 -2
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-section.entry.js +5 -5
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button.entry.js +2 -2
- package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +3 -3
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +5 -14
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +66 -15
- package/dist/esm/gux-avatar-group-item-beta.entry.js +9 -24
- package/dist/esm/{gux-avatar-group.service-23d9c11d.js → gux-avatar-group.service-f9030472.js} +38 -30
- package/dist/esm/gux-avatar-overflow-beta_2.entry.js +280 -0
- package/dist/esm/gux-avatar.service-43c1b4e1.js +22 -0
- package/dist/esm/gux-badge.entry.js +2 -2
- package/dist/esm/gux-blank-state.entry.js +2 -2
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +2 -2
- package/dist/esm/gux-button-multi.entry.js +2 -2
- package/dist/esm/gux-button-slot.entry.js +2 -2
- package/dist/esm/gux-button_2.entry.js +5 -5
- package/dist/esm/gux-calendar-beta.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +2 -2
- package/dist/esm/gux-card.entry.js +3 -3
- package/dist/esm/gux-column-manager-item.entry.js +3 -3
- package/dist/esm/gux-column-manager.entry.js +2 -2
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-context-menu.entry.js +3 -3
- package/dist/esm/gux-copy-to-clipboard.entry.js +2 -2
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-cta-group.entry.js +1 -1
- package/dist/esm/gux-date-beta.entry.js +2 -2
- package/dist/esm/gux-date-time-beta.entry.js +2 -2
- package/dist/esm/gux-datepicker.entry.js +2 -2
- package/dist/esm/gux-disclosure-button-legacy.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi-tag.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +2 -2
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +4 -4
- package/dist/esm/gux-flag-icon-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +3 -3
- package/dist/esm/gux-form-beta.entry.js +1 -1
- package/dist/esm/gux-form-description.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-checkbox.entry.js +3 -3
- package/dist/esm/gux-form-field-color.entry.js +4 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +4 -4
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +8 -8
- package/dist/esm/gux-form-field-phone.entry.js +5 -5
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +3 -3
- package/dist/esm/gux-form-field-search.entry.js +4 -4
- package/dist/esm/gux-form-field-select.entry.js +4 -4
- package/dist/esm/gux-form-field-text-like.entry.js +4 -4
- package/dist/esm/gux-form-field-textarea.entry.js +3 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +4 -4
- package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
- package/dist/esm/gux-form-footer.entry.js +3 -3
- package/dist/esm/gux-form-heading.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-label-info-beta.entry.js +2 -2
- package/dist/esm/gux-link-beta.entry.js +2 -2
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-menu-option.entry.js +1 -1
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +3 -3
- package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +1 -1
- package/dist/esm/gux-month-list_2.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +2 -2
- package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-option-group-beta.entry.js +1 -1
- package/dist/esm/gux-option-icon.entry.js +2 -2
- package/dist/esm/gux-option-multi.entry.js +2 -2
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +4 -4
- package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +2 -2
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +2 -2
- package/dist/esm/gux-popover-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list-beta.entry.js +3 -3
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-rich-style-list-item.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
- package/dist/esm/gux-segmented-control-item.entry.js +4 -4
- package/dist/esm/gux-selector-card-beta.entry.js +3 -3
- package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-heading.entry.js +2 -2
- package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +4 -4
- package/dist/esm/gux-submenu.entry.js +3 -3
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +2 -2
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +2 -2
- package/dist/esm/gux-time-picker.entry.js +2 -2
- package/dist/esm/gux-time-zone-beta.entry.js +2 -2
- package/dist/esm/gux-time-zone-picker-beta.entry.js +3 -3
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +4 -4
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip.entry.js +3 -3
- package/dist/esm/gux-truncate.entry.js +3 -3
- package/dist/esm/index-feb7be20.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-d75e6b4b.js → usage-0a3bab03.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/p-00fb848e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5d11c352.entry.js → p-010fa8e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86b6c11e.entry.js → p-02689daa.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-b25f6da3.entry.js → p-02ed9f39.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0963c315.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c194b852.entry.js → p-0a37a23a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf6c8520.entry.js → p-0a70dd71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acf346ff.entry.js → p-0b0f5532.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e5b2c8e7.entry.js → p-0beb459e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8522551e.entry.js → p-0daf3b8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c256398b.entry.js → p-0e1eec70.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e651863.entry.js → p-0e84a288.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-10cf94d1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-808fdd82.entry.js → p-119ea418.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7e5a07c.entry.js → p-11d24534.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71377466.entry.js → p-130a92ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1977e42c.entry.js → p-173edf48.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afb890c4.entry.js → p-18a79629.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-18f66ec5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7f519474.entry.js → p-1c31f1f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f7eb8c9.entry.js → p-1c322a7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1d7d94a4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-60cc8791.entry.js → p-1db2525e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-841549a4.entry.js → p-1e4a36bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d942c4d8.entry.js → p-1fa7e37f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81e2f259.entry.js → p-1ff408b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a1415f15.entry.js → p-20d01fb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83e784ea.entry.js → p-26fecfaa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2dceea3.entry.js → p-27a81cd0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2a99f284.js +1 -0
- package/dist/genesys-webcomponents/{p-ddd74531.entry.js → p-2e9f4d5b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd1f2fd6.entry.js → p-2ec8b57c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afb31448.entry.js → p-304a008c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e74ee391.entry.js → p-319decc1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22eea545.entry.js → p-32363959.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fd7b524.entry.js → p-3583d635.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70cd7043.entry.js → p-35cee3dd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cdb52c1b.entry.js → p-35f46b0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0694db00.entry.js → p-362946a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3ae588a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f30206b9.entry.js → p-3c55b003.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6e90d1bf.entry.js → p-3d9b1598.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3db21bf3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3cdd53db.entry.js → p-40c97ddd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73ce0484.entry.js → p-42f17d2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38bb7b24.entry.js → p-444dde71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac37df82.entry.js → p-44795b31.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4695ff19.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-05087794.entry.js → p-47942c1a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4afd2679.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a15fbb83.entry.js → p-4b49d536.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-519d47e3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b2bd7613.entry.js → p-527736e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16b3f7e0.entry.js → p-53b58e0d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a581e8e.entry.js → p-5678912a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3627a308.entry.js → p-57a8f97d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc2dab1c.entry.js → p-588f041b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7adc186b.entry.js → p-5d72d830.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-94a3bbe3.entry.js → p-5f9d482c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5fcdcbfd.js +1 -0
- package/dist/genesys-webcomponents/{p-6765d8c0.entry.js → p-619dcdad.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7017fc04.entry.js → p-635f1178.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e333e04.entry.js → p-64133881.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-396ed274.entry.js → p-64623fe4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffe8ef08.entry.js → p-651e34f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-892ebdad.entry.js → p-67080341.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45e535b7.entry.js → p-683f176e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-69725af7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-404da695.entry.js → p-6c03152e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1708dff4.entry.js → p-7080aa78.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-71a438b7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8d75bc67.entry.js → p-78f29790.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e250948b.entry.js → p-79d8becc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd0df2ac.entry.js → p-79e2cb48.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ea6bb1f.entry.js → p-7a6c7985.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32d54bfb.entry.js → p-7a8b8425.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb3f4e73.entry.js → p-7f5b37cb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-80328392.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ac0ba0c9.entry.js → p-8122e80b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-163e4020.entry.js → p-8205b911.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f46a185.entry.js → p-83bbcb4d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-85022060.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-940d5d52.entry.js → p-8632cd2c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ce48b08d.entry.js → p-86a2dde7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-892f9fc8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8703340f.entry.js → p-8ea59f56.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8ea8315d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-56612c4c.entry.js → p-906b93e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-92a204bf.entry.js +1 -0
- package/dist/genesys-webcomponents/p-952896a6.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b8a11d4a.entry.js → p-956a582d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc04dc32.entry.js → p-964472aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9117b4e8.entry.js → p-9ca9e8f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3f5acd3.entry.js → p-9d897ce2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49b489b3.entry.js → p-a1c64b8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24ec16ed.entry.js → p-a355737d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14f11a8a.entry.js → p-a5b3341b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bdbea86.entry.js → p-a77c5458.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ba586b37.entry.js → p-a836921c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-032412e3.entry.js → p-a8d68e4b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c17d7261.entry.js → p-a9e60211.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8e66bfa.entry.js → p-aa1785d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0100a57e.entry.js → p-ac8bf5d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2b0407a9.entry.js → p-ace854c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a8f22c3.entry.js → p-aeb94c80.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-afe5c214.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e62c052c.entry.js → p-b08c574e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e4699bc.js → p-b173ec5d.js} +1 -1
- package/dist/genesys-webcomponents/{p-fa0d8f65.entry.js → p-b2d9911a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b3ddb6ac.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d0bd5610.entry.js → p-b4c84037.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f49946c3.entry.js → p-b4e4ba65.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b8f53b13.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d4c133b8.entry.js → p-ba4ec06d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bb7e7eb4.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bc8a9aec.entry.js +1 -0
- package/dist/genesys-webcomponents/p-bc94702e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-be7854fd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b16be0d7.entry.js → p-c9234d25.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f11c894c.entry.js → p-c942a09b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f5c4dfc.entry.js → p-c9ff7b8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9e6f612.entry.js → p-cbfb5e61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ef14f06.entry.js → p-cdeb4933.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c1b8e8a.entry.js → p-ce771f18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e438720d.entry.js → p-ceca55aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42789b02.entry.js → p-cef83da4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1d65cc6.entry.js → p-cfe212a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08b462de.entry.js → p-d2a37f33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6704504.entry.js → p-d3097924.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d4f09656.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ae96285a.entry.js → p-d5cbda98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9621a33.entry.js → p-dcd16f28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ebb4398a.entry.js → p-de201038.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dcc005d5.entry.js → p-e3c22891.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b55c1468.entry.js → p-e6ae18d2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fa0e350.entry.js → p-e6f33f04.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1473824.entry.js → p-e9a840b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d674ef3.entry.js → p-e9c4e3df.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8add1dd.entry.js → p-eb7cdf7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf5da84d.entry.js → p-edea0e29.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70b1506a.entry.js → p-ee35a1b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60bf2952.entry.js → p-eec256c9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f210328a.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-57418df7.entry.js → p-f38a8a65.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-468b7a98.entry.js → p-f5d6898d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f6236a37.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8c51aab2.entry.js → p-f93118f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a2c58fc.entry.js → p-fc2f6581.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fc9b86d4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ea01f71b.entry.js → p-fce1afdd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f99e441.entry.js → p-fdb1a11a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-964fa8e3.entry.js → p-fea6b403.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-avatar/gux-avatar.d.ts +0 -1
- package/dist/types/components/beta/gux-avatar/gux-avatar.service.d.ts +3 -0
- package/dist/types/components/beta/gux-avatar/gux-avatar.types.d.ts +4 -1
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.d.ts +1 -4
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.d.ts +9 -1
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.types.d.ts +1 -0
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.d.ts +18 -0
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.d.ts +31 -0
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.service.d.ts +1 -0
- package/dist/types/components.d.ts +43 -5
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/generate-initials-5571e9d5.js +0 -12
- package/dist/esm/generate-initials-4f347529.js +0 -10
- package/dist/genesys-webcomponents/p-0bdadcfe.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0e49b338.js +0 -1
- package/dist/genesys-webcomponents/p-0fdd48ea.entry.js +0 -1
- package/dist/genesys-webcomponents/p-11213130.entry.js +0 -1
- package/dist/genesys-webcomponents/p-21661251.entry.js +0 -1
- package/dist/genesys-webcomponents/p-22a7bfd0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2e4a4c4f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ee28457.entry.js +0 -1
- package/dist/genesys-webcomponents/p-50a2c515.entry.js +0 -1
- package/dist/genesys-webcomponents/p-56d20532.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5de1d595.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5fe69f2d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6396ae47.entry.js +0 -1
- package/dist/genesys-webcomponents/p-65b8e6ee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-67033c02.entry.js +0 -1
- package/dist/genesys-webcomponents/p-834236e0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95a4b25b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9d0ee05d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-aad09b1c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-abade39b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-afd391e0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bd630b9b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bde9bc48.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cc8ac923.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d1ed65c9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e7c8c8af.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ee3e3217.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ef8f3eed.js +0 -1
- package/dist/genesys-webcomponents/p-f5b5e197.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ff88702b.entry.js +0 -1
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.types.d.ts +0 -1
- /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-
|
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 './
|
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: '
|
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
|
-
[
|
206
|
-
} }, h("div", { key: '
|
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-
|
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-
|
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-
|
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:
|
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 =
|
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
|
-
|
30
|
-
this.
|
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 =
|
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
|
-
|
43
|
-
|
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: '
|
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-
|
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-
|
5
|
-
import { g as generateInitials } from './
|
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(
|
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.
|
50
|
+
[getAvatarAccentClass(this.accent, this.name)]: true,
|
67
51
|
'gux-last-item': this.isLastItemInGroup()
|
68
|
-
} }, h("slot", { key: '
|
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;
|
package/dist/esm/{gux-avatar-group.service-23d9c11d.js → gux-avatar-group.service-f9030472.js}
RENAMED
@@ -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 =
|
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.
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
-
|
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
|
-
|
84
|
-
|
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
|
94
|
-
const
|
95
|
-
|
96
|
-
|
97
|
-
|
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
|
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
|
-
|
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 };
|