Skip to content

Commit

Permalink
fix(conditional-formatting): update icon set id (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gggpound authored Apr 29, 2024
1 parent 305d235 commit 81a59fd
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/sheets-conditional-formatting/src/models/icon-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@ export const iconGroup: { title: string; group: { name: string; list: string[] }
{ name: '3Arrows', list: [ICON_MAP.arrow['up-green'], ICON_MAP.arrow['right-gold'], ICON_MAP.arrow['down-red']] },
{ name: '3ArrowsGray', list: [ICON_MAP.arrow['up-gray'], ICON_MAP.arrow['right-gray'], ICON_MAP.arrow['down-gray']] },
{ name: '4Arrows', list: [ICON_MAP.arrow['up-green'], ICON_MAP.arrow['rightAndUp-gold'], ICON_MAP.arrow['rightAndDown-gold'], ICON_MAP.arrow['down-red']] },
{ name: '4ArrowsGray', list: [ICON_MAP.arrow['down-gray'], ICON_MAP.arrow['rightAndDown-gray'], ICON_MAP.arrow['rightAndUp-gray'], ICON_MAP.arrow['up-gray']] },
{ name: '4ArrowsGray', list: [ICON_MAP.arrow['up-gray'], ICON_MAP.arrow['rightAndUp-gray'], ICON_MAP.arrow['rightAndDown-gray'], ICON_MAP.arrow['down-gray']] },
{ name: '5Arrows', list: [ICON_MAP.arrow['up-green'], ICON_MAP.arrow['rightAndUp-gold'], ICON_MAP.arrow['right-gold'], ICON_MAP.arrow['rightAndDown-gold'], ICON_MAP.arrow['down-red']] },
{ name: '5ArrowsGray', list: [ICON_MAP.arrow['down-gray'], ICON_MAP.arrow['rightAndDown-gray'], ICON_MAP.arrow['right-gray'], ICON_MAP.arrow['rightAndUp-gray'], ICON_MAP.arrow['up-gray']] },
{ name: '3Triangles', list: [ICON_MAP.shape.down, ICON_MAP.shape.cross, ICON_MAP.shape.up] },

{ name: '5ArrowsGray', list: [ICON_MAP.arrow['up-gray'], ICON_MAP.arrow['rightAndUp-gray'], ICON_MAP.arrow['right-gray'], ICON_MAP.arrow['rightAndDown-gray'], ICON_MAP.arrow['up-gray']] },
{ name: '3Triangles', list: [ICON_MAP.shape.up, ICON_MAP.shape.cross, ICON_MAP.shape.down] },
],

},
{
title: 'sheet.cf.iconSet.shape',
Expand All @@ -42,7 +40,7 @@ export const iconGroup: { title: string; group: { name: string; list: string[] }
{
name: '3Signs', list: [ICON_MAP.shape['roundness-greed'], ICON_MAP.shape['triangle-gold'], ICON_MAP.shape['rhomboid-red']],
},
{ name: '3TrafficLights2', list: [ICON_MAP.shape['indicate-red'], ICON_MAP.shape['indicate-gold'], ICON_MAP.shape['indicate-greed']] },
{ name: '3TrafficLights2', list: [ICON_MAP.shape['indicate-greed'], ICON_MAP.shape['indicate-gold'], ICON_MAP.shape['indicate-red']] },
{
name: '4RedToBlack', list: [ICON_MAP.shape['roundness-red'], ICON_MAP.shape['roundness-pink'], ICON_MAP.shape['roundness-gray'], ICON_MAP.shape['roundness-black']],
},
Expand All @@ -61,7 +59,7 @@ export const iconGroup: { title: string; group: { name: string; list: string[] }
name: '3Symbols2', list: [ICON_MAP.feedback2.correct2, ICON_MAP.feedback2.warn2, ICON_MAP.feedback2.mistake2],
},
{
name: '3Flags', list: [ICON_MAP.flag['flag-red'], ICON_MAP.flag['flag-gold'], ICON_MAP.flag['flag-green']],
name: '3Flags', list: [ICON_MAP.flag['flag-green'], ICON_MAP.flag['flag-gold'], ICON_MAP.flag['flag-red']],
},

],
Expand All @@ -70,19 +68,19 @@ export const iconGroup: { title: string; group: { name: string; list: string[] }
title: 'sheet.cf.iconSet.rank',
group: [
{
name: '4Rating', list: [ICON_MAP.signal.signal100, ICON_MAP.signal.signal75, ICON_MAP.signal.signal50, ICON_MAP.signal.signal25],
name: '4Rating', list: [ICON_MAP.signal.signal25, ICON_MAP.signal.signal50, ICON_MAP.signal.signal75, ICON_MAP.signal.signal100],
},
{
name: '5Rating', list: [ICON_MAP.signal.signal100, ICON_MAP.signal.signal75, ICON_MAP.signal.signal50, ICON_MAP.signal.signal25, ICON_MAP.signal.signal0],
name: '5Rating', list: [ICON_MAP.signal.signal0, ICON_MAP.signal.signal25, ICON_MAP.signal.signal50, ICON_MAP.signal.signal75, ICON_MAP.signal.signal100],
},
{
name: '5Quarters', list: [ICON_MAP.progress.progress0, ICON_MAP.progress.progress25, ICON_MAP.progress.progress50, ICON_MAP.progress.progress75, ICON_MAP.progress.progress100],
name: '5Quarters', list: [ICON_MAP.progress.progress100, ICON_MAP.progress.progress75, ICON_MAP.progress.progress50, ICON_MAP.progress.progress25, ICON_MAP.progress.progress0],
},
{
name: '_5Felling', list: [ICON_MAP.feeling.guffaw, ICON_MAP.feeling.smile, ICON_MAP.feeling.noninductive, ICON_MAP.feeling.dissatisfied, ICON_MAP.feeling.impatient],
},
{
name: '5Boxes', list: [ICON_MAP.cell['cell-0'], ICON_MAP.cell['cell-25'], ICON_MAP.cell['cell-50'], ICON_MAP.cell['cell-75'], ICON_MAP.cell['cell-100']],
name: '5Boxes', list: [ICON_MAP.cell['cell-100'], ICON_MAP.cell['cell-75'], ICON_MAP.cell['cell-50'], ICON_MAP.cell['cell-25'], ICON_MAP.cell['cell-0']],
},
{
name: '3Stars', list: [ICON_MAP.star.starFull, ICON_MAP.star.starIncomplete, ICON_MAP.star.starEmpty],
Expand Down

0 comments on commit 81a59fd

Please sign in to comment.