Files
bsky-social-app/assets/icons/flags/KM.svg
Samuel Newman 6ccda945e5 Telephone country code select (#9473)
* add telephone code select

* add flags

* run svgo on flags

* get it somewhat working on web

* get web closed state working

* verify country code we get from geo

* trim down names to shorter common versions

* add labels to other selects

* make international tel codes a static object

* add component to storybook

* Update src/lib/international-telephone-codes.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* update to new geo hook

* use Intl.DisplayNames, add polyfill

* use in rather than keys().includes()

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
2025-12-10 12:12:30 -08:00

2 lines
786 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v85.5H0z"/><path fill="#FFF" d="M0 85.5h513V171H0z"/><path fill="#D80027" d="M0 171h513v85.5H0z"/><path fill="#6DA544" d="M256.5 171 0 342V0z"/><g fill="#FFF"><path d="M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7q-5.4-1.2-11.1-1.2c-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9q5.7 0 11.1-1.2c-23.3-5.1-40.8-25.9-40.8-50.7z"/><path d="m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/><path d="m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/></g></svg>