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
@@ -3,10 +3,11 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-2dd05ef3.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-3dcfa17c.js');
|
7
7
|
const logError = require('./log-error-7b9d4b57.js');
|
8
|
-
const guxAvatarGroup_service = require('./gux-avatar-group.service-
|
9
|
-
const
|
8
|
+
const guxAvatarGroup_service = require('./gux-avatar-group.service-245cf1b7.js');
|
9
|
+
const guxAvatar_service = require('./gux-avatar.service-b4dcfcab.js');
|
10
|
+
require('./get-closest-element-9e41d6b9.js');
|
10
11
|
|
11
12
|
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}";
|
12
13
|
const GuxAvatarGroupItemBetaStyle0 = guxAvatarGroupItemCss;
|
@@ -23,13 +24,6 @@ const GuxAvatarGroupItem = class {
|
|
23
24
|
componentDidLoad() {
|
24
25
|
this.validatingInputs();
|
25
26
|
}
|
26
|
-
/*
|
27
|
-
* Focus button element
|
28
|
-
*/
|
29
|
-
// eslint-disable-next-line @typescript-eslint/require-await
|
30
|
-
async guxFocus() {
|
31
|
-
this.buttonElement.focus();
|
32
|
-
}
|
33
27
|
/*
|
34
28
|
* Hide tooltip
|
35
29
|
*/
|
@@ -45,16 +39,6 @@ const GuxAvatarGroupItem = class {
|
|
45
39
|
const index = children.findIndex(i => i === this.root);
|
46
40
|
return index === children.length - 1;
|
47
41
|
}
|
48
|
-
getAccent() {
|
49
|
-
if (this.accent !== 'auto') {
|
50
|
-
return `gux-accent-${this.accent}`;
|
51
|
-
}
|
52
|
-
const hashedName = this.name
|
53
|
-
.split('')
|
54
|
-
.reduce((acc, char) => acc + char.charCodeAt(0), 0);
|
55
|
-
const hashedNameAccent = (hashedName % 12).toString();
|
56
|
-
return `gux-accent-${hashedNameAccent}`;
|
57
|
-
}
|
58
42
|
validatingInputs() {
|
59
43
|
const avatarImage = this.root.querySelector('img');
|
60
44
|
if (!this.name) {
|
@@ -65,12 +49,13 @@ const GuxAvatarGroupItem = class {
|
|
65
49
|
}
|
66
50
|
}
|
67
51
|
render() {
|
68
|
-
return (index.h(
|
52
|
+
return (index.h(index.Host, { key: '2ecedaa5f3705fcece1c0bba087e960d3c0e8393', role: "menuitem" }, index.h("button", { key: '0e2f5760551f46ca5ec394a87c85c5bb962f664e', type: "button", "aria-label": this.name, tabIndex: -1, class: {
|
69
53
|
'gux-avatar': true,
|
70
|
-
[this.
|
54
|
+
[guxAvatar_service.getAvatarAccentClass(this.accent, this.name)]: true,
|
71
55
|
'gux-last-item': this.isLastItemInGroup()
|
72
|
-
} }, index.h("slot", { key: '
|
56
|
+
} }, index.h("slot", { key: 'c1542da304401940307eb9fced69479bce16a966', name: "image" }, index.h("span", { key: '4d951124cb550e7c0fad0764779720a87072f0a7', class: "gux-avatar-initials", "aria-hidden": "true" }, guxAvatar_service.generateInitials(this.name))), index.h("gux-tooltip-beta", { key: '4c575880347af40da4f888cbe16557eda28a349f', "aria-hidden": "true", "visual-only": true, placement: "top", ref: el => (this.tooltip = el) }, index.h("div", { key: '486bea5b6ff4cc0a260a49fe0b5488619090414f', slot: "content" }, this.name)))));
|
73
57
|
}
|
58
|
+
static get delegatesFocus() { return true; }
|
74
59
|
get root() { return index.getElement(this); }
|
75
60
|
};
|
76
61
|
GuxAvatarGroupItem.style = GuxAvatarGroupItemBetaStyle0;
|
package/dist/cjs/{gux-avatar-group.service-c18a548f.js → gux-avatar-group.service-245cf1b7.js}
RENAMED
@@ -1,13 +1,18 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
+
const getClosestElement = require('./get-closest-element-9e41d6b9.js');
|
4
|
+
const logError = require('./log-error-7b9d4b57.js');
|
5
|
+
|
3
6
|
function groupKeyboardNavigation(event, currentElement) {
|
4
7
|
switch (event.key) {
|
5
8
|
case 'ArrowLeft':
|
9
|
+
case 'ArrowUp':
|
6
10
|
event.stopPropagation();
|
7
11
|
event.preventDefault();
|
8
12
|
focusPreviousSiblingLoop(currentElement);
|
9
13
|
break;
|
10
14
|
case 'ArrowRight':
|
15
|
+
case 'ArrowDown':
|
11
16
|
event.stopPropagation();
|
12
17
|
event.preventDefault();
|
13
18
|
focusNextSiblingLoop(currentElement);
|
@@ -25,7 +30,7 @@ function groupKeyboardNavigation(event, currentElement) {
|
|
25
30
|
}
|
26
31
|
}
|
27
32
|
function resetFocusableSibling(element) {
|
28
|
-
const focusableSibling =
|
33
|
+
const focusableSibling = getGroupItems(element).find((sibling) => {
|
29
34
|
const button = getGroupItemButton(sibling);
|
30
35
|
return button && button.tabIndex !== -1;
|
31
36
|
});
|
@@ -39,24 +44,27 @@ function setFocusTarget(element) {
|
|
39
44
|
function focusFirstSibling(currentElement) {
|
40
45
|
const firstFocusableElement = getFirstFocusableElement(currentElement);
|
41
46
|
if (firstFocusableElement) {
|
42
|
-
void firstFocusableElement.
|
43
|
-
void setItemTabIndex(firstFocusableElement, 0);
|
47
|
+
void firstFocusableElement.focus();
|
44
48
|
void resetFocusableSibling(firstFocusableElement);
|
49
|
+
void setItemTabIndex(firstFocusableElement, 0);
|
45
50
|
}
|
46
51
|
}
|
47
52
|
function focusLastSibling(currentElement) {
|
48
53
|
const lastFocusableElement = getLastFocusableElement(currentElement);
|
49
54
|
if (lastFocusableElement) {
|
50
|
-
void lastFocusableElement.
|
51
|
-
void setItemTabIndex(lastFocusableElement, 0);
|
55
|
+
void lastFocusableElement.focus();
|
52
56
|
void resetFocusableSibling(lastFocusableElement);
|
57
|
+
void setItemTabIndex(lastFocusableElement, 0);
|
53
58
|
}
|
54
59
|
}
|
55
60
|
function focusPreviousSiblingLoop(currentElement) {
|
56
|
-
const
|
61
|
+
const groupItems = getGroupItems(currentElement);
|
62
|
+
const currentElementIndex = groupItems.findIndex((item) => item === currentElement);
|
63
|
+
const previousIndex = (currentElementIndex - 1) % groupItems.length;
|
64
|
+
const previousFocusableElement = groupItems[previousIndex];
|
57
65
|
setItemTabIndex(currentElement, -1);
|
58
66
|
if (previousFocusableElement) {
|
59
|
-
void previousFocusableElement.
|
67
|
+
void previousFocusableElement.focus();
|
60
68
|
void setItemTabIndex(previousFocusableElement, 0);
|
61
69
|
}
|
62
70
|
else {
|
@@ -64,41 +72,38 @@ function focusPreviousSiblingLoop(currentElement) {
|
|
64
72
|
}
|
65
73
|
}
|
66
74
|
function focusNextSiblingLoop(currentElement) {
|
67
|
-
const
|
75
|
+
const groupItems = getGroupItems(currentElement);
|
76
|
+
const currentElementIndex = groupItems.findIndex((item) => item === currentElement);
|
77
|
+
const nextIndex = (currentElementIndex + 1) % groupItems.length;
|
78
|
+
if (nextIndex === 0) {
|
79
|
+
focusFirstSibling(currentElement);
|
80
|
+
}
|
81
|
+
const nextFocusableElement = groupItems[nextIndex];
|
68
82
|
setItemTabIndex(currentElement, -1);
|
69
|
-
if (nextFocusableElement) {
|
70
|
-
void nextFocusableElement.
|
83
|
+
if (nextFocusableElement !== null) {
|
84
|
+
void nextFocusableElement.focus();
|
71
85
|
void setItemTabIndex(nextFocusableElement, 0);
|
72
86
|
}
|
73
|
-
else {
|
74
|
-
focusFirstSibling(currentElement);
|
75
|
-
}
|
76
87
|
}
|
77
88
|
function getFirstFocusableElement(currentElement) {
|
78
|
-
|
79
|
-
while (firstFocusableElement.previousElementSibling !== null) {
|
80
|
-
firstFocusableElement = firstFocusableElement.previousElementSibling;
|
81
|
-
}
|
82
|
-
return firstFocusableElement;
|
89
|
+
return getGroupItems(currentElement)[0];
|
83
90
|
}
|
84
91
|
function getLastFocusableElement(currentElement) {
|
85
|
-
|
86
|
-
|
87
|
-
lastFocusableElement = lastFocusableElement.nextElementSibling;
|
88
|
-
}
|
89
|
-
return lastFocusableElement;
|
92
|
+
const groupItems = getGroupItems(currentElement);
|
93
|
+
return groupItems[groupItems.length - 1];
|
90
94
|
}
|
91
95
|
function getGroupItemButton(element) {
|
92
96
|
var _a;
|
93
97
|
return (_a = element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button');
|
94
98
|
}
|
95
|
-
function
|
96
|
-
const
|
97
|
-
|
98
|
-
|
99
|
-
|
99
|
+
function getGroupItems(element) {
|
100
|
+
const group = getClosestElement.getClosestElement('gux-avatar-group-beta', element);
|
101
|
+
const slottedItems = Array.from(group.querySelectorAll('gux-avatar-group-item-beta')).filter(child => !isHidden(child));
|
102
|
+
const overflow = group.shadowRoot.querySelector('gux-avatar-overflow-beta');
|
103
|
+
if (overflow) {
|
104
|
+
slottedItems.push(overflow);
|
100
105
|
}
|
101
|
-
return
|
106
|
+
return slottedItems;
|
102
107
|
}
|
103
108
|
function setItemTabIndex(element, newIndex) {
|
104
109
|
const button = getGroupItemButton(element);
|
@@ -106,9 +111,12 @@ function setItemTabIndex(element, newIndex) {
|
|
106
111
|
button.tabIndex = newIndex;
|
107
112
|
}
|
108
113
|
else {
|
109
|
-
|
114
|
+
logError.logWarn(element, 'gux-avatar-group-beta: No button found in the element');
|
110
115
|
}
|
111
116
|
}
|
117
|
+
function isHidden(element) {
|
118
|
+
return element.hasAttribute('hidden');
|
119
|
+
}
|
112
120
|
|
113
121
|
exports.groupKeyboardNavigation = groupKeyboardNavigation;
|
114
122
|
exports.resetFocusableSibling = resetFocusableSibling;
|
@@ -0,0 +1,285 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-2dd05ef3.js');
|
6
|
+
const floatingUi_dom_esm = require('./floating-ui.dom.esm-471324c9.js');
|
7
|
+
const onClickOutside = require('./on-click-outside-bb55ad5e.js');
|
8
|
+
const usage = require('./usage-3dcfa17c.js');
|
9
|
+
const logError = require('./log-error-7b9d4b57.js');
|
10
|
+
const guxAvatarGroup_service = require('./gux-avatar-group.service-245cf1b7.js');
|
11
|
+
const afterNextRender = require('./after-next-render-162425fe.js');
|
12
|
+
const guxAvatar_service = require('./gux-avatar.service-b4dcfcab.js');
|
13
|
+
require('./get-closest-element-9e41d6b9.js');
|
14
|
+
|
15
|
+
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}";
|
16
|
+
const GuxAvatarOverflowBetaStyle0 = guxAvatarOverflowCss;
|
17
|
+
|
18
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
21
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
22
|
+
else
|
23
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
24
|
+
if (d = decorators[i])
|
25
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
26
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
27
|
+
};
|
28
|
+
const GuxAvatarOverflow = class {
|
29
|
+
constructor(hostRef) {
|
30
|
+
index.registerInstance(this, hostRef);
|
31
|
+
this.delayTime = 250;
|
32
|
+
this.count = 0;
|
33
|
+
this.expanded = false;
|
34
|
+
}
|
35
|
+
async componentWillLoad() {
|
36
|
+
usage.trackComponent(this.root);
|
37
|
+
}
|
38
|
+
componentDidLoad() {
|
39
|
+
if (this.expanded) {
|
40
|
+
this.runUpdatePosition();
|
41
|
+
}
|
42
|
+
}
|
43
|
+
componentDidUpdate() {
|
44
|
+
if (this.expanded) {
|
45
|
+
this.runUpdatePosition();
|
46
|
+
}
|
47
|
+
else if (this.cleanupUpdatePosition) {
|
48
|
+
this.cleanupUpdatePosition();
|
49
|
+
}
|
50
|
+
}
|
51
|
+
disconnectedCallback() {
|
52
|
+
clearTimeout(this.focusDelayTimeout);
|
53
|
+
clearTimeout(this.hideDelayTimeout);
|
54
|
+
if (this.cleanupUpdatePosition) {
|
55
|
+
this.cleanupUpdatePosition();
|
56
|
+
}
|
57
|
+
}
|
58
|
+
onClickOutside() {
|
59
|
+
this.expanded = false;
|
60
|
+
}
|
61
|
+
onKeydown(event) {
|
62
|
+
guxAvatarGroup_service.groupKeyboardNavigation(event, this.root);
|
63
|
+
switch (event.key) {
|
64
|
+
case 'Escape': {
|
65
|
+
this.hide();
|
66
|
+
const target = event.target;
|
67
|
+
if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
|
68
|
+
this.focusDelayTimeout = afterNextRender.afterNextRenderTimeout(() => {
|
69
|
+
var _a;
|
70
|
+
(_a = this.overflowButtonElement) === null || _a === void 0 ? void 0 : _a.focus();
|
71
|
+
});
|
72
|
+
}
|
73
|
+
break;
|
74
|
+
}
|
75
|
+
case 'Tab':
|
76
|
+
this.hide();
|
77
|
+
break;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
onClick(e) {
|
81
|
+
e.stopPropagation();
|
82
|
+
const target = e.target;
|
83
|
+
if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
|
84
|
+
// Reset scroll on menu when clicked to avoid scroll jump when reopened
|
85
|
+
this.menuElement.scrollTop = 0;
|
86
|
+
this.expanded = false;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
// eslint-disable-next-line @typescript-eslint/require-await
|
90
|
+
async guxClose() {
|
91
|
+
this.hide();
|
92
|
+
}
|
93
|
+
runUpdatePosition() {
|
94
|
+
if (this.root.isConnected) {
|
95
|
+
this.cleanupUpdatePosition = floatingUi_dom_esm.autoUpdate(this.overflowButtonElement, this.menuElement, () => this.updatePosition(), {
|
96
|
+
ancestorScroll: true,
|
97
|
+
elementResize: true,
|
98
|
+
animationFrame: true,
|
99
|
+
ancestorResize: true
|
100
|
+
});
|
101
|
+
}
|
102
|
+
else {
|
103
|
+
this.disconnectedCallback();
|
104
|
+
}
|
105
|
+
}
|
106
|
+
updatePosition() {
|
107
|
+
if (this.root) {
|
108
|
+
void floatingUi_dom_esm.computePosition(this.overflowButtonElement, this.menuElement, {
|
109
|
+
placement: 'bottom-start',
|
110
|
+
strategy: 'fixed',
|
111
|
+
middleware: [
|
112
|
+
floatingUi_dom_esm.offset({
|
113
|
+
mainAxis: 4,
|
114
|
+
crossAxis: 4
|
115
|
+
})
|
116
|
+
]
|
117
|
+
}).then(({ x, y }) => {
|
118
|
+
Object.assign(this.menuElement.style, {
|
119
|
+
left: `${x}px`,
|
120
|
+
top: `${y}px`
|
121
|
+
});
|
122
|
+
});
|
123
|
+
}
|
124
|
+
}
|
125
|
+
getCount() {
|
126
|
+
const menuItems = Array.from(this.root.children);
|
127
|
+
if (menuItems.some(item => item.tagName !== 'GUX-AVATAR-OVERFLOW-ITEM-BETA')) {
|
128
|
+
logError.logWarn(this.root, 'Only gux-avatar-overflow-item-beta elements are allowed as children.');
|
129
|
+
}
|
130
|
+
if (menuItems) {
|
131
|
+
return menuItems.length;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
toggleOverflowMenu() {
|
135
|
+
if (!this.expanded) {
|
136
|
+
this.show();
|
137
|
+
}
|
138
|
+
else {
|
139
|
+
this.hide();
|
140
|
+
}
|
141
|
+
}
|
142
|
+
show() {
|
143
|
+
clearTimeout(this.hideDelayTimeout);
|
144
|
+
this.expanded = true;
|
145
|
+
this.hideDelayTimeout = afterNextRender.afterNextRenderTimeout(() => {
|
146
|
+
this.focusOnMenu();
|
147
|
+
});
|
148
|
+
}
|
149
|
+
hide() {
|
150
|
+
if (this.expanded) {
|
151
|
+
this.hideDelayTimeout = setTimeout(() => {
|
152
|
+
this.expanded = false;
|
153
|
+
}, this.delayTime);
|
154
|
+
}
|
155
|
+
}
|
156
|
+
focusOnMenu() {
|
157
|
+
const overflowItems = Array.from(this.root.children);
|
158
|
+
const nextFocusableElement = overflowItems[0];
|
159
|
+
void nextFocusableElement.focus();
|
160
|
+
}
|
161
|
+
render() {
|
162
|
+
return (index.h(index.Host, { key: '1eca1d8373f1f8bce38195b234b2aa6c85489d66', role: "menuitem" }, index.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() }, index.h("span", { key: 'e542e692be6b5e40794526311b35647dafa77a5a', class: "gux-avatar-overflow-wrapper" }, index.h("span", { key: 'fcf9797285a72682a4a676f980f9da0ebf98ff55', class: "gux-avatar-overflow-content" }, " +", this.getCount()))), index.h("div", { key: '390fe4b03689c2390022d871bcdf46cfeae773c3', class: {
|
163
|
+
'gux-menu-wrapper': true,
|
164
|
+
'gux-shown': this.expanded
|
165
|
+
}, ref: el => (this.menuElement = el) }, index.h("div", { key: 'e9775de055cf867360eb43ef87b56c1e4846d283', role: "menu", class: "gux-menu-content" }, index.h("slot", { key: 'f87d83d682723774826e175ddac0142daa5340f5' })))));
|
166
|
+
}
|
167
|
+
static get delegatesFocus() { return true; }
|
168
|
+
get root() { return index.getElement(this); }
|
169
|
+
};
|
170
|
+
__decorate([
|
171
|
+
onClickOutside.OnClickOutside({ triggerEvents: 'mousedown' })
|
172
|
+
], GuxAvatarOverflow.prototype, "onClickOutside", null);
|
173
|
+
GuxAvatarOverflow.style = GuxAvatarOverflowBetaStyle0;
|
174
|
+
|
175
|
+
function overflowNavigation(event, currentElement) {
|
176
|
+
switch (event.key) {
|
177
|
+
case 'ArrowUp':
|
178
|
+
case 'ArrowLeft':
|
179
|
+
event.stopPropagation();
|
180
|
+
event.preventDefault();
|
181
|
+
focusPreviousSiblingLoop(currentElement);
|
182
|
+
break;
|
183
|
+
case 'ArrowDown':
|
184
|
+
case 'ArrowRight':
|
185
|
+
event.stopPropagation();
|
186
|
+
event.preventDefault();
|
187
|
+
focusNextSiblingLoop(currentElement);
|
188
|
+
break;
|
189
|
+
case 'Home':
|
190
|
+
event.stopPropagation();
|
191
|
+
event.preventDefault();
|
192
|
+
focusFirstSibling(currentElement);
|
193
|
+
break;
|
194
|
+
case 'End':
|
195
|
+
event.stopPropagation();
|
196
|
+
event.preventDefault();
|
197
|
+
focusLastSibling(currentElement);
|
198
|
+
break;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
function focusFirstSibling(currentElement) {
|
202
|
+
const firstFocusableElement = getFirstFocusableElement(currentElement);
|
203
|
+
if (firstFocusableElement) {
|
204
|
+
void firstFocusableElement.focus();
|
205
|
+
}
|
206
|
+
}
|
207
|
+
function focusLastSibling(currentElement) {
|
208
|
+
const lastFocusableElement = getLastFocusableElement(currentElement);
|
209
|
+
if (lastFocusableElement) {
|
210
|
+
void lastFocusableElement.focus();
|
211
|
+
}
|
212
|
+
}
|
213
|
+
function focusPreviousSiblingLoop(currentElement) {
|
214
|
+
const previousFocusableElement = currentElement.previousElementSibling;
|
215
|
+
if (previousFocusableElement) {
|
216
|
+
void previousFocusableElement.focus();
|
217
|
+
}
|
218
|
+
else {
|
219
|
+
focusLastSibling(currentElement);
|
220
|
+
}
|
221
|
+
}
|
222
|
+
function focusNextSiblingLoop(currentElement) {
|
223
|
+
const nextFocusableElement = currentElement.nextElementSibling;
|
224
|
+
if (nextFocusableElement) {
|
225
|
+
void nextFocusableElement.focus();
|
226
|
+
}
|
227
|
+
else {
|
228
|
+
focusFirstSibling(currentElement);
|
229
|
+
}
|
230
|
+
}
|
231
|
+
function getFirstFocusableElement(currentElement) {
|
232
|
+
let firstFocusableElement = currentElement;
|
233
|
+
while (firstFocusableElement.previousElementSibling !== null) {
|
234
|
+
firstFocusableElement = firstFocusableElement.previousElementSibling;
|
235
|
+
}
|
236
|
+
return firstFocusableElement;
|
237
|
+
}
|
238
|
+
function getLastFocusableElement(currentElement) {
|
239
|
+
let lastFocusableElement = currentElement;
|
240
|
+
while (lastFocusableElement.nextElementSibling !== null) {
|
241
|
+
lastFocusableElement = lastFocusableElement.nextElementSibling;
|
242
|
+
}
|
243
|
+
return lastFocusableElement;
|
244
|
+
}
|
245
|
+
|
246
|
+
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}";
|
247
|
+
const GuxAvatarOverflowItemBetaStyle0 = guxAvatarOverflowItemCss;
|
248
|
+
|
249
|
+
const GuxAvatarOverflowItem = class {
|
250
|
+
constructor(hostRef) {
|
251
|
+
index.registerInstance(this, hostRef);
|
252
|
+
this.name = undefined;
|
253
|
+
this.accent = 'auto';
|
254
|
+
}
|
255
|
+
async componentWillLoad() {
|
256
|
+
usage.trackComponent(this.root);
|
257
|
+
}
|
258
|
+
componentDidLoad() {
|
259
|
+
this.validatingInputs();
|
260
|
+
}
|
261
|
+
onKeydown(event) {
|
262
|
+
overflowNavigation(event, this.root);
|
263
|
+
}
|
264
|
+
validatingInputs() {
|
265
|
+
const avatarImage = this.root.querySelector('img');
|
266
|
+
if (!this.name) {
|
267
|
+
logError.logWarn(this.root, 'Name prop is required');
|
268
|
+
}
|
269
|
+
if (avatarImage && !avatarImage.getAttribute('alt')) {
|
270
|
+
logError.logWarn(this.root, 'Alt attribute is required for slotted image.');
|
271
|
+
}
|
272
|
+
}
|
273
|
+
render() {
|
274
|
+
return (index.h(index.Host, { key: '9a482a55db83dd77b4275313b5e91e6e35abbf67', role: "menuitem" }, index.h("button", { key: 'efb50ab018339921fff8605f18e94e3e1bb6bd85', type: "button", "aria-label": this.name, tabIndex: -1 }, index.h("span", { key: 'a9c32970cd2550b834c176f8552fe50d3c8db595', class: {
|
275
|
+
'gux-avatar': true,
|
276
|
+
[guxAvatar_service.getAvatarAccentClass(this.accent, this.name)]: true
|
277
|
+
} }, index.h("slot", { key: 'c8268952f6531f9b3cdaf11b54bb5ca209c6df6b', name: "image" }, index.h("span", { key: '143d09b06886a32bae9343b5de8474ce4f036c85', class: "gux-avatar-initials", "aria-hidden": "true" }, guxAvatar_service.generateInitials(this.name)))), index.h("span", { key: '530801a4712419301043e9303544266dc5f7b021' }, this.name))));
|
278
|
+
}
|
279
|
+
static get delegatesFocus() { return true; }
|
280
|
+
get root() { return index.getElement(this); }
|
281
|
+
};
|
282
|
+
GuxAvatarOverflowItem.style = GuxAvatarOverflowItemBetaStyle0;
|
283
|
+
|
284
|
+
exports.gux_avatar_overflow_beta = GuxAvatarOverflow;
|
285
|
+
exports.gux_avatar_overflow_item_beta = GuxAvatarOverflowItem;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
function generateInitials(name) {
|
4
|
+
var _a, _b, _c;
|
5
|
+
const nameArray = (_a = name === null || name === void 0 ? void 0 : name.split(' ')) !== null && _a !== void 0 ? _a : [];
|
6
|
+
if (nameArray.length > 1) {
|
7
|
+
return nameArray[0].charAt(0) + nameArray[nameArray.length - 1].charAt(0);
|
8
|
+
}
|
9
|
+
return ((_b = nameArray[0]) === null || _b === void 0 ? void 0 : _b.charAt(0)) + ((_c = nameArray[0]) === null || _c === void 0 ? void 0 : _c.charAt(1));
|
10
|
+
}
|
11
|
+
|
12
|
+
const GUX_AVATAR_AUTO_ACCENT = [
|
13
|
+
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
|
14
|
+
];
|
15
|
+
function getAvatarAccentClass(accent, name) {
|
16
|
+
if (accent !== 'auto') {
|
17
|
+
return `gux-accent-${accent}`;
|
18
|
+
}
|
19
|
+
const hashedName = name === null || name === void 0 ? void 0 : name.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0);
|
20
|
+
const hashedNameAccent = (hashedName % Math.max(...GUX_AVATAR_AUTO_ACCENT)).toString();
|
21
|
+
return `gux-accent-${hashedNameAccent}`;
|
22
|
+
}
|
23
|
+
|
24
|
+
exports.generateInitials = generateInitials;
|
25
|
+
exports.getAvatarAccentClass = getAvatarAccentClass;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-2dd05ef3.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-3dcfa17c.js');
|
7
7
|
const index$1 = require('./index-d7208697.js');
|
8
8
|
require('./get-closest-element-9e41d6b9.js');
|
9
9
|
|
@@ -63,7 +63,7 @@ const GuxBadge = class {
|
|
63
63
|
this.i18n = await index$1.buildI18nForComponent(this.root, translationResources);
|
64
64
|
}
|
65
65
|
render() {
|
66
|
-
return (index.h("div", { key: '
|
66
|
+
return (index.h("div", { key: 'edf253557ca4599511a35bb4509e502001b661d4', class: {
|
67
67
|
'gux-badge': true,
|
68
68
|
[`gux-${this.accent}`]: true,
|
69
69
|
'gux-bold': this.bold
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-2dd05ef3.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-3dcfa17c.js');
|
7
7
|
const onMutation = require('./on-mutation-c0879d47.js');
|
8
8
|
const hasSlot = require('./has-slot-3edae188.js');
|
9
9
|
|
@@ -38,7 +38,7 @@ const GuxBlankState = class {
|
|
38
38
|
this.hasCallToAction = hasSlot.hasSlot(this.root, 'call-to-action');
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (index.h("div", { key: '
|
41
|
+
return (index.h("div", { key: 'a220741844984e366216f60674e938e0f4f3ffb8', class: "gux-container" }, index.h("div", { key: 'de8d1e5ec8016d4b2681e9378e53fcea0a0c24e6', class: "gux-image" }, index.h("slot", { key: '7e5780364ad8a7705c56c72fcb577ef3e6da8cf9', name: "image" })), index.h("div", { key: '7973a888728d065ac4d3ff83390bd4a4bb297359', class: "gux-message" }, index.h("slot", { key: '54a663cb1a3c8fd656764eb03dfcd3d20a92a122', name: "primary-message" })), index.h("div", { key: '42da9b7d883f41e8f62beeafeb44b45133856390', class: "gux-guidance" }, index.h("slot", { key: '9d2a4c5af66dc7ca84600d093f26150bdfbc9b71', name: "additional-guidance" })), this.renderCallToActionSlot()));
|
42
42
|
}
|
43
43
|
get root() { return index.getElement(this); }
|
44
44
|
};
|
@@ -44,7 +44,7 @@ const GuxBreadcrumbItem = class {
|
|
44
44
|
}
|
45
45
|
render() {
|
46
46
|
const accent = this.getAccent();
|
47
|
-
return (index.h(index.Host, { key: '
|
47
|
+
return (index.h(index.Host, { key: '61936fb9123f607cce1e7515a65025f0ceb49c26', role: "listitem" }, index.h("span", { key: 'a8c7fb4dfec59d3356ca5e101287aa023e16568d', class: `gux-breadcrumb-generation gux-${accent}` }, this.getBreadcrumb(accent), this.getSeparatorIcon())));
|
48
48
|
}
|
49
49
|
get root() { return index.getElement(this); }
|
50
50
|
};
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-2dd05ef3.js');
|
6
6
|
const index$1 = require('./index-d7208697.js');
|
7
|
-
const usage = require('./usage-
|
7
|
+
const usage = require('./usage-3dcfa17c.js');
|
8
8
|
require('./get-closest-element-9e41d6b9.js');
|
9
9
|
|
10
10
|
const breadcrumbs = "Breadcrumbs";
|
@@ -30,7 +30,7 @@ const GuxBreadcrumbs = class {
|
|
30
30
|
Array.from(this.root.children).forEach(child => index.forceUpdate(child));
|
31
31
|
}
|
32
32
|
render() {
|
33
|
-
return (index.h("nav", { key: '
|
33
|
+
return (index.h("nav", { key: '119b3fa8ee5e78bf3b0d1499e7cb983939181220', "aria-label": this.i18n('breadcrumbs') }, index.h("ol", { key: 'e1e65d2af720de448a5754d955c90e03f010c044' }, index.h("slot", { key: '7c8ef3d9fa757d30769e0fead31fcf7eeb03b86a', onSlotchange: this.onSlotChange.bind(this) }))));
|
34
34
|
}
|
35
35
|
get root() { return index.getElement(this); }
|
36
36
|
};
|
@@ -6,7 +6,7 @@ const index = require('./index-2dd05ef3.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-bb55ad5e.js');
|
7
7
|
const whenEventIsFrom = require('./when-event-is-from-dd77a8d3.js');
|
8
8
|
const afterNextRender = require('./after-next-render-162425fe.js');
|
9
|
-
const usage = require('./usage-
|
9
|
+
const usage = require('./usage-3dcfa17c.js');
|
10
10
|
|
11
11
|
const guxButtonMultiAccent = ['primary', 'secondary', 'tertiary'];
|
12
12
|
function getGuxButtonMultiAccent(maybeGuxButtonMultiAccent) {
|
@@ -119,7 +119,7 @@ const GuxButtonMulti = class {
|
|
119
119
|
usage.trackComponent(this.root, { variant: this.accent });
|
120
120
|
}
|
121
121
|
render() {
|
122
|
-
return (index.h("gux-popup", { key: '
|
122
|
+
return (index.h("gux-popup", { key: 'c083b95a647399a7cd916c0a087af6cc4fc5bc1d', expanded: this.isOpen, "exceed-target-width": true, placement: "bottom-end" }, index.h("div", { key: 'ea62ec5f77c58b4f3a3f25e97070bd8c15cfa0bf', slot: "target", class: "gux-button-multi-container" }, index.h("gux-button-slot", { key: '6f978c23343e2af4754a96dc524605ae67edfe1b', class: "gux-dropdown-button", accent: getGuxButtonMultiAccent(this.accent) }, index.h("button", { key: '97eed2c9c1a6f9c8f0e22734d07ed6efd819473c', type: "button", disabled: this.disabled, ref: el => (this.dropdownButton = el), onMouseUp: () => this.toggle(), "aria-haspopup": "true", "aria-expanded": this.isOpen.toString() }, index.h("slot", { key: '3e9192a4fbedaa88005049ed522215c88155420b', name: "title" }), index.h("gux-icon", { key: '0a1ee4870f819e8cb8c6d9b434d68bba5875308c', size: "small", decorative: true, "icon-name": "custom/chevron-down-small-regular" })))), index.h("div", { key: '45bf0d049e55d413a3fd1c965c3983e41334c68a', class: "gux-list-container", slot: "popup" }, index.h("gux-list", { key: '7f457dcba160830324f8e0a78a70608f7d322967', onClick: (e) => this.onListClick(e), ref: el => (this.listElement = el) }, index.h("slot", { key: '660248167197a447fcac9348a0226073cddaa01a' })))));
|
123
123
|
}
|
124
124
|
static get delegatesFocus() { return true; }
|
125
125
|
get root() { return index.getElement(this); }
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-2dd05ef3.js');
|
6
|
-
const usage = require('./usage-
|
6
|
+
const usage = require('./usage-3dcfa17c.js');
|
7
7
|
const logError = require('./log-error-7b9d4b57.js');
|
8
8
|
|
9
9
|
const guxButtonSlotCss = ":host{display:inline-block;pointer-events:none}::slotted(input[type=button]),::slotted(input[type=submit]),::slotted(button){font-family:var(--gse-ui-button-text-fontFamily);font-size:var(--gse-ui-button-text-fontSize);font-weight:var(--gse-ui-button-text-fontWeight);line-height:var(--gse-ui-button-text-lineHeight);inline-size:100%;min-inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-padding);overflow:hidden;color:var(--gse-ui-button-secondary-default-foregroundColor);text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:var(--gse-ui-button-secondary-default-backgroundColor);border:none;border-radius:var(--gse-ui-button-borderRadius)}:host([icon-only]) ::slotted(input[type=button]),:host([icon-only]) ::slotted(input[type=submit]),:host([icon-only]) ::slotted(button){padding:var(--gse-ui-button-default-paddingIconOnly)}::slotted(input[type=button][disabled]),::slotted(input[type=submit][disabled]),::slotted(button[disabled]){cursor:default;opacity:var(--gse-ui-button-disabled-opacity)}::slotted(input[type=button]:focus),::slotted(input[type=submit]:focus),::slotted(button:focus){outline:none}::slotted(input[type=button]:focus-visible:enabled),::slotted(input[type=submit]:focus-visible:enabled),::slotted(button:focus-visible:enabled){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}::slotted(input[type=button]:hover:enabled),::slotted(input[type=submit]:hover:enabled),::slotted(button:hover:enabled){color:var(--gse-ui-button-secondary-hover-foregroundColor);background-color:var(--gse-ui-button-secondary-hover-backgroundColor)}::slotted(input[type=button]:active:enabled),::slotted(input[type=submit]:active:enabled),::slotted(button:active:enabled){color:var(--gse-ui-button-secondary-active-foregroundColor);background-color:var(--gse-ui-button-secondary-active-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]),:host([accent=primary]) ::slotted(input[type=submit]),:host([accent=primary]) ::slotted(button){color:var(--gse-ui-button-primary-default-foregroundColor);background-color:var(--gse-ui-button-primary-default-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:hover:enabled),:host([accent=primary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=primary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-primary-hover-foregroundColor);background-color:var(--gse-ui-button-primary-hover-backgroundColor)}:host([accent=primary]) ::slotted(input[type=button]:active:enabled),:host([accent=primary]) ::slotted(input[type=submit]:active:enabled),:host([accent=primary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-primary-active-foregroundColor);background-color:var(--gse-ui-button-primary-active-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]),:host([accent=tertiary]) ::slotted(input[type=submit]),:host([accent=tertiary]) ::slotted(button){color:var(--gse-ui-button-tertiary-default-foregroundColor);background-color:var(--gse-ui-button-tertiary-default-backgroundColor);border-color:var(--gse-ui-button-tertiary-default-border-color);border-style:var(--gse-ui-button-tertiary-default-border-style);border-width:var(--gse-ui-button-tertiary-default-border-width)}:host([accent=tertiary]) ::slotted(input[type=button]:hover:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:hover:enabled),:host([accent=tertiary]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-tertiary-hover-foregroundColor);background-color:var(--gse-ui-button-tertiary-hover-backgroundColor)}:host([accent=tertiary]) ::slotted(input[type=button]:active:enabled),:host([accent=tertiary]) ::slotted(input[type=submit]:active:enabled),:host([accent=tertiary]) ::slotted(button:active:enabled){color:var(--gse-ui-button-tertiary-active-foregroundColor);background-color:var(--gse-ui-button-tertiary-active-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]),:host([accent=ghost]) ::slotted(input[type=submit]),:host([accent=ghost]) ::slotted(button){color:var(--gse-ui-button-ghost-default-foregroundColor);background-color:var(--gse-ui-button-ghost-default-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:hover:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:hover:enabled),:host([accent=ghost]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-ghost-hover-foregroundColor);background-color:var(--gse-ui-button-ghost-hover-backgroundColor)}:host([accent=ghost]) ::slotted(input[type=button]:active:enabled),:host([accent=ghost]) ::slotted(input[type=submit]:active:enabled),:host([accent=ghost]) ::slotted(button:active:enabled){color:var(--gse-ui-button-ghost-active-foregroundColor);background-color:var(--gse-ui-button-ghost-active-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]),:host([accent=danger]) ::slotted(input[type=submit]),:host([accent=danger]) ::slotted(button){color:var(--gse-ui-button-danger-default-foregroundColor);background-color:var(--gse-ui-button-danger-default-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:hover:enabled),:host([accent=danger]) ::slotted(input[type=submit]:hover:enabled),:host([accent=danger]) ::slotted(button:hover:enabled){color:var(--gse-ui-button-danger-hover-foregroundColor);background-color:var(--gse-ui-button-danger-hover-backgroundColor)}:host([accent=danger]) ::slotted(input[type=button]:active:enabled),:host([accent=danger]) ::slotted(input[type=submit]:active:enabled),:host([accent=danger]) ::slotted(button:active:enabled){color:var(--gse-ui-button-danger-active-foregroundColor);background-color:var(--gse-ui-button-danger-active-backgroundColor)}:host([accent=inline]){min-inline-size:initial}:host([accent=inline]) ::slotted(input[type=button]),:host([accent=inline]) ::slotted(input[type=submit]),:host([accent=inline]) ::slotted(button){block-size:initial;padding:0;color:var(--gse-ui-links-default-foregroundColor);background:none;border:none}:host([accent=inline]) ::slotted(input[type=button][disabled]),:host([accent=inline]) ::slotted(input[type=submit][disabled]),:host([accent=inline]) ::slotted(button[disabled]){color:var(--gse-ui-links-disabled-foregroundColor)}:host([accent=inline]) ::slotted(input[type=button]:hover:enabled),:host([accent=inline]) ::slotted(input[type=submit]:hover:enabled),:host([accent=inline]) ::slotted(button:hover:enabled){color:var(--gse-ui-links-hover-foregroundColor);text-decoration:underline;background:none}:host([accent=inline]) ::slotted(input[type=button]:active:enabled),:host([accent=inline]) ::slotted(input[type=submit]:active:enabled),:host([accent=inline]) ::slotted(button:active:enabled){color:var(--gse-ui-links-active-foregroundColor);text-decoration:underline;background:none}";
|
@@ -38,7 +38,7 @@ const GuxButtonSlot = class {
|
|
38
38
|
this.validateSlotContent();
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (index.h(index.Host, { key: '
|
41
|
+
return (index.h(index.Host, { key: 'f006b3f67f24b741ad71daa8e98f3d028f3ec0b6', accent: this.accent, "icon-only": this.iconOnly }, index.h("slot", { key: '82bee185b230368e595c833cdfad36e977931efc' })));
|
42
42
|
}
|
43
43
|
get root() { return index.getElement(this); }
|
44
44
|
};
|