genesys-spark-components 4.111.6 → 4.113.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/{en-93832113.js → en-b47b8378.js} +23 -1
- 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-highlight-list-item.cjs.entry.js +56 -0
- 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 +5 -4
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +10 -5
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +132 -0
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +40 -24
- 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 +20 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-8b693ae3.js → usage-e8717c7d.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -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 +21 -2
- 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 +8 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.css +40 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +207 -0
- 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-highlight-list-item/gux-rich-highlight-list-item.css +48 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +134 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.types.js +1 -0
- 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 +39 -23
- 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/{en-44ed612e.js → en-d5a4e07d.js} +23 -1
- 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-highlight-list-item.entry.js +52 -0
- 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 +5 -4
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +10 -5
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +128 -0
- package/dist/esm/gux-rich-text-editor-action.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-beta.entry.js +2 -2
- package/dist/esm/gux-rich-text-editor-list.entry.js +41 -25
- 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 +20 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-d75e6b4b.js → usage-f19643b5.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/{p-8c51aab2.entry.js → p-003b43e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd0df2ac.entry.js → p-014850fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1473824.entry.js → p-02549899.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-32d54bfb.entry.js → p-0256c902.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0100a57e.entry.js → p-05fcbcdb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-468b7a98.entry.js → p-06e6b290.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60bf2952.entry.js → p-0a293f2f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3627a308.entry.js → p-0f4f8045.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-afb31448.entry.js → p-10b7a9e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cf6c8520.entry.js → p-1183585f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2bd7613.entry.js → p-12d08ca8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71377466.entry.js → p-130a92ea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a1415f15.entry.js → p-14579d6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1ed65c9.entry.js → p-1462a1d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a2c58fc.entry.js → p-149ed4f3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9117b4e8.entry.js → p-15f467d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-841549a4.entry.js → p-16d31feb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1b3fbb64.entry.js +1 -0
- package/dist/genesys-webcomponents/p-1ecc0446.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d3f5acd3.entry.js → p-20eccece.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e62c052c.entry.js → p-2533e88f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8703340f.entry.js → p-25cdb2b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9621a33.entry.js → p-26b9b506.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6ea6bb1f.entry.js → p-2a2faa7d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2a99f284.js +1 -0
- package/dist/genesys-webcomponents/{p-cdb52c1b.entry.js → p-30ff76b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24ec16ed.entry.js → p-38687724.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14f11a8a.entry.js → p-387905bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5fe69f2d.entry.js → p-3aa566e0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0bd5610.entry.js → p-3c729636.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6765d8c0.entry.js → p-3c9e3dfa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3db21bf3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3e3bd2f9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-cd1f2fd6.entry.js → p-3f07a79d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-57418df7.entry.js → p-40241601.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d674ef3.entry.js → p-414eab3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e74ee391.entry.js → p-41bb87d6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0fdd48ea.entry.js → p-4405e4d5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb3f4e73.entry.js → p-44786aee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f46a185.entry.js → p-46843d60.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-49ab8226.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4a3e97aa.entry.js +1 -0
- package/dist/genesys-webcomponents/p-4afd2679.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ac0ba0c9.entry.js → p-4b064fb5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7f519474.entry.js → p-4e14184e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac37df82.entry.js → p-544633db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c1b8e8a.entry.js → p-54b4eab6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bc04dc32.entry.js → p-5521226b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16b3f7e0.entry.js → p-55a1cc30.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50a2c515.entry.js → p-5b0867ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05087794.entry.js → p-5b4beb54.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70cd7043.entry.js → p-5e44ef27.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-5f1ac336.entry.js +1 -0
- package/dist/genesys-webcomponents/p-5fcdcbfd.js +1 -0
- package/dist/genesys-webcomponents/p-61967bec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-11213130.entry.js → p-61f673b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-964fa8e3.entry.js → p-62c63986.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-396ed274.entry.js → p-64623fe4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c194b852.entry.js → p-66f7c713.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-68788fb9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-86b6c11e.entry.js → p-6b26aef0.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-afb890c4.entry.js → p-6f7a1179.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7172aaba.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b25f6da3.entry.js → p-7183904b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-404da695.entry.js → p-724e155b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-032412e3.entry.js → p-7266b063.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7e5a07c.entry.js → p-72831fbe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf5da84d.entry.js → p-751c61f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-75bf1516.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f11c894c.entry.js → p-76fa4eb0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0694db00.entry.js → p-7a003713.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f6704504.entry.js → p-7a7e02f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-892ebdad.entry.js → p-7a915b9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81e2f259.entry.js → p-7bdce1a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e4699bc.js → p-7c26f60c.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4c133b8.entry.js → p-7db5de2a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e5b2c8e7.entry.js → p-8051ad60.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ef14f06.entry.js → p-81d0354b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f7eb8c9.entry.js → p-8296eeb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-85593b8d.entry.js +1 -0
- package/dist/genesys-webcomponents/p-864d63fe.js +1 -0
- package/dist/genesys-webcomponents/{p-56612c4c.entry.js → p-86612ff6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f49946c3.entry.js → p-86e2c7b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a15fbb83.entry.js → p-8725879d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-88b54928.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b16be0d7.entry.js → p-88c6fea4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3cdd53db.entry.js → p-88e99ac8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fd7b524.entry.js → p-9307931f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73ce0484.entry.js → p-951a4cee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acf346ff.entry.js → p-95b71a67.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83e784ea.entry.js → p-9612eaea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-940d5d52.entry.js → p-96ac9919.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-980e6f94.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e250948b.entry.js → p-98deb610.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22eea545.entry.js → p-98f74967.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1708dff4.entry.js → p-99a7e5ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9b710284.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4e333e04.entry.js → p-9e2c5e07.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-808fdd82.entry.js → p-9f4d6be4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7017fc04.entry.js → p-a1035485.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8a11d4a.entry.js → p-a1de93b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bde9bc48.entry.js → p-a2e65aa7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff88702b.entry.js → p-a31399b7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38bb7b24.entry.js → p-a43e0510.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e651863.entry.js → p-a48e13be.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a4cc0374.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5d11c352.entry.js → p-a80a6d49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1977e42c.entry.js → p-a9efd10b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8e66bfa.entry.js → p-aa1785d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70b1506a.entry.js → p-ab589c01.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a581e8e.entry.js → p-ad02ac86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d75bc67.entry.js → p-adb4e579.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ae83f2c0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e1d65cc6.entry.js → p-af8c8867.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f5c4dfc.entry.js → p-b04fec40.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d942c4d8.entry.js → p-b18f552b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fa0d8f65.entry.js → p-b2d9911a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45e535b7.entry.js → p-bb9d5fa2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bc8a9aec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b55c1468.entry.js → p-bccfe50d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c2325b13.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ba586b37.entry.js → p-c2a649d1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a8f22c3.entry.js → p-c48866c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae96285a.entry.js → p-c570c07d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ea01f71b.entry.js → p-c5d5e5bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dcc005d5.entry.js → p-c67267ed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-834236e0.entry.js → p-cf5e058a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60cc8791.entry.js → p-d09a8c78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08b462de.entry.js → p-d2ad86e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c256398b.entry.js → p-d51d88c3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d552a7a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ce48b08d.entry.js → p-d5baaed8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d6a93a09.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ffe8ef08.entry.js → p-d8ec2b5e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7c8c8af.entry.js → p-dbc7abfb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8522551e.entry.js → p-dc0337b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-de5965bb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-94a3bbe3.entry.js → p-dfa26ecf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ee3e3217.entry.js → p-e0cc5f64.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6e90d1bf.entry.js → p-e42f77ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-42789b02.entry.js → p-e44d51a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc2dab1c.entry.js → p-e5b2307d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6fa0e350.entry.js → p-e6f33f04.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e8219a25.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-163e4020.entry.js → p-e9d8c6bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b8add1dd.entry.js → p-eb7cdf7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ec80cb27.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2b0407a9.entry.js → p-ed5ea22d.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-edbe5703.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7adc186b.entry.js → p-f6715cb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49b489b3.entry.js → p-f7ebde98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c17d7261.entry.js → p-f9963072.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ddd74531.entry.js → p-fa34c71c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bdbea86.entry.js → p-fce86fb9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ff7e2fa6.entry.js +1 -0
- 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/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.d.ts +1 -0
- package/dist/types/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.d.ts +1 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.d.ts +28 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.d.ts +14 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.types.d.ts +1 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.d.ts +3 -3
- package/dist/types/components.d.ts +99 -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-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-2f99e441.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ee28457.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-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-7747f18f.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-b9e6f612.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bd630b9b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c2dceea3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cc8ac923.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e438720d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ebb4398a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ef8f3eed.js +0 -1
- package/dist/genesys-webcomponents/p-f30206b9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f5b5e197.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
package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js
ADDED
@@ -0,0 +1,218 @@
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
4
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else
|
6
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
7
|
+
if (d = decorators[i])
|
8
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
9
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
10
|
+
};
|
11
|
+
import { h, Host } from "@stencil/core";
|
12
|
+
import { autoUpdate, computePosition, offset } from "@floating-ui/dom";
|
13
|
+
import { OnClickOutside } from "../../../../utils/decorator/on-click-outside";
|
14
|
+
import { trackComponent } from "../../../../utils/tracking/usage";
|
15
|
+
import { logWarn } from "../../../../utils/error/log-error";
|
16
|
+
import { groupKeyboardNavigation } from "../gux-avatar-group.service";
|
17
|
+
import { afterNextRenderTimeout } from "../../../../utils/dom/after-next-render";
|
18
|
+
/**
|
19
|
+
* @slot - a number of gux-avatar-overflow-items
|
20
|
+
*/
|
21
|
+
export class GuxAvatarOverflow {
|
22
|
+
constructor() {
|
23
|
+
this.delayTime = 250;
|
24
|
+
this.count = 0;
|
25
|
+
this.expanded = false;
|
26
|
+
}
|
27
|
+
async componentWillLoad() {
|
28
|
+
trackComponent(this.root);
|
29
|
+
}
|
30
|
+
componentDidLoad() {
|
31
|
+
if (this.expanded) {
|
32
|
+
this.runUpdatePosition();
|
33
|
+
}
|
34
|
+
}
|
35
|
+
componentDidUpdate() {
|
36
|
+
if (this.expanded) {
|
37
|
+
this.runUpdatePosition();
|
38
|
+
}
|
39
|
+
else if (this.cleanupUpdatePosition) {
|
40
|
+
this.cleanupUpdatePosition();
|
41
|
+
}
|
42
|
+
}
|
43
|
+
disconnectedCallback() {
|
44
|
+
clearTimeout(this.focusDelayTimeout);
|
45
|
+
clearTimeout(this.hideDelayTimeout);
|
46
|
+
if (this.cleanupUpdatePosition) {
|
47
|
+
this.cleanupUpdatePosition();
|
48
|
+
}
|
49
|
+
}
|
50
|
+
onClickOutside() {
|
51
|
+
this.expanded = false;
|
52
|
+
}
|
53
|
+
onKeydown(event) {
|
54
|
+
groupKeyboardNavigation(event, this.root);
|
55
|
+
switch (event.key) {
|
56
|
+
case 'Escape': {
|
57
|
+
this.hide();
|
58
|
+
const target = event.target;
|
59
|
+
if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
|
60
|
+
this.focusDelayTimeout = afterNextRenderTimeout(() => {
|
61
|
+
var _a;
|
62
|
+
(_a = this.overflowButtonElement) === null || _a === void 0 ? void 0 : _a.focus();
|
63
|
+
});
|
64
|
+
}
|
65
|
+
break;
|
66
|
+
}
|
67
|
+
case 'Tab':
|
68
|
+
this.hide();
|
69
|
+
break;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
onClick(e) {
|
73
|
+
e.stopPropagation();
|
74
|
+
const target = e.target;
|
75
|
+
if (target.tagName === 'GUX-AVATAR-OVERFLOW-ITEM-BETA') {
|
76
|
+
// Reset scroll on menu when clicked to avoid scroll jump when reopened
|
77
|
+
this.menuElement.scrollTop = 0;
|
78
|
+
this.expanded = false;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
// eslint-disable-next-line @typescript-eslint/require-await
|
82
|
+
async guxClose() {
|
83
|
+
this.hide();
|
84
|
+
}
|
85
|
+
runUpdatePosition() {
|
86
|
+
if (this.root.isConnected) {
|
87
|
+
this.cleanupUpdatePosition = autoUpdate(this.overflowButtonElement, this.menuElement, () => this.updatePosition(), {
|
88
|
+
ancestorScroll: true,
|
89
|
+
elementResize: true,
|
90
|
+
animationFrame: true,
|
91
|
+
ancestorResize: true
|
92
|
+
});
|
93
|
+
}
|
94
|
+
else {
|
95
|
+
this.disconnectedCallback();
|
96
|
+
}
|
97
|
+
}
|
98
|
+
updatePosition() {
|
99
|
+
if (this.root) {
|
100
|
+
void computePosition(this.overflowButtonElement, this.menuElement, {
|
101
|
+
placement: 'bottom-start',
|
102
|
+
strategy: 'fixed',
|
103
|
+
middleware: [
|
104
|
+
offset({
|
105
|
+
mainAxis: 4,
|
106
|
+
crossAxis: 4
|
107
|
+
})
|
108
|
+
]
|
109
|
+
}).then(({ x, y }) => {
|
110
|
+
Object.assign(this.menuElement.style, {
|
111
|
+
left: `${x}px`,
|
112
|
+
top: `${y}px`
|
113
|
+
});
|
114
|
+
});
|
115
|
+
}
|
116
|
+
}
|
117
|
+
getCount() {
|
118
|
+
const menuItems = Array.from(this.root.children);
|
119
|
+
if (menuItems.some(item => item.tagName !== 'GUX-AVATAR-OVERFLOW-ITEM-BETA')) {
|
120
|
+
logWarn(this.root, 'Only gux-avatar-overflow-item-beta elements are allowed as children.');
|
121
|
+
}
|
122
|
+
if (menuItems) {
|
123
|
+
return menuItems.length;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
toggleOverflowMenu() {
|
127
|
+
if (!this.expanded) {
|
128
|
+
this.show();
|
129
|
+
}
|
130
|
+
else {
|
131
|
+
this.hide();
|
132
|
+
}
|
133
|
+
}
|
134
|
+
show() {
|
135
|
+
clearTimeout(this.hideDelayTimeout);
|
136
|
+
this.expanded = true;
|
137
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
138
|
+
this.focusOnMenu();
|
139
|
+
});
|
140
|
+
}
|
141
|
+
hide() {
|
142
|
+
if (this.expanded) {
|
143
|
+
this.hideDelayTimeout = setTimeout(() => {
|
144
|
+
this.expanded = false;
|
145
|
+
}, this.delayTime);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
focusOnMenu() {
|
149
|
+
const overflowItems = Array.from(this.root.children);
|
150
|
+
const nextFocusableElement = overflowItems[0];
|
151
|
+
void nextFocusableElement.focus();
|
152
|
+
}
|
153
|
+
render() {
|
154
|
+
return (h(Host, { key: '1eca1d8373f1f8bce38195b234b2aa6c85489d66', role: "menuitem" }, h("button", { key: '52681498cf89bd86b0d0e906009feccf49254424', class: "gux-avatar-overflow", ref: el => (this.overflowButtonElement = el), onClick: () => this.toggleOverflowMenu(), tabIndex: -1, "aria-haspopup": "true", "aria-expanded": this.expanded.toString() }, h("span", { key: 'e542e692be6b5e40794526311b35647dafa77a5a', class: "gux-avatar-overflow-wrapper" }, h("span", { key: 'fcf9797285a72682a4a676f980f9da0ebf98ff55', class: "gux-avatar-overflow-content" }, " +", this.getCount()))), h("div", { key: '390fe4b03689c2390022d871bcdf46cfeae773c3', class: {
|
155
|
+
'gux-menu-wrapper': true,
|
156
|
+
'gux-shown': this.expanded
|
157
|
+
}, ref: el => (this.menuElement = el) }, h("div", { key: 'e9775de055cf867360eb43ef87b56c1e4846d283', role: "menu", class: "gux-menu-content" }, h("slot", { key: 'f87d83d682723774826e175ddac0142daa5340f5' })))));
|
158
|
+
}
|
159
|
+
static get is() { return "gux-avatar-overflow-beta"; }
|
160
|
+
static get encapsulation() { return "shadow"; }
|
161
|
+
static get delegatesFocus() { return true; }
|
162
|
+
static get originalStyleUrls() {
|
163
|
+
return {
|
164
|
+
"$": ["gux-avatar-overflow.scss"]
|
165
|
+
};
|
166
|
+
}
|
167
|
+
static get styleUrls() {
|
168
|
+
return {
|
169
|
+
"$": ["gux-avatar-overflow.css"]
|
170
|
+
};
|
171
|
+
}
|
172
|
+
static get states() {
|
173
|
+
return {
|
174
|
+
"count": {},
|
175
|
+
"expanded": {}
|
176
|
+
};
|
177
|
+
}
|
178
|
+
static get methods() {
|
179
|
+
return {
|
180
|
+
"guxClose": {
|
181
|
+
"complexType": {
|
182
|
+
"signature": "() => Promise<void>",
|
183
|
+
"parameters": [],
|
184
|
+
"references": {
|
185
|
+
"Promise": {
|
186
|
+
"location": "global",
|
187
|
+
"id": "global::Promise"
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"return": "Promise<void>"
|
191
|
+
},
|
192
|
+
"docs": {
|
193
|
+
"text": "",
|
194
|
+
"tags": []
|
195
|
+
}
|
196
|
+
}
|
197
|
+
};
|
198
|
+
}
|
199
|
+
static get elementRef() { return "root"; }
|
200
|
+
static get listeners() {
|
201
|
+
return [{
|
202
|
+
"name": "keydown",
|
203
|
+
"method": "onKeydown",
|
204
|
+
"target": undefined,
|
205
|
+
"capture": false,
|
206
|
+
"passive": false
|
207
|
+
}, {
|
208
|
+
"name": "click",
|
209
|
+
"method": "onClick",
|
210
|
+
"target": undefined,
|
211
|
+
"capture": false,
|
212
|
+
"passive": false
|
213
|
+
}];
|
214
|
+
}
|
215
|
+
}
|
216
|
+
__decorate([
|
217
|
+
OnClickOutside({ triggerEvents: 'mousedown' })
|
218
|
+
], GuxAvatarOverflow.prototype, "onClickOutside", null);
|
@@ -0,0 +1,70 @@
|
|
1
|
+
export function overflowNavigation(event, currentElement) {
|
2
|
+
switch (event.key) {
|
3
|
+
case 'ArrowUp':
|
4
|
+
case 'ArrowLeft':
|
5
|
+
event.stopPropagation();
|
6
|
+
event.preventDefault();
|
7
|
+
focusPreviousSiblingLoop(currentElement);
|
8
|
+
break;
|
9
|
+
case 'ArrowDown':
|
10
|
+
case 'ArrowRight':
|
11
|
+
event.stopPropagation();
|
12
|
+
event.preventDefault();
|
13
|
+
focusNextSiblingLoop(currentElement);
|
14
|
+
break;
|
15
|
+
case 'Home':
|
16
|
+
event.stopPropagation();
|
17
|
+
event.preventDefault();
|
18
|
+
focusFirstSibling(currentElement);
|
19
|
+
break;
|
20
|
+
case 'End':
|
21
|
+
event.stopPropagation();
|
22
|
+
event.preventDefault();
|
23
|
+
focusLastSibling(currentElement);
|
24
|
+
break;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
function focusFirstSibling(currentElement) {
|
28
|
+
const firstFocusableElement = getFirstFocusableElement(currentElement);
|
29
|
+
if (firstFocusableElement) {
|
30
|
+
void firstFocusableElement.focus();
|
31
|
+
}
|
32
|
+
}
|
33
|
+
function focusLastSibling(currentElement) {
|
34
|
+
const lastFocusableElement = getLastFocusableElement(currentElement);
|
35
|
+
if (lastFocusableElement) {
|
36
|
+
void lastFocusableElement.focus();
|
37
|
+
}
|
38
|
+
}
|
39
|
+
function focusPreviousSiblingLoop(currentElement) {
|
40
|
+
const previousFocusableElement = currentElement.previousElementSibling;
|
41
|
+
if (previousFocusableElement) {
|
42
|
+
void previousFocusableElement.focus();
|
43
|
+
}
|
44
|
+
else {
|
45
|
+
focusLastSibling(currentElement);
|
46
|
+
}
|
47
|
+
}
|
48
|
+
function focusNextSiblingLoop(currentElement) {
|
49
|
+
const nextFocusableElement = currentElement.nextElementSibling;
|
50
|
+
if (nextFocusableElement) {
|
51
|
+
void nextFocusableElement.focus();
|
52
|
+
}
|
53
|
+
else {
|
54
|
+
focusFirstSibling(currentElement);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
function getFirstFocusableElement(currentElement) {
|
58
|
+
let firstFocusableElement = currentElement;
|
59
|
+
while (firstFocusableElement.previousElementSibling !== null) {
|
60
|
+
firstFocusableElement = firstFocusableElement.previousElementSibling;
|
61
|
+
}
|
62
|
+
return firstFocusableElement;
|
63
|
+
}
|
64
|
+
function getLastFocusableElement(currentElement) {
|
65
|
+
let lastFocusableElement = currentElement;
|
66
|
+
while (lastFocusableElement.nextElementSibling !== null) {
|
67
|
+
lastFocusableElement = lastFocusableElement.nextElementSibling;
|
68
|
+
}
|
69
|
+
return lastFocusableElement;
|
70
|
+
}
|
@@ -190,7 +190,7 @@ export class GuxCalendar {
|
|
190
190
|
} }, h("span", { class: "gux-non-sr", "aria-hidden": "true" }, day.date.getDate()), h("span", { class: "gux-sr-only" }, h("gux-date-beta", { datetime: day.date.toISOString(), format: "long" })))))))))));
|
191
191
|
}
|
192
192
|
render() {
|
193
|
-
return (h("div", { key: '
|
193
|
+
return (h("div", { key: 'f9dd6b158f82afd04c1279f96e48f8b23b5ac500', class: "gux-calendar-beta" }, h("slot", { key: '4d4fdb3c7e7dae6f21ae9c1c8d6d5c15a0f8abda' }), this.renderHeader(), this.renderContent()));
|
194
194
|
}
|
195
195
|
static get is() { return "gux-calendar-beta"; }
|
196
196
|
static get encapsulation() { return "shadow"; }
|
@@ -62,7 +62,7 @@ export class GuxCTAGroup {
|
|
62
62
|
this.validateDismissSlot(this.root.querySelector('[slot=dismiss]'));
|
63
63
|
}
|
64
64
|
render() {
|
65
|
-
return (h("div", { key: '
|
65
|
+
return (h("div", { key: '4dd3eefd10c0b9ec4700a79c133808dd9a12d657', class: `gux-cta-group gux-${this.align}-align` }, h("slot", { key: 'ae76a7d3ded9990c91b0da787f2a6bc8fd06854c', name: "primary" }), h("slot", { key: '3059cb1e5f5e9d6b63543968f32beeb00e851531', name: "secondary" }), h("slot", { key: '2c4362717183c21600dfbb85965214ba26670c84', name: "dismiss" })));
|
66
66
|
}
|
67
67
|
static get is() { return "gux-cta-group"; }
|
68
68
|
static get encapsulation() { return "shadow"; }
|
@@ -38,7 +38,7 @@ export class GuxDate {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (h(Host, { key: '
|
41
|
+
return (h(Host, { key: '34a577a4ae435b5debd5f2d50b8443364b669445' }, this.renderDate()));
|
42
42
|
}
|
43
43
|
static get is() { return "gux-date-beta"; }
|
44
44
|
static get encapsulation() { return "shadow"; }
|
@@ -39,7 +39,7 @@ export class GuxDateTime {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
render() {
|
42
|
-
return (h(Host, { key: '
|
42
|
+
return (h(Host, { key: '4774e2ef9e07408d3687e6021cf24eb25cb9ba5f' }, this.renderDateTime()));
|
43
43
|
}
|
44
44
|
static get is() { return "gux-date-time-beta"; }
|
45
45
|
static get encapsulation() { return "shadow"; }
|
@@ -11,7 +11,7 @@ export class GuxFlagIconBeta {
|
|
11
11
|
}
|
12
12
|
render() {
|
13
13
|
var _a;
|
14
|
-
return (h("span", { key: '
|
14
|
+
return (h("span", { key: '80dfde1a4fccf8bf90c3583b3a51d2885ef36014', role: this.screenreaderText ? 'img' : '', class: 'gux-flag-' + ((_a = this.flag) === null || _a === void 0 ? void 0 : _a.toLowerCase()), style: { backgroundImage: `url(${spritesheetDataUrl})` }, "aria-label": this.screenreaderText }));
|
15
15
|
}
|
16
16
|
static get is() { return "gux-flag-icon-beta"; }
|
17
17
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/beta/gux-form/gux-form-description/gux-form-description.js
CHANGED
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
4
4
|
*/
|
5
5
|
export class GuxFormDescription {
|
6
6
|
render() {
|
7
|
-
return (h("slot", { key: '
|
7
|
+
return (h("slot", { key: '36b2592cec2fd1ac72858ebd2b3f7126be9d2fde' }));
|
8
8
|
}
|
9
9
|
static get is() { return "gux-form-description"; }
|
10
10
|
static get encapsulation() { return "shadow"; }
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
4
4
|
*/
|
5
5
|
export class GuxFormFieldsetHeading {
|
6
6
|
render() {
|
7
|
-
return (h("slot", { key: '
|
7
|
+
return (h("slot", { key: '53b701049b6b3af92766ee428bb48e34ea97a7a8' }));
|
8
8
|
}
|
9
9
|
static get is() { return "gux-form-fieldset-heading"; }
|
10
10
|
static get encapsulation() { return "shadow"; }
|
@@ -11,9 +11,9 @@ export class GuxFormFooter {
|
|
11
11
|
trackComponent(this.root, { variant: this.placement });
|
12
12
|
}
|
13
13
|
render() {
|
14
|
-
return (h(Host, { key: '
|
14
|
+
return (h(Host, { key: '1800b2ba3ff355461ca245554972bd430275bd21', class: {
|
15
15
|
[`gux-form-footer-${this.placement}`]: true
|
16
|
-
} }, h("slot", { key: '
|
16
|
+
} }, h("slot", { key: 'a51e6da5a63bf167e8fed7dfff493e21c9a7b947' })));
|
17
17
|
}
|
18
18
|
static get is() { return "gux-form-footer"; }
|
19
19
|
static get encapsulation() { return "shadow"; }
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
4
4
|
*/
|
5
5
|
export class GuxFormHeading {
|
6
6
|
render() {
|
7
|
-
return (h("slot", { key: '
|
7
|
+
return (h("slot", { key: 'ab8e68c9891db9e8ed2186c43228a344187ee889' }));
|
8
8
|
}
|
9
9
|
static get is() { return "gux-form-heading"; }
|
10
10
|
static get encapsulation() { return "shadow"; }
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
4
4
|
*/
|
5
5
|
export class GuxForm {
|
6
6
|
render() {
|
7
|
-
return (h("slot", { key: '
|
7
|
+
return (h("slot", { key: '0609f7683ca92e45a2e0d2002c28e0d96640b40c' }));
|
8
8
|
}
|
9
9
|
static get is() { return "gux-form-beta"; }
|
10
10
|
static get encapsulation() { return "shadow"; }
|
@@ -25,7 +25,7 @@ export class GuxIconTooltip {
|
|
25
25
|
return await this.tooltip.hideTooltip();
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (h("div", { key: '
|
28
|
+
return (h("div", { key: '8529bf15b3bfad65a31f81607c173ffc7445cd0f', class: "gux-icon-tooltip" }, h("gux-screen-reader-beta", { key: 'eb9f2480775f73406dac9225072090281a3a4e59' }, h("slot", { key: '3a2ce42fa965c28b49f1dc28e9c0551d4874be8c', name: "content" })), h("gux-icon", { key: '67f296138e09629d2395232aaca01369450e23ca', "icon-name": this.iconName, size: "small", decorative: true }), h("gux-tooltip-beta", { key: '016693d7a1ed09527171d3f20119cb6cdc125b8a', placement: this.placement, ref: el => (this.tooltip = el) }, h("div", { key: 'f83ba3a86c38f8e4cc7cfaee5d7cff46458a626e', slot: "content" }, getSlotTextContent(this.root, 'content')))));
|
29
29
|
}
|
30
30
|
static get is() { return "gux-icon-tooltip-beta"; }
|
31
31
|
static get encapsulation() { return "shadow"; }
|
@@ -30,7 +30,7 @@ export class GuxLabelInfo {
|
|
30
30
|
return await this.tooltipElement.hideTooltip();
|
31
31
|
}
|
32
32
|
render() {
|
33
|
-
return (h("div", { key: '
|
33
|
+
return (h("div", { key: 'a5cfd50dddc948a84a89406180423e1f2baf3586', class: "gux-label-info" }, h("gux-screen-reader-beta", { key: '242deb6d19f64e64436c867d9ea5cba84c0e69e3' }, getSlotTextContent(this.root, 'content')), h("gux-icon", { key: '33dcf9d4c85d875532483961f2639e0c6f5b0fdc', "icon-name": this.getVariantIcon(this.variant), size: "small", decorative: true }), h("gux-tooltip-beta", { key: '439645c57b526ee7f84d67ef8423a38c46dcd12f', placement: this.placement, ref: el => (this.tooltipElement = el) }, h("slot", { key: 'ca4ee786cba6a3cc7278ef642ff3abb8fd79494a', name: "content" }))));
|
34
34
|
}
|
35
35
|
static get is() { return "gux-label-info-beta"; }
|
36
36
|
static get encapsulation() { return "shadow"; }
|
@@ -15,7 +15,7 @@ export class GuxLink {
|
|
15
15
|
return !!getClosestElement('.gux-breadcrumb-generation', this.root);
|
16
16
|
}
|
17
17
|
render() {
|
18
|
-
return (h(Host, { key: '
|
18
|
+
return (h(Host, { key: '73b70b6b28b08bdc4fbec5d6eba37adf1485199f', size: this.size, standalone: this.standalone, class: { 'gux-breadcrumb-link': this.checkBreadcrumbParent() } }, h("slot", { key: 'd7df0d43acc82097e460659345ab845f6a4277e5' })));
|
19
19
|
}
|
20
20
|
static get is() { return "gux-link-beta"; }
|
21
21
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js
CHANGED
@@ -166,7 +166,7 @@ export class GuxMonthCalendar {
|
|
166
166
|
return (h("gux-month-list", null, monthButtons));
|
167
167
|
}
|
168
168
|
render() {
|
169
|
-
return (h("div", { key: '
|
169
|
+
return (h("div", { key: '84a2981890cf379e96d4b2d43d9371ea939d5806', class: {
|
170
170
|
'gux-hidden': !this.expanded,
|
171
171
|
'gux-month-calendar': true
|
172
172
|
} }, this.renderHeader(), this.renderMonths()));
|
@@ -22,7 +22,7 @@ export class GuxMonthListItem {
|
|
22
22
|
}
|
23
23
|
}
|
24
24
|
render() {
|
25
|
-
return (h(Host, { key: '
|
25
|
+
return (h(Host, { key: 'ad0ecf6d8957eb96eb4ab0b7934e777dd15142a1', role: "listitem", value: this.value }, h("div", { key: '81ad4c6a4cf0993cb2aa7b321eda7bb7d2d1ced9', class: "gux-container" }, h("button", { key: 'c4db6ec6902fb0d0baa62ccd7097d0ff2b4cfd53', class: { 'gux-selected': this.selected }, type: "button", tabIndex: -1, disabled: this.disabled }, h("slot", { key: 'bf7f8e72ffc4a57669a3eb1ff713b5a37064073f' })))));
|
26
26
|
}
|
27
27
|
static get is() { return "gux-month-list-item"; }
|
28
28
|
static get encapsulation() { return "shadow"; }
|
@@ -38,7 +38,7 @@ export class GuxMonthList {
|
|
38
38
|
first(this.root, validFocusableItems);
|
39
39
|
}
|
40
40
|
render() {
|
41
|
-
return (h(Host, { key: '
|
41
|
+
return (h(Host, { key: 'd9ab73cd1531fff0d46e179303b22ccceb8926d7', role: "list" }, h("slot", { key: '3748b9606d4e258d3e0f78211df88b8cde89bfd0' })));
|
42
42
|
}
|
43
43
|
static get is() { return "gux-month-list"; }
|
44
44
|
static get encapsulation() { return "shadow"; }
|
@@ -200,7 +200,7 @@ export class GuxMonthPicker {
|
|
200
200
|
return (h("gux-month-calendar", { slot: "popup", ref: (el) => (this.monthCalendarElement = el), onInput: () => this.onMonthCalendarInput(), value: this.value, min: this.min, max: this.max }));
|
201
201
|
}
|
202
202
|
render() {
|
203
|
-
return (h("gux-popup", { key: '
|
203
|
+
return (h("gux-popup", { key: 'd86acaf580192ffb933f1bddd919ceb60f6c8064', expanded: this.expanded, disabled: this.disabled, "exceed-target-width": true }, this.renderTarget(), this.renderPopup()));
|
204
204
|
}
|
205
205
|
static get is() { return "gux-month-picker-beta"; }
|
206
206
|
static get encapsulation() { return "shadow"; }
|
@@ -364,7 +364,7 @@ export class GuxPhoneInput {
|
|
364
364
|
return (h("div", { slot: "popup", class: "gux-listbox-container" }, h("gux-listbox", { "aria-label": this.i18n('regionDropdown'), value: this.region ? this.region.alpha2Code : '' }, this.regionOptions)));
|
365
365
|
}
|
366
366
|
render() {
|
367
|
-
return (h("gux-popup", { key: '
|
367
|
+
return (h("gux-popup", { key: '7a4cf36b39c5bdd966ce1e55dbbdd53e97b53c90', expanded: this.expanded, disabled: this.disabled, "exceed-target-width": true }, this.renderTarget(), this.renderPopup()));
|
368
368
|
}
|
369
369
|
static get is() { return "gux-phone-input-beta"; }
|
370
370
|
static get encapsulation() { return "shadow"; }
|
@@ -197,10 +197,10 @@ export class GuxPopover {
|
|
197
197
|
}
|
198
198
|
}
|
199
199
|
render() {
|
200
|
-
return (h("div", { key: '
|
200
|
+
return (h("div", { key: '37097ff16c78960e146808147fc29da4b0381693', ref: (el) => (this.popupElement = el), class: {
|
201
201
|
'gux-popover-wrapper': true,
|
202
202
|
'gux-hidden': !this.isOpen
|
203
|
-
}, "data-placement": true, popover: "manual" }, h("div", { key: '
|
203
|
+
}, "data-placement": true, popover: "manual" }, h("div", { key: 'd351ddc5005bc742d78a3d3421be9d17e5269671', ref: (el) => (this.arrowElement = el), class: "gux-arrow" }, h("div", { key: '4269fca2eaa5072b4797fbc8f7f76e637d4f425c', class: "gux-arrow-caret" })), h("div", { key: '7997ad6bc0a9ce3e5e05f21c532bd309ca71c8bf', class: { 'gux-popover-header': Boolean(this.titleSlot) } }, h("slot", { key: 'd7561c283fed7d1e1412e77b9123e2184c4645d7', name: "title" }), this.renderDismissButton()), h("div", { key: '35ff91d63e2364a3a00656814bb22eaf6da3f9a1', class: "gux-popover-content" }, h("slot", { key: '48623dcb0f8bec52b3c17bf1ceb2a587f32a818b' }))));
|
204
204
|
}
|
205
205
|
static get is() { return "gux-popover-beta"; }
|
206
206
|
static get encapsulation() { return "shadow"; }
|
@@ -159,10 +159,10 @@ export class GuxPopoverList {
|
|
159
159
|
}
|
160
160
|
}
|
161
161
|
render() {
|
162
|
-
return (h("div", { key: '
|
162
|
+
return (h("div", { key: '9294234dfdacafbca88968ce1b952c6f6124ade7', ref: (el) => (this.popupElement = el), class: {
|
163
163
|
'gux-hidden': !this.isOpen,
|
164
164
|
'gux-popover-wrapper': true
|
165
|
-
}, "data-placement": true, popover: "manual" }, h("div", { key: '
|
165
|
+
}, "data-placement": true, popover: "manual" }, h("div", { key: 'eb9daf084e2a447cc22f36284e2e7d9d9c930d2c', ref: (el) => (this.arrowElement = el), class: "gux-arrow" }), this.displayDismissButton && (h("gux-dismiss-button", { key: 'ed5f74d0e04152a8be18bfa72c187ce66e3066bb', onClick: this.dismiss.bind(this) })), h("div", { key: 'f4856c1a0890bb05f680c5a039f2fbb1294b0a8b', class: "gux-popover-content" }, h("slot", { key: 'a0dd537f9acddd6939ee254385d5739019eb30ec' }))));
|
166
166
|
}
|
167
167
|
static get is() { return "gux-popover-list-beta"; }
|
168
168
|
static get encapsulation() { return "shadow"; }
|
@@ -17,6 +17,7 @@ import { afterNextRender } from "../../../../../utils/dom/after-next-render";
|
|
17
17
|
export class GuxRichTextEditorActionLink {
|
18
18
|
constructor() {
|
19
19
|
this.disabled = false;
|
20
|
+
this.isActive = false;
|
20
21
|
this.isOpen = false;
|
21
22
|
}
|
22
23
|
onClickOutside() {
|
@@ -69,11 +70,11 @@ export class GuxRichTextEditorActionLink {
|
|
69
70
|
}
|
70
71
|
renderTooltip() {
|
71
72
|
if (!this.disabled) {
|
72
|
-
return (h("gux-tooltip", null, h("div", { slot: "content" }, this.i18n('link'))));
|
73
|
+
return (h("gux-tooltip-beta", null, h("div", { slot: "content" }, this.i18n('link'))));
|
73
74
|
}
|
74
75
|
}
|
75
76
|
render() {
|
76
|
-
return (h(Host, { key: '
|
77
|
+
return (h(Host, { key: 'c51c67c1063f35575b11db91781763b1a54f9bb1' }, h("gux-button-slot", { key: '921372b56a841e108352fe26722d3455e3fcf799', accent: "ghost", "icon-only": true }, h("button", { key: '1fad4601444c237ae0931950b0bbe031ed265d7f', id: "popover-target", class: { 'gux-is-pressed': this.isActive || this.isOpen }, onClick: () => this.togglePopover(), ref: el => (this.actionButton = el), type: "button", disabled: this.disabled, "aria-label": this.i18n('link'), "aria-haspopup": "true", "aria-expanded": this.isOpen.toString(), "aria-pressed": this.isActive.toString() }, h("gux-icon", { key: 'aed90b615e1e1c4ff08113cfa08a08ee2289f663', size: "small", "icon-name": "fa/link-simple-regular", decorative: true })), this.renderTooltip()), h("gux-popover", { key: '4bf2e0f0c8d8e4b55b814fb45f654cc3a4aea66d', "is-open": this.isOpen, for: "popover-target" }, h("div", { key: '1238ca6fe3ca06e12d822a4d4e83e91181e8a44a', class: "gux-popover-content-wrapper" }, h("gux-form-field-text-like", { key: 'bd7adba7b234b2ee11fd48429757c5e4b8e4cbac' }, h("input", { key: '4e04b841b194fb92674af30148c9e6d843caaf56', id: "textToDisplay", ref: el => (this.textToDisplayInputElement = el), slot: "input", type: "text" }), h("label", { key: '239b6f659d59a85db2137691c9a4d7a05c003b83', slot: "label" }, this.i18n('textToDisplay'))), h("gux-form-field-text-like", { key: 'fe15940a60b7e196f24d578d101f1ef5caf0650c' }, h("input", { key: 'ad8a588ed0433b112929bbac1ee3a9371a467671', ref: el => (this.linkAddressInputElement = el), slot: "input", type: "text" }), h("label", { key: 'ed65192ef701827a4ed60579c51164aa1e4f15dd', slot: "label" }, this.i18n('linkAddress'))), h("gux-cta-group", { key: '6369a6d6bd4a5268c955d12a81b05de28a974f63', align: "end" }, h("gux-button", { key: '468ccc4f482e7a622d2ca3b4fee2b1aae413d831', onClick: () => this.emitLinkOptions(), slot: "primary" }, this.i18n('insert')), h("gux-button", { key: '8f46d9f041a70f747a56f398eaa62d346b86559f', onClick: () => this.togglePopover(), slot: "dismiss" }, this.i18n('cancel')))))));
|
77
78
|
}
|
78
79
|
static get is() { return "gux-rich-text-editor-action-link"; }
|
79
80
|
static get encapsulation() { return "shadow"; }
|
@@ -106,6 +107,24 @@ export class GuxRichTextEditorActionLink {
|
|
106
107
|
"attribute": "disabled",
|
107
108
|
"reflect": false,
|
108
109
|
"defaultValue": "false"
|
110
|
+
},
|
111
|
+
"isActive": {
|
112
|
+
"type": "boolean",
|
113
|
+
"mutable": false,
|
114
|
+
"complexType": {
|
115
|
+
"original": "boolean",
|
116
|
+
"resolved": "boolean",
|
117
|
+
"references": {}
|
118
|
+
},
|
119
|
+
"required": false,
|
120
|
+
"optional": false,
|
121
|
+
"docs": {
|
122
|
+
"tags": [],
|
123
|
+
"text": ""
|
124
|
+
},
|
125
|
+
"attribute": "is-active",
|
126
|
+
"reflect": false,
|
127
|
+
"defaultValue": "false"
|
109
128
|
}
|
110
129
|
};
|
111
130
|
}
|
@@ -134,6 +134,11 @@ export class GuxRichTextEditorActionRichStyle {
|
|
134
134
|
renderListItem(item) {
|
135
135
|
return (h("gux-truncate", { "max-lines": 1 }, item.textContent));
|
136
136
|
}
|
137
|
+
renderTooltip() {
|
138
|
+
if (!this.disabled && !this.expanded) {
|
139
|
+
return (h("gux-tooltip-beta", null, h("div", { slot: "content" }, this.i18n('richStyle'))));
|
140
|
+
}
|
141
|
+
}
|
137
142
|
onActionButtonClick() {
|
138
143
|
this.expanded = !this.expanded;
|
139
144
|
if (this.expanded) {
|
@@ -158,12 +163,12 @@ export class GuxRichTextEditorActionRichStyle {
|
|
158
163
|
return (h("div", { class: "gux-list-container", slot: "popup" }, h("gux-rich-text-editor-list", { ref: el => (this.listElement = el), onClick: e => this.onListClick(e) }, h("slot", null))));
|
159
164
|
}
|
160
165
|
renderTarget() {
|
161
|
-
return (h("gux-button-slot", { accent: "ghost", slot: "target" }, h("button", { type: "button", ref: el => (this.actionButton = el), class: { 'gux-is-pressed': this.expanded }, onClick: () => this.onActionButtonClick(), disabled: this.disabled || hasDisabledParent(this.root), "aria-haspopup": "true", "aria-expanded": this.expanded.toString() }, this.renderTargetDisplay(), h("gux-icon", { "icon-name": this.expanded
|
166
|
+
return (h("gux-button-slot", { accent: "ghost", slot: "target" }, h("button", { type: "button", ref: el => (this.actionButton = el), class: { 'gux-is-pressed': this.expanded }, onClick: () => this.onActionButtonClick(), disabled: this.disabled || hasDisabledParent(this.root), "aria-haspopup": "true", "aria-expanded": this.expanded.toString() }, this.renderTargetDisplay(), h("gux-icon", { size: "small", "icon-name": this.expanded
|
162
167
|
? 'custom/chevron-up-small-regular'
|
163
|
-
: 'custom/chevron-down-small-regular', "screenreader-text": this.i18n('richStyleDropdown') }))));
|
168
|
+
: 'custom/chevron-down-small-regular', "screenreader-text": this.i18n('richStyleDropdown') })), this.renderTooltip()));
|
164
169
|
}
|
165
170
|
render() {
|
166
|
-
return (h("gux-popup", { key: '
|
171
|
+
return (h("gux-popup", { key: '40e3c24df747dea627240ba4604c7d7c595a83b5', expanded: this.expanded, exceedTargetWidth: true, placement: "bottom-start" }, this.renderTarget(), this.renderPopup()));
|
167
172
|
}
|
168
173
|
static get is() { return "gux-rich-text-editor-action-rich-style"; }
|
169
174
|
static get encapsulation() { return "shadow"; }
|