Skip to content

Commit

Permalink
fix(CountryFlag): include flag icons in repo instead of via dependency (
Browse files Browse the repository at this point in the history
#4324)

There are a couple of projects which has had issues with the flag-icons
package.
Where their bundler did change the path from
'flag-icons/flags/1x1/xx.svg' to './flag-icons/flags/1x1/xx.svg'
so it did add a './' in front of the path, which is not a valid path.
Therefore we include these SVGs in our assets folder, and point to them
with a valid path.

- Fixes #4307
- PR
[Preview](https://eufemia-git-fix-flags-icon-module-eufemia.vercel.app/uilib/components/country-flag/)
  • Loading branch information
tujoworker authored Nov 22, 2024
1 parent f981b42 commit 69dc60a
Show file tree
Hide file tree
Showing 274 changed files with 11,079 additions and 281 deletions.
148 changes: 148 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ae.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/af.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/al.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/am.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/aq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions packages/dnb-eufemia/assets/flags/1x1/ar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 69dc60a

Please sign in to comment.