Skip to content

Commit c2e9ba7

Browse files
authored
fix: added missing icon to the types (#1574)
* fix: added missing icon to the types #1573 * fix: added missing icon types * docs: added relevant comment * Update iconset.array.ts * Update iconset.array.ts * Update iconset.array.ts * Update iconset.array.ts * Update iconset.array.ts
1 parent 4469c38 commit c2e9ba7

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

packages/db-ui-elements-stencil/src/components/db-icon/iconset.array.ts

+36
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ export const iconsetAction: string[] = [
4848
'image',
4949
'info',
5050
'intercity-train',
51+
'steppless-entry',
52+
'ticket-subscription',
53+
'walking-fast',
5154
'key',
5255
'legal',
5356
'lightbulb',
@@ -240,6 +243,7 @@ export const iconsetSeat: string[] = [
240243
'aisle-not-available',
241244
'bed',
242245
'childrens-compartment',
246+
'couchette',
243247
'elderly',
244248
'handicapped',
245249
'parent-child-compartment',
@@ -274,11 +278,43 @@ export const iconsetTicket: string[] = [
274278
];
275279

276280
export const iconsetTransportation: string[] = [
281+
'airplane',
277282
'bicycle',
283+
'bicycle-trailer',
284+
// 'bikesharing',
285+
// 'bus-local',
286+
// 'bus-long-distance',
287+
'call-a-bike',
278288
'car',
279289
'car-sequence',
290+
'carsharing',
291+
'electric-locomotive',
292+
'electric-scooter',
293+
'ev-car',
294+
'ferry',
295+
'handcart',
296+
'ice',
280297
'ice-side-view',
298+
'local-bus',
299+
'local-train',
300+
'long-distance-bus',
301+
'rail-and-fly',
302+
'railroad-car',
303+
's-bahn',
304+
'scooter',
305+
// 'ship',
306+
'speedboat',
281307
'sprinter',
308+
'subway',
309+
'taxi',
310+
'train-and-car',
311+
// 'train-ec',
312+
// 'train-ic',
313+
// 'train-ice',
314+
// 'train-rb',
315+
// 'train-re',
316+
'tram',
317+
// 'underground',
282318
'walking'
283319
];
284320

packages/db-ui-elements-stencil/src/components/db-icon/stories/db-icon.intro.stories.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ The icon attribute is to select the icon. To see all Icons visit <a href="https:
2626

2727
The variant attribute specifies the size and style of an icon.
2828

29+
Please be aware that our icons aren't available in all variants (size and type) that we provide for configuration. In case you're missing an icon especially within any size bigger than `20`, please configure a lower size and set the icon-font-size via CSS Custom Property `--icon-font-size-before` on the `db-icon` element.
30+
2931
<Canvas>
3032
<db-icon icon="account" variant="20-outline"></db-icon>
3133
<db-icon icon="account" variant="24-outline"></db-icon>

showcase/playground-showcase/src/grapesjs/icons.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const iconset: string[] = [
1919
'filter',
2020
'generic-card',
2121
'giftcard',
22+
'steppless-entry',
23+
'ticket-subscription',
24+
'walking-fast',
2225
'heart',
2326
'heart-on',
2427
'help',

0 commit comments

Comments
 (0)