Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const ProgressControls: FC<PropsWithChildren<ProgressControlProps>> = (pr
{progress === 1 ? (
<EuiFlexGroup gutterSize="xs" alignItems="center" responsive={false}>
<EuiFlexItem grow={false}>
<EuiIcon type="checkInCircleFilled" color={euiTheme.colors.success} />
<EuiIcon type="checkCircleFill" color={euiTheme.colors.success} />
</EuiFlexItem>
<EuiFlexItem grow={false} data-test-subj="aiopsAnalysisComplete">
<small>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export const DataGrid: FC<Props> = memo(
{(copy: () => void) => (
<EuiButtonIcon
onClick={copy}
iconType="copyClipboard"
iconType="copy"
aria-label={props.copyToClipboardDescription}
/>
)}
Expand Down Expand Up @@ -340,7 +340,7 @@ export const DataGrid: FC<Props> = memo(
}`}
data-test-subj={`${dataTestSubj}HistogramButton`}
size="xs"
iconType="visBarVertical"
iconType="chartBarVertical"
color="text"
onClick={toggleChartVisibility}
disabled={chartsVisible === undefined}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const FieldStatsInfoButton: FC<FieldStatsInfoButtonProps> = (props) => {
data-test-subj={`mlInspectFieldStatsButton-${field.id}`}
disabled={disabled === true}
size="xs"
iconType="fieldStatistics"
iconType="tableInfo"
css={{ color: isEmpty ? euiTheme.colors.textDisabled : undefined }}
onClick={(ev: React.MouseEvent<HTMLButtonElement>) => {
if (ev.type === 'click') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class CombinedFieldsForm extends Component<Props, State> {
onClick={this.togglePopover.bind(null, 'semantic')}
size="s"
color="text"
iconType="plusInCircleFilled"
iconType="plusCircle"
isDisabled={this.isSemanticTextCompatible() === false}
>
<FormattedMessage
Expand All @@ -209,7 +209,7 @@ export class CombinedFieldsForm extends Component<Props, State> {
onClick={this.togglePopover.bind(null, 'geo')}
size="s"
color="text"
iconType="plusInCircleFilled"
iconType="plusCircle"
isDisabled={this.isLatLonCompatible() === false}
>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const FileClashIcon: FC<Props> = ({ fileClash }) => {
return (
<EuiToolTip content={getClashText(fileClash)}>
<EuiBadge color={euiTheme.colors.backgroundBaseDanger}>
<EuiIcon type="alert" color="danger" size="s" />
<EuiIcon type="warning" color="danger" size="s" />
</EuiBadge>
</EuiToolTip>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ImportErrors: FC = () => {
{uploadStatus.errors.map((error, index) => (
<React.Fragment key={index}>
<EuiSpacer size="m" />
<EuiCallOut title={error.title} color="danger" iconType="alert">
<EuiCallOut title={error.title} color="danger" iconType="warning">
<p>{JSON.stringify(error)}</p>
</EuiCallOut>
</React.Fragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const SELECT_PICKER_HEIGHT = '250px';
const NoFilterItems = () => {
return (
<EuiSelectableMessage>
<EuiIcon type="minusInCircle" />
<EuiIcon type="minusCircle" />
<EuiSpacer size="xs" />
<p>
<FormattedMessage
Expand Down Expand Up @@ -101,7 +101,7 @@ export const MultiSelectPicker: FC<{
const button = (
<EuiFilterButton
data-test-subj={`${dataTestSubj}-button`}
iconType="arrowDown"
iconType="chevronSingleDown"
onClick={onButtonClick}
isSelected={isPopoverOpen}
numFilters={items.length}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const SamplingMenu: FC<Props> = ({ randomSampler, reload, id }) => {
data-test-subj={getDataTestSubject('aiopsRandomSamplerOptionsButton', id)}
onClick={() => setShowSamplingOptionsPopover(!showSamplingOptionsPopover)}
iconSide="right"
iconType="arrowDown"
iconType="chevronSingleDown"
size="s"
>
{buttonText}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const UnmemoizedDataVisualizerTable = <T extends DataVisualizerTableItem>({
defaultMessage: 'Collapse details for all fields',
})
}
iconType={expandAll ? 'arrowDown' : 'arrowRight'}
iconType={expandAll ? 'chevronSingleDown' : 'chevronSingleRight'}
/>
) : null,
align: RIGHT_ALIGNMENT,
Expand All @@ -170,7 +170,9 @@ const UnmemoizedDataVisualizerTable = <T extends DataVisualizerTableItem>({
render: (item: DataVisualizerTableItem) => {
const displayName = item.displayName ?? item.fieldName;
if (item.fieldName === undefined) return null;
const direction = expandedRowItemIds.includes(item.fieldName) ? 'arrowDown' : 'arrowRight';
const direction = expandedRowItemIds.includes(item.fieldName)
? 'chevronSingleDown'
: 'chevronSingleRight';
return (
<EuiButtonIcon
data-test-subj={`dataVisualizerDetailsToggle-${item.fieldName}-${direction}`}
Expand Down Expand Up @@ -287,7 +289,7 @@ const UnmemoizedDataVisualizerTable = <T extends DataVisualizerTableItem>({
name: (
<div className={'columnHeader__title'}>
{dimensions.showIcon ? (
<EuiIcon type={'visBarVertical'} className={'columnHeader__icon'} />
<EuiIcon type={'chartBarVertical'} className={'columnHeader__icon'} />
) : null}
{i18n.translate('xpack.dataVisualizer.dataGrid.distributionsColumnName', {
defaultMessage: 'Distributions',
Expand All @@ -308,7 +310,7 @@ const UnmemoizedDataVisualizerTable = <T extends DataVisualizerTableItem>({
<EuiButtonIcon
style={{ marginLeft: 4 }}
size={'s'}
iconType={!showDistributions ? 'eye' : 'eyeClosed'}
iconType={!showDistributions ? 'eye' : 'eyeSlash'}
onClick={() => toggleShowDistribution()}
aria-label={
!showDistributions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export const TopValues: FC<TopValuesProps> = ({
>
<EuiButtonIcon
iconSize="s"
iconType="plusInCircle"
iconType="plusCircle"
onClick={() => onAddFilter(fieldName, fieldValue, '+')}
aria-label={i18n.translate(
'xpack.dataVisualizer.dataGrid.field.addFilterAriaLabel',
Expand All @@ -266,7 +266,7 @@ export const TopValues: FC<TopValuesProps> = ({
/>
<EuiButtonIcon
iconSize="s"
iconType="minusInCircle"
iconType="minusCircle"
onClick={() => onAddFilter(fieldName, fieldValue, '-')}
aria-label={i18n.translate(
'xpack.dataVisualizer.dataGrid.field.removeFilterAriaLabel',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ const visualizeComparisonChartIcons = [
{
id: DATA_DRIFT_COMPARISON_CHART_TYPE.AREA,
label: showAsAreaChartOption,
iconType: 'visArea',
iconType: 'chartArea',
},
{
id: DATA_DRIFT_COMPARISON_CHART_TYPE.BAR,
label: showAsBarChartOption,
iconType: 'visBarVertical',
iconType: 'chartBarVertical',
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DataDriftPromptHint = ({
fill
size="m"
onClick={refresh}
iconType="visTagCloud"
iconType="chartTagCloud"
data-test-subj="runDataDriftAnalysis"
aria-label={ANALYZE_DATA_DRIFT_LABEL}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ export const DataDriftOverviewTable = ({
}`}
onClick={() => toggleDetails(item)}
aria-label={itemIdToExpandedRowMapValues[item.featureName] ? COLLAPSE_ROW : EXPAND_ROW}
iconType={itemIdToExpandedRowMapValues[item.featureName] ? 'arrowDown' : 'arrowRight'}
iconType={
itemIdToExpandedRowMapValues[item.featureName]
? 'chevronSingleDown'
: 'chevronSingleRight'
}
/>
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function DataVisualizerDataViewManagement(props: DataVisualizerDataViewMa
button={
<EuiButtonIcon
color="text"
iconType="boxesHorizontal"
iconType="boxesVertical"
data-test-subj="dataVisualizerDataViewManagementButton"
aria-label={i18n.translate(
'xpack.dataVisualizer.index.dataViewManagement.actionsPopoverLabel',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export const getFieldStatsChartEmbeddableFactory = (
</h3>
}
color="warning"
iconType="alert"
iconType="warning"
/>
</EuiFlexItem>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const viewTypeOptions: EuiButtonGroupOptionProps[] = [
defaultMessage="Data view"
/>
),
iconType: 'visLine',
iconType: 'chartLine',
},
{
id: FieldStatsInitializerViewType.ESQL,
Expand All @@ -30,7 +30,7 @@ const viewTypeOptions: EuiButtonGroupOptionProps[] = [
defaultMessage="ES|QL"
/>
),
iconType: 'visTable',
iconType: 'table',
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const ChangePointsTable: FC<ChangePointsTableProps> = ({
defaultMessage: 'Filter for value',
}
),
icon: 'plusInCircle',
icon: 'plusCircle',
color: 'primary',
type: 'icon',
onClick: (item) => {
Expand Down Expand Up @@ -262,7 +262,7 @@ export const ChangePointsTable: FC<ChangePointsTableProps> = ({
defaultMessage: 'Filter out value',
}
),
icon: 'minusInCircle',
icon: 'minusCircle',
color: 'primary',
type: 'icon',
onClick: (item) => {
Expand Down Expand Up @@ -324,7 +324,7 @@ export const ChangePointsTable: FC<ChangePointsTableProps> = ({
noItemsMessage={
isLoading ? (
<EuiEmptyPrompt
iconType="search"
iconType="magnify"
title={
<h3>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ const FieldPanel: FC<FieldPanelProps> = ({
: i18n.translate('xpack.aiops.changePointDetection.attachChartsLabel', {
defaultMessage: 'Attach charts',
}),
icon: 'plusInCircle',
icon: 'plusCircle',
panel: 'attachMainPanel',
'data-test-subj': 'aiopsChangePointDetectionAttachButton',
},
Expand Down Expand Up @@ -525,7 +525,7 @@ const FieldPanel: FC<FieldPanelProps> = ({
<EuiFlexItem grow={false}>
<EuiButtonIcon
data-test-subj="aiopsChangePointDetectionExpandConfigButton"
iconType={isExpanded ? 'arrowDown' : 'arrowRight'}
iconType={isExpanded ? 'chevronSingleDown' : 'chevronSingleRight'}
onClick={setIsExpanded.bind(null, (prevState) => !prevState)}
aria-label={i18n.translate('xpack.aiops.changePointDetection.expandConfigLabel', {
defaultMessage: 'Expand configuration',
Expand Down Expand Up @@ -572,7 +572,7 @@ const FieldPanel: FC<FieldPanelProps> = ({
display="base"
size="s"
isSelected={isActionMenuOpen}
iconType="boxesHorizontal"
iconType="boxesVertical"
onClick={setIsActionMenuOpen.bind(null, !isActionMenuOpen)}
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const NoDataFoundWarning = (props: { onRenderComplete?: () => void }) =>
return (
<EuiEmptyPrompt
data-test-subj="aiopsNoDataFoundWarning"
iconType="search"
iconType="magnify"
title={
<h3>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const viewTypeOptions: EuiButtonGroupOptionProps[] = [
defaultMessage="Charts"
/>
),
iconType: 'visLine',
iconType: 'chartLine',
},
{
id: `table`,
Expand All @@ -31,7 +31,7 @@ const viewTypeOptions: EuiButtonGroupOptionProps[] = [
defaultMessage="Table"
/>
),
iconType: 'visTable',
iconType: 'table',
},
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const AttachmentsMenu = ({
color="text"
display="base"
isSelected={isActionMenuOpen}
iconType="boxesHorizontal"
iconType="boxesVertical"
onClick={() => setIsActionMenuOpen(!isActionMenuOpen)}
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export const CategoryTable: FC<Props> = ({
defaultMessage: 'Expand',
})
}
iconType={itemIdToExpandedRowMap[item.key] ? 'arrowDown' : 'arrowRight'}
iconType={itemIdToExpandedRowMap[item.key] ? 'chevronSingleDown' : 'chevronSingleRight'}
/>
),
'data-test-subj': 'aiopsLogPatternsExpandRowToggle',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const OpenInDiscoverButtons: FC<{ openInDiscover: OpenInDiscover; showTex
data-test-subj="aiopsLogPatternAnalysisOpenInDiscoverIncludeButton"
size="s"
onClick={() => openFunction(QUERY_MODE.INCLUDE, true)}
iconType="plusInCircle"
iconType="plusCircle"
iconSide="left"
>
{labels.multiSelect.in}
Expand All @@ -88,7 +88,7 @@ export const OpenInDiscoverButtons: FC<{ openInDiscover: OpenInDiscover; showTex
data-test-subj="aiopsLogPatternAnalysisOpenInDiscoverExcludeButton"
size="s"
onClick={() => openFunction(QUERY_MODE.EXCLUDE, true)}
iconType="minusInCircle"
iconType="minusCircle"
iconSide="left"
>
{labels.multiSelect.out}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function useActions(
{
name: openInDiscoverLabels.singleSelect.in,
description: openInDiscoverLabels.singleSelect.in,
icon: 'plusInCircle',
icon: 'plusCircle',
type: 'icon',
'data-test-subj': 'aiopsLogPatternsActionFilterInButton',
onClick: (category) =>
Expand All @@ -63,7 +63,7 @@ export function useActions(
{
name: openInDiscoverLabels.singleSelect.out,
description: openInDiscoverLabels.singleSelect.out,
icon: 'minusInCircle',
icon: 'minusCircle',
type: 'icon',
'data-test-subj': 'aiopsLogPatternsActionFilterOutButton',
onClick: (category) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const EmbeddableMenu: FC<Props> = ({
<EuiButtonIcon
data-test-subj="aiopsEmbeddableMenuOptionsButton"
size="s"
iconType="controlsHorizontal"
iconType="controls"
onClick={() => togglePopover()}
// @ts-expect-error - subdued does work
color="subdued"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ export const SelectedPatterns: FC<{ openInDiscover: OpenInDiscover }> = ({ openI
items={[
<EuiContextMenuItem
key="in"
icon="plusInCircle"
icon="plusCircle"
onClick={() => openFunction(QUERY_MODE.INCLUDE, false)}
>
{labels.multiSelect.in}
</EuiContextMenuItem>,
<EuiContextMenuItem
key="out"
icon="minusInCircle"
icon="minusCircle"
onClick={() => openFunction(QUERY_MODE.EXCLUDE, false)}
>
{labels.multiSelect.out}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const SamplingMenu: FC<Props> = ({ randomSampler, reload }) => {
color="text"
iconSide="right"
isSelected={showSamplingOptionsPopover}
iconType={showSamplingOptionsPopover ? 'arrowUp' : 'arrowDown'}
iconType={showSamplingOptionsPopover ? 'chevronSingleUp' : 'chevronSingleDown'}
>
{buttonText}
</EuiButton>
Expand Down
Loading
Loading