Skip to content

Commit a76f626

Browse files
committed
switch arrow direction for asc/desc sort icon
1 parent 3504352 commit a76f626

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ This is a major release, and it might be not compatible with your current usage
125125
- `intent` display was aligned with other components, `intent="primary"` is now `intent="accent"`, in most cases it may be better to use `affirmative={true}` or `elevated={true}` instead of primary/accent intent
126126
- `<Spinner />`
127127
- `intent` display was aligned with other components, `intent="primary"` is now `intent="accent"`, in most cases it may be better to use `elevated={true}` instead of using intent
128+
- icons: arrow directions for `list-sortasc` and `list-sortdesc` were switched, up arrow is now used for ascending sort
128129

129130
### Deprecated
130131

src/components/Icon/canonicalIconNames.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const canonicalIcons = {
2828
"artefact-task-multitablemerge": icons.JoinFull,
2929
"artefact-task-jsonparseroperator": icons.JsonReference,
3030
"artefact-task-searchaddresses": icons.SearchLocate,
31-
"artefact-task-sparkfunction": icons.Flash,
31+
"artefact-task-sparkfunction": icons.Flash,
3232
"artefact-task-eccencadataplatformgraphstorefileuploadoperator": icons.Upload,
3333
"artefact-task-xsltoperator": icons.TransformCode,
3434
"artefact-task-distinctby": icons.Filter,
@@ -106,8 +106,8 @@ const canonicalIcons = {
106106
"item-hidedetails": icons.ViewOff,
107107
"item-image": icons.Image,
108108

109-
"list-sortasc": icons.ArrowDown,
110-
"list-sortdesc": icons.ArrowUp,
109+
"list-sortasc": icons.ArrowUp,
110+
"list-sortdesc": icons.ArrowDown,
111111
"list-sort": icons.ArrowsVertical,
112112

113113
"module-accesscontrol": icons.UserAdmin,

0 commit comments

Comments
 (0)