Skip to content

Commit 6082b18

Browse files
authored
chore: Add announcement and light-dark icons (#4362)
1 parent 3dcd7e0 commit 6082b18

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3033,6 +3033,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
30333033
"angle-right",
30343034
"angle-up",
30353035
"angle-down",
3036+
"announcement",
30363037
"arrow-left",
30373038
"arrow-right",
30383039
"arrow-up",
@@ -3081,6 +3082,7 @@ Instead, use \`onSelect\` in combination with the \`onChange\` handler only as a
30813082
"heart-filled",
30823083
"insert-row",
30833084
"keyboard",
3085+
"light-dark",
30843086
"list-view",
30853087
"location-pin",
30863088
"lock-private",
@@ -5333,6 +5335,7 @@ This property is ignored if you use a predefined icon or if you set your custom
53335335
"angle-right",
53345336
"angle-up",
53355337
"angle-down",
5338+
"announcement",
53365339
"arrow-left",
53375340
"arrow-right",
53385341
"arrow-up",
@@ -5381,6 +5384,7 @@ This property is ignored if you use a predefined icon or if you set your custom
53815384
"heart-filled",
53825385
"insert-row",
53835386
"keyboard",
5387+
"light-dark",
53845388
"list-view",
53855389
"location-pin",
53865390
"lock-private",
@@ -6129,6 +6133,7 @@ The main action also supports the following properties of the [button](/componen
61296133
"angle-right",
61306134
"angle-up",
61316135
"angle-down",
6136+
"announcement",
61326137
"arrow-left",
61336138
"arrow-right",
61346139
"arrow-up",
@@ -6177,6 +6182,7 @@ The main action also supports the following properties of the [button](/componen
61776182
"heart-filled",
61786183
"insert-row",
61796184
"keyboard",
6185+
"light-dark",
61806186
"list-view",
61816187
"location-pin",
61826188
"lock-private",
@@ -14141,6 +14147,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1414114147
"angle-right",
1414214148
"angle-up",
1414314149
"angle-down",
14150+
"announcement",
1414414151
"arrow-left",
1414514152
"arrow-right",
1414614153
"arrow-up",
@@ -14189,6 +14196,7 @@ use the \`id\` attribute, consider setting it on a parent element instead.",
1418914196
"heart-filled",
1419014197
"insert-row",
1419114198
"keyboard",
14199+
"light-dark",
1419214200
"list-view",
1419314201
"location-pin",
1419414202
"lock-private",
@@ -14424,6 +14432,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1442414432
"optional": true,
1442514433
"type": "React.ReactNode",
1442614434
},
14435+
{
14436+
"name": "announcement",
14437+
"optional": true,
14438+
"type": "React.ReactNode",
14439+
},
1442714440
{
1442814441
"name": "arrow-down",
1442914442
"optional": true,
@@ -14724,6 +14737,11 @@ The same applies to switching icons in the same configuration (for example, \`{'
1472414737
"optional": true,
1472514738
"type": "React.ReactNode",
1472614739
},
14740+
{
14741+
"name": "light-dark",
14742+
"optional": true,
14743+
"type": "React.ReactNode",
14744+
},
1472714745
{
1472814746
"name": "list-view",
1472914747
"optional": true,
@@ -19806,6 +19824,7 @@ This property is ignored if you use a predefined icon or if you set your custom
1980619824
"angle-right",
1980719825
"angle-up",
1980819826
"angle-down",
19827+
"announcement",
1980919828
"arrow-left",
1981019829
"arrow-right",
1981119830
"arrow-up",
@@ -19854,6 +19873,7 @@ This property is ignored if you use a predefined icon or if you set your custom
1985419873
"heart-filled",
1985519874
"insert-row",
1985619875
"keyboard",
19876+
"light-dark",
1985719877
"list-view",
1985819878
"location-pin",
1985919879
"lock-private",
@@ -23189,6 +23209,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2318923209
"angle-right",
2319023210
"angle-up",
2319123211
"angle-down",
23212+
"announcement",
2319223213
"arrow-left",
2319323214
"arrow-right",
2319423215
"arrow-up",
@@ -23237,6 +23258,7 @@ The event \`detail\` contains the current \`selectedOption\`.",
2323723258
"heart-filled",
2323823259
"insert-row",
2323923260
"keyboard",
23261+
"light-dark",
2324023262
"list-view",
2324123263
"location-pin",
2324223264
"lock-private",
@@ -23804,6 +23826,7 @@ If you want to clear the selection, use \`null\`.",
2380423826
"angle-right",
2380523827
"angle-up",
2380623828
"angle-down",
23829+
"announcement",
2380723830
"arrow-left",
2380823831
"arrow-right",
2380923832
"arrow-up",
@@ -23852,6 +23875,7 @@ If you want to clear the selection, use \`null\`.",
2385223875
"heart-filled",
2385323876
"insert-row",
2385423877
"keyboard",
23878+
"light-dark",
2385523879
"list-view",
2385623880
"location-pin",
2385723881
"lock-private",
@@ -29303,6 +29327,7 @@ If an href is provided, it opens the link in a new tab.",
2930329327
"angle-right",
2930429328
"angle-up",
2930529329
"angle-down",
29330+
"announcement",
2930629331
"arrow-left",
2930729332
"arrow-right",
2930829333
"arrow-up",
@@ -29351,6 +29376,7 @@ If an href is provided, it opens the link in a new tab.",
2935129376
"heart-filled",
2935229377
"insert-row",
2935329378
"keyboard",
29379+
"light-dark",
2935429380
"list-view",
2935529381
"location-pin",
2935629382
"lock-private",
@@ -29510,6 +29536,7 @@ We do not support using this attribute to apply custom styling.",
2951029536
"angle-right",
2951129537
"angle-up",
2951229538
"angle-down",
29539+
"announcement",
2951329540
"arrow-left",
2951429541
"arrow-right",
2951529542
"arrow-up",
@@ -29558,6 +29585,7 @@ We do not support using this attribute to apply custom styling.",
2955829585
"heart-filled",
2955929586
"insert-row",
2956029587
"keyboard",
29588+
"light-dark",
2956129589
"list-view",
2956229590
"location-pin",
2956329591
"lock-private",

src/icon-provider/interfaces.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type BuiltInIconName =
1717
| 'angle-right'
1818
| 'angle-up'
1919
| 'angle-down'
20+
| 'announcement'
2021
| 'arrow-left'
2122
| 'arrow-right'
2223
| 'arrow-up'
@@ -77,6 +78,7 @@ export type BuiltInIconName =
7778
| 'insert-row'
7879
| 'key'
7980
| 'keyboard'
81+
| 'light-dark'
8082
| 'list-view'
8183
| 'location-pin'
8284
| 'lock-private'

src/icon/icons/announcement.svg

Lines changed: 6 additions & 0 deletions
Loading

src/icon/icons/light-dark.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)