diff --git a/.build/import-flags.ts b/.build/import-flags.ts new file mode 100644 index 000000000..cd95b21e2 --- /dev/null +++ b/.build/import-flags.ts @@ -0,0 +1,147 @@ +#!/usr/bin/env node +// Imports the flags from the tabler/tabler-flags repo: the source SVGs (plain +// variant, minified with svgo), the $flag-countries list and the demo data. +// +// A flag is keyed by its ISO code in lower case (`pl`, `sh-ac`) and, when it +// has none, by its slug (`african-union`). Aliases in flags.json (Svalbard +// flies the Norwegian flag) get a copy of the artwork under their own code. +// +// Run: pnpm run import:flags +// Then: pnpm run generate:tokens — refreshes FlagCountry in shared/lib/tokens.ts +import { execFileSync } from 'node:child_process' +import { copyFileSync, existsSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join, dirname, relative } from 'node:path' +import { fileURLToPath } from 'node:url' +import { optimizeSvgDir } from './optimize-svg.js' + +const __dirname = dirname(fileURLToPath(import.meta.url)) +const repoRoot = join(__dirname, '..') +const imgDir = join(repoRoot, 'core', 'img', 'flags') +const scssFile = join(repoRoot, 'core', 'scss', '_variables.scss') +const deprecatedScssFile = join(repoRoot, 'core', 'scss', '_variables-deprecated.scss') +const dataFile = join(repoRoot, 'shared', 'data', 'flags.json') + +type FlagMeta = { name: string; category: string; iso?: string; alias?: string } +type Flag = { code: string; slug: string; name: string; category: string; iso: string | null } + +let cloneDir: string | undefined + +// In a git worktree the main checkout lives elsewhere, so also look next to it. +function mainCheckoutRoot(): string | undefined { + try { + const gitDir = execFileSync('git', ['rev-parse', '--path-format=absolute', '--git-common-dir'], { cwd: repoRoot, encoding: 'utf8' }).trim() + return dirname(gitDir) + } catch { + return undefined + } +} + +function resolveSourceDir(): string { + const mainRoot = mainCheckoutRoot() + const candidates = [process.env.TABLER_FLAGS_DIR, join(repoRoot, '..', 'tabler-flags'), mainRoot && join(mainRoot, '..', 'tabler-flags')].filter((dir): dir is string => Boolean(dir)) + for (const dir of candidates) { + if (existsSync(join(dir, 'src')) && existsSync(join(dir, 'flags.json'))) return dir + } + cloneDir = mkdtempSync(join(tmpdir(), 'tabler-flags-')) + console.log('No local checkout found, cloning tabler/tabler-flags…') + execFileSync('git', ['clone', '--depth', '1', 'https://github.com/tabler/tabler-flags.git', cloneDir], { stdio: 'inherit' }) + return cloneDir +} + +const svgNames = (dir: string) => + readdirSync(dir) + .filter((file) => file.endsWith('.svg')) + .sort() + .map((file) => file.slice(0, -'.svg'.length)) + +// Reads the `$name: (` … `);` map or list in a Sass file and returns its entries. +function readSassEntries(scss: string, name: string, file: string): string[] { + const pattern = new RegExp(`\\$${name}: \\(\\n([\\s\\S]*?)\\n\\)( !default)?;`) + const match = scss.match(pattern) + if (!match) throw new Error(`import-flags: $${name} not found in ${file}`) + return match[1] + .split('\n') + .map((line) => line.trim().replace(/,$/, '')) + .filter(Boolean) +} + +function replaceSassEntries(scss: string, name: string, entries: string[], file: string): string { + const pattern = new RegExp(`(\\$${name}: \\(\\n)[\\s\\S]*?(\\n\\)(?: !default)?;)`) + if (!pattern.test(scss)) throw new Error(`import-flags: $${name} not found in ${file}`) + return scss.replace(pattern, `$1${entries.map((entry) => ` ${entry}`).join(',\n')}$2`) +} + +try { + const sourceDir = resolveSourceDir() + const srcDir = join(sourceDir, 'src') + const metaFile = join(sourceDir, 'flags.json') + const meta = JSON.parse(readFileSync(metaFile, 'utf8')) as Record + + const flags: Flag[] = [] + const codes = new Map() + for (const [slug, { name, category, iso, alias }] of Object.entries(meta)) { + const source = alias ?? slug + if (!existsSync(join(srcDir, `${source}.svg`))) { + console.warn(`import-flags: '${slug}' has no SVG in ${relative(repoRoot, srcDir)} — skipped`) + continue + } + const code = (iso ?? slug).toLowerCase() + const taken = codes.get(code) + if (taken) throw new Error(`import-flags: code '${code}' is used by both '${taken}' and '${slug}'`) + codes.set(code, slug) + flags.push({ code, slug, name, category, iso: iso ?? null }) + } + flags.sort((a, b) => a.code.localeCompare(b.code)) + + const stray = svgNames(srcDir).filter((slug) => !meta[slug]) + if (stray.length) console.warn(`import-flags: SVGs not in flags.json, ignored: ${stray.join(', ')}`) + + // Old codes from before the tabler-flags import. They keep their class and + // their file as copies of the flag that replaced them. + const deprecatedScss = readFileSync(deprecatedScssFile, 'utf8') + const aliases = readSassEntries(deprecatedScss, 'flag-country-aliases', deprecatedScssFile).map((entry) => { + const match = entry.match(/^'([^']+)': '([^']+)'$/) + if (!match) throw new Error(`import-flags: cannot parse $flag-country-aliases entry: ${entry}`) + return { from: match[1], to: match[2] } + }) + for (const { from, to } of aliases) { + if (!codes.has(to)) throw new Error(`import-flags: alias '${from}' points to unknown flag '${to}'`) + if (codes.has(from)) throw new Error(`import-flags: alias '${from}' is also a flag in flags.json — drop the alias`) + } + + const previous = existsSync(imgDir) ? new Set(svgNames(imgDir)) : new Set() + rmSync(imgDir, { recursive: true, force: true }) + mkdirSync(imgDir, { recursive: true }) + for (const { code, slug } of flags) { + copyFileSync(join(srcDir, `${meta[slug].alias ?? slug}.svg`), join(imgDir, `${code}.svg`)) + } + for (const { from, to } of aliases) { + copyFileSync(join(imgDir, `${to}.svg`), join(imgDir, `${from}.svg`)) + } + optimizeSvgDir(imgDir) + + const scss = readFileSync(scssFile, 'utf8') + writeFileSync( + scssFile, + replaceSassEntries( + scss, + 'flag-countries', + flags.map(({ code }) => `'${code}'`), + scssFile, + ), + ) + + const data = [...flags].sort((a, b) => a.name.localeCompare(b.name)).map(({ name, code, category }) => ({ name, flag: code, category })) + writeFileSync(dataFile, `${JSON.stringify(data, null, 2)}\n`) + + const current = new Set(flags.map(({ code }) => code)) + const added = flags.filter(({ code }) => !previous.has(code)).map(({ code }) => code) + const removed = [...previous].filter((code) => !current.has(code) && !aliases.some(({ from }) => from === code)) + console.log(`Imported ${flags.length} flags from ${relative(repoRoot, sourceDir)} (${added.length} added, ${removed.length} removed, ${aliases.length} deprecated aliases kept)`) + if (added.length) console.log(` added: ${added.join(', ')}`) + if (removed.length) console.log(` removed: ${removed.join(', ')}`) + console.log('Now run `pnpm run generate:tokens` to refresh shared/lib/tokens.ts') +} finally { + if (cloneDir) rmSync(cloneDir, { recursive: true, force: true }) +} diff --git a/.changeset/import-tabler-flags.md b/.changeset/import-tabler-flags.md new file mode 100644 index 000000000..117b84628 --- /dev/null +++ b/.changeset/import-tabler-flags.md @@ -0,0 +1,7 @@ +--- +"@tabler/core": minor +"@tabler/preview": patch +"@tabler/docs": patch +--- + +Updated the flags plugin to Tabler Flags: 304 flags at a 5:4 ratio, 50 new like `.flag-country-nato`, old codes kept as aliases. diff --git a/.github/release-notes/1.7.0-flags-dark.png b/.github/release-notes/1.7.0-flags-dark.png new file mode 100644 index 000000000..04e4dbe2e Binary files /dev/null and b/.github/release-notes/1.7.0-flags-dark.png differ diff --git a/.github/release-notes/1.7.0-flags.png b/.github/release-notes/1.7.0-flags.png new file mode 100644 index 000000000..d47e793f8 Binary files /dev/null and b/.github/release-notes/1.7.0-flags.png differ diff --git a/core/img/flags/abkhazia.svg b/core/img/flags/abkhazia.svg new file mode 100644 index 000000000..fb560dd69 --- /dev/null +++ b/core/img/flags/abkhazia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ad.svg b/core/img/flags/ad.svg index 41fb86919..d32029da9 100644 --- a/core/img/flags/ad.svg +++ b/core/img/flags/ad.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ae.svg b/core/img/flags/ae.svg index 84b12dab9..3748fff68 100644 --- a/core/img/flags/ae.svg +++ b/core/img/flags/ae.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/af.svg b/core/img/flags/af.svg index 4983d2b83..3c6d3f483 100644 --- a/core/img/flags/af.svg +++ b/core/img/flags/af.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/african-union.svg b/core/img/flags/african-union.svg new file mode 100644 index 000000000..ade8ca37e --- /dev/null +++ b/core/img/flags/african-union.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/afrun.svg b/core/img/flags/afrun.svg index 2e1e49113..ade8ca37e 100644 --- a/core/img/flags/afrun.svg +++ b/core/img/flags/afrun.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ag.svg b/core/img/flags/ag.svg index 706894425..3aee7a81e 100644 --- a/core/img/flags/ag.svg +++ b/core/img/flags/ag.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ai.svg b/core/img/flags/ai.svg index 66e250420..bb925de6a 100644 --- a/core/img/flags/ai.svg +++ b/core/img/flags/ai.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/al.svg b/core/img/flags/al.svg index a8ca45386..52c2b5ded 100644 --- a/core/img/flags/al.svg +++ b/core/img/flags/al.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/am.svg b/core/img/flags/am.svg index e4a22727c..97ba9de67 100644 --- a/core/img/flags/am.svg +++ b/core/img/flags/am.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ao.svg b/core/img/flags/ao.svg index a1d1eb61d..8c826df94 100644 --- a/core/img/flags/ao.svg +++ b/core/img/flags/ao.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/aq.svg b/core/img/flags/aq.svg index 230b6144b..a0324c92d 100644 --- a/core/img/flags/aq.svg +++ b/core/img/flags/aq.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ar.svg b/core/img/flags/ar.svg index 5081d247c..af34f9d66 100644 --- a/core/img/flags/ar.svg +++ b/core/img/flags/ar.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/arab-league.svg b/core/img/flags/arab-league.svg new file mode 100644 index 000000000..adbf01f32 --- /dev/null +++ b/core/img/flags/arab-league.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/as.svg b/core/img/flags/as.svg index 48664111f..5121c898b 100644 --- a/core/img/flags/as.svg +++ b/core/img/flags/as.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/asean.svg b/core/img/flags/asean.svg new file mode 100644 index 000000000..56e47bf52 --- /dev/null +++ b/core/img/flags/asean.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/at.svg b/core/img/flags/at.svg index 72c742513..6a04fa618 100644 --- a/core/img/flags/at.svg +++ b/core/img/flags/at.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/au.svg b/core/img/flags/au.svg index c540890af..e73f1bddb 100644 --- a/core/img/flags/au.svg +++ b/core/img/flags/au.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/aw.svg b/core/img/flags/aw.svg index e31ee0d7e..65946120e 100644 --- a/core/img/flags/aw.svg +++ b/core/img/flags/aw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ax.svg b/core/img/flags/ax.svg index 25acc6886..2ea1bb4b5 100644 --- a/core/img/flags/ax.svg +++ b/core/img/flags/ax.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/az.svg b/core/img/flags/az.svg index 9e7668886..0bdf26841 100644 --- a/core/img/flags/az.svg +++ b/core/img/flags/az.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ba.svg b/core/img/flags/ba.svg index 0ac4ab23b..36bb5ac17 100644 --- a/core/img/flags/ba.svg +++ b/core/img/flags/ba.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bb.svg b/core/img/flags/bb.svg index 816447a70..615c8a6eb 100644 --- a/core/img/flags/bb.svg +++ b/core/img/flags/bb.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bd.svg b/core/img/flags/bd.svg index 89c137db4..440ba105f 100644 --- a/core/img/flags/bd.svg +++ b/core/img/flags/bd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/be.svg b/core/img/flags/be.svg index 605aa2575..78ac83e23 100644 --- a/core/img/flags/be.svg +++ b/core/img/flags/be.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bf.svg b/core/img/flags/bf.svg index 54e19f083..f8310268a 100644 --- a/core/img/flags/bf.svg +++ b/core/img/flags/bf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bg.svg b/core/img/flags/bg.svg index 1a6cb209b..368db73b4 100644 --- a/core/img/flags/bg.svg +++ b/core/img/flags/bg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bh.svg b/core/img/flags/bh.svg index cef43219b..93894e4a0 100644 --- a/core/img/flags/bh.svg +++ b/core/img/flags/bh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bi.svg b/core/img/flags/bi.svg index dd91d007a..7a3880fd8 100644 --- a/core/img/flags/bi.svg +++ b/core/img/flags/bi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bj.svg b/core/img/flags/bj.svg index 4fdd68050..288b94c55 100644 --- a/core/img/flags/bj.svg +++ b/core/img/flags/bj.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bl.svg b/core/img/flags/bl.svg index 67b4746c9..83ac77afe 100644 --- a/core/img/flags/bl.svg +++ b/core/img/flags/bl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bm.svg b/core/img/flags/bm.svg index 36547a462..326547f43 100644 --- a/core/img/flags/bm.svg +++ b/core/img/flags/bm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bn.svg b/core/img/flags/bn.svg index aa40316a7..475ce551d 100644 --- a/core/img/flags/bn.svg +++ b/core/img/flags/bn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bo.svg b/core/img/flags/bo.svg index abcdf42d9..4e2b78f75 100644 --- a/core/img/flags/bo.svg +++ b/core/img/flags/bo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bq-bo.svg b/core/img/flags/bq-bo.svg index e77416e6c..038916cbf 100644 --- a/core/img/flags/bq-bo.svg +++ b/core/img/flags/bq-bo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bq-sa.svg b/core/img/flags/bq-sa.svg index e7dbe9472..692d9ebb5 100644 --- a/core/img/flags/bq-sa.svg +++ b/core/img/flags/bq-sa.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bq-se.svg b/core/img/flags/bq-se.svg index e5f4f99be..0dace607d 100644 --- a/core/img/flags/bq-se.svg +++ b/core/img/flags/bq-se.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bq.svg b/core/img/flags/bq.svg new file mode 100644 index 000000000..5ca947c7f --- /dev/null +++ b/core/img/flags/bq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/bq1.svg b/core/img/flags/bq1.svg new file mode 100644 index 000000000..038916cbf --- /dev/null +++ b/core/img/flags/bq1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/bq2.svg b/core/img/flags/bq2.svg new file mode 100644 index 000000000..692d9ebb5 --- /dev/null +++ b/core/img/flags/bq2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/bq3.svg b/core/img/flags/bq3.svg new file mode 100644 index 000000000..0dace607d --- /dev/null +++ b/core/img/flags/bq3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/br.svg b/core/img/flags/br.svg index 4b88d3359..b1e183199 100644 --- a/core/img/flags/br.svg +++ b/core/img/flags/br.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bs.svg b/core/img/flags/bs.svg index 5d4d118dd..2d3d5a3d7 100644 --- a/core/img/flags/bs.svg +++ b/core/img/flags/bs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bt.svg b/core/img/flags/bt.svg index 680eb33c1..e225df527 100644 --- a/core/img/flags/bt.svg +++ b/core/img/flags/bt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bv.svg b/core/img/flags/bv.svg index c5123a2bc..efcff85ee 100644 --- a/core/img/flags/bv.svg +++ b/core/img/flags/bv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bw.svg b/core/img/flags/bw.svg index 0563693d8..115668ee9 100644 --- a/core/img/flags/bw.svg +++ b/core/img/flags/bw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/by.svg b/core/img/flags/by.svg index d6a3e9589..52b95a891 100644 --- a/core/img/flags/by.svg +++ b/core/img/flags/by.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/bz.svg b/core/img/flags/bz.svg index 65dce7112..b8f65a035 100644 --- a/core/img/flags/bz.svg +++ b/core/img/flags/bz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ca.svg b/core/img/flags/ca.svg index 78aa8255a..78714ae2f 100644 --- a/core/img/flags/ca.svg +++ b/core/img/flags/ca.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cabinda.svg b/core/img/flags/cabinda.svg new file mode 100644 index 000000000..8f82fff24 --- /dev/null +++ b/core/img/flags/cabinda.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/cc.svg b/core/img/flags/cc.svg index d80b222c5..6be849e8d 100644 --- a/core/img/flags/cc.svg +++ b/core/img/flags/cc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cd.svg b/core/img/flags/cd.svg index 97b7d6024..6a0ad86f2 100644 --- a/core/img/flags/cd.svg +++ b/core/img/flags/cd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cefta.svg b/core/img/flags/cefta.svg new file mode 100644 index 000000000..335890334 --- /dev/null +++ b/core/img/flags/cefta.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/cf.svg b/core/img/flags/cf.svg index ec2b644fb..29c426d41 100644 --- a/core/img/flags/cf.svg +++ b/core/img/flags/cf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cg.svg b/core/img/flags/cg.svg index ea4ea93c5..a450fb405 100644 --- a/core/img/flags/cg.svg +++ b/core/img/flags/cg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ch.svg b/core/img/flags/ch.svg index e99a059df..a4f783aeb 100644 --- a/core/img/flags/ch.svg +++ b/core/img/flags/ch.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/chechnya.svg b/core/img/flags/chechnya.svg new file mode 100644 index 000000000..99fb8437d --- /dev/null +++ b/core/img/flags/chechnya.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/chequered.svg b/core/img/flags/chequered.svg new file mode 100644 index 000000000..0b7a969b1 --- /dev/null +++ b/core/img/flags/chequered.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ci.svg b/core/img/flags/ci.svg index fb572df08..efea5703d 100644 --- a/core/img/flags/ci.svg +++ b/core/img/flags/ci.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ck.svg b/core/img/flags/ck.svg index 7545da617..c8751a11d 100644 --- a/core/img/flags/ck.svg +++ b/core/img/flags/ck.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cl.svg b/core/img/flags/cl.svg index 1f010823d..a7b4b9ffb 100644 --- a/core/img/flags/cl.svg +++ b/core/img/flags/cl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cm.svg b/core/img/flags/cm.svg index 1e7a7623e..9fa8bf314 100644 --- a/core/img/flags/cm.svg +++ b/core/img/flags/cm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cn.svg b/core/img/flags/cn.svg index 76a2b2eca..656949647 100644 --- a/core/img/flags/cn.svg +++ b/core/img/flags/cn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/co.svg b/core/img/flags/co.svg index 511450a1b..e6d7646e9 100644 --- a/core/img/flags/co.svg +++ b/core/img/flags/co.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/commonwealth-of-independent-states.svg b/core/img/flags/commonwealth-of-independent-states.svg new file mode 100644 index 000000000..e7184e074 --- /dev/null +++ b/core/img/flags/commonwealth-of-independent-states.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/commonwealth-of-nations.svg b/core/img/flags/commonwealth-of-nations.svg new file mode 100644 index 000000000..1ef6e808b --- /dev/null +++ b/core/img/flags/commonwealth-of-nations.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/cr.svg b/core/img/flags/cr.svg index e5d15b8d4..309cfd5f7 100644 --- a/core/img/flags/cr.svg +++ b/core/img/flags/cr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cu.svg b/core/img/flags/cu.svg index 92e611281..10f78a5d7 100644 --- a/core/img/flags/cu.svg +++ b/core/img/flags/cu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cv.svg b/core/img/flags/cv.svg index fa5124020..c3bc829e8 100644 --- a/core/img/flags/cv.svg +++ b/core/img/flags/cv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cw.svg b/core/img/flags/cw.svg index 2ca9ba320..3c13609af 100644 --- a/core/img/flags/cw.svg +++ b/core/img/flags/cw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cx.svg b/core/img/flags/cx.svg index 30a84b40f..dc5c1c567 100644 --- a/core/img/flags/cx.svg +++ b/core/img/flags/cx.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cy.svg b/core/img/flags/cy.svg index 3a55046b0..4edad61f6 100644 --- a/core/img/flags/cy.svg +++ b/core/img/flags/cy.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/cz.svg b/core/img/flags/cz.svg index 6ad3c8f5d..7dc2ef8d8 100644 --- a/core/img/flags/cz.svg +++ b/core/img/flags/cz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/de.svg b/core/img/flags/de.svg index bb250d710..a73ef5c15 100644 --- a/core/img/flags/de.svg +++ b/core/img/flags/de.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/dg.svg b/core/img/flags/dg.svg new file mode 100644 index 000000000..9ac3b5f13 --- /dev/null +++ b/core/img/flags/dg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/diver-down.svg b/core/img/flags/diver-down.svg new file mode 100644 index 000000000..d8ed4323f --- /dev/null +++ b/core/img/flags/diver-down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/dj.svg b/core/img/flags/dj.svg index 24235cea4..bf73a23d4 100644 --- a/core/img/flags/dj.svg +++ b/core/img/flags/dj.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/dk.svg b/core/img/flags/dk.svg index 8e20f2dbd..a190f72a6 100644 --- a/core/img/flags/dk.svg +++ b/core/img/flags/dk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/dm.svg b/core/img/flags/dm.svg index 234f5d96c..4f25ee67e 100644 --- a/core/img/flags/dm.svg +++ b/core/img/flags/dm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/do.svg b/core/img/flags/do.svg index 84de44a2e..5e5b45974 100644 --- a/core/img/flags/do.svg +++ b/core/img/flags/do.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/dz.svg b/core/img/flags/dz.svg index c04ee29e9..09c2f449b 100644 --- a/core/img/flags/dz.svg +++ b/core/img/flags/dz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/eac.svg b/core/img/flags/eac.svg new file mode 100644 index 000000000..50f4ae90a --- /dev/null +++ b/core/img/flags/eac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ec.svg b/core/img/flags/ec.svg index 8a9c9c46f..aabaf5a2c 100644 --- a/core/img/flags/ec.svg +++ b/core/img/flags/ec.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ee.svg b/core/img/flags/ee.svg index 793ef8c00..70e2e93d9 100644 --- a/core/img/flags/ee.svg +++ b/core/img/flags/ee.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/eg.svg b/core/img/flags/eg.svg index 0b89e2e26..62d5045a6 100644 --- a/core/img/flags/eg.svg +++ b/core/img/flags/eg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/eh.svg b/core/img/flags/eh.svg index 4d9c46051..8f17fc86e 100644 --- a/core/img/flags/eh.svg +++ b/core/img/flags/eh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/er.svg b/core/img/flags/er.svg index 51f8ef18e..fd48be28d 100644 --- a/core/img/flags/er.svg +++ b/core/img/flags/er.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/es-ct.svg b/core/img/flags/es-ct.svg new file mode 100644 index 000000000..1f3b04fc7 --- /dev/null +++ b/core/img/flags/es-ct.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/es-ga.svg b/core/img/flags/es-ga.svg new file mode 100644 index 000000000..4c396a004 --- /dev/null +++ b/core/img/flags/es-ga.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/es-pv.svg b/core/img/flags/es-pv.svg new file mode 100644 index 000000000..9e7f34c39 --- /dev/null +++ b/core/img/flags/es-pv.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/es.svg b/core/img/flags/es.svg index 44a5406fe..ee2256043 100644 --- a/core/img/flags/es.svg +++ b/core/img/flags/es.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/et.svg b/core/img/flags/et.svg index 02b6cb613..8011bc150 100644 --- a/core/img/flags/et.svg +++ b/core/img/flags/et.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/eu.svg b/core/img/flags/eu.svg index 8630bcecf..c9d5866c8 100644 --- a/core/img/flags/eu.svg +++ b/core/img/flags/eu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fi.svg b/core/img/flags/fi.svg index c49d319cc..4b972b40d 100644 --- a/core/img/flags/fi.svg +++ b/core/img/flags/fi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fj.svg b/core/img/flags/fj.svg index af36eb28b..9572a523c 100644 --- a/core/img/flags/fj.svg +++ b/core/img/flags/fj.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fk.svg b/core/img/flags/fk.svg index db2803ece..93b353e5c 100644 --- a/core/img/flags/fk.svg +++ b/core/img/flags/fk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fm.svg b/core/img/flags/fm.svg index 6e11c984a..64285f057 100644 --- a/core/img/flags/fm.svg +++ b/core/img/flags/fm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fo.svg b/core/img/flags/fo.svg index cc7146335..ddc106ae8 100644 --- a/core/img/flags/fo.svg +++ b/core/img/flags/fo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/fr.svg b/core/img/flags/fr.svg index a04cc0cad..3e4635c85 100644 --- a/core/img/flags/fr.svg +++ b/core/img/flags/fr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ga.svg b/core/img/flags/ga.svg index 4a187b508..6b1519025 100644 --- a/core/img/flags/ga.svg +++ b/core/img/flags/ga.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gb-eng.svg b/core/img/flags/gb-eng.svg index 26301e0f2..6277aab6b 100644 --- a/core/img/flags/gb-eng.svg +++ b/core/img/flags/gb-eng.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gb-nir.svg b/core/img/flags/gb-nir.svg index afa709f9e..b62515d2b 100644 --- a/core/img/flags/gb-nir.svg +++ b/core/img/flags/gb-nir.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gb-sct.svg b/core/img/flags/gb-sct.svg index ce5c3ab9b..96dfba8e4 100644 --- a/core/img/flags/gb-sct.svg +++ b/core/img/flags/gb-sct.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gb-wls.svg b/core/img/flags/gb-wls.svg index f710a8f0a..60ba6675d 100644 --- a/core/img/flags/gb-wls.svg +++ b/core/img/flags/gb-wls.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gb.svg b/core/img/flags/gb.svg index afa709f9e..e93877deb 100644 --- a/core/img/flags/gb.svg +++ b/core/img/flags/gb.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gd.svg b/core/img/flags/gd.svg index d6fc19da2..fedd33324 100644 --- a/core/img/flags/gd.svg +++ b/core/img/flags/gd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ge.svg b/core/img/flags/ge.svg index f154bcfb7..12c668d46 100644 --- a/core/img/flags/ge.svg +++ b/core/img/flags/ge.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gf.svg b/core/img/flags/gf.svg index abe4fce22..2175205f3 100644 --- a/core/img/flags/gf.svg +++ b/core/img/flags/gf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gg.svg b/core/img/flags/gg.svg index 018c1dd41..07a3e7193 100644 --- a/core/img/flags/gg.svg +++ b/core/img/flags/gg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gh.svg b/core/img/flags/gh.svg index 88cdf72ae..e9273d8a4 100644 --- a/core/img/flags/gh.svg +++ b/core/img/flags/gh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gi.svg b/core/img/flags/gi.svg index 59da2dc2a..dabd09144 100644 --- a/core/img/flags/gi.svg +++ b/core/img/flags/gi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gl.svg b/core/img/flags/gl.svg index b98984e2e..ff7beaccc 100644 --- a/core/img/flags/gl.svg +++ b/core/img/flags/gl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gm.svg b/core/img/flags/gm.svg index 16a97abb3..4c0392af6 100644 --- a/core/img/flags/gm.svg +++ b/core/img/flags/gm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gn.svg b/core/img/flags/gn.svg index f4640516d..f5194d4c4 100644 --- a/core/img/flags/gn.svg +++ b/core/img/flags/gn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gp.svg b/core/img/flags/gp.svg index e6c2bf18c..e105f6777 100644 --- a/core/img/flags/gp.svg +++ b/core/img/flags/gp.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gq.svg b/core/img/flags/gq.svg index bdcc6dc34..982ad50c8 100644 --- a/core/img/flags/gq.svg +++ b/core/img/flags/gq.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gr.svg b/core/img/flags/gr.svg index 95fe13019..4c7f5d873 100644 --- a/core/img/flags/gr.svg +++ b/core/img/flags/gr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gs.svg b/core/img/flags/gs.svg index c17d9f3ef..fe30e1d26 100644 --- a/core/img/flags/gs.svg +++ b/core/img/flags/gs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gt.svg b/core/img/flags/gt.svg index 854fa95df..29e0bd7b5 100644 --- a/core/img/flags/gt.svg +++ b/core/img/flags/gt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gu.svg b/core/img/flags/gu.svg index 083a00e7d..d2a16a43c 100644 --- a/core/img/flags/gu.svg +++ b/core/img/flags/gu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gw.svg b/core/img/flags/gw.svg index 39771b080..af581dee9 100644 --- a/core/img/flags/gw.svg +++ b/core/img/flags/gw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/gy.svg b/core/img/flags/gy.svg index e01a1893c..6d1253ba4 100644 --- a/core/img/flags/gy.svg +++ b/core/img/flags/gy.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/hk.svg b/core/img/flags/hk.svg index 3b95d6a52..4f719d1bf 100644 --- a/core/img/flags/hk.svg +++ b/core/img/flags/hk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/hm.svg b/core/img/flags/hm.svg index 7f861577c..4848876dd 100644 --- a/core/img/flags/hm.svg +++ b/core/img/flags/hm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/hn.svg b/core/img/flags/hn.svg index 4218fb0b3..2ced833d5 100644 --- a/core/img/flags/hn.svg +++ b/core/img/flags/hn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/hr.svg b/core/img/flags/hr.svg index 4507d830c..87445cbca 100644 --- a/core/img/flags/hr.svg +++ b/core/img/flags/hr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ht.svg b/core/img/flags/ht.svg index 1eef38c7d..1997c5390 100644 --- a/core/img/flags/ht.svg +++ b/core/img/flags/ht.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/hu.svg b/core/img/flags/hu.svg index 811252e81..bb9077811 100644 --- a/core/img/flags/hu.svg +++ b/core/img/flags/hu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ic.svg b/core/img/flags/ic.svg new file mode 100644 index 000000000..8d2ab0819 --- /dev/null +++ b/core/img/flags/ic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/id.svg b/core/img/flags/id.svg index 0eb77253c..647598e0b 100644 --- a/core/img/flags/id.svg +++ b/core/img/flags/id.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ie.svg b/core/img/flags/ie.svg index db78738e4..dfe77a585 100644 --- a/core/img/flags/ie.svg +++ b/core/img/flags/ie.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/il.svg b/core/img/flags/il.svg index 8dcf86df3..e19cc8ea9 100644 --- a/core/img/flags/il.svg +++ b/core/img/flags/il.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/im.svg b/core/img/flags/im.svg index 4944b8cdc..fe4458aa7 100644 --- a/core/img/flags/im.svg +++ b/core/img/flags/im.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/in.svg b/core/img/flags/in.svg index f21884bda..3be512e8d 100644 --- a/core/img/flags/in.svg +++ b/core/img/flags/in.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/io.svg b/core/img/flags/io.svg index a2784f91c..9ac3b5f13 100644 --- a/core/img/flags/io.svg +++ b/core/img/flags/io.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/iq.svg b/core/img/flags/iq.svg index b2ad2336d..3c024c7cc 100644 --- a/core/img/flags/iq.svg +++ b/core/img/flags/iq.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ir.svg b/core/img/flags/ir.svg index 879a41a24..fbe445682 100644 --- a/core/img/flags/ir.svg +++ b/core/img/flags/ir.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/is.svg b/core/img/flags/is.svg index dcbdff9bf..d7460212b 100644 --- a/core/img/flags/is.svg +++ b/core/img/flags/is.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/it.svg b/core/img/flags/it.svg index d48a65aa0..30d7d3bc0 100644 --- a/core/img/flags/it.svg +++ b/core/img/flags/it.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/je.svg b/core/img/flags/je.svg index 9ee508325..8208d0716 100644 --- a/core/img/flags/je.svg +++ b/core/img/flags/je.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/jm.svg b/core/img/flags/jm.svg index 296446350..02689fe08 100644 --- a/core/img/flags/jm.svg +++ b/core/img/flags/jm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/jo.svg b/core/img/flags/jo.svg index 877d438fc..8959b54b4 100644 --- a/core/img/flags/jo.svg +++ b/core/img/flags/jo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/jp.svg b/core/img/flags/jp.svg index 054e4101d..e2a904289 100644 --- a/core/img/flags/jp.svg +++ b/core/img/flags/jp.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/jubaland.svg b/core/img/flags/jubaland.svg new file mode 100644 index 000000000..0a4d73061 --- /dev/null +++ b/core/img/flags/jubaland.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ke.svg b/core/img/flags/ke.svg index cf5f68508..9509fe469 100644 --- a/core/img/flags/ke.svg +++ b/core/img/flags/ke.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kg.svg b/core/img/flags/kg.svg index a456b9842..2cba3764d 100644 --- a/core/img/flags/kg.svg +++ b/core/img/flags/kg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kh.svg b/core/img/flags/kh.svg index ba0e6bbe8..539f98d29 100644 --- a/core/img/flags/kh.svg +++ b/core/img/flags/kh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ki.svg b/core/img/flags/ki.svg index 0dec18e6e..848637b7a 100644 --- a/core/img/flags/ki.svg +++ b/core/img/flags/ki.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/km.svg b/core/img/flags/km.svg index 6c6a74c54..84ba66fda 100644 --- a/core/img/flags/km.svg +++ b/core/img/flags/km.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kn-sk.svg b/core/img/flags/kn-sk.svg index a2c8fcaf7..bb2a0fac7 100644 --- a/core/img/flags/kn-sk.svg +++ b/core/img/flags/kn-sk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kn.svg b/core/img/flags/kn.svg index bf519b916..bb2a0fac7 100644 --- a/core/img/flags/kn.svg +++ b/core/img/flags/kn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kp.svg b/core/img/flags/kp.svg index f7f1e2e1e..5e2e6cc4d 100644 --- a/core/img/flags/kp.svg +++ b/core/img/flags/kp.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kr.svg b/core/img/flags/kr.svg index 2f655643a..c22210c5a 100644 --- a/core/img/flags/kr.svg +++ b/core/img/flags/kr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kurdistan.svg b/core/img/flags/kurdistan.svg new file mode 100644 index 000000000..a8aaec5bd --- /dev/null +++ b/core/img/flags/kurdistan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/kw.svg b/core/img/flags/kw.svg index 330558516..41b6ed429 100644 --- a/core/img/flags/kw.svg +++ b/core/img/flags/kw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ky.svg b/core/img/flags/ky.svg index df0d93b4f..6a6c63504 100644 --- a/core/img/flags/ky.svg +++ b/core/img/flags/ky.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/kz.svg b/core/img/flags/kz.svg index 86cb8519f..dfa818d7d 100644 --- a/core/img/flags/kz.svg +++ b/core/img/flags/kz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/la.svg b/core/img/flags/la.svg index e8b140699..39230336d 100644 --- a/core/img/flags/la.svg +++ b/core/img/flags/la.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lb.svg b/core/img/flags/lb.svg index 74e3a2704..12e25ce63 100644 --- a/core/img/flags/lb.svg +++ b/core/img/flags/lb.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lc.svg b/core/img/flags/lc.svg index bd86b2b71..27339a99b 100644 --- a/core/img/flags/lc.svg +++ b/core/img/flags/lc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/li.svg b/core/img/flags/li.svg index 72b9545ff..83b8f9fce 100644 --- a/core/img/flags/li.svg +++ b/core/img/flags/li.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lk.svg b/core/img/flags/lk.svg index 2a999779a..e2861c99f 100644 --- a/core/img/flags/lk.svg +++ b/core/img/flags/lk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lr.svg b/core/img/flags/lr.svg index 91de037d5..9b79f6ce0 100644 --- a/core/img/flags/lr.svg +++ b/core/img/flags/lr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ls.svg b/core/img/flags/ls.svg index ea4f2e4d2..c97316b9d 100644 --- a/core/img/flags/ls.svg +++ b/core/img/flags/ls.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lt.svg b/core/img/flags/lt.svg index e01f54d1e..b44720073 100644 --- a/core/img/flags/lt.svg +++ b/core/img/flags/lt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lu.svg b/core/img/flags/lu.svg index a6fd2c521..f496e5d6d 100644 --- a/core/img/flags/lu.svg +++ b/core/img/flags/lu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/lv.svg b/core/img/flags/lv.svg index 4bffc4c8d..66e38d09e 100644 --- a/core/img/flags/lv.svg +++ b/core/img/flags/lv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ly.svg b/core/img/flags/ly.svg index 447142595..083b2b6df 100644 --- a/core/img/flags/ly.svg +++ b/core/img/flags/ly.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ma.svg b/core/img/flags/ma.svg index 10fa80389..66966c15d 100644 --- a/core/img/flags/ma.svg +++ b/core/img/flags/ma.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/maltese-cross.svg b/core/img/flags/maltese-cross.svg new file mode 100644 index 000000000..e66f645fb --- /dev/null +++ b/core/img/flags/maltese-cross.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/mc.svg b/core/img/flags/mc.svg index 750c9be4b..fcb3a13fd 100644 --- a/core/img/flags/mc.svg +++ b/core/img/flags/mc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/md.svg b/core/img/flags/md.svg index 3651f7ff5..02558dc15 100644 --- a/core/img/flags/md.svg +++ b/core/img/flags/md.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/me.svg b/core/img/flags/me.svg index 4c3d88579..4765ea0c1 100644 --- a/core/img/flags/me.svg +++ b/core/img/flags/me.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mercosur.svg b/core/img/flags/mercosur.svg new file mode 100644 index 000000000..f8198a152 --- /dev/null +++ b/core/img/flags/mercosur.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/mf.svg b/core/img/flags/mf.svg index a558a8958..3e4635c85 100644 --- a/core/img/flags/mf.svg +++ b/core/img/flags/mf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mg.svg b/core/img/flags/mg.svg index f4599ac64..282d6ca1d 100644 --- a/core/img/flags/mg.svg +++ b/core/img/flags/mg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mh.svg b/core/img/flags/mh.svg index b9d8a90af..fca53b44a 100644 --- a/core/img/flags/mh.svg +++ b/core/img/flags/mh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mk.svg b/core/img/flags/mk.svg index a6574b71d..1fe956bbc 100644 --- a/core/img/flags/mk.svg +++ b/core/img/flags/mk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ml.svg b/core/img/flags/ml.svg index e690df159..d5f7bc100 100644 --- a/core/img/flags/ml.svg +++ b/core/img/flags/ml.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mm.svg b/core/img/flags/mm.svg index c2a0ec84d..9033de1d0 100644 --- a/core/img/flags/mm.svg +++ b/core/img/flags/mm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mn.svg b/core/img/flags/mn.svg index c5b9b677f..7d1a1a617 100644 --- a/core/img/flags/mn.svg +++ b/core/img/flags/mn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mo.svg b/core/img/flags/mo.svg index 1d886e25e..6ae19a0e5 100644 --- a/core/img/flags/mo.svg +++ b/core/img/flags/mo.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mp.svg b/core/img/flags/mp.svg index 479d7741d..7c3dad98f 100644 --- a/core/img/flags/mp.svg +++ b/core/img/flags/mp.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mq.svg b/core/img/flags/mq.svg index cdad8bf47..d84aa7bdd 100644 --- a/core/img/flags/mq.svg +++ b/core/img/flags/mq.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mr.svg b/core/img/flags/mr.svg index da5af6ad2..620c9bce7 100644 --- a/core/img/flags/mr.svg +++ b/core/img/flags/mr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ms.svg b/core/img/flags/ms.svg index 6aac52807..1915f0b1e 100644 --- a/core/img/flags/ms.svg +++ b/core/img/flags/ms.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mt.svg b/core/img/flags/mt.svg index c38143ca5..c262c6c5a 100644 --- a/core/img/flags/mt.svg +++ b/core/img/flags/mt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mu.svg b/core/img/flags/mu.svg index 2dfa87497..8311445c3 100644 --- a/core/img/flags/mu.svg +++ b/core/img/flags/mu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mv.svg b/core/img/flags/mv.svg index 0d22e72c3..071846796 100644 --- a/core/img/flags/mv.svg +++ b/core/img/flags/mv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mw.svg b/core/img/flags/mw.svg index d6c028b61..0883979eb 100644 --- a/core/img/flags/mw.svg +++ b/core/img/flags/mw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mx.svg b/core/img/flags/mx.svg index 2b51d45a4..a59350cd9 100644 --- a/core/img/flags/mx.svg +++ b/core/img/flags/mx.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/my.svg b/core/img/flags/my.svg index 1a01b5452..1f68e856d 100644 --- a/core/img/flags/my.svg +++ b/core/img/flags/my.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/mz.svg b/core/img/flags/mz.svg index c2218aa06..74e156d6c 100644 --- a/core/img/flags/mz.svg +++ b/core/img/flags/mz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/na.svg b/core/img/flags/na.svg index 28419c484..41220b2a4 100644 --- a/core/img/flags/na.svg +++ b/core/img/flags/na.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nato.svg b/core/img/flags/nato.svg new file mode 100644 index 000000000..64c20ff46 --- /dev/null +++ b/core/img/flags/nato.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/nc.svg b/core/img/flags/nc.svg index 236804138..cfe06b114 100644 --- a/core/img/flags/nc.svg +++ b/core/img/flags/nc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ne.svg b/core/img/flags/ne.svg index 4191650f8..38b45d667 100644 --- a/core/img/flags/ne.svg +++ b/core/img/flags/ne.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nf.svg b/core/img/flags/nf.svg index 04e88dd23..eaebe5655 100644 --- a/core/img/flags/nf.svg +++ b/core/img/flags/nf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ng.svg b/core/img/flags/ng.svg index 067b03b59..c4312adc7 100644 --- a/core/img/flags/ng.svg +++ b/core/img/flags/ng.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ni.svg b/core/img/flags/ni.svg index efcae914c..2f8eb9dcd 100644 --- a/core/img/flags/ni.svg +++ b/core/img/flags/ni.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nl.svg b/core/img/flags/nl.svg index ef508c916..5ca947c7f 100644 --- a/core/img/flags/nl.svg +++ b/core/img/flags/nl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/no.svg b/core/img/flags/no.svg index c5123a2bc..efcff85ee 100644 --- a/core/img/flags/no.svg +++ b/core/img/flags/no.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nordic-council.svg b/core/img/flags/nordic-council.svg new file mode 100644 index 000000000..b3d7a74ae --- /dev/null +++ b/core/img/flags/nordic-council.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/northern-cyprus.svg b/core/img/flags/northern-cyprus.svg new file mode 100644 index 000000000..b6e40224c --- /dev/null +++ b/core/img/flags/northern-cyprus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/np.svg b/core/img/flags/np.svg index 96499339e..a0104002b 100644 --- a/core/img/flags/np.svg +++ b/core/img/flags/np.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nr.svg b/core/img/flags/nr.svg index f12de7450..972566c5c 100644 --- a/core/img/flags/nr.svg +++ b/core/img/flags/nr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nu.svg b/core/img/flags/nu.svg index 0f1681c55..174b9ffeb 100644 --- a/core/img/flags/nu.svg +++ b/core/img/flags/nu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/nz.svg b/core/img/flags/nz.svg index 915c943e1..e32ca96f0 100644 --- a/core/img/flags/nz.svg +++ b/core/img/flags/nz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/olympic.svg b/core/img/flags/olympic.svg new file mode 100644 index 000000000..2d01b941e --- /dev/null +++ b/core/img/flags/olympic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/om.svg b/core/img/flags/om.svg index b2251f657..b635f0d61 100644 --- a/core/img/flags/om.svg +++ b/core/img/flags/om.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pa.svg b/core/img/flags/pa.svg index 54dd1e376..df309a8c6 100644 --- a/core/img/flags/pa.svg +++ b/core/img/flags/pa.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/paneuropean-union.svg b/core/img/flags/paneuropean-union.svg new file mode 100644 index 000000000..9624ba66f --- /dev/null +++ b/core/img/flags/paneuropean-union.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/paraolympic.svg b/core/img/flags/paraolympic.svg new file mode 100644 index 000000000..2820527f0 --- /dev/null +++ b/core/img/flags/paraolympic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/pc.svg b/core/img/flags/pc.svg new file mode 100644 index 000000000..3843d687a --- /dev/null +++ b/core/img/flags/pc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/pe.svg b/core/img/flags/pe.svg index 12c592046..fea27d9e6 100644 --- a/core/img/flags/pe.svg +++ b/core/img/flags/pe.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pf.svg b/core/img/flags/pf.svg index 2eafb6f41..e41a6f72e 100644 --- a/core/img/flags/pf.svg +++ b/core/img/flags/pf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pg.svg b/core/img/flags/pg.svg index 1e43a9161..9cd91ae9b 100644 --- a/core/img/flags/pg.svg +++ b/core/img/flags/pg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ph.svg b/core/img/flags/ph.svg index 214c60797..8851b35c5 100644 --- a/core/img/flags/ph.svg +++ b/core/img/flags/ph.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pirate.svg b/core/img/flags/pirate.svg new file mode 100644 index 000000000..1bd7aec7c --- /dev/null +++ b/core/img/flags/pirate.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/pk.svg b/core/img/flags/pk.svg index 2eb6f44bf..e3b8522d2 100644 --- a/core/img/flags/pk.svg +++ b/core/img/flags/pk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pl.svg b/core/img/flags/pl.svg index 43ea62ae5..1e3eb2cb4 100644 --- a/core/img/flags/pl.svg +++ b/core/img/flags/pl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pm.svg b/core/img/flags/pm.svg index 42107eb22..e2e89eb54 100644 --- a/core/img/flags/pm.svg +++ b/core/img/flags/pm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pn.svg b/core/img/flags/pn.svg index b9bb0a985..6ab042421 100644 --- a/core/img/flags/pn.svg +++ b/core/img/flags/pn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pr.svg b/core/img/flags/pr.svg index b5df0bc9f..9ecfd91e5 100644 --- a/core/img/flags/pr.svg +++ b/core/img/flags/pr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ps.svg b/core/img/flags/ps.svg index 056421fdf..c897e109f 100644 --- a/core/img/flags/ps.svg +++ b/core/img/flags/ps.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pt.svg b/core/img/flags/pt.svg index 9de6d1a7c..9e60c63d9 100644 --- a/core/img/flags/pt.svg +++ b/core/img/flags/pt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/pw.svg b/core/img/flags/pw.svg index 7b7675b0f..066556072 100644 --- a/core/img/flags/pw.svg +++ b/core/img/flags/pw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/py.svg b/core/img/flags/py.svg index 8d2653907..b6b3831e1 100644 --- a/core/img/flags/py.svg +++ b/core/img/flags/py.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/qa.svg b/core/img/flags/qa.svg index 40902f3de..e9e6a7a45 100644 --- a/core/img/flags/qa.svg +++ b/core/img/flags/qa.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/rainbow.svg b/core/img/flags/rainbow.svg index 50d3d1267..ea125537a 100644 --- a/core/img/flags/rainbow.svg +++ b/core/img/flags/rainbow.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/re.svg b/core/img/flags/re.svg index 236804138..c38506d4f 100644 --- a/core/img/flags/re.svg +++ b/core/img/flags/re.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/red-crescent.svg b/core/img/flags/red-crescent.svg new file mode 100644 index 000000000..f5585872c --- /dev/null +++ b/core/img/flags/red-crescent.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/red-cross.svg b/core/img/flags/red-cross.svg new file mode 100644 index 000000000..7efc480e4 --- /dev/null +++ b/core/img/flags/red-cross.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ro.svg b/core/img/flags/ro.svg index 47b2e34e5..dca2ed2fc 100644 --- a/core/img/flags/ro.svg +++ b/core/img/flags/ro.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/rs.svg b/core/img/flags/rs.svg index 811b8c8cc..764e29e09 100644 --- a/core/img/flags/rs.svg +++ b/core/img/flags/rs.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ru.svg b/core/img/flags/ru.svg index 615263eef..7d3a929fc 100644 --- a/core/img/flags/ru.svg +++ b/core/img/flags/ru.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/rw.svg b/core/img/flags/rw.svg index a5d8c4053..cd35c2669 100644 --- a/core/img/flags/rw.svg +++ b/core/img/flags/rw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sa.svg b/core/img/flags/sa.svg index 66b97036f..cbcae2bc9 100644 --- a/core/img/flags/sa.svg +++ b/core/img/flags/sa.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sb.svg b/core/img/flags/sb.svg index 90ab86a7a..84190f1ed 100644 --- a/core/img/flags/sb.svg +++ b/core/img/flags/sb.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sc.svg b/core/img/flags/sc.svg index d09e39e5b..8da1e27bf 100644 --- a/core/img/flags/sc.svg +++ b/core/img/flags/sc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sd.svg b/core/img/flags/sd.svg index 09aee0dd8..28af45c34 100644 --- a/core/img/flags/sd.svg +++ b/core/img/flags/sd.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/se.svg b/core/img/flags/se.svg index 2ad7fc6e7..741d07a8b 100644 --- a/core/img/flags/se.svg +++ b/core/img/flags/se.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sealand.svg b/core/img/flags/sealand.svg new file mode 100644 index 000000000..dfb9e6e16 --- /dev/null +++ b/core/img/flags/sealand.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/semaphore-signal.svg b/core/img/flags/semaphore-signal.svg new file mode 100644 index 000000000..71327f456 --- /dev/null +++ b/core/img/flags/semaphore-signal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/sg.svg b/core/img/flags/sg.svg index b7a551dcc..b91f29828 100644 --- a/core/img/flags/sg.svg +++ b/core/img/flags/sg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sh-ac.svg b/core/img/flags/sh-ac.svg new file mode 100644 index 000000000..04c974730 --- /dev/null +++ b/core/img/flags/sh-ac.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/sh-hl.svg b/core/img/flags/sh-hl.svg new file mode 100644 index 000000000..139651de4 --- /dev/null +++ b/core/img/flags/sh-hl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/sh-ta.svg b/core/img/flags/sh-ta.svg new file mode 100644 index 000000000..dc445aa51 --- /dev/null +++ b/core/img/flags/sh-ta.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/sh.svg b/core/img/flags/sh.svg index a4724030d..139651de4 100644 --- a/core/img/flags/sh.svg +++ b/core/img/flags/sh.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/si.svg b/core/img/flags/si.svg index aac42e37b..360458c22 100644 --- a/core/img/flags/si.svg +++ b/core/img/flags/si.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sj.svg b/core/img/flags/sj.svg index c5123a2bc..efcff85ee 100644 --- a/core/img/flags/sj.svg +++ b/core/img/flags/sj.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sk.svg b/core/img/flags/sk.svg index b7288f966..80643adce 100644 --- a/core/img/flags/sk.svg +++ b/core/img/flags/sk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sl.svg b/core/img/flags/sl.svg index f148bcfa9..20a8d1b03 100644 --- a/core/img/flags/sl.svg +++ b/core/img/flags/sl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sm.svg b/core/img/flags/sm.svg index b5c5eebdb..42e1e3387 100644 --- a/core/img/flags/sm.svg +++ b/core/img/flags/sm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sn.svg b/core/img/flags/sn.svg index 428a7e83c..a79864580 100644 --- a/core/img/flags/sn.svg +++ b/core/img/flags/sn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/so.svg b/core/img/flags/so.svg index 83e49ff00..cd6bc9aa8 100644 --- a/core/img/flags/so.svg +++ b/core/img/flags/so.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/somaliland.svg b/core/img/flags/somaliland.svg new file mode 100644 index 000000000..92f41f27f --- /dev/null +++ b/core/img/flags/somaliland.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/south-american-union.svg b/core/img/flags/south-american-union.svg new file mode 100644 index 000000000..abe201f00 --- /dev/null +++ b/core/img/flags/south-american-union.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/south-ossetia.svg b/core/img/flags/south-ossetia.svg new file mode 100644 index 000000000..cf135f8be --- /dev/null +++ b/core/img/flags/south-ossetia.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/sr.svg b/core/img/flags/sr.svg index 26993102c..31efc147a 100644 --- a/core/img/flags/sr.svg +++ b/core/img/flags/sr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ss.svg b/core/img/flags/ss.svg index 11700377d..326713680 100644 --- a/core/img/flags/ss.svg +++ b/core/img/flags/ss.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/st.svg b/core/img/flags/st.svg index b7a4c862e..00a6e662f 100644 --- a/core/img/flags/st.svg +++ b/core/img/flags/st.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sv.svg b/core/img/flags/sv.svg index 5bf41ee8c..4afbde9be 100644 --- a/core/img/flags/sv.svg +++ b/core/img/flags/sv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sx.svg b/core/img/flags/sx.svg index 280759a6d..0229a1437 100644 --- a/core/img/flags/sx.svg +++ b/core/img/flags/sx.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sy.svg b/core/img/flags/sy.svg index 3264bb205..07c601867 100644 --- a/core/img/flags/sy.svg +++ b/core/img/flags/sy.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/sz.svg b/core/img/flags/sz.svg index 3a23a7029..5fb849f1b 100644 --- a/core/img/flags/sz.svg +++ b/core/img/flags/sz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tatarstan.svg b/core/img/flags/tatarstan.svg new file mode 100644 index 000000000..e568ac892 --- /dev/null +++ b/core/img/flags/tatarstan.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/tc.svg b/core/img/flags/tc.svg index eab04b089..c94f03d6a 100644 --- a/core/img/flags/tc.svg +++ b/core/img/flags/tc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/td.svg b/core/img/flags/td.svg index af3e64738..6c37c285a 100644 --- a/core/img/flags/td.svg +++ b/core/img/flags/td.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tf.svg b/core/img/flags/tf.svg index d1653d4d3..0c0ec05d0 100644 --- a/core/img/flags/tf.svg +++ b/core/img/flags/tf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tg.svg b/core/img/flags/tg.svg index c19ecc3c7..6e57650bb 100644 --- a/core/img/flags/tg.svg +++ b/core/img/flags/tg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/th.svg b/core/img/flags/th.svg index 2e35ad8c6..e4b51ef59 100644 --- a/core/img/flags/th.svg +++ b/core/img/flags/th.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tibet.svg b/core/img/flags/tibet.svg new file mode 100644 index 000000000..54946db1d --- /dev/null +++ b/core/img/flags/tibet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/tj.svg b/core/img/flags/tj.svg index 719309587..a7b65274c 100644 --- a/core/img/flags/tj.svg +++ b/core/img/flags/tj.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tk.svg b/core/img/flags/tk.svg index 921db5c1a..97ef87b0d 100644 --- a/core/img/flags/tk.svg +++ b/core/img/flags/tk.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tl.svg b/core/img/flags/tl.svg index dced2801f..3581f9412 100644 --- a/core/img/flags/tl.svg +++ b/core/img/flags/tl.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tm.svg b/core/img/flags/tm.svg index 5b661a0f0..aafdc17b3 100644 --- a/core/img/flags/tm.svg +++ b/core/img/flags/tm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tn.svg b/core/img/flags/tn.svg index 02f0336b6..a15f35017 100644 --- a/core/img/flags/tn.svg +++ b/core/img/flags/tn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/to.svg b/core/img/flags/to.svg index 5fd994273..4b1173799 100644 --- a/core/img/flags/to.svg +++ b/core/img/flags/to.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tr.svg b/core/img/flags/tr.svg index ca4fd230c..219f02139 100644 --- a/core/img/flags/tr.svg +++ b/core/img/flags/tr.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/transnistria.svg b/core/img/flags/transnistria.svg new file mode 100644 index 000000000..05acd1637 --- /dev/null +++ b/core/img/flags/transnistria.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/tt.svg b/core/img/flags/tt.svg index 52e108197..91170286b 100644 --- a/core/img/flags/tt.svg +++ b/core/img/flags/tt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/turkic-states.svg b/core/img/flags/turkic-states.svg new file mode 100644 index 000000000..e189e28c6 --- /dev/null +++ b/core/img/flags/turkic-states.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/tv.svg b/core/img/flags/tv.svg index e61acad14..83171c45c 100644 --- a/core/img/flags/tv.svg +++ b/core/img/flags/tv.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tw.svg b/core/img/flags/tw.svg index 0118184ab..be3526bf1 100644 --- a/core/img/flags/tw.svg +++ b/core/img/flags/tw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/tz.svg b/core/img/flags/tz.svg index 69307455c..7f3b4c0c7 100644 --- a/core/img/flags/tz.svg +++ b/core/img/flags/tz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ua.svg b/core/img/flags/ua.svg index d01094f0c..68725d3a6 100644 --- a/core/img/flags/ua.svg +++ b/core/img/flags/ua.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ug.svg b/core/img/flags/ug.svg index c75339821..cee8fa6c5 100644 --- a/core/img/flags/ug.svg +++ b/core/img/flags/ug.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/um.svg b/core/img/flags/um.svg index 4dfe2db18..c67ac254c 100644 --- a/core/img/flags/um.svg +++ b/core/img/flags/um.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/un.svg b/core/img/flags/un.svg new file mode 100644 index 000000000..2ece2ae45 --- /dev/null +++ b/core/img/flags/un.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/unasur.svg b/core/img/flags/unasur.svg index dbd4697ff..abe201f00 100644 --- a/core/img/flags/unasur.svg +++ b/core/img/flags/unasur.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/unknown.svg b/core/img/flags/unknown.svg new file mode 100644 index 000000000..1360c879f --- /dev/null +++ b/core/img/flags/unknown.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/us.svg b/core/img/flags/us.svg index 4dfe2db18..c67ac254c 100644 --- a/core/img/flags/us.svg +++ b/core/img/flags/us.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/uy.svg b/core/img/flags/uy.svg index 95367f20e..8562ed6ac 100644 --- a/core/img/flags/uy.svg +++ b/core/img/flags/uy.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/uz.svg b/core/img/flags/uz.svg index 988209161..5d0d26cdc 100644 --- a/core/img/flags/uz.svg +++ b/core/img/flags/uz.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/va.svg b/core/img/flags/va.svg index fe3e84f73..4dfe0c1e9 100644 --- a/core/img/flags/va.svg +++ b/core/img/flags/va.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/vc.svg b/core/img/flags/vc.svg index ca81abc05..e03c91cdd 100644 --- a/core/img/flags/vc.svg +++ b/core/img/flags/vc.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ve.svg b/core/img/flags/ve.svg index 4cbc14227..a98ae87f5 100644 --- a/core/img/flags/ve.svg +++ b/core/img/flags/ve.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/vg.svg b/core/img/flags/vg.svg index 777c3276e..06a040ab9 100644 --- a/core/img/flags/vg.svg +++ b/core/img/flags/vg.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/vi.svg b/core/img/flags/vi.svg index 0a1eb06ac..daae60b4a 100644 --- a/core/img/flags/vi.svg +++ b/core/img/flags/vi.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/vn.svg b/core/img/flags/vn.svg index 25b434bee..5dced02bb 100644 --- a/core/img/flags/vn.svg +++ b/core/img/flags/vn.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/vu.svg b/core/img/flags/vu.svg index 16ecb2b14..887cd8e29 100644 --- a/core/img/flags/vu.svg +++ b/core/img/flags/vu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/wf.svg b/core/img/flags/wf.svg index afb81d983..f2978afed 100644 --- a/core/img/flags/wf.svg +++ b/core/img/flags/wf.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/ws.svg b/core/img/flags/ws.svg index 5d102ad04..d6de3f9d4 100644 --- a/core/img/flags/ws.svg +++ b/core/img/flags/ws.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/xk.svg b/core/img/flags/xk.svg new file mode 100644 index 000000000..aba4e3149 --- /dev/null +++ b/core/img/flags/xk.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/img/flags/ye.svg b/core/img/flags/ye.svg index daf851b50..63887710e 100644 --- a/core/img/flags/ye.svg +++ b/core/img/flags/ye.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/yt.svg b/core/img/flags/yt.svg index 713137e46..9a0fe8f51 100644 --- a/core/img/flags/yt.svg +++ b/core/img/flags/yt.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/za.svg b/core/img/flags/za.svg index cae964ad9..72bc3999a 100644 --- a/core/img/flags/za.svg +++ b/core/img/flags/za.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/zm.svg b/core/img/flags/zm.svg index eaae7c325..01034c5fd 100644 --- a/core/img/flags/zm.svg +++ b/core/img/flags/zm.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/img/flags/zw.svg b/core/img/flags/zw.svg index da7d78874..a87d24e17 100644 --- a/core/img/flags/zw.svg +++ b/core/img/flags/zw.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/core/package.json b/core/package.json index 33764f942..3d3652e0c 100644 --- a/core/package.json +++ b/core/package.json @@ -106,7 +106,7 @@ }, { "path": "./dist/css/tabler-flags.min.css", - "maxSize": "2.1 kB" + "maxSize": "2.5 kB" }, { "path": "./dist/css/tabler-flags.rtl.css", @@ -114,7 +114,7 @@ }, { "path": "./dist/css/tabler-flags.rtl.min.css", - "maxSize": "2.1 kB" + "maxSize": "2.5 kB" }, { "path": "./dist/css/tabler-marketing.css", diff --git a/core/scss/_variables-deprecated.scss b/core/scss/_variables-deprecated.scss index 5f1b7edfe..d7fb6536f 100644 --- a/core/scss/_variables-deprecated.scss +++ b/core/scss/_variables-deprecated.scss @@ -58,3 +58,14 @@ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml, [flag.name, `\`${flag.flag}\``, `\`.flag-country-${flag.flag}\``]), -) +const categories = ['Countries', 'Territories', 'Unions', 'Other'] +const groups = categories.map((category) => ({ category, flags: flags.filter((flag) => flag.category === category) })) + +// Same list as tables for the page's .md mirror +const markdown = groups + .map(({ category, flags }) => { + const table = markdownTable( + ['Name', 'Code', 'CSS class'], + flags.map((flag) => [flag.name, `\`${flag.flag}\``, `\`.flag-country-${flag.flag}\``]), + ) + return `### ${category}\n\n${table}` + }) + .join('\n\n') --- - - - - - - - - - - - { - flags.map((flag) => ( - - - - - - - )) - } - -
FlagNameCountry codeCSS class
-
-
{flag.name} - {flag.flag} - - .flag-country-{flag.flag} -
+{ + groups.map(({ category, flags }) => ( + +

{category}

+ + + + + + + + + + + {flags.map((flag) => ( + + + + + + + ))} + +
FlagNameCodeCSS class
+
+
{flag.name} + {flag.flag} + + .flag-country-{flag.flag} +
+
+ )) +} diff --git a/docs/content/ui/plugins/flags.mdx b/docs/content/ui/plugins/flags.mdx index 17f552040..e9d2771a4 100644 --- a/docs/content/ui/plugins/flags.mdx +++ b/docs/content/ui/plugins/flags.mdx @@ -1,6 +1,6 @@ --- title: Flags -summary: The flags plugin adds country flags as CSS classes, for language switchers, address forms and phone number fields. +summary: The flags plugin adds over 300 country, territory and organisation flags as CSS classes, for language switchers, address forms and phone number fields. description: Display country flags with the Tabler flags plugin. Add a flag with two CSS classes and scale it with ready-made size modifiers. css-plugins: [flags] source: core/scss/ui/_flags.scss @@ -10,7 +10,7 @@ classnames: desc: Container element, a rounded rectangle holding one flag color: - class: flag-country-{code} - desc: The country to show, by ISO code - for example flag-country-pl or flag-country-us + desc: The flag to show, by ISO code or slug - for example flag-country-pl, flag-country-us or flag-country-european-union size: - class: flag-{size} desc: From flag-xxs to flag-2xl; the default matches an avatar @@ -38,7 +38,9 @@ Add the `flag` class to an element and a country class from the list below. ## Country flags -The country class is `flag-country-` followed by the two-letter country code, for example `.flag-country-ad` for Andorra. The full list is at the end of this page. +The country class is `flag-country-` followed by the two-letter ISO code, for example `.flag-country-ad` for Andorra. Flags of organisations and other flags without an ISO code use a slug instead, for example `.flag-country-african-union`. The full list is at the end of this page. + +The flags come from [Tabler Flags](https://github.com/tabler/tabler-flags), which also ships them as SVG and PNG files and as React, Vue, Preact and Astro components. @@ -60,7 +62,7 @@ Add a size class from `flag-xs` to `flag-xl` to scale the flag. The names follow ## Flags list -All available countries: +All available flags, grouped by category: diff --git a/package.json b/package.json index 01286270a..efd3e032a 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "generate:sri": "tsx .build/generate-sri.ts", "import:icons": "tsx .build/import-icons.ts", "import:illustrations": "tsx .build/import-illustrations.ts", + "import:flags": "tsx .build/import-flags.ts", "import:payments": "tsx .build/import-payments.ts", "optimize:svg": "tsx .build/optimize-svg.ts", "update:icons": "pnpm up -w @tabler/icons@latest && pnpm run import:icons", diff --git a/preview/pages/flags.astro b/preview/pages/flags.astro index 137a98fb7..090e296e8 100644 --- a/preview/pages/flags.astro +++ b/preview/pages/flags.astro @@ -7,29 +7,41 @@ import flags from '@data/flags.json' import CardTitle from '@ui/CardTitle.astro' import DocsLink from '@ui/DocsLink.astro' +const categories = ['Countries', 'Territories', 'Unions', 'Other'] +const groups = categories.map((category) => ({ category, flags: flags.filter((flag) => flag.category === category) })) + // 21 filler divs for flexbox layout. const fillers = Array.from({ length: 21 }) --- - - - List of all flags - - -
-
- { - flags.map((country) => ( - - - - )) - } - {fillers.map(() =>
)} +
+ { + groups.map(({ category, flags }) => ( +
+ + + {category} + {flags.length} flags + + +
+
+ {flags.map((flag) => ( + + + + ))} + {fillers.map(() => ( +
+ ))} +
+
+ +
-
- - + )) + } +
diff --git a/screenshots/pages/flags-list.astro b/screenshots/pages/flags-list.astro index 6064b7bbf..ee78bbb40 100644 --- a/screenshots/pages/flags-list.astro +++ b/screenshots/pages/flags-list.astro @@ -2,8 +2,9 @@ import ScreenshotLayout from '../layouts/ScreenshotLayout.astro' import allFlags from '@data/flags.json' -// 12 most popular countries, by population/economy/recognizability. -const popularCodes = ['us', 'gb', 'de', 'fr', 'cn', 'jp', 'in', 'br', 'ca', 'au', 'pl', 'es'] +// 16 popular flags: the most recognizable countries plus two organisations +// (EU, UN) from the Tabler Flags set, in a 4x4 grid. +const popularCodes = ['us', 'gb', 'de', 'fr', 'es', 'it', 'pl', 'ua', 'cn', 'jp', 'in', 'kr', 'br', 'ca', 'eu', 'un'] const flags = popularCodes.map((code) => allFlags.find((country) => country.flag === code)).filter((country) => country !== undefined) --- diff --git a/shared/data/flags.json b/shared/data/flags.json index 381483c57..79bd7d41b 100644 --- a/shared/data/flags.json +++ b/shared/data/flags.json @@ -1,1006 +1,1522 @@ [ { - "name": "Andorra", - "flag": "ad" - }, - { - "name": "United Arab Emirates", - "flag": "ae" + "name": "Abkhazia", + "flag": "abkhazia", + "category": "Territories" }, { "name": "Afghanistan", - "flag": "af" + "flag": "af", + "category": "Countries" }, { - "name": "Antigua", - "flag": "ag" + "name": "African Union", + "flag": "african-union", + "category": "Unions" }, { - "name": "Anguilla", - "flag": "ai" + "name": "Åland Islands", + "flag": "ax", + "category": "Territories" }, { - "name": "Armenia", - "flag": "am" - }, - { - "name": "Angolan", - "flag": "ao" - }, - { - "name": "Antarctica", - "flag": "aq" - }, - { - "name": "Argentina", - "flag": "ar" - }, - { - "name": "American Samoa", - "flag": "as" - }, - { - "name": "Austria", - "flag": "at" - }, - { - "name": "Australia", - "flag": "au" - }, - { - "name": "Aruba", - "flag": "aw" - }, - { - "name": "Aslan Islands", - "flag": "ax" - }, - { - "name": "Azerbaijan", - "flag": "az" - }, - { - "name": "Bosnian", - "flag": "ba" - }, - { - "name": "Barbados", - "flag": "bb" - }, - { - "name": "Belgium", - "flag": "be" - }, - { - "name": "Burkina Faso", - "flag": "bf" - }, - { - "name": "Bulgaria", - "flag": "bg" - }, - { - "name": "Bahrain", - "flag": "bh" - }, - { - "name": "Burundi", - "flag": "bi" - }, - { - "name": "Benin", - "flag": "bj" - }, - { - "name": "Saint-Barthélemy", - "flag": "bl" - }, - { - "name": "Bermuda", - "flag": "bm" - }, - { - "name": "Bruneian", - "flag": "bn" - }, - { - "name": "Bolivia", - "flag": "bo" - }, - { - "name": "Bonaire", - "flag": "bq-bo" - }, - { - "name": "Brazil", - "flag": "br" - }, - { - "name": "Bahamas", - "flag": "bs" - }, - { - "name": "Bhutan", - "flag": "bt" - }, - { - "name": "Bouvet Island", - "flag": "bv" - }, - { - "name": "Batswana", - "flag": "bw" - }, - { - "name": "Belarus", - "flag": "by" - }, - { - "name": "Belize", - "flag": "bz" - }, - { - "name": "Canada", - "flag": "ca" - }, - { - "name": "Cocos Island", - "flag": "cc" - }, - { - "name": "Democratic Republic of Congo", - "flag": "cd" - }, - { - "name": "Central African Republic", - "flag": "cf" - }, - { - "name": "Republic of the Congo", - "flag": "cg" - }, - { - "name": "Switzerland", - "flag": "ch" - }, - { - "name": "Ivory Coast", - "flag": "ci" - }, - { - "name": "Cook Island", - "flag": "ck" - }, - { - "name": "Chile", - "flag": "cl" - }, - { - "name": "Cameroon", - "flag": "cm" - }, - { - "name": "China", - "flag": "cn" - }, - { - "name": "Colombia", - "flag": "co" - }, - { - "name": "Costa Rica", - "flag": "cr" - }, - { - "name": "Cuba", - "flag": "cu" - }, - { - "name": "Cape Verde", - "flag": "cv" - }, - { - "name": "Curacao", - "flag": "cw" - }, - { - "name": "Christmas Island", - "flag": "cx" - }, - { - "name": "Cyprus", - "flag": "cy" - }, - { - "name": "Czech Republic", - "flag": "cz" - }, - { - "name": "Germany", - "flag": "de" - }, - { - "name": "Djibouti", - "flag": "dj" - }, - { - "name": "Denmark", - "flag": "dk" - }, - { - "name": "Dominica", - "flag": "dm" - }, - { - "name": "Dominican Republic", - "flag": "do" + "name": "Albania", + "flag": "al", + "category": "Countries" }, { "name": "Algeria", - "flag": "dz" + "flag": "dz", + "category": "Countries" }, { - "name": "Ecuador", - "flag": "ec" + "name": "American Samoa", + "flag": "as", + "category": "Territories" }, { - "name": "Estonia", - "flag": "ee" + "name": "Andorra", + "flag": "ad", + "category": "Countries" }, { - "name": "Egypt", - "flag": "eg" + "name": "Angola", + "flag": "ao", + "category": "Countries" }, { - "name": "Sahrawi", - "flag": "eh" + "name": "Anguilla", + "flag": "ai", + "category": "Territories" }, { - "name": "Eritrea", - "flag": "er" + "name": "Antarctica", + "flag": "aq", + "category": "Territories" }, { - "name": "Spain", - "flag": "es" + "name": "Antigua and Barbuda", + "flag": "ag", + "category": "Countries" }, { - "name": "Ethiopia", - "flag": "et" + "name": "Arab League", + "flag": "arab-league", + "category": "Unions" }, { - "name": "European Union", - "flag": "eu" + "name": "Argentina", + "flag": "ar", + "category": "Countries" }, { - "name": "Finland", - "flag": "fi" + "name": "Armenia", + "flag": "am", + "category": "Countries" }, { - "name": "Fiji", - "flag": "fj" + "name": "Aruba", + "flag": "aw", + "category": "Territories" }, { - "name": "Falkland Islands", - "flag": "fk" + "name": "Ascension Island", + "flag": "sh-ac", + "category": "Territories" }, { - "name": "Federate States of Micronesia", - "flag": "fm" + "name": "ASEAN Union", + "flag": "asean", + "category": "Unions" }, { - "name": "Faroe Islands", - "flag": "fo" + "name": "Australia", + "flag": "au", + "category": "Countries" }, { - "name": "France", - "flag": "fr" + "name": "Austria", + "flag": "at", + "category": "Countries" }, { - "name": "Gabon", - "flag": "ga" + "name": "Azerbaijan", + "flag": "az", + "category": "Countries" }, { - "name": "Great Britain", - "flag": "gb" + "name": "Bahamas", + "flag": "bs", + "category": "Countries" }, { - "name": "England", - "flag": "gb-eng" + "name": "Bahrain", + "flag": "bh", + "category": "Countries" }, { - "name": "Nothern Ireland", - "flag": "gb-nir" + "name": "Bangladesh", + "flag": "bd", + "category": "Countries" }, { - "name": "Scotland", - "flag": "gb-sct" + "name": "Barbados", + "flag": "bb", + "category": "Countries" }, { - "name": "Wales", - "flag": "gb-wls" + "name": "Basque Country", + "flag": "es-pv", + "category": "Territories" }, { - "name": "Grenada", - "flag": "gd" + "name": "Belarus", + "flag": "by", + "category": "Countries" }, { - "name": "Georgia", - "flag": "ge" + "name": "Belgium", + "flag": "be", + "category": "Countries" }, { - "name": "Guyana", - "flag": "gf" + "name": "Belize", + "flag": "bz", + "category": "Countries" }, { - "name": "Guernsey", - "flag": "gg" + "name": "Benin", + "flag": "bj", + "category": "Countries" }, { - "name": "Ghana", - "flag": "gh" + "name": "Bermuda", + "flag": "bm", + "category": "Territories" }, { - "name": "Gibraltar", - "flag": "gi" + "name": "Bhutan", + "flag": "bt", + "category": "Countries" }, { - "name": "Greenland", - "flag": "gl" + "name": "Bolivia", + "flag": "bo", + "category": "Countries" }, { - "name": "Gambia", - "flag": "gm" + "name": "Bonaire", + "flag": "bq1", + "category": "Territories" }, { - "name": "Guinea", - "flag": "gn" + "name": "Bosnia and Herzegovina", + "flag": "ba", + "category": "Countries" }, { - "name": "Guadeloupe", - "flag": "gp" + "name": "Botswana", + "flag": "bw", + "category": "Countries" }, { - "name": "Equatorial Guinea", - "flag": "gq" + "name": "Bouvet Island", + "flag": "bv", + "category": "Territories" }, { - "name": "Greece", - "flag": "gr" - }, - { - "name": "South Georgia", - "flag": "gs" - }, - { - "name": "Guatemala", - "flag": "gt" - }, - { - "name": "Guam", - "flag": "gu" - }, - { - "name": "Guinea-Bissau", - "flag": "gw" - }, - { - "name": "Guyana", - "flag": "gy" - }, - { - "name": "Hong Kong", - "flag": "hk" - }, - { - "name": "Heard and McDonald Islands", - "flag": "hm" - }, - { - "name": "Honduras", - "flag": "hn" - }, - { - "name": "Croatia", - "flag": "hr" - }, - { - "name": "Haiti", - "flag": "ht" - }, - { - "name": "Hungary", - "flag": "hu" - }, - { - "name": "Indonesia", - "flag": "id" - }, - { - "name": "Ireland", - "flag": "ie" - }, - { - "name": "Israel", - "flag": "il" - }, - { - "name": "Isle of Man", - "flag": "im" - }, - { - "name": "India", - "flag": "in" + "name": "Brazil", + "flag": "br", + "category": "Countries" }, { "name": "British Indian Ocean Territory", - "flag": "io" - }, - { - "name": "Iraq", - "flag": "iq" - }, - { - "name": "Iran", - "flag": "ir" - }, - { - "name": "Iceland", - "flag": "is" - }, - { - "name": "Italy", - "flag": "it" - }, - { - "name": "Jersey", - "flag": "je" - }, - { - "name": "Jamaica", - "flag": "jm" - }, - { - "name": "Jordan", - "flag": "jo" - }, - { - "name": "Japan", - "flag": "jp" - }, - { - "name": "Kenya", - "flag": "ke" - }, - { - "name": "Kyrgyzstan", - "flag": "kg" - }, - { - "name": "Cambodia", - "flag": "kh" - }, - { - "name": "Kiribati", - "flag": "ki" - }, - { - "name": "Comoros", - "flag": "km" - }, - { - "name": "Saint Kitts and Nevis", - "flag": "kn" - }, - { - "name": "North Korea", - "flag": "kp" - }, - { - "name": "South Korea", - "flag": "kr" - }, - { - "name": "Kuwait", - "flag": "kw" - }, - { - "name": "Cayman Islands", - "flag": "ky" - }, - { - "name": "Kazakhstan", - "flag": "kz" - }, - { - "name": "Laos", - "flag": "la" - }, - { - "name": "Lebanese", - "flag": "lb" - }, - { - "name": "Saint Lucia", - "flag": "lc" - }, - { - "name": "Liechtenstein", - "flag": "li" - }, - { - "name": "Sri Lanka", - "flag": "lk" - }, - { - "name": "Liberia", - "flag": "lr" - }, - { - "name": "Lesotho", - "flag": "ls" - }, - { - "name": "Lithuania", - "flag": "lt" - }, - { - "name": "Luxembourg", - "flag": "lu" - }, - { - "name": "Latvia", - "flag": "lv" - }, - { - "name": "Libya", - "flag": "ly" - }, - { - "name": "Morocco", - "flag": "ma" - }, - { - "name": "Monaco", - "flag": "mc" - }, - { - "name": "Moldova", - "flag": "md" - }, - { - "name": "Montenegro", - "flag": "me" - }, - { - "name": "Saint Martin", - "flag": "mf" - }, - { - "name": "Madagascar", - "flag": "mg" - }, - { - "name": "Marshall Islands", - "flag": "mh" - }, - { - "name": "Macedonia", - "flag": "mk" - }, - { - "name": "Mali", - "flag": "ml" - }, - { - "name": "Myanmar", - "flag": "mm" - }, - { - "name": "Mongolia", - "flag": "mn" - }, - { - "name": "Macao", - "flag": "mo" - }, - { - "name": "Nothern Mariana Islands", - "flag": "mp" - }, - { - "name": "Martinique", - "flag": "mq" - }, - { - "name": "Mauritania", - "flag": "mr" - }, - { - "name": "Montserrat", - "flag": "ms" - }, - { - "name": "Malta", - "flag": "mt" - }, - { - "name": "Mauritius", - "flag": "mu" - }, - { - "name": "Maldives", - "flag": "mv" - }, - { - "name": "Malawi", - "flag": "mw" - }, - { - "name": "Mexico", - "flag": "mx" - }, - { - "name": "Malaysia", - "flag": "my" - }, - { - "name": "Mozambique", - "flag": "mz" - }, - { - "name": "Namibia", - "flag": "na" - }, - { - "name": "New Caledonia", - "flag": "nc" - }, - { - "name": "Niger", - "flag": "ne" - }, - { - "name": "Norfolk Island", - "flag": "nf" - }, - { - "name": "Nigeria", - "flag": "ng" - }, - { - "name": "Nicaragua", - "flag": "ni" - }, - { - "name": "Norway", - "flag": "no" - }, - { - "name": "Nepal", - "flag": "np" - }, - { - "name": "Nauruan", - "flag": "nr" - }, - { - "name": "Niger", - "flag": "nu" - }, - { - "name": "New Zealand", - "flag": "nz" - }, - { - "name": "Oman", - "flag": "om" - }, - { - "name": "Panama", - "flag": "pa" - }, - { - "name": "Peru", - "flag": "pe" - }, - { - "name": "French Polynesia", - "flag": "pf" - }, - { - "name": "Papua New Guinea", - "flag": "pg" - }, - { - "name": "Philippines", - "flag": "ph" - }, - { - "name": "Pakistan", - "flag": "pk" - }, - { - "name": "Poland", - "flag": "pl" - }, - { - "name": "Saint Pierre", - "flag": "pm" - }, - { - "name": "Pitcairn Islands", - "flag": "pn" - }, - { - "name": "Puerto Rico", - "flag": "pr" - }, - { - "name": "Palestine", - "flag": "ps" - }, - { - "name": "Portugal", - "flag": "pt" - }, - { - "name": "Palau", - "flag": "pw" - }, - { - "name": "Paraguay", - "flag": "py" - }, - { - "name": "Qatar", - "flag": "qa" - }, - { - "name": "Reunion Island", - "flag": "re" - }, - { - "name": "Romania", - "flag": "ro" - }, - { - "name": "Serbia", - "flag": "rs" - }, - { - "name": "Russia", - "flag": "ru" - }, - { - "name": "Rwanda", - "flag": "rw" - }, - { - "name": "Saudi Arabia", - "flag": "sa" - }, - { - "name": "Solomon Islands", - "flag": "sb" - }, - { - "name": "Seychelles", - "flag": "sc" - }, - { - "name": "Sudan", - "flag": "sd" - }, - { - "name": "Sweden", - "flag": "se" - }, - { - "name": "Singapore", - "flag": "sg" - }, - { - "name": "Saint Helena", - "flag": "sh" - }, - { - "name": "Slovenia", - "flag": "si" - }, - { - "name": "Svalbard Island", - "flag": "sj" - }, - { - "name": "Slovakia", - "flag": "sk" - }, - { - "name": "Sierra Leone", - "flag": "sl" - }, - { - "name": "San Marino", - "flag": "sm" - }, - { - "name": "Senegal", - "flag": "sn" - }, - { - "name": "Somalia", - "flag": "so" - }, - { - "name": "Suriname", - "flag": "sr" - }, - { - "name": "South Sudan", - "flag": "ss" - }, - { - "name": "Sao Tome", - "flag": "st" - }, - { - "name": "El Salvador", - "flag": "sv" - }, - { - "name": "Sint Maarten", - "flag": "sx" - }, - { - "name": "Syria", - "flag": "sy" - }, - { - "name": "Swaziland", - "flag": "sz" - }, - { - "name": "Turks and Caicos", - "flag": "tc" - }, - { - "name": "Chad", - "flag": "td" - }, - { - "name": "French Southern and Antarctic Lands", - "flag": "tf" - }, - { - "name": "Togo", - "flag": "tg" - }, - { - "name": "Thailand", - "flag": "th" - }, - { - "name": "Tajikistan", - "flag": "tj" - }, - { - "name": "Tokelau", - "flag": "tk" - }, - { - "name": "Timor Leste", - "flag": "tl" - }, - { - "name": "Turkmenistan", - "flag": "tm" - }, - { - "name": "Tunisia", - "flag": "tn" - }, - { - "name": "Tonga", - "flag": "to" - }, - { - "name": "Turkey", - "flag": "tr" - }, - { - "name": "Trinidad and Tobago", - "flag": "tt" - }, - { - "name": "Tuvalu", - "flag": "tv" - }, - { - "name": "Taiwan", - "flag": "tw" - }, - { - "name": "Tanzania", - "flag": "tz" - }, - { - "name": "Ukraine", - "flag": "ua" - }, - { - "name": "Uganda", - "flag": "ug" - }, - { - "name": "United States Minor Islands", - "flag": "um" - }, - { - "name": "United States of America", - "flag": "us" - }, - { - "name": "Uruguay", - "flag": "uy" - }, - { - "name": "Uzbekistan", - "flag": "uz" - }, - { - "name": "Vatican City", - "flag": "va" - }, - { - "name": "Saint Vincent", - "flag": "vc" - }, - { - "name": "Venezuela", - "flag": "ve" + "flag": "io", + "category": "Territories" }, { "name": "British Virgin Islands", - "flag": "vg" + "flag": "vg", + "category": "Territories" }, { - "name": "Virgiin Islands", - "flag": "vi" + "name": "Brunei", + "flag": "bn", + "category": "Countries" }, { - "name": "Vietnam", - "flag": "vn" + "name": "Bulgaria", + "flag": "bg", + "category": "Countries" }, { - "name": "Vanuatu", - "flag": "vu" + "name": "Burkina Faso", + "flag": "bf", + "category": "Countries" }, { - "name": "Wallis and Futuna", - "flag": "wf" + "name": "Burundi", + "flag": "bi", + "category": "Countries" }, { - "name": "Samoa", - "flag": "ws" + "name": "Cabinda", + "flag": "cabinda", + "category": "Territories" }, { - "name": "Yemen", - "flag": "ye" + "name": "Cambodia", + "flag": "kh", + "category": "Countries" + }, + { + "name": "Cameroon", + "flag": "cm", + "category": "Countries" + }, + { + "name": "Canada", + "flag": "ca", + "category": "Countries" + }, + { + "name": "Canary Islands", + "flag": "ic", + "category": "Territories" + }, + { + "name": "Cape Verde", + "flag": "cv", + "category": "Countries" + }, + { + "name": "Caribbean Netherlands", + "flag": "bq", + "category": "Territories" + }, + { + "name": "Catalonia", + "flag": "es-ct", + "category": "Territories" + }, + { + "name": "Cayman Islands", + "flag": "ky", + "category": "Territories" + }, + { + "name": "Central African Republic", + "flag": "cf", + "category": "Countries" + }, + { + "name": "Central European Free Trade Agreement", + "flag": "cefta", + "category": "Unions" + }, + { + "name": "Chad", + "flag": "td", + "category": "Countries" + }, + { + "name": "Chechnya", + "flag": "chechnya", + "category": "Territories" + }, + { + "name": "Chequered", + "flag": "chequered", + "category": "Other" + }, + { + "name": "Chile", + "flag": "cl", + "category": "Countries" + }, + { + "name": "China", + "flag": "cn", + "category": "Countries" + }, + { + "name": "Christmas Island", + "flag": "cx", + "category": "Territories" + }, + { + "name": "Cocos (Keeling) Islands", + "flag": "cc", + "category": "Territories" + }, + { + "name": "Colombia", + "flag": "co", + "category": "Countries" + }, + { + "name": "Commonwealth of Independent States", + "flag": "commonwealth-of-independent-states", + "category": "Unions" + }, + { + "name": "Commonwealth of Nations", + "flag": "commonwealth-of-nations", + "category": "Unions" + }, + { + "name": "Comoros", + "flag": "km", + "category": "Countries" + }, + { + "name": "Cook Islands", + "flag": "ck", + "category": "Territories" + }, + { + "name": "Costa Rica", + "flag": "cr", + "category": "Countries" + }, + { + "name": "Croatia", + "flag": "hr", + "category": "Countries" + }, + { + "name": "Cuba", + "flag": "cu", + "category": "Countries" + }, + { + "name": "Curaçao", + "flag": "cw", + "category": "Territories" + }, + { + "name": "Cyprus", + "flag": "cy", + "category": "Countries" + }, + { + "name": "Czechia", + "flag": "cz", + "category": "Countries" + }, + { + "name": "Democratic Republic of the Congo", + "flag": "cd", + "category": "Countries" + }, + { + "name": "Denmark", + "flag": "dk", + "category": "Countries" + }, + { + "name": "Diego Garcia", + "flag": "dg", + "category": "Territories" + }, + { + "name": "Diver Down", + "flag": "diver-down", + "category": "Other" + }, + { + "name": "Djibouti", + "flag": "dj", + "category": "Countries" + }, + { + "name": "Dominica", + "flag": "dm", + "category": "Countries" + }, + { + "name": "Dominican Republic", + "flag": "do", + "category": "Countries" + }, + { + "name": "East African Community", + "flag": "eac", + "category": "Unions" + }, + { + "name": "East Timor", + "flag": "tl", + "category": "Countries" + }, + { + "name": "Ecuador", + "flag": "ec", + "category": "Countries" + }, + { + "name": "Egypt", + "flag": "eg", + "category": "Countries" + }, + { + "name": "El Salvador", + "flag": "sv", + "category": "Countries" + }, + { + "name": "England", + "flag": "gb-eng", + "category": "Territories" + }, + { + "name": "Equatorial Guinea", + "flag": "gq", + "category": "Countries" + }, + { + "name": "Eritrea", + "flag": "er", + "category": "Countries" + }, + { + "name": "Estonia", + "flag": "ee", + "category": "Countries" + }, + { + "name": "Eswatini", + "flag": "sz", + "category": "Countries" + }, + { + "name": "Ethiopia", + "flag": "et", + "category": "Countries" + }, + { + "name": "European Union", + "flag": "eu", + "category": "Unions" + }, + { + "name": "Falkland Islands", + "flag": "fk", + "category": "Territories" + }, + { + "name": "Faroe Islands", + "flag": "fo", + "category": "Territories" + }, + { + "name": "Fiji", + "flag": "fj", + "category": "Countries" + }, + { + "name": "Finland", + "flag": "fi", + "category": "Countries" + }, + { + "name": "France", + "flag": "fr", + "category": "Countries" + }, + { + "name": "French Guiana", + "flag": "gf", + "category": "Territories" + }, + { + "name": "French Polynesia", + "flag": "pf", + "category": "Territories" + }, + { + "name": "French Southern Territories", + "flag": "tf", + "category": "Territories" + }, + { + "name": "Gabon", + "flag": "ga", + "category": "Countries" + }, + { + "name": "Galicia", + "flag": "es-ga", + "category": "Territories" + }, + { + "name": "Gambia", + "flag": "gm", + "category": "Countries" + }, + { + "name": "Georgia", + "flag": "ge", + "category": "Countries" + }, + { + "name": "Germany", + "flag": "de", + "category": "Countries" + }, + { + "name": "Ghana", + "flag": "gh", + "category": "Countries" + }, + { + "name": "Gibraltar", + "flag": "gi", + "category": "Territories" + }, + { + "name": "Greece", + "flag": "gr", + "category": "Countries" + }, + { + "name": "Greenland", + "flag": "gl", + "category": "Territories" + }, + { + "name": "Grenada", + "flag": "gd", + "category": "Countries" + }, + { + "name": "Guadeloupe", + "flag": "gp", + "category": "Territories" + }, + { + "name": "Guam", + "flag": "gu", + "category": "Territories" + }, + { + "name": "Guatemala", + "flag": "gt", + "category": "Countries" + }, + { + "name": "Guernsey", + "flag": "gg", + "category": "Territories" + }, + { + "name": "Guinea", + "flag": "gn", + "category": "Countries" + }, + { + "name": "Guinea-Bissau", + "flag": "gw", + "category": "Countries" + }, + { + "name": "Guyana", + "flag": "gy", + "category": "Countries" + }, + { + "name": "Haiti", + "flag": "ht", + "category": "Countries" + }, + { + "name": "Heard and McDonald Islands", + "flag": "hm", + "category": "Territories" + }, + { + "name": "Honduras", + "flag": "hn", + "category": "Countries" + }, + { + "name": "Hong Kong", + "flag": "hk", + "category": "Territories" + }, + { + "name": "Hungary", + "flag": "hu", + "category": "Countries" + }, + { + "name": "Iceland", + "flag": "is", + "category": "Countries" + }, + { + "name": "India", + "flag": "in", + "category": "Countries" + }, + { + "name": "Indonesia", + "flag": "id", + "category": "Countries" + }, + { + "name": "Iran", + "flag": "ir", + "category": "Countries" + }, + { + "name": "Iraq", + "flag": "iq", + "category": "Countries" + }, + { + "name": "Ireland", + "flag": "ie", + "category": "Countries" + }, + { + "name": "Isle of Man", + "flag": "im", + "category": "Territories" + }, + { + "name": "Israel", + "flag": "il", + "category": "Countries" + }, + { + "name": "Italy", + "flag": "it", + "category": "Countries" + }, + { + "name": "Ivory Coast", + "flag": "ci", + "category": "Countries" + }, + { + "name": "Jamaica", + "flag": "jm", + "category": "Countries" + }, + { + "name": "Japan", + "flag": "jp", + "category": "Countries" + }, + { + "name": "Jersey", + "flag": "je", + "category": "Territories" + }, + { + "name": "Jordan", + "flag": "jo", + "category": "Countries" + }, + { + "name": "Jubaland", + "flag": "jubaland", + "category": "Territories" + }, + { + "name": "Kazakhstan", + "flag": "kz", + "category": "Countries" + }, + { + "name": "Kenya", + "flag": "ke", + "category": "Countries" + }, + { + "name": "Kiribati", + "flag": "ki", + "category": "Countries" + }, + { + "name": "Kosovo", + "flag": "xk", + "category": "Countries" + }, + { + "name": "Kurdistan", + "flag": "kurdistan", + "category": "Territories" + }, + { + "name": "Kuwait", + "flag": "kw", + "category": "Countries" + }, + { + "name": "Kyrgyzstan", + "flag": "kg", + "category": "Countries" + }, + { + "name": "Laos", + "flag": "la", + "category": "Countries" + }, + { + "name": "Latvia", + "flag": "lv", + "category": "Countries" + }, + { + "name": "Lebanon", + "flag": "lb", + "category": "Countries" + }, + { + "name": "Lesotho", + "flag": "ls", + "category": "Countries" + }, + { + "name": "Liberia", + "flag": "lr", + "category": "Countries" + }, + { + "name": "Libya", + "flag": "ly", + "category": "Countries" + }, + { + "name": "Liechtenstein", + "flag": "li", + "category": "Countries" + }, + { + "name": "Lithuania", + "flag": "lt", + "category": "Countries" + }, + { + "name": "Luxembourg", + "flag": "lu", + "category": "Countries" + }, + { + "name": "Macau", + "flag": "mo", + "category": "Territories" + }, + { + "name": "Madagascar", + "flag": "mg", + "category": "Countries" + }, + { + "name": "Malawi", + "flag": "mw", + "category": "Countries" + }, + { + "name": "Malaysia", + "flag": "my", + "category": "Countries" + }, + { + "name": "Maldives", + "flag": "mv", + "category": "Countries" + }, + { + "name": "Mali", + "flag": "ml", + "category": "Countries" + }, + { + "name": "Malta", + "flag": "mt", + "category": "Countries" + }, + { + "name": "Maltese Cross", + "flag": "maltese-cross", + "category": "Other" + }, + { + "name": "Marshall Islands", + "flag": "mh", + "category": "Countries" + }, + { + "name": "Martinique", + "flag": "mq", + "category": "Territories" + }, + { + "name": "Mauritania", + "flag": "mr", + "category": "Countries" + }, + { + "name": "Mauritius", + "flag": "mu", + "category": "Countries" }, { "name": "Mayotte", - "flag": "yt" + "flag": "yt", + "category": "Territories" + }, + { + "name": "Mercosur", + "flag": "mercosur", + "category": "Unions" + }, + { + "name": "Mexico", + "flag": "mx", + "category": "Countries" + }, + { + "name": "Micronesia", + "flag": "fm", + "category": "Countries" + }, + { + "name": "Moldova", + "flag": "md", + "category": "Countries" + }, + { + "name": "Monaco", + "flag": "mc", + "category": "Countries" + }, + { + "name": "Mongolia", + "flag": "mn", + "category": "Countries" + }, + { + "name": "Montenegro", + "flag": "me", + "category": "Countries" + }, + { + "name": "Montserrat", + "flag": "ms", + "category": "Territories" + }, + { + "name": "Morocco", + "flag": "ma", + "category": "Countries" + }, + { + "name": "Mozambique", + "flag": "mz", + "category": "Countries" + }, + { + "name": "Myanmar", + "flag": "mm", + "category": "Countries" + }, + { + "name": "Namibia", + "flag": "na", + "category": "Countries" + }, + { + "name": "NATO", + "flag": "nato", + "category": "Unions" + }, + { + "name": "Nauru", + "flag": "nr", + "category": "Countries" + }, + { + "name": "Nepal", + "flag": "np", + "category": "Countries" + }, + { + "name": "Netherlands", + "flag": "nl", + "category": "Countries" + }, + { + "name": "New Caledonia", + "flag": "nc", + "category": "Territories" + }, + { + "name": "New Zealand", + "flag": "nz", + "category": "Countries" + }, + { + "name": "Nicaragua", + "flag": "ni", + "category": "Countries" + }, + { + "name": "Niger", + "flag": "ne", + "category": "Countries" + }, + { + "name": "Nigeria", + "flag": "ng", + "category": "Countries" + }, + { + "name": "Niue", + "flag": "nu", + "category": "Territories" + }, + { + "name": "Nordic Council", + "flag": "nordic-council", + "category": "Unions" + }, + { + "name": "Norfolk Island", + "flag": "nf", + "category": "Territories" + }, + { + "name": "North Korea", + "flag": "kp", + "category": "Countries" + }, + { + "name": "North Macedonia", + "flag": "mk", + "category": "Countries" + }, + { + "name": "Northern Cyprus", + "flag": "northern-cyprus", + "category": "Territories" + }, + { + "name": "Northern Ireland", + "flag": "gb-nir", + "category": "Territories" + }, + { + "name": "Northern Mariana Islands", + "flag": "mp", + "category": "Territories" + }, + { + "name": "Norway", + "flag": "no", + "category": "Countries" + }, + { + "name": "Olympic", + "flag": "olympic", + "category": "Other" + }, + { + "name": "Oman", + "flag": "om", + "category": "Countries" + }, + { + "name": "Pacific Community", + "flag": "pc", + "category": "Unions" + }, + { + "name": "Pakistan", + "flag": "pk", + "category": "Countries" + }, + { + "name": "Palau", + "flag": "pw", + "category": "Countries" + }, + { + "name": "Pan-European Union", + "flag": "paneuropean-union", + "category": "Unions" + }, + { + "name": "Panama", + "flag": "pa", + "category": "Countries" + }, + { + "name": "Papua New Guinea", + "flag": "pg", + "category": "Countries" + }, + { + "name": "Paraguay", + "flag": "py", + "category": "Countries" + }, + { + "name": "Paraolympic", + "flag": "paraolympic", + "category": "Other" + }, + { + "name": "Peru", + "flag": "pe", + "category": "Countries" + }, + { + "name": "Philippines", + "flag": "ph", + "category": "Countries" + }, + { + "name": "Pirate", + "flag": "pirate", + "category": "Other" + }, + { + "name": "Pitcairn Islands", + "flag": "pn", + "category": "Territories" + }, + { + "name": "Poland", + "flag": "pl", + "category": "Countries" + }, + { + "name": "Portugal", + "flag": "pt", + "category": "Countries" + }, + { + "name": "Puerto Rico", + "flag": "pr", + "category": "Territories" + }, + { + "name": "Qatar", + "flag": "qa", + "category": "Countries" + }, + { + "name": "Rainbow", + "flag": "rainbow", + "category": "Other" + }, + { + "name": "Red Crescent", + "flag": "red-crescent", + "category": "Other" + }, + { + "name": "Red Cross", + "flag": "red-cross", + "category": "Other" + }, + { + "name": "Republic of the Congo", + "flag": "cg", + "category": "Countries" + }, + { + "name": "Réunion", + "flag": "re", + "category": "Territories" + }, + { + "name": "Romania", + "flag": "ro", + "category": "Countries" + }, + { + "name": "Russia", + "flag": "ru", + "category": "Countries" + }, + { + "name": "Rwanda", + "flag": "rw", + "category": "Countries" + }, + { + "name": "Saba", + "flag": "bq2", + "category": "Territories" + }, + { + "name": "Saint Barthélemy", + "flag": "bl", + "category": "Territories" + }, + { + "name": "Saint Helena", + "flag": "sh-hl", + "category": "Territories" + }, + { + "name": "Saint Helena, Ascension and Tristan da Cunha", + "flag": "sh", + "category": "Territories" + }, + { + "name": "Saint Kitts and Nevis", + "flag": "kn", + "category": "Countries" + }, + { + "name": "Saint Lucia", + "flag": "lc", + "category": "Countries" + }, + { + "name": "Saint Martin", + "flag": "mf", + "category": "Territories" + }, + { + "name": "Saint Pierre and Miquelon", + "flag": "pm", + "category": "Territories" + }, + { + "name": "Saint Vincent and the Grenadines", + "flag": "vc", + "category": "Countries" + }, + { + "name": "Samoa", + "flag": "ws", + "category": "Countries" + }, + { + "name": "San Marino", + "flag": "sm", + "category": "Countries" + }, + { + "name": "São Tomé and Príncipe", + "flag": "st", + "category": "Countries" + }, + { + "name": "Saudi Arabia", + "flag": "sa", + "category": "Countries" + }, + { + "name": "Scotland", + "flag": "gb-sct", + "category": "Territories" + }, + { + "name": "Sealand", + "flag": "sealand", + "category": "Territories" + }, + { + "name": "Semaphore Signal", + "flag": "semaphore-signal", + "category": "Other" + }, + { + "name": "Senegal", + "flag": "sn", + "category": "Countries" + }, + { + "name": "Serbia", + "flag": "rs", + "category": "Countries" + }, + { + "name": "Seychelles", + "flag": "sc", + "category": "Countries" + }, + { + "name": "Sierra Leone", + "flag": "sl", + "category": "Countries" + }, + { + "name": "Singapore", + "flag": "sg", + "category": "Countries" + }, + { + "name": "Sint Eustatius", + "flag": "bq3", + "category": "Territories" + }, + { + "name": "Sint Maarten", + "flag": "sx", + "category": "Territories" + }, + { + "name": "Slovakia", + "flag": "sk", + "category": "Countries" + }, + { + "name": "Slovenia", + "flag": "si", + "category": "Countries" + }, + { + "name": "Solomon Islands", + "flag": "sb", + "category": "Territories" + }, + { + "name": "Somalia", + "flag": "so", + "category": "Countries" + }, + { + "name": "Somaliland", + "flag": "somaliland", + "category": "Territories" }, { "name": "South Africa", - "flag": "za" + "flag": "za", + "category": "Countries" + }, + { + "name": "South American Union", + "flag": "south-american-union", + "category": "Unions" + }, + { + "name": "South Georgia and the South Sandwich Islands", + "flag": "gs", + "category": "Territories" + }, + { + "name": "South Korea", + "flag": "kr", + "category": "Countries" + }, + { + "name": "South Ossetia", + "flag": "south-ossetia", + "category": "Territories" + }, + { + "name": "South Sudan", + "flag": "ss", + "category": "Countries" + }, + { + "name": "Spain", + "flag": "es", + "category": "Countries" + }, + { + "name": "Sri Lanka", + "flag": "lk", + "category": "Countries" + }, + { + "name": "State of Palestine", + "flag": "ps", + "category": "Countries" + }, + { + "name": "Sudan", + "flag": "sd", + "category": "Countries" + }, + { + "name": "Suriname", + "flag": "sr", + "category": "Countries" + }, + { + "name": "Svalbard and Jan Mayen", + "flag": "sj", + "category": "Territories" + }, + { + "name": "Sweden", + "flag": "se", + "category": "Countries" + }, + { + "name": "Switzerland", + "flag": "ch", + "category": "Countries" + }, + { + "name": "Syria", + "flag": "sy", + "category": "Countries" + }, + { + "name": "Taiwan", + "flag": "tw", + "category": "Territories" + }, + { + "name": "Tajikistan", + "flag": "tj", + "category": "Countries" + }, + { + "name": "Tanzania", + "flag": "tz", + "category": "Countries" + }, + { + "name": "Tatarstan", + "flag": "tatarstan", + "category": "Territories" + }, + { + "name": "Thailand", + "flag": "th", + "category": "Countries" + }, + { + "name": "Tibet", + "flag": "tibet", + "category": "Territories" + }, + { + "name": "Togo", + "flag": "tg", + "category": "Countries" + }, + { + "name": "Tokelau", + "flag": "tk", + "category": "Territories" + }, + { + "name": "Tonga", + "flag": "to", + "category": "Countries" + }, + { + "name": "Transnistria", + "flag": "transnistria", + "category": "Territories" + }, + { + "name": "Trinidad and Tobago", + "flag": "tt", + "category": "Countries" + }, + { + "name": "Tristan da Cunha", + "flag": "sh-ta", + "category": "Territories" + }, + { + "name": "Tunisia", + "flag": "tn", + "category": "Countries" + }, + { + "name": "Turkey", + "flag": "tr", + "category": "Countries" + }, + { + "name": "Turkic States", + "flag": "turkic-states", + "category": "Unions" + }, + { + "name": "Turkmenistan", + "flag": "tm", + "category": "Countries" + }, + { + "name": "Turks and Caicos Islands", + "flag": "tc", + "category": "Territories" + }, + { + "name": "Tuvalu", + "flag": "tv", + "category": "Countries" + }, + { + "name": "Uganda", + "flag": "ug", + "category": "Countries" + }, + { + "name": "Ukraine", + "flag": "ua", + "category": "Countries" + }, + { + "name": "United Arab Emirates", + "flag": "ae", + "category": "Countries" + }, + { + "name": "United Kingdom", + "flag": "gb", + "category": "Countries" + }, + { + "name": "United Nations", + "flag": "un", + "category": "Unions" + }, + { + "name": "United States", + "flag": "us", + "category": "Countries" + }, + { + "name": "United States Minor Outlying Islands", + "flag": "um", + "category": "Territories" + }, + { + "name": "Unknown", + "flag": "unknown", + "category": "Other" + }, + { + "name": "Uruguay", + "flag": "uy", + "category": "Countries" + }, + { + "name": "Uzbekistan", + "flag": "uz", + "category": "Countries" + }, + { + "name": "Vanuatu", + "flag": "vu", + "category": "Countries" + }, + { + "name": "Vatican", + "flag": "va", + "category": "Countries" + }, + { + "name": "Venezuela", + "flag": "ve", + "category": "Countries" + }, + { + "name": "Vietnam", + "flag": "vn", + "category": "Countries" + }, + { + "name": "Virgin Islands", + "flag": "vi", + "category": "Territories" + }, + { + "name": "Wales", + "flag": "gb-wls", + "category": "Territories" + }, + { + "name": "Wallis and Futuna", + "flag": "wf", + "category": "Territories" + }, + { + "name": "Western Sahara", + "flag": "eh", + "category": "Territories" + }, + { + "name": "Yemen", + "flag": "ye", + "category": "Countries" }, { "name": "Zambia", - "flag": "zm" + "flag": "zm", + "category": "Countries" }, { "name": "Zimbabwe", - "flag": "zw" + "flag": "zw", + "category": "Countries" } ] diff --git a/shared/lib/tokens.ts b/shared/lib/tokens.ts index d1d714247..2a29de624 100644 --- a/shared/lib/tokens.ts +++ b/shared/lib/tokens.ts @@ -213,10 +213,11 @@ export type PaymentProvider = (typeof paymentProviders)[number] /** Keys of `$flag-countries` (core/scss/_variables.scss). */ export const flagCountries = [ + 'abkhazia', 'ad', - 'af', 'ae', - 'afrun', + 'af', + 'african-union', 'ag', 'ai', 'al', @@ -224,7 +225,9 @@ export const flagCountries = [ 'ao', 'aq', 'ar', + 'arab-league', 'as', + 'asean', 'at', 'au', 'aw', @@ -243,9 +246,10 @@ export const flagCountries = [ 'bm', 'bn', 'bo', - 'bq-bo', - 'bq-sa', - 'bq-se', + 'bq', + 'bq1', + 'bq2', + 'bq3', 'br', 'bs', 'bt', @@ -254,17 +258,23 @@ export const flagCountries = [ 'by', 'bz', 'ca', + 'cabinda', 'cc', 'cd', + 'cefta', 'cf', 'cg', 'ch', + 'chechnya', + 'chequered', 'ci', 'ck', 'cl', 'cm', 'cn', 'co', + 'commonwealth-of-independent-states', + 'commonwealth-of-nations', 'cr', 'cu', 'cv', @@ -273,17 +283,23 @@ export const flagCountries = [ 'cy', 'cz', 'de', + 'dg', + 'diver-down', 'dj', 'dk', 'dm', 'do', 'dz', + 'eac', 'ec', 'ee', 'eg', 'eh', 'er', 'es', + 'es-ct', + 'es-ga', + 'es-pv', 'et', 'eu', 'fi', @@ -293,11 +309,11 @@ export const flagCountries = [ 'fo', 'fr', 'ga', - 'gb-eng', - 'gb-sct', 'gb', - 'gb-wls', + 'gb-eng', 'gb-nir', + 'gb-sct', + 'gb-wls', 'gd', 'ge', 'gf', @@ -321,6 +337,7 @@ export const flagCountries = [ 'hr', 'ht', 'hu', + 'ic', 'id', 'ie', 'il', @@ -335,6 +352,7 @@ export const flagCountries = [ 'jm', 'jo', 'jp', + 'jubaland', 'ke', 'kg', 'kh', @@ -343,6 +361,7 @@ export const flagCountries = [ 'kn', 'kp', 'kr', + 'kurdistan', 'kw', 'ky', 'kz', @@ -358,9 +377,11 @@ export const flagCountries = [ 'lv', 'ly', 'ma', + 'maltese-cross', 'mc', 'md', 'me', + 'mercosur', 'mf', 'mg', 'mh', @@ -381,6 +402,7 @@ export const flagCountries = [ 'my', 'mz', 'na', + 'nato', 'nc', 'ne', 'nf', @@ -388,16 +410,23 @@ export const flagCountries = [ 'ni', 'nl', 'no', + 'nordic-council', + 'northern-cyprus', 'np', 'nr', 'nu', 'nz', + 'olympic', 'om', 'pa', + 'paneuropean-union', + 'paraolympic', + 'pc', 'pe', 'pf', 'pg', 'ph', + 'pirate', 'pk', 'pl', 'pm', @@ -410,6 +439,8 @@ export const flagCountries = [ 'qa', 'rainbow', 're', + 'red-crescent', + 'red-cross', 'ro', 'rs', 'ru', @@ -419,8 +450,13 @@ export const flagCountries = [ 'sc', 'sd', 'se', + 'sealand', + 'semaphore-signal', 'sg', 'sh', + 'sh-ac', + 'sh-hl', + 'sh-ta', 'si', 'sj', 'sk', @@ -428,6 +464,9 @@ export const flagCountries = [ 'sm', 'sn', 'so', + 'somaliland', + 'south-american-union', + 'south-ossetia', 'sr', 'ss', 'st', @@ -435,11 +474,13 @@ export const flagCountries = [ 'sx', 'sy', 'sz', + 'tatarstan', 'tc', 'td', 'tf', 'tg', 'th', + 'tibet', 'tj', 'tk', 'tl', @@ -447,14 +488,17 @@ export const flagCountries = [ 'tn', 'to', 'tr', + 'transnistria', 'tt', + 'turkic-states', 'tv', 'tw', 'tz', 'ua', 'ug', 'um', - 'unasur', + 'un', + 'unknown', 'us', 'uy', 'uz', @@ -467,6 +511,7 @@ export const flagCountries = [ 'vu', 'wf', 'ws', + 'xk', 'ye', 'yt', 'za',