Skip to content

Commit 3e2e96d

Browse files
authored
fix: Rename chart icon to bar-chart (#5257)
1 parent 51ed2e1 commit 3e2e96d

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎src/__tests__/snapshot-tests/__snapshots__/documenter.test.ts.snap‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3360,6 +3360,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
33603360
"audio-half",
33613361
"audio-off",
33623362
"backward-10-seconds",
3363+
"bar-chart",
33633364
"bug",
33643365
"call",
33653366
"caret-down-filled",
@@ -3368,7 +3369,6 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
33683369
"caret-right-filled",
33693370
"caret-up-filled",
33703371
"caret-up",
3371-
"chart",
33723372
"check",
33733373
"contact",
33743374
"closed-caption",
@@ -5856,6 +5856,7 @@ This property is ignored if you use a predefined icon or if you set your custom
58565856
"audio-half",
58575857
"audio-off",
58585858
"backward-10-seconds",
5859+
"bar-chart",
58595860
"bug",
58605861
"call",
58615862
"caret-down-filled",
@@ -5864,7 +5865,6 @@ This property is ignored if you use a predefined icon or if you set your custom
58645865
"caret-right-filled",
58655866
"caret-up-filled",
58665867
"caret-up",
5867-
"chart",
58685868
"check",
58695869
"contact",
58705870
"closed-caption",
@@ -6823,6 +6823,7 @@ Defaults to \`ellipsis\`. Applies to the \`icon\` and \`inline-icon\` variants o
68236823
"audio-half",
68246824
"audio-off",
68256825
"backward-10-seconds",
6826+
"bar-chart",
68266827
"bug",
68276828
"call",
68286829
"caret-down-filled",
@@ -6831,7 +6832,6 @@ Defaults to \`ellipsis\`. Applies to the \`icon\` and \`inline-icon\` variants o
68316832
"caret-right-filled",
68326833
"caret-up-filled",
68336834
"caret-up",
6834-
"chart",
68356835
"check",
68366836
"contact",
68376837
"closed-caption",
@@ -7125,6 +7125,7 @@ The main action also supports the following properties of the [button](/componen
71257125
"audio-half",
71267126
"audio-off",
71277127
"backward-10-seconds",
7128+
"bar-chart",
71287129
"bug",
71297130
"call",
71307131
"caret-down-filled",
@@ -7133,7 +7134,6 @@ The main action also supports the following properties of the [button](/componen
71337134
"caret-right-filled",
71347135
"caret-up-filled",
71357136
"caret-up",
7136-
"chart",
71377137
"check",
71387138
"contact",
71397139
"closed-caption",
@@ -11137,6 +11137,7 @@ exports[`Components definition for control-group matches the snapshot: control-g
1113711137
"audio-half",
1113811138
"audio-off",
1113911139
"backward-10-seconds",
11140+
"bar-chart",
1114011141
"bug",
1114111142
"call",
1114211143
"caret-down-filled",
@@ -11145,7 +11146,6 @@ exports[`Components definition for control-group matches the snapshot: control-g
1114511146
"caret-right-filled",
1114611147
"caret-up-filled",
1114711148
"caret-up",
11148-
"chart",
1114911149
"check",
1115011150
"contact",
1115111151
"closed-caption",
@@ -13326,6 +13326,7 @@ Do not use this property when using drawers inside app layout.",
1332613326
"audio-half",
1332713327
"audio-off",
1332813328
"backward-10-seconds",
13329+
"bar-chart",
1332913330
"bug",
1333013331
"call",
1333113332
"caret-down-filled",
@@ -13334,7 +13335,6 @@ Do not use this property when using drawers inside app layout.",
1333413335
"caret-right-filled",
1333513336
"caret-up-filled",
1333613337
"caret-up",
13337-
"chart",
1333813338
"check",
1333913339
"contact",
1334013340
"closed-caption",
@@ -16561,6 +16561,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1656116561
"audio-half",
1656216562
"audio-off",
1656316563
"backward-10-seconds",
16564+
"bar-chart",
1656416565
"bug",
1656516566
"call",
1656616567
"caret-down-filled",
@@ -16569,7 +16570,6 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1656916570
"caret-right-filled",
1657016571
"caret-up-filled",
1657116572
"caret-up",
16572-
"chart",
1657316573
"check",
1657416574
"contact",
1657516575
"closed-caption",
@@ -17021,6 +17021,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1702117021
"optional": true,
1702217022
"type": "React.ReactNode",
1702317023
},
17024+
{
17025+
"name": "bar-chart",
17026+
"optional": true,
17027+
"type": "React.ReactNode",
17028+
},
1702417029
{
1702517030
"name": "bug",
1702617031
"optional": true,
@@ -17066,11 +17071,6 @@ The same applies to switching icons in the same configuration (for example, \`{'
1706617071
"optional": true,
1706717072
"type": "React.ReactNode",
1706817073
},
17069-
{
17070-
"name": "chart",
17071-
"optional": true,
17072-
"type": "React.ReactNode",
17073-
},
1707417074
{
1707517075
"name": "check",
1707617076
"optional": true,
@@ -22937,6 +22937,7 @@ Requires React 18.",
2293722937
"audio-half",
2293822938
"audio-off",
2293922939
"backward-10-seconds",
22940+
"bar-chart",
2294022941
"bug",
2294122942
"call",
2294222943
"caret-down-filled",
@@ -22945,7 +22946,6 @@ Requires React 18.",
2294522946
"caret-right-filled",
2294622947
"caret-up-filled",
2294722948
"caret-up",
22948-
"chart",
2294922949
"check",
2295022950
"contact",
2295122951
"closed-caption",
@@ -23312,6 +23312,7 @@ This property is ignored if you use a predefined icon or if you set your custom
2331223312
"audio-half",
2331323313
"audio-off",
2331423314
"backward-10-seconds",
23315+
"bar-chart",
2331523316
"bug",
2331623317
"call",
2331723318
"caret-down-filled",
@@ -23320,7 +23321,6 @@ This property is ignored if you use a predefined icon or if you set your custom
2332023321
"caret-right-filled",
2332123322
"caret-up-filled",
2332223323
"caret-up",
23323-
"chart",
2332423324
"check",
2332523325
"contact",
2332623326
"closed-caption",
@@ -26933,6 +26933,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2693326933
"audio-half",
2693426934
"audio-off",
2693526935
"backward-10-seconds",
26936+
"bar-chart",
2693626937
"bug",
2693726938
"call",
2693826939
"caret-down-filled",
@@ -26941,7 +26942,6 @@ The event \`detail\` contains the current \`selectedOption\`.",
2694126942
"caret-right-filled",
2694226943
"caret-up-filled",
2694326944
"caret-up",
26944-
"chart",
2694526945
"check",
2694626946
"contact",
2694726947
"closed-caption",
@@ -27623,6 +27623,7 @@ If you want to clear the selection, use \`null\`.",
2762327623
"audio-half",
2762427624
"audio-off",
2762527625
"backward-10-seconds",
27626+
"bar-chart",
2762627627
"bug",
2762727628
"call",
2762827629
"caret-down-filled",
@@ -27631,7 +27632,6 @@ If you want to clear the selection, use \`null\`.",
2763127632
"caret-right-filled",
2763227633
"caret-up-filled",
2763327634
"caret-up",
27634-
"chart",
2763527635
"check",
2763627636
"contact",
2763727637
"closed-caption",
@@ -34016,6 +34016,7 @@ If an href is provided, it opens the link in a new tab.",
3401634016
"audio-half",
3401734017
"audio-off",
3401834018
"backward-10-seconds",
34019+
"bar-chart",
3401934020
"bug",
3402034021
"call",
3402134022
"caret-down-filled",
@@ -34024,7 +34025,6 @@ If an href is provided, it opens the link in a new tab.",
3402434025
"caret-right-filled",
3402534026
"caret-up-filled",
3402634027
"caret-up",
34027-
"chart",
3402834028
"check",
3402934029
"contact",
3403034030
"closed-caption",
@@ -34241,6 +34241,7 @@ operations performed directly on the native element may bypass the built-in comp
3424134241
"audio-half",
3424234242
"audio-off",
3424334243
"backward-10-seconds",
34244+
"bar-chart",
3424434245
"bug",
3424534246
"call",
3424634247
"caret-down-filled",
@@ -34249,7 +34250,6 @@ operations performed directly on the native element may bypass the built-in comp
3424934250
"caret-right-filled",
3425034251
"caret-up-filled",
3425134252
"caret-up",
34252-
"chart",
3425334253
"check",
3425434254
"contact",
3425534255
"closed-caption",

‎src/icon-provider/interfaces.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export type BuiltInIconName =
2727
| 'audio-half'
2828
| 'audio-off'
2929
| 'backward-10-seconds'
30+
| 'bar-chart'
3031
| 'bug'
3132
| 'call'
3233
| 'calendar'
@@ -36,7 +37,6 @@ export type BuiltInIconName =
3637
| 'caret-right-filled'
3738
| 'caret-up-filled'
3839
| 'caret-up'
39-
| 'chart'
4040
| 'check'
4141
| 'contact'
4242
| 'close'

0 commit comments

Comments
 (0)