Skip to content

Commit 0e16ab5

Browse files
fix(GripVerticalIcon): Replace GripVerticalIcon with RhUiGripVerticalFillIcon (#12478)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 0b85076 commit 0e16ab5

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/react-core/src/components/DataList/DataListDragButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { css } from '@patternfly/react-styles';
22
import styles from '@patternfly/react-styles/css/components/DataList/data-list';
3-
import GripVerticalIcon from '@patternfly/react-icons/dist/esm/icons/grip-vertical-icon';
3+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
44

55
export interface DataListDragButtonProps extends React.HTMLProps<HTMLButtonElement> {
66
/** Additional classes added to the drag button */
@@ -23,7 +23,7 @@ export const DataListDragButton: React.FunctionComponent<DataListDragButtonProps
2323
{...props}
2424
>
2525
<span className={css(styles.dataListItemDraggableIcon)}>
26-
<GripVerticalIcon />
26+
<RhUiGripVerticalFillIcon />
2727
</span>
2828
</button>
2929
);

packages/react-core/src/components/DualListSelector/DualListSelectorListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { forwardRef, useContext, useRef } from 'react';
22
import styles from '@patternfly/react-styles/css/components/DualListSelector/dual-list-selector';
33
import { css } from '@patternfly/react-styles';
44
import { useSSRSafeId } from '../../helpers';
5-
import GripVerticalIcon from '@patternfly/react-icons/dist/esm/icons/grip-vertical-icon';
5+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
66
import { Button, ButtonVariant } from '../Button';
77
import { DualListSelectorListContext } from './DualListSelectorContext';
88

@@ -86,7 +86,7 @@ export const DualListSelectorListItemBase: React.FunctionComponent<DualListSelec
8686
<Button
8787
variant={ButtonVariant.plain}
8888
component="span"
89-
icon={<GripVerticalIcon style={{ verticalAlign: '-0.3em' }} />}
89+
icon={<RhUiGripVerticalFillIcon style={{ verticalAlign: '-0.3em' }} />}
9090
/>
9191
</div>
9292
)}

packages/react-core/src/deprecated/components/DualListSelector/DualListSelectorListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { forwardRef, useContext, useRef } from 'react';
22
import styles from '@patternfly/react-styles/css/components/DualListSelector/dual-list-selector';
33
import { css } from '@patternfly/react-styles';
44
import { useSSRSafeId } from '../../../helpers';
5-
import GripVerticalIcon from '@patternfly/react-icons/dist/esm/icons/grip-vertical-icon';
5+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
66
import { Button, ButtonVariant } from '../../../components/Button';
77
import { DualListSelectorListContext } from './DualListSelectorContext';
88

@@ -86,7 +86,7 @@ export const DualListSelectorListItemBase: React.FunctionComponent<DualListSelec
8686
<Button
8787
variant={ButtonVariant.plain}
8888
component="span"
89-
icon={<GripVerticalIcon style={{ verticalAlign: '-0.3em' }} />}
89+
icon={<RhUiGripVerticalFillIcon style={{ verticalAlign: '-0.3em' }} />}
9090
/>
9191
</div>
9292
)}

packages/react-table/src/components/Table/DraggableCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import GripVerticalIcon from '@patternfly/react-icons/dist/esm/icons/grip-vertical-icon';
1+
import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
22
import { Button } from '@patternfly/react-core/dist/esm/components/Button';
33

44
export interface DraggableCellProps {
@@ -23,7 +23,7 @@ export const DraggableCell: React.FunctionComponent<DraggableCellProps> = ({
2323
aria-label={ariaLabel || `Draggable row draggable button`}
2424
onClick={onClick}
2525
{...props}
26-
icon={<GripVerticalIcon />}
26+
icon={<RhUiGripVerticalFillIcon />}
2727
/>
2828
);
2929

0 commit comments

Comments
 (0)