genesys-spark-components 4.121.0 → 4.123.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-b47b8378.js → en-63e86478.js} +3 -1
- package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/{get-valid-timezone-a3319313.js → get-valid-timezone-92648ac9.js} +1 -1
- package/dist/cjs/gux-accordion-section.cjs.entry.js +6 -6
- package/dist/cjs/gux-accordion.cjs.entry.js +3 -3
- package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
- package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
- package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
- package/dist/cjs/{gux-avatar-overflow-beta_2.cjs.entry.js → gux-avatar-group-add-item-beta_3.cjs.entry.js} +43 -8
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +23 -8
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +5 -5
- package/dist/cjs/{gux-avatar-group.service-245cf1b7.js → gux-avatar-group.service-ee60ea24.js} +5 -1
- package/dist/cjs/gux-badge.cjs.entry.js +4 -4
- package/dist/cjs/gux-blank-state.cjs.entry.js +4 -4
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-button-slot.cjs.entry.js +3 -3
- package/dist/cjs/gux-button_2.cjs.entry.js +7 -7
- package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
- package/dist/cjs/gux-card.cjs.entry.js +4 -4
- package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
- package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
- package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
- package/dist/cjs/gux-cta-group.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +8 -8
- package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-description.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-color.cjs.entry.js +8 -8
- package/dist/cjs/{gux-form-field-container-d667bd55.js → gux-form-field-container-131e8408.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/{gux-form-field-error-ce0cf9e4.js → gux-form-field-error-b04c6f58.js} +1 -1
- package/dist/cjs/{gux-form-field-fieldset-container-1b27772e.js → gux-form-field-fieldset-container-3e2ced98.js} +1 -1
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-file.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-range.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-search.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-select.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +8 -8
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +7 -7
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-footer.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-heading.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-link-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-list-divider.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-loading-message.cjs.entry.js +3 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-modal.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-list_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-icon.cjs.entry.js +3 -3
- package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +3 -3
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-popover-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-popup.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +6 -6
- package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +299 -0
- package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +3 -3
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +8 -6
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +14 -11
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +7 -7
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +5 -5
- package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +140 -3
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +6 -5
- package/dist/cjs/gux-rich-text-editor.service-a1f5a275.js +84 -0
- package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-segmented-control-item.cjs.entry.js +5 -5
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +3 -3
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-sort-control.cjs.entry.js +6 -6
- package/dist/cjs/gux-submenu.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-item.cjs.entry.js +2 -2
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
- package/dist/cjs/gux-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +4 -4
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +6 -6
- package/dist/cjs/gux-table.cjs.entry.js +4 -4
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +3 -3
- package/dist/cjs/gux-tag.cjs.entry.js +4 -4
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-toast.cjs.entry.js +4 -4
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +5 -5
- package/dist/cjs/gux-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/{index-77202cdc.js → index-8f08a5ed.js} +31 -19
- package/dist/cjs/{index-8194d25c.js → index-c5d18923.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-2faf7467.js → on-click-outside-18d3c600.js} +1 -1
- package/dist/cjs/{on-mutation-e89e880e.js → on-mutation-86c636e6.js} +1 -1
- package/dist/cjs/{on-resize-810e9012.js → on-resize-15ff32b7.js} +5 -2
- package/dist/cjs/{usage-21313047.js → usage-cee7c9f5.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.css +29 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +67 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-item/gux-avatar-group-item.js +2 -2
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.css +4 -0
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.js +19 -4
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group.service.js +5 -1
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow-item/gux-avatar-overflow-item.js +2 -2
- package/dist/collection/components/beta/gux-avatar-group/gux-avatar-overflow/gux-avatar-overflow.js +2 -2
- 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 +2 -2
- 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 +2 -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.css +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 +7 -4
- 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 +1 -1
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action-group/gux-rich-text-editor-action-group.css +7 -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 +163 -3
- 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 +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 +2 -2
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-list.js +4 -3
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.css +89 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.js +213 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.css +24 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +142 -0
- package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.js +42 -0
- 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 +2 -2
- 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-file-beta/components/gux-file-list-item/gux-file-list-item.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/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 +2 -2
- package/dist/collection/components/stable/gux-icon/icons/custom/amb.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/custom/sun-bright-slash.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/message-plus-regular.svg +1 -0
- package/dist/collection/components/stable/gux-icon/icons/fa/wrench-regular.svg +1 -0
- 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/collection/utils/decorator/on-resize.js +4 -1
- package/dist/esm/{en-d5a4e07d.js → en-abdadc27.js} +3 -1
- package/dist/esm/{floating-ui.dom.esm-02309983.js → floating-ui.dom.esm-17bec7ce.js} +1 -1
- package/dist/esm/genesys-webcomponents.js +3 -3
- package/dist/esm/{get-valid-timezone-8f24f07d.js → get-valid-timezone-cecad33f.js} +1 -1
- package/dist/esm/gux-accordion-section.entry.js +6 -6
- package/dist/esm/gux-accordion.entry.js +3 -3
- package/dist/esm/gux-action-button.entry.js +5 -5
- package/dist/esm/gux-action-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
- package/dist/esm/gux-all-row-select.entry.js +3 -3
- package/dist/esm/gux-announce-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +3 -3
- package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
- package/dist/esm/{gux-avatar-overflow-beta_2.entry.js → gux-avatar-group-add-item-beta_3.entry.js} +44 -10
- package/dist/esm/gux-avatar-group-beta.entry.js +23 -8
- package/dist/esm/gux-avatar-group-item-beta.entry.js +5 -5
- package/dist/esm/{gux-avatar-group.service-f9030472.js → gux-avatar-group.service-0e62fde4.js} +5 -1
- package/dist/esm/gux-badge.entry.js +4 -4
- package/dist/esm/gux-blank-state.entry.js +4 -4
- package/dist/esm/gux-breadcrumb-item.entry.js +2 -2
- package/dist/esm/gux-breadcrumbs.entry.js +4 -4
- package/dist/esm/gux-button-multi.entry.js +4 -4
- package/dist/esm/gux-button-slot.entry.js +3 -3
- package/dist/esm/gux-button_2.entry.js +8 -8
- package/dist/esm/gux-calendar-beta.entry.js +3 -3
- package/dist/esm/gux-calendar.entry.js +4 -4
- package/dist/esm/gux-card.entry.js +4 -4
- package/dist/esm/gux-column-manager-item.entry.js +5 -5
- package/dist/esm/gux-column-manager.entry.js +4 -4
- package/dist/esm/gux-content-search.entry.js +5 -5
- package/dist/esm/gux-context-menu.entry.js +6 -6
- package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
- package/dist/esm/gux-create-option.entry.js +4 -4
- package/dist/esm/gux-cta-group.entry.js +2 -2
- package/dist/esm/gux-date-beta.entry.js +5 -5
- package/dist/esm/gux-date-time-beta.entry.js +5 -5
- package/dist/esm/gux-datepicker.entry.js +6 -6
- package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
- package/dist/esm/gux-dismiss-button.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
- package/dist/esm/gux-dropdown-multi.entry.js +6 -6
- package/dist/esm/gux-dropdown-option.entry.js +2 -2
- package/dist/esm/gux-dropdown_3.entry.js +8 -8
- package/dist/esm/gux-file-list-item.entry.js +5 -5
- package/dist/esm/gux-flag-icon-beta.entry.js +3 -3
- package/dist/esm/gux-flyout-menu.entry.js +5 -5
- package/dist/esm/gux-form-beta.entry.js +2 -2
- package/dist/esm/gux-form-description.entry.js +2 -2
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-checkbox.entry.js +6 -6
- package/dist/esm/gux-form-field-color.entry.js +8 -8
- package/dist/esm/{gux-form-field-container-8ca069d2.js → gux-form-field-container-ddad54b9.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
- package/dist/esm/{gux-form-field-error-ffe2439b.js → gux-form-field-error-d4daeee8.js} +1 -1
- package/dist/esm/{gux-form-field-fieldset-container-afc88f04.js → gux-form-field-fieldset-container-c4354c28.js} +1 -1
- package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
- package/dist/esm/gux-form-field-file.entry.js +6 -6
- package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
- package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
- package/dist/esm/gux-form-field-number_2.entry.js +14 -14
- package/dist/esm/gux-form-field-phone.entry.js +10 -10
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
- package/dist/esm/gux-form-field-radio.entry.js +6 -6
- package/dist/esm/gux-form-field-range.entry.js +8 -8
- package/dist/esm/gux-form-field-search.entry.js +8 -8
- package/dist/esm/gux-form-field-select.entry.js +8 -8
- package/dist/esm/gux-form-field-text-like.entry.js +8 -8
- package/dist/esm/gux-form-field-textarea.entry.js +7 -7
- package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
- package/dist/esm/gux-form-fieldset-heading.entry.js +2 -2
- package/dist/esm/gux-form-footer.entry.js +4 -4
- package/dist/esm/gux-form-heading.entry.js +2 -2
- package/dist/esm/gux-icon-tooltip-beta.entry.js +3 -3
- package/dist/esm/gux-icon.entry.js +3 -3
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- package/dist/esm/gux-label-info-beta.entry.js +3 -3
- package/dist/esm/gux-link-beta.entry.js +3 -3
- package/dist/esm/gux-list-divider.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +2 -2
- package/dist/esm/gux-list.entry.js +3 -3
- package/dist/esm/gux-listbox-multi.entry.js +3 -3
- package/dist/esm/gux-loading-message.entry.js +3 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/gux-menu.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +4 -4
- package/dist/esm/gux-modal-side-panel-beta.entry.js +3 -3
- package/dist/esm/gux-modal.entry.js +3 -3
- package/dist/esm/gux-month-calendar.entry.js +3 -3
- package/dist/esm/gux-month-list_2.entry.js +3 -3
- package/dist/esm/gux-month-picker-beta.entry.js +5 -5
- package/dist/esm/gux-notification-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-option-group-beta.entry.js +2 -2
- package/dist/esm/gux-option-icon.entry.js +3 -3
- package/dist/esm/gux-option-multi.entry.js +4 -4
- package/dist/esm/gux-page-loading-spinner.entry.js +3 -3
- package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
- package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
- package/dist/esm/gux-pagination-legacy.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +3 -3
- package/dist/esm/gux-phone-input-beta.entry.js +5 -5
- package/dist/esm/gux-popover-beta.entry.js +6 -6
- package/dist/esm/gux-popover-list-beta.entry.js +6 -6
- package/dist/esm/gux-popover-list.entry.js +6 -6
- package/dist/esm/gux-popup.entry.js +5 -5
- package/dist/esm/gux-radial-loading.entry.js +4 -4
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +3 -3
- package/dist/esm/gux-rich-highlight-list-item.entry.js +6 -6
- package/dist/esm/gux-rich-style-list-item_3.entry.js +293 -0
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +3 -3
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +8 -6
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +14 -11
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +7 -7
- package/dist/esm/gux-rich-text-editor-action.entry.js +5 -5
- package/dist/esm/gux-rich-text-editor-beta.entry.js +140 -3
- package/dist/esm/gux-rich-text-editor-list.entry.js +6 -5
- package/dist/esm/gux-rich-text-editor.service-dcce5e51.js +80 -0
- package/dist/esm/gux-row-select.entry.js +4 -4
- package/dist/esm/gux-screen-reader-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-beta.entry.js +3 -3
- package/dist/esm/gux-segmented-control-item.entry.js +5 -5
- package/dist/esm/gux-selector-card-beta.entry.js +4 -4
- package/dist/esm/gux-selector-cards-beta.entry.js +3 -3
- package/dist/esm/gux-side-panel-beta.entry.js +4 -4
- package/dist/esm/gux-side-panel-heading.entry.js +3 -3
- package/dist/esm/gux-simple-toast-legacy.entry.js +3 -3
- package/dist/esm/gux-skip-navigation-item.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
- package/dist/esm/gux-sort-control.entry.js +6 -6
- package/dist/esm/gux-submenu.entry.js +5 -5
- package/dist/esm/gux-switch-item.entry.js +2 -2
- package/dist/esm/gux-switch-legacy.entry.js +3 -3
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +2 -2
- package/dist/esm/gux-tab-advanced.entry.js +4 -4
- package/dist/esm/gux-tab-list.entry.js +5 -5
- package/dist/esm/gux-tab-panel.entry.js +2 -2
- package/dist/esm/gux-tab.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-action.entry.js +4 -4
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +3 -3
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
- package/dist/esm/gux-table-toolbar.entry.js +6 -6
- package/dist/esm/gux-table.entry.js +4 -4
- package/dist/esm/gux-tabs-advanced.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +3 -3
- package/dist/esm/gux-tag.entry.js +4 -4
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +5 -5
- package/dist/esm/gux-time-picker.entry.js +5 -5
- package/dist/esm/gux-time-zone-beta.entry.js +4 -4
- package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
- package/dist/esm/gux-toast.entry.js +4 -4
- package/dist/esm/gux-toggle-slider.entry.js +3 -3
- package/dist/esm/gux-toggle.entry.js +5 -5
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +7 -7
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +11 -11
- package/dist/esm/{index-5a5cba3c.js → index-6de381c6.js} +1 -1
- package/dist/esm/{index-46ac98b8.js → index-91950719.js} +31 -19
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{on-click-outside-fe48b6ef.js → on-click-outside-25728f99.js} +1 -1
- package/dist/esm/{on-mutation-c5880cd8.js → on-mutation-22820853.js} +1 -1
- package/dist/esm/{on-resize-6439d074.js → on-resize-61e616c2.js} +5 -2
- package/dist/esm/{overflow-detection-3f73a512.js → overflow-detection-7e4fbf13.js} +1 -1
- package/dist/esm/{usage-aeffac7c.js → usage-2c9a4d54.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/icons/custom/amb.svg +1 -0
- package/dist/genesys-webcomponents/icons/custom/sun-bright-slash.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/message-plus-regular.svg +1 -0
- package/dist/genesys-webcomponents/icons/fa/wrench-regular.svg +1 -0
- package/dist/genesys-webcomponents/{p-5be32e5a.entry.js → p-0095b1a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd9a0cf6.entry.js → p-01780e86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c7e70a1e.entry.js → p-01fd383c.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-0afaf0e0.entry.js → p-063dc5ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-06dd3571.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4c4155d0.entry.js → p-08066a45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2ed4bd8e.entry.js → p-0a72a5b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fd939b83.entry.js → p-0bfed962.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9ef440e7.entry.js → p-0d5de42d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9457e274.entry.js → p-0d6a8191.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6341e3be.entry.js → p-0e0ef4a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b71cdb5c.entry.js → p-0e900117.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0eeb6746.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ad1d5433.entry.js → p-105a1ebe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8f740fdd.entry.js → p-12dd689a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a0d54e2.entry.js → p-15e2e14d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e07238b5.js → p-166634e1.js} +1 -1
- package/dist/genesys-webcomponents/{p-c00899ed.entry.js → p-1bb32259.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1d9ed425.js +1 -0
- package/dist/genesys-webcomponents/{p-0d934a3d.entry.js → p-1dc5e034.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bab90d6c.entry.js → p-1e5144ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-21e2f0cc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dcbc2b4d.entry.js → p-22614ed6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22c19dc2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8e498805.entry.js → p-24ad939b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-24740f58.entry.js → p-24ee5102.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0af9e459.entry.js → p-2513fba1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05d65a74.entry.js → p-262a22b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-279ade3b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2c045ab3.entry.js → p-27e99f5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-29a591e0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-07b5306e.entry.js → p-2e39b980.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2ec5ea1e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7c2a1547.entry.js → p-33f3269e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fec67d3b.entry.js → p-366caebe.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-37ab2172.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dc15dc51.entry.js → p-3a05bb21.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-223d0c44.entry.js → p-3b4943fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4745d35a.entry.js → p-3cbef447.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-407955df.entry.js → p-400ba313.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c6616179.entry.js → p-45c16b00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-829b00ea.entry.js → p-4a113db7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cd84603e.entry.js → p-50310211.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8d937b3a.entry.js → p-51a3d71f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-52d53e47.js +1 -0
- package/dist/genesys-webcomponents/p-52d73ad3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dab0fa24.entry.js → p-539eba16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b3c32bf9.entry.js → p-5639a5e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16112508.entry.js → p-5d04c86c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b96638d1.entry.js → p-5faaeb1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ceea3e23.entry.js → p-62026921.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64b71031.entry.js → p-67440c93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a19da40.entry.js → p-6798eb63.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-863e4212.entry.js → p-6903b856.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6d772a2f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bcdfd45d.entry.js → p-70955497.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2cc9ae49.entry.js → p-725055fe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f6c052d.js → p-727bfafa.js} +1 -1
- package/dist/genesys-webcomponents/p-72b10e95.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3ac5ea35.entry.js → p-74a1d9ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9f84c85.entry.js → p-76362633.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bb0e2263.entry.js → p-76b32737.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7c1512f1.entry.js → p-7834e8b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5bb296e5.entry.js → p-7977d063.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13c3f59a.entry.js → p-7ada77c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ecb103d2.entry.js → p-7b5cfddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4430a047.entry.js → p-7e7d9b61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f75fe956.js → p-8437bb5a.js} +1 -1
- package/dist/genesys-webcomponents/{p-322a4ac4.entry.js → p-848bdebb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-91db7637.entry.js → p-84a31c7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11f01287.entry.js → p-85f3a0fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2f2c0a9.js → p-864af39c.js} +1 -1
- package/dist/genesys-webcomponents/{p-3fbc28da.entry.js → p-877930b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-758a09ee.entry.js → p-8902a036.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f14001c3.entry.js → p-8a727cfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8d41c7cc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-82313c68.entry.js → p-8d90c6fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8df778a2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-04b4d45e.entry.js → p-8e8c67db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c71ac166.entry.js → p-90873e49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a98c6c1.entry.js → p-946fb7d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-94c2e132.entry.js +1 -0
- package/dist/genesys-webcomponents/p-94d4a224.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fb7a248f.entry.js → p-95ec698f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80a97fc8.entry.js → p-9626cf96.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-972d1404.entry.js +1 -0
- package/dist/genesys-webcomponents/p-979756fc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a786e13c.entry.js → p-97bc37b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dcf8dc8f.entry.js → p-98fa2f26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-376672c7.entry.js → p-99e97692.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b869d4ba.entry.js → p-9b2b7dca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9db8610f.entry.js +1 -0
- package/dist/genesys-webcomponents/p-9ffd8ad9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-58a818e0.entry.js → p-a3695df9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c732e615.entry.js → p-a4b04afd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-78177f9e.entry.js → p-a51d68dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9f2d2ca.entry.js → p-a573e43b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a6ca79ce.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-33aab5f6.entry.js → p-a7512630.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-47dc10ec.entry.js → p-a9852dbc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61b02448.entry.js → p-a9b7eec3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73e1f574.js → p-ad9b3d73.js} +1 -1
- package/dist/genesys-webcomponents/p-b2e29026.js +1 -0
- package/dist/genesys-webcomponents/{p-db6b7335.entry.js → p-b3535a8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b61f80ae.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6d6bfb64.entry.js → p-b6770aac.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b6be214e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-472ca4fd.entry.js → p-b7347eb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b7b925ec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ade65540.entry.js → p-b89f270e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b8b1cdbf.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6a8cd948.entry.js → p-b99f3f9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d2783573.entry.js → p-bbdb689e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b6e6236.entry.js → p-bd202335.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f88537e3.entry.js → p-bd544cf5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-be33ce5f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f4fc72b1.entry.js → p-bf591743.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-85c69592.entry.js → p-c3c963a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-65fb4722.entry.js → p-c4bb140c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-025fafca.entry.js → p-c7f1ff13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-71b70727.entry.js → p-ca0945a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ca64e9fd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-32a937ab.entry.js → p-cb05620c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cb4a5155.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3e2bd648.entry.js → p-cb7cfce2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af42c93e.entry.js → p-cbb98fa5.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cc3c3c56.js +1 -0
- package/dist/genesys-webcomponents/{p-b1cc2f1a.entry.js → p-cc6dfea9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75cc895d.entry.js → p-cfb7293c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d15985f1.js → p-cfeaf436.js} +1 -1
- package/dist/genesys-webcomponents/{p-b5c68855.entry.js → p-d0de678b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d0f4d1eb.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-64b71548.entry.js → p-d31fb265.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d5d582f1.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-18789e75.entry.js → p-d62c6a71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-858f3533.entry.js → p-d6e5175b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e1bda51.js → p-da087c59.js} +1 -1
- package/dist/genesys-webcomponents/{p-6e0ebe5c.entry.js → p-da2a54aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2442f929.entry.js → p-da750227.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4910c889.entry.js → p-db241209.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6e2cd11.entry.js → p-db2f7dc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c726743.js → p-db306845.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b3d1bdf.entry.js → p-dc9713fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-505f8e0a.entry.js → p-dd539618.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8cb06422.entry.js → p-ddd20c69.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5592e014.entry.js → p-e03a69b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5f8710dd.entry.js → p-e414408c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1d956af6.entry.js → p-ec7fb58f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-864d63fe.js → p-f01d2320.js} +1 -1
- package/dist/genesys-webcomponents/{p-e5270d63.entry.js → p-f060d70b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f0e2ae89.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f382d13f.entry.js → p-f0f830ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec6fcfb7.entry.js → p-f18089ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ccd0ab7.entry.js → p-f27f9eed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43c2099f.entry.js → p-f4f55946.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a006b67f.entry.js → p-f71f3692.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5ebe111e.entry.js → p-f8820aff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-084b7a5d.entry.js → p-f8dce124.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3ee43f46.entry.js → p-f9d9be12.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fc85e603.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fbf14218.js → p-fcca9736.js} +1 -1
- package/dist/genesys-webcomponents/{p-0ec90cf0.entry.js → p-fe23764b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-fe71fb5e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-92b0df1d.entry.js → p-fec416c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ff12eb63.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c2c3c0b3.entry.js → p-ff402d97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7294f3db.entry.js → p-ffae26f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ffb7c9dc.js +2 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.d.ts +10 -0
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.d.ts +1 -0
- package/dist/types/components/beta/gux-avatar-group/gux-avatar-group.types.d.ts +1 -1
- 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-beta.d.ts +20 -1
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-text-editor-sub-list/gux-rich-text-editor-sub-list.d.ts +24 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.d.ts +18 -0
- package/dist/types/components/beta/gux-rich-text-editor/gux-rich-text-editor.service.d.ts +1 -0
- package/dist/types/components/stable/gux-icon/gux-icon.types.d.ts +1 -1
- package/dist/types/components.d.ts +58 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +0 -44
- package/dist/cjs/gux-rich-text-editor.service-fd5edfcf.js +0 -41
- package/dist/esm/gux-rich-style-list-item.entry.js +0 -40
- package/dist/esm/gux-rich-text-editor.service-144f4651.js +0 -38
- package/dist/genesys-webcomponents/p-0175f864.entry.js +0 -1
- package/dist/genesys-webcomponents/p-086c5088.js +0 -2
- package/dist/genesys-webcomponents/p-12076eff.entry.js +0 -1
- package/dist/genesys-webcomponents/p-19b2829e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1b19a8cf.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1bf0712b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-20d9168e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-226f4b80.entry.js +0 -1
- package/dist/genesys-webcomponents/p-24626749.entry.js +0 -1
- package/dist/genesys-webcomponents/p-274517cc.js +0 -1
- package/dist/genesys-webcomponents/p-2a99f284.js +0 -1
- package/dist/genesys-webcomponents/p-2ddeb267.js +0 -1
- package/dist/genesys-webcomponents/p-358ed160.entry.js +0 -1
- package/dist/genesys-webcomponents/p-49dc9d02.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4af9bc95.entry.js +0 -1
- package/dist/genesys-webcomponents/p-52098c74.entry.js +0 -1
- package/dist/genesys-webcomponents/p-634f9e9f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6e20bf44.entry.js +0 -1
- package/dist/genesys-webcomponents/p-76c54dc2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8870ada9.entry.js +0 -1
- package/dist/genesys-webcomponents/p-89102370.entry.js +0 -1
- package/dist/genesys-webcomponents/p-923da1ea.entry.js +0 -1
- package/dist/genesys-webcomponents/p-94597229.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a2b6017c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a47378d6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a6c36b2c.js +0 -1
- package/dist/genesys-webcomponents/p-b1ba1256.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b2f79866.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b83b4a0b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d183c456.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dbe56054.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e52514cc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ec176239.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ec39bba4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f40bbee0.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f804daa5.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fc8d3f20.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ffe0ecce.entry.js +0 -1
@@ -14,6 +14,7 @@ import { trackComponent } from "../../../../../utils/tracking/usage";
|
|
14
14
|
import { buildI18nForComponent } from "../../../../../i18n/index";
|
15
15
|
import translationResources from "../i18n/en.json";
|
16
16
|
import { afterNextRender } from "../../../../../utils/dom/after-next-render";
|
17
|
+
import { hasDisabledParent } from "../../gux-rich-text-editor.service";
|
17
18
|
export class GuxRichTextEditorActionLink {
|
18
19
|
constructor() {
|
19
20
|
this.disabled = false;
|
@@ -74,7 +75,7 @@ export class GuxRichTextEditorActionLink {
|
|
74
75
|
}
|
75
76
|
}
|
76
77
|
render() {
|
77
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: 'a52d8e6349d4b6fc33f9b45e14aee9818589a56b' }, h("gux-button-slot", { key: '01932efb7f846d04279bbef7425c8c420e11226a', accent: "ghost", "icon-only": true }, h("button", { key: 'ceee1786a52a0cf6c8ac79433d0c5a0b9375bea8', id: "popover-target", class: { 'gux-is-pressed': this.isActive || this.isOpen }, onClick: () => this.togglePopover(), ref: el => (this.actionButton = el), type: "button", disabled: this.disabled || hasDisabledParent(this.root), "aria-label": this.i18n('link'), "aria-haspopup": "true", "aria-expanded": this.isOpen.toString(), "aria-pressed": this.isActive.toString() }, h("gux-icon", { key: '3356d333fc7b6f2cda7d72b97196648af125f3ed', size: "small", "icon-name": "fa/link-simple-regular", decorative: true })), this.renderTooltip()), h("gux-popover", { key: '0ab02cd9b64fdd8d16379041d054457a65c5f9ae', "is-open": this.isOpen, for: "popover-target" }, h("div", { key: 'e7832a550bce5968ab722f9c7a67599d2b73924d', class: "gux-popover-content-wrapper" }, h("gux-form-field-text-like", { key: '97ecdbdb6b2e03bc4d187088b5f7196d437d47d6' }, h("input", { key: '39e5ad15e4c18074e5a90fcedfef76bb29730469', id: "textToDisplay", ref: el => (this.textToDisplayInputElement = el), slot: "input", type: "text" }), h("label", { key: 'd87abf3d276e9243251714c1e8b4e1dfe5c8cda6', slot: "label" }, this.i18n('textToDisplay'))), h("gux-form-field-text-like", { key: 'c87795f31d0d954fe0c7cb740acbd8460c710728' }, h("input", { key: '78bcbcefe6a2c1a9fcd5c6796beb6d50176eb69e', ref: el => (this.linkAddressInputElement = el), slot: "input", type: "text" }), h("label", { key: '632ba33b6ae356917bca3b60d1ca00668a1ed60c', slot: "label" }, this.i18n('linkAddress'))), h("gux-cta-group", { key: '2008fabff6da53e39b5d4fcfe1a7b17b529a3aec', align: "end" }, h("gux-button", { key: '028dee824f38d29abd96c891797ca78f682373ac', onClick: () => this.emitLinkOptions(), slot: "primary" }, this.i18n('insert')), h("gux-button", { key: '670e16d66a2294a61f9e6e96eb35d08067778aba', onClick: () => this.togglePopover(), slot: "dismiss" }, this.i18n('cancel')))))));
|
78
79
|
}
|
79
80
|
static get is() { return "gux-rich-text-editor-action-link"; }
|
80
81
|
static get encapsulation() { return "shadow"; }
|
@@ -131,6 +131,11 @@ export class GuxRichTextEditorActionRichStyle {
|
|
131
131
|
}
|
132
132
|
}
|
133
133
|
}
|
134
|
+
renderMenu() {
|
135
|
+
return (h("div", { class: "gux-target-display" }, this.renderTargetDisplay(), h("gux-icon", { "icon-name": this.expanded
|
136
|
+
? 'custom/chevron-up-small-regular'
|
137
|
+
: 'custom/chevron-down-small-regular', "screenreader-text": this.i18n('richStyleDropdown') })));
|
138
|
+
}
|
134
139
|
renderListItem(item) {
|
135
140
|
return (h("gux-truncate", { "max-lines": 1 }, item.textContent));
|
136
141
|
}
|
@@ -163,12 +168,10 @@ export class GuxRichTextEditorActionRichStyle {
|
|
163
168
|
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))));
|
164
169
|
}
|
165
170
|
renderTarget() {
|
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.
|
167
|
-
? 'custom/chevron-up-small-regular'
|
168
|
-
: 'custom/chevron-down-small-regular', "screenreader-text": this.i18n('richStyleDropdown') })), this.renderTooltip()));
|
171
|
+
return (h("gux-button-slot", { accent: "ghost", slot: "target", "icon-only": true }, 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.renderMenu()), this.renderTooltip()));
|
169
172
|
}
|
170
173
|
render() {
|
171
|
-
return (h("gux-popup", { key: '
|
174
|
+
return (h("gux-popup", { key: 'a0ab8d22aeefe6381bc2aa164aa88719f83ae884', expanded: this.expanded, exceedTargetWidth: true, placement: "bottom-start" }, this.renderTarget(), this.renderPopup()));
|
172
175
|
}
|
173
176
|
static get is() { return "gux-rich-text-editor-action-rich-style"; }
|
174
177
|
static get encapsulation() { return "shadow"; }
|
@@ -107,7 +107,7 @@ export class GuxRichTextEditorActionTextHighlight {
|
|
107
107
|
return (h("gux-button-slot", { accent: "ghost", "icon-only": true, slot: "target" }, h("button", { type: "button", ref: el => (this.actionButton = el), onClick: () => this.togglePopup(), disabled: this.disabled || hasDisabledParent(this.root), class: { 'gux-is-pressed': this.isActive || this.expanded }, "aria-haspopup": "true", "aria-expanded": this.expanded.toString(), "aria-pressed": this.isActive.toString() }, h("gux-icon", { size: "small", "icon-name": "fa/highlighter-line-regular", "screenreader-text": this.i18n('textHighlight') })), this.renderTooltip()));
|
108
108
|
}
|
109
109
|
render() {
|
110
|
-
return (h("gux-popup", { key: '
|
110
|
+
return (h("gux-popup", { key: 'f786209a85a13554c1cb186a57be60241cb1a4e0', disabled: this.disabled, expanded: this.expanded, exceedTargetWidth: true, placement: "bottom-start" }, this.renderTarget(), this.renderPopup()));
|
111
111
|
}
|
112
112
|
static get is() { return "gux-rich-text-editor-action-text-highlight"; }
|
113
113
|
static get encapsulation() { return "shadow"; }
|
@@ -3,6 +3,13 @@
|
|
3
3
|
flex-direction: row;
|
4
4
|
}
|
5
5
|
|
6
|
+
:host(.gux-hidden) .gux-divider {
|
7
|
+
display: none;
|
8
|
+
}
|
9
|
+
:host(.gux-hidden) ::slotted(:not(gux-rich-text-editor-action-link)) {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
6
13
|
.gux-action-group-container {
|
7
14
|
display: flex;
|
8
15
|
flex-direction: row;
|
@@ -12,7 +12,7 @@ export class GuxRichTextEditorActionGroup {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
render() {
|
15
|
-
return (h(Host, { key: '
|
15
|
+
return (h(Host, { key: 'a35f7ec5b917b7e8bce41629baa118c98fbec1a4' }, h("div", { key: '4efa85c4228ef1e1b83fcc4011dbeccb8dbb80a7', class: "gux-action-group-container" }, h("slot", { key: '7636078e38b86dbb24df707a2f88eeeeee672472' })), this.renderActionGroupDivider()));
|
16
16
|
}
|
17
17
|
static get is() { return "gux-rich-text-editor-action-group"; }
|
18
18
|
static get encapsulation() { return "shadow"; }
|
@@ -1,5 +1,20 @@
|
|
1
|
-
|
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, readTask } from "@stencil/core";
|
12
|
+
import { OnResize } from "../../../utils/decorator/on-resize";
|
2
13
|
import { hasSlot } from "../../../utils/dom/has-slot";
|
14
|
+
import { trackComponent } from "../../../utils/tracking/usage";
|
15
|
+
import { getActionsFromGroup } from "./gux-rich-text-editor.service";
|
16
|
+
import { buildI18nForComponent } from "../../../i18n/index";
|
17
|
+
import translationResources from "./gux-rich-text-editor-action/i18n/en.json";
|
3
18
|
/**
|
4
19
|
* @slot typographical-emphasis - Slot for typographical actions.
|
5
20
|
* @slot text-styling - Slot for text-styling actions.
|
@@ -11,6 +26,122 @@ import { hasSlot } from "../../../utils/dom/has-slot";
|
|
11
26
|
export class GuxRichTextEditor {
|
12
27
|
constructor() {
|
13
28
|
this.disabled = false;
|
29
|
+
this.typographicalEmphasisActions = [];
|
30
|
+
this.textStylingActions = [];
|
31
|
+
this.listsAndIndentationActions = [];
|
32
|
+
this.insertingActions = [];
|
33
|
+
}
|
34
|
+
checkResponsiveLayout() {
|
35
|
+
readTask(() => {
|
36
|
+
this.handleOverflow();
|
37
|
+
this.getHiddenActions();
|
38
|
+
});
|
39
|
+
}
|
40
|
+
async componentWillLoad() {
|
41
|
+
trackComponent(this.root);
|
42
|
+
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
43
|
+
}
|
44
|
+
componentDidLoad() {
|
45
|
+
this.checkResponsiveLayout();
|
46
|
+
}
|
47
|
+
componentDidUpdate() {
|
48
|
+
this.handleOverflow();
|
49
|
+
}
|
50
|
+
isOverFlowing() {
|
51
|
+
var _a;
|
52
|
+
const container = (_a = this.root) === null || _a === void 0 ? void 0 : _a.shadowRoot.querySelector('.gux-rich-text-editor-toolbar-container');
|
53
|
+
// A group of gux-rich-text-editor-action-group.
|
54
|
+
const children = Array.from(container.children);
|
55
|
+
// Calculate the total width of all children excluding hidden (gux-rich-text-editor-action-groups).
|
56
|
+
const totalWidth = children
|
57
|
+
.filter(child => !child.classList.contains('gux-hidden'))
|
58
|
+
.reduce((sum, child) => sum + child.clientWidth, 0);
|
59
|
+
return totalWidth > container.clientWidth;
|
60
|
+
}
|
61
|
+
handleOverflow() {
|
62
|
+
const actionGroups = Array.from(this.root.querySelectorAll('gux-rich-text-editor-action-group'));
|
63
|
+
// Hide last visible action group until there's no overflow.
|
64
|
+
while (this.isOverFlowing()) {
|
65
|
+
let hidden = false;
|
66
|
+
for (let i = actionGroups.length - 1; i >= 0; i--) {
|
67
|
+
if (!actionGroups[i].classList.contains('gux-hidden')) {
|
68
|
+
actionGroups[i].classList.add('gux-hidden');
|
69
|
+
hidden = true;
|
70
|
+
break;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
// If no more action groups to hide, exit loop
|
74
|
+
if (!hidden) {
|
75
|
+
break;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
// Show previously hidden groups if space is available
|
79
|
+
for (const group of actionGroups) {
|
80
|
+
if (group.classList.contains('gux-hidden')) {
|
81
|
+
group.classList.remove('gux-hidden');
|
82
|
+
// If it causes overflow again, re-hide the group and stop the loop
|
83
|
+
if (this.isOverFlowing()) {
|
84
|
+
group.classList.add('gux-hidden');
|
85
|
+
break;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
getHiddenActions() {
|
91
|
+
this.typographicalEmphasisActions = getActionsFromGroup(this.root, 'gux-rich-text-editor-action-group[slot="typographical-emphasis"]', 'gux-hidden');
|
92
|
+
this.listsAndIndentationActions = getActionsFromGroup(this.root, 'gux-rich-text-editor-action-group[slot="lists-indentation"]', 'gux-hidden');
|
93
|
+
this.textStylingActions = getActionsFromGroup(this.root, 'gux-rich-text-editor-action-group[slot="text-styling"]', 'gux-hidden');
|
94
|
+
this.insertingActions = getActionsFromGroup(this.root, 'gux-rich-text-editor-action-group[slot="inserting"]', 'gux-hidden');
|
95
|
+
}
|
96
|
+
getAllActions() {
|
97
|
+
return [
|
98
|
+
...this.textStylingActions,
|
99
|
+
...this.typographicalEmphasisActions,
|
100
|
+
...this.listsAndIndentationActions,
|
101
|
+
...this.insertingActions
|
102
|
+
];
|
103
|
+
}
|
104
|
+
categorizeActions(allActions) {
|
105
|
+
const richStylePrefix = 'rich-style-';
|
106
|
+
const highlightPrefix = 'highlight-';
|
107
|
+
const richStyleActions = [];
|
108
|
+
const highlightActions = [];
|
109
|
+
const filteredActions = [];
|
110
|
+
allActions.forEach(action => {
|
111
|
+
if (action.startsWith(richStylePrefix)) {
|
112
|
+
richStyleActions.push(action.slice(richStylePrefix.length));
|
113
|
+
}
|
114
|
+
else if (action.startsWith(highlightPrefix)) {
|
115
|
+
highlightActions.push(action.slice(highlightPrefix.length));
|
116
|
+
}
|
117
|
+
else {
|
118
|
+
filteredActions.push(action);
|
119
|
+
}
|
120
|
+
});
|
121
|
+
return { richStyleActions, highlightActions, filteredActions };
|
122
|
+
}
|
123
|
+
renderListItems(actions, useInnerHTML = false) {
|
124
|
+
return actions.map((action, index) => {
|
125
|
+
const actionText = action.replace(/<\/?[^>]+(>|$)/g, ''); // Remove HTML tags
|
126
|
+
return (h("gux-rich-style-list-item", Object.assign({ onClick: () => this.guxToggleAction.emit(actionText), key: index, value: actionText }, (useInnerHTML ? { innerHTML: action } : {})), !useInnerHTML && (this.i18n(actionText) || actionText)));
|
127
|
+
});
|
128
|
+
}
|
129
|
+
renderSubList(labelKey, actions, useInnerHTML = false) {
|
130
|
+
if (actions.length > 0) {
|
131
|
+
return (h("gux-rich-text-editor-sub-list", { label: this.i18n(labelKey) }, this.renderListItems(actions, useInnerHTML)));
|
132
|
+
}
|
133
|
+
}
|
134
|
+
renderHighlightSubList(actions) {
|
135
|
+
if (actions.length > 0) {
|
136
|
+
return (h("gux-rich-text-editor-sub-list", { label: this.i18n('textHighlight') }, this.renderListItems(actions), h("gux-rich-style-list-item", { onClick: () => this.guxToggleAction.emit('noHighlightAction'), value: "noHighlight" }, h("gux-truncate", { "max-lines": 1 }, this.i18n('noHighlight')))));
|
137
|
+
}
|
138
|
+
}
|
139
|
+
renderTextEditorMenu() {
|
140
|
+
const allActions = this.getAllActions();
|
141
|
+
if (allActions.length > 0) {
|
142
|
+
const { richStyleActions, highlightActions, filteredActions } = this.categorizeActions(allActions);
|
143
|
+
return (h("gux-rich-text-editor-menu", null, this.renderListItems(filteredActions), this.renderSubList('richStyle', richStyleActions, true), this.renderHighlightSubList(highlightActions)));
|
144
|
+
}
|
14
145
|
}
|
15
146
|
renderSlot(slotName, containerClass) {
|
16
147
|
if (hasSlot(this.root, slotName)) {
|
@@ -34,10 +165,10 @@ export class GuxRichTextEditor {
|
|
34
165
|
return this.renderSlot('global-action', 'gux-global-action-container');
|
35
166
|
}
|
36
167
|
render() {
|
37
|
-
return (h("div", { key: '
|
168
|
+
return (h("div", { key: '40a431abfae4b59ab2cb5d6858669d95d67dd70f', class: {
|
38
169
|
'gux-rich-text-editor-container': true,
|
39
170
|
'gux-disabled': this.disabled
|
40
|
-
} }, h("div", { key: '
|
171
|
+
} }, h("div", { key: 'd69396356a78fe4f3af77c5d0da2d475085cb57b', class: "gux-rich-text-editor-toolbar-container" }, this.renderTypographicalEmphasis(), this.renderTextStyling(), this.renderListsIndentation(), this.renderInserting(), this.renderTextEditorMenu(), this.renderGlobalAction()), h("slot", { key: '8346fe65a8764fc084dfb38857cd2309f4f89835', name: "editor" })));
|
41
172
|
}
|
42
173
|
static get is() { return "gux-rich-text-editor-beta"; }
|
43
174
|
static get encapsulation() { return "shadow"; }
|
@@ -73,5 +204,34 @@ export class GuxRichTextEditor {
|
|
73
204
|
}
|
74
205
|
};
|
75
206
|
}
|
207
|
+
static get states() {
|
208
|
+
return {
|
209
|
+
"typographicalEmphasisActions": {},
|
210
|
+
"textStylingActions": {},
|
211
|
+
"listsAndIndentationActions": {},
|
212
|
+
"insertingActions": {}
|
213
|
+
};
|
214
|
+
}
|
215
|
+
static get events() {
|
216
|
+
return [{
|
217
|
+
"method": "guxToggleAction",
|
218
|
+
"name": "guxToggleAction",
|
219
|
+
"bubbles": true,
|
220
|
+
"cancelable": true,
|
221
|
+
"composed": true,
|
222
|
+
"docs": {
|
223
|
+
"tags": [],
|
224
|
+
"text": ""
|
225
|
+
},
|
226
|
+
"complexType": {
|
227
|
+
"original": "string",
|
228
|
+
"resolved": "string",
|
229
|
+
"references": {}
|
230
|
+
}
|
231
|
+
}];
|
232
|
+
}
|
76
233
|
static get elementRef() { return "root"; }
|
77
234
|
}
|
235
|
+
__decorate([
|
236
|
+
OnResize()
|
237
|
+
], GuxRichTextEditor.prototype, "checkResponsiveLayout", null);
|
@@ -34,10 +34,10 @@ export class GuxRichHighlightListItem {
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
render() {
|
37
|
-
return (h("div", { key: '
|
37
|
+
return (h("div", { key: 'e800e2d6432d1b54bb126bbff56f9977a0fd83ff', class: {
|
38
38
|
'gux-highlight': true,
|
39
39
|
[`gux-${this.highlight}`]: true
|
40
|
-
}, role: "listitem" }, h("button", { key: '
|
40
|
+
}, role: "listitem" }, h("button", { key: '40073a6d93f2ee28e0f681892e60865cd7ab3686', type: "button", "aria-label": this.i18n(`${this.highlight}`), tabIndex: -1, disabled: this.disabled }), this.renderTooltip()));
|
41
41
|
}
|
42
42
|
static get is() { return "gux-rich-highlight-list-item"; }
|
43
43
|
static get encapsulation() { return "shadow"; }
|
@@ -28,7 +28,7 @@ export class GuxRichStyleListItem {
|
|
28
28
|
trackComponent(this.root);
|
29
29
|
}
|
30
30
|
render() {
|
31
|
-
return (h(Host, { key: '
|
31
|
+
return (h(Host, { key: 'f2d80e9cf8d1bf69014227cf2f8b4bb13dded203', role: "listitem" }, h("button", { key: '969f6af3077c1efa32f9716358ff0d5b5cd42ee8', type: "button", tabIndex: -1, disabled: this.disabled }, h("gux-truncate", { key: 'c04cb2acc8c21dba949be2287748bb5b348840fe', "max-lines": 1 }, h("slot", { key: 'e567c7d7443cc743d3c96a1dd14715f591c6ad2d' })))));
|
32
32
|
}
|
33
33
|
static get is() { return "gux-rich-style-list-item"; }
|
34
34
|
static get encapsulation() { return "shadow"; }
|
@@ -78,7 +78,7 @@ export class GuxRichStyleListItem {
|
|
78
78
|
"text": ""
|
79
79
|
},
|
80
80
|
"attribute": "value",
|
81
|
-
"reflect":
|
81
|
+
"reflect": true
|
82
82
|
}
|
83
83
|
};
|
84
84
|
}
|
@@ -2,11 +2,12 @@ import { Host, h } from "@stencil/core";
|
|
2
2
|
import { trackComponent } from "../../../../utils/tracking/usage";
|
3
3
|
import { first, last, next, previous } from "../../../stable/gux-list/gux-list.service";
|
4
4
|
/**
|
5
|
-
* @slot - collection of gux-rich-style-list-item
|
5
|
+
* @slot - collection of gux-rich-style-list-item, gux-rich-highlight-list-item or gux-rich-text-editor-sub-list elements.
|
6
6
|
*/
|
7
7
|
const validFocusableItems = [
|
8
8
|
'gux-rich-style-list-item',
|
9
|
-
'gux-rich-highlight-list-item'
|
9
|
+
'gux-rich-highlight-list-item',
|
10
|
+
'gux-rich-text-editor-sub-list'
|
10
11
|
];
|
11
12
|
export class GuxRichTextEditorList {
|
12
13
|
constructor() {
|
@@ -77,7 +78,7 @@ export class GuxRichTextEditorList {
|
|
77
78
|
last(this.root, validFocusableItems);
|
78
79
|
}
|
79
80
|
render() {
|
80
|
-
return (h(Host, { key: '
|
81
|
+
return (h(Host, { key: '61a6b27bba3f4b2f0d7a773e8dfcb9096c915ef6', role: "list" }, h("slot", { key: '9bdb11b67705953e6d39b7075cfcd6226f58cc91', onSlotchange: () => this.setListItems() })));
|
81
82
|
}
|
82
83
|
static get is() { return "gux-rich-text-editor-list"; }
|
83
84
|
static get encapsulation() { return "shadow"; }
|
@@ -0,0 +1,89 @@
|
|
1
|
+
:host {
|
2
|
+
inline-size: 100%;
|
3
|
+
text-align: start;
|
4
|
+
outline: none;
|
5
|
+
}
|
6
|
+
|
7
|
+
:host([disabled]) {
|
8
|
+
pointer-events: none;
|
9
|
+
}
|
10
|
+
|
11
|
+
:host([disabled=false]) {
|
12
|
+
pointer-events: auto;
|
13
|
+
}
|
14
|
+
|
15
|
+
::slotted(gux-icon) {
|
16
|
+
inline-size: var(--gse-ui-menu-option-startIcon-height);
|
17
|
+
block-size: var(--gse-ui-menu-option-startIcon-height);
|
18
|
+
margin-inline-end: var(--gse-ui-menu-option-gap);
|
19
|
+
vertical-align: middle;
|
20
|
+
}
|
21
|
+
|
22
|
+
button {
|
23
|
+
all: unset;
|
24
|
+
box-sizing: border-box;
|
25
|
+
inline-size: 100%;
|
26
|
+
min-block-size: var(--gse-ui-menu-option-height);
|
27
|
+
padding: var(--gse-ui-menu-option-padding);
|
28
|
+
font-family: var(--gse-ui-menu-option-label-default-text-fontFamily);
|
29
|
+
font-size: var(--gse-ui-menu-option-label-default-text-fontSize);
|
30
|
+
font-weight: var(--gse-ui-menu-option-label-default-text-fontWeight);
|
31
|
+
line-height: var(--gse-ui-menu-option-label-default-text-lineHeight);
|
32
|
+
color: var(--gse-ui-menu-option-label-foregroundColor);
|
33
|
+
word-wrap: break-word;
|
34
|
+
cursor: pointer;
|
35
|
+
outline: none;
|
36
|
+
outline-offset: calc(var(--gse-ui-menu-option-focus-border-width) * -1);
|
37
|
+
background-color: var(--gse-ui-menu-option-default-backgroundColor);
|
38
|
+
border: none;
|
39
|
+
}
|
40
|
+
button:focus-visible:not(:disabled) {
|
41
|
+
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);
|
42
|
+
border-radius: var(--gse-semantic-focusOutline-sm-borderRadius);
|
43
|
+
}
|
44
|
+
button:hover:not(:disabled) {
|
45
|
+
background: var(--gse-ui-menu-option-hover-backgroundColor);
|
46
|
+
}
|
47
|
+
button:active:not(:disabled) {
|
48
|
+
font-family: var(--gse-ui-menu-option-label-active-text-fontFamily);
|
49
|
+
font-size: var(--gse-ui-menu-option-label-active-text-fontSize);
|
50
|
+
font-weight: var(--gse-ui-menu-option-label-active-text-fontWeight);
|
51
|
+
line-height: var(--gse-ui-menu-option-label-active-text-lineHeight);
|
52
|
+
background: var(--gse-ui-menu-option-selected-backgroundColor);
|
53
|
+
}
|
54
|
+
button:disabled {
|
55
|
+
cursor: default;
|
56
|
+
opacity: var(--gse-ui-menu-option-disabled-opacity);
|
57
|
+
}
|
58
|
+
|
59
|
+
::slotted(*) {
|
60
|
+
margin: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
button.gux-sub-list-button {
|
64
|
+
display: flex;
|
65
|
+
flex-direction: row;
|
66
|
+
justify-content: space-between;
|
67
|
+
}
|
68
|
+
button gux-icon {
|
69
|
+
align-self: center;
|
70
|
+
color: var(--gse-ui-menu-option-parentIcon-selected-foregroundColor);
|
71
|
+
}
|
72
|
+
|
73
|
+
.gux-sub-list-wrapper {
|
74
|
+
position: fixed;
|
75
|
+
inset-block-start: 0;
|
76
|
+
inset-inline-start: 0;
|
77
|
+
visibility: hidden;
|
78
|
+
flex-direction: column;
|
79
|
+
inline-size: 130px;
|
80
|
+
padding: var(--gse-ui-menu-padding);
|
81
|
+
margin: 0;
|
82
|
+
background-color: var(--gse-ui-menu-backgroundColor);
|
83
|
+
border: none;
|
84
|
+
border-radius: var(--gse-ui-menu-borderRadius);
|
85
|
+
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);
|
86
|
+
}
|
87
|
+
.gux-sub-list-wrapper.gux-shown {
|
88
|
+
visibility: visible;
|
89
|
+
}
|
@@ -0,0 +1,213 @@
|
|
1
|
+
import { autoUpdate, computePosition, flip, offset, shift } from "@floating-ui/dom";
|
2
|
+
import { Host, h } from "@stencil/core";
|
3
|
+
import { next, previous } from "../../../../stable/gux-list/gux-list.service";
|
4
|
+
/**
|
5
|
+
* @slot - collection of gux-rich-style-list-item elements.
|
6
|
+
*/
|
7
|
+
export class GuxRichTextEditorSubList {
|
8
|
+
constructor() {
|
9
|
+
this.label = undefined;
|
10
|
+
this.isShown = false;
|
11
|
+
}
|
12
|
+
onKeydown(event) {
|
13
|
+
switch (event.key) {
|
14
|
+
case 'Enter':
|
15
|
+
event.stopPropagation();
|
16
|
+
this.focusOnSubList();
|
17
|
+
break;
|
18
|
+
case 'ArrowUp':
|
19
|
+
if (!(this.root === event.target)) {
|
20
|
+
event.preventDefault();
|
21
|
+
event.stopPropagation();
|
22
|
+
previous(this.root, ['gux-rich-style-list-item']);
|
23
|
+
}
|
24
|
+
break;
|
25
|
+
case 'ArrowDown':
|
26
|
+
if (!(this.root === event.target)) {
|
27
|
+
event.preventDefault();
|
28
|
+
event.stopPropagation();
|
29
|
+
next(this.root, ['gux-rich-style-list-item']);
|
30
|
+
}
|
31
|
+
break;
|
32
|
+
case 'ArrowRight':
|
33
|
+
event.stopPropagation();
|
34
|
+
this.show();
|
35
|
+
this.focusOnSubList();
|
36
|
+
break;
|
37
|
+
case 'ArrowLeft':
|
38
|
+
case 'Escape':
|
39
|
+
if (!(this.root === event.target)) {
|
40
|
+
event.stopPropagation();
|
41
|
+
}
|
42
|
+
this.buttonElement.focus();
|
43
|
+
break;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
onMouseEnter() {
|
47
|
+
this.show();
|
48
|
+
}
|
49
|
+
onMouseLeave() {
|
50
|
+
this.hide();
|
51
|
+
}
|
52
|
+
onClick(event) {
|
53
|
+
if (event.target.nodeName === 'GUX-RICH-STYLE-LIST-ITEM') {
|
54
|
+
this.hide();
|
55
|
+
return;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
onFocusIn() {
|
59
|
+
this.show();
|
60
|
+
}
|
61
|
+
onFocusOut() {
|
62
|
+
this.hide();
|
63
|
+
}
|
64
|
+
componentDidLoad() {
|
65
|
+
if (this.isShown) {
|
66
|
+
this.runUpdatePosition();
|
67
|
+
}
|
68
|
+
}
|
69
|
+
componentDidUpdate() {
|
70
|
+
if (this.isShown) {
|
71
|
+
this.runUpdatePosition();
|
72
|
+
}
|
73
|
+
else if (this.cleanupUpdatePosition) {
|
74
|
+
this.cleanupUpdatePosition();
|
75
|
+
}
|
76
|
+
}
|
77
|
+
disconnectedCallback() {
|
78
|
+
if (this.cleanupUpdatePosition) {
|
79
|
+
this.cleanupUpdatePosition();
|
80
|
+
}
|
81
|
+
}
|
82
|
+
focusOnSubList() {
|
83
|
+
if (this.subListContentElement.contains(document.activeElement)) {
|
84
|
+
return;
|
85
|
+
}
|
86
|
+
const listItems = Array.from(this.root.children);
|
87
|
+
const nextFocusableElement = listItems[0];
|
88
|
+
void nextFocusableElement.focus();
|
89
|
+
}
|
90
|
+
show() {
|
91
|
+
this.isShown = true;
|
92
|
+
}
|
93
|
+
hide() {
|
94
|
+
if (this.isShown) {
|
95
|
+
this.isShown = false;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
runUpdatePosition() {
|
99
|
+
if (this.root.isConnected) {
|
100
|
+
this.cleanupUpdatePosition = autoUpdate(this.buttonElement, this.subListElement, () => this.updatePosition(), {
|
101
|
+
ancestorScroll: true,
|
102
|
+
elementResize: true,
|
103
|
+
animationFrame: true,
|
104
|
+
ancestorResize: true
|
105
|
+
});
|
106
|
+
}
|
107
|
+
else {
|
108
|
+
this.disconnectedCallback();
|
109
|
+
}
|
110
|
+
}
|
111
|
+
updatePosition() {
|
112
|
+
if (this.subListElement) {
|
113
|
+
void computePosition(this.buttonElement, this.subListElement, {
|
114
|
+
placement: 'right-start',
|
115
|
+
strategy: 'fixed',
|
116
|
+
middleware: [offset(4), flip(), shift()]
|
117
|
+
}).then(({ x, y }) => {
|
118
|
+
Object.assign(this.subListElement.style, {
|
119
|
+
left: `${x}px`,
|
120
|
+
top: `${y}px`
|
121
|
+
});
|
122
|
+
});
|
123
|
+
}
|
124
|
+
}
|
125
|
+
render() {
|
126
|
+
return (h(Host, { key: '7deaeb8403bc4d3387465109f394c5b94735289a' }, h("button", { key: '092cc834b5320deda9548b44f306877be2145227', type: "button", class: {
|
127
|
+
'gux-sub-list-button': true,
|
128
|
+
'gux-sub-list-button-active': this.isShown
|
129
|
+
}, tabIndex: -1, role: "listitem", ref: el => (this.buttonElement = el), "aria-haspopup": "true", "aria-expanded": this.isShown.toString() }, h("span", { key: 'db24795cdd7d2f486c4fd7891f3098c08c1114a5', class: "gux-sub-list-button-text" }, this.label), h("gux-icon", { key: '4e5cab880869b185f9220d90e6501baf625e3b55', size: "small", "icon-name": "custom/chevron-right-small-regular", decorative: true })), h("div", { key: '52f98219440f57cab0de72417632769cf96f248d', ref: el => (this.subListElement = el), class: {
|
130
|
+
'gux-sub-list-wrapper': true,
|
131
|
+
'gux-shown': this.isShown
|
132
|
+
} }, h("div", { key: '38e81a94cfc2ef6e5cb8460507412ade83254de1', role: "list", class: "gux-sub-list-content", ref: el => (this.subListContentElement = el) }, h("slot", { key: '27f2f932530bd1abaedccb992bf5cd75afc5277e' })))));
|
133
|
+
}
|
134
|
+
static get is() { return "gux-rich-text-editor-sub-list"; }
|
135
|
+
static get encapsulation() { return "shadow"; }
|
136
|
+
static get delegatesFocus() { return true; }
|
137
|
+
static get originalStyleUrls() {
|
138
|
+
return {
|
139
|
+
"$": ["gux-rich-text-editor-sub-list.scss"]
|
140
|
+
};
|
141
|
+
}
|
142
|
+
static get styleUrls() {
|
143
|
+
return {
|
144
|
+
"$": ["gux-rich-text-editor-sub-list.css"]
|
145
|
+
};
|
146
|
+
}
|
147
|
+
static get properties() {
|
148
|
+
return {
|
149
|
+
"label": {
|
150
|
+
"type": "string",
|
151
|
+
"mutable": false,
|
152
|
+
"complexType": {
|
153
|
+
"original": "string",
|
154
|
+
"resolved": "string",
|
155
|
+
"references": {}
|
156
|
+
},
|
157
|
+
"required": false,
|
158
|
+
"optional": false,
|
159
|
+
"docs": {
|
160
|
+
"tags": [],
|
161
|
+
"text": ""
|
162
|
+
},
|
163
|
+
"attribute": "label",
|
164
|
+
"reflect": false
|
165
|
+
}
|
166
|
+
};
|
167
|
+
}
|
168
|
+
static get states() {
|
169
|
+
return {
|
170
|
+
"isShown": {}
|
171
|
+
};
|
172
|
+
}
|
173
|
+
static get elementRef() { return "root"; }
|
174
|
+
static get listeners() {
|
175
|
+
return [{
|
176
|
+
"name": "keydown",
|
177
|
+
"method": "onKeydown",
|
178
|
+
"target": undefined,
|
179
|
+
"capture": false,
|
180
|
+
"passive": false
|
181
|
+
}, {
|
182
|
+
"name": "mouseenter",
|
183
|
+
"method": "onMouseEnter",
|
184
|
+
"target": undefined,
|
185
|
+
"capture": false,
|
186
|
+
"passive": true
|
187
|
+
}, {
|
188
|
+
"name": "mouseleave",
|
189
|
+
"method": "onMouseLeave",
|
190
|
+
"target": undefined,
|
191
|
+
"capture": false,
|
192
|
+
"passive": true
|
193
|
+
}, {
|
194
|
+
"name": "click",
|
195
|
+
"method": "onClick",
|
196
|
+
"target": undefined,
|
197
|
+
"capture": false,
|
198
|
+
"passive": false
|
199
|
+
}, {
|
200
|
+
"name": "focusin",
|
201
|
+
"method": "onFocusIn",
|
202
|
+
"target": undefined,
|
203
|
+
"capture": false,
|
204
|
+
"passive": false
|
205
|
+
}, {
|
206
|
+
"name": "focusout",
|
207
|
+
"method": "onFocusOut",
|
208
|
+
"target": undefined,
|
209
|
+
"capture": false,
|
210
|
+
"passive": false
|
211
|
+
}];
|
212
|
+
}
|
213
|
+
}
|