Skip to content

Commit 61aa3e2

Browse files
fix(PficonSortCommonDescIcon): Replace PficonSortCommonDescIcon with RhUiSortDownLargeToSmallIcon (#12486)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fa56c9e commit 61aa3e2

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/react-integration/demo-app-ts/src/components/demos/DualListSelectorDemo/DualListSelectorWithActionsDemo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-ico
2626
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
2727
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
2828
import PficonSortCommonAscIcon from '@patternfly/react-icons/dist/esm/icons/pficon-sort-common-asc-icon';
29-
import PficonSortCommonDescIcon from '@patternfly/react-icons/dist/esm/icons/pficon-sort-common-desc-icon';
29+
import RhUiSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-large-to-small-icon';
3030
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
3131
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
3232

@@ -133,7 +133,7 @@ export const DualListSelectorWithActionsDemo: React.FunctionComponent = () => {
133133
return direction === 'asc' ? 'ascending' : 'descending';
134134
},
135135
getIcon(direction: SortDirection) {
136-
return direction === 'asc' ? <PficonSortCommonAscIcon /> : <PficonSortCommonDescIcon />;
136+
return direction === 'asc' ? <PficonSortCommonAscIcon /> : <RhUiSortDownLargeToSmallIcon />;
137137
}
138138
};
139139

packages/react-integration/demo-app-ts/src/components/demos/DualListSelectorDeprecatedDemo/DualListSelectorDeprecatedWithActionsDemo.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
DualListSelector as DLSDeprecated,
55
DualListSelectorProps as DLSPropsDeprecated
66
} from '@patternfly/react-core/deprecated';
7-
import PficonSortCommonDescIcon from '@patternfly/react-icons/dist/esm/icons/pficon-sort-common-desc-icon';
7+
import RhUiSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-large-to-small-icon';
88
import PficonSortCommonAscIcon from '@patternfly/react-icons/dist/esm/icons/pficon-sort-common-asc-icon';
99
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
1010

@@ -126,7 +126,7 @@ class DualListSelectorDeprecatedWithActionsDemo extends Component<DLSPropsDeprec
126126
onClick={() => this.onSort('available')}
127127
aria-label="Sort"
128128
key="availableSortButton"
129-
icon={this.state.availableDescending ? <PficonSortCommonDescIcon /> : <PficonSortCommonAscIcon />}
129+
icon={this.state.availableDescending ? <RhUiSortDownLargeToSmallIcon /> : <PficonSortCommonAscIcon />}
130130
/>,
131131
<Dropdown
132132
key="availableDropdown"
@@ -153,7 +153,7 @@ class DualListSelectorDeprecatedWithActionsDemo extends Component<DLSPropsDeprec
153153
onClick={() => this.onSort('chosen')}
154154
aria-label="Sort"
155155
key="chosenSortButton"
156-
icon={this.state.chosenDescending ? <PficonSortCommonDescIcon /> : <PficonSortCommonAscIcon />}
156+
icon={this.state.chosenDescending ? <RhUiSortDownLargeToSmallIcon /> : <PficonSortCommonAscIcon />}
157157
/>,
158158
<Dropdown
159159
isOpen={this.state.isChosenKebabOpen}

0 commit comments

Comments
 (0)