Skip to content

Commit 0bc604b

Browse files
authored
refactor: icon update (#1017)
* refactor: don't use JS if it's a simple key/value topic * refactor: added new icons config * refactor: updated DB UI Base to the prerelease * refactor(docs): added further missing icons * Update package.json * refactor: updated package lock file * docs: added icons * refactor: added relevant icon * fix: corrected glyphs * refactor: updated DB UI Base package * refactor: updated font definitions * refactor: updated package * fix: corrected glyph codes * refactor: corrected package * chore: this icon has been reintroduced
1 parent ea1baa4 commit 0bc604b

16 files changed

+136
-24
lines changed

source/_patterns/00-base/icons/_icons.font-faces.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
font-display: block;
1010
font-family: "missing-icons";
1111
src:
12-
url("#{$icons-path}functional/fonts/icons-empty.woff2?4r2098")
12+
url("#{$icons-path}functional/fonts/icons-empty.woff2?4r2100")
1313
format("woff2"),
14-
url("#{$icons-path}functional/fonts/icons-empty.woff?4r2098")
14+
url("#{$icons-path}functional/fonts/icons-empty.woff?4r2100")
1515
format("woff");
1616
}
1717

@@ -28,9 +28,9 @@
2828
font-style: normal;
2929
font-weight: normal;
3030
src:
31-
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff2?4r2098")
31+
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff2?4r2100")
3232
format("woff2"),
33-
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff?4r2098")
33+
url("#{$icons-path}functional/fonts/#{$icon-font-family+ "-" + $icon-category}.woff?4r2100")
3434
format("woff");
3535

3636
unicode-range: string.unquote($icon-font-unicodes);

source/_patterns/00-base/icons/_icons.variables.scss

