genesys-spark-components 4.122.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-group-add-item-beta_3.cjs.entry.js +4 -4
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +4 -4
- 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 +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 +1 -1
- package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
- 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 +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 +2 -2
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
- 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 +4 -4
- 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 +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 +4 -4
- 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 +2 -2
- 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 +6 -6
- 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-bdf54f32.js → usage-cee7c9f5.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/beta/gux-icon-tooltip/gux-icon-tooltip.js +1 -1
- 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-group/gux-rich-text-editor-action-group.css +7 -0
- 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-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/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-group-add-item-beta_3.entry.js +4 -4
- package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
- package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
- 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 +7 -7
- package/dist/esm/gux-calendar-beta.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +5 -5
- 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 +2 -2
- package/dist/esm/gux-flyout-menu.entry.js +4 -4
- 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 +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 +1 -1
- package/dist/esm/gux-form-footer.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/gux-inline-alert.entry.js +5 -5
- 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 +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 +2 -2
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +4 -4
- 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 +4 -4
- 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 +5 -5
- package/dist/esm/gux-popup.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/gux-rich-style-list-item_3.entry.js +293 -0
- package/dist/esm/gux-rich-text-editor-action-group.entry.js +2 -2
- 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 +6 -6
- 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 +4 -4
- 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 +5 -5
- package/dist/esm/gux-tooltip-title.entry.js +5 -5
- package/dist/esm/gux-tooltip_2.entry.js +9 -9
- 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/{usage-d372c506.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-bfa03c2c.entry.js → p-0095b1a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-03f266ff.entry.js → p-01780e86.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-156a6e4f.entry.js → p-01fd383c.entry.js} +2 -2
- package/dist/genesys-webcomponents/{p-708df7d5.entry.js → p-063dc5ad.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-06dd3571.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-70889d47.entry.js → p-08066a45.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-950fe7d0.entry.js → p-0a72a5b4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2bb7fe1e.entry.js → p-0bfed962.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ffe75834.entry.js → p-0d5de42d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6018a4e.entry.js → p-0d6a8191.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5839f7c7.entry.js → p-0e0ef4a2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3858d3fa.entry.js → p-0e900117.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0eeb6746.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-74728e83.entry.js → p-105a1ebe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02a96aaf.entry.js → p-12dd689a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-15e2e14d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e07238b5.js → p-166634e1.js} +1 -1
- package/dist/genesys-webcomponents/{p-af7417cb.entry.js → p-1bb32259.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1d9ed425.js +1 -0
- package/dist/genesys-webcomponents/{p-2f3649fb.entry.js → p-1dc5e034.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af51c01b.entry.js → p-1e5144ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-21e2f0cc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-23c1644e.entry.js → p-22614ed6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3e82ba34.entry.js → p-22c19dc2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8a771398.entry.js → p-24ad939b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9049f423.entry.js → p-24ee5102.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fd58cdf.entry.js → p-2513fba1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b26f188d.entry.js → p-262a22b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-279ade3b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-16ccc26e.entry.js → p-27e99f5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-29a591e0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d6f546c2.entry.js → p-2e39b980.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2ec5ea1e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-33f3269e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e7563f9c.entry.js → p-366caebe.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-37ab2172.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f153bd1b.entry.js → p-3a05bb21.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-959b68b0.entry.js → p-3b4943fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-efa0ee25.entry.js → p-3cbef447.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-684ca644.entry.js → p-400ba313.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7478a2e2.entry.js → p-45c16b00.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b22d4324.entry.js → p-4a113db7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81bc147c.entry.js → p-50310211.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-23ecd747.entry.js → p-51a3d71f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-52d73ad3.entry.js +1 -0
- package/dist/genesys-webcomponents/p-539eba16.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5ad436b9.entry.js → p-5639a5e2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c59b369.entry.js → p-5d04c86c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a720e22.entry.js → p-5faaeb1b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e83d256.entry.js → p-62026921.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab664ee0.entry.js → p-67440c93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-715a2bf5.entry.js → p-6798eb63.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a9f68a3.entry.js → p-6903b856.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6d772a2f.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f6303698.entry.js → p-70955497.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6f38841.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-a4f54a2b.entry.js → p-74a1d9ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6ae205e.entry.js → p-76362633.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-edc7ae8c.entry.js → p-76b32737.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9734718d.entry.js → p-7834e8b9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f96c5d72.entry.js → p-7977d063.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02c19f87.entry.js → p-7ada77c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19cccd9f.entry.js → p-7b5cfddb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87b364b8.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-03ec1443.entry.js → p-848bdebb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-72f1b4f0.entry.js → p-84a31c7a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3f7710bd.entry.js → p-85f3a0fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-788ff701.entry.js → p-877930b3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c227247d.entry.js → p-8902a036.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53b378de.entry.js → p-8a727cfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8d41c7cc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bad8b63e.entry.js → p-8d90c6fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-8df778a2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a896f5f8.entry.js → p-8e8c67db.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c618ea3d.entry.js → p-90873e49.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-94335d0e.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-aa28f49d.entry.js → p-95ec698f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f153a23b.entry.js → p-9626cf96.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b620cf75.entry.js → p-972d1404.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-979756fc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-493e725b.entry.js → p-97bc37b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c75223b.entry.js → p-98fa2f26.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8210954a.entry.js → p-99e97692.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5c90cea.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-525ba72c.entry.js → p-a3695df9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-835c9a18.entry.js → p-a4b04afd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3fb29222.entry.js → p-a51d68dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4044624d.entry.js → p-a573e43b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-669dc8f1.entry.js → p-a6ca79ce.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1c0eba2.entry.js → p-a7512630.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a9852dbc.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f180ea4f.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-b55922ab.entry.js → p-b3535a8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b61f80ae.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b0ceecdf.entry.js → p-b6770aac.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b6be214e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f5a4cbb4.entry.js → p-b7347eb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b7b925ec.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f77cd9ec.entry.js → p-b89f270e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b4e8a137.entry.js → p-b8b1cdbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b664cea.entry.js → p-b99f3f9c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-77c66cd7.entry.js → p-bbdb689e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cbf07c42.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-ceb6b5c5.entry.js → p-be33ce5f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1cf82469.entry.js → p-bf591743.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f974f2b1.entry.js → p-c3c963a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-60b61478.entry.js → p-c4bb140c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3dca373a.entry.js → p-c7f1ff13.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3229e45d.entry.js → p-ca0945a4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ca64e9fd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-15d211bb.entry.js → p-cb05620c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-05a13181.entry.js → p-cb4a5155.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49d373a2.entry.js → p-cb7cfce2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a9e378e.entry.js → p-cbb98fa5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-052d33b8.entry.js → p-cc6dfea9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a0524d1.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-c2ca148a.entry.js → p-d0de678b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9578616.entry.js → p-d0f4d1eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c44ef054.entry.js → p-d31fb265.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e337e4f3.entry.js → p-d5d582f1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-031e43e4.entry.js → p-d62c6a71.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b49d50e.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-6d6befbf.entry.js → p-da2a54aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b0c65e9.entry.js → p-da750227.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00d0e30c.entry.js → p-db241209.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f7322e3f.entry.js → p-db2f7dc7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e0de3453.js → p-db306845.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a253565.entry.js → p-dc9713fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7bbf9306.entry.js → p-dd539618.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ddd20c69.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-817d0096.entry.js → p-e03a69b0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-661feac4.entry.js → p-e414408c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2cf243a7.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-35aac0eb.entry.js → p-f060d70b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f0e2ae89.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1a98d8f7.entry.js → p-f0f830ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-26c67c23.entry.js → p-f18089ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4005a230.entry.js → p-f27f9eed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c1b4631f.entry.js → p-f4f55946.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41f5525e.entry.js → p-f71f3692.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8c60e5e0.entry.js → p-f8820aff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5deeb893.entry.js → p-f8dce124.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6c6e5e86.entry.js → p-f9d9be12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0437bd4.entry.js → p-fc85e603.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fbf14218.js → p-fcca9736.js} +1 -1
- package/dist/genesys-webcomponents/p-fe23764b.entry.js +1 -0
- package/dist/genesys-webcomponents/p-fe71fb5e.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-762b36ab.entry.js → p-fec416c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f5162a61.entry.js → p-ff12eb63.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8782623d.entry.js → p-ff402d97.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-43ceec2e.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-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 +44 -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-068ca6fe.entry.js +0 -1
- package/dist/genesys-webcomponents/p-086c5088.js +0 -2
- package/dist/genesys-webcomponents/p-1edb3199.entry.js +0 -1
- package/dist/genesys-webcomponents/p-274517cc.js +0 -1
- package/dist/genesys-webcomponents/p-2b0c8ff4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-36136141.entry.js +0 -1
- package/dist/genesys-webcomponents/p-40103e74.entry.js +0 -1
- package/dist/genesys-webcomponents/p-402a7403.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4ba0a9ab.entry.js +0 -1
- package/dist/genesys-webcomponents/p-52e46262.entry.js +0 -1
- package/dist/genesys-webcomponents/p-593829be.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5b054a3b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6209de55.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6c82f724.entry.js +0 -1
- package/dist/genesys-webcomponents/p-72a20918.entry.js +0 -1
- package/dist/genesys-webcomponents/p-884db9fa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-947897ba.entry.js +0 -1
- package/dist/genesys-webcomponents/p-96e00955.entry.js +0 -1
- package/dist/genesys-webcomponents/p-99b0bec7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a19f8576.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a2c71d6c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a6c36b2c.js +0 -1
- package/dist/genesys-webcomponents/p-acb6a6cc.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b053d117.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b292833d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-bdd95974.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c779ede7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-cfb37a0d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dd16bde2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dd99330f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-eeed1a2d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fd7d71a2.entry.js +0 -1
@@ -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);
|
@@ -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
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
:host {
|
2
|
+
display: block;
|
3
|
+
max-inline-size: fit-content;
|
4
|
+
white-space: normal;
|
5
|
+
}
|
6
|
+
|
7
|
+
button {
|
8
|
+
block-size: var(--gse-ui-button-default-height);
|
9
|
+
padding: var(--gse-ui-button-default-paddingIconOnly);
|
10
|
+
border-radius: var(--gse-ui-button-borderRadius);
|
11
|
+
}
|
12
|
+
|
13
|
+
.gux-list-container {
|
14
|
+
inline-size: var(--gse-ui-contextMenu-menu-width);
|
15
|
+
max-block-size: var(--gse-ui-contextMenu-menu-maxHeight);
|
16
|
+
margin: 0;
|
17
|
+
overflow-y: auto;
|
18
|
+
background: var(--gse-ui-menu-backgroundColor);
|
19
|
+
border-color: var(--gse-ui-menu-border-color);
|
20
|
+
border-style: var(--gse-ui-menu-border-style);
|
21
|
+
border-width: var(--gse-ui-menu-border-width);
|
22
|
+
border-radius: var(--gse-ui-menu-borderRadius);
|
23
|
+
box-shadow: var(--gse-ui-menu-boxShadow);
|
24
|
+
}
|