We refactored our icons which might add some breaking changes to current projects: https://marketingportal.extranet.deutschebahn.com/marketingportal/Design-Anwendungen/db-ux-design-system/support/migration-guides/v0-3-0
old | new |
---|---|
swap_vertical | arrows_vertical |
swap_horizontal | arrows_horizontal |
reload | circular_arrows |
volume_off | volume_silent |
law | paragraph_mark |
user | person |
users | persons |
wc_men | toilet_men |
wc_women | toilet_women |
wc | toilets |
filter | sliders_horizontal |
warning_triangle | exclamation_mark_triangle |
visible | eye |
visibility_disabled | eye_disabled |
flip_horizontal | arrows_horizontal |
flip_vertical | arrows_vertical |
We provide a cli tool to auto migrate your source code. Use this command in your repository:
npx @db-ui/foundations@v0.4 migration --type=icon --src=./src
Please check the changes made in your codebase afterwards, as this is mainly a simple search & replace and there might be unexpected changes of similar wordings to our icon names for any other methods, or further code occurrences that don't even refer to icons.