+22-16
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,7 @@ $icon-glyphs-personenverkehr: (
298298
// seat-priority has been deprecated in favour of the new name traveler-with-reduced-mobility
299299
// TODO: remove with the next major release
300300
"seat-priority": "\e1162",
301-
// priority has been deprecated in favour of the new name traveler-with-reduced-mobility
302-
// TODO: remove with the next major release
303-
"priority": "\e1162",
301+
"priority": "\e1312",
304302
"traveler-with-reduced-mobility": "\e1162",
305303
"standing-room": "\e1160",
306304
"mixed-class": "\e1161",
@@ -325,7 +323,15 @@ $icon-glyphs-personenverkehr: (
325323
"transportation-underground": "\e90e",
326324
"transportation-walking": "\e90f",
327325
"ev-bus": "\e928",
328-
"ev-train": "\e929"
326+
"ev-train": "\e929",
327+
"artificial-intelligence": "\e1304",
328+
"document-cross": "\e1305",
329+
"euro-sign": "\e1306",
330+
"id-card": "\e1307",
331+
"pulse-wave": "\e1308",
332+
"clapperboard": "\e1309",
333+
"iceportal": "\e1310",
334+
"regioguide": "\e1311"
329335
) !default;
330336

331337
$icon-font-families-personenverkehr: (
@@ -340,10 +346,10 @@ $icon-font-families-personenverkehr: (
340346
),
341347
20: (
342348
"action": (
343-
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295"
349+
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295,U+e1304-e1308"
344350
),
345351
"av": (
346-
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1261-e1259,U+e1262,U+e1296-e1297"
352+
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1261-e1259,U+e1262,U+e1296-e1297,U+e1309"
347353
),
348354
"brand": (
349355
"U+e1152"
@@ -358,7 +364,7 @@ $icon-font-families-personenverkehr: (
358364
"U+e1163,U+e1175-e1176,U+e1266-e1272"
359365
),
360366
"feature": (
361-
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299"
367+
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299,U+e1310,U+e1311"
362368
),
363369
"food": (
364370
"U+1F37D,U+e1101,U+e1237,U+e1279"
@@ -379,7 +385,7 @@ $icon-font-families-personenverkehr: (
379385
"U+26A0,U+e1123,U+e1126-e1127"
380386
),
381387
"seat": (
382-
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285"
388+
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285,U+e1312"
383389
),
384390
"ticket": (
385391
"U+1F907,U+2714,U+e1131-e1132,U+e1134,U+e1136-e1146,U+e1184-e1186,U+e1218,U+e1286-e1287,U+e1298"
@@ -390,10 +396,10 @@ $icon-font-families-personenverkehr: (
390396
),
391397
24: (
392398
"action": (
393-
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295"
399+
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295,U+e1304-e1308"
394400
),
395401
"av": (
396-
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1259-e1262,U+e1296-e1297"
402+
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1259-e1262,U+e1296-e1297,U+e1309"
397403
),
398404
"brand": (
399405
"U+e1152"
@@ -408,7 +414,7 @@ $icon-font-families-personenverkehr: (
408414
"U+e1163,U+e1175-e1176,U+e1266-e1272"
409415
),
410416
"feature": (
411-
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299"
417+
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299,U+e1310,U+e1311"
412418
),
413419
"food": (
414420
"U+1F37D,U+e1101,U+e1237,U+e1279"
@@ -429,7 +435,7 @@ $icon-font-families-personenverkehr: (
429435
"U+26A0,U+e1123-e1127"
430436
),
431437
"seat": (
432-
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285"
438+
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285,U+e1312"
433439
),
434440
"ticket": (
435441
"U+1F907,U+2714,U+e1131-e1146,U+e1184-e1186,U+e1218,U+e1286-e1287,U+e1298"
@@ -440,10 +446,10 @@ $icon-font-families-personenverkehr: (
440446
),
441447
32: (
442448
"action": (
443-
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295"
449+
"U+002B,U+003F,U+00A7,U+1F441,U+1F5A8,U+1F5B9,U+1F5BC,U+1F5D1,U+1F6C8,U+1F6CD,U+1F6E0,U+219F,U+21A1,U+21A6,U+21C6,U+21E7,U+21E9,U+21F5,U+2212,U+2295,U+229D,U+238C,U+25F9,U+2601,U+2606,U+2661,U+2699,U+270F,U+2713,U+2B73,U+e1062,U+e1066,U+e1069-e1070,U+e1077,U+e1079,U+e1081-e1084,U+e1154-e1156,U+e1164-e1171,U+e1187,U+e1211-e1214,U+e1220-e1258,U+e1290-e1295,U+e1304-e1308"
444450
),
445451
"av": (
446-
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1259-e1262,U+e1296-e1297"
452+
"U+23ED-23EE,U+23F8,U+25A1,U+25B7,U+293A-293B,U+e1085-e1088,U+e1091,U+e1234,U+e1259-e1262,U+e1296-e1297,U+e1309"
447453
),
448454
"brand": (
449455
"U+e1152"
@@ -458,7 +464,7 @@ $icon-font-families-personenverkehr: (
458464
"U+e1163,U+e1175-e1176,U+e1266-e1272"
459465
),
460466
"feature": (
461-
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299"
467+
"U+1F6E4,U+2600,U+271A,U+2744,U+e1150,U+e1153,U+e1160,U+e1177-e1180,U+e1188,U+e1215,U+e1217,U+e1273-e1278,U+e1289,U+e1299,U+e1310,U+e1311"
462468
),
463469
"food": (
464470
"U+1F37D,U+e1101,U+e1237,U+e1279"
@@ -479,7 +485,7 @@ $icon-font-families-personenverkehr: (
479485
"U+26A0,U+e1123-e1127"
480486
),
481487
"seat": (
482-
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285"
488+
"U+1F6CF,U+e1128-e1130,U+e1162,U+e1183,U+e1189,U+e1281-e1285,U+e1312"
483489
),
484490
"ticket": (
485491
"U+1F907,U+2714,U+e1131-e1146,U+e1184-e1186,U+e1218,U+e1286-e1287,U+e1298"

source/_patterns/00-base/icons/enterprise/_icons.font-faces.scss

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
font-style: normal;
1717
font-weight: normal;
1818
src:
19-
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff2?4r2098")
19+
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff2?4r2100")
2020
format("woff2"),
21-
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff?4r2098")
21+
url("#{$icons-path}functional/fonts/#{$icon-font-family}.woff?4r2100")
2222
format("woff");
2323
}
2424
}
@@ -29,9 +29,9 @@
2929
font-style: normal;
3030
font-weight: normal;
3131
src:
32-
url("#{$icons-path}functional/fonts/#{$icon-style}.woff2?4r2098")
32+
url("#{$icons-path}functional/fonts/#{$icon-style}.woff2?4r2100")
3333
format("woff2"),
34-
url("#{$icons-path}functional/fonts/#{$icon-style}.woff?4r2098")
34+
url("#{$icons-path}functional/fonts/#{$icon-style}.woff?4r2100")
3535
format("woff");
3636
}
3737
}

source/_patterns/00-base/icons/icon-library~20-outline-action.json

+15
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
{
2727
"icon-glyph": "alert-off"
2828
},
29+
{
30+
"icon-glyph": "artificial-intelligence"
31+
},
2932
{
3033
"icon-glyph": "attachment"
3134
},
@@ -89,6 +92,9 @@
8992
{
9093
"icon-glyph": "document-check"
9194
},
95+
{
96+
"icon-glyph": "document-cross"
97+
},
9298
{
9399
"icon-glyph": "done"
94100
},
@@ -101,6 +107,9 @@
101107
{
102108
"icon-glyph": "edit"
103109
},
110+
{
111+
"icon-glyph": "euro-sign"
112+
},
104113
{
105114
"icon-glyph": "face-delighted"
106115
},
@@ -146,6 +155,9 @@
146155
{
147156
"icon-glyph": "help"
148157
},
158+
{
159+
"icon-glyph": "id-card"
160+
},
149161
{
150162
"icon-glyph": "image"
151163
},
@@ -185,6 +197,9 @@
185197
{
186198
"icon-glyph": "print"
187199
},
200+
{
201+
"icon-glyph": "pulse-wave"
202+
},
188203
{
189204
"icon-glyph": "push-button"
190205
},

source/_patterns/00-base/icons/icon-library~20-outline-av.json

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"icon-size": "20",
33
"icon-style": "outline",
44
"icons": [
5+
{
6+
"icon-glyph": "clapperboard"
7+
},
58
{
69
"icon-glyph": "fast-backward"
710
},

source/_patterns/00-base/icons/icon-library~20-outline-feature.json

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
{
2727
"icon-glyph": "hydrogen"
2828
},
29+
{
30+
"icon-glyph": "iceportal"
31+
},
2932
{
3033
"icon-glyph": "luggage-compartment"
3134
},
@@ -56,6 +59,9 @@
5659
{
5760
"icon-glyph": "power-outlet"
5861
},
62+
{
63+
"icon-glyph": "regioguide"
64+
},
5965
{
6066
"icon-glyph": "reservation"
6167
},

source/_patterns/00-base/icons/icon-library~20-outline-seat.json

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
{
2727
"icon-glyph": "parent-child-compartment"
2828
},
29+
{
30+
"icon-glyph": "priority"
31+
},
2932
{
3033
"icon-glyph": "quiet-zone"
3134
},

source/_patterns/00-base/icons/icon-library~24-outline-action.json

+15
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
{
2828
"icon-glyph": "alert-off"
2929
},
30+
{
31+
"icon-glyph": "artificial-intelligence"
32+
},
3033
{
3134
"icon-glyph": "attachment"
3235
},
@@ -90,6 +93,9 @@
9093
{
9194
"icon-glyph": "document-check"
9295
},
96+
{
97+
"icon-glyph": "document-cross"
98+
},
9399
{
94100
"icon-glyph": "done"
95101
},
@@ -102,6 +108,9 @@
102108
{
103109
"icon-glyph": "edit"
104110
},
111+
{
112+
"icon-glyph": "euro-sign"
113+
},
105114
{
106115
"icon-glyph": "face-delighted"
107116
},
@@ -147,6 +156,9 @@
147156
{
148157
"icon-glyph": "help"
149158
},
159+
{
160+
"icon-glyph": "id-card"
161+
},
150162
{
151163
"icon-glyph": "image"
152164
},
@@ -186,6 +198,9 @@
186198
{
187199
"icon-glyph": "print"
188200
},
201+
{
202+
"icon-glyph": "pulse-wave"
203+
},
189204
{
190205
"icon-glyph": "push-button"
191206
},

source/_patterns/00-base/icons/icon-library~24-outline-av.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"icon-style": "outline",
44
"default": true,
55
"icons": [
6+
{
7+
"icon-glyph": "clapperboard"
8+
},
69
{
710
"icon-glyph": "fast-backward"
811
},

source/_patterns/00-base/icons/icon-library~24-outline-feature.json

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
{
2828
"icon-glyph": "hydrogen"
2929
},
30+
{
31+
"icon-glyph": "iceportal"
32+
},
3033
{
3134
"icon-glyph": "luggage-compartment"
3235
},
@@ -57,6 +60,9 @@
5760
{
5861
"icon-glyph": "power-outlet"
5962
},
63+
{
64+
"icon-glyph": "regioguide"
65+
},
6066
{
6167
"icon-glyph": "reservation"
6268
},

source/_patterns/00-base/icons/icon-library~24-outline-seat.json

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
{
2828
"icon-glyph": "parent-child-compartment"
2929
},
30+
{
31+
"icon-glyph": "priority"
32+
},
3033
{
3134
"icon-glyph": "quiet-zone"
3235
},

source/_patterns/00-base/icons/icon-library~32-outline-action.json

+15
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
{
2727
"icon-glyph": "alert-off"
2828
},
29+
{
30+
"icon-glyph": "artificial-intelligence"
31+
},
2932
{
3033
"icon-glyph": "attachment"
3134
},
@@ -89,6 +92,9 @@
8992
{
9093
"icon-glyph": "document-check"
9194
},
95+
{
96+
"icon-glyph": "document-cross"
97+
},
9298
{
9399
"icon-glyph": "done"
94100
},
@@ -101,6 +107,9 @@
101107
{
102108
"icon-glyph": "edit"
103109
},
110+
{
111+
"icon-glyph": "euro-sign"
112+
},
104113
{
105114
"icon-glyph": "face-delighted"
106115
},
@@ -146,6 +155,9 @@
146155
{
147156
"icon-glyph": "help"
148157
},
158+
{
159+
"icon-glyph": "id-card"
160+
},
149161
{
150162
"icon-glyph": "image"
151163
},
@@ -185,6 +197,9 @@
185197
{
186198
"icon-glyph": "print"
187199
},
200+
{
201+
"icon-glyph": "pulse-wave"
202+
},
188203
{
189204
"icon-glyph": "push-button"
190205
},

0 commit comments

Comments
 (0)