Skip to content

Commit 3ff492c

Browse files
fix(TimesCircleIcon): Replace TimesCircleIcon with RhUiCloseCircleFillIcon
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e4e15d3 commit 3ff492c

10 files changed

Lines changed: 20 additions & 20 deletions

File tree

packages/react-core/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ExpandableSection } from '../ExpandableSection';
55
import { useSSRSafeId } from '../../helpers';
66
import RhUiInProgressIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-in-progress-icon';
77
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
8-
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
8+
import RhUiCloseCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-close-circle-fill-icon';
99

1010
/** Acts as an expandable container for all uploaded file statuses.
1111
* An optional text and/or icon can also be passed into this sub-component.
@@ -41,7 +41,7 @@ export const MultipleFileUploadStatus: React.FunctionComponent<MultipleFileUploa
4141
useEffect(() => {
4242
switch (statusToggleIcon) {
4343
case 'danger':
44-
setIcon(<TimesCircleIcon />);
44+
setIcon(<RhUiCloseCircleFillIcon />);
4545
break;
4646
case 'success':
4747
setIcon(<RhUiCheckCircleFillIcon />);

packages/react-core/src/demos/PrimaryDetail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-u
1212
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
1313
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
1414
import RhMicronsSearchIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-search-icon';
15-
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
15+
import RhUiCloseCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-close-circle-fill-icon';
1616
import pfIcon from './assets/pf-logo-small.svg';
1717
import activeMQIcon from './assets/activemq-core_200x150.png';
1818
import avroIcon from './assets/camel-avro_200x150.png';

packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-u
4646
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
4747
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
4848
import RhMicronsSearchIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-search-icon';
49-
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
49+
import RhUiCloseCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-close-circle-fill-icon';
5050

5151
interface SelectOptionType extends Omit<SelectOptionProps, 'children'> {
5252
label: string;
@@ -293,7 +293,7 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
293293
<RhUiWarningFillIcon /> 5
294294
</FlexItem>
295295
<FlexItem>
296-
<TimesCircleIcon /> 5
296+
<RhUiCloseCircleFillIcon /> 5
297297
</FlexItem>
298298
<FlexItem>Updated 2 days ago</FlexItem>
299299
</Flex>
@@ -390,7 +390,7 @@ export const PrimaryDetailContentPadding: React.FunctionComponent = () => {
390390
<RhUiWarningFillIcon /> 5
391391
</FlexItem>
392392
<FlexItem>
393-
<TimesCircleIcon /> 5
393+
<RhUiCloseCircleFillIcon /> 5
394394
</FlexItem>
395395
<FlexItem>Updated 2 days ago</FlexItem>
396396
</Flex>

packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-u
4646
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
4747
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
4848
import RhMicronsSearchIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-search-icon';
49-
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
49+
import RhUiCloseCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-close-circle-fill-icon';
5050

5151
interface SelectOptionType extends Omit<SelectOptionProps, 'children'> {
5252
label: string;
@@ -293,7 +293,7 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
293293
<RhUiWarningFillIcon /> 5
294294
</FlexItem>
295295
<FlexItem>
296-
<TimesCircleIcon /> 5
296+
<RhUiCloseCircleFillIcon /> 5
297297
</FlexItem>
298298
<FlexItem>Updated 2 days ago</FlexItem>
299299
</Flex>
@@ -390,7 +390,7 @@ export const PrimaryDetailFullPage: React.FunctionComponent = () => {
390390
<RhUiWarningFillIcon /> 5
391391
</FlexItem>
392392
<FlexItem>
393-
<TimesCircleIcon /> 5
393+
<RhUiCloseCircleFillIcon /> 5
394394
</FlexItem>
395395
<FlexItem>Updated 2 days ago</FlexItem>
396396
</Flex>

packages/react-core/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-u
4646
import RhUiWarningFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-warning-fill-icon';
4747
import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
4848
import RhMicronsSearchIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-search-icon';
49-
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
49+
import RhUiCloseCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-close-circle-fill-icon';
5050

5151
interface SelectOptionType extends Omit<SelectOptionProps, 'children'> {
5252
label: string;
@@ -293,7 +293,7 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
293293
<RhUiWarningFillIcon /> 5
294294
</FlexItem>
295295
<FlexItem>
296-
<TimesCircleIcon /> 5
296+
<RhUiCloseCircleFillIcon /> 5
297297
</FlexItem>
298298
<FlexItem>Updated 2 days ago</FlexItem>
299299
</Flex>
@@ -390,7 +390,7 @@ export const PrimaryDetailInlineModifier: React.FunctionComponent = () => {
390390
<RhUiWarningFillIcon /> 5
391391
</FlexItem>
392392
<FlexItem>
393-
<TimesCircleIcon /> 5
393+
<RhUiCloseCircleFillIcon /> 5
394394
</FlexItem>
395395
<FlexItem>Updated 2 days ago</FlexItem>
396396
</Flex>

packages/react-templates/src/components/Dropdown/__tests__/__snapshots__/SimpleDropdown.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exports[`Dropdown items Matches snapshot 1`] = `
3131
width="1em"
3232
>
3333
<path
34-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
34+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
3535
/>
3636
</svg>
3737
</span>
@@ -71,7 +71,7 @@ exports[`Dropdown toggle Matches snapshot 1`] = `
7171
width="1em"
7272
>
7373
<path
74-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
74+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
7575
/>
7676
</svg>
7777
</span>

packages/react-templates/src/components/Select/__tests__/__snapshots__/CheckboxSelectSnapshots.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports[`checkbox select with no props snapshot 1`] = `
3232
width="1em"
3333
>
3434
<path
35-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
35+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
3636
/>
3737
</svg>
3838
</span>
@@ -73,7 +73,7 @@ exports[`opened checkbox select snapshot 1`] = `
7373
width="1em"
7474
>
7575
<path
76-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
76+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
7777
/>
7878
</svg>
7979
</span>

packages/react-templates/src/components/Select/__tests__/__snapshots__/MultiTypeaheadSelect.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ exports[`MultiTypeaheadSelect Matches snapshot 1`] = `
8585
width="1em"
8686
>
8787
<path
88-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
88+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
8989
/>
9090
</svg>
9191
</span>

packages/react-templates/src/components/Select/__tests__/__snapshots__/SimpleSelect.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports[`Matches snapshot 1`] = `
3232
width="1em"
3333
>
3434
<path
35-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
35+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
3636
/>
3737
</svg>
3838
</span>
@@ -73,7 +73,7 @@ exports[`checkbox select with no props snapshot 1`] = `
7373
width="1em"
7474
>
7575
<path
76-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
76+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
7777
/>
7878
</svg>
7979
</span>

packages/react-templates/src/components/Select/__tests__/__snapshots__/TypeaheadSelect.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ exports[`Matches snapshot 1`] = `
8585
width="1em"
8686
>
8787
<path
88-
d="m17.65 8.76-6.674 5.72a1.496 1.496 0 0 1-.976.365c-.347 0-.694-.122-.978-.366l-6.673-5.72A1 1 0 0 1 3 7h14a1 1 0 0 1 .65 1.76Z"
88+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
8989
/>
9090
</svg>
9191
</span>

0 commit comments

Comments
 (0)