Skip to content

Commit 58d4ad0

Browse files
fix(PficonSortCommonAscIcon): Use RhMicronsSortDownSmallToLargeIcon instead of RhUiSortDownSmallToLargeIcon
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 082288d commit 58d4ad0

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

packages/react-core/src/components/DualListSelector/examples/DualListSelector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
2020
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
2121
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
2222
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
23-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
23+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
2424
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
2525
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
2626
import { DragDropSort, DragDropContainer, Droppable as NewDroppable } from '@patternfly/react-drag-drop';

packages/react-core/src/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
2525
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
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';
28-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
28+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
2929
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
3030
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
3131

@@ -155,7 +155,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
155155
aria-label="Sort Available"
156156
key="availableSortButton"
157157
isDisabled={isDisabled}
158-
icon={<RhUiSortDownSmallToLargeIcon />}
158+
icon={<RhMicronsSortDownSmallToLargeIcon />}
159159
/>,
160160
<Dropdown
161161
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (
@@ -190,7 +190,7 @@ export const DualListSelectorComplexOptionsActionsNext: React.FunctionComponent
190190
aria-label="Sort Chosen"
191191
key="chosenSortButton"
192192
isDisabled={isDisabled}
193-
icon={<RhUiSortDownSmallToLargeIcon />}
193+
icon={<RhMicronsSortDownSmallToLargeIcon />}
194194
/>,
195195
<Dropdown
196196
toggle={(toggleRef: React.Ref<MenuToggleElement>) => (

packages/react-core/src/deprecated/components/DualListSelector/examples/DualListSelector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
3333
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
3434
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
3535
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
36-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
36+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
3737
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
3838

3939
## Examples

packages/react-core/src/deprecated/components/DualListSelector/examples/DualListSelectorComplexOptionsActions.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Fragment, useState } from 'react';
22
import { Button, ButtonVariant, Checkbox } from '@patternfly/react-core';
33
import { DualListSelector as DLSDeprecated } from '@patternfly/react-core/deprecated';
4-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
4+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
55

66
export const DualListSelectorComplexOptionsActions: React.FunctionComponent = () => {
77
const [availableOptions, setAvailableOptions] = useState<React.ReactNode[]>([
@@ -47,7 +47,7 @@ export const DualListSelectorComplexOptionsActions: React.FunctionComponent = ()
4747
aria-label="Sort available options"
4848
key="availableSortButton"
4949
isDisabled={isDisabled}
50-
icon={<RhUiSortDownSmallToLargeIcon />}
50+
icon={<RhMicronsSortDownSmallToLargeIcon />}
5151
/>
5252
];
5353

@@ -58,7 +58,7 @@ export const DualListSelectorComplexOptionsActions: React.FunctionComponent = ()
5858
aria-label="Sort chosen options"
5959
key="chosenSortButton"
6060
isDisabled={isDisabled}
61-
icon={<RhUiSortDownSmallToLargeIcon />}
61+
icon={<RhMicronsSortDownSmallToLargeIcon />}
6262
/>
6363
];
6464

packages/react-core/src/deprecated/components/DualListSelector/examples/DualListSelectorComposable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import RhMicronsDoubleCaretLeftIcon from '@patternfly/react-icons/dist/esm/icons
2121
import AngleLeftIcon from '@patternfly/react-icons/dist/esm/icons/angle-left-icon';
2222
import AngleDoubleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-double-right-icon';
2323
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
24-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
24+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
2525
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
2626

2727
interface Option {
@@ -137,7 +137,7 @@ export const DualListSelectorComposable: React.FunctionComponent = () => {
137137
onClick={onSort}
138138
aria-label="Sort"
139139
key="sortButton"
140-
icon={<RhUiSortDownSmallToLargeIcon />}
140+
icon={<RhMicronsSortDownSmallToLargeIcon />}
141141
/>
142142
);
143143
};

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 RhUiSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-large-to-small-icon';
29-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
29+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
3030
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
3131
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-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' ? <RhUiSortDownSmallToLargeIcon /> : <RhUiSortDownLargeToSmallIcon />;
136+
return direction === 'asc' ? <RhMicronsSortDownSmallToLargeIcon /> : <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
@@ -6,7 +6,7 @@ import {
66
} from '@patternfly/react-core/deprecated';
77
import RhUiSortDownLargeToSmallIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-large-to-small-icon';
88
import RhUiEllipsisVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-ellipsis-vertical-fill-icon';
9-
import RhUiSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-sort-down-small-to-large-icon';
9+
import RhMicronsSortDownSmallToLargeIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-sort-down-small-to-large-icon';
1010

1111
interface DualListSelectorState {
1212
availableOptions: React.ReactNode[];
@@ -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 ? <RhUiSortDownLargeToSmallIcon /> : <RhUiSortDownSmallToLargeIcon />}
129+
icon={this.state.availableDescending ? <RhUiSortDownLargeToSmallIcon /> : <RhMicronsSortDownSmallToLargeIcon />}
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 ? <RhUiSortDownLargeToSmallIcon /> :<RhUiSortDownSmallToLargeIcon />}
156+
icon={this.state.chosenDescending ? <RhUiSortDownLargeToSmallIcon /> : <RhMicronsSortDownSmallToLargeIcon />}
157157
/>,
158158
<Dropdown
159159
isOpen={this.state.isChosenKebabOpen}

0 commit comments

Comments
 (0)