diff --git a/examples/files_example/public/components/app.tsx b/examples/files_example/public/components/app.tsx index dff0c5d1c9028a0..db0968d7b43f239 100644 --- a/examples/files_example/public/components/app.tsx +++ b/examples/files_example/public/components/app.tsx @@ -87,7 +87,7 @@ export const FilesExampleApp = ({ files, notifications }: FilesExampleAppDeps) = ) : status === 'AWAITING_UPLOAD' ? ( ) : ( - + ), }, { diff --git a/examples/files_example/public/components/confirm_button.tsx b/examples/files_example/public/components/confirm_button.tsx index b60f84b3369d0b6..8c328e9bb432b4d 100644 --- a/examples/files_example/public/components/confirm_button.tsx +++ b/examples/files_example/public/components/confirm_button.tsx @@ -30,7 +30,7 @@ export const ConfirmButtonIcon: FunctionComponent = ({ disabled={disabled} aria-label={confirmationText} color="warning" - iconType="alert" + iconType="warning" onClick={onConfirm} /> diff --git a/examples/response_stream/public/containers/app/pages/page_simple_string_stream/index.tsx b/examples/response_stream/public/containers/app/pages/page_simple_string_stream/index.tsx index a305e907cfb45b5..35b1cf07ed63be4 100644 --- a/examples/response_stream/public/containers/app/pages/page_simple_string_stream/index.tsx +++ b/examples/response_stream/public/containers/app/pages/page_simple_string_stream/index.tsx @@ -83,7 +83,7 @@ export const PageSimpleStringStream: FC = () => {

{data}

{errors.length > 0 && ( - + {errors.length === 1 ? (

{errors[0]}

) : ( diff --git a/examples/routing_example/public/get_message_example.tsx b/examples/routing_example/public/get_message_example.tsx index 677d4cd44a7b6a5..47d12a6fed4914b 100644 --- a/examples/routing_example/public/get_message_example.tsx +++ b/examples/routing_example/public/get_message_example.tsx @@ -70,7 +70,7 @@ export function GetMessageRouteExample({ getMessageById }: Props) { {error !== undefined ? ( - + {error.message} ) : null} diff --git a/examples/routing_example/public/post_message_example.tsx b/examples/routing_example/public/post_message_example.tsx index f25ff5c369077b1..c60a41ca6fe81a9 100644 --- a/examples/routing_example/public/post_message_example.tsx +++ b/examples/routing_example/public/post_message_example.tsx @@ -82,7 +82,7 @@ export function PostMessageRouteExample({ postMessage, addSuccessToast }: Props) {error !== undefined ? ( - + {error.message} ) : null} diff --git a/examples/routing_example/public/random_number_between_example.tsx b/examples/routing_example/public/random_number_between_example.tsx index bb6f1eac201316e..68bea90fd88fff0 100644 --- a/examples/routing_example/public/random_number_between_example.tsx +++ b/examples/routing_example/public/random_number_between_example.tsx @@ -71,7 +71,7 @@ export function RandomNumberBetweenRouteExample({ fetchRandomNumberBetween }: Pr {error !== undefined ? ( - + {error.message} ) : null} diff --git a/examples/routing_example/public/random_number_example.tsx b/examples/routing_example/public/random_number_example.tsx index 7a2a3bf608e4b1e..8ae118a722b999a 100644 --- a/examples/routing_example/public/random_number_example.tsx +++ b/examples/routing_example/public/random_number_example.tsx @@ -52,7 +52,7 @@ export function RandomNumberRouteExample({ fetchRandomNumber }: Props) { {error !== undefined ? ( - + {error} ) : null} diff --git a/examples/search_examples/public/search/app.tsx b/examples/search_examples/public/search/app.tsx index 01ebd4433af10bb..65f653f39122a65 100644 --- a/examples/search_examples/public/search/app.tsx +++ b/examples/search_examples/public/search/app.tsx @@ -784,7 +784,7 @@ export const SearchExamplesApp = ({ data.search.session.start()} - iconType="alert" + iconType="warning" data-test-subj="searchExamplesStartSession" > data.search.session.clear()} - iconType="alert" + iconType="warning" data-test-subj="searchExamplesClearSession" > ({ /> } color="danger" - iconType="alert" + iconType="warning" >

( diff --git a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx b/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx index 69c257e84e1a5c2..32a3d83d40413a2 100644 --- a/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx +++ b/packages/core/apps/core-apps-browser-internal/src/errors/error_application.tsx @@ -40,7 +40,7 @@ const ErrorPage: React.FC = ({ title, children }) => { {title}} body={children} diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap b/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap index 1b9baa09b0e2b48..a2163e2b4c4e9d8 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap +++ b/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/__snapshots__/fatal_errors_screen.test.tsx.snap @@ -51,7 +51,7 @@ exports[`FatalErrorsScreen rendering render matches snapshot 1`] = `

} iconColor="danger" - iconType="alert" + iconType="warning" title={

@@ -80,7 +80,7 @@ Error: foo diff --git a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx b/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx index bdcb6334eb48e23..a7f274920694ffa 100644 --- a/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx +++ b/packages/core/fatal-errors/core-fatal-errors-browser-internal/src/fatal_errors_screen.tsx @@ -79,7 +79,7 @@ export class FatalErrorsScreen extends React.Component { @@ -119,7 +119,7 @@ export class FatalErrorsScreen extends React.Component { ]} /> {this.state.errors.map((error, i) => ( - + {`Version: ${this.props.kibanaVersion}` + '\n' + diff --git a/packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap b/packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap index 67ea69a8c269c7e..ada9724ca04e56b 100644 --- a/packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap +++ b/packages/kbn-react-field/src/field_icon/__snapshots__/field_icon.test.tsx.snap @@ -58,7 +58,7 @@ exports[`FieldIcon renders known field types conflict is rendered 1`] = ` aria-label="conflict" className="kbnFieldIcon" color="euiColorVis9" - iconType="alert" + iconType="warning" shape="square" size="s" title="conflict" diff --git a/packages/kbn-react-field/src/field_icon/field_icon.tsx b/packages/kbn-react-field/src/field_icon/field_icon.tsx index fb282688a4d0bfb..c0f39ec12dbb646 100644 --- a/packages/kbn-react-field/src/field_icon/field_icon.tsx +++ b/packages/kbn-react-field/src/field_icon/field_icon.tsx @@ -49,7 +49,7 @@ export const typeToEuiIconMap: Partial> = { binary: { iconType: 'tokenBinary' }, boolean: { iconType: 'tokenBoolean' }, // icon for an index pattern mapping conflict in discover - conflict: { iconType: 'alert', color: 'euiColorVis9', shape: 'square' }, + conflict: { iconType: 'warning', color: 'euiColorVis9', shape: 'square' }, date: { iconType: 'tokenDate' }, date_range: { iconType: 'tokenDate' }, dense_vector: { iconType: 'tokenDenseVector' }, diff --git a/packages/kbn-securitysolution-autocomplete/src/field/use_field.tsx b/packages/kbn-securitysolution-autocomplete/src/field/use_field.tsx index ad4e8d42d20faaf..0e9e01bbec3154a 100644 --- a/packages/kbn-securitysolution-autocomplete/src/field/use_field.tsx +++ b/packages/kbn-securitysolution-autocomplete/src/field/use_field.tsx @@ -236,7 +236,7 @@ export const useField = ({ = ({ case ViewerStatus.ERROR: { return { color: 'danger' as ExpressionColor, - iconType: 'alert', + iconType: 'error', title: (

{title || i18n.EMPTY_VIEWER_STATE_ERROR_TITLE}

), diff --git a/packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx b/packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx index 2c65619a7e2edc4..edfabb109144a8d 100644 --- a/packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx +++ b/packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx @@ -23,7 +23,7 @@ export const ErrorContent: FunctionComponent = ({ error }) => { return ( {i18nTexts.loadingFilesErrorTitle}

} diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index e45c89bf69b7a3d..dff28e30ae76bd3 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -84,6 +84,6 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.4.0': ['Elastic License 2.0'], - '@elastic/eui@75.1.2': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@76.0.2': ['SSPL-1.0 OR Elastic License 2.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry }; diff --git a/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx b/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx index 99f5f031ad4b190..a61b87ac79c2855 100644 --- a/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx +++ b/src/plugins/advanced_settings/public/management_app/advanced_settings.tsx @@ -61,7 +61,7 @@ export class AdvancedSettings extends Component { return (
- +

{this.props.callOutSubtitle}

diff --git a/src/plugins/advanced_settings/public/management_app/components/field/field.tsx b/src/plugins/advanced_settings/public/management_app/components/field/field.tsx index 8d45aba74de95a5..21d31b53600a07f 100644 --- a/src/plugins/advanced_settings/public/management_app/components/field/field.tsx +++ b/src/plugins/advanced_settings/public/management_app/components/field/field.tsx @@ -449,7 +449,7 @@ export class Field extends PureComponent { {unsavedChanges ? ( = ({ return ( MAX_TAG_COUNT && (
= ({ error, onB return ( { setPopoverOpen((open) => !open)} className={'errorEmbeddableCompact__button'} textProps={{ className: 'errorEmbeddableCompact__text' }} diff --git a/src/plugins/controls/public/options_list/components/options_list_popover_title.tsx b/src/plugins/controls/public/options_list/components/options_list_popover_title.tsx index 40361260e56c072..08aee48f61e284d 100644 --- a/src/plugins/controls/public/options_list/components/options_list_popover_title.tsx +++ b/src/plugins/controls/public/options_list/components/options_list_popover_title.tsx @@ -34,7 +34,7 @@ export const OptionsListPopoverTitle = () => { diff --git a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx b/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx index 465c447039e5efa..091c080969329f9 100644 --- a/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx +++ b/src/plugins/data/public/search/session/session_indicator/search_session_indicator/search_session_indicator.tsx @@ -311,7 +311,7 @@ const searchSessionIndicatorViewStateToProps: { [SearchSessionState.Canceled]: { button: { color: 'danger', - iconType: 'alert', + iconType: 'error', 'aria-label': i18n.translate('data.searchSessionIndicator.canceledIconAriaLabel', { defaultMessage: 'Search session stopped', }), diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx b/src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx index 39c8b8d0fc38c55..46f7698fe589f62 100644 --- a/src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx +++ b/src/plugins/data/public/search/session/sessions_mgmt/components/actions/delete_button.tsx @@ -68,7 +68,7 @@ export const createDeleteActionDescriptor = ( uiSession: UISession, core: CoreStart ): IClickActionDescriptor => ({ - iconType: 'crossInACircleFilled', + iconType: 'trash', label: , onClick: async () => { const ref = core.overlays.openModal( diff --git a/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx b/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx index 68dec9750cf2ec9..62942c86c40a471 100644 --- a/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx +++ b/src/plugins/data/public/search/session/sessions_mgmt/components/status.tsx @@ -104,7 +104,7 @@ const getStatusAttributes = ({ case SearchSessionStatus.CANCELLED: return { - icon: , + icon: , label: {getStatusText(session.status)}, toolTipContent: i18n.translate('data.mgmt.searchSessions.status.message.cancelled', { defaultMessage: 'Cancelled by user', @@ -114,7 +114,7 @@ const getStatusAttributes = ({ case SearchSessionStatus.ERROR: return { textColor: 'danger', - icon: , + icon: , label: {getStatusText(session.status)}, toolTipContent: session.errors && session.errors.length > 0 diff --git a/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx b/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx index f6db378bb2942fb..cfedbd59b29e507 100644 --- a/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx +++ b/src/plugins/data/public/search/session/sessions_mgmt/lib/get_columns.tsx @@ -107,7 +107,7 @@ export const getColumns = ( <> {' '} {' '} + The ShardFailureModal component received invalid properties ); diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx b/src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx index a9d6d596baf2201..4a953c1e6c22fbd 100644 --- a/src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx +++ b/src/plugins/data_view_field_editor/public/components/confirm_modals/delete_field_modal.tsx @@ -99,7 +99,12 @@ export function DeleteFieldModal({ fieldsToDelete, closeModal, confirmDelete }: confirmButtonText={confirmButtonText} confirmButtonDisabled={confirmContent?.toUpperCase() !== 'REMOVE'} > - + {isMultiple && ( <>

{warningMultipleFields}

diff --git a/src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx b/src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx index 51af86868c632b7..2e3aaf93a1861b0 100644 --- a/src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx +++ b/src/plugins/data_view_field_editor/public/components/confirm_modals/save_field_type_or_name_changed_modal.tsx @@ -70,7 +70,7 @@ export const SaveFieldTypeOrNameChangedModal: React.FC = ({ diff --git a/src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx b/src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx index 88c91ab6457767f..11da38cb2a1e7d8 100644 --- a/src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx +++ b/src/plugins/data_view_field_editor/public/components/field_editor/field_editor.tsx @@ -276,7 +276,7 @@ const FieldEditorComponent = ({ field, onChange, onFormModifiedChange }: Props) diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx b/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx index 7631e251e203377..21b2baa32007467 100644 --- a/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx +++ b/src/plugins/data_view_field_editor/public/components/preview/field_list/field_list_item.tsx @@ -83,7 +83,7 @@ export const PreviewListItem: React.FC = ({ if (hasScriptError) { return (
- + {i18n.translate('indexPatternFieldEditor.fieldPreview.scriptErrorBadgeLabel', { defaultMessage: 'Script error', })} diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx b/src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx index f331e62bd701646..672f0a747991d2c 100644 --- a/src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx +++ b/src/plugins/data_view_field_editor/public/components/preview/field_preview.tsx @@ -98,7 +98,7 @@ export const FieldPreview = () => { } )} color="warning" - iconType="alert" + iconType="warning" role="alert" data-test-subj="previewNotAvailableCallout" > diff --git a/src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx b/src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx index 6ca38d4d186fbec..22bc24d04b71422 100644 --- a/src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx +++ b/src/plugins/data_view_field_editor/public/components/preview/field_preview_error.tsx @@ -26,7 +26,7 @@ export const FieldPreviewError = () => { defaultMessage: 'Error fetching document', })} color="danger" - iconType="alert" + iconType="error" role="alert" data-test-subj="fetchDocError" > diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx b/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx index de421c0b8945e30..adbdd1cd2681fb1 100644 --- a/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx +++ b/src/plugins/data_view_management/public/components/edit_index_pattern/edit_index_pattern.tsx @@ -249,7 +249,7 @@ export const EditIndexPattern = withRouter( {conflictedFields.length > 0 && ( <> - +

{mappingConflictLabel}

diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap b/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap index 65c124c6676face..06613de9ee5ad96 100644 --- a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap +++ b/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/__snapshots__/table.test.tsx.snap @@ -113,7 +113,7 @@ exports[`Table should render conflicting type 1`] = ` color="warning" iconOnClick={[Function]} iconOnClickAriaLabel="Conflict Detail" - iconType="alert" + iconType="warning" onClick={[Function]} onClickAriaLabel="Conflict Detail" > diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx b/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx index b7ed701b31c6835..21fe78b68039ad9 100644 --- a/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx +++ b/src/plugins/data_view_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx @@ -357,7 +357,7 @@ const getConflictBtn = ( diff --git a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx b/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx index dd4a4e6d71dbb5a..75111879c4480b7 100644 --- a/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx +++ b/src/plugins/data_view_management/public/components/edit_index_pattern/scripted_fields_table/components/header/header.tsx @@ -35,7 +35,7 @@ export const Header = withRouter(({ indexPatternId, history }: HeaderProps) => { defaultMessage="Scripted fields can be used in visualizations and displayed in documents. However, they cannot be searched." />
- +     @@ -1181,7 +1181,7 @@ exports[`FieldEditor should show multiple type field warning with a table contai  
); const errorState = ( - + ); if (reqState === ElasticRequestState.Error || reqState === ElasticRequestState.NotFound) { diff --git a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx b/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx index d539155ada63245..b35d66e9cfe5ca9 100644 --- a/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx +++ b/src/plugins/discover/public/services/doc_views/components/doc_viewer_table/table_cell_value.tsx @@ -65,7 +65,7 @@ const IgnoreWarning: React.FC = React.memo(({ rawValue, reas `} > - + diff --git a/src/plugins/embeddable/public/lib/panel/embeddable_panel_error.tsx b/src/plugins/embeddable/public/lib/panel/embeddable_panel_error.tsx index 4aba5ed10515467..b5b9eaa267bde35 100644 --- a/src/plugins/embeddable/public/lib/panel/embeddable_panel_error.tsx +++ b/src/plugins/embeddable/public/lib/panel/embeddable_panel_error.tsx @@ -72,7 +72,7 @@ export function EmbeddablePanelError({ } data-test-subj="embeddableStackError" - iconType="alert" + iconType="warning" iconColor="danger" layout="vertical" actions={ diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx index a0f132d76c511ee..0d2e5a7f8f6358c 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/page_error.tsx @@ -65,7 +65,7 @@ export const PageError: React.FunctionComponent = ({ ) } - iconType="alert" + iconType="warning" actions={actions} {...rest} /> diff --git a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx index a1652b4e153f585..7b9731f14df12b5 100644 --- a/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx +++ b/src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/section_error.tsx @@ -29,7 +29,7 @@ export const SectionError: React.FunctionComponent = ({ } = error; return ( - + {cause ? message || errorString :

{message || errorString}

} {cause && ( diff --git a/src/plugins/expression_error/public/components/error_component.tsx b/src/plugins/expression_error/public/components/error_component.tsx index 8f13d70fe354024..f0b54f72b2795ef 100644 --- a/src/plugins/expression_error/public/components/error_component.tsx +++ b/src/plugins/expression_error/public/components/error_component.tsx @@ -52,7 +52,7 @@ function ErrorComponent({ onLoaded, parentNode, error }: ErrorComponentProps) { height: buttonSize, width: buttonSize, }} - type="alert" + type="warning" /> } isOpen={isPopoverOpen} diff --git a/src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx b/src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx index 01d39efbcf2b8e0..2b89ad75affbf81 100644 --- a/src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx +++ b/src/plugins/home/public/application/components/guided_onboarding/getting_started.tsx @@ -146,7 +146,7 @@ export const GettingStarted = () => { if (isError) { return ( diff --git a/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts b/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts index 7046500dc717e78..5a8c6dc55bda462 100644 --- a/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts +++ b/src/plugins/home/server/services/tutorials/tutorials_registry.test.ts @@ -27,7 +27,7 @@ const INVALID_TUTORIAL: TutorialSchema = { name: '', isBeta: false, shortDescription: 'short description', - euiIconType: 'alert', + euiIconType: 'warning', longDescription: 'long description with lots of text', completionTimeMinutes: 10, previewImagePath: 'path', @@ -49,7 +49,7 @@ const VALID_TUTORIAL: TutorialSchema = { moduleName: 'test', isBeta: false, shortDescription: 'short description', - euiIconType: 'alert', + euiIconType: 'warning', longDescription: 'long description with lots of text', completionTimeMinutes: 10, previewImagePath: 'path', @@ -128,7 +128,7 @@ describe('TutorialsRegistry', () => { description: 'short description', icons: [ { - src: 'alert', + src: 'warning', type: 'eui', }, ], diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap index 8a1bbc60c451146..950577cf806d282 100644 --- a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap +++ b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap @@ -17,7 +17,7 @@ exports[`renders control with warning 1`] = ` position="top" > test control diff --git a/src/plugins/input_control_vis/public/components/vis/form_row.tsx b/src/plugins/input_control_vis/public/components/vis/form_row.tsx index 5e28ab42db69544..0540c5bf5be95f0 100644 --- a/src/plugins/input_control_vis/public/components/vis/form_row.tsx +++ b/src/plugins/input_control_vis/public/components/vis/form_row.tsx @@ -32,7 +32,7 @@ export function FormRow(props: FormRowProps) { const label = props.warningMsg ? ( <> - + {props.label} diff --git a/src/plugins/interactive_setup/public/cluster_configuration_form.tsx b/src/plugins/interactive_setup/public/cluster_configuration_form.tsx index 5ce4068039b85eb..d511e69dffdf8ba 100644 --- a/src/plugins/interactive_setup/public/cluster_configuration_form.tsx +++ b/src/plugins/interactive_setup/public/cluster_configuration_form.tsx @@ -222,7 +222,7 @@ export const ClusterConfigurationForm: FunctionComponent There is a problem with this saved object

@@ -60,7 +60,7 @@ exports[`NotFoundErrors component renders correctly for index-pattern-field type aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> There is a problem with this saved object

@@ -109,7 +109,7 @@ exports[`NotFoundErrors component renders correctly for search type 1`] = ` aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> There is a problem with this saved object

@@ -158,7 +158,7 @@ exports[`NotFoundErrors component renders correctly for unknown type 1`] = ` aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> There is a problem with this saved object

diff --git a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx index c6cf64115d6a26f..3e4efa4e9c199e2 100644 --- a/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx +++ b/src/plugins/saved_objects_management/public/management_section/object_view/components/not_found_errors.tsx @@ -61,7 +61,7 @@ export const NotFoundErrors = ({ type, docLinks }: NotFoundErrors) => { defaultMessage="There is a problem with this saved object" /> } - iconType="alert" + iconType="warning" color="danger" >
{getMessage()}
diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap index f9579693eb13504..c7afed8ba4262f7 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap @@ -393,7 +393,7 @@ exports[`Relationships should render invalid relations 1`] = ` diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx index 65e29fb1fd19492..a422526c7afadf7 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx @@ -94,7 +94,7 @@ export const DeleteConfirmModal: FC = ({ defaultMessage="Some objects cannot be deleted" /> } - iconType="alert" + iconType="warning" color="warning" >

@@ -119,7 +119,7 @@ export const DeleteConfirmModal: FC = ({ values={{ sharedObjectsCount }} /> } - iconType="alert" + iconType="warning" color="warning" >

diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx index 70788ac04af4bbb..be0cc126b079afe 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/import_summary.tsx @@ -167,7 +167,7 @@ const StatusIndicator: FC<{ item: ImportItem }> = ({ item }) => { case 'error': return ( diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx index 825e6619791367f..070b3129bcb1b6e 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/relationships.tsx @@ -194,7 +194,7 @@ export class Relationships extends Component { data-share-url={this.state.url} data-test-subj="copyShareUrlButton" size="s" - iconType={this.state.showWarningButton ? 'alert' : undefined} + iconType={this.state.showWarningButton ? 'warning' : undefined} color={this.state.showWarningButton ? 'warning' : 'primary'} > {this.props.isEmbedded ? ( diff --git a/src/plugins/share/public/url_service/redirect/components/error.tsx b/src/plugins/share/public/url_service/redirect/components/error.tsx index 716848427c638ab..c7e9e1a9f1095b8 100644 --- a/src/plugins/share/public/url_service/redirect/components/error.tsx +++ b/src/plugins/share/public/url_service/redirect/components/error.tsx @@ -32,7 +32,7 @@ export interface ErrorProps { export const Error: React.FC = ({ title = defaultTitle, error }) => { return ( {title}} body={ diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx index 33032e7914e1924..548c33d5f9b4af5 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx @@ -53,7 +53,7 @@ export const DrilldownForm: React.FC = ({ if (!!triggers && !triggers.items.length) { // Below callout is not translated, because this message is only for developers. return ( - +

No triggers provided in triggers prop.

diff --git a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx index 3607ce42a69f558..ecc0d23f0909207 100644 --- a/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx @@ -75,7 +75,7 @@ export const DrilldownTable: React.FC = ({ {drilldown.error && ( = ({ diff --git a/src/plugins/unified_field_list/public/components/field_list_grouped/fields_accordion.tsx b/src/plugins/unified_field_list/public/components/field_list_grouped/fields_accordion.tsx index cda13fd18a42e57..1989840af1b2960 100644 --- a/src/plugins/unified_field_list/public/components/field_list_grouped/fields_accordion.tsx +++ b/src/plugins/unified_field_list/public/components/field_list_grouped/fields_accordion.tsx @@ -100,7 +100,7 @@ function InnerFieldsAccordion({ aria-label={i18n.translate('unifiedFieldList.fieldsAccordion.existenceErrorAriaLabel', { defaultMessage: 'Existence fetch failed', })} - type="alert" + type="warning" color="warning" content={i18n.translate('unifiedFieldList.fieldsAccordion.existenceErrorLabel', { defaultMessage: "Field information can't be loaded", diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx b/src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx index 35951d637315caf..b32681aaf694619 100644 --- a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx +++ b/src/plugins/unified_histogram/public/chart/hooks/use_time_range.test.tsx @@ -164,7 +164,7 @@ describe('useTimeRange', () => { color="warning" content="This interval creates buckets that are too large to show in the selected time range, so it has been scaled to 1 minute." title="Warning" - type="alert" + type="warning" />
@@ -230,7 +230,7 @@ describe('useTimeRange', () => { color="warning" content="This interval creates too many buckets to show in the selected time range, so it has been scaled to 1 minute." title="Warning" - type="alert" + type="warning" />
diff --git a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx b/src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx index dbf563da1758828..8f7786b2c6be7df 100644 --- a/src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx +++ b/src/plugins/unified_histogram/public/chart/hooks/use_time_range.tsx @@ -114,7 +114,12 @@ export const useTimeRange = ({ > {timeRangeDisplay} - + ); diff --git a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx index e828e4d1a2bc1ca..670c16515286dba 100644 --- a/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx +++ b/src/plugins/unified_search/public/dataview_picker/change_dataview.tsx @@ -249,7 +249,7 @@ export function ChangeDataView({ )} > diff --git a/src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx b/src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx index b074fdd391d7cb2..e32a9a13d64f004 100644 --- a/src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx +++ b/src/plugins/unified_search/public/query_string_input/query_bar_menu_panels.tsx @@ -371,7 +371,7 @@ export function QueryBarMenuPanels({ { name: strings.getClearllFiltersButtonLabel(), disabled: !hasFiltersOrQuery && !Boolean(savedQuery), - icon: 'crossInACircleFilled', + icon: 'cross', 'data-test-subj': 'filter-sets-removeAllFilters', onClick: () => { closePopover(); diff --git a/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/editor_footer.tsx b/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/editor_footer.tsx index ff7237e059925cb..90e30b6c019e6d6 100644 --- a/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/editor_footer.tsx +++ b/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/editor_footer.tsx @@ -68,7 +68,7 @@ export const EditorFooter = memo(function EditorFooter({ - + - + {i18n.translate( diff --git a/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/index.tsx b/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/index.tsx index 18f08bfa750ebfa..e68f4517cad2b1f 100644 --- a/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/index.tsx +++ b/src/plugins/unified_search/public/query_string_input/text_based_languages_editor/index.tsx @@ -500,7 +500,7 @@ export const TextBasedLanguagesEditor = memo(function TextBasedLanguagesEditor({ diff --git a/src/plugins/vis_default_editor/public/components/agg.tsx b/src/plugins/vis_default_editor/public/components/agg.tsx index e3794077b005d93..c816bfaf8c1151a 100644 --- a/src/plugins/vis_default_editor/public/components/agg.tsx +++ b/src/plugins/vis_default_editor/public/components/agg.tsx @@ -159,7 +159,7 @@ function DefaultEditorAgg({ actionIcons.push({ id: 'hasErrors', color: 'danger', - type: 'alert', + type: 'error', tooltip: i18n.translate('visDefaultEditor.agg.errorsAriaLabel', { defaultMessage: '{schemaTitle} {aggTitle} aggregation has errors', values: { aggTitle, schemaTitle }, diff --git a/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx b/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx index 3ae15ed24832d1d..678a6c2edaf97a3 100644 --- a/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx +++ b/src/plugins/vis_default_editor/public/components/sidebar/controls.tsx @@ -83,7 +83,7 @@ function DefaultEditorControls({ defaultMessage: 'Errors in the highlighted fields need to be resolved.', })} > - + -
diff --git a/src/plugins/visualizations/public/components/visualization_error.tsx b/src/plugins/visualizations/public/components/visualization_error.tsx index 8e49211b4b94952..7924d85614fed7a 100644 --- a/src/plugins/visualizations/public/components/visualization_error.tsx +++ b/src/plugins/visualizations/public/components/visualization_error.tsx @@ -18,7 +18,7 @@ export class VisualizationError extends React.Component public render() { return ( = ({ chartType, chartConfigToken, mode } mode={mode} /> } - iconType="alert" + iconType="warning" color="warning" size="s" /> diff --git a/src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx b/src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx index 1bfba3d98c97600..0ba03ac0111c440 100644 --- a/src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx +++ b/src/plugins/visualizations/public/visualize_app/utils/get_table_columns.tsx @@ -82,7 +82,7 @@ export const getCustomColumn = () => { {getBadge(record)} ) : ( - + {record.error} ), diff --git a/x-pack/examples/alerting_example/public/alert_types/astros.tsx b/x-pack/examples/alerting_example/public/alert_types/astros.tsx index 615595902405364..d1473c211eca1d7 100644 --- a/x-pack/examples/alerting_example/public/alert_types/astros.tsx +++ b/x-pack/examples/alerting_example/public/alert_types/astros.tsx @@ -139,7 +139,7 @@ export const PeopleinSpaceExpression: React.FunctionComponent {errorsCallout.length ? ( - + {errorsCallout} ) : ( diff --git a/x-pack/examples/alerting_example/public/components/documentation.tsx b/x-pack/examples/alerting_example/public/components/documentation.tsx index 09d370adee5a65a..0fb989a306ac0fb 100644 --- a/x-pack/examples/alerting_example/public/components/documentation.tsx +++ b/x-pack/examples/alerting_example/public/components/documentation.tsx @@ -50,7 +50,7 @@ export const DocumentationPage = ( registration of example the RuleTypes, while the `public` handles creation of, and navigation for, these rule types.

- + If you see a message about needing to enable the Transport Layer Security, start ES with{' '} yarn es snapshot --ssl --license trial and Kibana with{' '} yarn start --run-examples --ssl. If you running chrome on a mac, you may diff --git a/x-pack/examples/embedded_lens_example/public/mount.tsx b/x-pack/examples/embedded_lens_example/public/mount.tsx index 1c4608f17b52d87..62786e9918de626 100644 --- a/x-pack/examples/embedded_lens_example/public/mount.tsx +++ b/x-pack/examples/embedded_lens_example/public/mount.tsx @@ -31,7 +31,7 @@ export const mount =

This demo only works if your default index pattern is set and time based

diff --git a/x-pack/examples/screenshotting_example/public/app/app.tsx b/x-pack/examples/screenshotting_example/public/app/app.tsx index 56ad73bbfd3a3bf..603d310b4ad638e 100644 --- a/x-pack/examples/screenshotting_example/public/app/app.tsx +++ b/x-pack/examples/screenshotting_example/public/app/app.tsx @@ -88,7 +88,7 @@ export function App() {

{response.errors.join('\n')}

diff --git a/x-pack/examples/testing_embedded_lens/public/app.tsx b/x-pack/examples/testing_embedded_lens/public/app.tsx index ab717da3b62686c..0f747135d3e99c6 100644 --- a/x-pack/examples/testing_embedded_lens/public/app.tsx +++ b/x-pack/examples/testing_embedded_lens/public/app.tsx @@ -697,7 +697,7 @@ export const App = (props: { {hasParsingErrorDebounced && currentSO.current !== currentValid && ( - +

Check the spec

)} diff --git a/x-pack/examples/testing_embedded_lens/public/mount.tsx b/x-pack/examples/testing_embedded_lens/public/mount.tsx index ee58520c29c3c0d..d0f58eb6050b77e 100644 --- a/x-pack/examples/testing_embedded_lens/public/mount.tsx +++ b/x-pack/examples/testing_embedded_lens/public/mount.tsx @@ -40,7 +40,7 @@ export const mount =

This demo only works if your default index pattern is set and time based

diff --git a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx b/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx index af8f0ec1ad3157e..52d45da53459c05 100644 --- a/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx +++ b/x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx @@ -91,7 +91,7 @@ export function ProgressControls({ { values: { dataViewTitle: dataView.getName() }, })} color="danger" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.aiops.index.dataViewWithoutMetricNotificationDescription', { @@ -162,7 +162,7 @@ export const ChangePointDetectionPage: FC = () => { defaultMessage: 'Analysis has been limited', })} color="warning" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.aiops.changePointDetection.cardinalityWarningMessage', { @@ -247,7 +247,7 @@ export const ChangePointDetectionPage: FC = () => { values: { dataViewTitle: dataView.getName() }, })} color="danger" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.aiops.index.changePointTimeSeriesNotificationDescription', { diff --git a/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_analysis.tsx b/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_analysis.tsx index 64f1ef92aae7d72..ca4ad2486c81d36 100644 --- a/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_analysis.tsx +++ b/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_analysis.tsx @@ -208,7 +208,7 @@ export const ExplainLogRateSpikesAnalysis: FC values: { errorCount: errors.length }, })} color="warning" - iconType="alert" + iconType="warning" size="s" > diff --git a/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_app_state.tsx b/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_app_state.tsx index f43b60d7daffaa1..ce69ea9fea3ae80 100644 --- a/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_app_state.tsx +++ b/x-pack/plugins/aiops/public/components/explain_log_rate_spikes/explain_log_rate_spikes_app_state.tsx @@ -85,7 +85,7 @@ export const ExplainLogRateSpikesAppState: FC values: { dataViewTitle: dataView.getName() }, })} color="danger" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.aiops.index.dataViewNotBasedOnTimeSeriesNotificationDescription', { diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx b/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx index 4927782b722d969..c4a410c85c4b59c 100644 --- a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx +++ b/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_alerts_history_chart.tsx @@ -214,7 +214,9 @@ export function LatencyAlertsHistoryChart({ opacity: 1, }, }} - marker={} + marker={ + + } markerBody={(annotationData) => ( <> diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart/alert_annotation.tsx b/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart/alert_annotation.tsx index d4496e6512434ad..fec205b191d2ea2 100644 --- a/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart/alert_annotation.tsx +++ b/x-pack/plugins/apm/public/components/alerting/ui_components/alert_details_app_section/latency_chart/alert_annotation.tsx @@ -40,7 +40,7 @@ export function AlertAnnotation({ alertStarted }: { alertStarted: number }) { opacity: 1, }, }} - marker={} + marker={} markerPosition={Position.Top} /> ); diff --git a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx b/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx index 1ad348edcf4acb1..57d27c6cb6e311a 100644 --- a/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/ui_components/apm_rule_params_container/index.tsx @@ -99,7 +99,7 @@ function MinimumWindowSizeWarning({ minimumWindowSize.value } ${getTimeUnitLabel(minimumWindowSize.unit)}`} color="warning" - iconType="alert" + iconType="warning" >

{description}

diff --git a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx b/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx index 1dc101c4e05136b..5c5158ee8c491b0 100644 --- a/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx +++ b/x-pack/plugins/apm/public/components/app/infra_overview/infra_tabs/failure_prompt.tsx @@ -22,7 +22,7 @@ export function FailurePrompt() { > diff --git a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx index 1ac56f1867841f8..8664fd59152a2a8 100644 --- a/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx +++ b/x-pack/plugins/apm/public/components/app/service_groups/service_groups_list/service_group_card.tsx @@ -91,7 +91,7 @@ export function ServiceGroupsCard({ )} > diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx b/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx index 617c255c4f96b6d..a7603163f37189e 100644 --- a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/agent_configurations/agent_configuration_create_edit/service_page/service_page.tsx @@ -142,7 +142,7 @@ export function ServicePage({ newConfig, setNewConfig, onClickNext }: Props) { {isAllOptionSelected && (

{i18n.translate( diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx b/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx index 065dfd67bb5e010..ddfd470023d66dd 100644 --- a/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/agent_configurations/list/index.tsx @@ -97,7 +97,7 @@ export function AgentConfigurationList({ const failurePrompt = (

diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx b/x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx index 03916eda5cfa31e..a13d17829e6ad38 100644 --- a/x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/agent_keys/index.tsx @@ -193,7 +193,7 @@ function AgentKeysContent({ if (requestFailed) { return ( {i18n.translate( diff --git a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx b/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx index 8aa5eb475bd6fe0..91bd9e047429324 100644 --- a/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/agent_keys/prompts/api_keys_not_enabled.tsx @@ -27,7 +27,7 @@ export function ApiKeysNotEnabled() { )} } - iconType="alert" + iconType="warning" body={

{ML_ERRORS.MISSING_WRITE_PRIVILEGES}} /> ); diff --git a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx b/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx index 41c78f1277c4b61..6c2f6188c79edf6 100644 --- a/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/anomaly_detection/index.tsx @@ -49,7 +49,7 @@ export function AnomalyDetection() { return ( {ML_ERRORS.MISSING_READ_PRIVILEGES}} /> diff --git a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx b/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx index 5b7ad8d744bb25c..8d2a29fc77b4637 100644 --- a/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/custom_link/create_edit_custom_link_flyout/link_preview.tsx @@ -130,7 +130,7 @@ export function LinkPreview({ label, url, filters }: LinkPreviewProps) { {error && ( diff --git a/x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx b/x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx index 8741cd766769829..8e7444c1a776fe7 100644 --- a/x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx +++ b/x-pack/plugins/apm/public/components/app/settings/schema/migrated/upgrade_available_card.tsx @@ -22,7 +22,7 @@ export function UpgradeAvailableCard({ return ( } + icon={} title={i18n.translate( 'xpack.apm.settings.schema.upgradeAvailable.title', { diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx index 2536c6f59d0ff45..4890567baf4480d 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfall/index.tsx @@ -115,7 +115,7 @@ export function Waterfall({ { const component = renderWithTheme(

diff --git a/x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts b/x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts index d9731988f0fea78..47e91503f778947 100644 --- a/x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts +++ b/x-pack/plugins/apm/server/tutorial/envs/on_prem_apm_server_instruction_set.ts @@ -44,7 +44,7 @@ export function getOnPremApmServerInstructionSet({ defaultMessage: `Please make sure your APM Server is updated to 7.0 or higher. \ You can also migrate your 6.x data with the migration assistant found in Kibana's management section.`, }), - iconType: 'alert', + iconType: 'warning', }, instructionVariants: [ { diff --git a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js b/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js index ae0af7b2297f5ff..b0dc938085cad52 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js +++ b/x-pack/plugins/canvas/canvas_plugin_src/uis/datasources/esdocs.js @@ -155,7 +155,7 @@ const EsdocsDatasource = ({ args, updateArgs, defaultIndex }) => { - +

{strings.getWarning()}

diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot b/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot index 5d83b2718f9168b..075a59a8e1be853 100644 --- a/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/color_dot/__stories__/__snapshots__/color_dot.stories.storyshot @@ -172,7 +172,7 @@ Array [ > diff --git a/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx b/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx index f24e42d1d8a4ee3..9657ae805b8e16b 100644 --- a/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx +++ b/x-pack/plugins/canvas/public/components/color_dot/__stories__/color_dot.stories.tsx @@ -43,7 +43,7 @@ storiesOf('components/Color/ColorDot', module) - + diff --git a/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot b/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot index 7c6e30dd64fb01f..6584b71789a8709 100644 --- a/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/color_manager/__stories__/__snapshots__/color_manager.stories.storyshot @@ -495,7 +495,7 @@ Array [ > @@ -550,7 +550,7 @@ Array [ > @@ -605,7 +605,7 @@ Array [ > @@ -660,7 +660,7 @@ Array [ > @@ -715,7 +715,7 @@ Array [ > @@ -770,7 +770,7 @@ Array [ > @@ -825,7 +825,7 @@ Array [ > diff --git a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx b/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx index 3059a62d88437ee..cfaebd9ffa51431 100644 --- a/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx +++ b/x-pack/plugins/canvas/public/components/tooltip_icon/tooltip_icon.tsx @@ -24,8 +24,8 @@ interface Props extends Omit { export const TooltipIcon: FC = ({ icon = IconType.info, ...rest }) => { const icons = { - [IconType.error]: { type: 'alert', color: 'danger' }, - [IconType.warning]: { type: 'alert', color: 'warning' }, + [IconType.error]: { type: 'error', color: 'danger' }, + [IconType.warning]: { type: 'warning', color: 'warning' }, [IconType.info]: { type: 'iInCircle', color: 'default' }, }; diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot b/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot index c8854758e83b051..6a2ad859dda7634 100644 --- a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/edit_var.stories.storyshot @@ -47,7 +47,7 @@ Array [ aria-hidden="true" className="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" size="m" > @@ -422,7 +422,7 @@ Array [ aria-hidden="true" className="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" size="m" > @@ -738,7 +738,7 @@ Array [ aria-hidden="true" className="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" size="m" > diff --git a/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx b/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx index 85f22da22445124..29e026be860a1cf 100644 --- a/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx +++ b/x-pack/plugins/canvas/public/components/var_config/edit_var.tsx @@ -156,7 +156,7 @@ export const EditVar: FC = ({ variables, selectedVar, onCancel, onSave }) diff --git a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx index 42326d1b6e0c803..57a8a90ce160cd6 100644 --- a/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx +++ b/x-pack/plugins/canvas/public/components/workpad_header/share_menu/flyout/flyout.component.tsx @@ -179,7 +179,7 @@ export const ShareWebsiteFlyout: FC = ({ , ]; warningText = [ - , + , , ]; } diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot index 98531115442bc93..692506da1aa0bb1 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot +++ b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot @@ -178,7 +178,7 @@ exports[`Storyshots arguments/SeriesStyle/components simple: no series 1`] = ` > App renders properly 1`] = `"
markdown mock
markdown mock
My Canvas Workpad
"`; +exports[` App renders properly 1`] = `"
markdown mock
markdown mock
My Canvas Workpad
"`; diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx b/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx index 9c5681c4025b615..b49d7d883b2690a 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx +++ b/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.test.tsx @@ -195,7 +195,7 @@ describe('ConnectorsDropdown', () => { color="warning" content="This connector is deprecated. Update it, or create a new one." size="m" - type="alert" + type="warning" /> , diff --git a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx b/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx index 2eaad4c722493f0..2ef2b61cedcb6d6 100644 --- a/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx +++ b/x-pack/plugins/cases/public/components/configure_cases/connectors_dropdown.tsx @@ -96,7 +96,7 @@ const ConnectorsDropdownComponent: React.FC = ({ diff --git a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx b/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx index 504a00ec5e5b962..d4c2e854cfaf645 100644 --- a/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx +++ b/x-pack/plugins/cases/public/components/connectors/deprecated_callout.tsx @@ -32,7 +32,7 @@ const DeprecatedCalloutComponent: React.FC = ({ type = 'warning' }) => ( {DEPRECATED_CONNECTOR_WARNING_DESC} diff --git a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx b/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx index 0993dfcad5d4848..1b5268f3640f3e0 100644 --- a/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx +++ b/x-pack/plugins/cases/public/components/connectors/swimlane/case_fields.tsx @@ -35,7 +35,7 @@ const SwimlaneComponent: React.FunctionComponent {i18n.EMPTY_MAPPING_WARNING_DESC} diff --git a/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap b/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap index 7044c055e4b78fd..1a3cf5cb0e5cf00 100644 --- a/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/cases/public/components/link_icon/__snapshots__/index.test.tsx.snap @@ -9,7 +9,7 @@ exports[`LinkIcon it renders 1`] = ` > { test('it renders', () => { const wrapper = shallow( - + {'Test link'} ); @@ -25,7 +25,7 @@ describe('LinkIcon', () => { test('it renders an action button when onClick is provided', () => { const wrapper = mount( - alert('Test alert')}> + alert('Test alert')}> {'Test link'} @@ -37,7 +37,7 @@ describe('LinkIcon', () => { test('it renders an action link when href is provided', () => { const wrapper = mount( - + {'Test link'} @@ -49,7 +49,7 @@ describe('LinkIcon', () => { test('it renders an icon', () => { const wrapper = mount( - {'Test link'} + {'Test link'} ); @@ -59,7 +59,7 @@ describe('LinkIcon', () => { test('it positions the icon to the right when iconSide is right', () => { const wrapper = mount( - + {'Test link'} @@ -71,7 +71,7 @@ describe('LinkIcon', () => { test('it positions the icon to the left when iconSide is left (or not provided)', () => { const wrapper = mount( - + {'Test link'} @@ -86,7 +86,7 @@ describe('LinkIcon', () => { test('it renders a label', () => { const wrapper = mount( - {'Test link'} + {'Test link'} ); diff --git a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx b/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx index da20f4c4cefc32d..0b314aeb0de1e49 100644 --- a/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx +++ b/x-pack/plugins/cases/public/components/user_actions/comment/registered_attachments.tsx @@ -97,7 +97,7 @@ export const createRegisteredAttachmentUserActionBuilder = < 'data-test-subj': `comment-${comment.type}-not-found`, timestamp: , children: ( - + ), }, ]; diff --git a/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx b/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx index bc10db7ace74b63..028dbfddc5a052c 100644 --- a/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/cloud_defend_page/index.tsx @@ -172,7 +172,7 @@ const defaultErrorRenderer = (error: unknown) => ( diff --git a/x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx b/x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx index 7ab4afa3fb06ee2..0feb97a9341bb66 100644 --- a/x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx +++ b/x-pack/plugins/cloud_defend/public/components/subscription_not_allowed/index.tsx @@ -15,7 +15,7 @@ export const SubscriptionNotAllowed = () => { return ( ( diff --git a/x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx b/x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx index 8a28c3a32ba4498..2ebb479dbb78dbb 100644 --- a/x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx +++ b/x-pack/plugins/cloud_security_posture/public/components/subscription_not_allowed.tsx @@ -15,7 +15,7 @@ export const SubscriptionNotAllowed = () => { return ( { defaultMessage: 'We encountered an error retrieving search results', })} color="danger" - iconType="alert" + iconType="warning" > search.showError(error)}> diff --git a/x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js b/x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js index c12c4dfb5a704b0..e646a6fc082c9eb 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/components/section_error.js @@ -14,7 +14,7 @@ export function SectionError(props) { const { error: errorString, attributes, message } = data; return ( - +
{message || errorString}
{attributes?.error?.root_cause && ( diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js b/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js index d1fdcc2216ab554..483b8356c5ffb9e 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/sections/auto_follow_pattern_edit/auto_follow_pattern_edit.js @@ -100,7 +100,7 @@ export class AutoFollowPatternEdit extends PureComponent { return ( - + @@ -238,7 +238,7 @@ export class DetailPanel extends Component {
- + diff --git a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js index a45fcd71b376279..351f1bd77592f29 100644 --- a/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js +++ b/x-pack/plugins/cross_cluster_replication/public/app/sections/home/follower_indices_list/components/detail_panel/detail_panel.js @@ -423,7 +423,7 @@ export class DetailPanel extends Component { - + diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx index f047518a81665b0..3630e278bf7cb5a 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/not_in_docs_content/not_in_docs_context.tsx @@ -13,7 +13,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; export const NotInDocsContent: FC = () => ( - + = ({ config }) => { defaultMessage: 'No examples were obtained for this field', } )} - iconType="alert" + iconType="warning" > diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts index 42e9c546d85aea3..11fb075a6ca55bd 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/__mocks__/engine_creation_logic.mock.ts @@ -257,7 +257,7 @@ export const mockSearchIndexOptions: SearchIndexSelectableOption[] = [ badge: { color: 'danger', label: 'Alias', - icon: 'alert', + icon: 'warning', toolTipTitle: 'Alias name is incompatible', toolTipContent: 'You\'ll have to create a new alias prefixed with "search-".', }, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx index 890657d4c235a59..d3117c006c14983 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_form_errors.tsx @@ -21,7 +21,7 @@ export const AddDomainFormErrors: React.FC = () => { return ( ; case 'warning': - return ; + return ; case 'invalid': return ; default: diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx index c24eebea9178b47..b3ff6b952053aeb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_flyout/form_components/key_update_warning.tsx @@ -18,7 +18,7 @@ export const FormKeyUpdateWarning: React.FC = () => ( defaultMessage: 'Proceed with caution!', })} color="warning" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.enterpriseSearch.appSearch.credentials.updateWarning', { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx index 97452e57933a6e0..47032588c8e2918 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx @@ -44,7 +44,7 @@ const columns: Array> = [ {query} {curation.override_manual_curation && ( <> - + {i18n.translate( 'xpack.enterpriseSearch.appSearch.engine.curations.suggestionsTable.overridesLabel', { defaultMessage: 'Overrides' } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx index 536d30637549ed6..1d16ee88571eaa8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_action_bar.tsx @@ -39,7 +39,7 @@ export const CurationActionBar: React.FC = () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx index 755b8b3c1c9163e..164b9ffefe18202 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/errors.tsx @@ -20,14 +20,14 @@ export const Errors: React.FC = () => { return ( <> {errors.length > 0 && ( - + {errors.map((message, index) => (

{message}

))}
)} {warnings.length > 0 && ( - + {warnings.map((message, index) => (

{message}

))} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx index 13c629f758a5956..28358a414918440 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.test.tsx @@ -70,7 +70,7 @@ describe('Summary', () => { expect(banner.type).toEqual(EuiCallOut); expect(banner.props.color).toEqual('danger'); - expect(banner.props.iconType).toEqual('alert'); + expect(banner.props.iconType).toEqual('warning'); expect(banner.props.title).toEqual( 'Something went wrong. Please address the errors and try again.' ); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx index 430155a7471c88c..d3f487d419be066 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary.tsx @@ -60,7 +60,7 @@ export const FlyoutBody: React.FC = () => { const { summary } = useValues(DocumentCreationLogic); const hasInvalidDocuments = summary.invalidDocuments.total > 0; const invalidDocumentsBanner = ( - + ); return ( diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx index 24fa2766cb15d5e..64d8df98218fca8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.test.tsx @@ -49,7 +49,7 @@ describe('SummarySectionAccordion', () => { }; wrapper.setProps({ status: 'error' }); - expect(getIcon().prop('type')).toEqual('crossInACircleFilled'); + expect(getIcon().prop('type')).toEqual('error'); expect(getIcon().prop('color')).toEqual('danger'); wrapper.setProps({ status: 'success' }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx index 9931c8cae89ba46..83a0c8057a26870 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/document_creation/creation_response_components/summary_section.tsx @@ -12,7 +12,7 @@ import { EuiAccordion, EuiIcon } from '@elastic/eui'; import './summary_section.scss'; const ICON_PROPS = { - error: { type: 'crossInACircleFilled', color: 'danger' }, + error: { type: 'error', color: 'danger' }, success: { type: 'checkInCircleFilled', color: 'success' }, info: { type: 'iInCircle', color: 'default' }, }; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx index 436f4bbad6c6962..f57118999d8eeb0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_nav.tsx @@ -157,7 +157,7 @@ export const useEngineNav = () => { <> {hasSchemaErrors && ( { )} {hasSchemaConflicts && ( { )} {hasIncompleteFields && ( { <> {invalidBoosts && ( { )} {unsearchedUnconfirmedFields && ( = ({ type }) => { return hasLogRetentionDisabled ? ( <> { const invalidBoostsCallout = () => ( { const unsearchedUnconfirmedFieldsCallout = () => ( { const schemaFieldsWithConflictsCallout = () => ( { return ( { {hasConflicts && ( <> { <> { > {hasUnknownIndices ? ( - + ) : ( )} diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx index 7abca3939ae0ec6..d978817459ec6fc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/new_index/method_connector/method_connector.tsx @@ -79,7 +79,7 @@ export const MethodConnector: React.FC<{ isNative: boolean }> = ({ isNative }) = } )} color="warning" - iconType="alert" + iconType="warning" > {i18n.translate( 'xpack.enterpriseSearch.content.nativeConnector.memoryCallout.content', diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx index 421b4f8e121229b..1d93e5c067e1121 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/connector/connector_scheduling.tsx @@ -128,7 +128,7 @@ export const ConnectorSchedulingComponent: React.FC = () => { {ingestionStatus === IngestionStatus.ERROR ? ( { /> { disableEditing()} diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/add_domain/add_domain_form_errors.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/add_domain/add_domain_form_errors.tsx index e799161422234f9..d7062092fbef4fe 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/add_domain/add_domain_form_errors.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/domain_management/add_domain/add_domain_form_errors.tsx @@ -21,7 +21,7 @@ export const AddDomainFormErrors: React.FC = () => { return ( ; case 'warning': - return ; + return ; case 'invalid': return ; default: diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/no_connector_record.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/no_connector_record.tsx index ea6dc5d7d2b6200..87be0e21f1bc8b9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/no_connector_record.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/crawler/no_connector_record.tsx @@ -36,7 +36,7 @@ export const NoConnectorRecord: React.FC = () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx index 43907ce1f69e9d6..dc11821c948604d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/overview.tsx @@ -35,7 +35,7 @@ export const SearchIndexOverview: React.FC = () => { {isConnectorIndex(indexData) && error && ( <> { expect(wrapper.find(EuiCallOut)).toHaveLength(1); const errorCallout = wrapper.find(EuiCallOut); expect(errorCallout.prop('color')).toBe('danger'); - expect(errorCallout.prop('iconType')).toBe('alert'); + expect(errorCallout.prop('iconType')).toBe('error'); expect(errorCallout.find('p')).toHaveLength(1); expect(errorCallout.find('p').text()).toBe(errorMsg); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_inference_pipeline_flyout.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_inference_pipeline_flyout.tsx index 31668a93433c1f2..4fc99ba1f129699 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_inference_pipeline_flyout.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/add_inference_pipeline_flyout.tsx @@ -116,7 +116,7 @@ export const AddInferencePipelineContent = ({ onClose }: AddInferencePipelineFly { defaultMessage: 'Error creating pipeline' } )} color="danger" - iconType="alert" + iconType="error" > {createErrors.map((message, i) => (

{message}

diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/pipeline_select_option.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/pipeline_select_option.tsx index b8b5c0c3c508e21..0bb2dfbbfbfe5af 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/pipeline_select_option.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_index/pipelines/ml_inference/pipeline_select_option.tsx @@ -25,7 +25,7 @@ export const PipelineSelectOption: React.FC = ({ pipe - + diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/delete_index_modal.tsx b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/delete_index_modal.tsx index 085aacbd59b03f5..90e1da7c26eb29d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/delete_index_modal.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/components/search_indices/delete_index_modal.tsx @@ -91,7 +91,7 @@ export const DeleteIndexModal: React.FC = () => { <> { return ( diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts b/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts index fb490ce35b7fe1c..16f6c7a6e4c76b7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/flash_messages/constants.ts @@ -10,7 +10,7 @@ import { FlashMessageColors } from './types'; export const FLASH_MESSAGE_TYPES = { success: { color: 'success' as FlashMessageColors, iconType: 'check' }, info: { color: 'primary' as FlashMessageColors, iconType: 'iInCircle' }, - warning: { color: 'warning' as FlashMessageColors, iconType: 'alert' }, + warning: { color: 'warning' as FlashMessageColors, iconType: 'warning' }, error: { color: 'danger' as FlashMessageColors, iconType: 'error' }, }; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx index c5b1cfc866b0830..0a17d0a5e638a36 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.test.tsx @@ -22,7 +22,7 @@ describe('DeactivatedUserCallout', () => { > @@ -53,7 +53,7 @@ describe('DeactivatedUserCallout', () => { > diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx index 5b69420d169ce16..84d4b8e512f9920 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/deactivated_user_callout.tsx @@ -19,7 +19,7 @@ export const DeactivatedUserCallout: React.FC = ({ isNew }) => ( <> {!isNew && } - {DEACTIVATED_USER_CALLOUT_LABEL} + {DEACTIVATED_USER_CALLOUT_LABEL} {DEACTIVATED_USER_CALLOUT_DESCRIPTION} diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx index c9496766ccc46a7..0d12ca02f3f8321 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/schema/errors_callout/index.tsx @@ -20,7 +20,7 @@ interface Props { export const SchemaErrorsCallout: React.FC = ({ viewErrorsPath }) => ( diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx index 6cffd3bd9c3a575..7cd2aa028b381c3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/inline_editable_table/action_column.tsx @@ -76,7 +76,7 @@ export const ActionColumn = ({ diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx index 8bbb3164f2161c7..5df902e826cabeb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/tables/reorderable_table/body_row.tsx @@ -66,7 +66,7 @@ export const BodyRow = ({ {errors.map((errorMessage, errorMessageIndex) => ( - + ))} diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/version_mismatch/version_mismatch_error.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/version_mismatch/version_mismatch_error.tsx index f2f913902f97f08..56915663961de85 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/version_mismatch/version_mismatch_error.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/version_mismatch/version_mismatch_error.tsx @@ -21,7 +21,7 @@ export const VersionMismatchError: React.FC = ({ }) => { return ( diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx index f55018dda93c2f4..19051cad6392327 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_external_connector/external_connector_form_fields.tsx @@ -33,7 +33,7 @@ export const ExternalConnectorFormFields: React.FC = () => { <> = ({ const callout = ( <> - +

{SOURCE_DISABLED_CALLOUT_DESCRIPTION}

{SOURCE_DISABLED_CALLOUT_BUTTON} diff --git a/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap b/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap index d24f877c21cb631..d8e82190d2af00e 100644 --- a/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap +++ b/x-pack/plugins/file_upload/public/components/__snapshots__/import_complete_view.test.tsx.snap @@ -13,7 +13,7 @@ exports[`Should render error when upload fails from elasticsearch request failur

@@ -107,7 +107,7 @@ exports[`Should render error when upload fails from http request timeout 1`] = `

diff --git a/x-pack/plugins/file_upload/public/components/import_complete_view.tsx b/x-pack/plugins/file_upload/public/components/import_complete_view.tsx index f95aee869f93dcd..6bef91182aa3a8b 100644 --- a/x-pack/plugins/file_upload/public/components/import_complete_view.tsx +++ b/x-pack/plugins/file_upload/public/components/import_complete_view.tsx @@ -105,7 +105,7 @@ export class ImportCompleteView extends Component { defaultMessage: 'Unable to upload file', })} color="danger" - iconType="alert" + iconType="warning" data-test-subj={STATUS_CALLOUT_DATA_TEST_SUBJ} >

@@ -149,7 +149,7 @@ export class ImportCompleteView extends Component { defaultMessage: 'Unable to upload file', })} color="danger" - iconType="alert" + iconType="warning" data-test-subj={STATUS_CALLOUT_DATA_TEST_SUBJ} >

{errorMsg}

diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx index 97d7ef72a9ec66f..11e2d52db8967da 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_yaml_flyout.tsx @@ -49,7 +49,7 @@ export const AgentPolicyYamlFlyout = memo<{ policyId: string; onClose: () => voi /> } color="danger" - iconType="alert" + iconType="warning" > {error.message}
diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_combo.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_combo.tsx index c310cf2b29d3ad2..680da0fd750122b 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_combo.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/steps/components/dataset_combo.tsx @@ -99,7 +99,7 @@ export const DatasetComboBox: React.FC<{ <> - +   = ({ { defaultMessage: 'Upgrade Available' } )} > - +
diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx index 8b981c89fe74354..99eba56ea6a9e7a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/edit_package_policy_page/components/upgrade.tsx @@ -96,7 +96,7 @@ export const UpgradeStatusCallout: React.FunctionComponent<{ defaultMessage: 'Review field conflicts', })} color="warning" - iconType="alert" + iconType="warning" > {showNeedsAttentionBadge && ( - + - + ) : null} diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx index 7ec0de9023e32fb..de3600142d8ca80 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_diagnostics/index.tsx @@ -134,7 +134,7 @@ export const AgentDiagnosticsTab: React.FunctionComponent } }, [prevDiagnosticsEntries, diagnosticsEntries, notifications.toasts]); - const errorIcon = ; + const errorIcon = ; const getErrorMessage = (error?: string) => (error ? `Error: ${error}` : ''); const columns: Array> = [ @@ -238,7 +238,7 @@ export const AgentDiagnosticsTab: React.FunctionComponent 0 ? ( - + ) : ( ), @@ -469,13 +469,13 @@ const ActivityItem: React.FunctionComponent<{ ), }, FAILED: { - icon: , + icon: , title: completeTitle, titleColor: 'red', description: failedDescription, }, CANCELLED: { - icon: , + icon: , titleColor: 'grey', title: ( @@ -501,7 +501,7 @@ const ActivityItem: React.FunctionComponent<{ ), }, EXPIRED: { - icon: , + icon: , titleColor: 'grey', title: ( diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx index 1f4ffd81ff47fe6..294b3a69644c4a8 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/components/agent_list_table.tsx @@ -187,7 +187,7 @@ export const AgentListTable: React.FC = (props: Props) => { {showWarning && ( - +   = (props: Props) => { {isAgentSelectable(agent) && isAgentUpgradeable(agent, kibanaVersion) ? ( - +   - + Clear all diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx index 7a8d34096ed9869..59f0df5045b3f01 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/es_requirements_page.tsx @@ -35,7 +35,7 @@ export const RequirementItem: React.FunctionComponent<{ isMissing: boolean }> = {isMissing ? ( - + ) : ( )} @@ -62,7 +62,7 @@ export const MissingESRequirementsPage: React.FunctionComponent<{ defaultMessage: 'Missing security requirements', })} color="warning" - iconType="alert" + iconType="warning" > = ({ defaultMessage: 'This agent is running Fleet Server', })} color="warning" - iconType="alert" + iconType="warning" >

{ const { docLinks } = useStartServices(); return ( - + - + { const { docLinks } = useStartServices(); return ( ( defaultMessage: 'Update available', })} size={size} - type="alert" + type="warning" color="warning" content={i18n.translate('xpack.fleet.epm.updateAvailableTooltip', { defaultMessage: 'Update available', diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx index 86346fc2988dd39..c99f75f75258d0c 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/update_icon.tsx @@ -16,7 +16,7 @@ export const UpdateIcon = ({ size = 'm' }: { size?: EuiIconProps['size'] }) => ( defaultMessage: 'Update available', })} size={size} - type="alert" + type="warning" color="warning" content={i18n.translate('xpack.fleet.epm.updateAvailableTooltip', { defaultMessage: 'Update available', diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx index 888903a293e1430..0e300325f850c71 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/overview.tsx @@ -49,7 +49,7 @@ const UnverifiedCallout: React.FC = () => { title={i18n.translate('xpack.fleet.epm.verificationWarningCalloutTitle', { defaultMessage: 'Integration not verified', })} - iconType="alert" + iconType="warning" color="warning" >

diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx index 647bb3715dcb071..d2066525163376a 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx @@ -71,7 +71,7 @@ const IntegrationDetailsLink = memo<{ const AgentPolicyNotFound = () => ( - +   ( = ({ <> = ({ count }) => ( count, }, })} - iconType="alert" + iconType="warning" color="warning" >

@@ -97,7 +97,7 @@ const VerificationWarningCallout: React.FC = () => { title={i18n.translate('xpack.fleet.epmList.verificationWarningCalloutTitle', { defaultMessage: 'Integrations not verified', })} - iconType="alert" + iconType="warning" color="warning" >

diff --git a/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx b/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx index a6434b0c08b501c..01d1987141d5b2b 100644 --- a/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx +++ b/x-pack/plugins/fleet/public/components/agent_policy_package_badges.tsx @@ -106,7 +106,7 @@ export const AgentPolicyPackageBadges: React.FunctionComponent = ({ = ({ title, error }) => { return ( - +

{typeof error === 'string' ? error : error.message}

); diff --git a/x-pack/plugins/fleet/public/components/platform_selector.tsx b/x-pack/plugins/fleet/public/components/platform_selector.tsx index 418b78836006058..d0058185171ab9a 100644 --- a/x-pack/plugins/fleet/public/components/platform_selector.tsx +++ b/x-pack/plugins/fleet/public/components/platform_selector.tsx @@ -79,7 +79,7 @@ export const PlatformSelector: React.FunctionComponent = ({ 'We recommend using the installers (TAR/ZIP) over system packages (RPM/DEB) because they provide the ability to upgrade your agent with Fleet.', })} color="warning" - iconType="alert" + iconType="warning" /> ); @@ -90,7 +90,7 @@ export const PlatformSelector: React.FunctionComponent = ({ 'We recommend adding the Kubernetes integration to your agent policy in order to get useful metrics and logs from your Kubernetes clusters.', })} color="warning" - iconType="alert" + iconType="warning" /> ); diff --git a/x-pack/plugins/grokdebugger/public/components/inactive_license.js b/x-pack/plugins/grokdebugger/public/components/inactive_license.js index c3022f515124299..f373c65bf9bb181 100644 --- a/x-pack/plugins/grokdebugger/public/components/inactive_license.js +++ b/x-pack/plugins/grokdebugger/public/components/inactive_license.js @@ -50,7 +50,7 @@ export const InactiveLicenseSlate = () => { defaultMessage: 'License error', })} color="danger" - iconType="alert" + iconType="warning" style={{ padding: '16px' }} > diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx index c2acc89fe34d18f..9ad9e54676fc8d7 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/edit_warning.tsx @@ -89,7 +89,7 @@ export const EditWarning: FunctionComponent = () => { /> } color="danger" - iconType="alert" + iconType="warning" data-test-subj="editManagedPolicyCallOut" >

diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx index 52dc9445c261f94..530a25555b47633 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/hot_phase/components/max_index_size_field.tsx @@ -42,7 +42,7 @@ export const MaxIndexSizeField: FunctionComponent = () => { min: 1, prepend: ( diff --git a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx index 5c8654695109866..507ee89563f9a7b 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/components/phases/phase/phase_title.tsx @@ -96,7 +96,7 @@ export const PhaseTitle: FunctionComponent = ({ phase }) => { {hasErrors && ( = ({ policyName, c content = ( { /> } color="danger" - iconType="alert" + iconType="warning" data-test-subj="deleteManagedPolicyCallOut" >

diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx index f63a7a624d4e470..51d98ea2ea1c8a8 100644 --- a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx +++ b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_details/component_template_details.tsx @@ -84,7 +84,7 @@ export const ComponentTemplateDetailsFlyoutContent: React.FunctionComponent } color="danger" - iconType="alert" + iconType="warning" data-test-subj="sectionError" >

{error.message}

diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/mappings_datastreams_rollover_modal.tsx b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/mappings_datastreams_rollover_modal.tsx index f7feb7eaedbece7..6d60c5d50964589 100644 --- a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/mappings_datastreams_rollover_modal.tsx +++ b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_edit/mappings_datastreams_rollover_modal.tsx @@ -82,7 +82,7 @@ export const MappingsDatastreamRolloverModal: React.FunctionComponent = ( /> } color="danger" - iconType="alert" + iconType="warning" data-test-subj="applyMappingsRolloverError" >
{error.message}
diff --git a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx index ae12800719f960b..6ec857e9c2c30e8 100644 --- a/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx +++ b/x-pack/plugins/index_management/public/application/components/component_templates/component_template_wizard/component_template_form/component_template_form.tsx @@ -133,7 +133,7 @@ export const ComponentTemplateForm = ({ /> } color="danger" - iconType="alert" + iconType="warning" data-test-subj="saveComponentTemplateError" >
{saveError.message || saveError.statusText}
diff --git a/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx b/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx index ac3beaa7b0b523d..37aa0d81e040e27 100644 --- a/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx +++ b/x-pack/plugins/index_management/public/application/components/index_templates/legacy_index_template_deprecation.tsx @@ -29,7 +29,7 @@ export const LegacyIndexTemplatesDeprecation: React.FunctionComponent = ( 'Legacy index templates are deprecated in favor of composable index templates', })} color="warning" - iconType="alert" + iconType="warning" data-test-subj="legacyIndexTemplateDeprecationWarning" > {showCta && history && ( diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx index 4ddfa550f5d0942..236dfe98119ca01 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/configuration_form/source_field_section/source_field_section.tsx @@ -21,7 +21,7 @@ export const SourceFieldSection = () => { title={i18n.translate('xpack.idxMgmt.mappingsEditor.disabledSourceFieldCallOutTitle', { defaultMessage: 'Use caution when disabling the _source field', })} - iconType="alert" + iconType="warning" color="warning" >

diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx index 593b5f7eae23bbc..92dab1b387f92ea 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/document_fields/field_parameters/fielddata_parameter.tsx @@ -114,7 +114,7 @@ export const FieldDataParameter = ({ field, defaultToggleValue }: Props) => { <> { const renderWarning = () => ( { defaultMessage: 'Positions not enabled.', })} color="danger" - iconType="alert" + iconType="warning" >

{i18n.translate('xpack.idxMgmt.mappingsEditor.positionsErrorMessage', { diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx index 914007018c44e46..a4849f556972f86 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx @@ -249,7 +249,11 @@ export const LoadMappingsProvider = ({ onJson, esNodesPlugins, children }: Props

) : ( <> - +

{i18nTexts.validationErrors.description}

diff --git a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx index 61ee27534f7b6be..98765c8f834e683 100644 --- a/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx +++ b/x-pack/plugins/index_management/public/application/components/mappings_editor/components/multiple_mappings_warning.tsx @@ -17,7 +17,7 @@ export const MultipleMappingsWarning = () => ( title={i18n.translate('xpack.idxMgmt.mappingsEditor.mappingTypesDetectedCallOutTitle', { defaultMessage: 'Mapping types detected', })} - iconType="alert" + iconType="warning" color="warning" data-test-subj="mappingTypesDetectedCallout" > diff --git a/x-pack/plugins/index_management/public/application/components/section_error.tsx b/x-pack/plugins/index_management/public/application/components/section_error.tsx index 7f6617d9c92036f..b24fe420a14073d 100644 --- a/x-pack/plugins/index_management/public/application/components/section_error.tsx +++ b/x-pack/plugins/index_management/public/application/components/section_error.tsx @@ -33,7 +33,7 @@ export const SectionError: React.FunctionComponent = ({ title, error, ... const cause = causeAttributes ?? causeRoot; return ( - +
{message || statusText}
{cause && ( diff --git a/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx b/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx index 1b54cc14f1f5ebb..46d2131b96e06f5 100644 --- a/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx +++ b/x-pack/plugins/index_management/public/application/components/template_delete_modal.tsx @@ -124,7 +124,7 @@ export const TemplateDeleteModal = ({ {name.startsWith('.') ? ( {' '} - + } color="danger" - iconType="alert" + iconType="warning" data-test-subj="deleteSystemTemplateCallOut" >

diff --git a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx index bdf3958c79ca706..52d5bd24654ab78 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx +++ b/x-pack/plugins/index_management/public/application/sections/home/data_stream_list/delete_data_stream_confirmation_modal/delete_data_stream_confirmation_modal.tsx @@ -123,7 +123,7 @@ export const DeleteDataStreamConfirmationModal: React.FunctionComponent = /> } color="danger" - iconType="alert" + iconType="warning" >

{error}

diff --git a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js b/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js index c3af6c6599bf7b1..54d1752734e01d1 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js +++ b/x-pack/plugins/index_management/public/application/sections/home/index_list/index_actions_context_menu/index_actions_context_menu.js @@ -433,7 +433,7 @@ export class IndexActionsContextMenu extends Component { {isSystemIndexByName[indexName] ? ( {' '} - +

{' '} - +

} color="danger" - iconType="alert" + iconType="warning" data-test-subj="systemTemplateEditCallout" > = (props) => { )} iconSize="s" color="text" - iconType={'crossInACircleFilled'} + iconType={'minusInCircleFilled'} onClick={toggleWarningThreshold} /> diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx b/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx index 1c38dca829aefe8..013f8f145c2a92e 100644 --- a/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx +++ b/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx @@ -139,7 +139,7 @@ export const SourceStatusWrapper: React.FC = ({ children }) => { defaultMessage: 'Sorry, there was a problem loading field information', })} color="danger" - iconType="alert" + iconType="warning" > {i18n.translate('xpack.infra.logs.alertFlyout.sourceStatusErrorTryAgain', { diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx index a353b954386c126..35196c9dba3867c 100644 --- a/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx +++ b/x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx @@ -320,7 +320,7 @@ export const ExpressionRow: React.FC = (props) => { )} iconSize="s" color="text" - iconType={'crossInACircleFilled'} + iconType={'minusInCircleFilled'} onClick={toggleWarningThreshold} /> diff --git a/x-pack/plugins/infra/public/components/data_search_error_callout.tsx b/x-pack/plugins/infra/public/components/data_search_error_callout.tsx index 0a06bb657f66fa3..b8f65cd1cfe1cfd 100644 --- a/x-pack/plugins/infra/public/components/data_search_error_callout.tsx +++ b/x-pack/plugins/infra/public/components/data_search_error_callout.tsx @@ -23,7 +23,7 @@ export const DataSearchErrorCallout: React.FC<{ const calloutColor = errors.some((error) => error.type !== 'aborted') ? 'danger' : 'warning'; return ( - + {errors?.map((error, errorIndex) => ( ))} diff --git a/x-pack/plugins/infra/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx b/x-pack/plugins/infra/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx index 457dc193d0a9bc0..a34f4f359ab2ac4 100644 --- a/x-pack/plugins/infra/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx +++ b/x-pack/plugins/infra/public/components/infrastructure_node_metrics_tables/shared/components/error_content.tsx @@ -17,7 +17,7 @@ export const MetricsTableErrorContent = ({ error }: { error: Error }) => ( } color="danger" data-test-subj="metricsTableErrorContent" - iconType="alert" + iconType="warning" title={

{error.message}

} titleSize="s" /> diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx index 7d3ba4a66067c96..57eb7e01057505f 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_job_status/recreate_job_callout.tsx @@ -14,7 +14,7 @@ export const RecreateJobCallout: React.FC<{ onRecreateMlJob: () => void; title?: React.ReactNode; }> = ({ children, hasSetupCapabilities, onRecreateMlJob, title }) => ( - + {children} = ({ warnin : [] ); - return ; + return ; }; diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx index 5a4d4ce6be4666b..d444cb59842c4ba 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/index_setup_row.tsx @@ -78,7 +78,7 @@ export const IndexSetupRow: React.FC<{ defaultMessage="While analyzing the log messages from these indices we've detected some problems which might indicate a reduced quality of the results. Consider excluding these indices or problematic datasets from the analysis." /> } - type="alert" + type="warning" color="warning" /> ) : null} diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx index 08f467540a02f74..bf8872edb6a7b38 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/initial_configuration_step/initial_configuration_step.tsx @@ -111,7 +111,7 @@ const ValidationErrors: React.FC<{ errors: ValidationUIError[] }> = ({ errors }) return ( <> - +
    {errors.map((error, i) => (
  • {formatValidationError(error)}
  • diff --git a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx index 52bf508fa156899..a62cc81a173596a 100644 --- a/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_analysis_setup/process_step/process_step.tsx @@ -76,7 +76,7 @@ export const ProcessStep: React.FunctionComponent = ({ /> {setupStatus.reasons.map((errorMessage, i) => ( - + {errorMessage} ))} diff --git a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx b/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx index 56f5f0355f74e96..d6827fba2f3434d 100644 --- a/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx +++ b/x-pack/plugins/infra/public/observability_logs/xstate_helpers/src/invalid_state_callout.tsx @@ -15,7 +15,7 @@ import type { State } from 'xstate'; export const InvalidStateCallout: React.FC<{ state: State }> = ({ state, }) => ( - + = ({ message }) => { - +

    = ({ errors, }) => ( - +

      {errors.map((error, errorIndex) => (
    • diff --git a/x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx b/x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx index 3469ff4318031f6..92d81c812845ce2 100644 --- a/x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx +++ b/x-pack/plugins/infra/public/pages/logs/shared/page_log_view_error.tsx @@ -28,7 +28,7 @@ export const LogViewErrorPage: React.FC<{ return ( @@ -153,7 +153,7 @@ const LogSourceErrorMessage: React.FC<{ error: Error }> = ({ error }) => { }; const LogSourceErrorCallout: React.FC<{ title: React.ReactNode }> = ({ title, children }) => ( - +

      {children}

      ); diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx b/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx index 1333c5b5c34390c..15c4e568ad8ed0a 100644 --- a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/alerts_tab_badge.tsx @@ -31,7 +31,7 @@ export const AlertsTabBadge = () => { 'The active alert count was not retrieved correctly, try reloading the page.', })} > - + ); } diff --git a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metric_chart.tsx b/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metric_chart.tsx index 23dd72cbf023cf0..808f2748f785b44 100644 --- a/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metric_chart.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/hosts/components/tabs/metrics/metric_chart.tsx @@ -85,7 +85,7 @@ export const MetricChart = ({ title, type, breakdownSize }: MetricChartProps) => direction="column" > - + diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/index.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/index.tsx index 2bed7681b8d56fa..161c592f8e05ef7 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/index.tsx @@ -135,7 +135,7 @@ const TabComponent = ({ currentTime, node, nodeType }: TabProps) => { /> ) : ( {i18n.translate('xpack.infra.metrics.nodeDetails.processListError', { diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/process_row_charts.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/process_row_charts.tsx index 05587992f419399..fd08ccbbed2f6d3 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/process_row_charts.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/node_details/tabs/processes/process_row_charts.tsx @@ -40,14 +40,14 @@ export const ProcessRowCharts = ({ command }: Props) => { const isLoading = loading || !response; const cpuChart = error ? ( - {failedToLoadChart}} /> + {failedToLoadChart}} /> ) : isLoading ? ( ) : ( ); const memoryChart = error ? ( - {failedToLoadChart}} /> + {failedToLoadChart}} /> ) : isLoading ? ( ) : ( diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/load_from_json/modal_provider.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/load_from_json/modal_provider.tsx index 8fdd3a9c3bef402..0147a5dcc7f7de9 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/load_from_json/modal_provider.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/load_from_json/modal_provider.tsx @@ -117,7 +117,7 @@ export const ModalProvider: FunctionComponent = ({ onDone, children }) => data-test-subj="errorCallOut" title={i18nTexts.error.title} color="danger" - iconType="alert" + iconType="warning" > {i18nTexts.error.body}
      diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processor_output/processor_output.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processor_output/processor_output.tsx index 14b6de569579a78..95dbe4858a133d7 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processor_output/processor_output.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processor_output/processor_output.tsx @@ -94,7 +94,7 @@ export const ProcessorOutput: FunctionComponent = ({ } if (!processorOutput) { - return ; + return ; } const { diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_flyout.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_flyout.tsx index 073a9c24c71f48a..5baacd614ca5770 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_flyout.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_flyout.tsx @@ -125,7 +125,7 @@ export const TestPipelineFlyout: React.FunctionComponent = ({ /> } color="danger" - iconType="alert" + iconType="warning" data-test-subj="pipelineExecutionError" >

      {testingError.message}

      diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_tabs/tab_documents/add_document_form.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_tabs/tab_documents/add_document_form.tsx index 1b77f02bbfb7e88..61d7a66468d02ab 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_tabs/tab_documents/add_document_form.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/test_pipeline/test_pipeline_tabs/tab_documents/add_document_form.tsx @@ -148,7 +148,7 @@ export const AddDocumentForm: FunctionComponent = ({ onAddDocuments }) => diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form_error/pipeline_form_error.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form_error/pipeline_form_error.tsx index ad21133f526f1a6..f690fcc3dc81460 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form_error/pipeline_form_error.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_form/pipeline_form_error/pipeline_form_error.tsx @@ -46,7 +46,7 @@ export const PipelineFormError: React.FunctionComponent = ({ error }) => {results.length > 1 ? ( diff --git a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx index a1308b3cf4b2306..02458752e96cff6 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_create_from_csv/error_display.tsx @@ -15,7 +15,7 @@ interface Props { export const Error: FC = ({ error }) => { return ( - +

      ( = ({ return ( = ({ onClose, pipe /> } color="danger" - iconType="alert" + iconType="warning" /> diff --git a/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx b/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx index 6f515b6793c3b81..0b9a739634188ae 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx @@ -127,7 +127,7 @@ export function FormBasedDataPanel({ defaultMessage: 'No data views', })} color="warning" - iconType="alert" + iconType="warning" >

      @@ -91,7 +91,7 @@ export const CalloutWarning = ({ title={i18n.translate('xpack.lens.indexPattern.formulaWarning', { defaultMessage: 'Formula currently applied', })} - iconType="alert" + iconType="warning" color="warning" > {temporaryStateType !== 'quickFunctions' ? ( diff --git a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx index 241d32c9c1a79ed..dd41a62fd243101 100644 --- a/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx +++ b/x-pack/plugins/lens/public/datasources/form_based/operations/definitions/formula/editor/formula_editor.tsx @@ -883,7 +883,7 @@ export function FormulaEditor({ { diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx index 71e0b43a33425b9..c895d3723f07ceb 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_panel.tsx @@ -118,7 +118,7 @@ const PreviewRenderer = ({ { .find('[data-test-subj="lnsChartSwitchPopoverAlert_visB"]') .first() .props().type - ).toEqual('alert'); + ).toEqual('warning'); }); it('should indicate data loss if not all layers will be used', async () => { @@ -324,7 +324,7 @@ describe('chart_switch', () => { .find('[data-test-subj="lnsChartSwitchPopoverAlert_visB"]') .first() .props().type - ).toEqual('alert'); + ).toEqual('warning'); }); it('should support multi-layer suggestions without data loss', async () => { @@ -400,7 +400,7 @@ describe('chart_switch', () => { .find('[data-test-subj="lnsChartSwitchPopoverAlert_visB"]') .first() .props().type - ).toEqual('alert'); + ).toEqual('warning'); }); it('should not indicate data loss if there is no data', async () => { diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx index dc09baf01fb2a7e..a88cd0619f00131 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx @@ -368,7 +368,7 @@ export const ChartSwitch = memo(function ChartSwitch(props: Props) { aria-label={i18n.translate('xpack.lens.chartSwitch.dataLossLabel', { defaultMessage: 'Warning', })} - type="alert" + type="warning" color="warning" content={i18n.translate( 'xpack.lens.chartSwitch.dataLossDescription', diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx index 8c7c608de89e49f..0e4bbca40999028 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel.tsx @@ -711,7 +711,7 @@ export const VisualizationWrapper = ({ } iconColor="danger" - iconType="alert" + iconType="warning" /> @@ -780,7 +780,7 @@ export const VisualizationWrapper = ({ } iconColor="danger" - iconType="alert" + iconType="warning" /> diff --git a/x-pack/plugins/lens/public/embeddable/embeddable.tsx b/x-pack/plugins/lens/public/embeddable/embeddable.tsx index f156a0959dcf5a9..b4e222cedfc9f5c 100644 --- a/x-pack/plugins/lens/public/embeddable/embeddable.tsx +++ b/x-pack/plugins/lens/public/embeddable/embeddable.tsx @@ -204,7 +204,7 @@ function VisualizationErrorPanel({ errors, canEdit }: { errors: UserMessage[]; c return (

      { const instance = mount(); const iconProps = instance.find(EuiIcon).first().props(); expect(iconProps.color).toEqual('#BD271E'); - expect(iconProps.type).toEqual('alert'); + expect(iconProps.type).toEqual('warning'); }); it('should call onRemoveClick when remove icon is clicked', () => { const instance = mount(); diff --git a/x-pack/plugins/lens/public/shared_components/drag_drop_bucket/default_bucket_container.tsx b/x-pack/plugins/lens/public/shared_components/drag_drop_bucket/default_bucket_container.tsx index bfae243dc1ac50f..e87a1f7c7f143f2 100644 --- a/x-pack/plugins/lens/public/shared_components/drag_drop_bucket/default_bucket_container.tsx +++ b/x-pack/plugins/lens/public/shared_components/drag_drop_bucket/default_bucket_container.tsx @@ -53,7 +53,7 @@ export const DefaultBucketContainer = ({ color={ euiTheme.colors[isInvalid ? 'danger' : isNotDraggable ? 'disabled' : 'subduedText'] } - type={isInvalid ? 'alert' : 'grab'} + type={isInvalid ? 'warning' : 'grab'} aria-label={ isInvalid ? invalidMessage diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap index e055c34b29c6c41..51f214ca7f592db 100644 --- a/x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap +++ b/x-pack/plugins/license_management/__jest__/__snapshots__/license_page_header.test.js.snap @@ -20,7 +20,7 @@ Array [ { ) : ( diff --git a/x-pack/plugins/lists/public/exceptions/components/builder/entry_renderer.tsx b/x-pack/plugins/lists/public/exceptions/components/builder/entry_renderer.tsx index e2fbc06acca603a..708fced42af4f93 100644 --- a/x-pack/plugins/lists/public/exceptions/components/builder/entry_renderer.tsx +++ b/x-pack/plugins/lists/public/exceptions/components/builder/entry_renderer.tsx @@ -227,7 +227,7 @@ export const BuilderEntryItem: React.FC = ({ diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx b/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx index 14a5092606b4dd2..8723de18cd4862f 100644 --- a/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx +++ b/x-pack/plugins/maps/public/classes/layers/vector_layer/geojson_vector_layer/geojson_vector_layer.tsx @@ -93,7 +93,7 @@ export class GeoJsonVectorLayer extends AbstractVectorLayer { this.getSource().getSourceStatus(sourceDataRequest); return { icon: isDeprecated ? ( - + ) : ( this.getCurrentStyle().getIcon(isTocIcon && areResultsTrimmed) ), diff --git a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx b/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx index d098984faaa7a0a..b3cae5f2f7a6e9b 100644 --- a/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx +++ b/x-pack/plugins/maps/public/classes/layers/wizards/new_vector_layer_wizard/wizard.tsx @@ -157,7 +157,7 @@ export class NewVectorLayerEditor extends Component

      {this.state.createIndexError}

      @@ -169,7 +169,7 @@ export class NewVectorLayerEditor extends Component

      {this.state.createIndexError}

      diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap index 12ed9e96b5a9b2e..46ae7b7cff26cf6 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap +++ b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/__snapshots__/feature_properties.test.tsx.snap @@ -48,7 +48,7 @@ exports[`FeatureProperties should render 1`] = ` exports[`FeatureProperties should show error message if unable to load tooltip content 1`] = ` diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx index 71d50d06b62e4bb..73a2260de975780 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx +++ b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx @@ -296,7 +296,7 @@ export class FeatureProperties extends Component { defaultMessage: 'Unable to load tooltip content', })} color="danger" - iconType="alert" + iconType="warning" size="s" >

      {this.state.loadPropertiesErrorMsg}

      diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap index eafd0c25709a109..c4e59b6f9d2429e 100644 --- a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap +++ b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap @@ -144,7 +144,7 @@ exports[`LayerControl isLayerTOCOpen Should render expand button with error icon className="mapLayerControl__openLayerTOCButton" color="text" data-test-subj="mapExpandLayerControlButton" - iconType="alert" + iconType="warning" onClick={[Function]} /> diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx index 297d7ccfd5063f0..aec1dee70da7be8 100644 --- a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx +++ b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_control.tsx @@ -68,7 +68,7 @@ function renderExpandButton({ className="mapLayerControl__openLayerTOCButton" color="text" onClick={onClick} - iconType={hasErrors ? 'alert' : 'menuLeft'} + iconType={hasErrors ? 'warning' : 'menuLeft'} aria-label={expandLabel} data-test-subj="mapExpandLayerControlButton" /> diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx index 7e35447d45e414d..eb4bb92b0f33837 100644 --- a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx +++ b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/layer_toc/toc_entry/toc_entry_button/toc_entry_button.tsx @@ -78,7 +78,7 @@ export class TOCEntryButton extends Component { defaultMessage: 'Load warning', })} size="m" - type="alert" + type="warning" color="warning" /> ), diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx index 41579d4f5375d07..0b384d1db96ee36 100644 --- a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx +++ b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx @@ -488,7 +488,7 @@ export class MapEmbeddable sharingSavedObjectProps && spaces && sharingSavedObjectProps?.outcome === 'conflict' ? (
      = ({ /> } color="danger" - iconType="alert" + iconType="warning" >

      {previewError.message}

      diff --git a/x-pack/plugins/ml/public/application/access_denied/page.tsx b/x-pack/plugins/ml/public/application/access_denied/page.tsx index adc76897e107bfb..b24e01b85a9a757 100644 --- a/x-pack/plugins/ml/public/application/access_denied/page.tsx +++ b/x-pack/plugins/ml/public/application/access_denied/page.tsx @@ -31,7 +31,7 @@ export const Page = () => { - + { case VALIDATION_STATUS.SUCCESS: return 'check'; case VALIDATION_STATUS.WARNING: - return 'alert'; + return 'warning'; default: return status; } diff --git a/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx b/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx index c1748669cc27230..c6a989c40127cec 100644 --- a/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx +++ b/x-pack/plugins/ml/public/application/components/job_message_icon/job_message_icon.tsx @@ -23,7 +23,7 @@ export const JobIcon: FC = ({ message, showTooltip = false }) => { } let color = 'primary'; - let icon = 'alert'; + let icon = 'warning'; if (message.level === INFO) { icon = 'iInCircle'; diff --git a/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js b/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js index 576a5695b4cebbd..458d5523468bd08 100644 --- a/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js +++ b/x-pack/plugins/ml/public/application/components/message_call_out/message_call_out.js @@ -22,7 +22,7 @@ function getCallOutAttributes(message, status) { case MESSAGE_LEVEL.ERROR: return { title: message, iconType: 'cross', color: 'danger' }; case MESSAGE_LEVEL.WARNING: - return { title: message, iconType: 'alert', color: 'warning' }; + return { title: message, iconType: 'warning', color: 'warning' }; case MESSAGE_LEVEL.SUCCESS: return { title: message, iconType: 'check', color: 'success' }; case MESSAGE_LEVEL.INFO: diff --git a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx b/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx index e6a76b4539a9dec..fc6a913544169e7 100644 --- a/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx +++ b/x-pack/plugins/ml/public/application/components/model_snapshots/revert_model_snapshot_flyout/revert_model_snapshot_flyout.tsx @@ -250,7 +250,7 @@ export const RevertModelSnapshotFlyout: FC = ({ } )} color="warning" - iconType="alert" + iconType="warning" > = ({ size, isCloud, isCloudTrial, deploymentId } /> } color="warning" - iconType="alert" + iconType="warning" >
      = ({ /> } color="warning" - iconType="alert" + iconType="warning" data-test-subj="mlJobSyncRequiredWarning" > <> diff --git a/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx b/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx index 6f0c9b4a2d1b838..e56e080ba8be811 100644 --- a/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx +++ b/x-pack/plugins/ml/public/application/components/upgrade/upgrade_warning.tsx @@ -24,7 +24,7 @@ export const UpgradeWarning: FC = () => { /> } color="warning" - iconType="alert" + iconType="warning" >

      = (prop : advancedEditorMessage.error } color={advancedEditorMessage.error !== undefined ? 'danger' : 'primary'} - iconType={advancedEditorMessage.error !== undefined ? 'alert' : 'checkInCircleFilled'} + iconType={advancedEditorMessage.error !== undefined ? 'error' : 'checkInCircleFilled'} size="s" > {advancedEditorMessage.message !== '' && advancedEditorMessage.error !== undefined ? ( diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx index 0df271e38455d97..5e0f69b38f02e7b 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/create_step_footer/progress_stats.tsx @@ -39,7 +39,7 @@ export const ProgressStats: FC = ({ currentProgress, failedJobMessage }) } )} color={'danger'} - iconType={'alert'} + iconType={'error'} size="s" >

      {failedJobMessage}

      diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx index 50f12a20ca54cde..29b646b935b430a 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/shared/messages.tsx @@ -24,7 +24,7 @@ export const Messages: FC = ({ messages }) => { data-test-subj={`analyticsWizardCreationCallout_${i}`} title={requestMessage.message} color={requestMessage.error !== undefined ? 'danger' : 'primary'} - iconType={requestMessage.error !== undefined ? 'alert' : 'checkInCircleFilled'} + iconType={requestMessage.error !== undefined ? 'error' : 'checkInCircleFilled'} size="s" > {requestMessage.error !== undefined && ( diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx index 07dec0f504c32e9..4674badad3ff9c8 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/validation_step/validation_step_details.tsx @@ -60,7 +60,7 @@ export const ValidationStepDetails: FC<{ {validationSummary.warning} - + diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx index d12690658b8bcc9..34f32c31d556185 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/feature_importance/decision_path_regression.tsx @@ -69,7 +69,7 @@ export const RegressionDecisionPath: FC = ({ /> } color="warning" - iconType="alert" + iconType="warning" /> )} = ({ defaultMessage: 'An error occurred getting the data frame analytics list.', })} color="danger" - iconType="alert" + iconType="warning" >
      {JSON.stringify(errorMessage)}
      diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx index 99f873d2d11255a..db86f04cc8af81f 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/job_map/page.tsx @@ -79,7 +79,7 @@ export const Page: FC = () => { return ( <> { return ( = ({ defaultMessage: 'An error occurred loading annotations:', })} color="danger" - iconType="alert" + iconType="warning" >

      {annotationsError}

      diff --git a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js b/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js index aafdaeb5ac9ef41..b36d935fb65f467 100644 --- a/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js +++ b/x-pack/plugins/ml/public/application/explorer/explorer_charts/explorer_charts_container.js @@ -262,7 +262,7 @@ function ExplorerChartContainer({ content={tooManyBucketsCalloutMsg ?? textTooManyBuckets} position="top" size="s" - type="alert" + type="warning" color="warning" /> )} diff --git a/x-pack/plugins/ml/public/application/formatters/metric_change_description.ts b/x-pack/plugins/ml/public/application/formatters/metric_change_description.ts index 19cc377b599193c..04549ec52b4eb5a 100644 --- a/x-pack/plugins/ml/public/application/formatters/metric_change_description.ts +++ b/x-pack/plugins/ml/public/application/formatters/metric_change_description.ts @@ -22,7 +22,7 @@ export function getMetricChangeDescription( return { iconType: 'empty', message: '' }; } - let iconType: string = 'alert'; + let iconType: string = 'warning'; let message: string; // For metric functions, actual and typical will be single value arrays. @@ -36,7 +36,7 @@ export function getMetricChangeDescription( // TODO - do we want to enhance the description depending on detector? // e.g. 'Unusual location' if using a lat_long detector. return { - iconType: 'alert', + iconType: 'warning', message: i18n.translate( 'xpack.ml.formatters.metricChangeDescription.unusualValuesDescription', { diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.js b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.js index 6aa4d538481ee3f..f63511d857277c6 100644 --- a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.js +++ b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/job_details/datafeed_preview_tab.js @@ -40,7 +40,7 @@ export class DatafeedPreviewPane extends Component { /> } color="warning" - iconType="alert" + iconType="warning" >

      = ({ show }) => { title={i18n.translate('xpack.ml.newJob.wizard.pickFieldsStep.noDetectorsCallout.title', { defaultMessage: 'No detectors', })} - iconType="alert" + iconType="warning" data-test-subj="mlAdvancedNoDetectorsMessage" > { {isTimeBasedIndex === false && ( <> - + = memo( /> } color="danger" - iconType="alert" + iconType="warning" /> )} {saveState === SAVE_STATE.PARTIAL_FAILURE && ( @@ -57,7 +57,7 @@ export const CreateResultCallout: FC = memo( /> } color="warning" - iconType="alert" + iconType="warning" /> )} diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx b/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx index fe8cff1b0ed626e..93b608639835890 100644 --- a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx +++ b/x-pack/plugins/ml/public/application/jobs/new_job/recognize/components/job_item.tsx @@ -178,7 +178,7 @@ function getDatafeedStartedIcon({ awaitingMlNodeAllocation, success }: DatafeedR color: string; } { if (awaitingMlNodeAllocation === true) { - return { type: 'alert', color: 'warning' }; + return { type: 'warning', color: 'warning' }; } return success ? { type: 'check', color: 'success' } : { type: 'cross', color: 'danger' }; diff --git a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx b/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx index 5881f76632e7053..dff13116da05797 100644 --- a/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx +++ b/x-pack/plugins/ml/public/application/jobs/new_job/recognize/page.tsx @@ -307,7 +307,7 @@ export const Page: FC = ({ moduleId, existingGroupIds }) => { /> } color="warning" - iconType="alert" + iconType="warning" > ( data-test-subj="mlPageAccessDenied" > = ({ basePath }) => ( data-test-subj="mlPageInsufficientLicense" > = ({ node, type, height }) => { ) : ( diff --git a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx b/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx index 9a572f6730e3b88..a2a677670e2ea7f 100644 --- a/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx +++ b/x-pack/plugins/ml/public/application/notifications/components/notifications_list.tsx @@ -374,7 +374,7 @@ export const NotificationsList: FC = () => { /> } color="danger" - iconType="alert" + iconType="warning" >

      {queryError}

      diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx b/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx index 094693be8787e7e..b53860d9a3be65b 100644 --- a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx +++ b/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx @@ -65,7 +65,7 @@ export const AnalyticsPanel: FC = ({ setLazyJobCount }) => { defaultMessage: 'An error occurred getting the data frame analytics list.', })} color="danger" - iconType="alert" + iconType="warning" >
               {errorMessage && errorMessage.message !== undefined
      diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx b/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx
      index 372206e42b46c66..13e9ecc5369e224 100644
      --- a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx
      +++ b/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx
      @@ -136,7 +136,7 @@ export const AnomalyDetectionPanel: FC = ({
                 defaultMessage: 'An error occurred getting the anomaly detection jobs list.',
               })}
               color="danger"
      -        iconType="alert"
      +        iconType="warning"
             >
               
      {errorMessage}
      diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx index ee9b9e7cd3fc2fb..995388a11e347fd 100644 --- a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx +++ b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_chart_data_error/timeseriesexplorer_chart_data_error.tsx @@ -9,5 +9,5 @@ import { EuiEmptyPrompt } from '@elastic/eui'; import React from 'react'; export const TimeseriesexplorerChartDataError = ({ errorMsg }: { errorMsg: string }) => { - return {errorMsg}} />; + return {errorMsg}} />; }; diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx index ebd3c058717d1e7..5496015cf92a747 100644 --- a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx +++ b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseriesexplorer_no_jobs_found/timeseriesexplorer_no_jobs_found.tsx @@ -27,7 +27,7 @@ export const TimeseriesexplorerNoJobsFound = () => { return (

      {focusAnnotationError}

      diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_charts/embeddable_anomaly_charts_container.tsx b/x-pack/plugins/ml/public/embeddables/anomaly_charts/embeddable_anomaly_charts_container.tsx index b29db0ab634e026..98f211e3fc8df99 100644 --- a/x-pack/plugins/ml/public/embeddables/anomaly_charts/embeddable_anomaly_charts_container.tsx +++ b/x-pack/plugins/ml/public/embeddables/anomaly_charts/embeddable_anomaly_charts_container.tsx @@ -151,7 +151,7 @@ export const EmbeddableAnomalyChartsContainer: FC } color="danger" - iconType="alert" + iconType="warning" style={{ width: '100%' }} >

      {error.message}

      diff --git a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/embeddable_swim_lane_container.tsx b/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/embeddable_swim_lane_container.tsx index c333bbab7ff9e91..7186148caf6e4c6 100644 --- a/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/embeddable_swim_lane_container.tsx +++ b/x-pack/plugins/ml/public/embeddables/anomaly_swimlane/embeddable_swim_lane_container.tsx @@ -117,7 +117,7 @@ export const EmbeddableSwimLaneContainer: FC = ( /> } color="danger" - iconType="alert" + iconType="warning" css={{ width: '100%' }} >

      {error.message}

      diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx index 3f25959caaaaa42..f012e928e6b6160 100644 --- a/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx +++ b/x-pack/plugins/ml/public/embeddables/job_creation/lens/lens_vis_layer_selection_flyout/layer/incompatible_layer.tsx @@ -23,7 +23,7 @@ export const IncompatibleLayer: FC = ({ layer }) => { - + diff --git a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx b/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx index b994a4eb3213de9..660f6eb5aeac6b4 100644 --- a/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx +++ b/x-pack/plugins/ml/public/embeddables/job_creation/map/map_vis_layer_selection_flyout/layer/incompatible_layer.tsx @@ -18,7 +18,7 @@ export const IncompatibleLayer: FC = ({ noDataView }) => { - + diff --git a/x-pack/plugins/monitoring/public/alerts/callout.tsx b/x-pack/plugins/monitoring/public/alerts/callout.tsx index b4e14ca0b0ac083..9a7d56b11ad1e81 100644 --- a/x-pack/plugins/monitoring/public/alerts/callout.tsx +++ b/x-pack/plugins/monitoring/public/alerts/callout.tsx @@ -49,7 +49,7 @@ export const AlertsCallout: React.FC = (props: Props) => {
      - + diff --git a/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx b/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx index 363225cedf7dd47..2ad779588b6aff6 100644 --- a/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx @@ -46,7 +46,12 @@ export const AccessDeniedPage: React.FC = () => { } return ( - +

      } color="danger" - iconType="alert" + iconType="warning" /> diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js b/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js index 96f28b93e8d0003..c8d401790323f21 100644 --- a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js +++ b/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js @@ -256,7 +256,7 @@ function statusIndicator(status, someStatusIsStale, instancesHref, staleStatusTh <>

      - + {i18n.translate('xpack.monitoring.cluster.overview.kibanaPanel.staleStatusLabel', { defaultMessage: 'Stale', })} diff --git a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx b/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx index c60f6dbc861a8a1..713e3e34b26f248 100644 --- a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx +++ b/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx @@ -129,7 +129,7 @@ function OverviewPageStatusIndicator({ staleMessage }: IndicatorProps) { <>
      - + {i18n.translate( 'xpack.monitoring.kibana.clusterStatus.overview.staleStatusInstancesLabel', { @@ -167,7 +167,7 @@ function OverviewPageStatusIndicator({ staleMessage }: IndicatorProps) { function InstancesPageStatusIndicator({ staleMessage }: IndicatorProps) { const title = ( - + {i18n.translate( 'xpack.monitoring.kibana.clusterStatus.instances.staleStatusInstancesLabel', { diff --git a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js b/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js index f4b957b005ef74e..5f82968177c5c55 100644 --- a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js +++ b/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js @@ -125,7 +125,7 @@ function prepareStaleMessage(status, lastSeenTimestamp, staleStatusThresholdSeco {capitalize(status)} - + {i18n.translate('xpack.monitoring.kibana.detailStatus.staleStatusLabel', { defaultMessage: 'Stale', })} diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx b/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx index 84277c5f880f029..86034f150ad5be0 100644 --- a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx +++ b/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx @@ -146,7 +146,7 @@ const getColumns = ( aria-label={staleMessage} content={staleMessage} size="l" - type="alert" + type="warning" color="warning" /> diff --git a/x-pack/plugins/monitoring/public/components/license/index.tsx b/x-pack/plugins/monitoring/public/components/license/index.tsx index 9b45cc4b23a1464..581d48dab7f5e23 100644 --- a/x-pack/plugins/monitoring/public/components/license/index.tsx +++ b/x-pack/plugins/monitoring/public/components/license/index.tsx @@ -72,7 +72,7 @@ class LicenseStatus extends React.PureComponent { let title; let message; if (isExpired) { - icon = ; + icon = ; message = ( diff --git a/x-pack/plugins/observability/public/pages/rule_details/index.tsx b/x-pack/plugins/observability/public/pages/rule_details/index.tsx index c1258e152d9fa29..8ea9e98f49bd8fc 100644 --- a/x-pack/plugins/observability/public/pages/rule_details/index.tsx +++ b/x-pack/plugins/observability/public/pages/rule_details/index.tsx @@ -302,7 +302,7 @@ export function RuleDetailsPage() { return ( diff --git a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx b/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx index 33baec901097fb5..03256812910394e 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx +++ b/x-pack/plugins/observability/public/pages/slos/components/badges/slo_badges.tsx @@ -48,7 +48,7 @@ export function SloBadges({ slo, activeAlerts }: Props) { {!!activeAlerts && ( {i18n.translate('xpack.observability.slo.list.emptyMessage', { defaultMessage: 'There are no results for your criteria.', diff --git a/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx b/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx index 8e9729ba076215f..171ceeb341b2dcf 100644 --- a/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx +++ b/x-pack/plugins/observability/public/pages/slos/components/slo_list_error.tsx @@ -12,7 +12,7 @@ import { i18n } from '@kbn/i18n'; export function SloListError() { return ( diff --git a/x-pack/plugins/osquery/public/results/results_table.tsx b/x-pack/plugins/osquery/public/results/results_table.tsx index 71d383da44bd1c4..cb2d5d96af221a0 100644 --- a/x-pack/plugins/osquery/public/results/results_table.tsx +++ b/x-pack/plugins/osquery/public/results/results_table.tsx @@ -406,7 +406,7 @@ const ResultsTableComponent: React.FC = ({ /> } color="danger" - iconType="alert" + iconType="warning" >

      = ({ isLoading, response }) => {isLoading ? ( ) : response && response.error ? ( - + ) : ( )} diff --git a/x-pack/plugins/profiling/public/components/async_component.tsx b/x-pack/plugins/profiling/public/components/async_component.tsx index 2dba7ed2ab3cf74..7e94702e227cebd 100644 --- a/x-pack/plugins/profiling/public/components/async_component.tsx +++ b/x-pack/plugins/profiling/public/components/async_component.tsx @@ -40,7 +40,7 @@ export function AsyncComponent({ {error && status === AsyncStatus.Settled ? ( - + diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js index 8ad9ae16331bb1a..5a938e7b4bd29c0 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_edit/remote_cluster_edit.js @@ -110,7 +110,7 @@ export class RemoteClusterEdit extends Component { return ( - + diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js index d4791ea5ecc212a..782054caa82e3ae 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_list.js @@ -92,7 +92,7 @@ export class RemoteClusterList extends Component { return ( { {help.length ? ( - +

      {help.join('\n')}

      diff --git a/x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx b/x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx index 21fd0fc76745cdc..3f15813cd4c2f3f 100644 --- a/x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx +++ b/x-pack/plugins/reporting/public/management/components/report_status_indicator.tsx @@ -62,7 +62,7 @@ export const ReportStatusIndicator: FC = ({ job }) => { switch (job.status) { case JOB_STATUSES.COMPLETED: if (hasIssues) { - icon = ; + icon = ; statusText = i18nTexts.completedWithWarnings; break; } @@ -70,7 +70,7 @@ export const ReportStatusIndicator: FC = ({ job }) => { statusText = i18nTexts.completed; break; case JOB_STATUSES.WARNINGS: - icon = ; + icon = ; statusText = i18nTexts.completedWithWarnings; break; case JOB_STATUSES.PENDING: @@ -82,7 +82,7 @@ export const ReportStatusIndicator: FC = ({ job }) => { statusText = i18nTexts.processing({ attempt: job.attempts, of: job.max_attempts }); break; case JOB_STATUSES.FAILED: - icon = ; + icon = ; statusText = i18nTexts.failed; break; default: diff --git a/x-pack/plugins/reporting/public/notifier/general_error.tsx b/x-pack/plugins/reporting/public/notifier/general_error.tsx index 35907886abcc26f..a3a18edd454d7d4 100644 --- a/x-pack/plugins/reporting/public/notifier/general_error.tsx +++ b/x-pack/plugins/reporting/public/notifier/general_error.tsx @@ -18,7 +18,7 @@ export const getGeneralErrorToast = ( ): ToastInput => ({ text: toMountPoint( <> - + {err.toString()} diff --git a/x-pack/plugins/reporting/public/share_context_menu/__snapshots__/screen_capture_panel_content.test.tsx.snap b/x-pack/plugins/reporting/public/share_context_menu/__snapshots__/screen_capture_panel_content.test.tsx.snap index 311255275fea363..fe178b03de95df4 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/__snapshots__/screen_capture_panel_content.test.tsx.snap +++ b/x-pack/plugins/reporting/public/share_context_menu/__snapshots__/screen_capture_panel_content.test.tsx.snap @@ -164,7 +164,7 @@ exports[`ScreenCapturePanelContent properly renders a view with "canvas" layout aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> Unsaved work

      @@ -356,7 +356,7 @@ exports[`ScreenCapturePanelContent properly renders a view with "print" layout o aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> Unsaved work

      @@ -489,7 +489,7 @@ exports[`ScreenCapturePanelContent renders the default view properly 1`] = ` aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" /> Unsaved work

      diff --git a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/components/error_unsaved_work_panel.tsx b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/components/error_unsaved_work_panel.tsx index 6fc8b408ca17df8..b9fa0c5ac381837 100644 --- a/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/components/error_unsaved_work_panel.tsx +++ b/x-pack/plugins/reporting/public/share_context_menu/reporting_panel_content/components/error_unsaved_work_panel.tsx @@ -18,7 +18,7 @@ const i18nTexts = { export const ErrorUnsavedWorkPanel: FunctionComponent = () => { return ( - +

      = ({ isUnsaved }) => ( - +

      {isUnsaved ? ( diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js b/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js index 7c910e2976c7787..fc20b99d91f939a 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js +++ b/x-pack/plugins/rollup/public/crud_app/sections/job_list/detail_panel/detail_panel.js @@ -210,7 +210,7 @@ export class DetailPanel extends Component { - + diff --git a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js b/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js index ef3289138d6b0b9..89ef725ad05aee1 100644 --- a/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js +++ b/x-pack/plugins/rollup/public/crud_app/sections/job_list/job_list.js @@ -90,7 +90,7 @@ export class JobListUi extends Component { {title}} body={

      @@ -118,7 +118,7 @@ export class JobListUi extends Component { {title}} body={

      diff --git a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx b/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx index c74b899f81e06ca..439e8a004fd3b8d 100644 --- a/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx +++ b/x-pack/plugins/searchprofiler/public/application/components/license_warning_notice/license_warning_notice.tsx @@ -38,7 +38,7 @@ export const LicenseWarningNotice = () => { defaultMessage: 'License error', })} color="danger" - iconType="alert" + iconType="warning" style={{ padding: '16px' }} > diff --git a/x-pack/plugins/security/public/account_management/account_management_page.tsx b/x-pack/plugins/security/public/account_management/account_management_page.tsx index 7ed666cb6f0e72b..940d0997432e54a 100644 --- a/x-pack/plugins/security/public/account_management/account_management_page.tsx +++ b/x-pack/plugins/security/public/account_management/account_management_page.tsx @@ -35,7 +35,7 @@ export const AccountManagementPage: FunctionComponent = () => { const error = currentUser.error || profileLoadError; if (error) { - return {error.message}} />; + return {error.message}} />; } if (!currentUser.value || (canUserHaveProfile(currentUser.value) && !userProfile.value)) { diff --git a/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx b/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx index 4e851cc4ea5562b..c6d463137d417ba 100644 --- a/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx +++ b/x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_empty_prompt.tsx @@ -31,7 +31,7 @@ export const ApiKeysEmptyPrompt: FunctionComponent = ({ if (doesErrorIndicateAPIKeysAreDisabled(error)) { return (

      @@ -76,7 +76,7 @@ export const ApiKeysEmptyPrompt: FunctionComponent = ({ return ( = ({ if (readOnly) { return ( { } color="danger" - iconType="alert" + iconType="warning" body={

      { /> } color="warning" - iconType="alert" + iconType="warning" > { expect(wrapper).toMatchInlineSnapshot(` { if (!props.canUseStoredScripts && !props.canUseInlineScripts) { return ( { return ( { /> } color="danger" - iconType="alert" + iconType="warning" > {statusCode}: {errorTitle} - {message} diff --git a/x-pack/plugins/security/public/management/role_table_display/role_table_display.tsx b/x-pack/plugins/security/public/management/role_table_display/role_table_display.tsx index 454b8d9461c49f4..558461a9b70d493 100644 --- a/x-pack/plugins/security/public/management/role_table_display/role_table_display.tsx +++ b/x-pack/plugins/security/public/management/role_table_display/role_table_display.tsx @@ -31,7 +31,7 @@ export const RoleTableDisplay = ({ role, navigateToApp }: Props) => { data-test-subj="roleDeprecationTooltip" >

      - {role.name} + {role.name}
      ); diff --git a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx index c0459cd157e09ff..eb99bcb24a8bc45 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx @@ -648,7 +648,7 @@ export const EditRolePage: FunctionComponent = ({ )} diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx index b3350a314349a98..62d16b1cefd5073 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/unsupported_space_privileges_warning.tsx @@ -12,7 +12,7 @@ import { FormattedMessage } from '@kbn/i18n-react'; export class UnsupportedSpacePrivilegesWarning extends Component<{}, {}> { public render() { - return ; + return ; } private getMessage = () => { diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap index 7e85b6e2e67ad09..eb8851ddf1409f9 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/space_aware_privilege_section/__snapshots__/space_aware_privilege_section.test.tsx.snap @@ -4,7 +4,7 @@ exports[` with user profile disabling "manageSpaces" { { { icon = ( { defaultMessage="Insufficient Privileges" /> } - iconType="alert" + iconType="warning" color="danger" data-test-subj="userCannotManageSpacesCallout" > diff --git a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/transform_error_section/transform_error_section.tsx b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/transform_error_section/transform_error_section.tsx index 599b3e651cbbf65..443cf98fd3c2cf3 100644 --- a/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/transform_error_section/transform_error_section.tsx +++ b/x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/transform_error_section/transform_error_section.tsx @@ -15,7 +15,7 @@ export class TransformErrorSection extends PureComponent<{}, {}> { return ( = { defaultMessage: 'Kibana will lose connection to Elasticsearch' } )} color="danger" - iconType="alert" + iconType="warning" style={{ maxWidth: euiThemeVars.euiFormMaxWidth }} >

      diff --git a/x-pack/plugins/security/public/management/users/edit_user/edit_user_page.tsx b/x-pack/plugins/security/public/management/users/edit_user/edit_user_page.tsx index 9a3c3f8153b8a08..d4b35b833c87810 100644 --- a/x-pack/plugins/security/public/management/users/edit_user/edit_user_page.tsx +++ b/x-pack/plugins/security/public/management/users/edit_user/edit_user_page.tsx @@ -111,7 +111,7 @@ export const EditUserPage: FunctionComponent = ({ username }) defaultMessage="This user is deprecated." /> } - iconType="alert" + iconType="warning" color="warning" > {user.metadata?._deprecated_reason?.replace(/\[(.+)\]/, "'$1'")} diff --git a/x-pack/plugins/security/public/security_checkup/security_checkup_service.test.ts b/x-pack/plugins/security/public/security_checkup/security_checkup_service.test.ts index 438e498deb41b6c..4a59ba96a998a6c 100644 --- a/x-pack/plugins/security/public/security_checkup/security_checkup_service.test.ts +++ b/x-pack/plugins/security/public/security_checkup/security_checkup_service.test.ts @@ -146,7 +146,7 @@ describe('SecurityCheckupService', () => { expect(coreStart.notifications.toasts.addWarning.mock.calls[0]).toMatchInlineSnapshot(` Array [ Object { - "iconType": "alert", + "iconType": "warning", "text": "mock insecure cluster text", "title": "mock insecure cluster title", }, diff --git a/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx b/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx index e90adf7a004a2a5..280ce8dee5df5b4 100644 --- a/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx +++ b/x-pack/plugins/security/public/security_checkup/security_checkup_service.tsx @@ -85,7 +85,7 @@ export class SecurityCheckupService { text: insecureClusterAlertText(docLinks, (persist: boolean) => this.setAlertVisibility(false, persist) ), - iconType: 'alert', + iconType: 'warning', }, { toastLifeTimeMs: tenDays, diff --git a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap index 49d0d83a5e8c67b..74975c1e3c36d37 100644 --- a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap +++ b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

      Some Title

      Some Body
      Action#1
      Action#2
      "`; +exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

      Some Title

      Some Body
      Action#1
      Action#2
      "`; -exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

      Some Title

      Some Body
      Action#1
      Action#2
      "`; +exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

      Some Title

      Some Body
      Action#1
      Action#2
      "`; diff --git a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap index 3f01f0ca7c8bfef..339bd1100e890b5 100644 --- a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

      We hit an authentication error

      Try logging in again, and if the problem persists, contact your system administrator.

      "`; +exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

      We hit an authentication error

      Try logging in again, and if the problem persists, contact your system administrator.

      "`; -exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

      We hit an authentication error

      Try logging in again, and if the problem persists, contact your system administrator.

      "`; +exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

      We hit an authentication error

      Try logging in again, and if the problem persists, contact your system administrator.

      "`; diff --git a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap index b8ec6b35fe6b2c2..aac1a7af29b4a1f 100644 --- a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

      You do not have permission to access the requested page

      Either go back to the previous page or log in as a different user.

      "`; +exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

      You do not have permission to access the requested page

      Either go back to the previous page or log in as a different user.

      "`; -exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

      You do not have permission to access the requested page

      Either go back to the previous page or log in as a different user.

      "`; +exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

      You do not have permission to access the requested page

      Either go back to the previous page or log in as a different user.

      "`; diff --git a/x-pack/plugins/security/server/prompt_page.tsx b/x-pack/plugins/security/server/prompt_page.tsx index ad049d40c025fe0..88293e6d0337785 100644 --- a/x-pack/plugins/security/server/prompt_page.tsx +++ b/x-pack/plugins/security/server/prompt_page.tsx @@ -13,7 +13,7 @@ import { EuiProvider, } from '@elastic/eui'; // @ts-expect-error no definitions in component folder -import { icon as EuiIconAlert } from '@elastic/eui/lib/components/icon/assets/alert'; +import { icon as EuiIconWarning } from '@elastic/eui/lib/components/icon/assets/warning'; // @ts-expect-error no definitions in component folder import { appendIconComponentCache } from '@elastic/eui/lib/components/icon/icon'; import createCache from '@emotion/cache'; @@ -30,11 +30,11 @@ import { I18nProvider } from '@kbn/i18n-react'; import UiSharedDepsNpm from '@kbn/ui-shared-deps-npm'; import * as UiSharedDepsSrc from '@kbn/ui-shared-deps-src'; -// Preload the alert icon used by `EuiEmptyPrompt` to ensure that it's loaded +// Preload the warning icon used by `EuiEmptyPrompt` to ensure that it's loaded // in advance the first time this page is rendered server-side. If not, the // icon svg wouldn't contain any paths the first time the page was rendered. appendIconComponentCache({ - alert: EuiIconAlert, + warning: EuiIconWarning, }); const emotionCache = createCache({ key: 'eui' }); @@ -65,7 +65,7 @@ export function PromptPage({ {title}} body={body} diff --git a/x-pack/plugins/security_solution/public/common/components/callouts/callout.tsx b/x-pack/plugins/security_solution/public/common/components/callouts/callout.tsx index 49df22b02c7fbb3..ed87a9e5493840d 100644 --- a/x-pack/plugins/security_solution/public/common/components/callouts/callout.tsx +++ b/x-pack/plugins/security_solution/public/common/components/callouts/callout.tsx @@ -56,7 +56,7 @@ const getDefaultIconType = (type: CallOutType): string => { case 'warning': return 'help'; case 'danger': - return 'alert'; + return 'warning'; default: return assertUnreachable(type); } diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/insights/insight_accordion.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/insights/insight_accordion.tsx index 239719ca319a719..5983f08bb522bc1 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/insights/insight_accordion.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/insights/insight_accordion.tsx @@ -51,7 +51,7 @@ export const InsightAccordion = React.memo( id={accordionId} buttonContent={ - + {text} } diff --git a/x-pack/plugins/security_solution/public/common/components/first_last_seen/first_last_seen.tsx b/x-pack/plugins/security_solution/public/common/components/first_last_seen/first_last_seen.tsx index 6bb66716b77a2ca..4459b0c75e14b4a 100644 --- a/x-pack/plugins/security_solution/public/common/components/first_last_seen/first_last_seen.tsx +++ b/x-pack/plugins/security_solution/public/common/components/first_last_seen/first_last_seen.tsx @@ -48,7 +48,7 @@ export const FirstLastSeen = React.memo( aria-label={`firstLastSeenError-${type}`} id={`firstLastSeenError-${field}-${type}`} > - +
      ); } diff --git a/x-pack/plugins/security_solution/public/common/components/import_data_modal/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/import_data_modal/__snapshots__/index.test.tsx.snap index 3378225f6b60271..fb4ab2f2da706e0 100644 --- a/x-pack/plugins/security_solution/public/common/components/import_data_modal/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/import_data_modal/__snapshots__/index.test.tsx.snap @@ -323,7 +323,7 @@ Object { aria-hidden="true" class="emotion-euiCallOut__icon" color="inherit" - data-euiicon-type="alert" + data-euiicon-type="warning" />
      ); } diff --git a/x-pack/plugins/security_solution/public/common/components/link_icon/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/link_icon/__snapshots__/index.test.tsx.snap index 1a01b499ea9d100..83e195fb56936cb 100644 --- a/x-pack/plugins/security_solution/public/common/components/link_icon/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/link_icon/__snapshots__/index.test.tsx.snap @@ -10,7 +10,7 @@ exports[`LinkIcon it renders 1`] = ` > { test('it renders', () => { const wrapper = shallow( - + {'Test link'} ); @@ -25,7 +25,7 @@ describe('LinkIcon', () => { test('it renders an action button when onClick is provided', () => { const wrapper = mount( - alert('Test alert')}> + alert('Test alert')}> {'Test link'} @@ -37,7 +37,7 @@ describe('LinkIcon', () => { test('it renders an action link when href is provided', () => { const wrapper = mount( - + {'Test link'} @@ -49,7 +49,7 @@ describe('LinkIcon', () => { test('it renders an icon', () => { const wrapper = mount( - + {'Test link'} @@ -61,7 +61,7 @@ describe('LinkIcon', () => { test('it positions the icon to the right when iconSide is right', () => { const wrapper = mount( - + {'Test link'} @@ -73,7 +73,7 @@ describe('LinkIcon', () => { test('it positions the icon to the left when iconSide is left (or not provided)', () => { const wrapper = mount( - + {'Test link'} @@ -88,7 +88,7 @@ describe('LinkIcon', () => { test('it renders a label', () => { const wrapper = mount( - + {'Test link'} diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx index 77bfe6342925a9a..712bd4650f14f50 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/jobs_table.tsx @@ -122,7 +122,7 @@ const getJobsTableColumns = ( onJobStateChange={onJobStateChange} /> ) : ( - + ), align: CENTER_ALIGNMENT, width: '80px', diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx index a0077e861ef5c6a..d518a42f2907dd8 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx @@ -153,7 +153,7 @@ export const MlPopover = React.memo(() => {

      diff --git a/x-pack/plugins/security_solution/public/common/components/sourcerer/temporary.tsx b/x-pack/plugins/security_solution/public/common/components/sourcerer/temporary.tsx index e4cfaea78b48d79..79cf82a93ff6d15 100644 --- a/x-pack/plugins/security_solution/public/common/components/sourcerer/temporary.tsx +++ b/x-pack/plugins/security_solution/public/common/components/sourcerer/temporary.tsx @@ -111,7 +111,7 @@ export const TemporarySourcererComp = React.memo( diff --git a/x-pack/plugins/security_solution/public/common/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap index 9287c90dcc4515c..5b2483821fcba02 100644 --- a/x-pack/plugins/security_solution/public/common/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/toasters/__snapshots__/modal_all_errors.test.tsx.snap @@ -12,7 +12,7 @@ exports[`Modal all errors rendering it renders the default all errors modal when diff --git a/x-pack/plugins/security_solution/public/common/components/toasters/index.test.tsx b/x-pack/plugins/security_solution/public/common/components/toasters/index.test.tsx index 15178cc72b85a92..58d0a2e3245243d 100644 --- a/x-pack/plugins/security_solution/public/common/components/toasters/index.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/toasters/index.test.tsx @@ -23,7 +23,7 @@ jest.mock('uuid', () => { const mockToast: AppToast = { color: 'danger', id: 'id-super-id', - iconType: 'alert', + iconType: 'warning', title: 'Test & Test', toastLifeTimeMs: 100, text: 'Error 1, Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', diff --git a/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.test.tsx b/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.test.tsx index 9e4963814c9884a..e0617bdb4b6f983 100644 --- a/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.test.tsx @@ -16,7 +16,7 @@ import { cloneDeep } from 'lodash/fp'; const mockToast: AppToast = { color: 'danger', id: 'id-super-id', - iconType: 'alert', + iconType: 'warning', title: 'Test & Test', errors: [ 'Error 1, Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', diff --git a/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.tsx b/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.tsx index 936f3a4f84535ca..da19968971ec904 100644 --- a/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.tsx +++ b/x-pack/plugins/security_solution/public/common/components/toasters/modal_all_errors.tsx @@ -47,7 +47,7 @@ const ModalAllErrorsComponent: React.FC = ({ isShowing, toast, t - + {Array.isArray(toast.errors) && // FunFact: This can be a non-array in some rare cases toast.errors.map((error, index) => ( diff --git a/x-pack/plugins/security_solution/public/common/components/utility_bar/__snapshots__/utility_bar_action.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/utility_bar/__snapshots__/utility_bar_action.test.tsx.snap index e4417203f87aa49..e2ad889e24619fe 100644 --- a/x-pack/plugins/security_solution/public/common/components/utility_bar/__snapshots__/utility_bar_action.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/utility_bar/__snapshots__/utility_bar_action.test.tsx.snap @@ -3,7 +3,7 @@ exports[`UtilityBarAction it renders 1`] = ` Test action diff --git a/x-pack/plugins/security_solution/public/common/components/utility_bar/utility_bar_action.test.tsx b/x-pack/plugins/security_solution/public/common/components/utility_bar/utility_bar_action.test.tsx index c43bb321a3586f5..23c96c35693e0e9 100644 --- a/x-pack/plugins/security_solution/public/common/components/utility_bar/utility_bar_action.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/utility_bar/utility_bar_action.test.tsx @@ -15,7 +15,7 @@ describe('UtilityBarAction', () => { test('it renders', () => { const wrapper = shallow( - + {'Test action'} @@ -29,7 +29,7 @@ describe('UtilityBarAction', () => {

      {'Test popover'}

      } > {'Test action'} diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/__snapshots__/risk_score_over_time_area.test.ts.snap b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/__snapshots__/risk_score_over_time_area.test.ts.snap index 8a37b8b9fe54b62..b6177143f024c9e 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/__snapshots__/risk_score_over_time_area.test.ts.snap +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/__snapshots__/risk_score_over_time_area.test.ts.snap @@ -184,7 +184,7 @@ Object { "color": "#aa6556", "fill": "none", "forAccessor": "1dd5663b-f062-43f8-8688-fc8166c2ca8e", - "icon": "alert", + "icon": "warning", "iconPosition": "left", "lineWidth": 2, "textVisibility": true, diff --git a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/risk_score_over_time_area.ts b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/risk_score_over_time_area.ts index b100e5042a33a56..8c5981d6e4a0692 100644 --- a/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/risk_score_over_time_area.ts +++ b/x-pack/plugins/security_solution/public/common/components/visualization_actions/lens_attributes/common/risk_scores/risk_score_over_time_area.ts @@ -56,7 +56,7 @@ export const getRiskScoreOverTimeAreaAttributes: GetLensAttributes = ( axisMode: 'left', lineWidth: 2, color: '#aa6556', - icon: 'alert', + icon: 'warning', textVisibility: true, fill: 'none', iconPosition: 'left', diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/pages/rule_editing/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/pages/rule_editing/index.tsx index 63369244cc56958..829a6688f4b60a1 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/pages/rule_editing/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/pages/rule_editing/index.tsx @@ -496,7 +496,7 @@ const EditRulePageComponent: FC = () => { {invalidSteps.length > 0 && ( - + {errorSubmitting != null && ( <> - + {i18n.SUBMIT_ERROR_DISMISS_MESSAGE} diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/all_exception_items_table/empty_viewer_state.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/all_exception_items_table/empty_viewer_state.tsx index b00bf7dd751340e..3e4c605e919aef1 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/all_exception_items_table/empty_viewer_state.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/all_exception_items_table/empty_viewer_state.tsx @@ -40,7 +40,7 @@ const ExeptionItemsViewerEmptyPromptsComponent = ({ return ( {i18n.EXCEPTION_ERROR_TITLE}} body={

      {i18n.EXCEPTION_ERROR_DESCRIPTION}

      } data-test-subj={'exceptionItemViewerEmptyPrompts-error'} diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/error_callout/index.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/error_callout/index.tsx index 104481b6e111a5b..112c15969d7fde3 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/error_callout/index.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions/components/error_callout/index.tsx @@ -114,7 +114,7 @@ const ErrorCalloutComponent = ({ data-test-subj="errorCalloutContainer" title={`${i18n.ERROR}: ${errorTitle}`} color="danger" - iconType="alert" + iconType="warning" >

      {errorMessage}

      diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/ml_rule_warning_popover.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/ml_rule_warning_popover.tsx index 539cd7f1f6e74ca..5b890c2ccf3c9a7 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/ml_rule_warning_popover.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_management_ui/components/rules_table/ml_rule_warning_popover.tsx @@ -57,7 +57,12 @@ const MlRuleWarningPopoverComponent: React.FC + ); const popoverTitle = getCapitalizedStatusText(RuleExecutionStatus['partial failure']); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/response_actions_form.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/response_actions_form.tsx index 38dc69f25af51e6..a715a96aeff4f42 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/response_actions_form.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/response_actions_form.tsx @@ -97,7 +97,7 @@ export const ResponseActionsForm = ({ data-test-subj="response-actions-error" title={FORM_ERRORS_TITLE} color="danger" - iconType="alert" + iconType="warning" > {uiFieldErrors}
      diff --git a/x-pack/plugins/security_solution/public/detections/components/callouts/no_api_integration_callout/index.tsx b/x-pack/plugins/security_solution/public/detections/components/callouts/no_api_integration_callout/index.tsx index 7b483930db50539..f8567460cb20551 100644 --- a/x-pack/plugins/security_solution/public/detections/components/callouts/no_api_integration_callout/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/callouts/no_api_integration_callout/index.tsx @@ -16,7 +16,11 @@ const NoApiIntegrationKeyCallOutComponent = () => { return showCallOut ? ( <> - +

      {i18n.NO_API_INTEGRATION_KEY_CALLOUT_MSG}

      {i18n.DISMISS_CALLOUT} diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx index 046ae474517f20e..93809dc6ce2a81b 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx @@ -545,7 +545,7 @@ export const buildAlertSuppressionDescription = ( /> {!license.isAtLeast(minimumLicenseForSuppression) && ( - + )} @@ -579,7 +579,7 @@ export const buildAlertSuppressionWindowDescription = ( /> {!license.isAtLeast(minimumLicenseForSuppression) && ( - + )} diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/eql_query_bar/errors_popover.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/eql_query_bar/errors_popover.tsx index b2e1a0a59d090b4..bd04f87c4c3ad53 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/eql_query_bar/errors_popover.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/eql_query_bar/errors_popover.tsx @@ -33,7 +33,7 @@ export const ErrorsPopover: FC = ({ ariaLabel, errors }) => button={ = ({ message }) => { } let color = 'primary'; - let icon = 'alert'; + let icon = 'warning'; if (message.level === MessageLevels.info) { icon = 'iInCircle'; diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/related_integrations/integrations_description/integration_version_mismatch_icon.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/related_integrations/integrations_description/integration_version_mismatch_icon.tsx index 7bbc04d64785d0a..e0fc8fa090d7427 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/related_integrations/integrations_description/integration_version_mismatch_icon.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/related_integrations/integrations_description/integration_version_mismatch_icon.tsx @@ -35,7 +35,7 @@ const IntegrationVersionMismatchIconComponent: React.FC = ({ field, messageVariables }) = {fieldErrors ? ( <> - + {fieldErrors} diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/rule_execution_status/rule_status_failed_callout.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/rule_execution_status/rule_status_failed_callout.tsx index ff5b559eb4b3210..e2dc4a842303d64 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/rule_execution_status/rule_status_failed_callout.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/rule_execution_status/rule_status_failed_callout.tsx @@ -37,7 +37,7 @@ const RuleStatusFailedCallOutComponent: React.FC = } color={color} - iconType="alert" + iconType="warning" data-test-subj="ruleStatusFailedCallOut" > {message.split('\n').map((line) => ( diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/rule_preview/preview_logs.tsx b/x-pack/plugins/security_solution/public/detections/components/rules/rule_preview/preview_logs.tsx index 3d72986a100ddc1..fe86abef3d79a9a 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/rule_preview/preview_logs.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/rules/rule_preview/preview_logs.tsx @@ -28,7 +28,7 @@ interface LogAccordionProps { } const CustomWarning: React.FC<{ message: string }> = ({ message }) => ( - +

      {message}

      @@ -125,7 +125,7 @@ export const CalloutGroup: React.FC<{ diff --git a/x-pack/plugins/security_solution/public/detections/components/status/index.test.tsx b/x-pack/plugins/security_solution/public/detections/components/status/index.test.tsx index 1df652a9b09aff1..e1b282ba350beb1 100644 --- a/x-pack/plugins/security_solution/public/detections/components/status/index.test.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/status/index.test.tsx @@ -12,7 +12,7 @@ import { Status } from '.'; interface Expected { badgeColor: string; - iconType: 'check' | 'alert'; + iconType: 'check' | 'warning'; status: 'active' | 'recovered' | 'any-other-status'; } @@ -20,7 +20,7 @@ describe('Status', () => { const expected: Expected[] = [ { badgeColor: 'danger', - iconType: 'alert', + iconType: 'warning', status: 'active', }, { @@ -30,7 +30,7 @@ describe('Status', () => { }, { badgeColor: 'danger', - iconType: 'alert', + iconType: 'warning', status: 'any-other-status', }, ]; diff --git a/x-pack/plugins/security_solution/public/detections/components/status/index.tsx b/x-pack/plugins/security_solution/public/detections/components/status/index.tsx index c9ece19d1b1e2bb..d8bba870b34abe2 100644 --- a/x-pack/plugins/security_solution/public/detections/components/status/index.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/status/index.tsx @@ -31,7 +31,7 @@ export const getIconTypeFromStatus = (status: string) => { case 'recovered': return 'check'; default: - return 'alert'; + return 'warning'; } }; diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx index c050118a848d38e..35386ecf28dc298 100644 --- a/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/components/error_page.tsx @@ -14,7 +14,7 @@ export const AlertDetailsErrorPage = memo(({ eventId }: { eventId: string }) => {ERROR_PAGE_TITLE}} body={
      diff --git a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/related_case.tsx b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/related_case.tsx index 37afb2b73e8ab95..ad3ef969a7a680d 100644 --- a/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/related_case.tsx +++ b/x-pack/plugins/security_solution/public/detections/pages/alert_details/tabs/summary/cases_panel/related_case.tsx @@ -91,7 +91,7 @@ export const RelatedCasesList = ({ - + {totals.alerts} diff --git a/x-pack/plugins/security_solution/public/explore/components/paginated_table/index.tsx b/x-pack/plugins/security_solution/public/explore/components/paginated_table/index.tsx index ffb5e35f55688d8..86964625784dac4 100644 --- a/x-pack/plugins/security_solution/public/explore/components/paginated_table/index.tsx +++ b/x-pack/plugins/security_solution/public/explore/components/paginated_table/index.tsx @@ -205,7 +205,7 @@ const PaginatedTableComponent: FC = ({ id: 'PaginationWarningMsg', title: headerTitle + i18n.TOAST_TITLE, color: 'warning', - iconType: 'alert', + iconType: 'warning', toastLifeTimeMs: 10000, text: i18n.TOAST_TEXT, }; diff --git a/x-pack/plugins/security_solution/public/explore/hosts/components/kpi_hosts/risky_hosts/index.tsx b/x-pack/plugins/security_solution/public/explore/hosts/components/kpi_hosts/risky_hosts/index.tsx index 11843d25e4b97fb..0863212e44eca66 100644 --- a/x-pack/plugins/security_solution/public/explore/hosts/components/kpi_hosts/risky_hosts/index.tsx +++ b/x-pack/plugins/security_solution/public/explore/hosts/components/kpi_hosts/risky_hosts/index.tsx @@ -108,7 +108,7 @@ const RiskyHostsComponent: React.FC<{ - + diff --git a/x-pack/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_delete_modal.tsx b/x-pack/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_delete_modal.tsx index 11ea7331b8fbeb6..6dc1d9884f808c5 100644 --- a/x-pack/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_delete_modal.tsx +++ b/x-pack/plugins/security_solution/public/management/components/artifact_list_page/components/artifact_delete_modal.tsx @@ -116,7 +116,7 @@ export const ArtifactDeleteModal = memo( data-test-subj={getTestId('impactCallout')} title={labels.deleteModalImpactTitle} color="danger" - iconType="alert" + iconType="warning" >

      {labels.deleteModalImpactInfo(item)} diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_policy_link.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_policy_link.tsx index b33d8059aa4ac96..dab1d5e98c72255 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_policy_link.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_policy_link.tsx @@ -42,7 +42,7 @@ export const EndpointPolicyLink = memo< {children} { - +   { - return ; + return ; }); DisabledTooltip.displayName = 'DisabledTooltip'; diff --git a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/clear_all_button.tsx b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/clear_all_button.tsx index 96fd1dcc757aa13..bc12c4e5651214f 100644 --- a/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/clear_all_button.tsx +++ b/x-pack/plugins/security_solution/public/management/components/endpoint_response_actions_list/components/clear_all_button.tsx @@ -11,7 +11,7 @@ import { EuiButtonEmpty } from '@elastic/eui'; import { UX_MESSAGES } from '../translations'; const StyledEuiButtonEmpty = euiStyled(EuiButtonEmpty).attrs({ - iconType: 'crossInACircleFilled', + iconType: 'cross', color: 'danger', })` border-top: ${(props) => `${props.theme.eui.euiBorderThin}`}; diff --git a/x-pack/plugins/security_solution/public/management/components/no_permissons/no_permissions.tsx b/x-pack/plugins/security_solution/public/management/components/no_permissons/no_permissions.tsx index 87a5b5cf7142bf6..3852cfbf7399524 100644 --- a/x-pack/plugins/security_solution/public/management/components/no_permissons/no_permissions.tsx +++ b/x-pack/plugins/security_solution/public/management/components/no_permissons/no_permissions.tsx @@ -13,7 +13,7 @@ export const NoPermissions = memo(() => { return ( <> diff --git a/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response_action_item.tsx b/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response_action_item.tsx index b3abc140783de49..4e6513672f52452 100644 --- a/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response_action_item.tsx +++ b/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response_action_item.tsx @@ -32,7 +32,7 @@ export const PolicyResponseActionItem = memo( diff --git a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/components/out_of_date.tsx b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/components/out_of_date.tsx index 4762fde0ec088c5..87abd4bbb92256b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/components/out_of_date.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/components/out_of_date.tsx @@ -18,7 +18,7 @@ export const OutOfDate = React.memo<{ style?: React.CSSProperties }>(({ style, . style={style} {...otherProps} > - + ); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_policy_edit_extension/endpoint_policy_edit_extension.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_policy_edit_extension/endpoint_policy_edit_extension.tsx index bb629e3f445c8a4..a9037ef6c3bb20b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_policy_edit_extension/endpoint_policy_edit_extension.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_policy_edit_extension/endpoint_policy_edit_extension.tsx @@ -122,7 +122,7 @@ const WrappedPolicyDetailsForm = memo<{ defaultMessage="Failed to load endpoint policy settings" /> } - iconType="alert" + iconType="warning" color="warning" data-test-subj="endpiontPolicySettingsLoadingError" > diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_advanced.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_advanced.tsx index 731bccdd2e24cf1..c2f70da93abbc82 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_advanced.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_advanced.tsx @@ -98,7 +98,7 @@ const warningMessage = i18n.translate( export const AdvancedPolicyForms = React.memo(({ isPlatinumPlus }: { isPlatinumPlus: boolean }) => { return ( <> - +

      {warningMessage}

      diff --git a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/columns.tsx b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/columns.tsx index 7aacb20909b2570..92f8751782fa6ed 100644 --- a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/columns.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/columns.tsx @@ -82,7 +82,7 @@ export const useAnomaliesColumns = ( } else if (job.isCompatible) { return ; } else { - return ; + return ; } }, }, diff --git a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/index.tsx b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/index.tsx index 95009804770578e..4f74100ff48889b 100644 --- a/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/index.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/entity_analytics/anomalies/index.tsx @@ -171,7 +171,7 @@ export const EntityAnalyticsAnomalies = () => { title={i18n.MODULE_NOT_COMPATIBLE_TITLE(incompatibleJobCount)} data-test-subj="incompatible_jobs_warnings" color="warning" - iconType="alert" + iconType="warning" size="s" >

      diff --git a/x-pack/plugins/security_solution/public/resolver/view/panels/node_events_of_type.tsx b/x-pack/plugins/security_solution/public/resolver/view/panels/node_events_of_type.tsx index 047e3302433ce7f..571ba288c68ab19 100644 --- a/x-pack/plugins/security_solution/public/resolver/view/panels/node_events_of_type.tsx +++ b/x-pack/plugins/security_solution/public/resolver/view/panels/node_events_of_type.tsx @@ -65,7 +65,7 @@ export const NodeEventsInCategory = memo(function ({ } )} color="danger" - iconType="alert" + iconType="warning" data-test-subj="resolver:nodeEventsInCategory:error" >

      diff --git a/x-pack/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx index 271ee58d2c9f652..ff960c4f6099763 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/edit_data_provider/index.tsx @@ -272,7 +272,7 @@ export const StatefulEditDataProvider = React.memo( <> diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/auto_save_warning/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/auto_save_warning/index.tsx index 596f1ccf9b23524..a398ecff940876a 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/auto_save_warning/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/auto_save_warning/index.tsx @@ -58,7 +58,7 @@ const AutoSaveWarningMsgComponent = () => { id: 'AutoSaveWarningMsg', title: i18n.TITLE, color: 'warning', - iconType: 'alert', + iconType: 'warning', toastLifeTimeMs: 10000, text: TextComponent, }; diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.test.tsx index eeb383f6a229867..739cb06be2ecd29 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.test.tsx @@ -96,7 +96,7 @@ describe('Header', () => { expect( wrapper.find('[data-test-subj="timelineCallOutUnauthorized"]').first().prop('iconType') - ).toEqual('alert'); + ).toEqual('warning'); }); test('it renders the unauthorized call out with correct message', async () => { @@ -152,7 +152,7 @@ describe('Header', () => { expect( wrapper.find('[data-test-subj="timelineImmutableCallOut"]').first().prop('iconType') - ).toEqual('alert'); + ).toEqual('warning'); }); test('it renders the immutable timeline call out with correct message', async () => { diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.tsx index 1164c70009ac522..aceea9dd2b69dd6 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/index.tsx @@ -37,7 +37,7 @@ const TimelineHeaderComponent: React.FC = ({ data-test-subj="timelineCallOutUnauthorized" title={i18n.CALL_OUT_UNAUTHORIZED_MSG} color="warning" - iconType="alert" + iconType="warning" size="s" /> )} @@ -46,7 +46,7 @@ const TimelineHeaderComponent: React.FC = ({ data-test-subj="timelineImmutableCallOut" title={i18n.CALL_OUT_IMMUTABLE} color="primary" - iconType="alert" + iconType="warning" size="s" /> )} diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/title_and_description.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/title_and_description.tsx index d887b72cdb33a8f..878eaf6c1f295d4 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/header/title_and_description.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/header/title_and_description.tsx @@ -201,7 +201,7 @@ export const TimelineTitleAndDescription = React.memo diff --git a/x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx b/x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx index 87d1af77da38b58..7ad6a3e172fb65f 100644 --- a/x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx +++ b/x-pack/plugins/session_view/public/components/detail_panel_alert_group_item/index.tsx @@ -51,7 +51,7 @@ export const DetailPanelAlertGroupItem = ({ size="s" >

      - + {dataOrDash(rule?.name)}

      diff --git a/x-pack/plugins/session_view/public/components/session_view/index.tsx b/x-pack/plugins/session_view/public/components/session_view/index.tsx index 18296992de65fc4..955b042ff9cfbf3 100644 --- a/x-pack/plugins/session_view/public/components/session_view/index.tsx +++ b/x-pack/plugins/session_view/public/components/session_view/index.tsx @@ -344,7 +344,7 @@ export const SessionView = ({ {hasError && ( diff --git a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx b/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx index 9100ce22417e58f..e98e0eaf52a8cd7 100644 --- a/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/components/policy_form/steps/step_logistics.tsx @@ -515,7 +515,7 @@ export const PolicyStepLogistics: React.FunctionComponent = ({ /> } color="danger" - iconType="alert" + iconType="warning" > = ({ policy, on ) : ( = ({ dataSt {i18nTexts.callout.body(docLinks.links.snapshotRestore.createSnapshot)} diff --git a/x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx b/x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx index a7dd01a2fd89372..ac13c72abba8d05 100644 --- a/x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/components/retention_update_modal_provider.tsx @@ -156,7 +156,7 @@ export const RetentionSettingsUpdateModalProvider: React.FunctionComponent } color="danger" - iconType="alert" + iconType="warning" > {saveError.data && saveError.data.message ?

      {saveError.data.message}

      : null}
      diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx index e047bbf4a01880d..5519a68aa9d34b8 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_list.tsx @@ -183,7 +183,7 @@ export const PolicyList: React.FunctionComponent } color="warning" - iconType="alert" + iconType="warning" > = ({ /> } color="warning" - iconType="alert" + iconType="warning" >

      = ({ /> } color="danger" - iconType="alert" + iconType="warning" > {error.data && error.data.message ?

      {error.data.message}

      : null} diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx index 84b674099269e9f..0e56c47abc43026 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/policy_list/policy_table/policy_table.tsx @@ -127,7 +127,7 @@ export const PolicyTable: React.FunctionComponent = ({ } )} > - +
      diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx index 99a160d54d23ebb..4b5c5af331832f8 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/components/snapshot_search_bar.tsx @@ -159,7 +159,7 @@ export const SnapshotSearchBar: React.FunctionComponent = ({ <> = ({ state }) => { }), }, [SNAPSHOT_STATE.PARTIAL]: { - icon: , + icon: , label: i18n.translate('xpack.snapshotRestore.snapshotState.partialLabel', { defaultMessage: 'Partial failure', }), @@ -48,7 +48,7 @@ export const SnapshotState: React.FC = ({ state }) => { }), }, [SNAPSHOT_STATE.INCOMPATIBLE]: { - icon: , + icon: , label: i18n.translate('xpack.snapshotRestore.snapshotState.incompatibleLabel', { defaultMessage: 'Incompatible version', }), diff --git a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx index bfc276410ebc67e..0ff63cd990d6e2b 100644 --- a/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx +++ b/x-pack/plugins/snapshot_restore/public/application/sections/home/snapshot_list/snapshot_list.tsx @@ -162,7 +162,7 @@ export const SnapshotList: React.FunctionComponent } color="warning" - iconType="alert" + iconType="warning" data-test-subj="repositoryErrorsWarning" > } color="danger" - iconType="alert" + iconType="warning" > {aliasJsonString} diff --git a/x-pack/plugins/spaces/public/management/components/confirm_delete_modal/confirm_delete_modal.tsx b/x-pack/plugins/spaces/public/management/components/confirm_delete_modal/confirm_delete_modal.tsx index a04f175366705f7..c66c221521edb2d 100644 --- a/x-pack/plugins/spaces/public/management/components/confirm_delete_modal/confirm_delete_modal.tsx +++ b/x-pack/plugins/spaces/public/management/components/confirm_delete_modal/confirm_delete_modal.tsx @@ -89,7 +89,7 @@ export const ConfirmDeleteModal: FunctionComponent = ({ <> ); diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.test.tsx b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.test.tsx index 8341e4a709311ff..a51ac07b3091b2f 100644 --- a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.test.tsx +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/share_to_space_flyout_internal.test.tsx @@ -523,7 +523,7 @@ describe('ShareToSpaceFlyout', () => { color="warning" content="This feature is disabled in this space." position="left" - type="alert" + type="warning" /> `); @@ -560,7 +560,7 @@ describe('ShareToSpaceFlyout', () => { color="warning" content="This feature is disabled in this space." position="left" - type="alert" + type="warning" /> `); expect(option.checked).toEqual('on'); diff --git a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx b/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx index a86c6d4d67bfcf8..b8fd6d1ee086f02 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx +++ b/x-pack/plugins/stack_alerts/public/rule_types/es_query/expression/search_source_expression.tsx @@ -112,7 +112,7 @@ export const SearchSourceExpression = ({ if (paramsError) { return ( <> - +

      {paramsError.message}

      diff --git a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx b/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx index 052936509564d72..d5c2d3332223204 100644 --- a/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx +++ b/x-pack/plugins/stack_alerts/public/rule_types/threshold/visualization.tsx @@ -225,7 +225,7 @@ export const ThresholdVisualization: React.FunctionComponent = ({ /> } color="danger" - iconType="alert" + iconType="warning" > {errorMessage}
      diff --git a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx b/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx index 2938685f1102cd4..168ebe73fb21d41 100644 --- a/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx +++ b/x-pack/plugins/stack_connectors/public/connector_types/lib/servicenow/application_required_callout.tsx @@ -35,7 +35,7 @@ const ApplicationRequiredCalloutComponent: React.FC = ({ appId, message } = ({ onMigrate }) => { <> = ({ appId }) => { = ({ diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx index ac4d8caec8cb78c..6ec29c052b6f71d 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/components/stderr_logs.tsx @@ -114,7 +114,7 @@ export const StdErrorLogs = ({
      {summaryMessage && ( - +

      {summaryMessage}

      )} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/links/error_details_link.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/links/error_details_link.tsx index db1abc2006c35d1..f0641ad5884474f 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/common/links/error_details_link.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/common/links/error_details_link.tsx @@ -41,7 +41,7 @@ export const ErrorDetailsButton = ({ const link = useErrorDetailsLink({ configId, stateId, locationId: selectedLocation?.id }); return ( - + {label ?? VIEW_DETAILS} ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/locations_loading_error.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/locations_loading_error.tsx index 66e7f8ed472b48e..13e8dd4532229ae 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/locations_loading_error.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/locations_loading_error.tsx @@ -12,7 +12,7 @@ import { EuiEmptyPrompt } from '@elastic/eui'; export const LocationsLoadingError = () => { return ( diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_edit_page.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_edit_page.tsx index 98a6eb32dbb4e6c..9487e695ee58556 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_edit_page.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_add_edit/monitor_edit_page.tsx @@ -51,7 +51,7 @@ export const MonitorEditPage: React.FC = () => { if (error) { return ( diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/errors_icon.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/errors_icon.tsx index 8b374930c1339c9..21259afaca03cc2 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/errors_icon.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_errors/errors_icon.tsx @@ -11,5 +11,5 @@ import { useMonitorErrors } from '../hooks/use_monitor_errors'; export const MonitorErrorsIcon = () => { const { hasActiveError } = useMonitorErrors(); - return hasActiveError ? : null; + return hasActiveError ? : null; }; diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx index aebdff8c16dd302..0fad37e676b4f33 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_legend.tsx @@ -45,7 +45,7 @@ export const MonitorStatusLegend = ({ brushable }: { brushable: boolean }) => { {/* // Hiding error for now until @elastic/chart's Heatmap chart supports annotations // `getErrorVizColor` can be imported from './monitor_status_data' - + */} {brushable ? ( diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx index bb38b492d505541..d09f6672e73bd4f 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_summary/last_test_run.tsx @@ -97,7 +97,7 @@ export const LastTestRunComponent = ({ title={latestPing?.error.message} size="s" color="danger" - iconType="alert" + iconType="warning" > {isErrorDetails ? ( <> diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/loader/loader.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/loader/loader.tsx index fbaf5c1d536cfa5..b40fb64a395761a 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/loader/loader.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/loader/loader.tsx @@ -32,7 +32,7 @@ export const Loader = ({ <> {errorTitle}} body={

      {errorBody}

      } diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_errors/monitor_async_error.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_errors/monitor_async_error.tsx index 4f285dcb911d18b..c25b7928f6f9bda 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_errors/monitor_async_error.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitors_page/management/monitor_errors/monitor_async_error.tsx @@ -28,7 +28,7 @@ export const MonitorAsyncError = () => { /> } color="warning" - iconType="alert" + iconType="warning" >

      - + } isOpen={configIdByLocation === isPopoverOpen} @@ -136,7 +141,7 @@ export const MetricItemIcon = ({

      - +
      diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/error_callout.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/error_callout.tsx index c7c1968f2c136fa..0027469c89cdb89 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/error_callout.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/step_details_page/error_callout.tsx @@ -21,7 +21,7 @@ export const ErrorCallOut = ({ step }: { step?: JourneyStep }) => { return ( <> - + ); diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/browser/browser_test_results.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/browser/browser_test_results.tsx index 4a0e08f2da97534..7665538d7682ba2 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/browser/browser_test_results.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/browser/browser_test_results.tsx @@ -92,7 +92,7 @@ export const BrowserTestRunResult = ({ expectPings, onDone, testRunId }: Props) title={ERROR_RUNNING_TEST} size="s" color="danger" - iconType="alert" + iconType="warning" > {summaryDoc?.error?.message ?? FAILED_TO_RUN} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/test_now_mode.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/test_now_mode.tsx index f3a9c93ac7b8dfe..f3c37e71fa5654e 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/test_now_mode.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_now_mode/test_now_mode.tsx @@ -46,7 +46,7 @@ export function TestNowMode({ return ( {(hasBlockingError && !isPushing && ( - + )) || null} diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/components/test_run_error_info.tsx b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/components/test_run_error_info.tsx index cbcd7316061c40b..635719dc3e0ca59 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/components/test_run_error_info.tsx +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/test_run_details/components/test_run_error_info.tsx @@ -34,7 +34,7 @@ export const TestRunErrorInfo = ({ data-test-subj="monitorTestRunErrorCallout" title={ERROR_RUNNING_TEST} color="danger" - iconType="alert" + iconType="warning" > {errorMessage ?? FAILED_TO_RUN} diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/fleet_package/browser/throttling_fields.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/fleet_package/browser/throttling_fields.tsx index 31b4e6ee1fad0cb..2e1ea848eb49bcf 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/fleet_package/browser/throttling_fields.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/fleet_package/browser/throttling_fields.tsx @@ -44,7 +44,7 @@ export const ThrottlingDisabledCallout = () => { /> } color="warning" - iconType="alert" + iconType="warning" > { /> } color="warning" - iconType="alert" + iconType="warning" > {errorTitle}} body={

      {errorBody}

      } diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/inline_error.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/inline_error.tsx index 7ba74def660c9a2..cb9a5d13a5b1c14 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/inline_error.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/inline_error.tsx @@ -29,7 +29,7 @@ export const InlineError = ({ errorSummary }: { errorSummary: Ping }) => { setIsOpen(true)} color="danger" /> diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/monitor_async_error.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/monitor_async_error.tsx index 77659c8357e24df..e04ee6831077a35 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/monitor_async_error.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/monitor_management/monitor_list/monitor_async_error.tsx @@ -27,7 +27,7 @@ export const MonitorAsyncError = () => { /> } color="warning" - iconType="alert" + iconType="warning" >

      + )) || null} diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_call_out.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_call_out.tsx index d9d52496aaa80d8..79db351b9706d20 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_call_out.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_call_out.tsx @@ -27,7 +27,7 @@ export const OldAlertCallOut: React.FC = ({ isOldAlert }) => { defaultMessage="You may be editing an older alert, some fields may not auto-populate." /> } - iconType="alert" + iconType="warning" /> ); diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_callout.test.tsx b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_callout.test.tsx index 9145137b0d88680..2e93d7404bd57ab 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_callout.test.tsx +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/overview/alerts/monitor_status_alert/old_alert_callout.test.tsx @@ -21,7 +21,7 @@ describe('OldAlertCallOut', () => { size="m" /> - +

      {summaryMessage}

      diff --git a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/empty_prompt/empty_prompt.tsx b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/empty_prompt/empty_prompt.tsx index 7242989ad86a440..74aaa0d3503263a 100644 --- a/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/empty_prompt/empty_prompt.tsx +++ b/x-pack/plugins/threat_intelligence/public/modules/indicators/components/flyout/empty_prompt/empty_prompt.tsx @@ -13,7 +13,7 @@ export const EMPTY_PROMPT_TEST_ID = 'indicatorEmptyPrompt'; export const IndicatorEmptyPrompt: VFC = () => ( diff --git a/x-pack/plugins/transform/public/app/components/job_icon.tsx b/x-pack/plugins/transform/public/app/components/job_icon.tsx index f6225ef3177da2a..09db5a1c5237765 100644 --- a/x-pack/plugins/transform/public/app/components/job_icon.tsx +++ b/x-pack/plugins/transform/public/app/components/job_icon.tsx @@ -23,7 +23,7 @@ export const JobIcon: FC = ({ message, showTooltip = false }) => { } let color = 'primary'; - const icon = 'alert'; + const icon = 'warning'; if (message.level === INFO) { color = 'primary'; diff --git a/x-pack/plugins/transform/public/app/components/section_error.tsx b/x-pack/plugins/transform/public/app/components/section_error.tsx index c620b139486a104..fc7f6bbc14d72c9 100644 --- a/x-pack/plugins/transform/public/app/components/section_error.tsx +++ b/x-pack/plugins/transform/public/app/components/section_error.tsx @@ -25,7 +25,7 @@ export const SectionError: React.FunctionComponent = ({ return ( {title}} body={

      diff --git a/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx b/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx index 678b825cf29b807..2131ae616553d68 100644 --- a/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx +++ b/x-pack/plugins/transform/public/app/sections/clone_transform/clone_transform_section.tsx @@ -140,7 +140,7 @@ export const CloneTransformSection: FC = ({ match, location }) => { defaultMessage: 'An error occurred getting the transform configuration.', })} color="danger" - iconType="alert" + iconType="warning" >

      {JSON.stringify(errorMessage)}
      diff --git a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx index 59ded1217f4d6dc..480c1f4a31063bd 100644 --- a/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx +++ b/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/editor_form.tsx @@ -41,7 +41,7 @@ export const FilterEditorForm: FilterAggConfigEditor['aggTypeConfig']['FilterAgg {isValid === false ? ( <> - + = ({ /> )} {latestFunctionService.sortFieldOptions.length === 0 && ( - +

      = React.memo( {stepDefineState.transformFunction === TRANSFORM_FUNCTION.LATEST ? ( <> - +

      = ({ match }) => { {searchItemsError !== undefined && ( <> - + )} diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_api_error_callout.tsx b/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_api_error_callout.tsx index 5925dd9e66c8594..6713ab8ac530d53 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_api_error_callout.tsx +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_api_error_callout.tsx @@ -29,7 +29,7 @@ export const EditTransformApiErrorCallout: FC = () => { } )} color="danger" - iconType="alert" + iconType="warning" >

      {apiErrorMessage}

      diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx index d64724d2e079e10..8ad53c64c2f1ecd 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/transform_list/transforms_stats_bar.tsx @@ -130,7 +130,7 @@ export const TransformStatsBar: FC = ({ /> } color="warning" - iconType="alert" + iconType="warning" >

      { color="danger" >

      {getConfirmDeletionModalText(numIdsToDelete, singleTitle, multipleTitle)}

      {showWarningText && ( - {warningText}} color="warning" iconType="alert" /> + {warningText}} color="warning" iconType="warning" /> )} ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx index 3485a99c3945659..1acd3e63924506d 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.tsx @@ -140,7 +140,7 @@ export const JsonEditorWithMessageVariables: React.FunctionComponent = ({ return ( <> - +

      {NO_EDITOR_ERROR_MESSAGE}

      diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx index 68d15db90fe91b8..37375d80ab3464f 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/rules_delete_modal_confirmation.tsx @@ -34,6 +34,8 @@ export const RulesDeleteModalConfirmation = ({ confirmButtonText={confirmButtonText} >

      {confirmModalText}

      - {showWarningText && {warningText}} color="warning" iconType="alert" />} + {showWarningText && ( + {warningText}} color="warning" iconType="warning" /> + )} ); diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx index b80a5361f4d5ee4..d71a134fa0f7988 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/rules_setting/rules_settings_modal.tsx @@ -66,7 +66,7 @@ export const RulesSettingsErrorPrompt = memo(() => { @@ -497,7 +497,11 @@ export const ActionTypeForm = ({ )} {warning && !isOpen && ( - + {i18n.translate( 'xpack.triggersActionsUI.sections.actionTypeForm.actionWarningsTitle', { @@ -511,7 +515,7 @@ export const ActionTypeForm = ({ {checkEnabledResult.isEnabled === false && ( <> {executeEnabled ? null : ( <> - +

      diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx index fbdef9f7c4e92c9..a03c34c90962e98 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/actions_connectors_list/components/actions_connectors_list.tsx @@ -69,7 +69,7 @@ const ConnectorIconTipWithSpacing = withTheme(({ theme }: { theme: EuiTheme }) = })} aria-label="Warning" size="m" - type="alert" + type="warning" color="warning" content={connectorDeprecatedMessage} position="right" @@ -243,7 +243,7 @@ const ActionsConnectorsList: React.FunctionComponent = () => { {item.isMissingSecrets ? ( { {!!activeAlertCount && ( <>   - + )} diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx index e37fd485d9e2a03..b95e5a310eb5bf2 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_summary_widget/components/alert_summary_widget_error.tsx @@ -13,7 +13,7 @@ export const AlertSummaryWidgetError = () => { return ( diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx index 0088e9d18d67e88..585b8e2823f754e 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_action_error_badge.tsx @@ -18,7 +18,7 @@ export const RuleActionErrorBadge = (props: RuleActionErrorBadge) => { return ( diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx index acc37089f4b7df1..fd125851c36b31d 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/rule_details/components/rule_details.tsx @@ -418,7 +418,7 @@ export const RuleDetails: React.FunctionComponent = ({

      - +   {getRuleStatusErrorReasonText()},  {rule.executionStatus.error?.message} @@ -445,10 +445,10 @@ export const RuleDetails: React.FunctionComponent = ({ color="warning" data-test-subj="ruleWarningBanner" size="s" - iconType="alert" + iconType="warning" >

      - +   {getRuleStatusWarningReasonText()}   @@ -468,7 +468,7 @@ export const RuleDetails: React.FunctionComponent = ({ size="s" >

      - +   ( const actionErrors = runLog?.num_errored_actions as number; if (actionErrors) { return ( - onFlyoutOpen(runLog)} iconType="alert"> + onFlyoutOpen(runLog)} iconType="warning"> { <>

      - +   = ({ const logsCount = data?.count || 0; const hasLogs = logsCount > 0; const calloutTint = hasLogs ? 'warning' : 'success'; - const calloutIcon = hasLogs ? 'alert' : 'check'; + const calloutIcon = hasLogs ? 'warning' : 'check'; const calloutTestId = hasLogs ? 'hasWarningsCallout' : 'noWarningsCallout'; const onResetClick = async () => { @@ -103,7 +103,7 @@ export const DeprecationsCountCheckpoint: FunctionComponent = ({

      diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx index c0bf30724a0cc19..d39e52358269585 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/flyout.tsx @@ -121,7 +121,7 @@ export const RemoveClusterSettingsFlyout = ({ {statusDetails!.message} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx index 117cf693fe98f4f..fef5c5940ffc573 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/cluster_settings/resolution_table_cell.tsx @@ -102,7 +102,7 @@ export const ClusterSettingsResolutionCell: React.FunctionComponent = ({ data-test-subj="clusterSettingsResolutionStatusCell" > - + {i18nTexts.deleteFailedText} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx index a6add8cccdd2d4b..2399f717d7a3212 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/flyout.tsx @@ -134,7 +134,7 @@ export const RemoveIndexSettingsFlyout = ({ {statusDetails!.message} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx index f982e84dce6da49..78d34a8df445e7c 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/index_settings/resolution_table_cell.tsx @@ -102,7 +102,7 @@ export const IndexSettingsResolutionCell: React.FunctionComponent = ({ st data-test-subj="indexSettingsResolutionStatusCell" > - + {i18nTexts.deleteFailedText} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx index a031d7dcfdcd358..02dbae78b5ac02d 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/flyout.tsx @@ -203,7 +203,7 @@ export const FixSnapshotsFlyout = ({ : i18nTexts.upgradeSnapshotErrorTitle } color="danger" - iconType="alert" + iconType="warning" data-test-subj="resolveSnapshotError" > {snapshotState.error.message} @@ -217,7 +217,7 @@ export const FixSnapshotsFlyout = ({

      diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx index 1c3e23d0b6ca69f..06e346fc996c5d8 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/ml_snapshots/resolution_table_cell.tsx @@ -112,7 +112,7 @@ export const MlSnapshotsResolutionCell: React.FunctionComponent = () => { return ( - + diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx index 3fac4f7bf920a4e..c6ba5ecff25d44d 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/deprecation_types/reindex/flyout/checklist_step.tsx @@ -106,7 +106,7 @@ export const ChecklistFlyoutStep: React.FunctionComponent<{ /> } color="danger" - iconType="alert" + iconType="warning" /> )} @@ -115,7 +115,7 @@ export const ChecklistFlyoutStep: React.FunctionComponent<{ <> } color="warning" - iconType="alert" + iconType="warning" >

      { return ( - + {i18nTexts.reindexFailedText} @@ -138,7 +138,7 @@ export const ReindexResolutionCell: React.FunctionComponent = () => { return ( - + {i18nTexts.reindexFetchFailedText} @@ -149,7 +149,7 @@ export const ReindexResolutionCell: React.FunctionComponent = () => { return ( - + {i18nTexts.reindexPausedText} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx index b9e3d9de431a838..9026eb3a8c5d4d7 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations_table.tsx @@ -272,7 +272,7 @@ export const EsDeprecationsTable: React.FunctionComponent = ({ diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx index 2b022a6c7fff4e4..a6ea9a26c9bb83c 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/deprecation_details_flyout.tsx @@ -145,7 +145,7 @@ export const DeprecationDetailsFlyout = ({ {deprecationResolutionState.resolveDeprecationError} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx index aa5a0cc27c93957..b28fa1180bda91b 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/kibana_deprecations.tsx @@ -272,7 +272,7 @@ export const KibanaDeprecations = withRouter(({ history }: RouteComponentProps)

      {i18nTexts.getKibanaDeprecationErrorDescription(kibanaDeprecationErrors)}

      diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx index daf276b7ed3f835..373c9e7b43f5201 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/kibana_deprecations/resolution_table_cell.tsx @@ -95,7 +95,7 @@ export const ResolutionTableCell: React.FunctionComponent = ({ return ( - + {i18nTexts.automationFailedCellLabel} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx index fdb5aa32147e0fd..88180341b621806 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/backup_step/cloud_backup.tsx @@ -78,7 +78,7 @@ export const CloudBackup: React.FunctionComponent = ({ defaultMessage: 'An error occurred while retrieving the latest snapshot status', })} color="danger" - iconType="alert" + iconType="warning" data-test-subj="cloudBackupErrorCallout" >

      @@ -128,7 +128,7 @@ export const CloudBackup: React.FunctionComponent = ({ ) : ( - + diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx index cdd406dc8622bec..9a53d1324279c11 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_issues_step/components/loading_issues_error.tsx @@ -12,7 +12,7 @@ export const LoadingIssuesError: FunctionComponent = ({ children }) => ( - + {children} diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx index bc073ef81f21e3d..c81f5dba58e1493 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/logs_step/logs_step.tsx @@ -160,7 +160,7 @@ const LogsStep = ({

      diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx index 632994d4948a81e..aa4c15ad95d65b6 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/flyout.tsx @@ -127,7 +127,7 @@ const renderMigrationStatus = (status: MIGRATION_STATUS) => { return ( - + diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx index 58558f84f914ba6..328daff9ad3333e 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/migrate_system_indices/migrate_system_indices.tsx @@ -138,7 +138,7 @@ const MigrateSystemIndicesStep: FunctionComponent = ({ setIsComplete }) =

      @@ -181,7 +181,7 @@ const MigrateSystemIndicesStep: FunctionComponent = ({ setIsComplete }) = = ({ setIsComplete }) = diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx index a2b7b96e7462cec..c70641a928b6cc6 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/overview/upgrade_step/upgrade_step.tsx @@ -68,7 +68,7 @@ const UpgradeStep = () => { defaultMessage: 'An error occurred while retrieving the upgrade status', })} color="danger" - iconType="alert" + iconType="warning" data-test-subj="upgradeStatusErrorCallout" >

      diff --git a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx b/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx index 61fbb9b4020ede5..79556766c0dfe07 100644 --- a/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx +++ b/x-pack/plugins/upgrade_assistant/public/application/components/shared/deprecations_page_loading_error.tsx @@ -27,7 +27,7 @@ export const DeprecationsPageLoadingError: FunctionComponent = ({ data-test-subj="deprecationsPageLoadingError" > {i18n.translate('xpack.upgradeAssistant.deprecationsPageLoadingError.title', { diff --git a/x-pack/plugins/watcher/public/application/app.tsx b/x-pack/plugins/watcher/public/application/app.tsx index 35a46801a9abc2a..d1ebdae78955f2a 100644 --- a/x-pack/plugins/watcher/public/application/app.tsx +++ b/x-pack/plugins/watcher/public/application/app.tsx @@ -63,7 +63,7 @@ export const App = (deps: AppDeps) => { return ( = ({ title, error, ... const { error: errorString, cause, message } = data; return ( - +

      {message || errorString}
      {cause && ( diff --git a/yarn.lock b/yarn.lock index 2fb9eea0f167570..f53a0071bc2a858 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1543,10 +1543,10 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314" integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ== -"@elastic/eui@75.1.2": - version "75.1.2" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-75.1.2.tgz#c8ccb1728162b131e49a16833468ab2b0228f1bf" - integrity sha512-J6u16NR3BD5snje2CSWnk+JvEQ7y/8tzpmi2Ul+WWfzQwvf7DsKtouSIs91jdzC1QGSN26S1D3wKZvzaszXacg== +"@elastic/eui@76.0.2": + version "76.0.2" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-76.0.2.tgz#5b99730de10785167b4ab98fcfdb8717018343ce" + integrity sha512-HB6HyjkWQ6akYBcIWl9vGenONpymP3q8cYUui/g4DS3/WPUp8R0jV/zEryjlJ5HyJ4Vp3THDoKtCmIEVy+wZvg== dependencies: "@types/chroma-js" "^2.0.0" "@types/lodash" "^4.14.160"